(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"++Gu":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+='
'.concat(i,' | \n').concat(l.getView(n[i],e)," | \n
---|
'.concat(i,' | \n').concat(l.getView(n[i],e)," | \n
---|
value = data.firstName + " " + data.lastName;','
{"cat": [{"var": "data.firstName"}, " ", {"var": "data.lastName"}]}'),i.default.javaScriptValue("Calculated Value","calculateValue","calculateValue",1100,"
value = data.a + data.b + data.c;",'
{"+": [{"var": "data.a"}, {"var": "data.b"}, {"var": "data.c"}]}',"
>>0?1:0))+((F=N+pn|0)>>>0>>0?1:0)|0,L=D,N=R,D=M,R=E,M=O,E=T,O=kn+(vn+gn+(_n>>>0 >>0?1:0))+((T=pn+_n|0)>>>0 >>0?1:0)|0}f=t.low=f+T,t.high=h+O+(f>>>0 >>0?1:0),m=i.low=m+E,i.high=g+M+(m>>>0 >>0?1:0),b=o.low=b+R,o.high=v+D+(b>>>0 >>0?1:0),A=u.low=A+N,u.high=y+L+(A>>>0 >>0?1:0),C=r.low=C+F,r.high=w+B+(C>>>0 >>0?1:0),k=c.low=k+V,c.high=x+j+(k>>>0 >>0?1:0),S=d.low=S+z,d.high=_+U+(S>>>0 >>0?1:0),I=p.low=I+G,p.high=P+H+(I>>>0 >>0?1:0)},_doFinalize:function(){var n=this._data,e=n.words,l=8*this._nDataBytes,t=8*n.sigBytes;return e[t>>>5]|=128<<24-t%32,e[30+(t+128>>>10<<5)]=Math.floor(l/4294967296),e[31+(t+128>>>10<<5)]=l,n.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var n=e.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:32});n.SHA512=e._createHelper(c),n.HmacSHA512=e._createHmacHelper(c)}(),t.SHA512)},"1v02":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return"Loading...\n","Loading...\n"}},"1w02":function(n,e){n.exports=function(n,e,l){for(var t=-1,i=n.length,o=e.length,u={};++t=48&&e<=57))return!1;l++}return!0}function p(n){return-1===n.indexOf("/")&&-1===n.indexOf("~")?n:n.replace(/~/g,"~0").replace(/\//g,"~1")}function h(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")}function f(n,e){var l=[n];for(var t in e){var i="object"==typeof e[t]?JSON.stringify(e[t],null,2):e[t];void 0!==i&&l.push(t+": "+i)}return l.join("\n")}var g=function(n){function e(e,l,t,i,o){var u=this.constructor,r=n.call(this,f(e,{name:l,index:t,operation:i,tree:o}))||this;return r.name=l,r.index=t,r.operation=i,r.tree=o,Object.setPrototypeOf(r,u.prototype),r.message=f(e,{name:l,index:t,operation:i,tree:o}),r}return u(e,n),e}(Error),m=g,v=c,b={add:function(n,e,l){return n[e]=this.value,{newDocument:l}},remove:function(n,e,l){var t=n[e];return delete n[e],{newDocument:l,removed:t}},replace:function(n,e,l){var t=n[e];return n[e]=this.value,{newDocument:l,removed:t}},move:function(n,e,l){var t=A(l,this.path);t&&(t=c(t));var i=w(l,{op:"remove",path:this.from}).removed;return w(l,{op:"add",path:this.path,value:i}),{newDocument:l,removed:t}},copy:function(n,e,l){var t=A(l,this.from);return w(l,{op:"add",path:this.path,value:c(t)}),{newDocument:l}},test:function(n,e,l){return{newDocument:l,test:S(n[e],this.value)}},_get:function(n,e,l){return this.value=n[e],{newDocument:l}}},y={add:function(n,e,l){return d(e)?n.splice(e,0,this.value):n[e]=this.value,{newDocument:l,index:e}},remove:function(n,e,l){return{newDocument:l,removed:n.splice(e,1)[0]}},replace:function(n,e,l){var t=n[e];return n[e]=this.value,{newDocument:l,removed:t}},move:b.move,copy:b.copy,test:b.test,_get:b._get};function A(n,e){if(""==e)return n;var l={op:"_get",path:e};return w(n,l),l.value}function w(n,e,l,t,i,o){if(void 0===l&&(l=!1),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===o&&(o=0),l&&("function"==typeof l?l(e,0,n,e.path):k(e,0)),""===e.path){var u={newDocument:n};if("add"===e.op)return u.newDocument=e.value,u;if("replace"===e.op)return u.newDocument=e.value,u.removed=n,u;if("move"===e.op||"copy"===e.op)return u.newDocument=A(n,e.from),"move"===e.op&&(u.removed=n),u;if("test"===e.op){if(u.test=S(n,e.value),!1===u.test)throw new m("Test operation failed","TEST_OPERATION_FAILED",o,e,n);return u.newDocument=n,u}if("remove"===e.op)return u.removed=n,u.newDocument=null,u;if("_get"===e.op)return e.value=n,u;if(l)throw new m("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,e,n);return u}t||(n=c(n));var r=(e.path||"").split("/"),a=n,s=1,p=r.length,f=void 0,g=void 0,v=void 0;for(v="function"==typeof l?l:k;;){if((g=r[s])&&-1!=g.indexOf("~")&&(g=h(g)),i&&("__proto__"==g||"prototype"==g&&s>0&&"constructor"==r[s-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(l&&void 0===f&&(void 0===a[g]?f=r.slice(0,s).join("/"):s==p-1&&(f=e.path),void 0!==f&&v(e,0,n,f)),s++,Array.isArray(a)){if("-"===g)g=a.length;else{if(l&&!d(g))throw new m("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,e,n);d(g)&&(g=~~g)}if(s>=p){if(l&&"add"===e.op&&g>a.length)throw new m("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,e,n);if(!1===(u=y[e.op].call(e,a,g,n)).test)throw new m("Test operation failed","TEST_OPERATION_FAILED",o,e,n);return u}}else if(s>=p){if(!1===(u=b[e.op].call(e,a,g,n)).test)throw new m("Test operation failed","TEST_OPERATION_FAILED",o,e,n);return u}if(a=a[g],l&&s 0)throw new m('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,n,l);if(("move"===n.op||"copy"===n.op)&&"string"!=typeof n.from)throw new m("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,n,l);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&void 0===n.value)throw new m("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,n,l);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&function n(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var l=0,t=e.length;l
","","0&&(n.patches=[],n.callback&&n.callback(t)),t}function D(n,e,l,t,i){if(e!==n){"function"==typeof e.toJSON&&(e=e.toJSON());for(var o=s(e),u=s(n),r=!1,d=u.length-1;d>=0;d--){var h=n[g=u[d]];if(!a(e,g)||void 0===e[g]&&void 0!==h&&!1===Array.isArray(e))Array.isArray(n)===Array.isArray(e)?(i&&l.push({op:"test",path:t+"/"+p(g),value:c(h)}),l.push({op:"remove",path:t+"/"+p(g)}),r=!0):(i&&l.push({op:"test",path:t,value:n}),l.push({op:"replace",path:t,value:e}),!0);else{var f=e[g];"object"==typeof h&&null!=h&&"object"==typeof f&&null!=f&&Array.isArray(h)===Array.isArray(f)?D(h,f,l,t+"/"+p(g),i):h!==f&&(!0,i&&l.push({op:"test",path:t+"/"+p(g),value:c(h)}),l.push({op:"replace",path:t+"/"+p(g),value:c(f)}))}}if(r||o.length!=u.length)for(d=0;d d;)void 0!==(l=i(t,e=s[d++]))&&a(c,e,l);return c}})},"29mU":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n\n"}},"2B1R":function(n,e,l){"use strict";var t=l("I+eb"),i=l("tycR").map;t({target:"Array",proto:!0,forced:!l("Hd5f")("map")},{map:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0)}})},"2Bdj":function(n,e,l){"use strict";function t(n){return"function"==typeof n}l.d(e,"a",(function(){return t}))},"2Bqa":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l\n ',n.values.forEach((function(n){l+='\n\n\n '+(null==(e=n)?"":e)+"\n\n "})),l+='\n\n\n \n\n \n\n ",n.helplinks&&(l+='\n'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"
\n\n \n\n "),l+='\n\n\n\n"}},"2WpN":function(n,e,l){"use strict";l.d(e,"a",(function(){return u}));var t=l("mrSG"),i=l("FFOo"),o=l("pugT");function u(n){return function(e){return e.lift(new r(n))}}var r=function(){function n(n){this.callback=n}return n.prototype.call=function(n,e){return e.subscribe(new a(n,this.callback))},n}(),a=function(n){function e(e,l){var t=n.call(this,e)||this;return t.add(new o.a(l)),t}return t.d(e,n),e}(i.a)},"2Z+L":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";return l+='\n\n ",n.preview&&(l+='\n\n '+(null==(e=n.editForm)?"":e)+"\n\n ",n.preview||(l+='\n\n \n \n \n\n "),l+="\n\n\n "),l+="\n\n\n ",n.componentInfo.help&&(l+='\n\n\n'+(null==(e=n.t("Preview"))?"":e)+'
\n\n\n\n '+(null==(e=n.preview)?"":e)+"\n\n\n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n\n "),l+='\n\n \n \n \n\n\n \n
\n"}},"2Zix":function(n,e,l){"use strict";var t=l("NC/Y");n.exports=/MSIE|Trident/.test(t)},"2ajD":function(n,e){n.exports=function(n){return n!=n}},"2bX/":function(n,e,l){"use strict";var t=l("0GbY"),i=l("Fib7"),o=l("OpvP"),u=l("/b8u"),r=Object;n.exports=u?function(n){return"symbol"==typeof n}:function(n){var e=t("Symbol");return i(e)&&o(e.prototype,r(n))}},"2c7+":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("EKyF");e.default={form:t.default}},"2ePl":function(n,e,l){"use strict";l.d(e,"a",(function(){return t}));var t=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n}},"2fNS":function(n,e,l){"use strict";var t=l("b5wT");n.exports=function(n,e){var l={};return t.forEach(n,(function(n,e){var i=l[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};t.isUndefined(n.barycenter)||(i.barycenter=n.barycenter,i.weight=n.weight)})),t.forEach(e.edges(),(function(n){var e=l[n.v],i=l[n.w];t.isUndefined(e)||t.isUndefined(i)||(i.indegree++,e.out.push(l[n.w]))})),function(n){var e=[];function l(n){return function(e){e.merged||(t.isUndefined(e.barycenter)||t.isUndefined(n.barycenter)||e.barycenter>=n.barycenter)&&function(n,e){var l=0,t=0;n.weight&&(l+=n.barycenter*n.weight,t+=n.weight);e.weight&&(l+=e.barycenter*e.weight,t+=e.weight);n.vs=e.vs.concat(n.vs),n.barycenter=l/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}(n,e)}}function i(e){return function(l){l.in.push(e),0==--l.indegree&&n.push(l)}}for(;n.length;){var o=n.pop();e.push(o),t.forEach(o.in.reverse(),l(o)),t.forEach(o.out,i(o))}return t.map(t.filter(e,(function(n){return!n.merged})),(function(n){return t.pick(n,["vs","i","barycenter","weight"])}))}(t.filter(l,(function(n){return!n.indegree})))}},"2fXf":function(n,e,l){"use strict";var t=l("I+eb"),i=l("2oRo"),o=l("xluM"),u=l("4zBA"),r=l("xDBR"),a=l("g6v/"),s=l("BPiQ"),c=l("0Dky"),d=l("Gi26"),p=l("OpvP"),h=l("glrk"),f=l("/GqU"),g=l("oEtG"),m=l("V37c"),v=l("XGwC"),b=l("fHMY"),y=l("33Wh"),A=l("JBy8"),w=l("BX/b"),C=l("dBg+"),x=l("Bs8V"),k=l("m/L8"),_=l("N+g0"),S=l("0eef"),P=l("yy0I"),I=l("7dAM"),O=l("VpIT"),T=l("93I0"),M=l("0BK2"),E=l("kOOl"),D=l("tiKp"),R=l("5Tg+"),L=l("4GWN"),N=l("V7lt"),B=l("1E5z"),F=l("afO8"),j=l("tycR").forEach,V=T("hidden"),U=F.set,z=F.getterFor("Symbol"),H=Object.prototype,G=i.Symbol,Y=G&&G.prototype,q=i.RangeError,W=i.TypeError,Q=i.QObject,K=x.f,J=k.f,X=w.f,$=S.f,Z=u([].push),nn=O("symbols"),en=O("op-symbols"),ln=O("wks"),tn=!Q||!Q.prototype||!Q.prototype.findChild,on=function(n,e,l){var t=K(H,e);t&&delete H[e],J(n,e,l),t&&n!==H&&J(H,e,t)},un=a&&c((function(){return 7!==b(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?on:J,rn=function(n,e){var l=nn[n]=b(Y);return U(l,{type:"Symbol",tag:n,description:e}),a||(l.description=e),l},an=function(n,e,l){n===H&&an(en,e,l),h(n);var t=g(e);return h(l),d(nn,t)?(l.enumerable?(d(n,V)&&n[V][t]&&(n[V][t]=!1),l=b(l,{enumerable:v(0,!1)})):(d(n,V)||J(n,V,v(1,b(null))),n[V][t]=!0),un(n,t,l)):J(n,t,l)},sn=function(n,e){h(n);var l=f(e),t=y(l).concat(hn(l));return j(t,(function(e){a&&!o(cn,l,e)||an(n,e,l[e])})),n},cn=function(n){var e=g(n),l=o($,this,e);return!(this===H&&d(nn,e)&&!d(en,e))&&(!(l||!d(this,e)||!d(nn,e)||d(this,V)&&this[V][e])||l)},dn=function(n,e){var l=f(n),t=g(e);if(l!==H||!d(nn,t)||d(en,t)){var i=K(l,t);return!i||!d(nn,t)||d(l,V)&&l[V][t]||(i.enumerable=!0),i}},pn=function(n){var e=X(f(n)),l=[];return j(e,(function(n){d(nn,n)||d(M,n)||Z(l,n)})),l},hn=function(n){var e=n===H,l=X(e?en:f(n)),t=[];return j(l,(function(n){!d(nn,n)||e&&!d(H,n)||Z(t,nn[n])})),t};s||(P(Y=(G=function(){if(p(Y,this))throw new W("Symbol is not a constructor");var n=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=E(n),l=function(n){var t=void 0===this?i:this;t===H&&o(l,en,n),d(t,V)&&d(t[V],e)&&(t[V][e]=!1);var u=v(1,n);try{un(t,e,u)}catch(r){if(!(r instanceof q))throw r;on(t,e,u)}};return a&&tn&&un(H,e,{configurable:!0,set:l}),rn(e,n)}).prototype,"toString",(function(){return z(this).tag})),P(G,"withoutSetter",(function(n){return rn(E(n),n)})),S.f=cn,k.f=an,_.f=sn,x.f=dn,A.f=w.f=pn,C.f=hn,R.f=function(n){return rn(D(n),n)},a&&(I(Y,"description",{configurable:!0,get:function(){return z(this).description}}),r||P(H,"propertyIsEnumerable",cn,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:G}),j(y(ln),(function(n){L(n)})),t({target:"Symbol",stat:!0,forced:!s},{useSetter:function(){tn=!0},useSimple:function(){tn=!1}}),t({target:"Object",stat:!0,forced:!s,sham:!a},{create:function(n,e){return void 0===e?b(n):sn(b(n),e)},defineProperty:an,defineProperties:sn,getOwnPropertyDescriptor:dn}),t({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:pn}),N(),B(G,"Symbol"),M[V]=!0},"2fjn":function(n,e,l){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(n,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}}})}(l("wd/R"))},"2gN3":function(n,e,l){var t=l("Kz5y")["__core-js_shared__"];n.exports=t},"2j+i":function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("ExoC"),l("wLYn"),l("NBAS"),l("SuFq"),l("uL8W"),l("XUE8"),l("5DmW"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("tkto"),l("TeQF"),l("27RR"),l("HRxU"),l("0oug"),l("PKPk"),l("3bBZ"),l("tjZM"),l("lEou"),l("DEfu"),l("I9xj"),l("Junv"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("eoL8"),l("R5XZ"),l("4mDm"),l("rOQg"),l("07d7"),l("XMab"),l("moxL"),l("qXVe"),l("c162"),l("waxf"),l("0TkE"),l("Onu3"),l("1dYe"),l("gvgV"),l("6R/c"),l("YL0P"),l("X5Zq"),l("MoCz"),l("P8wP"),l("ypFw"),l("JaFt"),l("zSZm"),l("PF2M"),l("KVSy"),l("ZJ55"),l("IZzc"),l("Fwt+"),l("s5qe"),l("cvf0"),l("oVuX"),l("2B1R"),l("J30X"),l("QWBl"),l("FZtP"),l("4l63"),l("sMBO"),l("brp2"),l("DQNa"),l("SYor"),l("yq1k"),l("JTJg"),l("pDQq"),l("fbCW"),l("ma9I"),l("toAj"),l("rB9j"),l("UxlC"),l("LKBx"),l("TWNs"),l("JfAA"),l("hByQ"),l("rNhl"),l("E9XD"),l("+2oP"),l("rZ3M"),l("5s+n"),l("Rfxz"),l("x0AG"),l("yXV3");var i=d(l("e4jL")),o=l("5P0i"),u=d(l("rrFr")),r=d(l("LvDl")),a=d(l("CFBA")),s=d(l("O87r")),c=d(l("hPIr"));function d(n){return n&&n.__esModule?n:{default:n}}function p(){p=function(){return n};var n={},e=Object.prototype,l=e.hasOwnProperty,i=Object.defineProperty||function(n,e,l){n[e]=l.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",r=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function s(n,e,l){return Object.defineProperty(n,e,{value:l,enumerable:!0,configurable:!0,writable:!0}),n[e]}try{s({},"")}catch(T){s=function(n,e,l){return n[e]=l}}function c(n,e,l,t){var o=e&&e.prototype instanceof f?e:f,u=Object.create(o.prototype),r=new P(t||[]);return i(u,"_invoke",{value:x(n,l,r)}),u}function d(n,e,l){try{return{type:"normal",arg:n.call(e,l)}}catch(T){return{type:"throw",arg:T}}}n.wrap=c;var h={};function f(){}function g(){}function m(){}var v={};s(v,u,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(I([])));y&&y!==e&&l.call(y,u)&&(v=y);var A=m.prototype=f.prototype=Object.create(v);function w(n){["next","throw","return"].forEach((function(e){s(n,e,(function(n){return this._invoke(e,n)}))}))}function C(n,e){var o;i(this,"_invoke",{value:function(i,u){function r(){return new e((function(o,r){!function i(o,u,r,a){var s=d(n[o],n,u);if("throw"!==s.type){var c=s.arg,p=c.value;return p&&"object"==t(p)&&l.call(p,"__await")?e.resolve(p.__await).then((function(n){i("next",n,r,a)}),(function(n){i("throw",n,r,a)})):e.resolve(p).then((function(n){c.value=n,r(c)}),(function(n){return i("throw",n,r,a)}))}a(s.arg)}(i,u,o,r)}))}return o=o?o.then(r,r):r()}})}function x(n,e,l){var t="suspendedStart";return function(i,o){if("executing"===t)throw new Error("Generator is already running");if("completed"===t){if("throw"===i)throw o;return O()}for(l.method=i,l.arg=o;;){var u=l.delegate;if(u){var r=k(u,l);if(r){if(r===h)continue;return r}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if("suspendedStart"===t)throw t="completed",l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);t="executing";var a=d(n,e,l);if("normal"===a.type){if(t=l.done?"completed":"suspendedYield",a.arg===h)continue;return{value:a.arg,done:l.done}}"throw"===a.type&&(t="completed",l.method="throw",l.arg=a.arg)}}}function k(n,e){var l=e.method,t=n.iterator[l];if(void 0===t)return e.delegate=null,"throw"===l&&n.iterator.return&&(e.method="return",e.arg=void 0,k(n,e),"throw"===e.method)||"return"!==l&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+l+"' method")),h;var i=d(t,n.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[n.resultName]=o.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function _(n){var e={tryLoc:n[0]};1 in n&&(e.catchLoc=n[1]),2 in n&&(e.finallyLoc=n[2],e.afterLoc=n[3]),this.tryEntries.push(e)}function S(n){var e=n.completion||{};e.type="normal",delete e.arg,n.completion=e}function P(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(_,this),this.reset(!0)}function I(n){if(n){var e=n[u];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var t=-1,i=function e(){for(;++t\n \n\n '+(null==(e=n.element)?"":e)+'\n \n\n \n \n\n \n \n=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var r=l.call(o,"catchLoc"),a=l.call(o,"finallyLoc");if(r&&a){if(this.prev =0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&l.call(i,"finallyLoc")&&this.prev =0;--e){var l=this.tryEntries[e];if(l.finallyLoc===n)return this.complete(l.completion,l.afterLoc),S(l),h}},catch:function(n){for(var e=this.tryEntries.length-1;e>=0;--e){var l=this.tryEntries[e];if(l.tryLoc===n){var t=l.completion;if("throw"===t.type){var i=t.arg;S(l)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,l){return this.delegate={iterator:I(n),resultName:e,nextLoc:l},"next"===this.method&&(this.arg=void 0),h}},n}function h(n,e,l,t,i,o,u){try{var r=n[o](u),a=r.value}catch(s){return void l(s)}r.done?e(a):Promise.resolve(a).then(t,i)}function f(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.push.apply(l,t)}return l}function g(n){for(var e=1;e 0&&void 0!==arguments[0]?arguments[0]:{};return new a.default((function(l){var t=n.ce("input",g({type:"file",style:"height: 0; width: 0; visibility: hidden;",tabindex:"-1"},e));document.body.appendChild(t),t.addEventListener("change",(function(){l(t.files),document.body.removeChild(t)}),!0),"function"==typeof t.trigger?t.trigger("click"):t.click()}))}},{key:"cameraMode",get:function(){return this._cameraMode},set:function(n){this._cameraMode=n,n?this.startVideo():this.stopVideo()}},{key:"useWebViewCamera",get:function(){return this.imageUpload&&P}},{key:"imageUpload",get:function(){return Boolean(this.component.image)}},{key:"browseOptions",get:function(){var n={};if(this.component.multiple&&(n.multiple=!0),!this.isMobile.any){var e=this.component.filePattern.trim()||"";!this.imageUpload||e&&"*"!==e?this.imageUpload&&!e.includes("image/*")?n.accept="".concat("image/*",",").concat(e):n.accept=e:n.accept="image/*"}return n}},{key:"deleteFile",value:function(n){var e=this.component.options,l=void 0===e?{}:e;if(n&&["url","indexeddb"].includes(this.component.storage)){var t=this.fileService;if(t&&"function"==typeof t.deleteFile)t.deleteFile(n,l);else{var i=this.options.formio||this.root&&this.root.formio;i&&i.makeRequest("",n.url,"delete")}}}},{key:"attach",value:function(n){var e=this;this.loadRefs(n,{fileDrop:"single",fileBrowse:"single",galleryButton:"single",cameraButton:"single",takePictureButton:"single",toggleCameraMode:"single",videoPlayer:"single",fileLink:"multiple",removeLink:"multiple",fileStatusRemove:"multiple",fileImage:"multiple",fileType:"multiple",fileProcessingLoader:"single"}),this.refs.input=[];var l=A(_(f.prototype),"attach",this).call(this,n);if(this.refs.fileDrop){this.statuses.length||this.refs.fileDrop.removeAttribute("hidden");var t=this;this.addEventListener(this.refs.fileDrop,"dragover",(function(n){this.className="fileSelector fileDragOver",n.preventDefault()})),this.addEventListener(this.refs.fileDrop,"dragleave",(function(n){this.className="fileSelector",n.preventDefault()})),this.addEventListener(this.refs.fileDrop,"drop",(function(n){this.className="fileSelector",n.preventDefault(),t.upload(n.dataTransfer.files)}))}if(this.refs.fileBrowse&&this.addEventListener(this.refs.fileBrowse,"click",(function(n){n.preventDefault(),e.browseFiles(e.browseOptions).then((function(n){e.upload(n)}))})),this.refs.fileLink.forEach((function(n,l){e.addEventListener(n,"click",(function(n){n.preventDefault(),e.getFile(e.dataValue[l])}))})),this.refs.removeLink.forEach((function(n,l){e.addEventListener(n,"click",(function(n){var t=e.dataValue[l];e.deleteFile(t),n.preventDefault(),e.splice(l),e.redraw()}))})),this.refs.fileStatusRemove.forEach((function(n,l){e.addEventListener(n,"click",(function(n){n.preventDefault();var t=e.statuses[l];r.default.pull(e.filesUploading,t.originalName),t.abort&&t.abort(),e.statuses.splice(l,1),e.redraw()}))})),this.refs.galleryButton&&P&&this.addEventListener(this.refs.galleryButton,"click",(function(n){n.preventDefault(),P.getPicture((function(n){window.resolveLocalFileSystemURL(n,(function(n){n.file((function(n){var l=new FileReader;l.onloadend=function(l){var t=new Blob([new Uint8Array(l.target.result)],{type:n.type});t.name=n.name,e.upload([t])},l.readAsArrayBuffer(n)}))}))}),(function(n){console.error(n)}),{sourceType:P.PictureSourceType.PHOTOLIBRARY})})),this.refs.cameraButton&&P&&this.addEventListener(this.refs.cameraButton,"click",(function(n){n.preventDefault(),P.getPicture((function(n){window.resolveLocalFileSystemURL(n,(function(n){n.file((function(n){var l=new FileReader;l.onloadend=function(l){var t=new Blob([new Uint8Array(l.target.result)],{type:n.type});t.name=n.name,e.upload([t])},l.readAsArrayBuffer(n)}))}))}),(function(n){console.error(n)}),{sourceType:P.PictureSourceType.CAMERA,encodingType:P.EncodingType.PNG,mediaType:P.MediaType.PICTURE,saveToPhotoAlbum:!0,correctOrientation:!1})})),this.refs.takePictureButton&&this.addEventListener(this.refs.takePictureButton,"click",(function(n){n.preventDefault(),e.takePicture()})),this.refs.toggleCameraMode&&this.addEventListener(this.refs.toggleCameraMode,"click",(function(n){n.preventDefault(),e.cameraMode=!e.cameraMode,e.redraw()})),this.refs.fileType.forEach((function(n,l){e.dataValue[l].fileType=e.dataValue[l].fileType||e.component.fileTypes[0].label,e.addEventListener(n,"change",(function(n){n.preventDefault();var t=e.component.fileTypes.find((function(e){return e.value===n.target.value}));e.dataValue[l].fileType=t.label}))})),this.fileService){var i=[];this.filesReady=new a.default((function(n,l){e.filesReadyResolve=n,e.filesReadyReject=l})),this.refs.fileImage.forEach((function(n,l){i.push(e.loadImage(e.dataValue[l]).then((function(e){return n.src=e})))})),i.length?a.default.all(i).then((function(){e.filesReadyResolve()})).catch((function(){return e.filesReadyReject()})):this.filesReadyResolve()}return l}},{key:"fileSize",value:function(n,e,l,t,i){return"".concat((e=Math,l=e.log,i=l(n)/l(1024)|0,n/e.pow(1024,i)).toFixed(2)," ").concat(i?"".concat("kMGTPEZY"[--i],"B"):"Bytes")}},{key:"globStringToRegex",value:function(n){var e="",l=[];if((n=n.replace(/\s/g,"")).length>2&&"/"===n[0]&&"/"===n[n.length-1])e=n.substring(1,n.length-1);else{var t=n.split(",");if(t.length>1)for(var i=0;i |:\\-]","g"),"\\$&"),"$")).replace(/\\\*/g,".*").replace(/\\\?/g,"."))}return{regexp:e,excludes:l}}},{key:"translateScalars",value:function(n){if("string"==typeof n){if(n.search(/kb/i)===n.length-2)return parseFloat(1024*n.substring(0,n.length-2));if(n.search(/mb/i)===n.length-2)return parseFloat(1024*n.substring(0,n.length-2)*1024);if(n.search(/gb/i)===n.length-2)return parseFloat(1024*n.substring(0,n.length-2)*1024*1024);if(n.search(/b/i)===n.length-1)return parseFloat(n.substring(0,n.length-1));if(n.search(/s/i)===n.length-1)return parseFloat(n.substring(0,n.length-1));if(n.search(/m/i)===n.length-1)return parseFloat(60*n.substring(0,n.length-1));if(n.search(/h/i)===n.length-1)return parseFloat(3600*n.substring(0,n.length-1))}return n}},{key:"validatePattern",value:function(n,e){if(!e)return!0;var l=this.globStringToRegex(e),t=!0;if(l.regexp&&l.regexp.length){var i=new RegExp(l.regexp,"i");t=!r.default.isNil(n.type)&&i.test(n.type)||!r.default.isNil(n.name)&&i.test(n.name)}return t=l.excludes.reduce((function(e,l){var t=new RegExp(l,"i");return e&&(r.default.isNil(n.type)||!t.test(n.type))&&(r.default.isNil(n.name)||!t.test(n.name))}),t)}},{key:"validateMinSize",value:function(n,e){return n.size+.1>=this.translateScalars(e)}},{key:"validateMaxSize",value:function(n,e){return n.size-.1<=this.translateScalars(e)}},{key:"upload",value:function(n){var e=this;this.component.multiple||(this.statuses.length&&(this.statuses=[]),n=Array.prototype.slice.call(n,0,1)),this.component.storage&&n&&n.length&&(this.fileDropHidden=!0,Array.prototype.forEach.call(n,function(){var n,l=(n=p().mark((function n(l){var t,i,u,a,d,h,f,m,v,b,y,A,w,C,x,k,_,S,P,I,O,T,M,E;return p().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t=(0,o.uniqueName)(l.name,e.component.fileNameTemplate,e.evalContext()),i=l.name?l.name.replaceAll("<","<").replaceAll(">",">"):l.name,u={abort:function(){return null},originalName:i,name:t,size:l.size,status:"info",message:e.t("Processing file. Please wait..."),hash:""},"true"!==e.root.form.submissionRevisions){n.next=12;break}return e.statuses.push(u),e.redraw(),a=new c.default,n.next=9,new Promise((function(n,t){e.emit("fileUploadingStart"),a.md5(l,(function(e,l){return e?t(e):n(l)}))}));case 9:d=n.sent,e.emit("fileUploadingEnd"),u.hash=d;case 12:if(e.filesUploading||(e.filesUploading=[]),h=e.filesUploading.some((function(n){return n===l.name})),e.filesUploading.push(l.name),f=e.dataValue.some((function(n){return n.originalName===l.name})),m=e.statuses.findIndex((function(n){return n.originalName===l.name&&"error"===n.status})),(f||h)&&(u.status="error",u.message=e.t("File with the same name is already ".concat(h?"being ":"","uploaded"))),-1!==m&&(e.statuses.splice(m,1),e.redraw()),e.component.filePattern&&!e.validatePattern(l,e.component.filePattern)&&(u.status="error",u.message=e.t("File is the wrong type; it must be {{ pattern }}",{pattern:e.component.filePattern})),e.component.fileMinSize&&!e.validateMinSize(l,e.component.fileMinSize)&&(u.status="error",u.message=e.t("File is too small; it must be at least {{ size }}",{size:e.component.fileMinSize})),e.component.fileMaxSize&&!e.validateMaxSize(l,e.component.fileMaxSize)&&(u.status="error",u.message=e.t("File is too big; it must be at most {{ size }}",{size:e.component.fileMaxSize})),v=e.interpolate(e.component.dir||""),(b=e.fileService)||(u.status="error",u.message=e.t("File Service not provided.")),"true"!==e.root.form.submissionRevisions&&(e.statuses.push(u),e.redraw()),"error"===u.status){n.next=62;break}if(e.component.privateDownload&&(l.private=!0),y=e.component,A=y.storage,w=y.options,C=void 0===w?{}:w,x=e.interpolate(e.component.url,{file:u}),k=null,_=null,e.root.everyComponent((function(n){var e,l;(null!==(e=n.component)&&void 0!==e&&e.submissionAccess||null!==(l=n.component)&&void 0!==l&&l.defaultPermission)&&(_=n.component.submissionAccess?n.component.submissionAccess:[{type:n.component.defaultPermission,roles:[]}]).forEach((function(e){k=["admin","write","create"].includes(e.type)?n.component.key:null}))})),S=e.component.fileKey||"file",P=k?e.currentForm.submission.data[k]._id:null,I=null,!e.root.options.fileProcessor){n.next=55;break}return n.prev=37,e.refs.fileProcessingLoader&&(e.refs.fileProcessingLoader.style.display="block"),O=(0,s.default)(e.fileService,e.root.options.fileProcessor),n.next=42,O(l,e.component.properties);case 42:I=n.sent,n.next=52;break;case 45:return n.prev=45,n.t0=n.catch(37),u.status="error",u.message=e.t("File processing has been failed."),e.fileDropHidden=!1,e.redraw(),n.abrupt("return");case 52:return n.prev=52,e.refs.fileProcessingLoader&&(e.refs.fileProcessingLoader.style.display="none"),n.finish(52);case 55:T=0,M=!(!e.component.useMultipartUpload||!e.component.multipart)&&g(g({},e.component.multipart),{},{progressCallback:function(n){T++,u.status="progress",u.progress=parseInt(100*T/n),delete u.message,e.redraw()},changeMessage:function(n){u.message=n,e.redraw()}}),u.message=e.t("Starting upload..."),e.redraw(),E=b.uploadFile(A,I||l,t,v,(function(n){u.status="progress",u.progress=parseInt(100*n.loaded/n.total),delete u.message,e.redraw()}),x,C,S,_,P,(function(){e.emit("fileUploadingStart",E)}),(function(n){return u.abort=n}),M).then((function(n){var l=e.statuses.indexOf(u);-1!==l&&e.statuses.splice(l,1),n.originalName=i,n.hash=u.hash,e.hasValue()||(e.dataValue=[]),e.dataValue.push(n),r.default.pull(e.filesUploading,n.originalName),e.fileDropHidden=!1,e.redraw(),e.triggerChange(),e.emit("fileUploadingEnd",E)})).catch((function(n){u.status="error",u.message="string"==typeof n?n:n.toString(),delete u.progress,e.fileDropHidden=!1,r.default.pull(e.filesUploading,l.name),e.redraw(),e.emit("fileUploadingEnd",E)})),n.next=63;break;case 62:e.filesUploading.splice(e.filesUploading.indexOf(l.name),1);case 63:case"end":return n.stop()}}),n,null,[[37,45,52,55]])})),function(){var e=this,l=arguments;return new Promise((function(t,i){var o=n.apply(e,l);function u(n){h(o,t,i,u,r,"next",n)}function r(n){h(o,t,i,u,r,"throw",n)}u(void 0)}))});return function(n){return l.apply(this,arguments)}}()))}},{key:"getFile",value:function(n){var e=this.component.options,l=void 0===e?{}:e,t=this.fileService;if(!t)return alert("File Service not provided");this.component.privateDownload&&(n.private=!0),t.downloadFile(n,l).then((function(n){n&&(["base64","indexeddb"].includes(n.storage)?(0,u.default)(n.url,n.originalName||n.name,n.type):window.open(n.url,"_blank"))})).catch((function(n){alert(n)}))}},{key:"focus",value:function(){"beforeFocus"in this.parent&&this.parent.beforeFocus(this),this.refs.fileBrowse&&this.refs.fileBrowse.focus()}},{key:"destroy",value:function(){this.stopVideo(),A(_(f.prototype),"destroy",this).call(this)}}])&&b(e.prototype,l),t&&b(e,t),Object.defineProperty(e,"prototype",{writable:!1}),f}(i.default);e.default=I},"2oRo":function(n,e,l){"use strict";var t=function(n){return n&&n.Math===Math&&n};n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},"2t6Q":function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("YILz"))&&t.__esModule?t:{default:t}).default};e.default=i},"2ykv":function(n,e,l){!function(n){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),l="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),t=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(n,t){return n?/-MMM-/.test(t)?l[n.month()]:e[n.month()]:e},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:t,longMonthsParse:t,shortMonthsParse:t,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(n){return n+(1===n||8===n||n>=20?"ste":"de")},week:{dow:1,doy:4}})}(l("wd/R"))},"33Wh":function(n,e,l){"use strict";var t=l("yoRg"),i=l("eDl+");n.exports=Object.keys||function(n){return t(n,i)}},"37lR":function(n,e,l){"use strict";var t=l("B/qT");n.exports=function(n,e,l){for(var i=0,o=arguments.length>2?l:t(e),u=new n(o);o>i;)u[i]=e[i++];return u}},"3A2Y":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;for(var t in l+=' \n \n ",n.component.tooltip&&(l+='\n \n '),l+="\n\n"}},"3A9y":function(n,e){n.exports=function(n){return this.__data__.has(n)}},"3E1r":function(n,e,l){!function(n){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},l={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},t=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:t,longMonthsParse:t,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(n){return n.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(n){return l[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return e[n]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(n,e){return 12===n&&(n=0),"\u0930\u093e\u0924"===e?n<4?n:n+12:"\u0938\u0941\u092c\u0939"===e?n:"\u0926\u094b\u092a\u0939\u0930"===e?n>=10?n:n+12:"\u0936\u093e\u092e"===e?n+12:void 0},meridiem:function(n,e,l){return n<4?"\u0930\u093e\u0924":n<10?"\u0938\u0941\u092c\u0939":n<17?"\u0926\u094b\u092a\u0939\u0930":n<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(l("wd/R"))},"3Eq5":function(n,e,l){"use strict";var t=l("We1y"),i=l("cjT7");n.exports=function(n,e){var l=n[e];return i(l)?void 0:t(l)}},"3Fdi":function(n,e){var l=Function.prototype.toString;n.exports=function(n){if(null!=n){try{return l.call(n)}catch(e){}try{return n+""}catch(e){}}return""}},"3I5B":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+='\n \n"}},"3Iyw":function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("SuFq"),l("uL8W"),l("eoL8"),l("XUE8"),l("5DmW"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("0oug"),l("4mDm"),l("3bBZ"),l("tkto"),l("27RR"),l("HRxU"),l("ENF9"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("zKZe"),l("sMBO"),l("U3f4"),l("wLYn"),l("QWBl"),l("07d7"),l("FZtP"),l("yXV3"),l("ma9I"),l("yq1k"),l("JTJg"),l("J30X"),l("rB9j"),l("UxlC"),l("LKBx"),l("oVuX"),l("DQNa"),l("JfAA"),l("2B1R"),l("pDQq"),l("E9XD"),l("4l63"),l("rZ3M"),l("TeQF"),l("pjDv"),l("PKPk"),l("Rfxz"),l("+2oP"),l("ExoC"),l("NBAS"),l("R5XZ");var i=l("uIYt"),o=y(l("CFBA")),u=y(l("b5oN")),r=y(l("LvDl")),a=y(l("A0fv")),s=l("1eKU"),c=function(n,e){if(!e&&n&&n.__esModule)return n;if(null===n||"object"!==t(n)&&"function"!=typeof n)return{default:n};var l=b(e);if(l&&l.has(n))return l.get(n);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if("default"!==u&&Object.prototype.hasOwnProperty.call(n,u)){var r=o?Object.getOwnPropertyDescriptor(n,u):null;r&&(r.get||r.set)?Object.defineProperty(i,u,r):i[u]=n[u]}i.default=n,l&&l.set(n,i);return i}(l("5P0i")),d=y(l("g/h2")),p=y(l("A+qq")),h=y(l("E4Ma")),f=y(l("Nmqk")),g=y(l("kZaA")),m=l("Jw/Y"),v=y(l("Nq0N"));function b(n){if("function"!=typeof WeakMap)return null;var e=new WeakMap,l=new WeakMap;return(b=function(n){return n?l:e})(n)}function y(n){return n&&n.__esModule?n:{default:n}}function A(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.push.apply(l,t)}return l}function w(n){for(var e=1;e\n '+(null==(e=n.element)?"":e)+"\n \n ",n.disabled||(l+='\n\n \n \n '),l+="\n=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,r=!1;return{s:function(){l=l.call(n)},n:function(){var n=l.next();return u=n.done,n},e:function(n){r=!0,o=n},f:function(){try{u||null==l.return||l.return()}finally{if(r)throw o}}}}function k(n){return function(n){if(Array.isArray(n))return S(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||_(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(n,e){if(n){if("string"==typeof n)return S(n,e);var l=Object.prototype.toString.call(n).slice(8,-1);return"Object"===l&&n.constructor&&(l=n.constructor.name),"Map"===l||"Set"===l?Array.from(n):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?S(n,e):void 0}}function S(n,e){(null==e||e>n.length)&&(e=n.length);for(var l=0,t=new Array(e);l 0&&void 0!==arguments[0]?arguments[0]:{};return r.default.defaultsDeep(n,this.defaultSchema)}},{key:"ready",get:function(){return o.default.resolve(this)}},{key:"isPDFReadOnlyMode",get:function(){return this.parent&&this.parent.form&&"pdf"===this.parent.form.display&&this.options.readOnly}},{key:"labelInfo",get:function(){var n={};n.hidden=this.labelIsHidden(),n.className="",n.labelPosition=this.component.labelPosition,n.tooltipClass="".concat(this.iconClass("question-sign")," text-muted");var e=this.isPDFReadOnlyMode;return this.hasInput&&this.component.validate&&(0,c.boolValue)(this.component.validate.required)&&!e&&(n.className+=" field-required"),n.hidden&&(n.className+=" control-label--hidden"),this.info.attr.id&&(n.for=this.info.attr.id),n}},{key:"init",value:function(){var n,e=this;this.disabled=this.shouldDisabled,this._visible=this.conditionallyVisible(null,null),null!==(n=this.component.addons)&&void 0!==n&&n.length&&this.component.addons.forEach((function(n){return e.createAddon(n)}))}},{key:"afterComponentAssign",value:function(){}},{key:"createAddon",value:function(n){var e,l=n.name;if(l){var t=(null===(e=n.settings)||void 0===e?void 0:e.data)||{},i=g.default[l.value],o=null;if(i){var u=i.info.supportedComponents;null!=u&&u.length&&-1===u.indexOf(this.component.type)?console.warn("Addon ".concat(l.label," does not support component of type ").concat(this.component.type,".")):(o=new i(t,this),this.addons.push(o))}return o}}},{key:"destroy",value:function(){O(L(b.prototype),"destroy",this).call(this),this.detach(),this.addons.forEach((function(n){return n.destroy()}))}},{key:"shouldDisabled",get:function(){return this.options.readOnly||this.component.disabled||this.options.hasOwnProperty("disabled")&&this.options.disabled[this.key]}},{key:"isInputComponent",get:function(){return!this.component.hasOwnProperty("input")||this.component.input}},{key:"allowData",get:function(){return this.hasInput}},{key:"hasInput",get:function(){return this.isInputComponent||this.refs.input&&this.refs.input.length}},{key:"defaultSchema",get:function(){return b.schema()}},{key:"key",get:function(){return r.default.get(this.component,"key","")}},{key:"parentVisible",get:function(){return this._parentVisible},set:function(n){this._parentVisible=n}},{key:"parentDisabled",get:function(){return this._parentDisabled},set:function(n){this._parentDisabled=n}},{key:"shouldForceVisibility",value:function(n,e){return!!this.options[e]&&(n||(n=this.component),r.default.isArray(this.options[e])?this.options[e].includes(n.key):this.options[e][n.key])}},{key:"shouldForceHide",value:function(n){return this.shouldForceVisibility(n,"hide")}},{key:"shouldForceShow",value:function(n){return this.shouldForceVisibility(n,"show")}},{key:"visible",get:function(){return!!(this.builderMode||this.previewMode||this.options.showHiddenFields)||!this.shouldForceHide()&&(!!this.shouldForceShow()||this._visible&&this._parentVisible)},set:function(n){if(this._visible!==n){if(n&&this.shouldForceHide())return;if(!n&&this.shouldForceShow())return;this._visible=n,this.clearOnHide(),this.redraw()}}},{key:"currentForm",get:function(){return this._currentForm},set:function(n){this._currentForm=n}},{key:"fullMode",get:function(){return"full"===this.options.attachMode}},{key:"builderMode",get:function(){return"builder"===this.options.attachMode}},{key:"calculatedPath",get:function(){return console.error("component.calculatedPath was deprecated, use component.path instead."),this.path}},{key:"labelPosition",get:function(){return this.component.labelPosition}},{key:"labelWidth",get:function(){var n=this.component.labelWidth;return n>=0?n:30}},{key:"labelMargin",get:function(){var n=this.component.labelMargin;return n>=0?n:3}},{key:"isAdvancedLabel",get:function(){return["left-left","left-right","right-left","right-right"].includes(this.labelPosition)}},{key:"labelPositions",get:function(){return this.labelPosition.split("-")}},{key:"skipInEmail",get:function(){return!1}},{key:"rightDirection",value:function(n){return!this.options.condensedMode&&"right"===n}},{key:"getLabelInfo",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.rightDirection(this.labelPositions[0]),l="left"===this.labelPositions[0]||n,t=this.rightDirection(this.labelPositions[1]),i="";if(this.component.hideLabel){var o=n?0:this.labelWidth+this.labelMargin;i=e?"margin-right: ".concat(o,"%"):"",i=l?"margin-left: ".concat(o,"%"):""}var u="\n flex: ".concat(this.labelWidth,";\n ").concat(e?"margin-left":"margin-right",": ").concat(this.labelMargin,"%;\n "),r="\n flex: ".concat(100-this.labelWidth-this.labelMargin,";\n ").concat(i,";\n ").concat(this.component.hideLabel?"max-width: ".concat(100-this.labelWidth-this.labelMargin):"",";\n ");return{isRightPosition:e,isRightAlign:t,labelStyles:u,contentStyles:r}}},{key:"getModifiedSchema",value:function(n,e,l){var t=this,i={};return e?(r.default.each(n,(function(n,o){if(!r.default.isArray(n)&&r.default.isObject(n)&&e.hasOwnProperty(o)){var u=t.getModifiedSchema(n,e[o],!0);r.default.isEmpty(u)||(i[o]=u)}else r.default.isArray(n)?0===n.length||r.default.isEqual(n,e[o])||(i[o]=n):(!l&&"type"===o||!l&&"key"===o||!l&&"label"===o||!l&&"input"===o||!l&&"tableView"===o||""!==n&&!e.hasOwnProperty(o)||""!==n&&n!==e[o]||e[o]&&n!==e[o])&&(i[o]=n)})),i):n}},{key:"schema",get:function(){return(0,c.fastCloneDeep)(this.getModifiedSchema(r.default.omit(this.component,"id"),this.defaultSchema))}},{key:"isInDataGrid",get:function(){return this.inDataGrid}},{key:"t",value:function(n){var e,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n)return"";if(n in v.default&&l._userInput)return n;l.data=this.rootValue,l.row=this.data,l.component=this.component;for(var t=arguments.length,i=new Array(t>2?t-2:0),o=2;o ");return this.getFormattedAttribute(e)}},{key:"isHtmlRenderMode",value:function(){return"html"===this.options.renderMode}},{key:"renderTemplate",value:function(n){var e=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,i=t||this.options.renderMode||"form";l.component=this.component,l.self=this,l.options=this.options,l.readOnly=this.options.readOnly,l.iconClass=this.iconClass.bind(this),l.size=this.size.bind(this),l.t=this.t.bind(this),l.transform=this.transform.bind(this),l.id=l.id||this.id,l.key=l.key||this.key,l.value=l.value||this.dataValue,l.disabled=this.disabled,l.builder=this.builderMode,l.render=function(){return console.warn("Form.io 'render' template function is deprecated.\n If you need to render template (template A) inside of another template (template B),\n pass pre-compiled template A (use this.renderTemplate('template_A_name') as template context variable for template B"),e.renderTemplate.apply(e,arguments)},l.label=l.labelInfo||this.labelInfo,l.tooltip=this.getFormattedTooltip(this.component.tooltip);var o=["".concat(n,"-").concat(this.component.type,"-").concat(this.key),"".concat(n,"-").concat(this.component.type),"".concat(n,"-").concat(this.key),"".concat(n)];return this.hook("render".concat(n.charAt(0).toUpperCase()+n.substring(1,n.length)),this.interpolate(this.getTemplate(o,i),l),l,i)}},{key:"sanitize",value:function(n,e,l){var t;return this.shouldSanitizeValue||e?c.sanitize(n,{sanitizeConfig:r.default.merge((null===(t=this.options)||void 0===t?void 0:t.sanitizeConfig)||{},l||{})}):n}},{key:"renderString",value:function(n,e){return n?this.interpolate(n,e):""}},{key:"performInputMapping",value:function(n){return n}},{key:"widget",get:function(){var n,e=this.component.widget;return e&&null!==(n=this.root)&&void 0!==n&&n.shadowRoot&&(e.shadowRoot=this.root.shadowRoot),e&&f.default[e.type]?new f.default[e.type](e,this.component,this):null}},{key:"getBrowserLanguage",value:function(){var n,e=window.navigator,l=["language","browserLanguage","systemLanguage","userLanguage"];if(Array.isArray(e.languages))for(var t=0;t [ref="'.concat(l,'"]'):'[ref="'.concat(l,'"]');i&&t.startsWith("single")?this.refs[l]=n.querySelector(o):this.refs[l]=n.querySelectorAll(o)}}},{key:"setOpenModalElement",value:function(n){this.componentModal.setOpenModalElement(n||this.getModalPreviewTemplate())}},{key:"getModalPreviewTemplate",value:function(){var n,e,l="password"===this.component.type?this.dataValue.replace(/./g,"\u2022"):this.dataValue,t=this.error?{level:"error",message:this.error.message}:"";return this.hasInput&&null!==(n=this.component.validate)&&void 0!==n&&n.required&&!this.isPDFReadOnlyMode&&(e={className:"field-required"}),this.renderTemplate("modalPreview",{previewText:this.getValueAsString(l,{modalPreview:!0})||this.t("Click to set value"),messages:t&&this.renderTemplate("message",t),labelInfo:e})}},{key:"build",value:function(n){return n=n||this.element,this.empty(n),this.setContent(n,this.render()),this.attach(n)}},{key:"hasModalSaveButton",get:function(){return!0}},{key:"render",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Unknown component: ".concat(this.component.type),e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.visible;return this.rendered=!0,this.builderMode||this.previewMode||!this.component.modalEdit?this.renderTemplate("component",{visible:l,id:this.id,classes:this.className,styles:this.customStyle,children:n},e):h.default.render(this,{visible:l,showSaveButton:this.hasModalSaveButton,id:this.id,classes:this.className,styles:this.customStyle,children:n},e)}},{key:"attachTooltips",value:function(n){var e=this;null==n||n.forEach((function(n,l){if(n){var t=n.getAttribute("data-tooltip"),i=n.getAttribute("data-title"),o=e.interpolate(i||t).replace(/(?:\r\n|\r|\n)/g,"
");e.tooltips[l]=(0,u.default)(n,{allowHTML:!0,trigger:"mouseenter click focus",placement:"right",zIndex:1e4,interactive:!0,content:e.t(e.sanitize(o),{_userInput:!0})})}}))}},{key:"createComponentModal",value:function(n,e,l){return new h.default(this,n,e,l)}},{key:"attach",value:function(n){if(!this.builderMode&&!this.previewMode&&this.component.modalEdit){var e=!!this.componentModal&&this.componentModal.isOpened,l=e?this.componentModal.currentValue:this.dataValue,t=this.componentModal&&e?this.componentModal.openModalTemplate:null;this.componentModal=this.createComponentModal(n,e,l),this.setOpenModalElement(t)}this.attached=!0,this.element=n,n.component=this,this.element.id&&(this.id=this.element.id,this.component.id=this.id),this.loadRefs(n,{messageContainer:"single",tooltip:"multiple"}),this.attachTooltips(this.refs.tooltip),this.attachLogic(),this.autofocus(),this.hook("attachComponent",n,this);var i=this.component.type;return i&&this.hook("attach".concat(i.charAt(0).toUpperCase()+i.substring(1,i.length)),n,this),this.restoreFocus(),this.addons.forEach((function(e){return e.attach(n)})),o.default.resolve()}},{key:"restoreFocus",value:function(){var n,e,l;(null===(n=this.root)||void 0===n||null===(e=n.focusedComponent)||void 0===e?void 0:e.path)===this.path&&(this.loadRefs(this.element,{input:"multiple"}),this.focus(null===(l=this.root.currentSelection)||void 0===l?void 0:l.index),this.restoreCaretPosition())}},{key:"addShortcut",value:function(n,e){n&&this.root&&this.root!==this&&(e||(e=this.component.shortcut),this.root.addShortcut(n,e))}},{key:"removeShortcut",value:function(n,e){n&&this.root!==this&&(e||(e=this.component.shortcut),this.root.removeShortcut(n,e))}},{key:"detach",value:function(){this.refs={},this.removeEventListeners(),this.detachLogic(),this.tooltip&&this.tooltip.destroy()}},{key:"checkRefresh",value:function(n,e,l){var t=r.default.get(e,"instance.path",!1);t&&this.path===t||("data"===n?this.refresh(this.data,e,l):t&&(0,c.getComponentPath)(e.instance)===n&&e&&e.instance&&this.inContext(e.instance)&&this.refresh(e.value,e,l))}},{key:"checkRefreshOn",value:function(n){var e=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n=n||[],!l.noRefresh){!n.length&&l.changed&&(n=[l.changed]);var t=l.fromBlur?this.component.refreshOnBlur:this.component.refreshOn||this.component.redrawOn;t&&(Array.isArray(t)?t.forEach((function(t){return n.forEach((function(n){return e.checkRefresh(t,n,l)}))})):n.forEach((function(n){return e.checkRefresh(t,n,l)})))}}},{key:"refresh",value:function(n){this.hasOwnProperty("refreshOnValue")?this.refreshOnChanged=!r.default.isEqual(n,this.refreshOnValue):this.refreshOnChanged=!0,this.refreshOnValue=(0,c.fastCloneDeep)(n),this.refreshOnChanged&&(this.component.clearOnRefresh&&this.setValue(null),this.triggerRedraw())}},{key:"inContext",value:function(n){if(n.data===this.data)return!0;for(var e=this.parent;e;){if(e.data===n.data)return!0;e=e.parent}return!1}},{key:"viewOnly",get:function(){return this.options.readOnly&&this.options.viewAsHtml}},{key:"createViewOnlyElement",value:function(){return this.element=this.ce("dl",{id:this.id}),this.element&&(this.element.component=this),this.element}},{key:"defaultViewOnlyValue",get:function(){return"-"}},{key:"getWidgetValueAsString",value:function(n,e){var l=this,t=!this.refs.input||!this.refs.input[0]||!this.refs.input[0].widget;if(!n||t)return this.widget&&n?this.widget.getValueAsString(n):n;if(Array.isArray(n)){var i=[];return n.forEach((function(n,t){var o=l.refs.input[t]&&l.refs.input[t].widget;o&&i.push(o.getValueAsString(n,e))})),i}return this.refs.input[0].widget.getValueAsString(n,e)}},{key:"getValueAsString",value:function(n,e){if(!n)return"";if(n=this.getWidgetValueAsString(n,e),Array.isArray(n))return n.join(", ");if(r.default.isPlainObject(n))return JSON.stringify(n);if(null==n)return"";var l=n.toString();return this.sanitize(l)}},{key:"getView",value:function(n,e){return this.component.protected?"--- PROTECTED ---":this.getValueAsString(n,e)}},{key:"updateItems",value:function(){this.restoreValue(),this.onChange.apply(this,arguments)}},{key:"itemValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(r.default.isObject(n)&&!r.default.isArray(n)){if(this.valueProperty)return r.default.get(n,this.valueProperty);if(e)return n.value}return n}},{key:"itemValueForHTMLMode",value:function(n){var e=this;return Array.isArray(n)?n.map((function(n){return Array.isArray(n)?e.itemValueForHTMLMode(n):e.itemValue(n)})).join(", "):this.itemValue(n)}},{key:"createModal",value:function(n,e,l){var t=this,i=this.ce("div",e||{});this.setContent(i,this.renderTemplate("dialog")),i.refs={},this.loadRefs.call(i,i,{dialogOverlay:"single",dialogContents:"single",dialogClose:"single"}),i.refs.dialogContents.appendChild(n),document.body.appendChild(i),document.body.classList.add("modal-open"),i.close=function(){document.body.classList.remove("modal-open"),i.dispatchEvent(new CustomEvent("close"))},this.addEventListener(i,"close",(function(){return t.removeChildFrom(i,document.body)}));var o=function(n){n.preventDefault(),i.close()},u=function(n){l?l().then((function(){return o(n)})).catch((function(){})):o(n)};return this.addEventListener(i.refs.dialogOverlay,"click",u),this.addEventListener(i.refs.dialogClose,"click",u),i}},{key:"optimizeRedraw",get:function(){return!(!this.options.optimizeRedraw||!this.element||this.visible||(this.addClass(this.element,"formio-removed"),0))}},{key:"className",get:function(){var n=this.hasInput?"".concat(this.transform("class","form-group")," has-feedback "):"";return n+="formio-component formio-component-".concat(this.component.type," "),this.key&&"form"!==this.key&&(n+="formio-component-".concat(this.key," ")),this.component.multiple&&(n+="formio-component-multiple "),this.component.customClass&&(n+=this.component.customClass),this.hasInput&&this.component.validate&&(0,c.boolValue)(this.component.validate.required)&&(n+=" required"),this.labelIsHidden()&&(n+=" formio-component-label-hidden"),this.visible||(n+=" formio-hidden"),n}},{key:"customStyle",get:function(){var n="";return r.default.each(this.component.style,(function(e,l){""!==e&&(n+="".concat(l,":").concat(e,";"))})),n}},{key:"isMobile",get:function(){return(0,a.default)()}},{key:"getElement",value:function(){return this.element}},{key:"evalContext",value:function(n){return O(L(b.prototype),"evalContext",this).call(this,Object.assign({component:this.component,row:this.data,rowIndex:this.rowIndex,data:this.rootValue,iconClass:this.iconClass.bind(this),t:this.t.bind(this),submission:this.root?this.root._submission:{data:this.rootValue},form:this.root?this.root._form:{},options:this.options},n))}},{key:"setPristine",value:function(n){this.pristine=n}},{key:"isPristine",get:function(){return this.pristine}},{key:"setDirty",value:function(n){this.dirty=n}},{key:"isDirty",get:function(){return this.dirty}},{key:"removeValue",value:function(n){this.splice(n),this.redraw(),this.restoreValue(),this.triggerRootChange()}},{key:"iconClass",value:function(n,e){var l=this.options.iconset||B.current.defaultIconset||"fa";return B.current.hasOwnProperty("iconClass")?B.current.iconClass(l,n,e):"fa"===this.options.iconset?B.defaultTemplates.iconClass(l,n,e):n}},{key:"size",value:function(n){return B.current.hasOwnProperty("size")?B.current.size(n):n}},{key:"name",get:function(){return this.t(this.component.label||this.component.placeholder||this.key,{_userInput:!0})}},{key:"errorLabel",get:function(){return this.t(this.component.errorLabel||this.component.label||this.component.placeholder||this.key)}},{key:"errorMessage",value:function(n){return this.component.errors&&this.component.errors[n]?this.component.errors[n]:n}},{key:"setContent",value:function(n,e,l,t){return n instanceof HTMLElement&&(n.innerHTML=this.sanitize(e,l,t),!0)}},{key:"restoreCaretPosition",value:function(){var n,e;if(null!==(n=this.root)&&void 0!==n&&n.currentSelection&&null!==(e=this.refs.input)&&void 0!==e&&e.length){var l=this.root.currentSelection,t=l.selection,i=l.index,o=this.refs.input[i],u=function(n){return/text|search|password|tel|url/i.test((null==n?void 0:n.type)||"")};if(o){var r;u(o)&&(r=o).setSelectionRange.apply(r,k(t))}else{var a,s=(null===(a=(o=this.refs.input[this.refs.input.length]).value)||void 0===a?void 0:a.length)||0;u(o)&&o.setSelectionRange(s,s)}}}},{key:"redraw",value:function(){if(!this.element||!this.element.parentNode||this.optimizeRedraw)return o.default.resolve();this.detach(),this.emit("redraw");var n=this.element.parentNode,e=Array.prototype.indexOf.call(n.children,this.element);return this.element.outerHTML=this.sanitize(this.render()),this.element=n.children[e],this.attach(this.element)}},{key:"rebuild",value:function(){return this.destroy(),this.init(),this.visible=this.conditionallyVisible(null,null),this.redraw()}},{key:"removeEventListeners",value:function(){O(L(b.prototype),"removeEventListeners",this).call(this),this.tooltips.forEach((function(n){return n.destroy()})),this.tooltips=[]}},{key:"hasClass",value:function(n,e){if(n)return O(L(b.prototype),"hasClass",this).call(this,n,this.transform("class",e))}},{key:"addClass",value:function(n,e){if(n)return O(L(b.prototype),"addClass",this).call(this,n,this.transform("class",e))}},{key:"removeClass",value:function(n,e){if(n)return O(L(b.prototype),"removeClass",this).call(this,n,this.transform("class",e))}},{key:"hasCondition",value:function(){return null!==this._hasCondition||(this._hasCondition=c.hasCondition(this.component)),this._hasCondition}},{key:"conditionallyVisible",value:function(n,e){return n=n||this.rootValue,e=e||this.data,this.builderMode||this.previewMode||!this.hasCondition()?!this.component.hidden:(n=n||(this.root?this.root.data:{}),this.checkCondition(e,n))}},{key:"checkCondition",value:function(n,e){return c.checkCondition(this.component,n||this.data,e||this.rootValue,this.root?this.root._form:{},this)}},{key:"checkComponentConditions",value:function(n,e,l){n=n||this.rootValue,e=e||{},l=l||this.data,!this.builderMode&!this.previewMode&&this.fieldLogic(n,l)&&this.redraw();var t=this.conditionallyVisible(n,l);return this.visible!==t&&(this.visible=t),t}},{key:"checkConditions",value:function(n,e,l){return n=n||this.rootValue,e=e||{},l=l||this.data,this.checkComponentConditions(n,e,l)}},{key:"logic",get:function(){return this.component.logic||[]}},{key:"fieldLogic",value:function(n,e){var l=this;n=n||this.rootValue,e=e||this.data;var t=this.logic;if(0!==t.length){var i=(0,c.fastCloneDeep)(this.originalComponent),o=t.reduce((function(t,o){var u=c.checkTrigger(i,o.trigger,e,n,l.root?l.root._form:{},l);return!!u&&l.applyActions(i,o.actions,u,e,n)||t}),!1);if(!r.default.isEqual(this.component,i)){this.component=i,o=!0;var u=this.shouldDisabled;this.disabled!==u&&(this.disabled=u)}return o}}},{key:"isIE",value:function(){if("undefined"==typeof window)return!1;var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0)return parseInt(n.substring(e+5,n.indexOf(".",e)),10);if(n.indexOf("Trident/")>0){var l=n.indexOf("rv:");return parseInt(n.substring(l+3,n.indexOf(".",l)),10)}var t=n.indexOf("Edge/");return t>0&&parseInt(n.substring(t+5,n.indexOf(".",t)),10)}},{key:"defineActionValue",value:function(n,e){return this.evaluate(n.value,e,"value")}},{key:"applyActions",value:function(n,e,l,t,i){var o=this;return i=i||this.rootValue,t=t||this.data,e.reduce((function(e,u){switch(u.type){case"property":c.setActionProperty(n,u,l,t,i,o);var a=u.property.value;r.default.isEqual(r.default.get(o.component,a),r.default.get(n,a))||(e=!0);break;case"value":var s=o.getValue(),d=o.defineActionValue(u,{value:r.default.clone(s),data:i,row:t,component:n,result:l});r.default.isEqual(s,d)||o.component.clearOnHide&&!o.visible||(o.setValue(d),o.viewOnly&&(o.dataValue=d),e=!0);break;case"mergeComponentSchema":var p=o.evaluate(u.schemaDefinition,{value:r.default.clone(o.getValue()),data:i,row:t,component:n,result:l},"schema");r.default.assign(n,p),r.default.isEqual(o.component,n)||(e=!0);break;case"customAction":var h=o.getValue(),f=o.evaluate(u.customAction,{value:r.default.clone(h),data:i,row:t,input:h,component:n,result:l},"value");r.default.isEqual(h,f)||o.component.clearOnHide&&!o.visible||(o.setValue(f),o.viewOnly&&(o.dataValue=f),e=!0)}return e}),!1)}},{key:"addInputError",value:function(n,e,l){this.addMessages(n),this.setErrorClasses(l,e,!!n)}},{key:"removeInputError",value:function(n){this.setErrorClasses(n,!0,!1)}},{key:"addMessages",value:function(n){var e=this;n&&("string"==typeof n&&(n={messages:n,level:"error"}),Array.isArray(n)||(n=[n]),n=r.default.uniqBy(n,(function(n){return n.message})),this.refs.messageContainer&&this.setContent(this.refs.messageContainer,n.map((function(n){return n.message&&"string"==typeof n.message&&(n.message=n.message.replaceAll("<","<").replaceAll(">",">")),e.renderTemplate("message",n)})).join("")))}},{key:"setErrorClasses",value:function(n,e,l,t){var i=this,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.element;this.clearErrorClasses(),n.forEach((function(n){i.setElementInvalid(i.performInputMapping(n),!1)})),this.setInputWidgetErrorClasses(n,l),l&&(n.forEach((function(n){i.setElementInvalid(i.performInputMapping(n),!0)})),e&&this.options.highlightErrors?this.addClass(o,this.options.componentErrorClass):this.addClass(o,"has-error")),t&&this.addClass(o,"has-message")}},{key:"setElementInvalid",value:function(n,e){n&&(e?this.addClass(n,"is-invalid"):this.removeClass(n,"is-invalid"),n.setAttribute("aria-invalid",e?"true":"false"))}},{key:"clearOnHide",value:function(){this.rootPristine&&!this.options.server&&!(0,c.isInsideScopingComponent)(this)||!1===this.component.clearOnHide||this.options.readOnly||this.options.showHiddenFields||(this.visible?!this.hasValue()&&this.shouldAddDefaultValue&&this.setValue(this.defaultValue,{noUpdateEvent:!0}):this.deleteValue())}},{key:"triggerRootChange",value:function(){var n;if(this.options.onChange)(n=this.options).onChange.apply(n,arguments);else if(this.root){var e;(e=this.root).triggerChange.apply(e,arguments)}}},{key:"onChange",value:function(n,e){(n=n||{}).modified&&(n.noPristineChangeOnModified||(this.pristine=!1),this.addClass(this.getElement(),"formio-modified")),"blur"!==this.component.validateOn||this.errors.length||(n.noValidate=!0),this.component.onChange&&this.evaluate(this.component.onChange,{flags:n});var l={instance:this,component:this.component,value:this.dataValue,flags:n};this.emit("componentChange",l);var t=!1;return n.modified&&(t=!0,delete n.modified),e||this.triggerRootChange(n,l,t),l}},{key:"wysiwygDefault",get:function(){return{quill:{theme:"snow",placeholder:this.t(this.component.placeholder,{_userInput:!0}),modules:{toolbar:[[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{font:[]}],["bold","italic","underline","strike",{script:"sub"},{script:"super"},"clean"],[{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"},{align:[]}],["blockquote","code-block"],["link","image","video","formula","source"]]}},ace:{theme:"ace/theme/xcode",maxLines:12,minLines:12,tabSize:2,mode:"ace/mode/javascript",placeholder:this.t(this.component.placeholder,{_userInput:!0})},ckeditor:{image:{toolbar:["imageTextAlternative","|","imageStyle:full","imageStyle:alignLeft","imageStyle:alignCenter","imageStyle:alignRight"],styles:["full","alignLeft","alignCenter","alignRight"]},extraPlugins:[]},default:{}}}},{key:"addCKE",value:function(n,e,l){return(e=r.default.isEmpty(e)?{}:e).base64Upload=!this.component.isUploadEnabled,e.mediaEmbed={previewsInData:!0},e=r.default.merge(this.wysiwygDefault.ckeditor,r.default.get(this.options,"editors.ckeditor.settings",{}),e),this.component.isUploadEnabled&&e.extraPlugins.push((0,m.getFormioUploadAdapterPlugin)(this.fileService,this)),s.GlobalFormio.requireLibrary("ckeditor",N?"CKEDITOR":"ClassicEditor",r.default.get(this.options,"editors.ckeditor.src","".concat(s.GlobalFormio.cdn.ckeditor,"/ckeditor.js")),!0).then((function(){if(!n.parentNode)return o.default.reject();if(N){var t=CKEDITOR.replace(n);return t.on("change",(function(){return l(t.getData())})),o.default.resolve(t)}return ClassicEditor.create(n,e).then((function(n){return n.model.document.on("change",(function(){return l(n.data.get())})),n}))}))}},{key:"addQuill",value:function(n,e,l){var t=this;return e=r.default.isEmpty(e)?this.wysiwygDefault.quill:e,e=w(w({},e=r.default.merge(this.wysiwygDefault.quill,r.default.get(this.options,"editors.quill.settings",{}),e)),{},{modules:w({table:!0},e.modules)}),s.GlobalFormio.requireLibrary("quill-css-".concat(e.theme),"Quill",[{type:"styles",src:"".concat(s.GlobalFormio.cdn.quill,"/quill.").concat(e.theme,".css")}],!0),s.GlobalFormio.requireLibrary("quill","Quill",r.default.get(this.options,"editors.quill.src","".concat(s.GlobalFormio.cdn.quill,"/quill.min.js")),!0).then((function(){return s.GlobalFormio.requireLibrary("quill-table","Quill","".concat(s.GlobalFormio.cdn.baseUrl,"/quill/quill-table.js"),!0).then((function(){if(!n.parentNode)return o.default.reject();t.quill=new Quill(n,N?w(w({},e),{},{modules:{}}):e);var i=document.createElement("textarea");i.setAttribute("class","quill-source-code"),t.quill.addContainer("ql-custom").appendChild(i);var u=n.parentNode.querySelector(".ql-source");u&&t.addEventListener(u,"click",(function(n){n.preventDefault(),"inherit"===i.style.display&&t.quill.setContents(t.quill.clipboard.convert({html:i.value})),i.style.display="none"===i.style.display?"inherit":"none"})),t.addEventListener(n,"click",(function(){return t.quill.focus()}));for(var r=document.querySelectorAll(".ql-formats > button"),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasValue()){var l=this.dataValue||[];r.default.isArray(l)&&l.hasOwnProperty(n)&&(l.splice(n,1),this.dataValue=l,this.triggerChange(e))}}},{key:"unset",value:function(){r.default.unset(this._data,this.key)}},{key:"deleteValue",value:function(){this.setValue(null,{noUpdateEvent:!0,noDefault:!0}),this.unset()}},{key:"getCustomDefaultValue",value:function(n){return this.component.customDefaultValue&&!this.options.preview&&(n=this.evaluate(this.component.customDefaultValue,{value:""},"value")),n}},{key:"shouldAddDefaultValue",get:function(){return!this.options.noDefaults||this.component.defaultValue&&!this.isEmpty(this.component.defaultValue)||this.component.customDefaultValue}},{key:"defaultValue",get:function(){var n=this,e=this.emptyValue;this.component.defaultValue&&(e=this.component.defaultValue),e=this.getCustomDefaultValue(e);var l=function(e){if("string"==typeof e){var l=n.placeholderChar;e=(0,i.conformToMask)(e,n.defaultMask,{placeholderChar:l}).conformedValue,c.matchInputMask(e,n.defaultMask)||(e="")}else e="";return e};return this.defaultMask&&(e=Array.isArray(e)?e.map(l):l(e)),r.default.cloneDeep(e)}},{key:"getValue",value:function(){if(!this.hasInput||this.viewOnly||!this.refs.input||!this.refs.input.length)return this.dataValue;var n=[];for(var e in this.refs.input)if(this.refs.input.hasOwnProperty(e)){if(!this.component.multiple)return this.getValueAt(e);n.push(this.getValueAt(e))}return 0!==n.length||this.component.multiple?n:""}},{key:"getValueAt",value:function(n){var e=this.performInputMapping(this.refs.input[n]);return e?e.value:void 0}},{key:"setValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=this.updateValue(n,e);if(n=this.dataValue,!this.hasInput)return l;var t=Array.isArray(n),i=this.refs.fileLink||this.refs.input;if(t&&Array.isArray(this.defaultValue)&&this.refs.hasOwnProperty("input")&&i&&i.length!==n.length&&this.visible&&this.redraw(),this.isHtmlRenderMode()&&e&&e.fromSubmission&&l)return this.redraw(),l;for(var o in this.refs.input)this.refs.input.hasOwnProperty(o)&&this.setValueAt(o,t?n[o]:n,e);return l}},{key:"setValueAt",value:function(n,e){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};l.noDefault||null!=e||this.component.multiple||(e=this.defaultValue);var t=this.performInputMapping(this.refs.input[n]),i=this.refs.valueMaskInput;null!=i&&i.mask&&i.mask.textMaskInputElement.update(e),t.mask?t.mask.textMaskInputElement.update(e):t.widget&&t.widget.setValue?t.widget.setValue(e):t.value=e}},{key:"hasSetValue",get:function(){return this.hasValue()&&!this.isEmpty(this.dataValue)}},{key:"setDefaultValue",value:function(){if(this.defaultValue&&this.shouldAddDefaultValue){var n=this.component.multiple&&!this.dataValue.length?[]:this.defaultValue;this.setValue(n,{noUpdateEvent:!0})}}},{key:"restoreValue",value:function(){this.hasSetValue?this.setValue(this.dataValue,{noUpdateEvent:!0}):this.setDefaultValue()}},{key:"normalizeValue",value:function(n){return this.component.multiple&&!Array.isArray(n)&&(n=n?[n]:[]),n}},{key:"updateComponentValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.resetValue||null!=n?n:this.getValue();l=this.normalizeValue(l,e);var t=this.dataValue,i=void 0!==l&&this.hasChanged(l,t);return i&&(this.dataValue=l,i=this.dataValue!==t,this.updateOnChange(e,i)),this.componentModal&&e&&e.fromSubmission&&this.componentModal.setValue(n),i}},{key:"updateValue",value:function(){return this.updateComponentValue.apply(this,arguments)}},{key:"getIcon",value:function(n,e,l){var t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"icon";return this.renderTemplate("icon",{className:this.iconClass(n),ref:t,styles:l,content:e})}},{key:"resetValue",value:function(){this.unset(),this.setValue(this.emptyValue,{noUpdateEvent:!0,noValidate:!0,resetValue:!0})}},{key:"hasChanged",value:function(n,e){return!(null==n&&(null==e||this.isEmpty(e))||(null==n||!this.allowData||this.hasValue())&&r.default.isEqual(n,e))}},{key:"updateOnChange",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(n.noUpdateEvent||!e||(this.triggerChange(n),0))}},{key:"convertNumberOrBoolToString",value:function(n){return"number"==typeof n||"boolean"==typeof n?n.toString():n}},{key:"doValueCalculation",value:function(n,e,l){var t;return this.evaluate(this.component.calculateValue,{value:n,data:e,row:l||this.data,submission:(null===(t=this.root)||void 0===t?void 0:t._submission)||{data:this.rootValue}},"value")}},{key:"calculateComponentValue",value:function(n,e,l){if(this.builderMode||r.default.isUndefined(r.default.get(this,"root.data")))return!1;var t=this.component.clearOnHide,i=!this.visible&&t,o=r.default.get(this.component,"allowCalculateOverride",!1);if(i)return this.hasOwnProperty("calculatedValue")&&o&&r.default.unset(this,"calculatedValue"),!1;if(this.options.readOnly&&!this.options.pdf&&!this.component.calculateValue||!this.component.calculateValue&&!this.component.calculateValueVariable||this.options.server&&!this.component.calculateServer||e.dataSourceInitialLoading&&o)return!1;var u=this.dataValue,a=this.doValueCalculation(u,n,l,e);if(this.options.readOnly&&u&&!a)return!1;r.default.isNil(a)&&(a=this.emptyValue);var s=!r.default.isEqual(u,a);if(o){var d=e.fromSubmission&&!0===this.component.persistent;if(this.isEmpty(u))this.calculationLocked=!1;else if(this.calculationLocked||d)return this.calculationLocked=!0,!1;var p=void 0===this.calculatedValue||e.resetValue;p&&(this.calculatedValue=null);var h=this.normalizeValue(this.convertNumberOrBoolToString(a)),f=this.normalizeValue(this.convertNumberOrBoolToString(this.calculatedValue)),g=this.normalizeValue(this.convertNumberOrBoolToString(u)),m=!r.default.isEqual(f,h),v=!r.default.isEqual(g,f);if(m&&v&&!p)return!1;if(f&&v&&!m)return this.calculatedValue=null,!1;if(e.isReordered||!m)return!1;if(d)return this.calculatedValue=(0,c.fastCloneDeep)(a),!1;if(p&&!this.isEmpty(u)&&s&&m)return!0}return this.calculatedValue=(0,c.fastCloneDeep)(a),!!s&&(e.noPristineChangeOnModified||(this.pristine=!1),e.triggeredComponentId=this.id,this.setValue(a,e))}},{key:"calculateValue",value:function(n,e,l){return n=n||this.rootValue,e=e||{},l=l||this.data,this.calculateComponentValue(n,e,l)}},{key:"label",get:function(){return this.component.label},set:function(n){this.component.label=n,this.labelElement&&(this.labelElement.innerText=n)}},{key:"getRoot",value:function(){return this.root}},{key:"invalidMessage",value:function(n,e,l,t){return l||this.checkCondition(t,n)?this.invalid?this.invalid:!this.hasInput||!e&&this.pristine?"":r.default.map(d.default.checkComponent(this,n),"message").join("\n\n"):""}},{key:"isValid",value:function(n,e){return!this.invalidMessage(n,e)}},{key:"setComponentValidity",value:function(n,e,l){var t=!!n.filter((function(n){return"error"===n.level&&!n.fromServer})).length;return!n.length||l&&!this.error||this.isEmpty(this.defaultValue)&&!e&&this.pristine?l||this.setCustomValidity(""):this.setCustomValidity(n,e),!t}},{key:"checkComponentValidity",value:function(n,e,l){var t,i=this,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||this.rootValue,l=l||this.data;var r=u.async,a=void 0!==r&&r,s=u.silentCheck,c=void 0!==s&&s;if(this.shouldSkipValidation(n,e,l))return this.setCustomValidity(""),!a||o.default.resolve(!0);var p=d.default.checkComponent(this,n,l,!0,a),h=p;return null!==(t=this.serverErrors)&&void 0!==t&&t.length&&(h=p.concat(this.serverErrors)),a?h.then((function(n){return i.setComponentValidity(n,e,c)})):this.setComponentValidity(h,e,c)}},{key:"checkValidity",value:function(n,e,l,t){n=n||this.rootValue,l=l||this.data;var i=this.checkComponentValidity(n,e,l,{silentCheck:t});return this.checkModal(),i}},{key:"checkAsyncValidity",value:function(n,e,l,t){return o.default.resolve(this.checkComponentValidity(n,e,l,{async:!0,silentCheck:t}))}},{key:"checkData",value:function(n,e,l){if(n=n||this.rootValue,e=e||{},l=l||this.data,this.resetCaches(),e.fromBlur||this.checkRefreshOn(e.changes,e),e.noCheck)return!0;if(this.checkComponentConditions(n,e,l),this.id!==e.triggeredComponentId&&this.calculateComponentValue(n,e,l),e.noValidate&&!e.validateOnInit&&!e.fromIframe)return e.fromSubmission&&this.rootPristine&&this.pristine&&this.error&&e.changed&&this.checkComponentValidity(n,!!this.options.alwaysDirty,l,!0),!0;var t=!1;if((this.options.alwaysDirty||e.dirty)&&(t=!0),e.fromSubmission&&this.hasValue(n)&&(t=!0),this.setDirty(t),"blur"===this.component.validateOn&&e.fromSubmission)return!0;var i=this.checkComponentValidity(n,t,l,e);return this.checkModal(),i}},{key:"checkModal",value:function(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.component.modalEdit&&this.componentModal&&(e&&!n?this.setErrorClasses([this.refs.openModal],e,!n,!!this.errors.length,this.refs.openModalWrapper):this.clearErrorClasses(this.refs.openModalWrapper))}},{key:"validationValue",get:function(){return this.dataValue}},{key:"isEmpty",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dataValue,e=!(!r.default.isArray(n)||1!==n.length)&&r.default.isEqual(n[0],this.emptyValue);return null==n||0===n.length||r.default.isEqual(n,this.emptyValue)||e}},{key:"isEqual",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.dataValue;return this.isEmpty(n)&&this.isEmpty(e)||r.default.isEqual(n,e)}},{key:"validateMultiple",value:function(){return!0}},{key:"errors",get:function(){return this.error?[this.error]:[]}},{key:"clearErrorClasses",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.element;this.removeClass(n,this.options.componentErrorClass),this.removeClass(n,"alert alert-danger"),this.removeClass(n,"has-error"),this.removeClass(n,"has-message")}},{key:"setInputWidgetErrorClasses",value:function(n,e){this.isInputComponent&&this.component.widget&&null!=n&&n.length&&n.forEach((function(n){null!=n&&n.widget&&n.widget.setErrorClasses&&n.widget.setErrorClasses(e)}))}},{key:"addFocusBlurEvents",value:function(n){var e=this;this.addEventListener(n,"focus",(function(){e.root.focusedComponent!==e?(e.root.pendingBlur&&e.root.pendingBlur(),e.root.focusedComponent=e,e.emit("focus",e)):e.root.focusedComponent===e&&e.root.pendingBlur&&(e.root.pendingBlur.cancel(),e.root.pendingBlur=null)})),this.addEventListener(n,"blur",(function(){e.root.pendingBlur=c.delay((function(){e.emit("blur",e),"blur"===e.component.validateOn&&e.root.triggerChange({fromBlur:!0},{instance:e,component:e.component,value:e.dataValue,flags:{fromBlur:!0}}),e.root.focusedComponent=null,e.root.pendingBlur=null}))}))}},{key:"setCustomValidity",value:function(n,e,l){var t=this,i=this.isInputComponent?this.refs.input||[]:null;"string"==typeof n&&n&&(n={level:"error",message:n}),Array.isArray(n)||(n=n?[n]:[]);var o=!!n.filter((function(n){return"error"===n.level})).length,u=i;if(this.component.multiple){var r=Array.from(i);r.forEach((function(n){t.setElementInvalid(t.performInputMapping(n),!1)})),this.setInputWidgetErrorClasses(r,!1),u=r.filter((function(e){var l,t;return null===(l=(t=n).some)||void 0===l?void 0:l.call(t,(function(n){var l;return(null==n||null===(l=n.context)||void 0===l?void 0:l.input)===e}))}))}n.length?(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.error={component:this.component,message:n[0].message,messages:n,external:!!l},this.emit("componentError",this.error),this.addMessages(n,e,u),u&&this.setErrorClasses(u,e,o,!!n.length)):(!this.error||this.error&&this.error.external===!!l)&&(this.refs.messageContainer&&this.empty(this.refs.messageContainer),this.refs.modalMessageContainer&&this.empty(this.refs.modalMessageContainer),this.error=null,u&&this.setErrorClasses(u,e,o,!!n.length),this.clearErrorClasses())}},{key:"isValueHidden",value:function(){return(!this.component.protected||!this.root.editing)&&!(!this.root||!this.root.hasOwnProperty("editing"))&&!(!this.root||!this.root.editing)&&(this.component.protected||!this.component.persistent||"client-only"===this.component.persistent)}},{key:"shouldSkipValidation",value:function(n,e,l){var t=this;return[function(){return t.options.readOnly},function(){return!t.hasInput},function(){return t.isValueHidden()},function(){return!t.visible},function(){return!t.checkCondition(l,n)}].some((function(n){return n()}))}},{key:"whenReady",value:function(){return console.warn("The whenReady() method has been deprecated. Please use the dataReady property instead."),this.dataReady}},{key:"dataReady",get:function(){return o.default.resolve()}},{key:"asString",value:function(n){return n=n||this.getValue(),(Array.isArray(n)?n:[n]).map(r.default.toString).join(", ")}},{key:"disabled",get:function(){return this._disabled||this.parentDisabled},set:function(n){this._disabled=n}},{key:"setDisabled",value:function(n,e){n&&(n.disabled=e,e?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled"))}},{key:"setLoading",value:function(n,e){n&&n.loading!==e&&(n.loading=e,!n.loader&&e&&(n.loader=this.ce("i",{class:"".concat(this.iconClass("refresh",!0)," button-icon-right")})),n.loader&&(e?this.appendTo(n.loader,n):this.removeChildFrom(n.loader,n)))}},{key:"selectOptions",value:function(n,e,l,t){var i=this;r.default.each(l,(function(e){var l={value:e.value};void 0!==t&&e.value===t&&(l.selected="selected");var o=i.ce("option",l);o.appendChild(i.text(e.label)),n.appendChild(o)}))}},{key:"setSelectValue",value:function(n,e){var l=n.querySelectorAll("option");r.default.each(l,(function(n){n.value===e?n.setAttribute("selected","selected"):n.removeAttribute("selected")})),n.onchange&&n.onchange(),n.onselect&&n.onselect()}},{key:"getRelativePath",value:function(n){var e=".".concat(this.key),l=this.isInputComponent?this.path:this.path.slice(0).replace(e,"");return n.replace(l,"")}},{key:"clear",value:function(){this.detach(),this.empty(this.getElement())}},{key:"append",value:function(n){this.appendTo(n,this.element)}},{key:"prepend",value:function(n){this.prependTo(n,this.element)}},{key:"removeChild",value:function(n){this.removeChildFrom(n,this.element)}},{key:"detachLogic",value:function(){var n=this;this.logic.forEach((function(e){if("event"===e.trigger.type){var l=n.interpolate(e.trigger.event);n.off(l)}}))}},{key:"attachLogic",value:function(){var n=this;this.builderMode||this.logic.forEach((function(e){if("event"===e.trigger.type){var l=n.interpolate(e.trigger.event);n.on(l,(function(){for(var l=(0,c.fastCloneDeep)(n.originalComponent),t=arguments.length,i=new Array(t),o=0;o 0&&void 0!==arguments[0]?arguments[0]:this.element;if(n){var e=n.getBoundingClientRect(),l=e.left,t=e.top;window.scrollTo(l+window.scrollX,t+window.scrollY)}}},{key:"focus",value:function(n){var e;if("beforeFocus"in this.parent&&this.parent.beforeFocus(this),null!==(e=this.refs.input)&&void 0!==e&&e.length){var l,t="number"==typeof n&&this.refs.input[n]?this.refs.input[n]:this.refs.input[this.refs.input.length-1];if("calendar"===(null===(l=this.component.widget)||void 0===l?void 0:l.type)){var i=t.nextSibling;i&&i.focus()}else t.focus()}this.refs.openModal&&this.refs.openModal.focus(),this.parent.refs.openModal&&this.parent.refs.openModal.focus()}},{key:"fileService",get:function(){if(this.options.fileService)return this.options.fileService;if(this.options.formio)return this.options.formio;if(this.root&&this.root.formio)return this.root.formio;var n=new s.GlobalFormio;return this.root&&this.root._form&&this.root._form._id&&(n.formUrl="".concat(n.projectUrl,"/form/").concat(this.root._form._id)),n}},{key:"resetCaches",value:function(){}},{key:"previewMode",get:function(){return!1}}])&&P(e.prototype,l),t&&P(e,t),Object.defineProperty(e,"prototype",{writable:!1}),b}(p.default);e.default=F,F.externalLibraries={},F.requireLibrary=function(n,e,l,t){if(!F.externalLibraries.hasOwnProperty(n)){F.externalLibraries[n]={},F.externalLibraries[n].ready=new o.default((function(e,l){F.externalLibraries[n].resolve=e,F.externalLibraries[n].reject=l}));var i="".concat(n,"Callback");t||window[i]||(window[i]=(function(){this.resolve()}).bind(F.externalLibraries[n]));var u=r.default.get(window,e);u?F.externalLibraries[n].resolve(u):((l=Array.isArray(l)?l:[l]).forEach((function(n){var e={},l="";switch("string"==typeof n&&(n={type:"script",src:n}),n.type){case"script":l="script",e={src:n.src,type:"text/javascript",defer:!0,async:!0};break;case"styles":l="link",e={href:n.src,rel:"stylesheet"}}var t=document.createElement(l);for(var i in e)t.setAttribute(i,e[i]);document.getElementsByTagName("head")[0].appendChild(t)})),t&&setTimeout((function l(){var t=r.default.get(window,e);t?F.externalLibraries[n].resolve(t):setTimeout(l,200)}),200))}return F.externalLibraries[n].ready},F.libraryReady=function(n){return F.externalLibraries.hasOwnProperty(n)&&F.externalLibraries[n].ready?F.externalLibraries[n].ready:o.default.reject("".concat(n," library was not required."))}},"3KsH":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,i=(t=l("gpP3"))&&t.__esModule?t:{default:t};var o=[{type:"textarea",label:"Header Template",key:"templates.header",rows:5,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Two available variables. "value" is the array of row data and "components" is the array of components in the grid.',tooltip:"This is the Lodash Template used to render the header of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&!e.displayAsTable}},{type:"textarea",label:"Table Header Template",key:"templates.tableHeader",rows:6,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Two available variables. "value" is the array of row data and "components" is the array of components in the grid.',tooltip:"This is the Lodash Template used to render the header of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&e.displayAsTable}},{type:"textarea",label:"Row Template",key:"templates.row",rows:5,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Three available variables. "row" is an object of one row\'s data, "components" is the array of components in the grid and "state" is current row\'s state (can be "draft" or "saved"). To add click events, add the classes "editRow" and "removeRow" to elements.',tooltip:"This is the Lodash Template used to render each row of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&!e.displayAsTable}},{type:"textarea",label:"Table Row Template",key:"templates.tableRow",rows:5,editor:"ace",as:"handlebars",clearOnHide:!1,input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Three available variables. "row" is an object of one row\'s data, "components" is the array of components in the grid and "state" is current row\'s state (can be "draft" or "saved"). To add click events, add the classes "editRow" and "removeRow" to elements.',tooltip:"This is the Lodash Template used to render each row of the Edit grid.",customConditional:function(n){var e=n.data;return(!i.default.noeval||i.default.protectedEval)&&e.displayAsTable}},{type:"textarea",label:"Footer Template",key:"templates.footer",rows:5,editor:"ace",as:"handlebars",input:!0,placeholder:"/*** Lodash Template Code ***/",description:'Two available variables. "value" is the array of row data and "components" is the array of components in the grid.',tooltip:"This is the Lodash Template used to render the footer of the Edit grid.",customConditional:function(){return!i.default.noeval||i.default.protectedEval}},{type:"textfield",input:!0,key:"rowClass",label:"Row CSS Class",placeholder:"Row CSS Class",tooltip:"CSS class to add to the edit row wrapper."},{type:"textfield",input:!0,key:"addAnother",label:"Add Another Text",placeholder:"Add Another",tooltip:"Set the text of the Add Another button."},{weight:70,type:"checkbox",label:"Display as Modal",tooltip:"Display a modal to add or edit entries in the table",key:"modal",input:!0},{type:"textfield",input:!0,key:"saveRow",label:"Save Row Text",placeholder:"Save",tooltip:"Set the text of the Save Row button."},{type:"textfield",input:!0,key:"removeRow",label:"Remove Row Text",placeholder:"Remove",tooltip:"Set the text of the remove Row button."}];e.default=o},"3L66":function(n,e,l){var t=l("MMmD"),i=l("ExA7");n.exports=function(n){return i(n)&&t(n)}},"3MOf":function(n,e,l){"use strict";var t=l("rpNk").IteratorPrototype,i=l("fHMY"),o=l("XGwC"),u=l("1E5z"),r=l("P4y1"),a=function(){return this};n.exports=function(n,e,l,s){var c=e+" Iterator";return n.prototype=i(t,{next:o(+!s,l)}),u(n,c,!1,!0),r[c]=a,n}},"3U0i":function(n,e,l){"use strict";function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}l.d(e,"a",(function(){return i})),t.prototype=Object.create(Error.prototype);var i=t},"3WF5":function(n,e,l){var t=l("eUgh"),i=l("ut/Y"),o=l("l9OW"),u=l("Z0cm");n.exports=function(n,e){return(u(n)?t:o)(n,i(e,3))}},"3Wpx":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("owDf");e.default={form:t.default}},"3azA":function(n,e,l){var t=l("M96O"),i=l("z6cq");n.exports=function(n){return t.filter(i(n),(function(e){return e.length>1||1===e.length&&n.hasEdge(e[0],e[0])}))}},"3bBZ":function(n,e,l){"use strict";var t=l("2oRo"),i=l("/byt"),o=l("eFrH"),u=l("4mDm"),r=l("kRJp"),a=l("1E5z"),s=l("tiKp")("iterator"),c=u.values,d=function(n,e){if(n){if(n[s]!==c)try{r(n,s,c)}catch(t){n[s]=c}if(a(n,e,!0),i[e])for(var l in u)if(n[l]!==u[l])try{r(n,l,u[l])}catch(t){n[l]=u[l]}}};for(var p in i)d(t[p]&&t[p].prototype,p);d(o,"DOMTokenList")},"3duJ":function(n,e,l){"use strict";var t,i=this&&this.__extends||(t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var l in e)e.hasOwnProperty(l)&&(n[l]=e[l])})(n,e)},function(n,e){function l(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)});Object.defineProperty(e,"__esModule",{value:!0});var o=l("imqj"),u=function(){};e.Point=u;var r=function(n,e,l,t){this.x1=n,this.y1=e,this.x2=l,this.y2=t};e.LineSegment=r;var a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i(e,n),e}(u);function s(n,e,l){return(e.x-n.x)*(l.y-n.y)-(l.x-n.x)*(e.y-n.y)}function c(n,e,l){return s(n,e,l)>0}function d(n,e,l){return s(n,e,l)<0}function p(n,e){var l,t,i,o,u=e.length-1;if(d(n,e[1],e[0])&&!c(n,e[u-1],e[0]))return 0;for(l=0,t=u;;){if(t-l==1)return c(n,e[l],e[t])?l:t;if((o=d(n,e[(i=Math.floor((l+t)/2))+1],e[i]))&&!c(n,e[i-1],e[i]))return i;c(n,e[l+1],e[l])?o||c(n,e[l],e[i])?t=i:l=i:o&&d(n,e[l],e[i])?t=i:l=i}}function h(n,e){var l,t,i,o,u=e.length-1;if(c(n,e[u-1],e[0])&&!d(n,e[1],e[0]))return 0;for(l=0,t=u;;){if(t-l==1)return d(n,e[l],e[t])?l:t;if(o=d(n,e[(i=Math.floor((l+t)/2))+1],e[i]),c(n,e[i-1],e[i])&&!o)return i;d(n,e[l+1],e[l])?o?d(n,e[l],e[i])?t=i:l=i:t=i:o?l=i:c(n,e[l],e[i])?t=i:l=i}}function f(n,e,l,t,i,o){var u,r;r=t(n[u=l(e[0],n)],e);for(var a=!1;!a;){for(a=!0;u===n.length-1&&(u=0),!i(e[r],n[u],n[u+1]);)++u;for(;0===r&&(r=e.length-1),!o(n[u],e[r],e[r-1]);)--r,a=!1}return{t1:u,t2:r}}function g(n,e){return f(n,e,p,h,c,d)}e.PolyPoint=a,e.isLeft=s,e.ConvexHull=function(n){var e,l=n.slice(0).sort((function(n,e){return n.x!==e.x?e.x-n.x:e.y-n.y})),t=n.length,i=l[0].x;for(e=1;e =0&&l[e].x===c;e--);for(r=e+1,e=o;++e<=r;)if(!(s(l[0],l[r],l[e])>=0&&e 1&&!(s(u[u.length-2],u[u.length-1],l[e])>0);)u.length-=1;0!=e&&u.push(l[e])}a!=r&&u.push(l[a]);var d=u.length;for(e=r;--e>=o;)if(!(s(l[a],l[o],l[e])>=0&&e>o)){for(;u.length>d&&!(s(u[u.length-2],u[u.length-1],l[e])>0);)u.length-=1;0!=e&&u.push(l[e])}}return u},e.clockwiseRadialSweep=function(n,e,l){e.slice(0).sort((function(e,l){return Math.atan2(e.y-n.y,e.x-n.x)-Math.atan2(l.y-n.y,l.x-n.x)})).forEach(l)},e.tangent_PolyPolyC=f,e.LRtangent_PolyPolyC=function(n,e){var l=g(e,n);return{t1:l.t2,t2:l.t1}},e.RLtangent_PolyPolyC=g,e.LLtangent_PolyPolyC=function(n,e){return f(n,e,h,h,d,d)},e.RRtangent_PolyPolyC=function(n,e){return f(n,e,p,p,c,c)};var m=function(n,e){this.t1=n,this.t2=e};e.BiTangent=m;var v=function(){};e.BiTangents=v;var b=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i(e,n),e}(u);e.TVGPoint=b;var y=function(n,e,l,t){this.id=n,this.polyid=e,this.polyvertid=l,this.p=t,t.vv=this};e.VisibilityVertex=y;var A=function(){function n(n,e){this.source=n,this.target=e}return n.prototype.length=function(){var n=this.source.p.x-this.target.p.x,e=this.source.p.y-this.target.p.y;return Math.sqrt(n*n+e*e)},n}();e.VisibilityEdge=A;var w=function(){function n(n,e){if(this.P=n,this.V=[],this.E=[],e)this.V=e.V.slice(0),this.E=e.E.slice(0);else{for(var l=n.length,t=0;t 0&&this.E.push(new A(i[o-1].vv,r))}i.length>1&&this.E.push(new A(i[0].vv,i[i.length-1].vv))}for(t=0;t 0)return!0;return!1},n}();function C(n,e){for(var l=[],t=1,i=e.length;t=0&&g>=0&&b<0&&y>=0&&A>=0&&w<0?i.ll=new m(o,u):f<=0&&g<=0&&b>0&&y<=0&&A<=0&&w>0?i.rr=new m(o,u):f<=0&&g>0&&b<=0&&y>=0&&A<0&&w>=0?i.rl=new m(o,u):f>=0&&g<0&&b>=0&&y<=0&&A>0&&w<=0&&(i.lr=new m(o,u))}return i}function k(n,e){return!n.every((function(n){return!function(n,e){for(var l=1,t=e.length;l 0)return!0}return!1}},"3fWJ":function(n,e,l){"use strict";function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}l.d(e,"a",(function(){return i})),t.prototype=Object.create(Error.prototype);var i=t},"3fes":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"spellcheck",ignore:!0},{key:"inputMask",ignore:!0},{key:"allowMultipleMasks",ignore:!0},{key:"showWordCount",ignore:!0},{key:"showCharCount",ignore:!0}]},"3hoe":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{label:"HTML Attributes",type:"datamap",input:!0,key:"attributes",keyLabel:"Attribute Name",valueComponent:{type:"textfield",key:"value",label:"Attribute Value",input:!0},tooltip:"Provide a map of HTML attributes for component's input element (attributes provided by other component settings or other attributes generated by form.io take precedence over attributes in this grid)",addAnother:"Add Attribute"},{type:"panel",legend:"PDF Overlay",title:"PDF Overlay",key:"overlay",tooltip:"The settings inside apply only to the PDF forms.",weight:2e3,collapsible:!0,collapsed:!0,components:[{type:"textfield",input:!0,key:"overlay.style",label:"Style",placeholder:"",tooltip:"Custom styles that should be applied to this component when rendered in PDF."},{type:"textfield",input:!0,key:"overlay.page",label:"Page",placeholder:"",tooltip:"The PDF page to place this component."},{type:"textfield",input:!0,key:"overlay.left",label:"Left",placeholder:"",tooltip:"The left margin within a page to place this component."},{type:"textfield",input:!0,key:"overlay.top",label:"Top",placeholder:"",tooltip:"The top margin within a page to place this component."},{type:"textfield",input:!0,key:"overlay.width",label:"Width",placeholder:"",tooltip:"The width of the component (in pixels)."},{type:"textfield",input:!0,key:"overlay.height",label:"Height",placeholder:"",tooltip:"The height of the component (in pixels)."}]}]},"3ipb":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("idMQ");e.default={form:t.default}},"3qOy":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n"}},"3y7U":function(n,e,l){var t=l("M96O");n.exports=function(n,e,l){t.isArray(e)||(e=[e]);var i=(n.isDirected()?n.successors:n.neighbors).bind(n),o=[],u={};return t.each(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);!function n(e,l,i,o,u,r){t.has(o,l)||(o[l]=!0,i||r.push(l),t.each(u(l),(function(l){n(e,l,i,o,u,r)})),i&&r.push(l))}(n,e,"post"===l,u,i,o)})),o}},"3y9D":function(n,e,l){var t,i,o,u,r,a,s,c;n.exports=(c=l("Ib8C"),i=(t=c).lib,o=i.WordArray,u=i.Hasher,r=t.algo,a=[],s=r.SHA1=u.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,e){for(var l=this._hash.words,t=l[0],i=l[1],o=l[2],u=l[3],r=l[4],s=0;s<80;s++){if(s<16)a[s]=0|n[e+s];else{var c=a[s-3]^a[s-8]^a[s-14]^a[s-16];a[s]=c<<1|c>>>31}var d=(t<<5|t>>>27)+r+a[s];d+=s<20?1518500249+(i&o|~i&u):s<40?1859775393+(i^o^u):s<60?(i&o|i&u|o&u)-1894007588:(i^o^u)-899497514,r=u,u=o,o=i<<30|i>>>2,i=t,t=d}l[0]=l[0]+t|0,l[1]=l[1]+i|0,l[2]=l[2]+o|0,l[3]=l[3]+u|0,l[4]=l[4]+r|0},_doFinalize:function(){var n=this._data,e=n.words,l=8*this._nDataBytes,t=8*n.sigBytes;return e[t>>>5]|=128<<24-t%32,e[14+(t+64>>>9<<4)]=Math.floor(l/4294967296),e[15+(t+64>>>9<<4)]=l,n.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var n=u.clone.call(this);return n._hash=this._hash.clone(),n}}),t.SHA1=u._createHelper(s),t.HmacSHA1=u._createHmacHelper(s),c.SHA1)},"4/ic":function(n,e,l){var t=l("ZWtO");n.exports=function(n){return function(e){return t(e,n)}}},"409L":function(n,e,l){n.exports={graphlib:l("F9We"),layout:l("epwv"),debug:l("4JAw"),util:{time:l("tQ6r").time,notime:l("tQ6r").notime},version:l("khRU")}},"44Ds":function(n,e,l){var t=l("e4Nc");function i(n,e){if("function"!=typeof n||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var l=function(){var t=arguments,i=e?e.apply(this,t):t[0],o=l.cache;if(o.has(i))return o.get(i);var u=n.apply(this,t);return l.cache=o.set(i,u)||o,u};return l.cache=new(i.Cache||t),l}i.Cache=t,n.exports=i},"44OH":function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function o(n,e){for(var l=0;l\n ',"wizardHeaderVertical"===n.wizardHeaderType?l+='\n\n\n\n\n '+(null==(e=n.wizardHeader)?"":e)+'\n\n \n\n '+(null==(e=n.components)?"":e)+'\n\n\n \n\n ":l+=" \n "+(null==(e=n.wizardHeader)?"":e)+'\n\n '+(null==(e=n.wizardNav)?"":e)+"\n\n\n '+(null==(e=n.components)?"":e)+"\n\n "+(null==(e=n.wizardNav)?"":e)+"\n ",l+=" \n=e}}])&&o(e.prototype,l),t&&o(e,t),Object.defineProperty(e,"prototype",{writable:!1}),c}(h)},"4Ai+":function(n,e,l){var t=l("Ac7g");n.exports={Graph:t.Graph,json:l("GbLa"),alg:l("2J+T"),version:t.version}},"4B4T":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l =10?n:n+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?n+12:void 0},meridiem:function(n,e,l){return n<4?"\u0ab0\u0abe\u0aa4":n<10?"\u0ab8\u0ab5\u0abe\u0ab0":n<17?"\u0aac\u0aaa\u0acb\u0ab0":n<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(l("wd/R"))},"4O5w":function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("1U75"))&&t.__esModule?t:{default:t}).default};e.default=i},"4Oe1":function(n,e,l){var t=l("YO3V");n.exports=function(n){return t(n)?void 0:n}},"4PO4":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l \n \n\n"}},"4WOD":function(n,e,l){"use strict";var t=l("Gi26"),i=l("Fib7"),o=l("ewvW"),u=l("93I0"),r=l("4Xet"),a=u("IE_PROTO"),s=Object,c=s.prototype;n.exports=r?s.getPrototypeOf:function(n){var e=o(n);if(t(e,a))return e[a];var l=e.constructor;return i(l)&&e instanceof l?l.prototype:e instanceof s?c:null}},"4Xet":function(n,e,l){"use strict";var t=l("0Dky");n.exports=!t((function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype}))},"4ap4":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n','
\n'}},"4bFt":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+='
\n\n"}},"4dOw":function(n,e,l){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(l("wd/R"))},"4fRq":function(n,e){var l="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(l){var t=new Uint8Array(16);n.exports=function(){return l(t),t}}else{var i=new Array(16);n.exports=function(){for(var n,e=0;e<16;e++)0==(3&e)&&(n=4294967296*Math.random()),i[e]=n>>>((3&e)<<3)&255;return i}}},"4kV8":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("1oAp"),i=l("ZDfJ");e.default={form:t.default,html:i.default}},"4kuk":function(n,e,l){var t=l("SfRM"),i=l("Hvzi"),o=l("u8Dt"),u=l("ekgI"),r=l("JSQU");function a(n){var e=-1,l=null==n?0:n.length;for(this.clear();++e'+(null==(e=n.children)?"":e)+"\n ",n.readOnly||(l+='\n\n \n \n\n "),l+="\n=e.length)return n.target=void 0,s(void 0,!0);switch(n.kind){case"keys":return s(l,!1);case"values":return s(e[l],!1)}return s([l,e[l]],!1)}),"values");var f=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==f.name)try{r(f,"name",{value:"values"})}catch(g){}},"4mfi":function(n,e,l){"use strict";var t=l("4zBA"),i=l("6LWA"),o=l("Fib7"),u=l("xrYK"),r=l("V37c"),a=t([].push);n.exports=function(n){if(o(n))return n;if(i(n)){for(var e=n.length,l=[],t=0;t \n'),l+="\n\n"+(null==(e=n.element)?"":e)+"\n",n.label.hidden||"bottom"!==n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n",n.component.description&&(l+='\n '+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"\n"),l+="\n"}},"5DmW":function(n,e,l){"use strict";var t=l("I+eb"),i=l("0Dky"),o=l("/GqU"),u=l("Bs8V").f,r=l("g6v/");t({target:"Object",stat:!0,forced:!r||i((function(){u(1)})),sham:!r},{getOwnPropertyDescriptor:function(n,e){return u(o(n),e)}})},"5EqP":function(n,e,l){var t=l("M96O");n.exports=function(n){var e,l={},i=[];function o(i){t.has(l,i)||(l[i]=!0,e.push(i),t.each(n.successors(i),o),t.each(n.predecessors(i),o))}return t.each(n.nodes(),(function(n){e=[],o(n),e.length&&i.push(e)})),i}},"5Kqs":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l1&&void 0!==arguments[1]?arguments[1]:0,l=arguments.length,t=new Array(l>2?l-2:0),i=2;i 0&&void 0!==arguments[0]?arguments[0]:"";return n.replace(/\[\d+\]/,"")},e.getComponentSavedTypes=function(n){var e=n||{};if(!0!==e.persistent)return[];if(e.multiple)return[V.array];return null},e.getContextButtons=function(n){var e=[];return n.utils.eachComponent(n.instance.options.editForm.components,(function(n){"button"===n.type&&e.push({label:"".concat(n.key," (").concat(n.label,")"),value:n.key})})),e},e.getContextComponents=function(n,e){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t=[];return n.utils.eachComponent(n.instance.options.editForm.components,(function(o,u){var r=!e||!o.tree;o.key!==n.data.key&&r&&!i.default.includes(l,o.type)&&t.push({label:"".concat(o.label||o.key," (").concat(u,")"),value:u})})),t},e.getCurrencyAffixes=function(n){var e=n.currency,l=void 0===e?"USD":e,t=n.decimalLimit,i=n.decimalSeparator,o=n.lang,u="(.*)?".concat(100..toLocaleString(o));t&&(u+="".concat("."===i?"\\.":i).concat((0).toLocaleString(o),"{").concat(t,"}"));u+="(.*)?";var r=100..toLocaleString(o,{style:"currency",currency:l,useGrouping:!0,maximumFractionDigits:t||0,minimumFractionDigits:t||0}).replace(".",i).match(new RegExp(u));return{prefix:(null==r?void 0:r[1])||"",suffix:(null==r?void 0:r[2])||""}},e.getDataParentComponent=j,e.getDateSetting=function(n){if(i.default.isNil(n)||i.default.isNaN(n)||""===n)return null;if(n instanceof Date)return n;if("function"==typeof n.toDate)return n.isValid()?n.toDate():null;var e="string"!=typeof n||-1===n.indexOf("moment(")?(0,r.default)(n):null;if(e&&e.isValid())return e.toDate();e=null;try{var l=h.default.evaluator("return ".concat(n,";"),"moment")(r.default);"string"==typeof l?e=(0,r.default)(l):"function"==typeof l.toDate?e=(0,r.default)(l.toDate().toUTCString()):l instanceof Date&&(e=(0,r.default)(l))}catch(t){return null}if(!e)return null;if(!e.isValid())return null;return e.toDate()},e.getElementRect=function(n){var e=window.getComputedStyle(n,null);return{x:w(e,"left"),y:w(e,"top"),width:w(e,"width"),height:w(e,"height")}},e.getFocusableElements=function(n){return n.querySelectorAll("button:not([disabled]), input:not([disabled]), select:not([disabled]),\n textarea:not([disabled]), button:not([disabled]), [href]")},e.getIEBrowserVersion=function(){var n=B(),e=n.ie,l=n.version;return e?l:null},e.getInputMask=function(n,e){if(n instanceof Array)return n;var l=[];l.numeric=!0;for(var t=0;t 1&&e.push(l[1])}));return e},e.getLocaleDateFormatInfo=function(n){var e={},l=new Date(2017,11,21).toLocaleDateString(n);return e.dayFirst=l.slice(0,2)===21..toString(),e},e.getNumberDecimalLimit=function(n,e){if(i.default.has(n,"decimalLimit"))return i.default.get(n,"decimalLimit");var l=e||20,t=i.default.get(n,"validate.step","any");if("any"!==t){var o=t.toString().split(".");o.length>1&&(l=o[1].length)}return l},e.getNumberSeparators=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",e=12345.6789.toLocaleString(n),l=e.match(/..(.)...(.)../);if(!l)return{delimiter:",",decimalSeparator:"."};return{delimiter:l.length>1?l[1]:",",decimalSeparator:l.length>2?l[2]:"."}},e.getPropertyValue=w,e.getRandomComponentId=function(){return"e".concat(Math.random().toString(36).substring(7))},e.getStringFromComponentPath=function(n){if(!i.default.isArray(n))return n;var e="";return n.forEach((function(n,l){i.default.isNumber(n)?e+="[".concat(n,"]"):e+=0===l?n:".".concat(n)})),e},e.guid=P,e.hasInvalidComponent=function n(e){return e.getComponents().some((function(e){return i.default.isArray(e.components)?n(e):e.error}))},e.interpolate=void 0,e.isInputComponent=function(n){if(!1===n.input||!0===n.input)return n.input;switch(n.type){case"htmlelement":case"content":case"columns":case"fieldset":case"panel":case"table":case"tabs":case"well":case"button":return!1;default:return!0}},e.isInsideScopingComponent=function n(e){var l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!l&&null!=e&&e.hasScopedChildren)return!0;var t=j(e);if(null!=t&&t.hasScopedChildren)return!0;if(null!=t&&t.parent)return n(t.parent,!1);return!1},e.isMongoId=function(n){return n.toString().match(/^[0-9a-fA-F]{24}$/)},e.isPromise=function(n){return n&&n.then&&"function"==typeof n.then&&"[object Promise]"===Object.prototype.toString.call(n)},e.isSelectResourceWithObjectValue=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.reference,l=n.dataSrc,t=n.valueProperty;return e||"resource"===l&&(!t||"data"===t)},e.isValidDate=function(n){return i.default.isDate(n)&&!i.default.isNaN(n.getDate())},e.iterateKey=D,Object.defineProperty(e,"jsonLogic",{enumerable:!0,get:function(){return u.default}}),e.loadZones=M,e.matchInputMask=function(n,e){if(!e)return!0;if(n.length>e.length)return!1;for(var l=0;l 1&&void 0!==arguments[1]?arguments[1]:{},l=e.limit,t=void 0===l?50:l,i=e.delay,o=void 0===i?500:i,u=0,r=0,a=function(){return u=0};return function(){if(0!==r&&(clearTimeout(r),r=0),r=setTimeout(a,o),(u+=1)>=t)return clearTimeout(r),a(),n()}},e.offsetDate=O,e.round=function(n,e){if(i.default.isNumber(n))return n.toFixed(e);return n},e.sanitize=function(n,e){if("function"!=typeof d.default.sanitize)return n;var l={ADD_ATTR:["ref","target"],USE_PROFILES:{html:!0}};e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.addAttr)&&e.sanitizeConfig.addAttr.length>0&&e.sanitizeConfig.addAttr.forEach((function(n){l.ADD_ATTR.push(n)}));e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.addTags)&&e.sanitizeConfig.addTags.length>0&&(l.ADD_TAGS=e.sanitizeConfig.addTags);e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.allowedTags)&&e.sanitizeConfig.allowedTags.length>0&&(l.ALLOWED_TAGS=e.sanitizeConfig.allowedTags);e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.allowedAttrs)&&e.sanitizeConfig.allowedAttrs.length>0&&(l.ALLOWED_ATTR=e.sanitizeConfig.allowedAttrs);e.sanitizeConfig&&e.sanitizeConfig.allowedUriRegex&&(l.ALLOWED_URI_REGEXP=e.sanitizeConfig.allowedUriRegex);e.sanitizeConfig&&Array.isArray(e.sanitizeConfig.addUriSafeAttr)&&e.sanitizeConfig.addUriSafeAttr.length>0&&(l.ADD_URI_SAFE_ATTR=e.sanitizeConfig.addUriSafeAttr);return d.default.sanitize(n,l)},e.setActionProperty=function(n,e,l,t,o,u){var r=e.property.value;switch(e.property.type){case"boolean":var a=i.default.get(n,r,!1).toString(),s=e.state.toString();a!==s&&i.default.set(n,r,"true"===s);break;case"string":var c={data:o,row:t,component:n,result:l},d=e.property.component?e[e.property.component]:e.text,p=i.default.get(n,r,""),f=u&&u.interpolate?u.interpolate(d,c):h.default.interpolate(d,c);f!==p&&i.default.set(n,r,f)}return n},e.shouldLoadZones=T,e.translateHTMLTemplate=function(n,e){if(!/<[^>]*>/.test(n))return e(n);var l=document.createElement("div");if(l.innerHTML=n,l.innerText&&l.children.length)return function n(e,l){var t=e.children.length&&(o=e.children,function(n){if(Array.isArray(n))return m(n)}(o)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(o)||function(n,e){if(n){if("string"==typeof n)return m(n,e);var l=Object.prototype.toString.call(n).slice(8,-1);return"Object"===l&&n.constructor&&(l=n.constructor.name),"Map"===l||"Set"===l?Array.from(n):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?m(n,e):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=t&&t.every((function(n){return 0===n.children.length&&N.some((function(e){return n.nodeName===e}))}));var o;!t||i?e.innerHTML=function n(e,l){if(!e.innerText)return e.innerHTML;var t=e.innerText.replace(h.default.templateSettings.interpolate,"").replace(/\s\s+/g," ").trim(),i=l(t);if(t!==i){var o=e.innerHTML.match(/]*>(.*?)<\/a>/g);if(o&&o.length){if(1===o.length&&o[0].length===e.innerHTML.length)return e.innerHTML.replace(t,i);var u=o.map((function(e){var t=document.createElement("a");return t.innerHTML=e,n(t,l)}));return"".concat(i," (").concat(u.join(", "),")")}return e.innerText.replace(t,i)}return e.innerHTML}(e,l):t.forEach((function(e){return n(e,l)}))}(l,e),l.innerHTML;return n},e.unescapeHTML=function(n){if("undefined"==typeof window||!("DOMParser"in window))return n;return(new window.DOMParser).parseFromString(n,"text/html").documentElement.textContent},e.unfold=R,e.uniqueKey=function(n,e){var l=e;for(;n.hasOwnProperty(l);)l=D(l);return l},e.uniqueName=function(n,e,l){(e=e||"{{fileName}}-{{guid}}").includes("{{guid}}")||(e="".concat(e,"-{{guid}}"));var t=n.split("."),o=t.slice(0,t.length-1).join("."),u=t.length>1?".".concat(i.default.last(t)):"";return o=o.substr(0,100),l=Object.assign(l||{},{fileName:o,guid:P()}),"".concat(h.default.interpolate(e,l)).concat(u).replace(/[^0-9a-zA-Z.\-_ ]/g,"-")},e.unmaskValue=function(n,e,l){if(!e||!n||n.length>e.length)return n;for(var t=n.split(""),o=0;o n.length)&&(e=n.length);for(var l=0,t=new Array(e);l =0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],t={browser:l[5]||l[3]||l[1]||"",version:l[4]||l[2]||"0"};return t.browser&&(n[t.browser]=!0,n.version=parseInt(t.version,10)),(n.chrome||n.opr||n.safari||n.edg||n.yabrowser)&&(n.isWebkit=!0),(n.rv||n.iemobile)&&(n.ie=!0),n.edg&&(n.edge=!0),n.opr&&(n.opera=!0),n}function F(n){var e,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n&&n.key&&"wizard"!==(null==n||null===(e=n._form)||void 0===e?void 0:e.display)?(l=n.isInputComponent||!0===n.input?"".concat(n.key).concat(l?".":"").concat(l):l,F(n.parent,l)):l}function j(n){if(n){var e=n.parent;return e&&(e.isInputComponent||e.input)?e:j(e)}}var V={number:"number",string:"string",boolean:"boolean",array:"array",object:"object",date:"date",any:"any"};e.componentValueTypes=V},"5Q/x":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("NnsO"),i=l("EWgV");e.default={form:i.default,builder:t.default}},"5T7X":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n ',n.header&&(l+='\n
\n"}},"5Tg+":function(n,e,l){"use strict";var t=l("tiKp");e.f=t},"5Tg0":function(n,e,l){(function(n){var t=l("Kz5y"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof n&&n&&!n.nodeType&&n,u=o&&o.exports===i?t.Buffer:void 0,r=u?u.allocUnsafe:void 0;n.exports=function(n,e){if(e)return n.slice();var l=n.length,t=r?r(l):new n.constructor(l);return n.copy(t),t}}).call(this,l("YuTi")(n))},"5U3O":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("TeQF"),l("07d7"),l("pDQq");var t=o(l("LvDl")),i=o(l("gpP3"));function o(n){return n&&n.__esModule?n:{default:n}}var u={sortAndFilterComponents:function(n){return t.default.filter(t.default.sortBy(n,"weight"),(function(n){return!n.ignore}))},unifyComponents:function(n,e){return n.key&&e.key?!n.skipMerge&&!e.skipMerge&&(n.key===e.key&&(t.default.each(n,(function(l,t){!n.overrideEditForm&&e.hasOwnProperty(t)||(e[t]=l)})),t.default.each(e,(function(l,t){!e.overrideEditForm&&n.hasOwnProperty(t)||(n[t]=l)})),n.components&&(e.components=u.sortAndFilterComponents(t.default.unionWith(n.components,e.components,u.unifyComponents))),!0)):t.default.isEqual(n,e)},logicVariablesTable:function(n){return{type:"htmlelement",tag:"div",content:'- \n '+(null==(e=n.header)?"":e)+"\n
\n "),l+="\n ",n.rows.forEach((function(t,i){l+='\n- \n '+(null==(e=t)?"":e)+"\n ",n.openRows[i]&&!n.readOnly&&(l+='\n
\n "})),l+="\n ",n.footer&&(l+='\n \n "),l+="\n\n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n\n "),l+='\n\n\n\n '+(null==(e=n.errors[i])?"":e)+"\n\nThe following variables are available in all scripts.
'+(n=n||"")+'
form The complete form JSON object submission The complete submission object. data The complete submission data object. row Contextual "row" data, used within DataGrid, EditGrid, and Container components component The current component JSON instance The current component instance. value The current value of the component. moment The moment.js library for date manipulation. _ An instance of Lodash. utils An instance of the FormioUtils object. util An alias for "utils".
'}},javaScriptValue:function(n,e,l,t,o,u){var r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",a=arguments.length>7?arguments[7]:void 0,s=[this.logicVariablesTable(r),{type:"panel",title:"JavaScript",collapsible:!0,collapsed:!1,style:{"margin-bottom":"10px"},key:"".concat(e,"-js"),customConditional:function(){return!i.default.noeval||i.default.protectedEval},components:[{type:"textarea",key:e,rows:5,editor:"ace",hideLabel:!0,as:"javascript",input:!0},{type:"htmlelement",tag:"div",content:"Enter custom javascript code.
".concat(o)}]},{type:"panel",title:"JSONLogic",collapsible:!0,collapsed:!0,key:"".concat(e,"-json"),components:[{type:"htmlelement",tag:"div",content:'Execute custom logic using JSONLogic.
Full Lodash support is provided using an "_" before each operation, such as
'+u},{type:"textarea",key:l,rows:5,editor:"ace",hideLabel:!0,as:"json",input:!0}]}];return a&&s.splice(2,1),{type:"panel",title:n,theme:"default",collapsible:!0,collapsed:!0,key:"".concat(e,"Panel"),weight:t,components:s}}},r=u;e.default=r},"5Uds":function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("07d7"),l("SuFq"),l("uL8W"),l("eoL8"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("ma9I"),l("ExoC"),l("wLYn"),l("NBAS");var i,o=(i=l("6P0p"))&&i.__esModule?i:{default:i};function u(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function r(n,e){for(var l=0;l{"_sum": {var: "data.a"}}
1&&(r=a(r,o(arguments[1]))),r<0&&(r=l+r);r>=0;r--)if(r in e&&e[r]===n)return r||0;return-1}:s},"5hvy":function(n,e,l){var t;n.exports=(t=l("Ib8C"),l("MlIO"),function(n){var e=t,l=e.lib,i=l.WordArray,o=l.Hasher,u=e.x64.Word,r=e.algo,a=[],s=[],c=[];!function(){for(var n=1,e=0,l=0;l<24;l++){a[n+5*e]=(l+1)*(l+2)/2%64;var t=(2*n+3*e)%5;n=e%5,e=t}for(n=0;n<5;n++)for(e=0;e<5;e++)s[n+5*e]=e+(2*n+3*e)%5*5;for(var i=1,o=0;o<24;o++){for(var r=0,d=0,p=0;p<7;p++){if(1&i){var h=(1< >>24)|4278255360&(o<<24|o>>>8),u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),(I=l[i]).high^=u,I.low^=o}for(var r=0;r<24;r++){for(var p=0;p<5;p++){for(var h=0,f=0,g=0;g<5;g++)h^=(I=l[p+5*g]).high,f^=I.low;var m=d[p];m.high=h,m.low=f}for(p=0;p<5;p++){var v=d[(p+4)%5],b=d[(p+1)%5],y=b.high,A=b.low;for(h=v.high^(y<<1|A>>>31),f=v.low^(A<<1|y>>>31),g=0;g<5;g++)(I=l[p+5*g]).high^=h,I.low^=f}for(var w=1;w<25;w++){var C=(I=l[w]).high,x=I.low,k=a[w];k<32?(h=C<
',"","",!0),{label:"Increase Characters Pool Size",description:"Set this to amount of characters that may be used in the password if there is a specific group of characters is used.\nE.g., if your validation checks if there is any numeric symbol in the password, then you should set it to 10 (there are 10 possible numbers).\n",mask:!1,spellcheck:!0,tableView:!1,delimiter:!1,requireDecimal:!1,inputFormat:"plain",key:"increaseCharactersPoolSize",type:"number",input:!0},{label:"Required",tooltip:"Check if this check is required to proceed",tableView:!1,key:"required",type:"checkbox",input:!0,defaultValue:!1}]},i.default.javaScriptValue("Is Valid","isValid","",1100,">>32-k,f=x< >>32-k):(h=x< >>64-k,f=C< >>64-k);var _=d[s[w]];_.high=h,_.low=f}var S=d[0],P=l[0];for(S.high=P.high,S.low=P.low,p=0;p<5;p++)for(g=0;g<5;g++){var I=l[w=p+5*g],O=d[w],T=d[(p+1)%5+5*g],M=d[(p+2)%5+5*g];I.high=O.high^~T.high&M.high,I.low=O.low^~T.low&M.low}I=l[0];var E=c[r];I.high^=E.high,I.low^=E.low}},_doFinalize:function(){var e=this._data,l=e.words,t=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;l[t>>>5]|=1<<24-t%32,l[(n.ceil((t+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*l.length,this._process();for(var u=this._state,r=this.cfg.outputLength/8,a=r/8,s=[],c=0;c>>24)|4278255360&(p<<24|p>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),s.push(h),s.push(p)}return new i.init(s,r)},clone:function(){for(var n=o.clone.call(this),e=n._state=this._state.slice(0),l=0;l<25;l++)e[l]=e[l].clone();return n}});e.SHA3=o._createHelper(p),e.HmacSHA3=o._createHmacHelper(p)}(Math),t.SHA3)},"5jIi":function(n,e,l){"use strict";var t=l("b5wT");n.exports=function(n){var e={},l=t.filter(n.nodes(),(function(e){return!n.children(e).length})),i=t.max(t.map(l,(function(e){return n.node(e).rank}))),o=t.map(t.range(i+1),(function(){return[]}));var u=t.sortBy(l,(function(e){return n.node(e).rank}));return t.forEach(u,(function l(i){if(t.has(e,i))return;e[i]=!0;var u=n.node(i);o[u.rank].push(i),t.forEach(n.successors(i),l)})),o}},"5mdu":function(n,e,l){"use strict";n.exports=function(n){try{return{error:!1,value:n()}}catch(e){return{error:!0,value:e}}}},"5s+n":function(n,e,l){"use strict";l("Xn6M"),l("FOUG"),l("zJiX"),l("NSnw"),l("8itv"),l("cUmr")},"5xtp":function(n,e,l){"use strict";var t=l("I+eb"),i=l("g6v/"),o=l("6x0u"),u=l("We1y"),r=l("ewvW"),a=l("m/L8");i&&t({target:"Object",proto:!0,forced:o},{__defineSetter__:function(n,e){a.f(r(this),n,{set:u(e),enumerable:!0,configurable:!0})}})},"6+QB":function(n,e,l){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(n,e){return 12===n&&(n=0),"pagi"===e?n:"tengahari"===e?n>=11?n:n+12:"petang"===e||"malam"===e?n+12:void 0},meridiem:function(n,e,l){return n<11?"pagi":n<15?"tengahari":n<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(l("wd/R"))},"60iU":function(n,e,l){"use strict";l.d(e,"a",(function(){return r}));var t,i=l("G5J1"),o=l("F/XL"),u=l("XlPw");t||(t={});var r=function(){function n(n,e,l){this.kind=n,this.value=e,this.error=l,this.hasValue="N"===n}return n.prototype.observe=function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}},n.prototype.do=function(n,e,l){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return l&&l()}},n.prototype.accept=function(n,e,l){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,l)},n.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(u.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},n.createNext=function(e){return void 0!==e?new n("N",e):n.undefinedValueNotification},n.createError=function(e){return new n("E",void 0,e)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n}()},"638a":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(l("yEXj")),i=o(l("LvDl"));function o(n){return n&&n.__esModule?n:{default:n}}var u=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{type:"select",input:!0,weight:350,label:"Shortcut",key:"shortcut",tooltip:"Shortcut for this component.",dataSrc:"custom",valueProperty:"value",customDefaultValue:function(){return""},template:"{{ item.label }}",data:{custom:function(n){return t.default.getAvailableShortcuts(i.default.get(n,"instance.options.editForm",{}),i.default.get(n,"instance.options.editComponent",{}))}}},{type:"select",input:!0,key:"inputType",label:"Input Type",tooltip:"This is the input type used for this checkbox.",dataSrc:"values",weight:410,data:{values:[{label:"Checkbox",value:"checkbox"},{label:"Radio",value:"radio"}]}},{type:"textfield",input:!0,key:"name",label:"Radio Key",tooltip:"The key used to trigger the radio button toggle.",weight:420,conditional:{json:{"===":[{var:"data.inputType"},"radio"]}}},{type:"textfield",input:!0,label:"Radio Value",key:"value",tooltip:"The value used with this radio button.",weight:430,conditional:{json:{"===":[{var:"data.inputType"},"radio"]}}}];e.default=u},"67WC":function(n,e,l){"use strict";var t,i,o,u=l("SxGu"),r=l("g6v/"),a=l("2oRo"),s=l("Fib7"),c=l("hh1v"),d=l("Gi26"),p=l("9d/t"),h=l("DVFp"),f=l("kRJp"),g=l("yy0I"),m=l("7dAM"),v=l("OpvP"),b=l("4WOD"),y=l("0rvr"),A=l("tiKp"),w=l("kOOl"),C=l("afO8"),x=C.enforce,k=C.get,_=a.Int8Array,S=_&&_.prototype,P=a.Uint8ClampedArray,I=P&&P.prototype,O=_&&b(_),T=S&&b(S),M=Object.prototype,E=a.TypeError,D=A("toStringTag"),R=w("TYPED_ARRAY_TAG"),L=u&&!!y&&"Opera"!==p(a.opera),N=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},j=function(n){var e=b(n);if(c(e)){var l=k(e);return l&&d(l,"TypedArrayConstructor")?l.TypedArrayConstructor:j(e)}},V=function(n){if(!c(n))return!1;var e=p(n);return d(B,e)||d(F,e)};for(t in B)(o=(i=a[t])&&i.prototype)?x(o).TypedArrayConstructor=i:L=!1;for(t in F)(o=(i=a[t])&&i.prototype)&&(x(o).TypedArrayConstructor=i);if((!L||!s(O)||O===Function.prototype)&&(O=function(){throw new E("Incorrect invocation")},L))for(t in B)a[t]&&y(a[t],O);if((!L||!T||T===M)&&(T=O.prototype,L))for(t in B)a[t]&&y(a[t].prototype,T);if(L&&b(I)!==T&&y(I,T),r&&!d(T,D))for(t in N=!0,m(T,D,{configurable:!0,get:function(){return c(this)?this[R]:void 0}}),B)a[t]&&f(a[t],R,t);n.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:N&&R,aTypedArray:function(n){if(V(n))return n;throw new E("Target is not a typed array")},aTypedArrayConstructor:function(n){if(s(n)&&(!y||v(O,n)))return n;throw new E(h(n)+" is not a typed array constructor")},exportTypedArrayMethod:function(n,e,l,t){if(r){if(l)for(var i in B){var o=a[i];if(o&&d(o.prototype,n))try{delete o.prototype[n]}catch(u){try{o.prototype[n]=e}catch(s){}}}T[n]&&!l||g(T,n,l?e:L&&S[n]||e,t)}},exportTypedArrayStaticMethod:function(n,e,l){var t,i;if(r){if(y){if(l)for(t in B)if((i=a[t])&&d(i,n))try{delete i[n]}catch(o){}if(O[n]&&!l)return;try{return g(O,n,l?e:L&&O[n]||e)}catch(o){}}for(t in B)!(i=a[t])||i[n]&&!l||g(i,n,e)}},getTypedArrayConstructor:j,isView:function(n){if(!c(n))return!1;var e=p(n);return"DataView"===e||d(B,e)||d(F,e)},isTypedArray:V,TypedArray:O,TypedArrayPrototype:T}},"67Y/":function(n,e,l){"use strict";l.d(e,"a",(function(){return o}));var t=l("mrSG"),i=l("FFOo");function o(n,e){return function(l){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return l.lift(new u(n,e))}}var u=function(){function n(n,e){this.project=n,this.thisArg=e}return n.prototype.call=function(n,e){return e.subscribe(new r(n,this.project,this.thisArg))},n}(),r=function(n){function e(e,l,t){var i=n.call(this,e)||this;return i.project=l,i.count=0,i.thisArg=t||i,i}return t.d(e,n),e.prototype._next=function(n){var e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(l){return void this.destination.error(l)}this.destination.next(e)},e}(i.a)},"6B0Y":function(n,e,l){!function(n){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},l={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(n){return"\u179b\u17d2\u1784\u17b6\u1785"===n},meridiem:function(n,e,l){return n<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(n){return n.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(n){return l[n]}))},postformat:function(n){return n.replace(/\d/g,(function(n){return e[n]}))},week:{dow:1,doy:4}})}(l("wd/R"))},"6Ekc":function(n,e,l){"use strict";var t=l("b5wT");n.exports={longestPath:function(n){var e={};t.forEach(n.sources(),(function l(i){var o=n.node(i);if(t.has(e,i))return o.rank;e[i]=!0;var u=t.min(t.map(n.outEdges(i),(function(e){return l(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))},slack:function(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}}},"6HwT":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n ',n.values.forEach((function(t){for(var i in l+='\n\n"}},"6JNq":function(n,e,l){"use strict";var t=l("Gi26"),i=l("Vu81"),o=l("Bs8V"),u=l("m/L8");n.exports=function(n,e,l){for(var r=i(e),a=u.f,s=o.f,c=0;c\n \n\n "})),l+="\n0&&"getComponent"in n?s=n.getComponent(r,e,l):e&&e(n,i),!1})),s||(s=c),s):s}},{key:"getComponentById",value:function(n,e){var l=null;return this.everyComponent((function(t,i){if(t.id===n)return l=t,e&&e(t,i),!1})),l}},{key:"calculateComponentPath",value:function(n){var e="";if(n.component.key){for(var l=this;l&&!l.allowData&&l.parent;)l=l.parent;var t=n.row?"[".concat(Number.parseInt(n.row),"]"):"";return e=l.path?"".concat(l.path).concat(t,"."):"",e+=n._parentPath&&n.component.shouldIncludeSubFormPath?n._parentPath:"",e+=n.component.key}}},{key:"createComponent",value:function(n,e,l,t,o){var r;if(n){e=e||this.options,l=l||this.data,e.parent=this,e.parentVisible=this.visible,e.root=(null===(r=e)||void 0===r?void 0:r.root)||this.root||this,e.localRoot=this.localRoot,e.skipInit=!0,"pdf"===e.display&&this.builderMode||(n.id=(0,a.getRandomComponentId)()),!this.isInputComponent&&this.component.shouldIncludeSubFormPath&&(n.shouldIncludeSubFormPath=!0);var s=u.default.create(n,e,l,!0),c=this.calculateComponentPath(s);if(c&&(s.path=c),s.init(),n.internal)return s;if(t){var d=i.default.findIndex(this.components,{id:t.id});-1!==d?this.components.splice(d,0,s):this.components.push(s)}else if(o){var p=i.default.findIndex(this.components,{id:o.id});-1!==p?this.components[p]=s:this.components.push(s)}else this.components.push(s);return s}}},{key:"getContainer",value:function(){return this.element}},{key:"componentComponents",get:function(){return this.component.components||[]}},{key:"nestedKey",get:function(){return"nested-".concat(this.key)}},{key:"templateName",get:function(){return"container"}},{key:"init",value:function(){return this.components=this.components||[],this.addComponents(),v(C(c.prototype),"init",this).call(this)}},{key:"addComponents",value:function(n,e){var l=this;n=n||this.data,(e=e||this.options).components?this.components=e.components:(this.hook("addComponents",this.componentComponents,this)||[]).forEach((function(e){return l.addComponent(e,n)}))}},{key:"addComponent",value:function(n,e,l,t){e=e||this.data,this.options.parentPath&&(n.shouldIncludeSubFormPath=!0),n=this.hook("addComponent",n,e,l,t);var i=this.createComponent(n,this.options,e,l||null);return i}},{key:"beforeFocus",value:function(){this.parent&&"beforeFocus"in this.parent&&this.parent.beforeFocus(this)}},{key:"render",value:function(n){return v(C(c.prototype),"render",this).call(this,n||this.renderTemplate(this.templateName,{children:this.visible?this.renderComponents():"",nestedKey:this.nestedKey,collapsed:!this.options.pdf&&this.collapsed}))}},{key:"renderComponents",value:function(n){var e=(n=n||this.getComponents()).map((function(n){return n.render()}));return this.renderTemplate("components",{children:e,components:n})}},{key:"attach",value:function(n){var e=this,l=v(C(c.prototype),"attach",this).call(this,n);this.loadRefs(n,g({header:"single",collapsed:this.collapsed},this.nestedKey,"single"));var t=r.default.resolve();return this.refs[this.nestedKey]&&(t=this.attachComponents(this.refs[this.nestedKey])),this.visible||this.attachComponentsLogic(),this.component.collapsible&&this.refs.header&&(this.addEventListener(this.refs.header,"click",(function(){e.collapsed=!e.collapsed})),this.addEventListener(this.refs.header,"keydown",(function(n){13!==n.keyCode&&32!==n.keyCode||(n.preventDefault(),e.collapsed=!e.collapsed)}))),r.default.all([l,t])}},{key:"attachComponentsLogic",value:function(n){n=n||this.components,i.default.each(n,(function(n){n.attachLogic(),i.default.isFunction(n.attachComponentsLogic)&&n.attachComponentsLogic()}))}},{key:"attachComponents",value:function(n,e,l){if(e=e||this.components,l=l||this.component.components,!(n=this.hook("attachComponents",n,e,l,this)))return new r.default((function(){}));var t=0,i=[];return Array.prototype.slice.call(n.children).forEach((function(n){!n.getAttribute("data-noattach")&&e[t]&&(i.push(e[t].attach(n)),t++)})),r.default.all(i)}},{key:"removeComponent",value:function(n,e){e=e||this.components,n.destroy(),i.default.remove(e,{id:n.id})}},{key:"removeComponentByKey",value:function(n,e){var l=this;if(!this.getComponent(n,(function(n,t){l.removeComponent(n,t),e&&e(n,t)})))return e&&e(null),null}},{key:"removeComponentById",value:function(n,e){var l=this;if(!this.getComponentById(n,(function(n,t){l.removeComponent(n,t),e&&e(n,t)})))return e&&e(null),null}},{key:"updateValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.components.reduce((function(n,l){return l.updateValue(null,e)||n}),v(C(c.prototype),"updateValue",this).call(this,n,e))}},{key:"shouldSkipValidation",value:function(n,e,l){return!this.component.input||v(C(c.prototype),"shouldSkipValidation",this).call(this,n,e,l)}},{key:"checkData",value:function(n,e,l,t){if(this.builderMode)return!0;n=n||this.rootValue,e=e||{},l=l||this.data;var o=(t=t&&i.default.isArray(t)?t:this.getComponents()).reduce((function(t,i){return i.checkData(n,d({},e),l)&&t}),v(C(c.prototype),"checkData",this).call(this,n,d({},e),l));return this.checkModal(o,this.isDirty),o}},{key:"checkConditions",value:function(n,e,l){var t=v(C(c.prototype),"checkConditions",this).call(this,n,e,l);return this.getComponents().forEach((function(l){return l.checkConditions(n,e,l.data)})),t}},{key:"clearOnHide",value:function(n){v(C(c.prototype),"clearOnHide",this).call(this,n),this.component.clearOnHide&&(!this.allowData||this.hasValue()||this.options.server&&!this.visible||(this.dataValue=this.defaultValue),this.hasValue()&&this.restoreComponentsContext()),this.getComponents().forEach((function(e){return e.clearOnHide(n)}))}},{key:"restoreComponentsContext",value:function(){var n=this;this.getComponents().forEach((function(e){return e.data=n.dataValue}))}},{key:"beforePage",value:function(n){return r.default.all(this.getComponents().map((function(e){return e.beforePage(n)})))}},{key:"beforeSubmit",value:function(){return r.default.all(this.getComponents().map((function(n){return n.beforeSubmit()})))}},{key:"calculateValue",value:function(n,e,l){return!!this.conditionallyVisible()&&this.getComponents().reduce((function(t,i){return i.calculateValue(n,e,l)||t}),v(C(c.prototype),"calculateValue",this).call(this,n,e,l))}},{key:"isLastPage",value:function(){return this.pages.length-1===this.page}},{key:"isValid",value:function(n,e){return this.getComponents().reduce((function(l,t){return t.isValid(n,e)&&l}),v(C(c.prototype),"isValid",this).call(this,n,e))}},{key:"checkChildComponentsValidity",value:function(n,e,l,t,i){return this.getComponents().reduce((function(i,o){return o.checkValidity(n,e,l,t)&&i}),i)}},{key:"checkValidity",value:function(n,e,l,t){if(!this.checkCondition(l,n))return this.setCustomValidity(""),!0;var i=this.checkChildComponentsValidity(n,e,l,t,v(C(c.prototype),"checkValidity",this).call(this,n,e,l,t));return this.checkModal(i,e),i}},{key:"checkAsyncValidity",value:function(n,e,l,t){var i=this;return this.ready.then((function(){var o=[v(C(c.prototype),"checkAsyncValidity",i).call(i,n,e,l,t)];return i.eachComponent((function(i){return o.push(i.checkAsyncValidity(n,e,l,t))})),r.default.all(o).then((function(n){return n.reduce((function(n,e){return n&&e}),!0)}))}))}},{key:"setPristine",value:function(n){v(C(c.prototype),"setPristine",this).call(this,n),this.getComponents().forEach((function(e){return e.setPristine(n)}))}},{key:"isPristine",get:function(){return this.pristine&&this.getComponents().every((function(n){return n.isPristine}))}},{key:"isDirty",get:function(){return this.dirty&&this.getComponents().every((function(n){return n.isDirty}))}},{key:"detach",value:function(){this.components.forEach((function(n){n.detach()})),v(C(c.prototype),"detach",this).call(this)}},{key:"clear",value:function(){this.components.forEach((function(n){n.clear()})),v(C(c.prototype),"clear",this).call(this)}},{key:"destroy",value:function(){this.destroyComponents(),v(C(c.prototype),"destroy",this).call(this)}},{key:"destroyComponents",value:function(){var n=this;this.getComponents().slice().forEach((function(e){return n.removeComponent(e,n.components)})),this.components=[]}},{key:"errors",get:function(){var n=this.error?[this.error]:[];return this.getComponents().reduce((function(n,e){return n.concat(e.errors||[])}),n).filter((function(n){return"hidden"!==n.level}))}},{key:"getValue",value:function(){return this.data}},{key:"resetValue",value:function(){v(C(c.prototype),"resetValue",this).call(this),this.getComponents().forEach((function(n){return n.resetValue()})),this.setPristine(!0)}},{key:"dataReady",get:function(){return r.default.all(this.getComponents().map((function(n){return n.dataReady})))}},{key:"setNestedValue",value:function(n,e){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n._data=this.componentContext(n),"button"!==n.type&&("components"===n.type?n.tree&&n.hasValue(e)?n.setValue(i.default.get(e,n.key),l):n.setValue(e,l):e&&n.hasValue(e)?n.setValue(i.default.get(e,n.key),l):this.rootPristine&&!n.visible||!n.shouldAddDefaultValue?void 0:(l.noValidate=!l.dirty,l.resetValue=!0,n.setValue(n.defaultValue,l)))}},{key:"setValue",value:function(n){var e=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!n&&(n.submitAsDraft&&!n.submit&&(l.noValidate=!0),this.getComponents().reduce((function(t,i){return e.setNestedValue(i,n,l,t)||t}),!1))}},{key:"lazyLoad",get:function(){var n;return null!==(n=this.component.lazyLoad)&&void 0!==n&&n}}])&&p(e.prototype,l),t&&p(e,t),Object.defineProperty(e,"prototype",{writable:!1}),c}(o.default);e.default=x},"6R/c":function(n,e,l){"use strict";var t=l("67WC"),i=l("TWQb").indexOf,o=t.aTypedArray;(0,t.exportTypedArrayMethod)("indexOf",(function(n){return i(o(this),n,arguments.length>1?arguments[1]:void 0)}))},"6VoE":function(n,e,l){"use strict";var t=l("tiKp"),i=l("P4y1"),o=t("iterator"),u=Array.prototype;n.exports=function(n){return void 0!==n&&(i.Array===n||u[o]===n)}},"6ahw":function(n,e,l){"use strict";l.d(e,"a",(function(){return o}));var t=l("iLxQ"),i=l("DKTb"),o={closed:!0,next:function(n){},error:function(n){if(t.a.useDeprecatedSynchronousErrorHandling)throw n;Object(i.a)(n)},complete:function(){}}},"6blF":function(n,e,l){"use strict";l.d(e,"a",(function(){return c}));var t=l("1fDf"),i=l("FFOo"),o=l("L/V9"),u=l("6ahw");var r=l("xTla"),a=l("y3By"),s=l("iLxQ"),c=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(e){var l=new n;return l.source=this,l.operator=e,l},n.prototype.subscribe=function(n,e,l){var t=this.operator,r=function(n,e,l){if(n){if(n instanceof i.a)return n;if(n[o.a])return n[o.a]()}return n||e||l?new i.a(n,e,l):new i.a(u.a)}(n,e,l);if(t?r.add(t.call(r,this.source)):r.add(this.source||s.a.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.a.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){s.a.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=e),Object(t.a)(n)?n.error(e):console.warn(e)}},n.prototype.forEach=function(n,e){var l=this;return new(e=d(e))((function(e,t){var i;i=l.subscribe((function(e){try{n(e)}catch(l){t(l),i&&i.unsubscribe()}}),t,e)}))},n.prototype._subscribe=function(n){var e=this.source;return e&&e.subscribe(n)},n.prototype[r.a]=function(){return this},n.prototype.pipe=function(){for(var n=[],e=0;e \n \n\n\n \n
\n\n\n\n"}},"6sUC":function(n,e,l){"use strict";var t=l("hh1v"),i=Math.floor;n.exports=Number.isInteger||function(n){return!t(n)&&isFinite(n)&&i(n)===n}},"6sVZ":function(n,e){var l=Object.prototype;n.exports=function(n){var e=n&&n.constructor;return n===("function"==typeof e&&e.prototype||l)}},"6x0u":function(n,e,l){"use strict";var t=l("xDBR"),i=l("2oRo"),o=l("0Dky"),u=l("USzg");n.exports=t||!o((function(){if(!(u&&u<535)){var n=Math.random();__defineSetter__.call(null,n,(function(){})),delete i[n]}}))},"6xjF":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";return l+='\n ',n.group.componentOrder.length||n.subgroups.length?(l+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){l+='\n \n ',n.group.components[t].icon&&(l+='\n \n '),l+="\n "+(null==(e=n.t(n.group.components[t].title,{_userInput:!0}))?"":e)+"\n \n "})),l+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):l+="\n\n"+(null==(e=n.t("No Matches Found"))?"":e)+"\n ",l+="\n\n '+(null==(e=n.html)?"":e)+"\n\n"}},"6yRa":function(n,e,l){"use strict";var t=l("OJSY");n.exports=function(n,e){e=e||{};var l=t.boolean(e.allowUpdate,!0);return function(e){if(e=e||window.event,n.target=e.target||e.srcElement||e.originalTarget,n.element=this,n.type=e.type,l(e)){if(e.targetTouches)n.x=e.targetTouches[0].clientX,n.y=e.targetTouches[0].clientY,n.pageX=e.targetTouches[0].pageX,n.pageY=e.targetTouches[0].pageY,n.screenX=e.targetTouches[0].screenX,n.screenY=e.targetTouches[0].screenY;else{if(null===e.pageX&&null!==e.clientX){var t=e.target&&e.target.ownerDocument||document,i=t.documentElement,o=t.body;n.pageX=e.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),n.pageY=e.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)}else n.pageX=e.pageX,n.pageY=e.pageY;n.x=e.clientX,n.y=e.clientY,n.screenX=e.screenX,n.screenY=e.screenY}n.clientX=n.x,n.clientY=n.y}}}},"7+zs":function(n,e,l){"use strict";var t=l("Gi26"),i=l("yy0I"),o=l("UesL"),u=l("tiKp")("toPrimitive"),r=Date.prototype;t(r,u)||i(r,u,o)},7104:function(n,e){var l=Object.prototype.toString;function t(n){return"function"==typeof n.constructor?n.constructor.name:null}n.exports=function(n){if(void 0===n)return"undefined";if(null===n)return"null";var e=typeof n;if("boolean"===e)return"boolean";if("string"===e)return"string";if("number"===e)return"number";if("symbol"===e)return"symbol";if("function"===e)return function(n,e){return"GeneratorFunction"===t(n)}(n)?"generatorfunction":"function";if(function(n){return Array.isArray?Array.isArray(n):n instanceof Array}(n))return"array";if(function(n){if(n.constructor&&"function"==typeof n.constructor.isBuffer)return n.constructor.isBuffer(n);return!1}(n))return"buffer";if(function(n){try{if("number"==typeof n.length&&"function"==typeof n.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(n))return"arguments";if(function(n){return n instanceof Date||"function"==typeof n.toDateString&&"function"==typeof n.getDate&&"function"==typeof n.setDate}(n))return"date";if(function(n){return n instanceof Error||"string"==typeof n.message&&n.constructor&&"number"==typeof n.constructor.stackTraceLimit}(n))return"error";if(function(n){return n instanceof RegExp||"string"==typeof n.flags&&"boolean"==typeof n.ignoreCase&&"boolean"==typeof n.multiline&&"boolean"==typeof n.global}(n))return"regexp";switch(t(n)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(n){return"function"==typeof n.throw&&"function"==typeof n.return&&"function"==typeof n.next}(n))return"generator";switch(e=l.call(n)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}},"711d":function(n,e){n.exports=function(n){return function(e){return null==e?void 0:e[n]}}},"72Ej":function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("07d7"),l("SuFq"),l("uL8W"),l("eoL8"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("ExoC"),l("wLYn"),l("NBAS");var i=u(l("pxaw")),o=u(l("LvDl"));function u(n){return n&&n.__esModule?n:{default:n}}function r(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function a(n,e){for(var l=0;ll||o.default.isEqual(e,l))}}])&&a(e.prototype,l),t&&a(e,t),Object.defineProperty(e,"prototype",{writable:!1}),u}(i.default);e.default=h},"77Zs":function(n,e,l){var t=l("Xi7e");n.exports=function(){this.__data__=new t,this.size=0}},"79+i":function(n,e){e.defaults={},e.set=function(n,l,t){var i=t||{},o=e.defaults,u=i.expires||o.expires,r=i.domain||o.domain,a=void 0!==i.path?i.path:void 0!==o.path?o.path:"/",s=void 0!==i.secure?i.secure:o.secure,c=void 0!==i.httponly?i.httponly:o.httponly,d=void 0!==i.samesite?i.samesite:o.samesite,p=u?new Date("number"==typeof u?(new Date).getTime()+864e5*u:u):0;document.cookie=n.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+l.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(p&&p.getTime()>=0?";expires="+p.toUTCString():"")+(r?";domain="+r:"")+(a?";path="+a:"")+(s?";secure":"")+(c?";httponly":"")+(d?";samesite="+d:"")},e.get=function(n){for(var e=document.cookie.split(";");e.length;){var l=e.pop(),t=l.indexOf("=");if(t=t<0?l.length:t,decodeURIComponent(l.slice(0,t).replace(/^\s+/,""))===n)return decodeURIComponent(l.slice(t+1))}return null},e.erase=function(n,l){e.set(n,"",{expires:-1,domain:l&&l.domain,path:l&&l.path,secure:0,httponly:0})},e.all=function(){for(var n={},e=document.cookie.split(";");e.length;){var l=e.pop(),t=l.indexOf("=");t=t<0?l.length:t,n[decodeURIComponent(l.slice(0,t).replace(/^\s+/,""))]=decodeURIComponent(l.slice(t+1))}return n}},"79tK":function(n,e,l){"use strict";l("eoL8"),l("tkto"),l("TeQF"),l("5DmW"),l("27RR"),l("HRxU"),l("J30X"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),l("pjDv"),l("+2oP"),l("sMBO"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("wLYn"),l("QWBl"),l("07d7"),l("FZtP"),l("ma9I"),l("T63A"),l("rB9j"),l("UxlC"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV");var t,i=(t=l("LvDl"))&&t.__esModule?t:{default:t},o=l("5P0i");function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var l=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=l){var t,i,o,u,r=[],a=!0,s=!1;try{if(o=(l=l.call(n)).next,0===e){if(Object(l)!==l)return;a=!1}else for(;!(a=(t=o.call(l)).done)&&(r.push(t.value),r.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=l.return&&(u=l.return(),Object(u)!==u))return}finally{if(s)throw i}}return r}}(n,e)||s(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n){return function(n){if(Array.isArray(n))return c(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||s(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(n,e){if(n){if("string"==typeof n)return c(n,e);var l=Object.prototype.toString.call(n).slice(8,-1);return"Object"===l&&n.constructor&&(l=n.constructor.name),"Map"===l||"Set"===l?Array.from(n):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?c(n,e):void 0}}function c(n,e){(null==e||e>n.length)&&(e=n.length);for(var l=0,t=new Array(e);l 0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=i.default.isArray(n)?n:[n];var t=this.createMessagesList("error",n);return this.showAlert("error",t,l),e&&this.parentComponent.emit("error",n),n}},{key:"showMessage",value:function(n,e){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=n;t instanceof HTMLElement?t.setAttribute("ref","messageRef"):t=this.parentComponent.ce("p",{ref:"messageRef"}),this.showAlert(e,t,l)}},{key:"createMessagesList",value:function(n){switch(n){case"error":for(var e=arguments.length,l=new Array(e>1?e-1:0),t=1;t 2&&void 0!==arguments[2]?arguments[2]:{},t=l.customClasses,i=l.customEvents;this.setAlert(n,e,{customClasses:t}),this.alert&&(this.attach({customEvents:i}),this.parentComponent.prependTo(this.alert,this.container))}},{key:"setAlert",value:function(n,e){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=this.alertTypes[n];if(this.alert&&this.clear(),e){var i=l.id,o=void 0===i?"".concat(n,"-list-").concat(this.parentComponent.id):i,u=l.customClasses,r=void 0===u?"alert alert-".concat(t):u;this.alert=this.parentComponent.ce("div",{id:o,class:r}),e instanceof HTMLElement?this.parentComponent.appendTo(e,this.alert):this.parentComponent.setContent(this.alert,e)}}},{key:"attach",value:function(n){var e,l,t,i=this,o=n.customEvents,u=void 0===o?{}:o;this.eventListenersKeys=[],this.loadRefs(this.alert,this.refsNames);var s=(null===(e=u.click)||void 0===e?void 0:e.listeners)||[],c=(null===(l=u.keypress)||void 0===l?void 0:l.listeners)||[];u=p(p({},u),{},{click:[].concat(a(s),[function(n){var e=n.currentTarget.dataset.componentKey;i.focusOnComponent(e)}]),keypress:[].concat(a(c),[function(n){var e=n.currentTarget.dataset.componentKey;i.focusOnComponent(e)}])}),null!==(t=this.refs.messageRef)&&void 0!==t&&t.length&&this.refs.messageRef.forEach((function(n){Object.entries(u).forEach((function(e){var l=r(e,2),t=l[0];l[1].forEach((function(e){return i.parentComponent.addEventListener(n,t,e)})),i.eventListenersKeys.push(t)}))}))}},{key:"clear",value:function(){var n=this;try{var e;null!==(e=this.refs.messageRef)&&void 0!==e&&e.length&&this.refs.messageRef.forEach((function(e){n.eventListenersKeys.forEach((function(l){return n.parentComponent.removeEventListener(e,l)}))})),this.refs={},this.parentComponent.removeChildFrom(this.alert,this.container),this.alert=null}catch(l){}}},{key:"focusOnComponent",value:function(n){if(n){var e,l=this.parentComponent._parentPath?n.replace(this.parentComponent._parentPath,""):n,t=null===(e=this.parentComponent.root)||void 0===e?void 0:e.getComponent(l,null,n);t&&i.default.isFunction(t.focus)&&t.focus()}}},{key:"createMessage",value:function(n,e,l,t,i){switch(n){case"error":return this.createErrorMessage(e,l,t,i)}}},{key:"createErrorMessage",value:function(n,e,l,t){var u,r,a={style:"cursor: pointer",ref:"messageRef",tabIndex:0,"aria-label":"".concat(e,". Click to navigate to the field with following error.")},s=this.parentComponent.ce("li",a);this.parentComponent.setContent(s,e);var c=!i.default.isUndefined(l)&&(null==t||null===(u=t.messages)||void 0===u?void 0:u[l]),d=(null==c?void 0:c.path)||(null==t||null===(r=t.component)||void 0===r?void 0:r.key);if(d){var p=(0,o.getStringFromComponentPath)(d);s.dataset.componentKey=p}this.parentComponent.appendTo(s,n)}},{key:"appendErrorToList",value:function(n,e){var l,t=this;if(null!=n&&null!==(l=n.messages)&&void 0!==l&&l.length)n.messages.forEach((function(l,i){var o=l.message;t.createMessage("error",e,o,i,n)}));else if(n){var o=i.default.isObject(n)?n.message||"":n;this.createMessage("error",e,o)}}}])&&f(e.prototype,l),t&&f(e,t),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.default=m},"7Bbv":function(n,e,l){"use strict";l("eoL8"),l("J30X"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),l("+2oP"),l("sMBO"),l("pjDv"),l("rB9j"),Object.defineProperty(e,"__esModule",{value:!0}),e.AddressProvider=void 0,l("oVuX"),l("2B1R"),l("ma9I"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("07d7"),l("qePV");var t,i=(t=l("LvDl"))&&t.__esModule?t:{default:t},o=l("1eKU");function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var l=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=l){var t,i,o,u,r=[],a=!0,s=!1;try{if(o=(l=l.call(n)).next,0===e){if(Object(l)!==l)return;a=!1}else for(;!(a=(t=o.call(l)).done)&&(r.push(t.value),r.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{if(!a&&null!=l.return&&(u=l.return(),Object(u)!==u))return}finally{if(s)throw i}}return r}}(n,e)||function(n,e){if(!n)return;if("string"==typeof n)return a(n,e);var l=Object.prototype.toString.call(n).slice(8,-1);"Object"===l&&n.constructor&&(l=n.constructor.name);if("Map"===l||"Set"===l)return Array.from(n);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return a(n,e)}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var l=0,t=new Array(e);l 0&&void 0!==arguments[0]?arguments[0]:{};s(this,n),this.beforeMergeOptions(e),this.options=i.default.merge({},this.defaultOptions,e)}var e,l,t;return e=n,t=[{key:"name",get:function(){return"address"}},{key:"displayName",get:function(){return"Address"}}],(l=[{key:"beforeMergeOptions",value:function(){}},{key:"defaultOptions",get:function(){return{}}},{key:"queryProperty",get:function(){return"query"}},{key:"responseProperty",get:function(){return null}},{key:"displayValueProperty",get:function(){return null}},{key:"serialize",value:function(n){return i.default.toPairs(n).map((function(n){var e=r(n,2),l=e[0],t=e[1];return"".concat(encodeURIComponent(l),"=").concat(encodeURIComponent(t))})).join("&")}},{key:"getRequestOptions",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.default.merge({},this.options,n)}},{key:"getRequestUrl",value:function(){throw arguments.length>0&&void 0!==arguments[0]&&arguments[0],new Error("Method AddressProvider#getRequestUrl(options) is abstract.")}},{key:"makeRequest",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.GlobalFormio.makeStaticRequest(this.getRequestUrl(n),"GET",null,{noToken:!0})}},{key:"search",value:function(n){var e=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.getRequestOptions(l),o=t.params=t.params||{};return o[this.queryProperty]=n,this.makeRequest(t).then((function(n){return e.responseProperty?i.default.get(n,e.responseProperty,[]):n}))}},{key:"getDisplayValue",value:function(n){return this.displayValueProperty?i.default.get(n,this.displayValueProperty,""):String(n)}}])&&c(e.prototype,l),t&&c(e,t),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.AddressProvider=d},"7Bij":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,i=(t=l("Nq0N"))&&t.__esModule?t:{default:t};var o={lng:"en",nsSeparator:"::",keySeparator:".|.",pluralSeparator:"._.",contextSeparator:"._.",resources:{en:{translation:(0,l("5P0i").fastCloneDeep)(i.default)}}};e.default=o},"7BjC":function(n,e,l){!function(n){"use strict";function e(n,e,l,t){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[n+"sekundi",n+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[n+" minuti",n+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[n+" tunni",n+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[n+" kuu",n+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[n+" aasta",n+" aastat"]};return e?i[l][2]?i[l][2]:i[l][1]:t?i[l][0]:i[l][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(l("wd/R"))},"7C5Q":function(n,e,l){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(l("wd/R"))},"7GkX":function(n,e,l){var t=l("b80T"),i=l("A90E"),o=l("MMmD");n.exports=function(n){return o(n)?t(n):i(n)}},"7Ix3":function(n,e){n.exports=function(n){var e=[];if(null!=n)for(var l in Object(n))e.push(l);return e}},"7RkN":function(n,e,l){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return n.options.vpat&&(l+='\n \n'),l+="\n",n.self.imageUpload?(l+="\n \n ",n.files.forEach((function(t){l+='\n\n"):(l+="\n ",n.options.vpat&&(l+="\n\n \n\n "})),l+="\n\n ',n.disabled||(l+='\n \n '),l+="\n \n
"+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"\n "),l+='\n\n
\n"),l+="\n",n.disabled||!n.component.multiple&&n.files.length||(l+="\n ",n.self.useWebViewCamera?l+='\n \n ",n.files.forEach((function(t){l+='\n- \n
\n "})),l+="\n\n ',n.disabled||(l+='\n\n\n '),l+='\n\n ',n.component.uploadOnly?l+="\n "+(null==(e=t.originalName||t.name)?"":e)+"\n ":l+='\n \n '+(null==(e=n.t("Press to open "))?"":e)+""+(null==(e=t.originalName||t.name)?"":e)+"\n \n ",l+='\n\n'+(null==(e=n.fileSize(t.size))?"":e)+"\n ",n.self.hasTypes&&!n.disabled&&(l+='\n\n \n\n "),l+="\n ",n.self.hasTypes&&n.disabled&&(l+='\n'+(null==(e=t.fileType)?"":e)+"\n "),l+="\n\n \n \n\n ":n.self.cameraMode?l+='\n\n \n\n \n \n ":(l+='\n\n '+(null==(e=n.t("Drop files to attach,"))?"":e)+"\n ",n.self.imageUpload&&n.component.webcam&&(l+='\n '+(null==(e=n.t("use camera"))?"":e)+"\n "),l+="\n "+(null==(e=n.t("or"))?"":e)+'\n \n '+(null==(e=n.t("browse"))?"":e)+'\n \n '+(null==(e=n.t("Browse to attach file for "+n.component.label+". "+(n.component.description?n.component.description+". ":"")+(n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")))?"":e)+'\n \n \n\n '),l+="\n"),l+="\n",n.statuses.forEach((function(t){l+='\n\n \n\n\n\n"})),l+="\n",n.component.storage&&!n.support.hasWarning||(l+='\n\n\n'+(null==(e=t.originalName)?"":e)+'\n \n '+(null==(e=n.t("Remove button. Press to remove "+t.originalName||!1))?"":e)+'\n '+(null==(e=t.message?t.message.replace(";","."):"")?"":e)+'\n \n\n'+(null==(e=n.fileSize(t.size))?"":e)+'\n\n\n\n ',"progress"===t.status?l+='\n\n\n\n ":"error"===t.status?l+='\n \n'+(null==(e=n.t(t.message))?"":e)+"\n ":l+='\n'+(null==(e=n.t(t.message))?"":e)+"\n ",l+="\n\n ',n.component.storage||(l+="\n\n"),l+="\n"}},"7T/+":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"
\n "),l+="\n ",n.support.filereader||(l+="\n"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"
\n "),l+="\n ",n.support.formdata||(l+="\n"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"
\n "),l+="\n ",n.support.progress||(l+="\n"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"
\n "),l+="\n11?l?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":l?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(l("wd/R"))},"7ck7":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"multiple",ignore:!0}]},"7dAM":function(n,e,l){"use strict";var t=l("E9LY"),i=l("m/L8");n.exports=function(n,e,l){return l.get&&t(l.get,e,{getter:!0}),l.set&&t(l.set,e,{setter:!0}),i.f(n,e,l)}},"7eSC":function(n,e,l){"use strict";l("eoL8"),l("ExoC"),l("NBAS"),l("SuFq"),l("uL8W"),l("XUE8"),l("5DmW"),l("tkto"),l("27RR"),l("HRxU"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("wLYn"),l("yXV3"),l("rB9j"),l("zKZe"),l("R5XZ"),l("SYor"),l("ma9I"),l("J30X"),l("QWBl"),l("07d7"),l("FZtP"),l("TeQF"),l("4l63"),l("yq1k"),l("JTJg"),l("2B1R"),l("sMBO"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV");var t=g(l("LvDl")),i=g(l("wd/R")),o=g(l("hpp3")),u=g(l("0iw5")),r=g(l("XzT5")),a=g(l("7Bij")),s=l("1eKU"),c=g(l("CFBA")),d=g(l("muGi")),p=g(l("ri5y")),h=l("5P0i"),f=l("bjCn");function g(n){return n&&n.__esModule?n:{default:n}}function m(n){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function v(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.push.apply(l,t)}return l}function b(n){for(var e=1;e 2&&void 0!==arguments[2]&&arguments[2],i=t.default.assign((0,h.fastCloneDeep)(a.default.resources.en.translation),e);this.i18next.addResourceBundle(n,"translation",i,!0,!0),l&&(this.language=n)}},{key:"localize",value:function(){var n=this;return this.i18next.initialized?c.default.resolve(this.i18next):(this.i18next.initialized=!0,new c.default((function(e,l){try{n.i18next.init(b(b({},n.options.i18n),{compatibilityJSON:"v3"}),(function(t){if(n.options.language=n.i18next.language.split(";")[0],t)return l(t);e(n.i18next)}))}catch(t){return l(t)}})))}},{key:"keyboardCatchableElement",value:function(n){return"TEXTAREA"!==n.nodeName&&("INPUT"!==n.nodeName||-1===["text","email","password"].indexOf(n.type))}},{key:"addShortcut",value:function(n,e){if(e&&/^([A-Z]|Enter|Esc)$/i.test(e))if("Enter"===(e=t.default.capitalize(e))||"Esc"===e){if("BUTTON"!==n.tagName)return;this.shortcuts.push({shortcut:e,element:n})}else this.shortcuts.push({ctrl:!0,shortcut:e,element:n})}},{key:"removeShortcut",value:function(n,e){e&&/^([A-Z]|Enter|Esc)$/i.test(e)&&t.default.remove(this.shortcuts,{shortcut:e,element:n})}},{key:"src",get:function(){return this._src},set:function(n){this.setSrc(n)}},{key:"loadSubmission",value:function(){var n=this;return this.loadingSubmission=!0,this.formio.submissionId?this.onSubmission=this.formio.loadSubmission().then((function(e){return n.setSubmission(e)}),(function(e){return n.submissionReadyReject(e)})).catch((function(e){return n.submissionReadyReject(e)})):this.submissionReadyResolve(),this.submissionReady}},{key:"setSrc",value:function(n,e){var l=this;return this.setUrl(n,e)?(this.nosubmit=!1,this.formio.loadForm({params:{live:1}}).then((function(n){var e=l.setForm(n);return l.loadSubmission(),e})).catch((function(n){console.warn(n),l.formReadyReject(n)}))):c.default.resolve()}},{key:"url",get:function(){return this._src},set:function(n){this.setUrl(n)}},{key:"setUrl",value:function(n,e){return!(!n||"string"!=typeof n||n===this._src||(this._src=n,this.nosubmit=!0,this.formio=this.options.formio=new s.GlobalFormio(n,e),"form"===this.type&&(this.options.src=n),0))}},{key:"ready",get:function(){var n=this;return this.formReady.then((function(){return w(P(d.prototype),"ready",n).then((function(){return!n.loadingSubmission||n.submissionReady}))}))}},{key:"loading",get:function(){return this._loading},set:function(n){if(this._loading!==n){if(this._loading=n,!this.loader&&n){this.loader=this.ce("div",{class:"loader-wrapper"});var e=this.ce("div",{class:"loader text-center"});this.loader.appendChild(e)}if(this.loader)try{n?this.prependTo(this.loader,this.wrapper):this.removeChildFrom(this.loader,this.wrapper)}catch(l){}}}},{key:"setForm",value:function(n,e){var l,i=this,u=this._form&&(null===(l=this._form.components)||void 0===l?void 0:l.length);try{var r,a;if(u&&JSON.stringify(this._form)===JSON.stringify(n))return c.default.resolve();if(this._form=null!=e&&e.keepAsReference?n:t.default.cloneDeep(n),this.onSetForm&&this.onSetForm(t.default.cloneDeep(this._form),n),null!==(r=this.parent)&&void 0!==r&&null!==(a=r.component)&&void 0!==a&&a.modalEdit)return c.default.resolve()}catch(p){return console.warn(p),c.default.resolve()}if(n&&n.settings&&n.settings.components&&(this.options.components=n.settings.components),n&&n.properties&&(this.options.properties=n.properties),"schema"in n&&(0,o.default)(n.schema,"1.x")>0&&this.ready.then((function(){i.setAlert("alert alert-danger","Form schema is for a newer version, please upgrade your renderer. Some functionality may not work.")})),n&&n.module){var d=null;if("string"==typeof n.module)try{d=this.evaluate("return ".concat(n.module))}catch(p){console.warn(p)}else d=n.module;d&&(s.GlobalFormio.use(d),d.options&&d.options.form&&(this.options=Object.assign(this.options,d.options.form)))}return this.initialized=!1,(this.rebuild()||c.default.resolve()).then((function(){return i.emit("formLoad",n),i.triggerRecaptcha(),setTimeout((function(){i.onChange(e),i.formReadyResolve()}),0),i.formReady}))}},{key:"form",get:function(){return this._form||(this._form={components:[]}),this._form},set:function(n){this.setForm(n)}},{key:"submission",get:function(){return this.getValue()},set:function(n){this.setSubmission(n)}},{key:"setSubmission",value:function(n){var e=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l=b(b({},l),{},{fromSubmission:!t.default.has(l,"fromSubmission")||l.fromSubmission}),this.onSubmission=this.formReady.then((function(t){return t&&(l=b(b({},l),t)),e.submissionSet=!0,e.triggerChange(l),e.emit("beforeSetSubmission",n),e.setValue(n,l),e.submissionReadyResolve(n)}),(function(n){return e.submissionReadyReject(n)})).catch((function(n){return e.submissionReadyReject(n)}))}},{key:"handleDraftError",value:function(n,e,l){var i=t.default.trim("".concat(this.t(n)," ").concat(e||""));console.warn(i),this.emit(l?"restoreDraftError":"saveDraftError",e||i)}},{key:"saveDraft",value:function(){var n=this;if(this.draftEnabled)if(this.formio)if(s.GlobalFormio.getUser()){var e=(0,h.fastCloneDeep)(this.submission);e.state="draft",this.savingDraft||(this.emit("saveDraftBegin"),this.savingDraft=!0,this.formio.saveSubmission(e).then((function(e){n.submission._id=e._id,n.savingDraft=!1,n.emit("saveDraft",e)})).catch((function(e){n.savingDraft=!1,n.handleDraftError("saveDraftError",e)})))}else this.handleDraftError("saveDraftAuthError");else this.handleDraftError("saveDraftInstanceError")}},{key:"restoreDraft",value:function(n){var e=this,l=this.formio||this.options.formio;l?(this.savingDraft=!0,l.loadSubmissions({params:{state:"draft",owner:n}}).then((function(n){if(n.length>0&&!e.options.skipDraftRestore){var l=(0,h.fastCloneDeep)(n[0]);return e.setSubmission(l).then((function(){e.draftEnabled=!0,e.savingDraft=!1,e.emit("restoreDraft",l)}))}e.draftEnabled=!0,e.savingDraft=!1,e.emit("restoreDraft",null)})).catch((function(n){e.draftEnabled=!0,e.savingDraft=!1,e.handleDraftError("restoreDraftError",n,!0)}))):this.handleDraftError("restoreDraftInstanceError",null,!0)}},{key:"schema",get:function(){var n=(0,h.fastCloneDeep)(t.default.omit(this._form,["components"]));return n.components=[],this.eachComponent((function(e){return n.components.push(e.schema)})),n}},{key:"mergeData",value:function(n,e){t.default.mergeWith(n,e,(function(n,e){if(Array.isArray(n)&&Array.isArray(e)&&n.length!==e.length)return e}))}},{key:"setValue",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n&&n.data||(n={data:{}}),this._submission.metadata=n.metadata||{},this.editing=!!n._id,!this.options.submissionTimezone&&n.metadata&&n.metadata.timezone&&(this.options.submissionTimezone=n.metadata.timezone);var l=w(P(d.prototype),"setValue",this).call(this,n.data,e);return e.sanitize||this.mergeData(this.data,n.data),n.data=this.data,this._submission=n,l}},{key:"getValue",value:function(){return this._submission.data||(this._submission.data={}),this.viewOnly||(this._submission.data=this.data),this._submission}},{key:"init",value:function(){var n=this;return this._submission=this._submission||{data:{}},this.components&&this.components.length&&(this.destroyComponents(),this.components=[]),this.component?this.component.components=this.form?this.form.components:[]:this.component=this.form,this.component.type="form",this.component.input=!1,this.addComponents(),this.on("submitButton",(function(e){n.submit(!1,e).catch((function(n){return!1!==n&&console.log(n)}))}),!0),this.on("checkValidity",(function(e){return n.checkValidity(e,!0,e)}),!0),this.on("requestUrl",(function(e){return n.submitUrl(e.url,e.headers)}),!0),this.on("resetForm",(function(){return n.resetValue()}),!0),this.on("deleteSubmission",(function(){return n.deleteSubmission()}),!0),this.on("refreshData",(function(){return n.updateValue()}),!0),this.executeFormController(),this.formReady}},{key:"executeFormController",value:function(){var n=this;if(!this.form||!this.form.controller||(!this.visible||this.component.hidden)&&this.component.clearOnHide&&!this.rootPristine)return!1;this.formReady.then((function(){n.evaluate(n.form.controller,{components:n.components,instance:n})}))}},{key:"destroy",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.off("submitButton"),this.off("checkValidity"),this.off("requestUrl"),this.off("resetForm"),this.off("deleteSubmission"),this.off("refreshData"),n&&(this.emit("formDelete",this.id),delete s.GlobalFormio.forms[this.id]),w(P(d.prototype),"destroy",this).call(this)}},{key:"build",value:function(n){var e=this;return n||this.element?this.ready.then((function(){n=n||e.element,w(P(d.prototype),"build",e).call(e,n)})):this.ready}},{key:"getClassName",value:function(){var n="formio-form";return this.options.readOnly&&(n+=" formio-read-only"),n}},{key:"render",value:function(){return w(P(d.prototype),"render",this).call(this,this.renderTemplate("webform",{classes:this.getClassName(),children:this.renderComponents()}),this.builderMode?"builder":"form",!0)}},{key:"redraw",value:function(){return this.element?(this.clear(),this.setContent(this.element,this.render()),this.attach(this.element)):c.default.resolve()}},{key:"attach",value:function(n){var e=this;this.element=n,this.loadRefs(n,{webform:"single"});var l=this.attachComponents(this.refs.webform);return this.addEventListener(document,"keydown",this.executeShortcuts),this.currentForm=this,this.hook("attachWebform",n,this),l.then((function(){return e.emit("render",e.element),e.setValue(e._submission,{noUpdateEvent:!0})}))}},{key:"hasRequiredFields",value:function(){var n=!1;return(0,f.eachComponent)(this.form.components,(function(e){if(e.validate.required)return n=!0,!0}),!0),n}},{key:"resetValue",value:function(){t.default.each(this.getComponents(),(function(n){return n.resetValue()})),this.setPristine(!0),this.onChange({resetValue:!0})}},{key:"setAlert",value:function(n,e,l){var t=this;if(n||!this.submitted)if(this.options.noAlerts)e||this.emit("error",!1);else{if(this.alert)try{this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){t.removeEventListener(n,"click"),t.removeEventListener(n,"keypress")})),this.removeChild(this.alert),this.alert=null}catch(u){}if(e){var i={class:l&&l.classes||"alert alert-".concat(n),id:"error-list-".concat(this.id)},o={message:e instanceof HTMLElement?e.outerHTML:e,attrs:i,type:n};this.alert=(0,h.convertStringToHTMLElement)(this.renderTemplate("alert",o),"#".concat(i.id))}this.alert&&(this.loadRefs(this.alert,{errorRef:"multiple"}),this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){t.addEventListener(n,"click",(function(n){var e=n.currentTarget.dataset.componentKey;t.focusOnComponent(e)})),t.addEventListener(n,"keydown",(function(n){if(13===n.keyCode){n.preventDefault();var e=n.currentTarget.dataset.componentKey;t.focusOnComponent(e)}}))})),this.prepend(this.alert))}else this.alert&&(this.refs.errorRef&&this.refs.errorRef.length&&this.refs.errorRef.forEach((function(n){t.removeEventListener(n,"click"),t.removeEventListener(n,"keypress")})),this.removeChild(this.alert),this.alert=null)}},{key:"focusOnComponent",value:function(n){if(n){var e=this.getComponent(n);e&&e.focus()}}},{key:"showErrors",value:function(n,e,l){var i=this;this.loading=!1;var o=this.errors;if(n?Array.isArray(n)?o=o.concat(n):o.push(n):o=w(P(d.prototype),"errors",this),(o=(o=o.concat(this.customErrors)).concat(this.serverErrors||[])).length){o.forEach((function(n){var e=n.components,l=void 0===e?[]:e;n.component&&l.push(n.component),n.path&&l.push(n.path),l.forEach((function(e){var l=i._parentPath+(0,h.getStringFromComponentPath)(e),o=i.getComponent(e,t.default.identity,l);n.fromServer&&(o.serverErrors?o.serverErrors.push(n):o.serverErrors=[n]),t.default.compact(Array.isArray(o)?o:[o]).forEach((function(e){return e.setCustomValidity(n.message,!0)}))}))}));var u=[];o.forEach((function(n){if(n){var e=function(e,l){var o=!t.default.isUndefined(l)&&n.messages&&n.messages[l],u=o&&o.formattedKeyOrPath||o.path||n.component&&n.component.key||n.fromServer&&n.path,r=u?(0,h.getStringFromComponentPath)(u):"";return r=i._parentPath+r,"string"==typeof n||n.formattedKeyOrPath||(n.formattedKeyOrPath=r),{message:(0,h.unescapeHTML)(e),keyOrPath:r}};if(n.messages=t.default.uniqBy(n.messages,(function(n){return n.message})),n.messages&&n.messages.length){var l=n.component;n.messages.forEach((function(n,t){var o=n.message,r=n.context,a=n.fromServer,s=null!=r&&r.hasLabel||a?i.t("alertMessage",{message:i.t(o)}):i.t("alertMessageWithLabel",{label:i.t(l.label),message:i.t(o)});u.push(e(s,t))}))}else if(n){var o=t.default.isObject(n)?i.t("alertMessage",{message:i.t(n.message||"")}):i.t("alertMessage",{message:i.t(n)});u.push(e(o))}}}));var r=this.renderTemplate("errorsList",{errors:u});return this.root.setAlert("danger",r),e&&this.emit("error",o),o}this.setAlert(!1)}},{key:"onSubmit",value:function(n,e){var l;return this.loading=!1,this.submitting=!1,this.setPristine(!0),this.setValue((0,h.fastCloneDeep)(n),{noValidate:!0,noCheck:!0}),this.setAlert("success"," ".concat(this.t("complete"),"
")),this.draftEnabled&&null!==(l=this.triggerSaveDraft)&&void 0!==l&&l.cancel&&this.triggerSaveDraft.cancel(),this.emit("submit",n,e),e&&this.emit("submitDone",n),n}},{key:"normalizeError",value:function(n){return n&&("object"===m(n)&&"details"in n&&(n=n.details),"string"==typeof n&&(n={message:n})),n}},{key:"onSubmissionError",value:function(n){return n=this.normalizeError(n),this.submitting=!1,this.setPristine(!1),this.emit("submitError",n),n&&n.silent?(this.emit("change",{isValid:!0},{silent:!0}),!1):(e=this.submitted?this.showErrors():this.showErrors(n,!0),this.root&&this.root.alert&&this.scrollIntoView(this.root.alert),e);var e}},{key:"onChange",value:function(n,e,l,i){n=n||{};var o=!1;e&&e.component&&(this.customErrors=this.customErrors.filter((function(n){return n.component&&n.component!==e.component.key}))),w(P(d.prototype),"onChange",this).call(this,n,!0);var u=t.default.clone(this.submission);n.changed=u.changed=e,n.changes=i,l&&this.pristine&&(this.pristine=!1),u.isValid=this.checkData(u.data,n),this.loading=!1,this.submitted&&this.showErrors(),l&&this.options.saveDraft&&this.triggerSaveDraft(),n&&n.noEmit||(this.emit("change",u,n,l),o=!0),o&&!this.initialized&&(this.emit("initialized"),this.initialized=!0)}},{key:"checkData",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=w(P(d.prototype),"checkData",this).call(this,n,e);return(t.default.isEmpty(e)||e.noValidate)&&this.submitted&&this.showErrors(),l}},{key:"deleteSubmission",value:function(){var n=this;return this.formio.deleteSubmission().then((function(){n.emit("submissionDeleted",n.submission),n.resetValue()}))}},{key:"cancel",value:function(n){return this.hook("beforeCancel",!0)&&(n||confirm(this.t("confirmCancel")))?(this.resetValue(),!0):(this.emit("cancelSubmit"),!1)}},{key:"setMetadata",value:function(n){n.metadata=n.metadata||{},t.default.defaults(n.metadata,{timezone:t.default.get(this,"_submission.metadata.timezone",(0,h.currentTimezone)()),offset:parseInt(t.default.get(this,"_submission.metadata.offset",(0,i.default)().utcOffset()),10),origin:document.location.origin,referrer:document.referrer,browserName:navigator.appName,userAgent:navigator.userAgent,pathName:window.location.pathname,onLine:navigator.onLine})}},{key:"submitForm",value:function(){var n=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clearServerErrors(),new c.default((function(l,i){if(n.options.readOnly)return l({submission:n.submission,saved:!1});var o=(0,h.fastCloneDeep)(n.submission||{});n.setMetadata(o),o.state=e.state||"submitted";var u="draft"===o.state;n.hook("beforeSubmit",b(b({},o),{},{component:e.component}),(function(r,a){return r?i(r):(o._vnote=a&&a._vnote?a._vnote:"",u||o.data?u||n.checkValidity(o.data,!0)?(n.everyComponent((function(n){"client-only"===n.component.persistent&&t.default.unset(o.data,n.path)})),void n.hook("customValidation",b(b({},o),{},{component:e.component}),(function(e){if(e)return"string"==typeof e&&(e={message:e}),e=Array.isArray(e)?e:[e],n.customErrors=e,i();if(n.loading=!0,n._form&&n._form.action){var t=o.data._id&&n._form.action.includes(o.data._id)?"PUT":"POST";return s.GlobalFormio.makeStaticRequest(n._form.action,t,o,n.formio?n.formio.options:{}).then((function(n){return l({submission:n,saved:!0})})).catch((function(e){return n.setServerErrors(e),i(e)}))}var u=n.formio;if(n.nosubmit||!u)return l({submission:o,saved:!1});u[u.actionUrl?"saveAction":"saveSubmission"](o).then((function(n){return l({submission:n,saved:!0})})).catch((function(e){return n.setServerErrors(e),i(e)}))}))):i():i("Invalid Submission"))}))}))}},{key:"setServerErrors",value:function(n){n.details?this.serverErrors=n.details.filter((function(n){return n.level?"error"===n.level:n})).map((function(n){return n.fromServer=!0,n})):"string"==typeof n&&(this.serverErrors=[{fromServer:!0,level:"error",message:n}])}},{key:"executeSubmit",value:function(n){var e=this;return this.submitted=!0,this.submitting=!0,this.submitForm(n).then((function(n){var l=n.submission,t=n.saved;return e.onSubmit(l,t)})).then((function(n){return e.submissionInProcess=!1,n})).catch((function(n){return e.submissionInProcess=!1,c.default.reject(e.onSubmissionError(n))}))}},{key:"clearServerErrors",value:function(){var n,e=this;null===(n=this.serverErrors)||void 0===n||n.forEach((function(n){if(n.path){var l=(0,h.getArrayFromComponentPath)(n.path),i=e.getComponent(l,t.default.identity,n.formattedKeyOrPath);i&&(i.serverErrors=[])}})),this.serverErrors=[]}},{key:"submit",value:function(n,e){var l=this;return this.submissionInProcess=!0,n?this.executeSubmit(e):this.beforeSubmit(e).then((function(){return l.executeSubmit(e)}))}},{key:"submitUrl",value:function(n,e){var l=this;if(!n)return console.warn("Missing URL argument");var t=this.submission||{},i=n,o={method:"POST",headers:{}};if(e&&e.length>0&&e.map((function(n){""!==n.header&&""!==n.value&&(o.headers[n.header]=l.interpolate(n.value,t))})),!i||!o)return this.emit("error","You should add a URL to this button."),this.setAlert("warning","You should add a URL to this button."),console.warn("You should add a URL to this button.");s.GlobalFormio.makeStaticRequest(i,o.method,t,{headers:o.headers}).then((function(){l.emit("requestDone"),l.setAlert("success","Success
")})).catch((function(n){l.showErrors("".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),l.emit("error","".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),console.error("".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n)),l.setAlert("danger","".concat(n.statusText?n.statusText:""," ").concat(n.status?n.status:n,"
"))}))}},{key:"triggerRecaptcha",value:function(){if(this&&this.components){var n=(0,h.searchComponents)(this.components,{"component.type":"recaptcha","component.eventType":"formLoad"});n.length>0&&n[0].verify("".concat(this.form.name?this.form.name:"form","Load"))}}},{key:"nosubmit",get:function(){return this._nosubmit||!1},set:function(n){this._nosubmit=!!n,this.emit("nosubmit",this._nosubmit)}},{key:"conditions",get:function(){var n,e;return null!==(n=null===(e=this.schema.settings)||void 0===e?void 0:e.conditions)&&void 0!==n?n:[]}},{key:"variables",get:function(){var n,e;return null!==(n=null===(e=this.schema.settings)||void 0===e?void 0:e.variables)&&void 0!==n?n:[]}}])&&A(e.prototype,l),u&&A(e,u),Object.defineProperty(e,"prototype",{writable:!1}),d}(p.default);e.default=M,M.setBaseUrl=s.GlobalFormio.setBaseUrl,M.setApiUrl=s.GlobalFormio.setApiUrl,M.setAppUrl=s.GlobalFormio.setAppUrl},"7fqy":function(n,e){n.exports=function(n){var e=-1,l=Array(n.size);return n.forEach((function(n,t){l[++e]=[t,n]})),l}},"7lQs":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return"\n","\n"}},"7p4B":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n','
\n'}},"7xO9":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l
=10?n:n+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?n+12:void 0},meridiem:function(n,e,l){return n<4?"\u0a30\u0a3e\u0a24":n<10?"\u0a38\u0a35\u0a47\u0a30":n<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":n<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(l("wd/R"))},"8/JR":function(n,e,l){"use strict";var t=l("8T9/"),i=l("Ibf7");n.exports=function(n,e){var l=e||{},o={};return void 0===n&&(n={}),n.on=function(e,l){return o[e]?o[e].push(l):o[e]=[l],n},n.once=function(e,l){return l._once=!0,n.on(e,l),n},n.off=function(e,l){var t=arguments.length;if(1===t)delete o[e];else if(0===t)o={};else{var i=o[e];if(!i)return n;i.splice(i.indexOf(l),1)}return n},n.emit=function(){var e=t(arguments);return n.emitterSnapshot(e.shift()).apply(this,e)},n.emitterSnapshot=function(e){var u=(o[e]||[]).slice(0);return function(){var o=t(arguments),r=this||n;if("error"===e&&!1!==l.throws&&!u.length)throw 1===o.length?o[0]:o;return u.forEach((function(t){l.async?i(t,o,r):t.apply(r,o),t._once&&n.off(e,t)})),n}},n}},"81LO":function(n,e,l){var t=l("b5wT"),i=l("tQ6r");function o(n,e,l){for(var i;e.length&&(i=t.last(e)).i<=l;)e.pop(),n.push(i.vs),l++;return l}n.exports=function(n,e){var l=i.partition(n,(function(n){return t.has(n,"barycenter")})),u=l.lhs,r=t.sortBy(l.rhs,(function(n){return-n.i})),a=[],s=0,c=0,d=0;u.sort((p=!!e,function(n,e){return n.barycenter e.barycenter?1:p?e.i-n.i:n.i-e.i})),d=o(a,r,d),t.forEach(u,(function(n){d+=n.vs.length,a.push(n.vs),s+=n.barycenter*n.weight,c+=n.weight,d=o(a,r,d)}));var p;var h={vs:t.flatten(a,!0)};c&&(h.barycenter=s/c,h.weight=c);return h}},"81S3":function(n,e,l){"use strict";var t=l("0Dky"),i=l("tiKp"),o=l("g6v/"),u=l("xDBR"),r=i("iterator");n.exports=!t((function(){var n=new URL("b?a=1&b=2&c=3","http://a"),e=n.searchParams,l=new URLSearchParams("a=1&a=2&b=3"),t="";return n.pathname="c%20d",e.forEach((function(n,l){e.delete("b"),t+=l+n})),l.delete("a",2),l.delete("b",void 0),u&&(!n.toJSON||!l.has("a",1)||l.has("a",2)||!l.has("a",void 0)||l.has("b"))||!e.size&&(u||!o)||!e.sort||"http://a/c%20d?a=1&c=3"!==n.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[r]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==t||"x"!==new URL("http://x",void 0).host}))},"82Gu":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+='\n"}},"82LE":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{weight:15,type:"checkbox",label:"Hide Input Labels",tooltip:"Hide the labels of component inputs. This allows you to show the labels in the form builder, but not when it is rendered.",key:"hideInputLabels",input:!0},{type:"select",input:!0,key:"inputsLabelPosition",label:"Inputs Label Position",tooltip:"Position for the labels for inputs for this field.",weight:40,defaultValue:"top",dataSrc:"values",data:{values:[{label:"Top",value:"top"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Bottom",value:"bottom"}]}},{key:"placeholder",ignore:!0},{weight:213,type:"checkbox",label:"Use Locale Settings",tooltip:"Use locale settings to display day.",key:"useLocaleSettings",input:!0}]},"82ph":function(n,e,l){"use strict";var t=l("4zBA");n.exports=t([].slice)},"83RN":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"validate.required",ignore:!0},{key:"validate.unique",ignore:!0},{weight:0,type:"checkbox",label:"Require Day",tooltip:"A required field must be filled in before the form can be submitted.",key:"fields.day.required",input:!0},{weight:10,type:"checkbox",label:"Require Month",tooltip:"A required field must be filled in before the form can be submitted.",key:"fields.month.required",input:!0},{weight:20,type:"checkbox",label:"Require Year",tooltip:"A required field must be filled in before the form can be submitted.",key:"fields.year.required",input:!0},{weight:40,type:"textfield",label:"Minimum Day",placeholder:"yyyy-MM-dd",tooltip:"A minimum date that can be set. You can also use Moment.js functions. For example: \n \n moment().subtract(10, 'days')",key:"minDate",input:!0},{weight:30,type:"textfield",label:"Maximum Day",placeholder:"yyyy-MM-dd",tooltip:"A maximum day that can be set. You can also use Moment.js functions. For example: \n \n moment().add(10, 'days')",key:"maxDate",input:!0}]},"846U":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("ai4O");e.default={form:t.default}},"87QY":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";return l+=' '+(null==(e=n.children)?"":e)+"\n"}},"88Gu":function(n,e){var l=Date.now;n.exports=function(n){var e=0,t=0;return function(){var i=l(),o=16-(i-t);if(t=i,o>0){if(++e>=800)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}},"8Aq1":function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("s8pA"))&&t.__esModule?t:{default:t}).default};e.default=i},"8AyJ":function(n,e,l){"use strict";l("I+eb")({target:"Number",stat:!0},{isFinite:l("4oU/")})},"8GHX":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("oRM5");e.default={form:t.default}},"8GlL":function(n,e,l){"use strict";var t=l("We1y"),i=TypeError,o=function(n){var e,l;this.promise=new n((function(n,t){if(void 0!==e||void 0!==l)throw new i("Bad Promise constructor");e=n,l=t})),this.resolve=t(e),this.reject=t(l)};n.exports.f=function(n){return new o(n)}},"8KB7":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"validateOn",ignore:!0},{key:"unique",ignore:!0},{weight:52,type:"checkbox",label:"Allow only available values",tooltip:"Check this if you would like to perform a validation check to ensure the selected value is an available option.",key:"validate.onlyAvailableItems",input:!0}]},"8MA5":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n"}},"8MCd":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+='\n',n.checked?l+="True":l+="False",l+="\n"}},"8O7S":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;for(var t in l+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n class="ui button '+(null==(e=n.transform("theme",n.component.theme))?"":e)+" "+(null==(e=n.component.customClass)?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n>\n",n.component.leftIcon&&(l+=' '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n \n'),l+="\n",n.component.rightIcon&&(l+=' '),l+="\n"+(null==(e=n.input.type)?"":e)+'>\n\n \n\n'}},"8T9/":function(n,e){n.exports=function(n,e){return Array.prototype.slice.call(n,e)}},"8VeQ":function(n,e){},"8YOa":function(n,e,l){"use strict";var t=l("I+eb"),i=l("4zBA"),o=l("0BK2"),u=l("hh1v"),r=l("Gi26"),a=l("m/L8").f,s=l("JBy8"),c=l("BX/b"),d=l("T63f"),p=l("kOOl"),h=l("uy83"),f=!1,g=p("meta"),m=0,v=function(n){a(n,g,{value:{objectID:"O"+m++,weakData:{}}})},b=n.exports={enable:function(){b.enable=function(){},f=!0;var n=s.f,e=i([].splice),l={};l[g]=1,n(l).length&&(s.f=function(l){for(var t=n(l),i=0,o=t.length;ia||s>e[i].lim));o=i,i=t;for(;(i=n.parent(i))!==o;)r.push(i);return{path:u.concat(r.reverse()),lca:o}}(n,e,i.v,i.w),u=o.path,r=o.lca,a=0,s=u[a],c=!0;l!==i.w;){if(t=n.node(l),c){for(;(s=u[a])!==r&&n.node(s).maxRank ',n.value?l+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:l+="-",l+="\n"}},"8mBD":function(n,e,l){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(l("wd/R"))},"8qph":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return n.selected&&(l+=null==(e=n.t(n.option.label))?"":e),l+="\n"}},"8r76":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("vEJ5");e.default={form:t.default}},"8s0q":function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("s0kn"))&&t.__esModule?t:{default:t}).default};e.default=i},"8t0+":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"tooltip",ignore:!0},{key:"hideLabel",ignore:!0},{key:"autofocus",ignore:!0},{key:"disabled",ignore:!0},{key:"tabindex",ignore:!0},{key:"tableView",ignore:!0},{type:"textfield",input:!0,key:"tag",weight:50,label:"HTML Tag",placeholder:"HTML Element Tag",tooltip:"The tag of this HTML element."},{type:"textfield",input:!0,key:"className",weight:60,label:"CSS Class",placeholder:"CSS Class",tooltip:"The CSS class for this HTML element."},{type:"datagrid",input:!0,label:"Attributes",key:"attrs",tooltip:"The attributes for this HTML element. Only safe attributes are allowed, such as src, href, and title.",weight:70,components:[{label:"Attribute",key:"attr",input:!0,type:"textfield"},{label:"Value",key:"value",input:!0,type:"textfield"}]},{type:"textarea",input:!0,editor:"ace",rows:10,as:"html",label:"Content",tooltip:"The content of this HTML element.",defaultValue:' Content',key:"content",weight:80},{weight:85,type:"checkbox",label:"Refresh On Change",tooltip:"Rerender the field whenever a value on the form changes.",key:"refreshOnChange",input:!0}]},"9+61":function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("FryW"))&&t.__esModule?t:{default:t}).default};e.default=i},"909l":function(n,e,l){"use strict";l.d(e,"b",(function(){return c})),l.d(e,"a",(function(){return d}));var t=l("mrSG"),i=l("IUTb"),o=l("isby"),u=l("FFOo"),r=l("MGBS"),a=l("zotm"),s=l("En8+");function c(){for(var n=[],e=0;ethis.index},n.prototype.hasCompleted=function(){return this.array.length===this.index},n}(),g=function(n){function e(e,l,t){var i=n.call(this,e)||this;return i.parent=l,i.observable=t,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return t.d(e,n),e.prototype[s.a]=function(){return this},e.prototype.next=function(){var n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(n,e,l,t,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(n,e){return Object(a.a)(this,this.observable,this,e)},e}(r.a)},"90hW":function(n,e,l){"use strict";n.exports=Math.sign||function(n){var e=+n;return 0===e||e!=e?e:e<0?-1:1}},"93I0":function(n,e,l){"use strict";var t=l("VpIT"),i=l("kOOl"),o=t("keys");n.exports=function(n){return o[n]||(o[n]=i(n))}},"94Pl":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l e?1:n =E&&t<=Wo}function L(){if(O)try{throw new Error}catch(l){var n=l.stack.split("\n"),e=N(n[0].indexOf("@")>0?n[1]:n[2]);if(!e)return;return M=e[0],e[1]}}function N(n){var e=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(n);if(e)return[e[1],Number(e[2])];var l=/at ([^ ]+):(\d+):(?:\d+)$/.exec(n);if(l)return[l[1],Number(l[2])];var t=/.*@(.+):(\d+)$/.exec(n);return t?[t[1],Number(t[2])]:void 0}var B=m.EmptyError=function(){this.message="Sequence contains no elements.",Error.call(this)};B.prototype=Object.create(Error.prototype),B.prototype.name="EmptyError";var F=m.ObjectDisposedError=function(){this.message="Object has been disposed",Error.call(this)};F.prototype=Object.create(Error.prototype),F.prototype.name="ObjectDisposedError";var j=m.ArgumentOutOfRangeError=function(){this.message="Argument out of range",Error.call(this)};j.prototype=Object.create(Error.prototype),j.prototype.name="ArgumentOutOfRangeError";var V=m.NotSupportedError=function(n){this.message=n||"This operation is not supported",Error.call(this)};V.prototype=Object.create(Error.prototype),V.prototype.name="NotSupportedError";var U=m.NotImplementedError=function(n){this.message=n||"This operation is not implemented",Error.call(this)};U.prototype=Object.create(Error.prototype),U.prototype.name="NotImplementedError";var z=m.helpers.notImplemented=function(){throw new U},H=(m.helpers.notSupported=function(){throw new V},"function"==typeof Symbol&&Symbol.iterator||"_es6shim_iterator_");g.Set&&"function"==typeof(new g.Set)["@@iterator"]&&(H="@@iterator");var G=m.doneEnumerator={done:!0,value:i},Y=m.helpers.isIterable=function(n){return n&&n[H]!==i},q=m.helpers.isArrayLike=function(n){return n&&n.length!==i};m.helpers.iterator=H;var W=m.internals.bindCallback=function(n,e,l){if(void 0===e)return n;switch(l){case 0:return function(){return n.call(e)};case 1:return function(l){return n.call(e,l)};case 2:return function(l,t){return n.call(e,l,t)};case 3:return function(l,t,i){return n.call(e,l,t,i)}}return function(){return n.apply(e,arguments)}},Q=(["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"].length,"[object Arguments]"),K="[object Array]",J="[object Object]",X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X[Q]=X[K]=X["[object ArrayBuffer]"]=X["[object Boolean]"]=X["[object Date]"]=X["[object Error]"]=X["[object Function]"]=X["[object Map]"]=X["[object Number]"]=X[J]=X["[object RegExp]"]=X["[object Set]"]=X["[object String]"]=X["[object WeakMap]"]=!1;var $=Object.prototype,Z=$.hasOwnProperty,nn=$.toString,en=Math.pow(2,53)-1,ln=Object.keys||function(){var n=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],t=l.length;return function(i){if("object"!=typeof i&&("function"!=typeof i||null===i))throw new TypeError("Object.keys called on non-object");var o,u,r=[];for(o in i)n.call(i,o)&&r.push(o);if(e)for(u=0;u -1&&n%1==0&&n<=en}var an=function(){try{Object({toString:0}+"")}catch(n){return function(){return!1}}return function(n){return"function"!=typeof n.toString&&"string"==typeof(n+"")}}();var sn=Array.isArray||function(n){return un(n)&&rn(n.length)&&nn.call(n)===K};function cn(n,e){for(var l=-1,t=n.length;++l a))return!1;for(;++r=this.length||n<0)){var e=n-1>>1;if(!(e<0||e===n)&&this.isHigherPriority(n,e)){var l=this.items[n];this.items[n]=this.items[e],this.items[e]=l,this.percolate(e)}}},wn.heapify=function(n){if(+n||(n=0),!(n>=this.length||n<0)){var e=2*n+1,l=2*n+2,t=n;if(e 0;){var n=e.dequeue();!n.isCancelled()&&n.invoke()}}function t(){n.call(this)}return gn(t,n),t.prototype.schedule=function(n,t){var i=new Bn(this,n,t,this.now());if(e)e.enqueue(i);else{(e=new An(4)).enqueue(i);var o=P(l)();e=null,o===S&&I(o.e)}return i.disposable},t.prototype.scheduleRequired=function(){return!e},t}(Fn),Wn=Fn.currentThread=new qn,Qn=function(){var n,e=v;if(g.setTimeout)n=g.setTimeout,e=g.clearTimeout;else{if(!g.WScript)throw new V;n=function(n,e){g.WScript.Sleep(e),n()}}return{setTimeout:n,clearTimeout:e}}(),Kn=Qn.setTimeout,Jn=Qn.clearTimeout;!function(){var n=1,e={},l=!1;function t(n){if(l)Kn((function(){t(n)}),0);else{var i=e[n];if(i){l=!0;var o=P(i)();zn(n),l=!1,o===S&&I(o.e)}}}zn=function(n){delete e[n]};var i=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),o="function"==typeof(o=c&&h&&c.setImmediate)&&!i.test(o)&&o;if(k(o))Un=function(l){var i=n++;return e[i]=l,o((function(){t(i)})),i};else if("undefined"!=typeof process&&"[object process]"==={}.toString.call(process))Un=function(l){var i=n++;return e[i]=l,process.nextTick((function(){t(i)})),i};else if(function(){if(!g.postMessage||g.importScripts)return!1;var n=!1,e=g.onmessage;return g.onmessage=function(){n=!0},g.postMessage("","*"),g.onmessage=e,n}()){var u="ms.rx.schedule"+Math.random();g.addEventListener("message",(function(n){"string"==typeof n.data&&n.data.substring(0,u.length)===u&&t(n.data.substring(u.length))}),!1),Un=function(l){var t=n++;return e[t]=l,g.postMessage(u+t,"*"),t}}else if(g.MessageChannel){var r=new g.MessageChannel;r.port1.onmessage=function(n){t(n.data)},Un=function(l){var t=n++;return e[t]=l,r.port2.postMessage(t),t}}else Un="document"in g&&"onreadystatechange"in g.document.createElement("script")?function(l){var i=g.document.createElement("script"),o=n++;return e[o]=l,i.onreadystatechange=function(){t(o),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},g.document.documentElement.appendChild(i),o}:function(l){var i=n++;return e[i]=l,Kn((function(){t(i)}),0),i}}();var Xn=function(n){function e(){n.call(this)}function l(n,e,l,t){return function(){n.setDisposable(kn._fixup(e(l,t)))}}function t(n){this._id=n,this.isDisposed=!1}function i(n){this._id=n,this.isDisposed=!1}return gn(e,n),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,zn(this._id))},i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,Jn(this._id))},e.prototype.schedule=function(n,e){var i=new Tn,o=Un(l(i,e,this,n));return new En(i,new t(o))},e.prototype._scheduleFuture=function(n,e,t){if(0===e)return this.schedule(n,t);var o=new Tn,u=Kn(l(o,t,this,n),e);return new En(o,new i(u))},e.prototype.scheduleLongRunning=function(n,e){var l=_n(v);return Un(function(n,e,l){return function(){e(n,l)}}(n,e,l)),l},e}(Fn),$n=Fn.default=Fn.async=new Xn,Zn=function(n){function e(e,l){this._scheduler=e,this._handler=l,this._recursiveOriginal=null,this._recursiveWrapper=null,n.call(this)}return gn(e,n),e.prototype.schedule=function(n,e){return this._scheduler.schedule(n,this._wrap(e))},e.prototype._scheduleFuture=function(n,e,l){return this._scheduler.schedule(n,e,this._wrap(l))},e.prototype.now=function(){return this._scheduler.now()},e.prototype._clone=function(n){return new e(n,this._handler)},e.prototype._wrap=function(n){var e=this;return function(l,t){var i=P(n)(e._getRecursiveWrapper(l),t);return i===S?(e._handler(i.e)||I(i.e),Sn):On(i)}},e.prototype._getRecursiveWrapper=function(n){if(this._recursiveOriginal!==n){this._recursiveOriginal=n;var e=this._clone(n);e._recursiveOriginal=n,e._recursiveWrapper=e,this._recursiveWrapper=e}return this._recursiveWrapper},e.prototype.schedulePeriodic=function(n,e,l){var t=this,i=!1,o=new Tn;return o.setDisposable(this._scheduler.schedulePeriodic(n,e,(function(n){if(i)return null;var e=P(l)(n);return e===S?(i=!0,t._handler(e.e)||I(e.e),o.dispose(),null):e}))),o},e}(Fn),ne=m.Notification=function(){function n(){}return n.prototype._accept=function(n,e,l){throw new U},n.prototype._acceptObserver=function(n,e,l){throw new U},n.prototype.accept=function(n,e,l){return n&&"object"==typeof n?this._acceptObserver(n):this._accept(n,e,l)},n.prototype.toObservable=function(n){var e=this;return Vn(n)||(n=Yn),new Fo((function(l){return n.schedule(e,(function(n,e){e._acceptObserver(l),"N"===e.kind&&l.onCompleted()}))}))},n}(),ee=function(n){function e(n){this.value=n,this.kind="N"}return gn(e,n),e.prototype._accept=function(n){return n(this.value)},e.prototype._acceptObserver=function(n){return n.onNext(this.value)},e.prototype.toString=function(){return"OnNext("+this.value+")"},e}(ne),le=function(n){function e(n){this.error=n,this.kind="E"}return gn(e,n),e.prototype._accept=function(n,e){return e(this.error)},e.prototype._acceptObserver=function(n){return n.onError(this.error)},e.prototype.toString=function(){return"OnError("+this.error+")"},e}(ne),te=function(n){function e(){this.kind="C"}return gn(e,n),e.prototype._accept=function(n,e,l){return l()},e.prototype._acceptObserver=function(n){return n.onCompleted()},e.prototype.toString=function(){return"OnCompleted()"},e}(ne),ie=ne.createOnNext=function(n){return new ee(n)},oe=ne.createOnError=function(n){return new le(n)},ue=ne.createOnCompleted=function(){return new te},re=m.Observer=function(){};re.prototype.toNotifier=function(){var n=this;return function(e){return e.accept(n)}},re.prototype.asObserver=function(){var n=this;return new de((function(e){n.onNext(e)}),(function(e){n.onError(e)}),(function(){n.onCompleted()}))},re.prototype.checked=function(){return new pe(this)};var ae=re.create=function(n,e,l){return n||(n=v),e||(e=C),l||(l=v),new de(n,e,l)};re.fromNotifier=function(n,e){var l=W(n,e,1);return new de((function(n){return l(ie(n))}),(function(n){return l(oe(n))}),(function(){return l(ue())}))},re.prototype.notifyOn=function(n){return new fe(n,this)},re.prototype.makeSafe=function(n){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,n)};var se,ce=m.internals.AbstractObserver=function(n){function e(){this.isStopped=!1}return gn(e,n),e.prototype.next=z,e.prototype.error=z,e.prototype.completed=z,e.prototype.onNext=function(n){!this.isStopped&&this.next(n)},e.prototype.onError=function(n){this.isStopped||(this.isStopped=!0,this.error(n))},e.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},e.prototype.dispose=function(){this.isStopped=!0},e.prototype.fail=function(n){return!this.isStopped&&(this.isStopped=!0,this.error(n),!0)},e}(re),de=m.AnonymousObserver=function(n){function e(e,l,t){n.call(this),this._onNext=e,this._onError=l,this._onCompleted=t}return gn(e,n),e.prototype.next=function(n){this._onNext(n)},e.prototype.error=function(n){this._onError(n)},e.prototype.completed=function(){this._onCompleted()},e}(ce),pe=function(n){function e(e){n.call(this),this._observer=e,this._state=0}gn(e,n);var l=e.prototype;return l.onNext=function(n){this.checkAccess();var e=P(this._observer.onNext).call(this._observer,n);this._state=0,e===S&&I(e.e)},l.onError=function(n){this.checkAccess();var e=P(this._observer.onError).call(this._observer,n);this._state=2,e===S&&I(e.e)},l.onCompleted=function(){this.checkAccess();var n=P(this._observer.onCompleted).call(this._observer);this._state=2,n===S&&I(n.e)},l.checkAccess=function(){if(1===this._state)throw new Error("Re-entrancy detected");if(2===this._state)throw new Error("Observer completed");0===this._state&&(this._state=1)},e}(re),he=m.internals.ScheduledObserver=function(n){function e(e,l){n.call(this),this.scheduler=e,this.observer=l,this.isAcquired=!1,this.hasFaulted=!1,this.queue=[],this.disposable=new Mn}function l(n,e){var l;if(n.queue.length>0){l=n.queue.shift();var t=P(l)();if(t===S)return n.queue=[],n.hasFaulted=!0,I(t.e);e(n)}else n.isAcquired=!1}return gn(e,n),e.prototype.next=function(n){this.queue.push(function(n,e){return function(){n.onNext(e)}}(this.observer,n))},e.prototype.error=function(n){this.queue.push(function(n,e){return function(){n.onError(e)}}(this.observer,n))},e.prototype.completed=function(){var n;this.queue.push((n=this.observer,function(){n.onCompleted()}))},e.prototype.ensureActive=function(){var n=!1;!this.hasFaulted&&this.queue.length>0&&(n=!this.isAcquired,this.isAcquired=!0),n&&this.disposable.setDisposable(this.scheduler.scheduleRecursive(this,l))},e.prototype.dispose=function(){n.prototype.dispose.call(this),this.disposable.dispose()},e}(ce),fe=function(n){function e(e,l,t){n.call(this,e,l),this._cancel=t}return gn(e,n),e.prototype.next=function(e){n.prototype.next.call(this,e),this.ensureActive()},e.prototype.error=function(e){n.prototype.error.call(this,e),this.ensureActive()},e.prototype.completed=function(){n.prototype.completed.call(this),this.ensureActive()},e.prototype.dispose=function(){n.prototype.dispose.call(this),this._cancel&&this._cancel.dispose(),this._cancel=null},e}(he),ge=m.Observable=function(){function n(){if(m.config.longStackSupport&&O){var n=this._subscribe,e=P(I)(new Error).e;this.stack=e.stack.substring(e.stack.indexOf("\n")+1),this._subscribe=function(n,e){return function(l){var t=l.onError;return l.onError=function(e){D(e,n),t.call(l,e)},e.call(n,l)}}(this,n)}}return se=n.prototype,n.isObservable=function(n){return n&&k(n.subscribe)},se.subscribe=se.forEach=function(n,e,l){return this._subscribe("object"==typeof n?n:ae(n,e,l))},se.subscribeOnNext=function(n,e){return this._subscribe(ae(void 0!==e?function(l){n.call(e,l)}:n))},se.subscribeOnError=function(n,e){return this._subscribe(ae(null,void 0!==e?function(l){n.call(e,l)}:n))},se.subscribeOnCompleted=function(n,e){return this._subscribe(ae(null,null,void 0!==e?function(){n.call(e)}:n))},n}(),me=m.ObservableBase=function(n){function e(n,e){var l,t=e[0],i=e[1],o=P(i.subscribeCore).call(i,t);o!==S||t.fail(S.e)||I(S.e),t.setDisposable((l=o)&&k(l.dispose)?l:k(l)?_n(l):Sn)}function l(){n.call(this)}return gn(l,n),l.prototype._subscribe=function(n){var l=new jo(n),t=[l,this];return Wn.scheduleRequired()?Wn.schedule(t,e):e(0,t),l},l.prototype.subscribeCore=z,l}(ge),ve=m.FlatMapObservable=function(n){function e(e,l,t,i){this.resultSelector=k(t)?t:null,this.selector=W(k(l)?l:function(){return l},i,3),this.source=e,n.call(this)}function l(n,e,l,t){this.i=0,this.selector=e,this.resultSelector=l,this.source=t,this.o=n,ce.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new l(n,this.selector,this.resultSelector,this))},gn(l,ce),l.prototype._wrapResult=function(n,e,l){return this.resultSelector?n.map((function(n,t){return this.resultSelector(e,n,l,t)}),this):n},l.prototype.next=function(n){var e=this.i++,l=P(this.selector)(n,e,this.source);if(l===S)return this.o.onError(l.e);x(l)&&(l=Oe(l)),(q(l)||Y(l))&&(l=ge.from(l)),this.o.onNext(this._wrapResult(l,n,e))},l.prototype.error=function(n){this.o.onError(n)},l.prototype.completed=function(){this.o.onCompleted()},e}(me),be=m.internals.Enumerable=function(){};function ye(n){this._s=n,this.isDisposed=!1}ye.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.isDisposed=!0)};var Ae=function(n){function e(e){this.sources=e,n.call(this)}function l(n,e){if(!n.isDisposed){var l=P(n.e.next).call(n.e);if(l===S)return n.o.onError(l.e);if(l.done)return n.o.onCompleted();var i=l.value;x(i)&&(i=Oe(i));var o=new Tn;n.subscription.setDisposable(o),o.setDisposable(i.subscribe(new t(n,e)))}}function t(n,e){this._state=n,this._recurse=e,ce.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){var e=new Mn,t={isDisposed:!1,o:n,subscription:e,e:this.sources[H]()},i=Wn.scheduleRecursive(t,l);return new Dn([e,i,new ye(t)])},gn(t,ce),t.prototype.next=function(n){this._state.o.onNext(n)},t.prototype.error=function(n){this._state.o.onError(n)},t.prototype.completed=function(){this._recurse(this._state)},e}(me);be.prototype.concat=function(){return new Ae(this)};var we=function(n){function e(e){this.sources=e,n.call(this)}function l(n,e){if(!n.isDisposed){var l=P(n.e.next).call(n.e);if(l===S)return n.o.onError(l.e);if(l.done)return null!==n.lastError?n.o.onError(n.lastError):n.o.onCompleted();var i=l.value;x(i)&&(i=Oe(i));var o=new Tn;n.subscription.setDisposable(o),o.setDisposable(i.subscribe(new t(n,e)))}}function t(n,e){this._state=n,this._recurse=e,ce.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){var e=new Mn,t={isDisposed:!1,e:this.sources[H](),subscription:e,lastError:null,o:n},i=Wn.scheduleRecursive(t,l);return new Dn([e,i,new ye(t)])},gn(t,ce),t.prototype.next=function(n){this._state.o.onNext(n)},t.prototype.error=function(n){this._state.lastError=n,this._recurse(this._state)},t.prototype.completed=function(){this._state.o.onCompleted()},e}(me);be.prototype.catchError=function(){return new we(this)};var Ce=function(n){function e(n,e){this.v=n,this.c=null==e?-1:e}function l(n){this.v=n.v,this.l=n.c}return gn(e,n),e.prototype[H]=function(){return new l(this)},l.prototype.next=function(){return 0===this.l?G:(this.l>0&&this.l--,{done:!1,value:this.v})},e}(be),xe=be.repeat=function(n,e){return new Ce(n,e)},ke=function(n){function e(n,e,l){this.s=n,this.fn=e?W(e,l,3):null}function l(n){this.i=-1,this.s=n.s,this.l=this.s.length,this.fn=n.fn}return gn(e,n),e.prototype[H]=function(){return new l(this)},l.prototype.next=function(){return++this.i Be)return Be;return e}(n),this._i=0}Fe.prototype[H]=function(){return new je(this._s)},je.prototype[H]=function(){return this},je.prototype.next=function(){return this._i 0)&&(n.onNext(e),l>0&&l--),0===l)return n.onCompleted();t(l)}))},ge.repeat=function(n,e,l){return Vn(l)||(l=Wn),new Xe(n,e,l)};var Ze=function(n){function e(e,l){this._value=e,this._scheduler=l,n.call(this)}function l(n,e){var l=e[0],t=e[1];return t.onNext(l),t.onCompleted(),Sn}return gn(e,n),e.prototype.subscribeCore=function(n){var e=[this._value,n];return this._scheduler===Yn?l(null,e):this._scheduler.schedule(e,l)},e}(me),nl=(ge.return=ge.just=function(n,e){return Vn(e)||(e=Yn),new Ze(n,e)},function(n){function e(e,l){this._error=e,this._scheduler=l,n.call(this)}function l(n,e){var l=e[0];return e[1].onError(l),Sn}return gn(e,n),e.prototype.subscribeCore=function(n){var e=[this._error,n];return this._scheduler===Yn?l(null,e):this._scheduler.schedule(e,l)},e}(me)),el=ge.throw=function(n,e){return Vn(e)||(e=Yn),new nl(n,e)},ll=function(n){function e(e,l){this._resFn=e,this._obsFn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){var e=Sn,l=P(this._resFn)();if(l===S)return new En(el(l.e).subscribe(n),e);l&&(e=l);var t=P(this._obsFn)(l);return new En(t===S?el(t.e).subscribe(n):t.subscribe(n),e)},e}(me);function tl(n,e){return n.amb(e)}ge.using=function(n,e){return new ll(n,e)},se.amb=function(n){var e=this;return new Fo((function(l){var t,i=new Tn,o=new Tn;function u(){t||(t="L",o.dispose())}function r(){t||(t="R",i.dispose())}x(n)&&(n=Oe(n));var a=ae((function(n){u(),"L"===t&&l.onNext(n)}),(function(n){u(),"L"===t&&l.onError(n)}),(function(){u(),"L"===t&&l.onCompleted()})),s=ae((function(n){r(),"R"===t&&l.onNext(n)}),(function(n){r(),"R"===t&&l.onError(n)}),(function(){r(),"R"===t&&l.onCompleted()}));return i.setDisposable(e.subscribe(a)),o.setDisposable(n.subscribe(s)),new En(i,o)}))},ge.amb=function(){var n,e=Qe();if(Array.isArray(arguments[0]))n=arguments[0];else{var l=arguments.length;n=new Array(n);for(var t=0;t 0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&0===this.parent.activeCount&&this.parent.o.onCompleted())},e}(ce);se.merge=function(n){return"number"!=typeof n?vl(this,n):new gl(this,n)};var vl=ge.merge=function(){var n,e,l=[],t=arguments.length;if(arguments[0])if(Vn(arguments[0]))for(n=arguments[0],e=1;e 0}function t(n){return n.shift()}return gn(e,n),e.prototype.next=function(n){if(this._q[this._i].push(n),this._q.every(l)){var e=this._q.map(t),i=P(this._p._cb).apply(null,e);if(i===S)return this._o.onError(i.e);this._o.onNext(i)}else this._d.filter((o=this._i,function(n,e){return e!==o})).every(b)&&this._o.onCompleted();var o},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._d[this._i]=!0,this._d.every(b)&&this._o.onCompleted()},e}(ce);function rl(){return!1}function Ll(){return[]}function al(){for(var n=arguments.length,e=new Array(n),l=0;l 0}function t(n){return n.shift()}return gn(e,n),e.prototype.next=function(n){if(this._s.q[this._i].push(n),this._s.q.every(l)){var e=this._s.q.map(t),i=P(this._s.cb).apply(null,e);if(i===S)return this._s.o.onError(i.e);this._s.o.onNext(i)}else this._s.done.filter((o=this._i,function(n,e){return e!==o})).every(b)&&this._s.o.onCompleted();var o},e.prototype.error=function(n){this._s.o.onError(n)},e.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(b)&&this._s.o.onCompleted()},e}(ce);function Vl(n){return n.toArray()}function Ul(n){return n.length>0}se.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var n=arguments.length,e=new Array(n),l=0;l this._c&&this._o.onNext(this._q.shift())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.skipLast=function(n){if(n<0)throw new j;return new lt(this,n)},se.startWith=function(){var n,e=0;arguments.length&&Vn(arguments[0])?(n=arguments[0],e=1):n=Yn;for(var l=[],t=e,i=arguments.length;tthis._c&&this._q.shift()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){for(;this._q.length>0;)this._o.onNext(this._q.shift());this._o.onCompleted()},e}(ce);se.takeLast=function(n){if(n<0)throw new j;var e=this;return new Fo((function(l){return e.subscribe(new it(l,n))}),e)};var ot=function(n){function e(e,l){this._o=e,this._c=l,this._q=[],n.call(this)}return gn(e,n),e.prototype.next=function(n){this._q.push(n),this._q.length>this._c&&this._q.shift()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._q),this._o.onCompleted()},e}(ce);function ut(n,e,l){var t=W(e,l,3);return n.map((function(e,l){var i=t(e,l,n);return x(i)&&(i=Oe(i)),(q(i)||Y(i))&&(i=ze(i)),i})).concatAll()}se.takeLastBuffer=function(n){if(n<0)throw new j;var e=this;return new Fo((function(l){return e.subscribe(new ot(l,n))}),e)},se.windowWithCount=se.windowCount=function(n,e){var l=this;if(+n||(n=0),Math.abs(n)===1/0&&(n=0),n<=0)throw new j;if(null==e&&(e=n),+e||(e=0),Math.abs(e)===1/0&&(e=0),e<=0)throw new j;return new Fo((function(t){var i=new Tn,o=new Rn(i),u=0,r=[];function a(){var n=new zo;r.push(n),t.onNext(vn(n,o))}return a(),i.setDisposable(l.subscribe((function(l){for(var t=0,i=r.length;t=0&&o%e==0&&r.shift().onCompleted(),++u%e==0&&a()}),(function(n){for(;r.length>0;)r.shift().onError(n);t.onError(n)}),(function(){for(;r.length>0;)r.shift().onCompleted();t.onCompleted()}))),o}),l)},se.selectConcat=se.concatMap=function(n,e,l){return k(n)&&k(e)?this.concatMap((function(l,t){var i=n(l,t);return x(i)&&(i=Oe(i)),(q(i)||Y(i))&&(i=ze(i)),i.map((function(n,i){return e(l,n,t,i)}))})):k(n)?ut(this,n,l):ut(this,(function(){return n}))},se.concatMapObserver=se.selectConcatObserver=function(n,e,l,t){var i=this,o=W(n,t,2),u=W(e,t,1),r=W(l,t,0);return new Fo((function(n){var e=0;return i.subscribe((function(l){var t;try{t=o(l,e++)}catch(i){return void n.onError(i)}x(t)&&(t=Oe(t)),n.onNext(t)}),(function(e){var l;try{l=u(e)}catch(t){return void n.onError(t)}x(l)&&(l=Oe(l)),n.onNext(l),n.onCompleted()}),(function(){var e;try{e=r()}catch(l){return void n.onError(l)}x(e)&&(e=Oe(e)),n.onNext(e),n.onCompleted()}))}),this).concatAll()};var rt=function(n){function e(e,l){this._o=e,this._d=l,this._f=!1,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._f=!0,this._o.onNext(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){!this._f&&this._o.onNext(this._d),this._o.onCompleted()},e}(ce);function at(n){this.comparer=n,this.set=[]}se.defaultIfEmpty=function(n){var e=this;return n===i&&(n=null),new Fo((function(l){return e.subscribe(new rt(l,n))}),e)},at.prototype.push=function(n){var e=-1===function(n,e,l){for(var t=0,i=n.length;t0&&(this._o.onNext(n),this._r<=0&&this._o.onCompleted())},l.prototype.error=function(n){this._o.onError(n)},l.prototype.completed=function(){this._o.onCompleted()},e}(me);se.take=function(n,e){if(n<0)throw new j;return 0===n?Le(e):new mt(this,n)};var vt=function(n){function e(e,l){this.source=e,this._fn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new bt(n,this))},e}(me),bt=function(n){function e(e,l){this._o=e,this._p=l,this._i=0,this._r=!0,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(this._r&&(this._r=P(this._p._fn)(n,this._i++,this._p),this._r===S))return this._o.onError(this._r.e);this._r?this._o.onNext(n):this._o.onCompleted()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.takeWhile=function(n,e){var l=W(n,e,3);return new vt(this,l)};var yt=function(n){function e(e,l,t){this.source=e,this.predicate=W(l,t,3),n.call(this)}function l(n,e,l){this.o=n,this.predicate=e,this.source=l,this.i=0,ce.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new l(n,this.predicate,this))},e.prototype.internalFilter=function(n,l){return new e(this.source,function(n,e){return function(l,t,i){return e.predicate(l,t,i)&&n.call(this,l,t,i)}}(n,this),l)},gn(l,ce),l.prototype.next=function(n){var e=P(this.predicate)(n,this.i++,this.source);if(e===S)return this.o.onError(e.e);e&&this.o.onNext(n)},l.prototype.error=function(n){this.o.onError(n)},l.prototype.completed=function(){this.o.onCompleted()},e}(me);se.filter=se.where=function(n,e){return this instanceof yt?this.internalFilter(n,e):new yt(this,n,e)};var At=function(n){function e(e,l,t){this.source=e,this._k=l,this._c=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new wt(n,this._k,this._c))},e}(me),wt=function(n){function e(e,l,t){this._o=e,this._k=l,this._c=t,this._v=null,this._hv=!1,this._l=[],n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=P(this._k)(n);if(e===S)return this._o.onError(e.e);var l=0;if(this._hv){if((l=P(this._c)(e,this._v))===S)return this._o.onError(l.e)}else this._hv=!0,this._v=e;l>0&&(this._v=e,this._l=[]),l>=0&&this._l.push(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._l),this._o.onCompleted()},e}(ce);function Ct(n){if(0===n.length)throw new B;return n[0]}var xt=function(n){function e(e,l,t,i){this.source=e,this.accumulator=l,this.hasSeed=t,this.seed=i,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new kt(n,this))},e}(me),kt=function(n){function e(e,l){this._o=e,this._p=l,this._fn=l.accumulator,this._hs=l.hasSeed,this._s=l.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(!this._hv&&(this._hv=!0),this._ha?this._a=P(this._fn)(this._a,n,this._i,this._p):(this._a=this._hs?P(this._fn)(this._s,n,this._i,this._p):n,this._ha=!0),this._a===S)return this._o.onError(this._a.e);this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv&&this._o.onNext(this._a),!this._hv&&this._hs&&this._o.onNext(this._s),!this._hv&&!this._hs&&this._o.onError(new B),this._o.onCompleted()},e}(ce);se.reduce=function(){var n,e=!1,l=arguments[0];return 2===arguments.length&&(e=!0,n=arguments[1]),new xt(this,l,e,n)};var _t=function(n){function e(e,l){this.source=e,this._fn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new St(n,this._fn,this.source))},e}(me),St=function(n){function e(e,l,t){this._o=e,this._fn=l,this._s=t,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=P(this._fn)(n,this._i++,this._s);if(e===S)return this._o.onError(e.e);Boolean(e)&&(this._o.onNext(!0),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},e}(ce);se.some=function(n,e){var l=W(n,e,3);return new _t(this,l)};var Pt=function(n){function e(e){this.source=e,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new It(n))},e}(me),It=function(n){function e(e){this._o=e,n.call(this)}return gn(e,n),e.prototype.next=function(){this._o.onNext(!1),this._o.onCompleted()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},e}(ce);se.isEmpty=function(){return new Pt(this)};var Ot=function(n){function e(e,l){this.source=e,this._fn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Tt(n,this._fn,this.source))},e}(me),Tt=function(n){function e(e,l,t){this._o=e,this._fn=l,this._s=t,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=P(this._fn)(n,this._i++,this._s);if(e===S)return this._o.onError(e.e);Boolean(e)||(this._o.onNext(!1),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},e}(ce);se.every=function(n,e){var l=W(n,e,3);return new Ot(this,l)};var Mt=function(n){function e(e,l,t){var i=+t||0;Math.abs(i)===1/0&&(i=0),this.source=e,this._elem=l,this._n=i,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this._n<0?(n.onNext(!1),n.onCompleted(),Sn):this.source.subscribe(new Et(n,this._elem,this._n))},e}(me),Et=function(n){function e(e,l,t){this._o=e,this._elem=l,this._n=t,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e,l;this._i++>=this._n&&(e=n,l=this._elem,0===e&&0===l||e===l||isNaN(e)&&isNaN(l))&&(this._o.onNext(!0),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},e}(ce);se.includes=function(n,e){return new Mt(this,n,e)};var Dt=function(n){function e(e,l){this.source=e,this._fn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Rt(n,this._fn,this.source))},e}(me),Rt=function(n){function e(e,l,t){this._o=e,this._fn=l,this._s=t,this._i=0,this._c=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(this._fn){var e=P(this._fn)(n,this._i++,this._s);if(e===S)return this._o.onError(e.e);Boolean(e)&&this._c++}else this._c++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},e}(ce);se.count=function(n,e){var l=W(n,e,3);return new Dt(this,l)};var Lt=function(n){function e(e,l,t){this.source=e,this._e=l,this._n=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this._n<0?(n.onNext(-1),n.onCompleted(),Sn):this.source.subscribe(new Nt(n,this._e,this._n))},e}(me),Nt=function(n){function e(e,l,t){this._o=e,this._e=l,this._n=t,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._i>=this._n&&n===this._e&&(this._o.onNext(this._i),this._o.onCompleted()),this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(-1),this._o.onCompleted()},e}(ce);se.indexOf=function(n,e){var l=+e||0;return Math.abs(l)===1/0&&(l=0),new Lt(this,n,l)};var Bt=function(n){function e(e,l){this.source=e,this._fn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Ft(n,this._fn,this.source))},e}(me),Ft=function(n){function e(e,l,t){this._o=e,this._fn=l,this._s=t,this._i=0,this._c=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(this._fn){var e=P(this._fn)(n,this._i++,this._s);if(e===S)return this._o.onError(e.e);this._c+=e}else this._c+=n},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},e}(ce);se.sum=function(n,e){var l=W(n,e,3);return new Bt(this,l)},se.minBy=function(n,e){return e||(e=w),new At(this,n,(function(n,l){return-1*e(n,l)}))},se.min=function(n){return this.minBy(b,n).map(Ct)},se.maxBy=function(n,e){return e||(e=w),new At(this,n,e)},se.max=function(n){return this.maxBy(b,n).map(Ct)};var jt=function(n){function e(e,l){this.source=e,this._fn=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Vt(n,this._fn,this.source))},e}(me),Vt=function(n){function e(e,l,t){this._o=e,this._fn=l,this._s=t,this._c=0,this._t=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(this._fn){var e=P(this._fn)(n,this._c++,this._s);if(e===S)return this._o.onError(e.e);this._t+=e}else this._c++,this._t+=n},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){if(0===this._c)return this._o.onError(new B);this._o.onNext(this._t/this._c),this._o.onCompleted()},e}(ce);se.average=function(n,e){var l;return k(n)&&(l=W(n,e,3)),new jt(this,l)},se.sequenceEqual=function(n,e){var l=this;return e||(e=A),new Fo((function(t){var i=!1,o=!1,u=[],r=[],a=l.subscribe((function(n){if(r.length>0){var l=r.shift(),i=P(e)(l,n);if(i===S)return t.onError(i.e);i||(t.onNext(!1),t.onCompleted())}else o?(t.onNext(!1),t.onCompleted()):u.push(n)}),(function(n){t.onError(n)}),(function(){i=!0,0===u.length&&(r.length>0?(t.onNext(!1),t.onCompleted()):o&&(t.onNext(!0),t.onCompleted()))}));(q(n)||Y(n))&&(n=ze(n)),x(n)&&(n=Oe(n));var s=n.subscribe((function(n){if(u.length>0){var l=u.shift(),o=P(e)(l,n);if(o===S)return t.onError(o.e);o||(t.onNext(!1),t.onCompleted())}else i?(t.onNext(!1),t.onCompleted()):r.push(n)}),(function(n){t.onError(n)}),(function(){o=!0,0===r.length&&(u.length>0?(t.onNext(!1),t.onCompleted()):i&&(t.onNext(!0),t.onCompleted()))}));return new En(a,s)}),l)};var Ut=function(n){function e(e,l,t){this.source=e,this._i=l,this._d=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new zt(n,this._i,this._d))},e}(me),zt=function(n){function e(e,l,t){this._o=e,this._i=l,this._d=t,n.call(this)}return gn(e,n),e.prototype.next=function(n){0==this._i--&&(this._o.onNext(n),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._d===i?this._o.onError(new j):(this._o.onNext(this._d),this._o.onCompleted())},e}(ce);se.elementAt=function(n,e){if(n<0)throw new j;return new Ut(this,n,e)};var Ht=function(n){function e(e,l,t){this._o=e,this._obj=l,this._s=t,this._i=0,this._hv=!1,this._v=null,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=!1;if(this._obj.predicate){var l=P(this._obj.predicate)(n,this._i++,this._s);if(l===S)return this._o.onError(l.e);Boolean(l)&&(e=!0)}else this._obj.predicate||(e=!0);if(e){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0,this._v=n}},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===i?this._o.onError(new B):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(ce);se.single=function(n,e){var l={},t=this;if(l="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},k(l.predicate)){var i=l.predicate;l.predicate=W(i,l.thisArg,3)}return new Fo((function(n){return t.subscribe(new Ht(n,l,t))}),t)};var Gt=function(n){function e(e,l){this.source=e,this._obj=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Yt(n,this._obj,this.source))},e}(me),Yt=function(n){function e(e,l,t){this._o=e,this._obj=l,this._s=t,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(this._obj.predicate){var e=P(this._obj.predicate)(n,this._i++,this._s);if(e===S)return this._o.onError(e.e);Boolean(e)&&(this._o.onNext(n),this._o.onCompleted())}else this._obj.predicate||(this._o.onNext(n),this._o.onCompleted())},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._obj.defaultValue===i?this._o.onError(new B):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(ce);se.first=function(){var n={};if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},k(n.predicate)){var e=n.predicate;n.predicate=W(e,n.thisArg,3)}return new Gt(this,n)};var qt=function(n){function e(e,l){this.source=e,this._obj=l,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Wt(n,this._obj,this.source))},e}(me),Wt=function(n){function e(e,l,t){this._o=e,this._obj=l,this._s=t,this._i=0,this._hv=!1,this._v=null,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=!1;if(this._obj.predicate){var l=P(this._obj.predicate)(n,this._i++,this._s);if(l===S)return this._o.onError(l.e);Boolean(l)&&(e=!0)}else this._obj.predicate||(e=!0);e&&(this._hv=!0,this._v=n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===i?this._o.onError(new B):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(ce);se.last=function(){var n={};if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},k(n.predicate)){var e=n.predicate;n.predicate=W(e,n.thisArg,3)}return new qt(this,n)};var Qt=function(n){function e(e,l,t,i){this._o=e,this._s=l,this._cb=t,this._y=i,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=P(this._cb)(n,this._i,this._s);if(e===S)return this._o.onError(e.e);e?(this._o.onNext(this._y?this._i:n),this._o.onCompleted()):this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._y&&this._o.onNext(-1),this._o.onCompleted()},e}(ce);function Kt(n,e,l,t){var i=W(e,l,3);return new Fo((function(e){return n.subscribe(new Qt(e,n,i,t))}),n)}se.find=function(n,e){return Kt(this,n,e,!1)},se.findIndex=function(n,e){return Kt(this,n,e,!0)};var Jt=function(n){function e(e){this.source=e,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Xt(n))},e}(me),Xt=function(n){function e(e){this._o=e,this._s=new g.Set,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._s.add(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},e}(ce);se.toSet=function(){if(void 0===g.Set)throw new TypeError;return new Jt(this)};var $t=function(n){function e(e,l,t){this.source=e,this._k=l,this._e=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Zt(n,this._k,this._e))},e}(me),Zt=function(n){function e(e,l,t){this._o=e,this._k=l,this._e=t,this._m=new g.Map,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=P(this._k)(n);if(e===S)return this._o.onError(e.e);var l=n;if(this._e&&(l=P(this._e)(n))===S)return this._o.onError(l.e);this._m.set(e,l)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},e}(ce);se.toMap=function(n,e){if(void 0===g.Map)throw new TypeError;return new $t(this,n,e)};var ni=function(n){function e(e,l,t){this.source=e,this._b=l,this._e=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new ei(n,this._b,this._e))},e}(me),ei=function(n){function e(e,l,t){this._o=e,this._b=l,this._e=t,this._i=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(n)),this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.slice=function(n,e){var l=n||0;if(l<0)throw new m.ArgumentOutOfRangeError;if("number"==typeof e&&e =this._n&&n===this._e&&(this._hv=!0,this._v=this._i),this._i++},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._hv?this._o.onNext(this._v):this._o.onNext(-1),this._o.onCompleted()},e}(ce);se.lastIndexOf=function(n,e){var l=+e||0;return Math.abs(l)===1/0&&(l=0),new li(this,n,l)},ge.wrap=function(n){function e(){return ge.spawn.call(this,n.apply(this,arguments))}return e.__generatorFunction__=n,e};var ii=ge.spawn=function(){for(var n=arguments[0],e=this,l=[],t=1,i=arguments.length;t2){for(var t=[],i=1,o=arguments.length;i 0;)n.onNext(u.shift())}return(l=this.source,t=this.pauser.startWith(!this.paused).distinctUntilChanged(),o=function(n,e){return{data:n,shouldFire:e}},new Fo((function(n){var e,i=[!1,!1],u=!1,r=!1,a=new Array(2);function s(l,t){if(a[t]=l,i[t]=!0,u||(u=i.every(b))){if(e)return n.onError(e);var s=P(o).apply(null,a);if(s===S)return n.onError(s.e);n.onNext(s)}r&&a[1]&&n.onCompleted()}return new En(l.subscribe((function(n){s(n,0)}),(function(l){a[1]?n.onError(l):e=l}),(function(){r=!0,a[1]&&n.onCompleted()})),t.subscribe((function(n){s(n,1)}),(function(e){n.onError(e)}),(function(){r=!0,s(!0,1)})))}),l)).subscribe((function(l){e!==i&&l.shouldFire!==e?(e=l.shouldFire,l.shouldFire&&r()):(e=l.shouldFire,l.shouldFire?n.onNext(l.data):u.push(l.data))}),(function(e){r(),n.onError(e)}),(function(){r(),n.onCompleted()}))},e.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},e.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},e}(ge);se.pausableBuffered=function(n){return new yi(this,n)};var Ai=function(n){function e(e,l,t){n.call(this),this.subject=new wi(l,t),this.source=e.multicast(this.subject).refCount()}return gn(e,n),e.prototype._subscribe=function(n){return this.source.subscribe(n)},e.prototype.request=function(n){return this.subject.request(null==n?-1:n)},e}(ge),wi=function(n){function e(e,l){null==e&&(e=!0),n.call(this),this.subject=new zo,this.enableQueue=e,this.queue=e?[]:null,this.requestedCount=0,this.requestedDisposable=null,this.error=null,this.hasFailed=!1,this.hasCompleted=!1,this.scheduler=l||Wn}return gn(e,n),mn(e.prototype,re,{_subscribe:function(n){return this.subject.subscribe(n)},onCompleted:function(){this.hasCompleted=!0,this.enableQueue&&0!==this.queue.length?this.queue.push(ne.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(n){this.hasFailed=!0,this.error=n,this.enableQueue&&0!==this.queue.length?this.queue.push(ne.createOnError(n)):(this.subject.onError(n),this.disposeCurrentRequest())},onNext:function(n){this.requestedCount<=0?this.enableQueue&&this.queue.push(ne.createOnNext(n)):(0==this.requestedCount--&&this.disposeCurrentRequest(),this.subject.onNext(n))},_processRequest:function(n){if(this.enableQueue)for(;this.queue.length>0&&(n>0||"N"!==this.queue[0].kind);){var e=this.queue.shift();e.accept(this.subject),"N"===e.kind?n--:(this.disposeCurrentRequest(),this.queue=[])}return n},request:function(n){this.disposeCurrentRequest();var e=this;return this.requestedDisposable=this.scheduler.schedule(n,(function(n,l){var t=e._processRequest(l);if(!(e.hasCompleted||e.hasFailed)&&t>0)return e.requestedCount=t,_n((function(){e.requestedCount=0}))})),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),e}(ge);se.controlled=function(n,e){return n&&Vn(n)&&(e=n,n=!0),null==n&&(n=!0),new Ai(this,n,e)};var Ci=function(n){function e(e){n.call(this),this.source=e}function l(n,e){return e.source.request(1)}gn(e,n),e.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new t(n,this,this.subscription)),new En(this.subscription,$n.schedule(this,l))};var t=function(n){function e(e,l,t){n.call(this),this.observer=e,this.observable=l,this.cancel=t,this.scheduleDisposable=null}function l(n,e){return e.observable.source.request(1)}return gn(e,n),e.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},e.prototype.error=function(n){this.observer.onError(n),this.dispose()},e.prototype.next=function(n){this.observer.onNext(n),this.scheduleDisposable=$n.schedule(this,l)},e.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),n.prototype.dispose.call(this)},e}(ce);return e}(ge);Ai.prototype.stopAndWait=function(){return new Ci(this)};var xi=function(n){function e(e,l){n.call(this),this.source=e,this.windowSize=l}function l(n,e){return e.source.request(e.windowSize)}gn(e,n),e.prototype._subscribe=function(n){return this.subscription=this.source.subscribe(new t(n,this,this.subscription)),new En(this.subscription,$n.schedule(this,l))};var t=function(n){function e(e,l,t){this.observer=e,this.observable=l,this.cancel=t,this.received=0,this.scheduleDisposable=null,n.call(this)}function l(n,e){return e.observable.source.request(e.observable.windowSize)}return gn(e,n),e.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},e.prototype.error=function(n){this.observer.onError(n),this.dispose()},e.prototype.next=function(n){this.observer.onNext(n),this.received=++this.received%this.observable.windowSize,0===this.received&&(this.scheduleDisposable=$n.schedule(this,l))},e.prototype.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),n.prototype.dispose.call(this)},e}(ce);return e}(ge);Ai.prototype.windowed=function(n){return new xi(this,n)},se.pipe=function(n){var e=this.pausableBuffered();function l(){e.resume()}return n.addListener("drain",l),e.subscribe((function(l){!n.write(l)&&e.pause()}),(function(e){n.emit("error",e)}),(function(){!n._isStdio&&n.end(),n.removeListener("drain",l)})),e.resume(),n};var ki=function(n){function e(e,l,t){this.source=e,this._fn1=l,this._fn2=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){var e=this.source.multicast(this._fn1());return new En(this._fn2(e).subscribe(n),e.connect())},e}(me);se.multicast=function(n,e){return k(n)?new ki(this,n,e):new Pi(this,n)},se.publish=function(n){return n&&k(n)?this.multicast((function(){return new zo}),n):this.multicast(new zo)},se.share=function(){return this.publish().refCount()},se.publishLast=function(n){return n&&k(n)?this.multicast((function(){return new Ho}),n):this.multicast(new Ho)},se.publishValue=function(n,e){return 2===arguments.length?this.multicast((function(){return new Go(e)}),n):this.multicast(new Go(n))},se.shareValue=function(n){return this.publishValue(n).refCount()},se.replay=function(n,e,l,t){return n&&k(n)?this.multicast((function(){return new Yo(e,l,t)}),n):this.multicast(new Yo(e,l,t))},se.shareReplay=function(n,e,l){return this.replay(null,n,e,l).refCount()};var _i=function(n,e){this._s=n,this._o=e};_i.prototype.dispose=function(){if(!this._s.isDisposed&&null!==this._o){var n=this._s.observers.indexOf(this._o);this._s.observers.splice(n,1),this._o=null}};var Si=function(n){function e(e){this.source=e,this._count=0,this._connectableSubscription=null,n.call(this)}function l(n,e){this._p=n,this._s=e,this.isDisposed=!1}return gn(e,n),e.prototype.subscribeCore=function(n){var e=this.source.subscribe(n);return 1==++this._count&&(this._connectableSubscription=this.source.connect()),new l(this,e)},l.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),0==--this._p._count&&this._p._connectableSubscription.dispose())},e}(me),Pi=m.ConnectableObservable=function(n){function e(e,l){this.source=e,this._connection=null,this._source=e.asObservable(),this._subject=l,n.call(this)}function l(n,e){this._p=n,this._s=e}return gn(e,n),l.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},e.prototype.connect=function(){if(!this._connection){if(this._subject.isStopped)return Sn;var n=this._source.subscribe(this._subject);this._connection=new l(this,n)}return this._connection},e.prototype._subscribe=function(n){return this._subject.subscribe(n)},e.prototype.refCount=function(){return new Si(this)},e}(ge);function Vl(n){return n.toArray()}function Ii(n,e){return n.groupJoin(this,e,Le,(function(n,e){return e}))}function Oi(n){var e=this;return new Fo((function(l){var t=new zo,i=new Cn,o=new Rn(i);return l.onNext(vn(t,o)),i.add(e.subscribe((function(n){t.onNext(n)}),(function(n){t.onError(n),l.onError(n)}),(function(){t.onCompleted(),l.onCompleted()}))),x(n)&&(n=Oe(n)),i.add(n.subscribe((function(n){t.onCompleted(),t=new zo,l.onNext(vn(t,o))}),(function(n){t.onError(n),l.onError(n)}),(function(){t.onCompleted(),l.onCompleted()}))),o}),e)}function Ti(n){var e=this;return new Fo((function(l){var t=new Mn,i=new Cn(t),o=new Rn(i),u=new zo;return l.onNext(vn(u,o)),i.add(e.subscribe((function(n){u.onNext(n)}),(function(n){u.onError(n),l.onError(n)}),(function(){u.onCompleted(),l.onCompleted()}))),function e(){var i;try{i=n()}catch(a){return void l.onError(a)}x(i)&&(i=Oe(i));var r=new Tn;t.setDisposable(r),r.setDisposable(i.take(1).subscribe(v,(function(n){u.onError(n),l.onError(n)}),(function(){u.onCompleted(),u=new zo,l.onNext(vn(u,o)),e()})))}(),o}),e)}se.singleInstance=function(){var n,e=this,l=!1;return new Fo((function(t){return(l||(l=!0,n=e.finally((function(){l=!1})).publish().refCount()),n).subscribe(t)}))},se.join=function(n,e,l,t){var i=this;return new Fo((function(o){var u=new Cn,r=!1,a=!1,s=0,c=0,d=new Vi,p=new Vi,h=function(n){o.onError(n)};return u.add(i.subscribe((function(n){var l=s++,i=new Tn;d.set(l,n),u.add(i);var a=P(e)(n);if(a===S)return o.onError(a.e);i.setDisposable(a.take(1).subscribe(v,h,(function(){d.delete(l)&&0===d.size&&r&&o.onCompleted(),u.remove(i)}))),p.forEach((function(e){var l=P(t)(n,e);if(l===S)return o.onError(l.e);o.onNext(l)}))}),h,(function(){r=!0,(a||0===d.size)&&o.onCompleted()}))),u.add(n.subscribe((function(n){var e=c++,i=new Tn;p.set(e,n),u.add(i);var r=P(l)(n);if(r===S)return o.onError(r.e);i.setDisposable(r.take(1).subscribe(v,h,(function(){p.delete(e)&&0===p.size&&a&&o.onCompleted(),u.remove(i)}))),d.forEach((function(e){var l=P(t)(e,n);if(l===S)return o.onError(l.e);o.onNext(l)}))}),h,(function(){a=!0,(r||0===p.size)&&o.onCompleted()}))),u}),i)},se.groupJoin=function(n,e,l,t){var i=this;return new Fo((function(o){var u=new Cn,r=new Rn(u),a=new Vi,s=new Vi,c=0,d=0,p=function(n){return function(e){e.onError(n)}};function p(n){}return u.add(i.subscribe((function(n){var l=new zo,i=c++;a.set(i,l);var d=P(t)(n,vn(l,r));if(d===S)return a.forEach(p(d.e)),o.onError(d.e);o.onNext(d),s.forEach((function(n){l.onNext(n)}));var h=new Tn;u.add(h);var f=P(e)(n);if(f===S)return a.forEach(p(f.e)),o.onError(f.e);h.setDisposable(f.take(1).subscribe(v,(function(n){a.forEach(p(n)),o.onError(n)}),(function(){a.delete(i)&&l.onCompleted(),u.remove(h)})))}),(function(n){a.forEach(p(n)),o.onError(n)}),(function(){o.onCompleted()}))),u.add(n.subscribe((function(n){var e=d++;s.set(e,n);var t=new Tn;u.add(t);var i=P(l)(n);if(i===S)return a.forEach(p(i.e)),o.onError(i.e);t.setDisposable(i.take(1).subscribe(v,(function(n){a.forEach(p(n)),o.onError(n)}),(function(){s.delete(e),u.remove(t)}))),a.forEach((function(e){e.onNext(n)}))}),(function(n){a.forEach(p(n)),o.onError(n)}))),r}),i)},se.buffer=function(){return this.window.apply(this,arguments).flatMap(Vl)},se.window=function(n,e){return 1===arguments.length&&"function"!=typeof arguments[0]?Oi.call(this,n):"function"==typeof n?Ti.call(this,n):Ii.call(this,n,e)};var Mi=function(n){function e(e){this.source=e,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new Ei(n))},e}(me),Ei=function(n){function e(e){this._o=e,this._p=null,this._hp=!1,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._hp?this._o.onNext([this._p,n]):this._hp=!0,this._p=n},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.pairwise=function(){return new Mi(this)},se.partition=function(n,e){var l=W(n,e,3);return[this.filter(n,e),this.filter((function(n,e,t){return!l(n,e,t)}))]};var Di=function(n){function e(n,e){this.c=n,this.s=e}return gn(e,n),e.prototype[H]=function(){var n=this;return{next:function(){return n.c()?{done:!1,value:n.s}:{done:!0,value:void 0}}}},e}(be);se.letBind=se.let=function(n){return n(this)},ge.if=function(n,e,l){return Ee((function(){return l||(l=Le()),x(e)&&(e=Oe(e)),x(l)&&(l=Oe(l)),"function"==typeof l.now&&(l=Le(l)),n()?e:l}))},ge.for=ge.forIn=function(n,e,l){return _e(n,e,l).concat()};var Ri=ge.while=ge.whileDo=function(n,e){return x(e)&&(e=Oe(e)),function(n,e){return new Di(n,e)}(n,e).concat()};se.doWhile=function(n){return fl([this,Ri(n,this)])},ge.case=function(n,e,l){return Ee((function(){x(l)&&(l=Oe(l)),l||(l=Le()),Vn(l)&&(l=Le(l));var t=e[n()];return x(t)&&(t=Oe(t)),t||l}))};var Li=function(n){function e(e,l,t){this.source=e,this._fn=l,this._scheduler=t,n.call(this)}function l(n,e){var l,t=n[0],i=n[1];if(t.q.length>0){l=t.q.shift();var o=new Tn;t.d.add(o),o.setDisposable(l.subscribe(new Ni(t,i,o))),e([t,i])}else t.isAcquired=!1}return gn(e,n),e.prototype._ensureActive=function(n){var e=!1;n.q.length>0&&(e=!n.isAcquired,n.isAcquired=!0),e&&n.m.setDisposable(this._scheduler.scheduleRecursive([n,this],l))},e.prototype.subscribeCore=function(n){var e=new Mn,l=new Cn(e),t={q:[],m:e,d:l,activeCount:0,isAcquired:!1,o:n};return t.q.push(this.source),t.activeCount++,this._ensureActive(t),l},e}(me),Ni=function(n){function e(e,l,t){this._s=e,this._p=l,this._m1=t,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._s.o.onNext(n);var e=P(this._p._fn)(n);if(e===S)return this._s.o.onError(e.e);this._s.q.push(e),this._s.activeCount++,this._p._ensureActive(this._s)},e.prototype.error=function(n){this._s.o.onError(n)},e.prototype.completed=function(){this._s.d.remove(this._m1),this._s.activeCount--,0===this._s.activeCount&&this._s.o.onCompleted()},e}(ce);function al(){for(var n=arguments.length,e=new Array(n),l=0;l 0){var u=l.now();(i=new Date(i.getTime()+o)).getTime()<=u&&(i=new Date(u+o))}t.onNext(n),e(n+1,new Date(i))}))}))}function Qi(n,e,l){return n===e?new Fo((function(n){return l.schedulePeriodic(0,e,(function(e){return n.onNext(e),e+1}))})):Ee((function(){return Wi(new Date(l.now()+n),e,l)}))}var Ki=ge.interval=function(n,e){return Qi(n,n,Vn(e)?e:$n)};ge.timer=function(n,e,l){var t;return Vn(l)||(l=$n),null!=e&&"number"==typeof e?t=e:Vn(e)&&(l=e),(n instanceof Date||"number"==typeof n)&&t===i?function(n,e){return new qi(n,e)}(n,l):n instanceof Date&&t!==i?Wi(n,e,l):Qi(n,t,l)};function Ji(n,e,l){return new Fo((function(t){var i,o=!1,u=new Mn,r=null,a=[],s=!1;return i=n.materialize().timestamp(l).subscribe((function(n){var i,c;"E"===n.value.kind?((a=[]).push(n),r=n.value.error,c=!s):(a.push({value:n.value,timestamp:n.timestamp+e}),c=!o,o=!0),c&&(null!==r?t.onError(r):(i=new Tn,u.setDisposable(i),i.setDisposable(l.scheduleRecursiveFuture(null,e,(function(n,e){var i,u,c,d;if(null===r){s=!0;do{c=null,a.length>0&&a[0].timestamp-l.now()<=0&&(c=a.shift().value),null!==c&&c.accept(t)}while(null!==c);d=!1,u=0,a.length>0?(d=!0,u=Math.max(0,a[0].timestamp-l.now())):o=!1,s=!1,null!==(i=r)?t.onError(i):d&&e(null,u)}})))))})),new En(i,u)}),n)}function Xi(n,e,l){return Ee((function(){return Ji(n,e-l.now(),l)}))}function $i(n,e,l){var t,i;return k(e)?i=e:(t=e,i=l),new Fo((function(e){var l=new Cn,o=!1,u=new Mn;function r(){u.setDisposable(n.subscribe((function(n){var t=P(i)(n);if(t===S)return e.onError(t.e);var o=new Tn;l.add(o),o.setDisposable(t.subscribe((function(){e.onNext(n),l.remove(o),a()}),(function(n){e.onError(n)}),(function(){e.onNext(n),l.remove(o),a()})))}),(function(n){e.onError(n)}),(function(){o=!0,u.dispose(),a()})))}function a(){o&&0===l.length&&e.onCompleted()}return t?u.setDisposable(t.subscribe(r,(function(n){e.onError(n)}),r)):r(),new En(u,l)}),n)}se.delay=function(){var n=arguments[0];if("number"==typeof n||n instanceof Date){var e=n,l=arguments[1];return Vn(l)||(l=$n),e instanceof Date?Xi(this,e,l):Ji(this,e,l)}if(ge.isObservable(n)||k(n))return $i(this,n,arguments[1]);throw new Error("Invalid arguments")};var Zi=function(n){function e(e,l,t){Vn(t)||(t=$n),this.source=e,this._dt=l,this._s=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){var e=new Mn;return new En(this.source.subscribe(new no(n,this._dt,this._s,e)),e)},e}(me),no=function(n){function e(e,l,t,i){this._o=e,this._d=l,this._scheduler=t,this._c=i,this._v=null,this._hv=!1,this._id=0,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._hv=!0,this._v=n;var e=++this._id,l=new Tn;this._c.setDisposable(l),l.setDisposable(this._scheduler.scheduleFuture(this,this._d,(function(l,t){t._hv&&t._id===e&&t._o.onNext(n),t._hv=!1})))},e.prototype.error=function(n){this._c.dispose(),this._o.onError(n),this._hv=!1,this._id++},e.prototype.completed=function(){this._c.dispose(),this._hv&&this._o.onNext(this._v),this._o.onCompleted(),this._hv=!1,this._id++},e}(ce);function eo(n,e){return new Fo((function(l){var t,i=!1,o=new Mn,u=0,r=n.subscribe((function(n){var r=P(e)(n);if(r===S)return l.onError(r.e);x(r)&&(r=Oe(r)),i=!0,t=n;var a=++u,s=new Tn;o.setDisposable(s),s.setDisposable(r.subscribe((function(){i&&u===a&&l.onNext(t),i=!1,s.dispose()}),(function(n){l.onError(n)}),(function(){i&&u===a&&l.onNext(t),i=!1,s.dispose()})))}),(function(n){o.dispose(),l.onError(n),i=!1,u++}),(function(){o.dispose(),i&&l.onNext(t),l.onCompleted(),i=!1,u++}));return new En(r,o)}),n)}function Vl(n){return n.toArray()}function Vl(n){return n.toArray()}se.debounce=function(){if(k(arguments[0]))return eo(this,arguments[0]);if("number"==typeof arguments[0])return new Zi(this,arguments[0],arguments[1]);throw new Error("Invalid arguments")},se.windowWithTime=se.windowTime=function(n,e,l){var t,i=this;return null==e&&(t=n),Vn(l)||(l=$n),"number"==typeof e?t=e:Vn(e)&&(t=n,l=e),new Fo((function(e){var o,u,r=t,a=n,s=[],c=new Mn,d=0;return o=new Cn(c),u=new Rn(o),s.push(new zo),e.onNext(vn(s[0],u)),function n(){var i=new Tn,o=!1,p=!1;c.setDisposable(i),a===r?(o=!0,p=!0):a 0&&e-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){for(var n=this._s.now();this._q.length>0&&n-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},e}(ce);se.skipLastWithTime=function(n,e){return Vn(e)||(e=$n),new mo(this,n,e)};var bo=function(n){function e(e,l,t){this.source=e,this._d=l,this._s=t,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){return this.source.subscribe(new yo(n,this._d,this._s))},e}(me),yo=function(n){function e(e,l,t){this._o=e,this._d=l,this._s=t,this._q=[],n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=this._s.now();for(this._q.push({interval:e,value:n});this._q.length>0&&e-this._q[0].interval>=this._d;)this._q.shift()},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){for(var n=this._s.now();this._q.length>0;){var e=this._q.shift();n-e.interval<=this._d&&this._o.onNext(e.value)}this._o.onCompleted()},e}(ce);se.takeLastWithTime=function(n,e){return Vn(e)||(e=$n),new bo(this,n,e)},se.takeLastBufferWithTime=function(n,e){var l=this;return Vn(e)||(e=$n),new Fo((function(t){var i=[];return l.subscribe((function(l){var t=e.now();for(i.push({interval:t,value:l});i.length>0&&t-i[0].interval>=n;)i.shift()}),(function(n){t.onError(n)}),(function(){for(var l=e.now(),o=[];i.length>0;){var u=i.shift();l-u.interval<=n&&o.push(u.value)}t.onNext(o),t.onCompleted()}))}),l)};var Ao=function(n){function e(e,l,t){this.source=e,this._d=l,this._s=t,n.call(this)}function l(n,e){e.onCompleted()}return gn(e,n),e.prototype.subscribeCore=function(n){return new En(this._s.scheduleFuture(n,this._d,l),this.source.subscribe(n))},e}(me);se.takeWithTime=function(n,e){return Vn(e)||(e=$n),new Ao(this,n,e)};var wo=function(n){function e(e,l,t){this.source=e,this._d=l,this._s=t,this._open=!1,n.call(this)}function l(n,e){e._open=!0}return gn(e,n),e.prototype.subscribeCore=function(n){return new En(this._s.scheduleFuture(this,this._d,l),this.source.subscribe(new Co(n,this)))},e}(me),Co=function(n){function e(e,l){this._o=e,this._p=l,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._p._open&&this._o.onNext(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.skipWithTime=function(n,e){return Vn(e)||(e=$n),new wo(this,n,e)};var xo=function(n){function e(e,l,t){this.source=e,this._st=l,this._s=t,n.call(this)}function l(n,e){e._open=!0}return gn(e,n),e.prototype.subscribeCore=function(n){return this._open=!1,new En(this._s.scheduleFuture(this,this._st,l),this.source.subscribe(new ko(n,this)))},e}(me),ko=function(n){function e(e,l){this._o=e,this._p=l,n.call(this)}return gn(e,n),e.prototype.next=function(n){this._p._open&&this._o.onNext(n)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._o.onCompleted()},e}(ce);se.skipUntilWithTime=function(n,e){return Vn(e)||(e=$n),new xo(this,n,e)},se.takeUntilWithTime=function(n,e){Vn(e)||(e=$n);var l=this;return new Fo((function(t){return new En(e.scheduleFuture(t,n,(function(n,e){e.onCompleted()})),l.subscribe(t))}),l)},se.throttle=function(n,e){Vn(e)||(e=$n);var l=+n||0;if(l<=0)throw new RangeError("windowDuration cannot be less or equal zero.");var t=this;return new Fo((function(n){var i=0;return t.subscribe((function(t){var o=e.now();(0===i||o-i>=l)&&(i=o,n.onNext(t))}),(function(e){n.onError(e)}),(function(){n.onCompleted()}))}),t)};var _o=function(n){function e(e,l){this._o=e,this._xform=l,n.call(this)}return gn(e,n),e.prototype.next=function(n){var e=P(this._xform["@@transducer/step"]).call(this._xform,this._o,n);e===S&&this._o.onError(e.e)},e.prototype.error=function(n){this._o.onError(n)},e.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},e}(ce);se.transduce=function(n){var e=this;return new Fo((function(l){var t=n(function(n){return{"@@transducer/init":function(){return n},"@@transducer/step":function(n,e){return n.onNext(e)},"@@transducer/result":function(n){return n.onCompleted()}}}(l));return e.subscribe(new _o(l,t))}),e)};var So=function(n){function e(e){this.source=e,n.call(this)}return gn(e,n),e.prototype.subscribeCore=function(n){var e=new Tn,l=new Cn,t={hasCurrent:!1,isStopped:!1,o:n,g:l};return l.add(e),e.setDisposable(this.source.subscribe(new Po(t))),l},e}(me),Po=function(n){function e(e){this._s=e,n.call(this)}function l(e,l){this._s=e,this._i=l,n.call(this)}return gn(e,n),e.prototype.next=function(n){if(!this._s.hasCurrent){this._s.hasCurrent=!0,x(n)&&(n=Oe(n));var e=new Tn;this._s.g.add(e),e.setDisposable(n.subscribe(new l(this._s,e)))}},e.prototype.error=function(n){this._s.o.onError(n)},e.prototype.completed=function(){this._s.isStopped=!0,!this._s.hasCurrent&&1===this._s.g.length&&this._s.o.onCompleted()},gn(l,n),l.prototype.next=function(n){this._s.o.onNext(n)},l.prototype.error=function(n){this._s.o.onError(n)},l.prototype.completed=function(){this._s.g.remove(this._i),this._s.hasCurrent=!1,this._s.isStopped&&1===this._s.g.length&&this._s.o.onCompleted()},e}(ce);se.switchFirst=function(){return new So(this)},se.flatMapFirst=se.exhaustMap=function(n,e,l){return new ve(this,n,e,l).switchFirst()},se.flatMapWithMaxConcurrent=se.flatMapMaxConcurrent=function(n,e,l,t){return new ve(this,e,l,t).merge(n)};var Io=m.VirtualTimeScheduler=function(n){function e(e,l){this.clock=e,this.comparer=l,this.isEnabled=!1,this.queue=new An(1024),n.call(this)}gn(e,n);var l=e.prototype;return l.now=function(){return this.toAbsoluteTime(this.clock)},l.schedule=function(n,e){return this.scheduleAbsolute(n,this.clock,e)},l.scheduleFuture=function(n,e,l){var t=e instanceof Date?this.toRelativeTime(e-this.now()):this.toRelativeTime(e);return this.scheduleRelative(n,t,l)},l.add=z,l.toAbsoluteTime=z,l.toRelativeTime=z,l.schedulePeriodic=function(n,e,l){return new Hn(this,n,e,l).start()},l.scheduleRelative=function(n,e,l){var t=this.add(this.clock,e);return this.scheduleAbsolute(n,t,l)},l.start=function(){if(!this.isEnabled){this.isEnabled=!0;do{var n=this.getNext();null!==n?(this.comparer(n.dueTime,this.clock)>0&&(this.clock=n.dueTime),n.invoke()):this.isEnabled=!1}while(this.isEnabled)}},l.stop=function(){this.isEnabled=!1},l.advanceTo=function(n){var e=this.comparer(this.clock,n);if(this.comparer(this.clock,n)>0)throw new j;if(0!==e&&!this.isEnabled){this.isEnabled=!0;do{var l=this.getNext();null!==l&&this.comparer(l.dueTime,n)<=0?(this.comparer(l.dueTime,this.clock)>0&&(this.clock=l.dueTime),l.invoke()):this.isEnabled=!1}while(this.isEnabled);this.clock=n}},l.advanceBy=function(n){var e=this.add(this.clock,n),l=this.comparer(this.clock,e);if(l>0)throw new j;0!==l&&this.advanceTo(e)},l.sleep=function(n){var e=this.add(this.clock,n);if(this.comparer(this.clock,e)>=0)throw new j;this.clock=e},l.getNext=function(){for(;this.queue.length>0;){var n=this.queue.peek();if(!n.isCancelled())return n;this.queue.dequeue()}return null},l.scheduleAbsolute=function(n,e,l){var t=this;var i=new Bn(this,n,(function(n,e){return t.queue.remove(i),l(n,e)}),e,this.comparer);return this.queue.enqueue(i),i.disposable},e}(Fn);function Oo(n){this.predicate=n}function To(n){this.predicate=n}m.HistoricalScheduler=function(n){function e(e,l){var t=null==e?0:e,i=l||w;n.call(this,t,i)}gn(e,n);var l=e.prototype;return l.add=function(n,e){return n+e},l.toAbsoluteTime=function(n){return new Date(n).getTime()},l.toRelativeTime=function(n){return n},e}(m.VirtualTimeScheduler),Oo.prototype.equals=function(n){return n===this||null!=n&&("N"===n.kind&&this.predicate(n.value))},To.prototype.equals=function(n){return n===this||null!=n&&("E"===n.kind&&this.predicate(n.error))};var Mo=m.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(n,e){return new Eo(n,"function"==typeof e?new Oo(e):ne.createOnNext(e))},onError:function(n,e){return new Eo(n,"function"==typeof e?new To(e):ne.createOnError(e))},onCompleted:function(n){return new Eo(n,ne.createOnCompleted())},subscribe:function(n,e){return new Do(n,e)}},Eo=m.Recorded=function(n,e,l){this.time=n,this.value=e,this.comparer=l||A};Eo.prototype.equals=function(n){return this.time===n.time&&this.comparer(this.value,n.value)},Eo.prototype.toString=function(){return this.value.toString()+"@"+this.time};var Do=m.Subscription=function(n,e){this.subscribe=n,this.unsubscribe=e||Number.MAX_VALUE};Do.prototype.equals=function(n){return this.subscribe===n.subscribe&&this.unsubscribe===n.unsubscribe},Do.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"},(m.MockDisposable=function(n){this.scheduler=n,this.disposes=[],this.disposes.push(this.scheduler.clock)}).prototype.dispose=function(){this.disposes.push(this.scheduler.clock)};var Ro=function(n){function e(e){n.call(this),this.scheduler=e,this.messages=[]}gn(e,n);var l=e.prototype;return l.onNext=function(n){this.messages.push(new Eo(this.scheduler.clock,ne.createOnNext(n)))},l.onError=function(n){this.messages.push(new Eo(this.scheduler.clock,ne.createOnError(n)))},l.onCompleted=function(){this.messages.push(new Eo(this.scheduler.clock,ne.createOnCompleted()))},e}(re);function Lo(n,e){var l=this;this.scheduler=n,this.messages=e,this.subscriptions=[],this.observers=[];for(var t=0,i=this.messages.length;te?1:n 0},onCompleted:function(){if(In(this),!this.isStopped){this.isStopped=!0;for(var n=0,e=_(this.observers),l=e.length;n 0},onCompleted:function(){var n;if(In(this),!this.isStopped){this.isStopped=!0;var e=_(this.observers),l=e.length;if(this.hasValue)for(n=0;n 0},onCompleted:function(){if(In(this),!this.isStopped){this.isStopped=!0;for(var n=0,e=_(this.observers),l=e.length;n 0},_trim:function(n){for(;this.q.length>this.bufferSize;)this.q.shift();for(;this.q.length>0&&n-this.q[0].interval>this.windowSize;)this.q.shift()},onNext:function(n){if(In(this),!this.isStopped){var e=this.scheduler.now();this.q.push({interval:e,value:n}),this._trim(e);for(var l=0,t=_(this.observers),i=t.length;l\n \n '+(null==(e=n.sidebar)?"":e)+'\n\n\n\n\n"}},"9FkI":function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{wieght:200,type:"select",datasrc:"values",key:"fields.day.type",label:"Type",data:{values:[{label:"Number",value:"number"},{label:"Select",value:"select"}]}},{weight:210,type:"textfield",input:!0,key:"fields.day.placeholder",label:"Placeholder",placeholder:"Day Placeholder",tooltip:"The placeholder text that will appear when Day field is empty."},{weight:215,type:"checkbox",label:"Hidden",tooltip:"Hide the Day part of the component.",key:"fields.day.hide",input:!0},{weight:214,type:"checkbox",label:"Day First",tooltip:"Display the Day field before the Month field.",key:"dayFirst",input:!0}]},"9JVa":function(n,e,l){"use strict";var t=l("wE6v"),i=TypeError;n.exports=function(n){var e=t(n,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}},"9N29":function(n,e,l){"use strict";var t=l("I+eb"),i=l("1Y/n").right,o=l("pkCn"),u=l("LQDL");t({target:"Array",proto:!0,forced:!l("YF1G")&&u>79&&u<83||!o("reduceRight")},{reduceRight:function(n){return i(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9Nap":function(n,e,l){var t=l("/9aa");n.exports=function(n){if("string"==typeof n||t(n))return n;var e=n+"";return"0"==e&&1/n==-1/0?"-0":e}},"9OqN":function(n,e,l){var t,i,o;n.exports=(o=l("Ib8C"),l("OLod"),o.mode.CTR=(t=o.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(n,e){var l=this._cipher,t=l.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var u=o.slice(0);l.encryptBlock(u,0),o[t-1]=o[t-1]+1|0;for(var r=0;r \n\n '+(null==(e=n.form)?"":e)+"\n\n>>0}},"9n4b":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n ',n.label.hidden||(l+='\n\n\n",n.component.description&&(l+='\n\n '+(null==(e=n.labelMarkup)?"":e)+"\n\n "),l+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n\n \n\n '),l+='\n\n\n '+(null==(e=n.element)?"":e)+"\n\n'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"\n"),l+="\n"}},"9oFN":function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("PNrC");e.default={form:t.default}},"9rRi":function(n,e,l){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(n){return n+(1===n?"d":n%10==2?"na":"mh")},week:{dow:1,doy:4}})}(l("wd/R"))},"9sl3":function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+='\n\n",!n.readOnly&&n.hasAddButton&&(l+='\n\n"),l+="\n"}},"A+qq":function(n,e,l){"use strict";l("eoL8"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),l("ENF9"),l("5DmW"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("zKZe"),l("ma9I"),l("QWBl"),l("07d7"),l("FZtP"),l("Rfxz"),l("J30X"),l("DQNa"),l("JfAA"),l("oVuX"),l("2B1R"),l("TWNs"),l("rB9j"),l("yXV3"),l("UxlC"),l("yq1k"),l("JTJg"),l("+2oP"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV");var t=d(l("0iw5")),i=l("1eKU"),o=function(n,e){if(!e&&n&&n.__esModule)return n;if(null===n||"object"!==p(n)&&"function"!=typeof n)return{default:n};var l=c(e);if(l&&l.has(n))return l.get(n);var t={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if("default"!==o&&Object.prototype.hasOwnProperty.call(n,o)){var u=i?Object.getOwnPropertyDescriptor(n,o):null;u&&(u.get||u.set)?Object.defineProperty(t,o,u):t[o]=n[o]}t.default=n,l&&l.set(n,t);return t}(l("5P0i")),u=d(l("XzT5")),r=d(l("LvDl")),a=d(l("wd/R")),s=d(l("uIYt"));function c(n){if("function"!=typeof WeakMap)return null;var e=new WeakMap,l=new WeakMap;return(c=function(n){return n?l:e})(n)}function d(n){return n&&n.__esModule?n:{default:n}}function p(n){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function h(n,e){for(var l=0;l\n\n\n ',n.header&&(l+='\n \n '+(null==(e=n.header)?"":e)+"\n \n "),l+='\n \n ',n.rows.forEach((function(t,i){l+='\n
\n\n '+(null==(e=t)?"":e)+"\n ",n.openRows[i]&&!n.readOnly&&(l+='\n \n "})),l+="\n \n ",n.footer&&(l+="\n \n\n \n "),l+="\n ",n.errors[i]&&(l+='\n\n \n ",n.component.removeRow&&(l+='\n \n "),l+="\n\n\n \n "),l+="\n\n\n\n '+(null==(e=n.errors[i])?"":e)+"\n\n\n "+(null==(e=n.footer)?"":e)+"\n \n \n "),l+="\n3&&void 0!==arguments[3]&&arguments[3];if(this.events){var i="".concat(this.options.namespace,".").concat(n);return e.id=this.id,e.key=this.key,e.internal=l,this.events[t?"once":"on"](i,e)}}},{key:"once",value:function(n,e,l){return this.on(n,e,l,!0)}},{key:"onAny",value:function(n){if(this.events)return this.events.onAny(n)}},{key:"offAny",value:function(n){if(this.events)return this.events.offAny(n)}},{key:"off",value:function(n,e){var l=this;if(this.events){var t="".concat(this.options.namespace,".").concat(n);this.events.listeners(t).forEach((function(n){n&&n.id===l.id&&(e&&e!==n||l.events.off(t,n))}))}}},{key:"emit",value:function(n){if(this.events){for(var e,l=arguments.length,t=new Array(l>1?l-1:0),i=1;i 2&&void 0!==arguments[2]?arguments[2]:null,i=[];if(n)return this.eventHandlers.forEach((function(o,u){o.id!==l.id||!n.removeEventListener||o.type!==e||t&&o.func!==t||(n.removeEventListener(e,o.func),i.push(u))})),i.length&&r.default.pullAt(this.eventHandlers,i),this}},{key:"removeEventListeners",value:function(){var n=this;this.eventHandlers.forEach((function(e){n.id===e.id&&e.type&&e.obj&&e.obj.removeEventListener&&e.obj.removeEventListener(e.type,e.func)})),this.eventHandlers=[]}},{key:"removeAllEvents",value:function(n){var e=this;r.default.each(this.events._events,(function(l,t){r.default.each(l,(function(l){l&&e.id===l.id&&(n||l.internal)&&e.events.off(t,l)}))}))}},{key:"destroy",value:function(){this.removeEventListeners(),this.removeAllEvents()}},{key:"appendTo",value:function(n,e){return null==e||e.appendChild(n),this}},{key:"prependTo",value:function(n,e){if(e)if(e.firstChild)try{e.insertBefore(n,e.firstChild)}catch(l){console.warn(l),e.appendChild(n)}else e.appendChild(n);return this}},{key:"removeChildFrom",value:function(n,e){if(e&&e.contains(n))try{e.removeChild(n)}catch(l){console.warn(l)}return this}},{key:"ce",value:function(n,e){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,t=document.createElement(n);return e&&this.attr(t,e),this.appendChild(t,l),t}},{key:"appendChild",value:function(n,e){var l=this;return Array.isArray(e)?e.forEach((function(e){return l.appendChild(n,e)})):e instanceof HTMLElement||e instanceof Text?n.appendChild(e):e&&n.appendChild(this.text(e.toString())),this}},{key:"maskPlaceholder",value:function(n){var e=this;return n.map((function(n){return n instanceof RegExp?e.placeholderChar:n})).join("")}},{key:"placeholderChar",get:function(){var n;return(null===(n=this.component)||void 0===n?void 0:n.inputMaskPlaceholderChar)||"_"}},{key:"setInputMask",value:function(n,e,l){if(n&&e){var t=o.getInputMask(e,this.placeholderChar);this.defaultMask=t;try{n.mask&&n.mask.destroy(),n.mask=(0,s.default)({inputElement:n,mask:t,placeholderChar:this.placeholderChar,shadowRoot:this.root?this.root.shadowRoot:null})}catch(i){console.warn(i)}t.numeric&&n.setAttribute("pattern","\\d*"),l&&n.setAttribute("placeholder",this.maskPlaceholder(t))}}},{key:"t",value:function(n){for(var e,l=arguments.length,t=new Array(l>1?l-1:0),i=1;i -1)}},{key:"addClass",value:function(n,e){if(!(n&&n instanceof HTMLElement))return this;var l=n.getAttribute("class");return null!=l&&l.includes(e)||n.setAttribute("class","".concat(l," ").concat(e)),this}},{key:"removeClass",value:function(n,e){if(!(n&&e&&n instanceof HTMLElement))return this;var l=n.getAttribute("class");return l&&(l=l.replace(new RegExp(" ".concat(e),"g"),""),n.setAttribute("class",l)),this}},{key:"empty",value:function(n){if(n)for(;n.firstChild;)n.removeChild(n.firstChild)}},{key:"evalContext",value:function(n){var e;return Object.assign({_:r.default,utils:o,util:o,user:i.GlobalFormio.getUser(),moment:a.default,instance:this,self:this,token:i.GlobalFormio.getToken({decode:!0}),config:this.root&&this.root.form&&this.root.form.config?this.root.form.config:null!==(e=this.options)&&void 0!==e&&e.formConfig?this.options.formConfig:{}},n,r.default.get(this.root,"options.evalContext",{}))}},{key:"interpolate",value:function(n,e){var l=this,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"function"==typeof n||!this.component.content&&!this.component.html||o.Evaluator.templateSettings.interpolate.test(n)||(n=o.translateHTMLTemplate(String(n),(function(n){return l.t(n)}))),o.interpolate(n,this.evalContext(e),t)}},{key:"evaluate",value:function(n,e,l,t){return o.evaluate(n,this.evalContext(e),l,t)}},{key:"hook",value:function(){var n=arguments[0];if(this.options&&this.options.hooks&&this.options.hooks[n])return this.options.hooks[n].apply(this,Array.prototype.slice.call(arguments,1));var e="function"==typeof arguments[arguments.length-1]?arguments[arguments.length-1]:null;return e?e(null,arguments[1]):arguments[1]}}])&&h(e.prototype,l),c&&h(e,c),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.default=f},"A+xa":function(n,e,l){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(n){return n+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(n)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(n)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(l("wd/R"))},A0fv:function(n,e,l){"use strict";l.r(e),l.d(e,"default",(function(){return y}));var t=/iPhone/i,i=/iPod/i,o=/iPad/i,u=/\biOS-universal(?:.+)Mac\b/i,r=/\bAndroid(?:.+)Mobile\b/i,a=/Android/i,s=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,c=/Silk/i,d=/Windows Phone/i,p=/\bWindows(?:.+)ARM\b/i,h=/BlackBerry/i,f=/BB10/i,g=/Opera Mini/i,m=/\b(CriOS|Chrome)(?:.+)Mobile/i,v=/Mobile(?:.+)Firefox\b/i,b=function(n){return void 0!==n&&"MacIntel"===n.platform&&"number"==typeof n.maxTouchPoints&&n.maxTouchPoints>1&&"undefined"==typeof MSStream};function y(n){var e={userAgent:"",platform:"",maxTouchPoints:0};n||"undefined"==typeof navigator?"string"==typeof n?e.userAgent=n:n&&n.userAgent&&(e={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0}):e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0};var l=e.userAgent,y=l.split("[FBAN");void 0!==y[1]&&(l=y[0]),void 0!==(y=l.split("Twitter"))[1]&&(l=y[0]);var A=function(n){return function(e){return e.test(n)}}(l),w={apple:{phone:A(t)&&!A(d),ipod:A(i),tablet:!A(t)&&(A(o)||b(e))&&!A(d),universal:A(u),device:(A(t)||A(i)||A(o)||A(u)||b(e))&&!A(d)},amazon:{phone:A(s),tablet:!A(s)&&A(c),device:A(s)||A(c)},android:{phone:!A(d)&&A(s)||!A(d)&&A(r),tablet:!A(d)&&!A(s)&&!A(r)&&(A(c)||A(a)),device:!A(d)&&(A(s)||A(c)||A(r)||A(a))||A(/\bokhttp\b/i)},windows:{phone:A(d),tablet:A(p),device:A(d)||A(p)},other:{blackberry:A(h),blackberry10:A(f),opera:A(g),firefox:A(v),chrome:A(m),device:A(h)||A(f)||A(g)||A(v)||A(m)},any:!1,phone:!1,tablet:!1};return w.any=w.apple.device||w.android.device||w.windows.device||w.other.device,w.phone=w.apple.phone||w.android.phone||w.windows.phone,w.tablet=w.apple.tablet||w.android.tablet||w.windows.tablet,w}},A2ZE:function(n,e,l){"use strict";var t=l("RiVN"),i=l("We1y"),o=l("QNWe"),u=t(t.bind);n.exports=function(n,e){return i(n),void 0===e?n:o?u(n,e):function(){return n.apply(e,arguments)}}},A90E:function(n,e,l){var t=l("6sVZ"),i=l("V6Ve"),o=Object.prototype.hasOwnProperty;n.exports=function(n){if(!t(n))return i(n);var e=[];for(var l in Object(n))o.call(n,l)&&"constructor"!=l&&e.push(l);return e}},AE40:function(n,e,l){var t=l("dunj"),i=l("jSBL"),o=l("zZ0H");n.exports=function(n){return n&&n.length?t(n,o,i):void 0}},AI7K:function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("ZQMv"))&&t.__esModule?t:{default:t}).default};e.default=i},AJTl:function(n,e,l){"use strict";var t,i=l("uy83"),o=l("2oRo"),u=l("4zBA"),r=l("aWRN"),a=l("8YOa"),s=l("bWFh"),c=l("rKzb"),d=l("hh1v"),p=l("afO8").enforce,h=l("0Dky"),f=l("zc4i"),g=Object,m=Array.isArray,v=g.isExtensible,b=g.isFrozen,y=g.isSealed,A=g.freeze,w=g.seal,C=!o.ActiveXObject&&"ActiveXObject"in o,x=function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},k=s("WeakMap",x,c),_=k.prototype,S=u(_.set);if(f)if(C){t=c.getConstructor(x,"WeakMap",!0),a.enable();var P=u(_.delete),I=u(_.has),O=u(_.get);r(_,{delete:function(n){if(d(n)&&!v(n)){var e=p(this);return e.frozen||(e.frozen=new t),P(this,n)||e.frozen.delete(n)}return P(this,n)},has:function(n){if(d(n)&&!v(n)){var e=p(this);return e.frozen||(e.frozen=new t),I(this,n)||e.frozen.has(n)}return I(this,n)},get:function(n){if(d(n)&&!v(n)){var e=p(this);return e.frozen||(e.frozen=new t),I(this,n)?O(this,n):e.frozen.get(n)}return O(this,n)},set:function(n,e){if(d(n)&&!v(n)){var l=p(this);l.frozen||(l.frozen=new t),I(this,n)?S(this,n,e):l.frozen.set(n,e)}else S(this,n,e);return this}})}else i&&h((function(){var n=A([]);return S(new k,n,1),!b(n)}))&&r(_,{set:function(n,e){var l;return m(n)&&(b(n)?l=A:y(n)&&(l=w)),S(this,n,e),l&&l(n),this}})},ALsQ:function(n,e,l){var t;n.exports=(t=l("Ib8C"),l("OLod"),t.mode.CFB=function(){var n=t.lib.BlockCipherMode.extend();function e(n,e,l,t){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,t.encryptBlock(i,0);for(var u=0;u \n ',n.util.eachComponent(n.components,(function(t){l+="\n ",t.hasOwnProperty("tableView")&&!t.tableView||(l+='\n \n '+(null==(e=n.getView(t,n.row[t.key]))?"":e)+"\n\n "),l+="\n "})),l+="\n ",n.self.options.readOnly||(l+='\n\n\n '),l+="\n\n"}},"AO7/":function(n,e,l){"use strict";var t={};t[l("tiKp")("toStringTag")]="z",n.exports="[object z]"===String(t)},AP2z:function(n,e,l){var t=l("nmnc"),i=Object.prototype,o=i.hasOwnProperty,u=i.toString,r=t?t.toStringTag:void 0;n.exports=function(n){var e=o.call(n,r),l=n[r];try{n[r]=void 0;var t=!0}catch(a){}var i=u.call(n);return t&&(e?n[r]=l:delete n[r]),i}},AQ68:function(n,e,l){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(l("wd/R"))},AX6E:function(n,e,l){"use strict";var t=l("Cjtg"),i=l("2+dE"),o=l("LjMW"),u=l("QQaq"),r=l("8Zre"),a=l("JHTY"),s=l("8aRX"),c=l("Tj4a"),d=l("lgV7"),p=l("tvXQ"),h=l("k7mr"),f=l("CUOH"),g=l("44OH"),m=l("NRtu"),v=l("td/M"),b=l("PZI0"),y=l("WmiJ"),A=l("rVwK"),w=l("szrm"),C=l("za4V"),x=l("M97N"),k=l("KTnV");n.exports={custom:t,date:i,day:o,email:u,json:r,mask:a,max:s,maxDate:c,maxLength:d,maxWords:p,min:h,minDate:f,minLength:g,minWords:m,pattern:v,required:b,select:y,unique:A,url:w,minYear:C,maxYear:x,time:k}},AbTg:function(n,e,l){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(n){var e={item:n,next:null},l=this.tail;l?l.next=e:this.head=e,this.tail=e},get:function(){var n=this.head;if(n)return null===(this.head=n.next)&&(this.tail=null),n.item}},n.exports=t},Ac7g:function(n,e,l){n.exports={Graph:l("lnHP"),version:l("w802")}},AevD:function(n,e,l){var t=l("M96O");function i(){this._arr=[],this._keyIndices={}}n.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(n){return n.key}))},i.prototype.has=function(n){return t.has(this._keyIndices,n)},i.prototype.priority=function(n){var e=this._keyIndices[n];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(n,e){var l=this._keyIndices;if(n=String(n),!t.has(l,n)){var i=this._arr,o=i.length;return l[n]=o,i.push({key:n,priority:e}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},i.prototype.decrease=function(n,e){var l=this._keyIndices[n];if(e>this._arr[l].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[l].priority+" New: "+e);this._arr[l].priority=e,this._decrease(l)},i.prototype._heapify=function(n){var e=this._arr,l=2*n,t=l+1,i=n;l\n \n \n\n>1].priority \n ',n.dayFirst&&n.showDay&&(l+='\n \n ',n.component.hideInputLabels||(l+='\n \n "),l+="\n\n "),l+="\n ",n.showMonth&&(l+='\n"+(null==(e=n.day)?"":e)+"\n\n ',n.component.hideInputLabels||(l+='\n \n "),l+="\n\n "),l+="\n ",!n.dayFirst&&n.showDay&&(l+='\n"+(null==(e=n.month)?"":e)+"\n\n ',n.component.hideInputLabels||(l+='\n \n "),l+="\n\n "),l+="\n ",n.showYear&&(l+='\n"+(null==(e=n.day)?"":e)+"\n\n ',n.component.hideInputLabels||(l+='\n \n "),l+="\n\n "),l+='\n\n\n'}},ApMm:function(n,e){},AvvY:function(n,e,l){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(n,e){return 12===n&&(n=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&n>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?n+12:n},meridiem:function(n,e,l){return n<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":n<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":n<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":n<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(l("wd/R"))},AxiF:function(n,e,l){"use strict";l.d(e,"a",(function(){return r}));var t=l("mrSG"),i=l("FFOo"),o=l("b7mW"),u=l("G5J1");function r(n){return function(e){return 0===n?Object(u.b)():e.lift(new a(n))}}var a=function(){function n(n){if(this.total=n,this.total<0)throw new o.a}return n.prototype.call=function(n,e){return e.subscribe(new s(n,this.total))},n}(),s=function(n){function e(e,l){var t=n.call(this,e)||this;return t.total=l,t.ring=new Array,t.count=0,t}return t.d(e,n),e.prototype._next=function(n){var e=this.ring,l=this.total,t=this.count++;e.length"+(null==(e=n.year)?"":e)+"\n0)for(var l=this.count>=this.total?this.total:this.count,t=this.ring,i=0;i n.length)&&(e=n.length);for(var l=0,t=new Array(e);l 1&&void 0!==arguments[1]?arguments[1]:{},t=b(x(s.prototype),"setValue",this).call(this,n,l);if(this.choices){var i=this.dataValue;if(this.choices.removeActiveItems(),i){"string"==typeof i&&(i=i.split(this.delimiter).filter((function(n){return n})));var o=Array.isArray(i)?i:[i];this.choices.setValue(o.map((function(n){return e.sanitize(n,e.shouldSanitizeValue)})))}}return t}},{key:"disabled",get:function(){return b(x(s.prototype),"disabled",this)},set:function(n){g(x(s.prototype),"disabled",n,this,!0),this.choices&&(n?this.choices.disable():this.choices.enable())}},{key:"focus",value:function(){this.refs.input&&this.refs.input.length&&this.refs.input[0].parentNode.lastChild.focus()}},{key:"getValueAsString",value:function(n){if(!n)return"";if(Array.isArray(n))return n.join("".concat(this.delimiter||","," "));var e=n.toString();return this.sanitize(e,this.shouldSanitizeValue)}}])&&h(e.prototype,l),t&&h(e,t),Object.defineProperty(e,"prototype",{writable:!1}),s}(r.default);e.default=k},BSGD:function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("jR5A");e.default={form:t.default}},BTho:function(n,e,l){"use strict";var t=l("4zBA"),i=l("We1y"),o=l("hh1v"),u=l("Gi26"),r=l("82ph"),a=l("QNWe"),s=Function,c=t([].concat),d=t([].join),p={},h=function(n,e,l){if(!u(p,e)){for(var t=[],i=0;i \n ';var t=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", ");return l+="\n "+(null==(e=t)?"":e)+"\n \n"}},BhdL:function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("6HwT"),i=l("BhTq");e.default={form:t.default,html:i.default}},BiGR:function(n,e,l){var t=l("nmnc"),i=l("03A+"),o=l("Z0cm"),u=t?t.isConcatSpreadable:void 0;n.exports=function(n){return o(n)||i(n)||!!(u&&n&&n[u])}},BkRI:function(n,e,l){var t=l("OBhP");n.exports=function(n){return t(n,5)}},BqJo:function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("rQ5f"),i=l("YVGo");e.default={flat:t.default,form:i.default}},Bs8V:function(n,e,l){"use strict";var t=l("g6v/"),i=l("xluM"),o=l("0eef"),u=l("XGwC"),r=l("/GqU"),a=l("oEtG"),s=l("Gi26"),c=l("DPsx"),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(n,e){if(n=r(n),e=a(e),c)try{return d(n,e)}catch(l){}if(s(n,e))return u(!i(o.f,n,e),n[e])}},BvlR:function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("SsCq"))&&t.__esModule?t:{default:t}).default};e.default=i},ByF4:function(n,e,l){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(l("wd/R"))},"C+sZ":function(n,e,l){"use strict";l("eoL8"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("07d7"),l("qePV");var t=r(l("LvDl")),i=r(l("Cqra")),o=r(l("f/Of")),u=r(l("nukS"));function r(n){return n&&n.__esModule?n:{default:n}}function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n,e){for(var l=0;l \n",n.component.leftIcon&&(l+=' '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n \n'),l+="\n",n.component.rightIcon&&(l+=' '),l+="\n"+(null==(e=n.input.type)?"":e)+'>\n \n \n\n'}},C0Ia:function(n,e,l){"use strict";var t=l("6LWA"),i=l("aO6C"),o=l("hh1v"),u=l("tiKp")("species"),r=Array;n.exports=function(n){var e;return t(n)&&(e=n.constructor,(i(e)&&(e===r||t(e.prototype))||o(e)&&null===(e=e[u]))&&(e=void 0)),void 0===e?r:e}},C0Od:function(n,e,l){"use strict";var t=l("BPiQ");n.exports=t&&!!Symbol.for&&!!Symbol.keyFor},C1sy:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n\n','\n \n\n\n\n'}},C3gN:function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"inputFormat",ignore:!0},{key:"persistent",ignore:!0},{key:"protected",ignore:!0},{key:"dbIndex",ignore:!0},{key:"encrypted",ignore:!0},{key:"multiple",ignore:!0},{key:"defaultValue",ignore:!0},{key:"customDefaultValuePanel",ignore:!0},{key:"calculateValuePanel",ignore:!0},{key:"passwordInfo",weight:0,type:"htmlelement",tag:"div",className:"alert alert-info",content:"Password fields are automatically encrypted using 1-way salted bcrypt hashes. These hashes are also protected and not returned in the API."}]},C4tZ:function(n,e,l){"use strict";var t=l("6Ekc").longestPath,i=l("GEWS"),o=l("dOj1");n.exports=function(n){switch(n.graph().ranker){case"network-simplex":r(n);break;case"tight-tree":!function(n){t(n),i(n)}(n);break;case"longest-path":u(n);break;default:r(n)}};var u=t;function r(n){o(n)}},C642:function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("K9UA");e.default={semantic:t.default}},C6AG:function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("XUE8"),l("5DmW"),l("SuFq"),l("uL8W"),l("eoL8"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("ftMj"),l("J30X"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),l("+2oP"),l("sMBO"),l("pjDv"),l("tkto"),l("27RR"),l("HRxU"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("yXV3"),l("rMz7"),l("ma9I"),l("DQNa"),l("07d7"),l("JfAA"),l("E9XD"),l("QWBl"),l("FZtP"),l("4l63"),l("TeQF"),l("rB9j"),l("oVuX"),l("2B1R"),l("TZCg"),l("ExoC"),l("wLYn"),l("NBAS");var i=a(l("LvDl")),o=a(l("wd/R")),u=a(l("e4jL")),r=l("5P0i");function a(n){return n&&n.__esModule?n:{default:n}}function s(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.push.apply(l,t)}return l}function c(n){for(var e=1;e\n \n\nn.length)&&(e=n.length);for(var l=0,t=new Array(e);l n&&(e.refs.day.value=e.refs.day.max),t(e.refs.month,"month")()})),this.addEventListener(this.refs.year,"input",t(this.refs.year,"year")),this.addEventListener(this.refs.input,this.info.changeEvent,(function(){return e.updateValue(null,{modified:!0})})),[this.refs.day,this.refs.month,this.refs.year].filter((function(n){return!!n})).forEach((function(n){x(_(s.prototype),"addFocusBlurEvents",e).call(e,n)}))),this.setValue(this.dataValue),this.disabled=this.shouldDisabled,l}},{key:"validateRequired",value:function(n,e){var l=this.parts,t=l.day,i=l.month,o=l.year;return!(this.dayRequired&&!t||this.monthRequired&&!i||this.yearRequired&&!o||(0,r.boolValue)(n)&&this.isEmpty(e))}},{key:"disabled",set:function(n){v(_(s.prototype),"disabled",n,this,!0),this.refs.year&&this.refs.month&&this.refs.day&&(n?(this.refs.year.setAttribute("disabled","disabled"),this.refs.month.setAttribute("disabled","disabled"),this.refs.day.setAttribute("disabled","disabled")):(this.refs.year.removeAttribute("disabled"),this.refs.month.removeAttribute("disabled"),this.refs.day.removeAttribute("disabled")))}},{key:"normalizeValue",value:function(n){if(!n||this.valueMask.test(n))return n;var e=[],l=n.split("/"),t=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),i=t[0],o=t[1],u=t[2],r=this.component.defaultValue?this.component.defaultValue.split("/"):"",a=function(n,t){return e.push(n?l.shift():t)};return this.dayFirst&&a(this.showDay,r?r[i]:"00"),a(this.showMonth,r?r[o]:"00"),this.dayFirst||a(this.showDay,r?r[i]:"00"),a(this.showYear,r?r[u]:"0000"),e.join("/")}},{key:"setValueAt",value:function(n,e){if(!e||"Invalid date"===e)return null;var l,t=e.split("/");this.component.dayFirst&&(l=t.shift());var i=t.shift();this.component.dayFirst||(l=t.shift());var o=t.shift();this.refs.day&&this.showDay&&(this.refs.day.value="00"===l?"":parseInt(l,10)),this.refs.month&&this.showMonth&&(this.refs.month.value="00"===i?"":parseInt(i,10)),this.refs.year&&this.showYear&&(this.refs.year.value="0000"===o?"":parseInt(o,10))}},{key:"getFieldValue",value:function(n){var e=this.dataValue?this.dataValue.split("/"):[],l=0;switch(n){case"month":l=e[this.dayFirst?1:0];break;case"day":l=e[this.dayFirst?0:1];break;case"year":l=e[2]}return l=parseInt(l,10),!i.default.isNaN(l)&&i.default.isNumber(l)?l:0}},{key:"parts",get:function(){return{day:this.getFieldValue("day"),month:this.getFieldValue("month"),year:this.getFieldValue("year")}}},{key:"format",get:function(){var n="";return this.component.dayFirst&&this.showDay&&(n+="D/"),this.showMonth&&(n+="M/"),!this.component.dayFirst&&this.showDay&&(n+="D/"),this.showYear?n+="YYYY":n.length?n.substring(0,n.length-1):n}},{key:"getDate",value:function(n){var e,l,t,o=[],u=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),r=u[0],a=u[1],s=u[2],c=n||this.component.defaultValue;return c&&(o=c.split("/").map((function(n){return parseInt(n,10)}))),this.showDay&&this.refs.day&&(e=parseInt(this.refs.day.value,10)),(void 0===e||i.default.isNaN(e))&&(e=o[r]&&!i.default.isNaN(o[r])?o[r]:0),this.showMonth&&this.refs.month&&(l=parseInt(this.refs.month.value,10)),(void 0===l||i.default.isNaN(l))&&(l=o[a]&&!i.default.isNaN(o[a])?o[a]:0),this.showYear&&this.refs.year&&(t=parseInt(this.refs.year.value)),(void 0===t||i.default.isNaN(t))&&(t=o[s]&&!i.default.isNaN(o[s])?o[s]:0),e||l||t?(e=this.showDay?e.toString().padStart(2,0):"",l=this.showMonth?l.toString().padStart(2,0):"",t=this.showYear?t.toString().padStart(4,0):"",this.component.dayFirst?"".concat(e).concat(this.showDay&&this.showMonth||this.showDay&&this.showYear?"/":"").concat(l).concat(this.showMonth&&this.showYear?"/":"").concat(t):"".concat(l).concat(this.showDay&&this.showMonth||this.showMonth&&this.showYear?"/":"").concat(e).concat(this.showDay&&this.showYear?"/":"").concat(t)):null}},{key:"date",get:function(){return this.getDate()}},{key:"validationValue",get:function(){return this.dataValue}},{key:"getValue",value:function(){var n=x(_(s.prototype),"getValue",this).call(this);return n||this.dataValue}},{key:"getValueAt",value:function(n){var e=this.date||this.emptyValue;return e?(this.refs.input[n].value=e,this.refs.input[n].value):(this.refs.input[n].value="",null)}},{key:"getValueAsString",value:function(n){return this.getDate(n)||""}},{key:"focus",value:function(n){if(n&&"string"==typeof n&&this.refs[n])this.refs[n].focus();else if(this.dayFirst&&this.showDay||!this.dayFirst&&!this.showMonth&&this.showDay){var e;null===(e=this.refs.day)||void 0===e||e.focus()}else if(this.dayFirst&&!this.showDay&&this.showMonth||!this.dayFirst&&this.showMonth){var l;null===(l=this.refs.month)||void 0===l||l.focus()}else if(!this.showDay&&!this.showDay&&this.showYear){var t;null===(t=this.refs.year)||void 0===t||t.focus()}}},{key:"restoreCaretPosition",value:function(){var n,e;if(null!==(n=this.root)&&void 0!==n&&n.currentSelection){var l=this.root.currentSelection,t=l.selection,i=l.index;if(this.refs[i]){var o=this.refs[i];e=o,/text|search|password|tel|url/i.test((null==e?void 0:e.type)||"")&&o.setSelectionRange.apply(o,d(t))}}}},{key:"isPartialDay",value:function(n){if(!n)return!1;var e=p(this.component.dayFirst?[0,1,2]:[1,0,2],3),l=e[0],t=e[1],i=e[2],o=n.split("/");return"00"===o[l]||"00"===o[t]||"0000"===o[i]}},{key:"getValidationFormat",value:function(){return this.dayFirst?"DD-MM-YYYY":"MM-DD-YYYY"}}])&&g(e.prototype,l),t&&g(e,t),Object.defineProperty(e,"prototype",{writable:!1}),s}(u.default);e.default=S},CDr4:function(n,e,l){"use strict";var t=l("DVFp"),i=TypeError;n.exports=function(n,e){if(!delete n[e])throw new i("Cannot delete property "+t(e)+" of "+t(n))}},CFBA:function(n,e,l){var t;!function(i,o,u){o[i]=o[i]||u(),n.exports?n.exports=o[i]:void 0===(t=(function(){return o[i]}).call(e,l,e,n))||(n.exports=t)}("Promise","undefined"!=typeof global?global:this,(function(){"use strict";var n,e,l,t=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(n){return setImmediate(n)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(n,e,l,t){return Object.defineProperty(n,e,{value:l,writable:!0,configurable:!1!==t})}}catch(m){n=function(n,e,l){return n[e]=l,n}}function o(n,t){l.add(n,t),e||(e=i(l.drain))}function u(n){var e,l=typeof n;return null==n||"object"!=l&&"function"!=l||(e=n.then),"function"==typeof e&&e}function r(){for(var n=0;n 0&&o(r,l))}catch(m){c.call(new p(l),m)}}}function c(n){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=n,e.state=2,e.chain.length>0&&o(r,e))}function d(n,e,l,t){for(var i=0;i \n \n '+(null==(e=n.sidebar)?"":e)+'\n\n\n\n\n"}},CMye:function(n,e,l){var t=l("GoyQ");n.exports=function(n){return n==n&&!t(n)}},CQfm:function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("Oqjk"),i=l("FoUh");e.default={flat:t.default,form:i.default}},CS9Q:function(n,e,l){"use strict";l.d(e,"a",(function(){return o}));var t=l("mrSG"),i=l("siIJ"),o=function(n){function e(l,t){void 0===t&&(t=i.a.now);var o=n.call(this,l,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():t()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return t.d(e,n),e.prototype.schedule=function(l,t,i){return void 0===t&&(t=0),e.delegate&&e.delegate!==this?e.delegate.schedule(l,t,i):n.prototype.schedule.call(this,l,t,i)},e.prototype.flush=function(n){var e=this.actions;if(this.active)e.push(n);else{var l;this.active=!0;do{if(l=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,l){for(;n=e.shift();)n.unsubscribe();throw l}}},e}(i.a)},CSzT:function(n,e,l){"use strict";var t;l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={form:((t=l("bbpD"))&&t.__esModule?t:{default:t}).default};e.default=i},CUOH:function(n,e,l){"use strict";l("eoL8"),l("ExoC"),l("wLYn"),l("NBAS"),l("SuFq"),l("uL8W"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),l("ma9I"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("07d7"),l("qePV");var t=l("5P0i"),i=u(l("wd/R")),o=u(l("LvDl"));function u(n){return n&&n.__esModule?n:{default:n}}function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function s(n,e){for(var l=0;l \n\n '+(null==(e=n.form)?"":e)+"\n\n\n < 28 bits = Very Weak; \n28 - 35 bits = Weak; should keep out most people; \n36 - 59 bits = Reasonable; fairly secure passwords for network and company passwords; \n60 - 127 bits = Strong; can be good for guarding financial information; \n> 128 bits = Very Strong; often overkill; \n\n",mask:!1,spellcheck:!0,tableView:!1,delimiter:!1,requireDecimal:!1,inputFormat:"plain",validate:{required:!0,min:1,max:128},key:"maxEntropy",type:"number",input:!0},{label:"Style",tooltip:"Specifies the background color style using bootstrap classes",tableView:!0,data:{values:[{label:"Danger",value:"danger"},{label:"Warning",value:"warning"},{label:"Info",value:"info"},{label:"Success",value:"success"}]},selectThreshold:.3,validate:{onlyAvailableItems:!1},key:"style",type:"select",indexeddb:{filter:{}},input:!0},{label:"Color",placeholder:"#0079c0",tooltip:"Specifies a color of the indicator element",tableView:!0,key:"color",type:"textfield",input:!0}]},{label:"Update On",tableView:!0,data:{values:[{label:"Strength Level Change",value:"levelChange"},{label:"Entropy Change",value:"entropyChange"}]},selectThreshold:.3,validate:{onlyAvailableItems:!1},key:"updateOn",type:"select",indexeddb:{filter:{}},input:!0},{label:"Rules",reorder:!1,addAnotherPosition:"bottom",layoutFixed:!1,enableRowGroups:!1,initEmpty:!1,tableView:!1,defaultValue:[{}],key:"rulesSettings",type:"datagrid",input:!0,components:[{label:"Name",tableView:!0,data:{values:[{label:"Length",value:"length"},{label:"Lower Case",value:"lowerCase"},{label:"Upper Case",value:"upperCase"},{label:"Numeric",value:"numeric"},{label:"Symbols",value:"symbols"}]},selectThreshold:.3,validate:{required:!0,onlyAvailableItems:!1},key:"name",type:"select",indexeddb:{filter:{}},input:!0},{label:"Error Message",tableView:!0,key:"errorMessage",type:"textfield",input:!0},{label:"Required",tableView:!1,key:"required",type:"checkbox",input:!0,defaultValue:!1}]},{label:"Custom Rules",tableView:!1,rowDrafts:!1,key:"customRules",type:"editgrid",input:!0,components:[{label:"Name",tableView:!0,validate:{required:!0},key:"name",type:"textfield",input:!0},i.default.javaScriptValue("Check","check","",1100,'Example:
valid = !value.includes(data.email) ? true : "Password should not be variation of the email";Example:
valid = entropy > maxEntropy / 2 ;entropy Current entropy bits of the password. ",!0),{label:"Required",description:"Check this if you don't want to allow submitting password which does not correspond to the minimal strength requirements.",tableView:!1,key:"required",type:"checkbox",input:!0,defaultValue:!1},{label:"Black List",tooltip:"Add words to search in the password. If there are some words from that list were found, the entropy of the password will be recalculated.\n",tableView:!0,multiple:!0,key:"blackList",type:"textfield",input:!0},i.default.javaScriptValue("Custom Blacklisted Words","customBlackListedWords","",1100," level Current strength level of the password. Example:
values = [ data.name, data.dataOfBirth, data.favoriteColor ];","","",!0),{label:"Disable Blacklisted Words",tooltip:"Check if you want to disable submitting passwords containing words form the clack list",tableView:!1,key:"disableBlacklistedWords",type:"checkbox",input:!0,defaultValue:!1},{label:"Location",hideLabel:!1,tableView:!1,key:"location",type:"container",input:!0,components:[{label:"Insert",tooltip:"Specifies where the indicator will be inserted: before or aftre an element",tableView:!0,data:{values:[{label:"Before",value:"before"},{label:"After",value:"after"}]},selectThreshold:.3,validate:{onlyAvailableItems:!1},key:"insert",type:"select",indexeddb:{filter:{}},input:!0},{label:"Selector",placeholder:"[ref='element']",description:"Specifies the selector of the element which will be used as a reference to insert the indicator template",tableView:!0,key:"selector",type:"textfield",input:!0}]},{label:"Template",editor:"ace",tableView:!0,key:"template",type:"textarea",input:!0,as:"html"}];e.default=o},CXJR:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return'\n','
\n'}},CZoQ:function(n,e){n.exports=function(n,e,l){for(var t=l-1,i=n.length;++t\n \n
\n \n\n\n'}},Cqra:function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("SuFq"),l("uL8W"),l("eoL8"),l("XUE8"),l("5DmW"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("J30X"),l("0oug"),l("pjDv"),l("+2oP"),l("sMBO"),l("rB9j"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("2B1R"),l("ma9I"),l("4mDm"),l("07d7"),l("PKPk"),l("3bBZ"),l("Kz25"),l("mGGf"),l("yq1k"),l("JTJg"),l("wLYn"),l("QWBl"),l("FZtP"),l("j+VE"),l("ExoC"),l("NBAS");var i=p(l("LvDl")),o=p(l("CFBA")),u=l("1eKU"),r=p(l("f/Of")),a=l("5P0i"),s=l("bjCn"),c=p(l("yEXj")),d=p(l("vPiH"));function p(n){return n&&n.__esModule?n:{default:n}}function h(n){return function(n){if(Array.isArray(n))return f(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(!n)return;if("string"==typeof n)return f(n,e);var l=Object.prototype.toString.call(n).slice(8,-1);"Object"===l&&n.constructor&&(l=n.constructor.name);if("Map"===l||"Set"===l)return Array.from(n);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return f(n,e)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(n,e){(null==e||e>n.length)&&(e=n.length);for(var l=0,t=new Array(e);l\n \n ",n.options.vpat?l+='\n \n ':l+='\n \n ',l+='\n\n \n\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+"\n "),l+='\n\n \n98?e.t("Converting PDF. Please wait."):"".concat(e.t("Uploading")," ").concat(l,"%")}}),"".concat(this.projectUrl,"/upload"),{},"file").then((function(n){var l,t=!1;if(null!==(l=n.data.formfields)&&void 0!==l&&l.components&&n.data.formfields.components.length){var o,u,r,a="submit"===(null===(o=e.webform.form.components[0])||void 0===o?void 0:o.key),s="page1"===(null===(u=e.webform.form.components[0])||void 0===u?void 0:u.key)&&0===(null===(r=e.webform.form.components[0])||void 0===r?void 0:r.components.length),c=0===e.webform.form.components.length;(a||s||c)&&(t=!0,e.webform.form.components=n.data.formfields.components)}e.refs.dragDropText&&(e.refs.dragDropText.style.display="inherit"),e.refs.uploadProgressWrapper&&(e.refs.uploadProgressWrapper.style.display="none"),i.default.set(e.webform.form,"settings.pdf",{id:n.data.file,src:n.data.filesServer?"".concat(n.data.filesServer).concat(n.data.path):"".concat(new URL(e.projectUrl).origin,"/pdf-proxy").concat(n.data.path),nonFillableConversionUsed:t&&n.data.formfields.nonFillableConversionUsed}),e.emit("pdfUploaded",n.data),e.redraw()})).catch((function(n){return e.setUploadError(n)}))}},{key:"setUploadError",value:function(n){this.refs.uploadError&&(this.refs.uploadError.style.display=n?"":"none",this.refs.uploadError.innerHTML=n)}},{key:"createForm",value:function(n){var e=this;return n.skipInit=!1,n.hideLoader=!0,this.webform=new d.default(this.element,n),this.webform.on("attach",(function(){e.refs.iframeDropzone&&!h(e.refs.form.children).includes(e.refs.iframeDropzone)&&e.prependTo(e.refs.iframeDropzone,e.refs.form)})),this.webform}},{key:"destroy",value:function(n){v(C(p.prototype),"destroy",this).call(this,n),this.webform.destroy(n)}},{key:"getParentContainer",value:function(n){var e=[],l=null;return(0,s.eachComponent)(this.webform._form.components,(function(t,i,o){if(t.id===n.component.id)return e=o,l=t,!0}),!0),{formioComponent:n.parent,formioContainer:e,originalComponent:l}}},{key:"initIframeEvents",value:function(){var n=this;this.webform.off("iframe-elementUpdate"),this.webform.off("iframe-componentUpdate"),this.webform.off("iframe-componentClick"),this.webform.on("iframe-elementUpdate",(function(e){var l=n.webform.getComponentById(e.id);return l&&l.component&&(l.component.overlay={page:e.page,left:e.left,top:e.top,height:e.height,width:e.width},n.options.noNewEdit||l.component.noNewEdit||n.editComponent(l.component,n.getParentContainer(l),!0),n.emit("updateComponent",l.component)),l})),this.webform.on("iframe-componentUpdate",(function(e){var l=n.webform.getComponentById(e.id);return l&&l.component&&(l.component.overlay={page:e.overlay.page,left:e.overlay.left,top:e.overlay.top,height:e.overlay.height,width:e.overlay.width},n.emit("updateComponent",l.component),n.emit("change",n.form)),l})),this.webform.on("iframe-componentClick",(function(e){var l=n.webform.getComponentById(e.id);l&&n.editComponent(l.component,n.getParentContainer(l))}),!0)}},{key:"initDropzoneEvents",value:function(){this.refs.iframeDropzone&&(this.removeEventListener(this.refs.iframeDropzone,"dragover"),this.removeEventListener(this.refs.iframeDropzone,"drop"),this.addEventListener(this.refs.iframeDropzone,"dragover",(function(n){return n.preventDefault(),!1})),this.addEventListener(this.refs.iframeDropzone,"drop",this.onDropzoneDrop.bind(this)))}},{key:"updateDragAndDrop",value:function(){this.pdfLoaded&&(this.initDropzoneEvents(),this.prepSidebarComponentsForDrag())}},{key:"prepSidebarComponentsForDrag",value:function(){var n=this;this.refs["sidebar-container"]&&this.refs["sidebar-container"].forEach((function(e){h(e.children).forEach((function(e){e.draggable=!0,e.setAttribute("draggable",!0),n.removeEventListener(e,"dragstart"),n.removeEventListener(e,"dragend"),n.addEventListener(e,"dragstart",n.onDragStart.bind(n),!0),n.addEventListener(e,"dragend",n.onDragEnd.bind(n),!0),n.addEventListener(e,"drag",(function(n){n.target.style.cursor="none"}))}))}))}},{key:"updateDropzoneDimensions",value:function(){if(this.refs.iframeDropzone){var n=(0,a.getElementRect)(this.webform.refs.iframeContainer);this.refs.iframeDropzone.style.height=n&&n.height?"".concat(n.height,"px"):"1000px",this.refs.iframeDropzone.style.width=n&&n.width?"".concat(n.width,"px"):"100%"}}},{key:"onDragStart",value:function(n){var e=n.offsetX,l=void 0===e?0:e,t=n.offsetY,i=void 0===t?0:t;this.itemOffsetX=l,this.itemOffsetY=i,n.dataTransfer.setData("text",""),this.updateDropzoneDimensions(),this.addClass(this.refs.iframeDropzone,"enabled"),this.dropEmitted=!1}},{key:"onDropzoneDrop",value:function(n){return this.dropEmitted=!0,this.dropEvent=n,n.preventDefault(),!1}},{key:"onDragEnd",value:function(n){var e=this.webform.refs.iframeContainer.getBoundingClientRect(),l=this.dropEvent?this.dropEvent.layerX:null,t=this.dropEvent?this.dropEvent.layerY:null;if(this.removeClass(this.refs.iframeDropzone,"enabled"),!this.dropEvent){if(!(!this.dropEmitted&&((0,a.getBrowserInfo)().chrome||(0,a.getBrowserInfo)().edge)&&"macOS"===globalThis.navigator.userAgentData.platform&&e.left 1&&(n=e[0]-e[1]),e.length>3?e[0]+",1,weird":n<0?e[0]+",1":n>0?e[1]+",1,s":e[0]+",0"},i=function(n){for(var e=new Date(n,0,1,0,0,1,0).getTime(),l=new Date(n,12,31,23,59,59).getTime(),t=e,i=new Date(t).getTimezoneOffset(),o=null,r=null;t i&&(r=a),i=s),t+=864e5}return!(!o||!r)&&{s:u(o).getTime(),e:u(r).getTime()}},u=function e(l,t,i){void 0===t&&(t=n.DAY,i=n.HOUR);for(var o=new Date(l.getTime()-t).getTime(),u=l.getTime()+t,r=new Date(o).getTimezoneOffset(),a=o,s=null;a =t.rules[o].s&&e[o].e<=t.rules[o].e)){i="N/A";break}if(i=0,i+=Math.abs(e[o].s-t.rules[o].s),(i+=Math.abs(t.rules[o].e-e[o].e))>n.MAX_SCORE){i="N/A";break}}return function(n,e,l,t){if("N/A"!==l)return l;if("Asia/Beirut"===e){if("Africa/Cairo"===t.name&&13983768e5===n[6].s&&14116788e5===n[6].e)return 0;if("Asia/Jerusalem"===t.name&&13959648e5===n[6].s&&14118588e5===n[6].e)return 0}else if("America/Santiago"===e){if("America/Asuncion"===t.name&&14124816e5===n[6].s&&1397358e6===n[6].e)return 0;if("America/Campo_Grande"===t.name&&14136912e5===n[6].s&&13925196e5===n[6].e)return 0}else if("America/Montevideo"===e){if("America/Sao_Paulo"===t.name&&14136876e5===n[6].s&&1392516e6===n[6].e)return 0}else if("Pacific/Auckland"===e&&"Pacific/Fiji"===t.name&&14142456e5===n[6].s&&13961016e5===n[6].e)return 0;return l}(e,l,i,t)},i={},u=o.olson.dst_rules.zones,r=u.length,a=n.AMBIGUITIES[l],s=0;s -1||"UTC"===e)?e:void 0}()),i||(i=o.olson.timezones[u],void 0!==n.AMBIGUITIES[i]&&(i=a(i))),{name:function(){return i},using_intl:e||void 0===e,needle:u,offsets:l()}}}}()).olson=o.olson||{},o.olson.timezones={"-720,0":"Etc/GMT+12","-660,0":"Pacific/Pago_Pago","-660,1,s":"Pacific/Apia","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Asuncion","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","0,1,weird":"Africa/Casablanca","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,weird":"Africa/Casablanca","120,1":"Asia/Beirut","120,1,weird":"Africa/Cairo","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Calcutta","345,0":"Asia/Katmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Majuro","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"},o.olson.dst_rules={years:[2008,2009,2010,2011,2012,2013,2014],zones:[{name:"Africa/Cairo",rules:[{e:12199572e5,s:12090744e5},{e:1250802e6,s:1240524e6},{e:12858804e5,s:12840696e5},!1,!1,!1,{e:14116788e5,s:1406844e6}]},{name:"America/Asuncion",rules:[{e:12050316e5,s:12243888e5},{e:12364812e5,s:12558384e5},{e:12709548e5,s:12860784e5},{e:13024044e5,s:1317528e6},{e:1333854e6,s:13495824e5},{e:1364094e6,s:1381032e6},{e:13955436e5,s:14124816e5}]},{name:"America/Campo_Grande",rules:[{e:12032172e5,s:12243888e5},{e:12346668e5,s:12558384e5},{e:12667212e5,s:1287288e6},{e:12981708e5,s:13187376e5},{e:13302252e5,s:1350792e6},{e:136107e7,s:13822416e5},{e:13925196e5,s:14136912e5}]},{name:"America/Goose_Bay",rules:[{e:122559486e4,s:120503526e4},{e:125704446e4,s:123648486e4},{e:128909886e4,s:126853926e4},{e:13205556e5,s:129998886e4},{e:13520052e5,s:13314456e5},{e:13834548e5,s:13628952e5},{e:14149044e5,s:13943448e5}]},{name:"America/Havana",rules:[{e:12249972e5,s:12056436e5},{e:12564468e5,s:12364884e5},{e:12885012e5,s:12685428e5},{e:13211604e5,s:13005972e5},{e:13520052e5,s:13332564e5},{e:13834548e5,s:13628916e5},{e:14149044e5,s:13943412e5}]},{name:"America/Mazatlan",rules:[{e:1225008e6,s:12074724e5},{e:12564576e5,s:1238922e6},{e:1288512e6,s:12703716e5},{e:13199616e5,s:13018212e5},{e:13514112e5,s:13332708e5},{e:13828608e5,s:13653252e5},{e:14143104e5,s:13967748e5}]},{name:"America/Mexico_City",rules:[{e:12250044e5,s:12074688e5},{e:1256454e6,s:12389184e5},{e:12885084e5,s:1270368e6},{e:1319958e6,s:13018176e5},{e:13514076e5,s:13332672e5},{e:13828572e5,s:13653216e5},{e:14143068e5,s:13967712e5}]},{name:"America/Miquelon",rules:[{e:12255984e5,s:12050388e5},{e:1257048e6,s:12364884e5},{e:12891024e5,s:12685428e5},{e:1320552e6,s:12999924e5},{e:13520016e5,s:1331442e6},{e:13834512e5,s:13628916e5},{e:14149008e5,s:13943412e5}]},{name:"America/Santa_Isabel",rules:[{e:12250116e5,s:1207476e6},{e:12564612e5,s:12389256e5},{e:12891204e5,s:12685608e5},{e:132057e7,s:13000104e5},{e:13520196e5,s:133146e7},{e:13834692e5,s:13629096e5},{e:14149188e5,s:13943592e5}]},{name:"America/Santiago",rules:[{e:1206846e6,s:1223784e6},{e:1237086e6,s:12552336e5},{e:127035e7,s:12866832e5},{e:13048236e5,s:13138992e5},{e:13356684e5,s:13465584e5},{e:1367118e6,s:13786128e5},{e:13985676e5,s:14100624e5}]},{name:"America/Sao_Paulo",rules:[{e:12032136e5,s:12243852e5},{e:12346632e5,s:12558348e5},{e:12667176e5,s:12872844e5},{e:12981672e5,s:1318734e6},{e:13302216e5,s:13507884e5},{e:13610664e5,s:1382238e6},{e:1392516e6,s:14136876e5}]},{name:"Asia/Amman",rules:[{e:1225404e6,s:12066552e5},{e:12568536e5,s:12381048e5},{e:12883032e5,s:12695544e5},{e:13197528e5,s:13016088e5},!1,!1,{e:14147064e5,s:13959576e5}]},{name:"Asia/Damascus",rules:[{e:12254868e5,s:120726e7},{e:125685e7,s:12381048e5},{e:12882996e5,s:12701592e5},{e:13197492e5,s:13016088e5},{e:13511988e5,s:13330584e5},{e:13826484e5,s:1364508e6},{e:14147028e5,s:13959576e5}]},{name:"Asia/Dubai",rules:[!1,!1,!1,!1,!1,!1,!1]},{name:"Asia/Gaza",rules:[{e:12199572e5,s:12066552e5},{e:12520152e5,s:12381048e5},{e:1281474e6,s:126964086e4},{e:1312146e6,s:130160886e4},{e:13481784e5,s:13330584e5},{e:13802292e5,s:1364508e6},{e:1414098e6,s:13959576e5}]},{name:"Asia/Irkutsk",rules:[{e:12249576e5,s:12068136e5},{e:12564072e5,s:12382632e5},{e:12884616e5,s:12697128e5},!1,!1,!1,!1]},{name:"Asia/Jerusalem",rules:[{e:12231612e5,s:12066624e5},{e:1254006e6,s:1238112e6},{e:1284246e6,s:12695616e5},{e:131751e7,s:1301616e6},{e:13483548e5,s:13330656e5},{e:13828284e5,s:13645152e5},{e:1414278e6,s:13959648e5}]},{name:"Asia/Kamchatka",rules:[{e:12249432e5,s:12067992e5},{e:12563928e5,s:12382488e5},{e:12884508e5,s:12696984e5},!1,!1,!1,!1]},{name:"Asia/Krasnoyarsk",rules:[{e:12249612e5,s:12068172e5},{e:12564108e5,s:12382668e5},{e:12884652e5,s:12697164e5},!1,!1,!1,!1]},{name:"Asia/Omsk",rules:[{e:12249648e5,s:12068208e5},{e:12564144e5,s:12382704e5},{e:12884688e5,s:126972e7},!1,!1,!1,!1]},{name:"Asia/Vladivostok",rules:[{e:12249504e5,s:12068064e5},{e:12564e8,s:1238256e6},{e:12884544e5,s:12697056e5},!1,!1,!1,!1]},{name:"Asia/Yakutsk",rules:[{e:1224954e6,s:120681e7},{e:12564036e5,s:12382596e5},{e:1288458e6,s:12697092e5},!1,!1,!1,!1]},{name:"Asia/Yekaterinburg",rules:[{e:12249684e5,s:12068244e5},{e:1256418e6,s:1238274e6},{e:12884724e5,s:12697236e5},!1,!1,!1,!1]},{name:"Asia/Yerevan",rules:[{e:1224972e6,s:1206828e6},{e:12564216e5,s:12382776e5},{e:1288476e6,s:12697272e5},{e:13199256e5,s:13011768e5},!1,!1,!1]},{name:"Australia/Lord_Howe",rules:[{e:12074076e5,s:12231342e5},{e:12388572e5,s:12545838e5},{e:12703068e5,s:12860334e5},{e:13017564e5,s:1317483e6},{e:1333206e6,s:13495374e5},{e:13652604e5,s:1380987e6},{e:139671e7,s:14124366e5}]},{name:"Australia/Perth",rules:[{e:12068136e5,s:12249576e5},!1,!1,!1,!1,!1,!1]},{name:"Europe/Helsinki",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Europe/Minsk",rules:[{e:12249792e5,s:12068352e5},{e:12564288e5,s:12382848e5},{e:12884832e5,s:12697344e5},!1,!1,!1,!1]},{name:"Europe/Moscow",rules:[{e:12249756e5,s:12068316e5},{e:12564252e5,s:12382812e5},{e:12884796e5,s:12697308e5},!1,!1,!1,!1]},{name:"Pacific/Apia",rules:[!1,!1,!1,{e:13017528e5,s:13168728e5},{e:13332024e5,s:13489272e5},{e:13652568e5,s:13803768e5},{e:13967064e5,s:14118264e5}]},{name:"Pacific/Fiji",rules:[!1,!1,{e:12696984e5,s:12878424e5},{e:13271544e5,s:1319292e6},{e:1358604e6,s:13507416e5},{e:139005e7,s:1382796e6},{e:14215032e5,s:14148504e5}]},{name:"Europe/London",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Africa/Windhoek",rules:[{e:12207492e5,s:120744e7},{e:12521988e5,s:12388896e5},{e:12836484e5,s:12703392e5},{e:1315098e6,s:13017888e5},{e:13465476e5,s:13332384e5},{e:13779972e5,s:13652928e5},{e:14100516e5,s:13967424e5}]}]},void 0!==n.exports?n.exports=o:null!==l("B9Yq")&&null!=l("PDX0")?(t=[],void 0===(i=(function(){return o}).apply(e,t))||(n.exports=i)):window.jstz=o},DAmb:function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;l 12?n:n+12:"sanje"===e?n+12:void 0},meridiem:function(n,e,l){return n<4?"rati":n<12?"sokallim":n<16?"donparam":n<20?"sanje":"rati"}})}(l("wd/R"))},DLK6:function(n,e,l){"use strict";var t=l("4zBA"),i=l("ewvW"),o=Math.floor,u=t("".charAt),r=t("".replace),a=t("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;n.exports=function(n,e,l,t,d,p){var h=l+n.length,f=t.length,g=c;return void 0!==d&&(d=i(d),g=s),r(p,g,(function(i,r){var s;switch(u(r,0)){case"$":return"$";case"&":return n;case"`":return a(e,0,l);case"'":return a(e,h);case"<":s=d[a(r,1,-1)];break;default:var c=+r;if(0===c)return i;if(c>f){var p=o(c/10);return 0===p?i:p<=f?void 0===t[p-1]?u(r,1):t[p-1]+u(r,1):i}s=t[c-1]}return void 0===s?"":s}))}},DMt2:function(n,e,l){"use strict";var t=l("4zBA"),i=l("UMSQ"),o=l("V37c"),u=l("EUja"),r=l("HYAF"),a=t(u),s=t("".slice),c=Math.ceil,d=function(n){return function(e,l,t){var u,d,p=o(r(e)),h=i(l),f=p.length,g=void 0===t?" ":o(t);return h<=f||""===g?p:((d=a(g,c((u=h-f)/g.length))).length>u&&(d=s(d,0,u)),n?p+d:d+p)}};n.exports={start:d(!1),end:d(!0)}},DPsx:function(n,e,l){"use strict";var t=l("g6v/"),i=l("0Dky"),o=l("zBJ4");n.exports=!t&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(n,e,l){"use strict";var t=l("4zBA"),i=l("yy0I"),o=Date.prototype,u=t(o.toString),r=t(o.getTime);"Invalid Date"!==String(new Date(NaN))&&i(o,"toString",(function(){var n=r(this);return n==n?u(this):"Invalid Date"}))},DSRE:function(n,e,l){(function(n){var t=l("Kz5y"),i=l("B8du"),o=e&&!e.nodeType&&e,u=o&&"object"==typeof n&&n&&!n.nodeType&&n,r=u&&u.exports===o?t.Buffer:void 0,a=(r?r.isBuffer:void 0)||i;n.exports=a}).call(this,l("YuTi")(n))},DVFp:function(n,e,l){"use strict";var t=String;n.exports=function(n){try{return t(n)}catch(e){return"Object"}}},DcW7:function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{key:"labelPosition",ignore:!0},{key:"placeholder",ignore:!0},{key:"description",ignore:!0},{key:"tooltip",ignore:!0},{key:"hideLabel",ignore:!0},{key:"autofocus",ignore:!0},{key:"disabled",ignore:!0},{key:"tabindex",ignore:!0},{key:"tableView",ignore:!0},{weight:700,type:"checkbox",label:"Refresh On Change",tooltip:"Rerender the field whenever a value on the form changes.",key:"refreshOnChange",input:!0}]},Dhu4:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,l="";Array.prototype.join;return l+=' \n\n"}},Dkky:function(n,e,l){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(n,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return n+(1===n?"er":"e");case"w":case"W":return n+(1===n?"re":"e")}},week:{dow:1,doy:4}})}(l("wd/R"))},Dmvi:function(n,e,l){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(n){var e=n%10;return n+(1==~~(n%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(l("wd/R"))},DoHr:function(n,e,l){!function(n){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(n,e,l){return n<12?l?"\xf6\xf6":"\xd6\xd6":l?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(n){return"\xf6s"===n||"\xd6S"===n},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(n,l){switch(l){case"d":case"D":case"Do":case"DD":return n;default:if(0===n)return n+"'\u0131nc\u0131";var t=n%10,i=n%100-t,o=n>=100?100:null;return n+(e[t]||e[i]||e[o])}},week:{dow:1,doy:7}})}(l("wd/R"))},DtyJ:function(n,e,l){"use strict";l.r(e),l.d(e,"Observable",(function(){return t.a})),l.d(e,"ConnectableObservable",(function(){return i.a})),l.d(e,"GroupedObservable",(function(){return o.a})),l.d(e,"observable",(function(){return u.a})),l.d(e,"Subject",(function(){return r.a})),l.d(e,"BehaviorSubject",(function(){return a.a})),l.d(e,"ReplaySubject",(function(){return s.a})),l.d(e,"AsyncSubject",(function(){return c.a})),l.d(e,"asapScheduler",(function(){return d.a})),l.d(e,"asyncScheduler",(function(){return p.a})),l.d(e,"queueScheduler",(function(){return h.a})),l.d(e,"animationFrameScheduler",(function(){return f.a})),l.d(e,"VirtualTimeScheduler",(function(){return v})),l.d(e,"VirtualAction",(function(){return b})),l.d(e,"Scheduler",(function(){return y.a})),l.d(e,"Subscription",(function(){return A.a})),l.d(e,"Subscriber",(function(){return w.a})),l.d(e,"Notification",(function(){return C.a})),l.d(e,"pipe",(function(){return x.a})),l.d(e,"noop",(function(){return k.a})),l.d(e,"identity",(function(){return _.a})),l.d(e,"isObservable",(function(){return S})),l.d(e,"ArgumentOutOfRangeError",(function(){return P.a})),l.d(e,"EmptyError",(function(){return I.a})),l.d(e,"ObjectUnsubscribedError",(function(){return O.a})),l.d(e,"UnsubscriptionError",(function(){return T.a})),l.d(e,"TimeoutError",(function(){return M.a})),l.d(e,"bindCallback",(function(){return N})),l.d(e,"bindNodeCallback",(function(){return j})),l.d(e,"combineLatest",(function(){return H.b})),l.d(e,"concat",(function(){return G.a})),l.d(e,"defer",(function(){return Y.a})),l.d(e,"empty",(function(){return q.b})),l.d(e,"forkJoin",(function(){return W.a})),l.d(e,"from",(function(){return Q.a})),l.d(e,"fromEvent",(function(){return K.a})),l.d(e,"fromEventPattern",(function(){return X})),l.d(e,"generate",(function(){return $})),l.d(e,"iif",(function(){return nn})),l.d(e,"interval",(function(){return en.a})),l.d(e,"merge",(function(){return ln.a})),l.d(e,"never",(function(){return tn.b})),l.d(e,"of",(function(){return on.a})),l.d(e,"onErrorResumeNext",(function(){return un})),l.d(e,"pairs",(function(){return rn})),l.d(e,"race",(function(){return sn.a})),l.d(e,"range",(function(){return cn})),l.d(e,"throwError",(function(){return pn.a})),l.d(e,"timer",(function(){return hn.a})),l.d(e,"using",(function(){return fn})),l.d(e,"zip",(function(){return gn.b})),l.d(e,"EMPTY",(function(){return q.a})),l.d(e,"NEVER",(function(){return tn.a})),l.d(e,"config",(function(){return mn.a}));var t=l("6blF"),i=l("KhEm"),o=l("IxPp"),u=l("xTla"),r=l("K9Ia"),a=l("26FU"),s=l("S5bw"),c=l("svcd"),d=l("KQya"),p=l("T1DM"),h=l("zo3G"),f=l("tHPV"),g=l("mrSG"),m=l("h9Dq"),v=function(n){function e(e,l){void 0===e&&(e=b),void 0===l&&(l=Number.POSITIVE_INFINITY);var t=n.call(this,e,(function(){return t.frame}))||this;return t.maxFrames=l,t.frame=0,t.index=-1,t}return g.d(e,n),e.prototype.flush=function(){for(var n,e,l=this.actions,t=this.maxFrames;(e=l[0])&&e.delay<=t&&(l.shift(),this.frame=e.delay,!(n=e.execute(e.state,e.delay))););if(n){for(;e=l.shift();)e.unsubscribe();throw n}},e.frameTimeFactor=10,e}(l("CS9Q").a),b=function(n){function e(e,l,t){void 0===t&&(t=e.index+=1);var i=n.call(this,e,l)||this;return i.scheduler=e,i.work=l,i.index=t,i.active=!0,i.index=e.index=t,i}return g.d(e,n),e.prototype.schedule=function(l,t){if(void 0===t&&(t=0),!this.id)return n.prototype.schedule.call(this,l,t);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(l,t)},e.prototype.requestAsyncId=function(n,l,t){void 0===t&&(t=0),this.delay=n.frame+t;var i=n.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(n,e,l){void 0===l&&(l=0)},e.prototype._execute=function(e,l){if(!0===this.active)return n.prototype._execute.call(this,e,l)},e.sortActions=function(n,e){return n.delay===e.delay?n.index===e.index?0:n.index>e.index?1:-1:n.delay>e.delay?1:-1},e}(m.a),y=l("siIJ"),A=l("pugT"),w=l("FFOo"),C=l("60iU"),x=l("y3By"),k=l("+umK"),_=l("mChF");function S(n){return!!n&&(n instanceof t.a||"function"==typeof n.lift&&"function"==typeof n.subscribe)}var P=l("b7mW"),I=l("3fWJ"),O=l("8g8A"),T=l("awvh"),M=l("3U0i"),E=l("67Y/"),D=l("1fDf"),R=l("isby"),L=l("nkY7");function N(n,e,l){if(e){if(!Object(L.a)(e))return function(){for(var t=[],i=0;i\n\n ",n.component.components.forEach((function(t,i){l+='\n \n\n '+(null==(e=n.tabComponents[i])?"":e)+"\n\n "})),l+="\n=e){t.complete();break}if(t.next(o++),t.closed)break}}))}function dn(n){var e=n.start,l=n.index,t=n.count,i=n.subscriber;l>=t?i.complete():(i.next(e),i.closed||(n.index=l+1,n.start=e+1,this.schedule(n)))}var pn=l("XlPw"),hn=l("gI3B");function fn(n,e){return new t.a((function(l){var t,i;try{t=n()}catch(u){return void l.error(u)}try{i=e(t)}catch(u){return void l.error(u)}var o=(i?Object(Q.a)(i):q.a).subscribe(l);return function(){o.unsubscribe(),t&&t.unsubscribe()}}))}var gn=l("909l"),mn=l("iLxQ")},Dvum:function(n,e,l){var t,i,o;!function(u,r){"use strict";n.exports?n.exports=r(l("wd/R")):(i=[l("wd/R")],void 0===(o="function"==typeof(t=r)?t.apply(e,i):t)||(n.exports=o))}(0,(function(n){"use strict";void 0===n.version&&n.default&&(n=n.default);var e,l={},t={},i={},o={},u={};n&&"string"==typeof n.version||O("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var r=n.version.split("."),a=+r[0],s=+r[1];function c(n){return n>96?n-87:n>64?n-29:n-48}function d(n){var e=0,l=n.split("."),t=l[0],i=l[1]||"",o=1,u=0,r=1;for(45===n.charCodeAt(0)&&(e=1,r=-1);e 3){var e=o[k(n)];if(e)return e;O("Moment Timezone found "+n+" from the Intl api, but did not have that data loaded.")}}catch(c){}var l,t,i,u=function(){var n,e,l,t,i=(new Date).getFullYear()-2,o=new v(new Date(i,0,1)),u=o.offset,r=[o];for(t=1;t<48;t++)(l=new Date(i,t,1).getTimezoneOffset())!==u&&(n=y(o,e=new v(new Date(i,t,1))),r.push(n),r.push(new v(new Date(n.at+6e4))),o=e,u=l);for(t=0;t<4;t++)r.push(new v(new Date(i+t,0,1))),r.push(new v(new Date(i+t,6,1)));return r}(),r=u.length,a=C(u),s=[];for(t=0;t 0?s[0].zone.name:void 0}function k(n){return(n||"").toLowerCase().replace(/\//g,"_")}function _(n){var e,t,i,u;for("string"==typeof n&&(n=[n]),e=0;e = 2.6.0. You are using Moment.js "+n.version+". See momentjs.com"),g.prototype={_set:function(n){this.name=n.name,this.abbrs=n.abbrs,this.untils=n.untils,this.offsets=n.offsets,this.population=n.population},_index:function(n){var e;if((e=function(n,e){var l,t=e.length;if(n 1&&e[t-1]===1/0&&n>=e[t-2])return t-1;if(n>=e[t-1])return-1;for(var i=0,o=t-1;o-i>1;)e[l=Math.floor((i+o)/2)]<=n?i=l:o=l;return o}(+n,this.untils))>=0)return e},countries:function(){var n=this.name;return Object.keys(i).filter((function(e){return-1!==i[e].zones.indexOf(n)}))},parse:function(n){var e,l,t,i,o=+n,u=this.offsets,r=this.untils,a=r.length-1;for(i=0;it&&T.moveInvalidForward&&(e=t),o 0&&(this._z=null),M.apply(this,arguments)}),n.tz.setDefault=function(e){return(a<2||2===a&&s<9)&&O("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+n.version+"."),n.defaultZone=e?S(e):null,n};var L=n.momentProperties;return"[object Array]"===Object.prototype.toString.call(L)?(L.push("_z"),L.push("_a")):L&&(L._z=null),n}))},"Dw+G":function(n,e,l){var t=l("juv8"),i=l("mTTR");n.exports=function(n,e){return n&&t(e,i(e),n)}},DxQv:function(n,e,l){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(l("wd/R"))},Dz1x:function(n,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=l("aqh7");e.default={form:t.default}},Dzi0:function(n,e,l){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(n){return n},week:{dow:1,doy:4}})}(l("wd/R"))},"E+lV":function(n,e,l){!function(n){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(n,e){return n%10>=1&&n%10<=4&&(n%100<10||n%100>=20)?n%10==1?e[0]:e[1]:e[2]},translate:function(n,l,t,i){var o,u=e.words[t];return 1===t.length?"y"===t&&l?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":i||l?u[0]:u[1]:(o=e.correctGrammaticalCase(n,u),"yy"===t&&l&&"\u0433\u043e\u0434\u0438\u043d\u0443"===o?n+" \u0433\u043e\u0434\u0438\u043d\u0430":n+" "+o)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(l("wd/R"))},"E+oP":function(n,e,l){var t=l("A90E"),i=l("QqLw"),o=l("03A+"),u=l("Z0cm"),r=l("MMmD"),a=l("DSRE"),s=l("6sVZ"),c=l("c6wG"),d=Object.prototype.hasOwnProperty;n.exports=function(n){if(null==n)return!0;if(r(n)&&(u(n)||"string"==typeof n||"function"==typeof n.splice||a(n)||c(n)||o(n)))return!n.length;var e=i(n);if("[object Map]"==e||"[object Set]"==e)return!n.size;if(s(n))return!t(n).length;for(var l in n)if(d.call(n,l))return!1;return!0}},E0hL:function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("07d7"),l("SuFq"),l("uL8W"),l("eoL8"),l("XUE8"),l("5DmW"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("ma9I"),l("rB9j"),l("UxlC"),l("ExoC"),l("wLYn"),l("NBAS");var i=r(l("6P0p")),o=l("5P0i"),u=r(l("Vd1P"));function r(n){return n&&n.__esModule?n:{default:n}}function a(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function s(n,e){for(var l=0;l >>24)|4278255360&(n[l]<<24|n[l]>>>8);var t=this._X=[n[0],n[3]<<16|n[2]>>>16,n[1],n[0]<<16|n[3]>>>16,n[2],n[1]<<16|n[0]>>>16,n[3],n[2]<<16|n[1]>>>16],i=this._C=[n[2]<<16|n[2]>>>16,4294901760&n[0]|65535&n[1],n[3]<<16|n[3]>>>16,4294901760&n[1]|65535&n[2],n[0]<<16|n[0]>>>16,4294901760&n[2]|65535&n[3],n[1]<<16|n[1]>>>16,4294901760&n[3]|65535&n[0]];for(this._b=0,l=0;l<4;l++)a.call(this);for(l=0;l<8;l++)i[l]^=t[l+4&7];if(e){var o=e.words,u=o[0],r=o[1],s=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),c=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),d=s>>>16|4294901760&c,p=c<<16|65535&s;for(i[0]^=s,i[1]^=d,i[2]^=c,i[3]^=p,i[4]^=s,i[5]^=d,i[6]^=c,i[7]^=p,l=0;l<4;l++)a.call(this)}},_doProcessBlock:function(n,e){var l=this._X;a.call(this),i[0]=l[0]^l[5]>>>16^l[3]<<16,i[1]=l[2]^l[7]>>>16^l[5]<<16,i[2]=l[4]^l[1]>>>16^l[7]<<16,i[3]=l[6]^l[3]>>>16^l[1]<<16;for(var t=0;t<4;t++)i[t]=16711935&(i[t]<<8|i[t]>>>24)|4278255360&(i[t]<<24|i[t]>>>8),n[e+t]^=i[t]},blockSize:4,ivSize:2});function a(){for(var n=this._X,e=this._C,l=0;l<8;l++)o[l]=e[l];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0 >>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0 >>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0 >>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0 >>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0 >>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0 >>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0 >>0?1:0)|0,this._b=e[7]>>>0 >>0?1:0,l=0;l<8;l++){var t=n[l]+e[l],i=65535&t,r=t>>>16,a=((i*i>>>17)+i*r>>>15)+r*r,s=((4294901760&t)*t|0)+((65535&t)*t|0);u[l]=a^s}n[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,n[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,n[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,n[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,n[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,n[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,n[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,n[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}n.Rabbit=e._createHelper(r)}(),t.Rabbit)},E4Ma:function(n,e,l){"use strict";l("eoL8"),l("tkto"),l("TeQF"),l("5DmW"),l("QWBl"),l("FZtP"),l("27RR"),l("HRxU"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("wLYn"),l("ma9I"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("07d7"),l("qePV");var t,i=(t=l("LvDl"))&&t.__esModule?t:{default:t},o=l("5P0i");function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.push.apply(l,t)}return l}function a(n){for(var e=1;e 0?n:10,this.refs.modalWrapper.style.paddingTop="".concat(n,"px")}},{key:"openModal",value:function(){this.isOpened=!0,this.refs.modalWrapper.classList.remove("component-rendering-hidden"),"signature"===this.component.component.type&&this.positionOverElement()}},{key:"updateView",value:function(){var n=i.default.isEqual(this.currentValue,this.component.defaultValue)?this.openModalTemplate:this.component.getModalPreviewTemplate();this.component.setContent(this.refs.openModalWrapper,n),this.setOpenEventListener()}},{key:"closeModal",value:function(){this.refs.modalWrapper.classList.remove("formio-dialog-disabled-animation"),this.refs.modalWrapper.classList.add("component-rendering-hidden"),this.isOpened=!1,this.updateView()}},{key:"closeModalHandler",value:function(n){n.preventDefault(),this.component.disabled||this.component.setValue(i.default.cloneDeep(this.currentValue),{resetValue:!0}),this.closeModal()}},{key:"showDialog",value:function(){this.dialogElement=this.component.ce("div");var n='\n '.concat(this.component.t("Do you want to clear changes?"),'
\n\n \n \n\n ");this.dialogElement.innerHTML=n,this.dialogElement.refs={},this.component.loadRefs.call(this.dialogElement,this.dialogElement,{dialogHeader:"single",dialogCancelButton:"single",dialogYesButton:"single"}),this.dialog=this.component.createModal(this.dialogElement),this.component.addEventListener(this.dialogElement.refs.dialogYesButton,"click",this.saveDialogListener),this.component.addEventListener(this.dialogElement.refs.dialogCancelButton,"click",this.closeDialogListener)}},{key:"closeDialog",value:function(n){n.preventDefault(),this.dialog.close(),this.component.removeEventListener(this.dialogElement.refs.dialogYesButton,"click",this.saveDialogListener),this.component.removeEventListener(this.dialogElement.refs.dialogCancelButton,"click",this.closeDialogListener)}},{key:"saveDialog",value:function(n){this.closeDialog(n),this.closeModalHandler(n)}},{key:"saveModalValueHandler",value:function(n){var e;n.preventDefault(),this.currentValue=(0,o.fastCloneDeep)(null!==(e=this.component.dataValue)&&void 0!==e?e:this.component.getValue()),this.closeModal()}}])&&c(e.prototype,l),t&&c(e,t),Object.defineProperty(e,"prototype",{writable:!1}),n}();e.default=p},E6aO:function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(l("bsYB")),i=o(l("CXJR"));function o(n){return n&&n.__esModule?n:{default:n}}var u={form:t.default,html:i.default};e.default=u},E6bK:function(n,e,l){"use strict";var t=Math.round;n.exports=function(n){var e=t(n);return e<0?0:e>255?255:255&e}},E9LY:function(n,e,l){"use strict";var t=l("4zBA"),i=l("0Dky"),o=l("Fib7"),u=l("Gi26"),r=l("g6v/"),a=l("Xnc8").CONFIGURABLE,s=l("iSVu"),c=l("afO8"),d=c.enforce,p=c.get,h=String,f=Object.defineProperty,g=t("".slice),m=t("".replace),v=t([].join),b=r&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),y=String(String).split("String"),A=n.exports=function(n,e,l){"Symbol("===g(h(e),0,7)&&(e="["+m(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),l&&l.getter&&(e="get "+e),l&&l.setter&&(e="set "+e),(!u(n,"name")||a&&n.name!==e)&&(r?f(n,"name",{value:e,configurable:!0}):n.name=e),b&&l&&u(l,"arity")&&n.length!==l.arity&&f(n,"length",{value:l.arity});try{l&&u(l,"constructor")&&l.constructor?r&&f(n,"prototype",{writable:!1}):n.prototype&&(n.prototype=void 0)}catch(i){}var t=d(n);return u(t,"source")||(t.source=v(y,"string"==typeof e?e:"")),n};Function.prototype.toString=A((function(){return o(this)&&p(this).source||s(this)}),"toString")},E9XD:function(n,e,l){"use strict";var t=l("I+eb"),i=l("1Y/n").left,o=l("pkCn"),u=l("LQDL");t({target:"Array",proto:!0,forced:!l("YF1G")&&u>79&&u<83||!o("reduce")},{reduce:function(n){var e=arguments.length;return i(this,n,e,e>1?arguments[1]:void 0)}})},EA7m:function(n,e,l){var t=l("zZ0H"),i=l("Ioao"),o=l("wclG");n.exports=function(n,e){return o(i(n,e,t),n+"")}},EBTT:function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var n=arguments.length,e=new Array(n),l=0;lb)","g");return"b"!==n.exec("b").groups.a||"bc"!=="b".replace(n,"$c")}))},EKy7:function(n,e,l){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l("07d7"),l("XUE8"),l("5DmW"),l("SuFq"),l("uL8W"),l("eoL8"),l("gXIK"),l("7+zs"),l("pNMO"),l("4Brf"),l("qePV"),l("0oug"),l("4mDm"),l("PKPk"),l("3bBZ"),l("pjDv"),l("sMBO"),l("tkto"),l("TeQF"),l("QWBl"),l("FZtP"),l("27RR"),l("HRxU"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("J30X"),l("2B1R"),l("yq1k"),l("JTJg"),l("ma9I"),l("+2oP"),l("rB9j"),l("UxlC"),l("ExoC"),l("wLYn"),l("NBAS");var i=r(l("wd/R")),o=r(l("uDcv")),u=l("5P0i");function r(n){return n&&n.__esModule?n:{default:n}}function a(n,e){var l=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.push.apply(l,t)}return l}function s(n){for(var e=1;e n.length)&&(e=n.length);for(var l=0,t=new Array(e);l \n \n ',n.panels.forEach((function(t,i){l+='\n
\n\n"}},ELcG:function(n,e,l){var t;n.exports=(t=l("Ib8C"),function(n){var e=t,l=e.lib,i=l.WordArray,o=l.Hasher,u=e.algo,r=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),s=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),p=i.create([1352829926,1548603684,1836072691,2053994217,0]),h=u.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,e){for(var l=0;l<16;l++){var t=e+l,i=n[t];n[t]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,u,h,A,w,C,x,k,_,S,P,I=this._hash.words,O=d.words,T=p.words,M=r.words,E=a.words,D=s.words,R=c.words;for(C=o=I[0],x=u=I[1],k=h=I[2],_=A=I[3],S=w=I[4],l=0;l<80;l+=1)P=o+n[e+M[l]]|0,P+=l<16?f(u,h,A)+O[0]:l<32?g(u,h,A)+O[1]:l<48?m(u,h,A)+O[2]:l<64?v(u,h,A)+O[3]:b(u,h,A)+O[4],P=(P=y(P|=0,D[l]))+w|0,o=w,w=A,A=y(h,10),h=u,u=P,P=C+n[e+E[l]]|0,P+=l<16?b(x,k,_)+T[0]:l<32?v(x,k,_)+T[1]:l<48?m(x,k,_)+T[2]:l<64?g(x,k,_)+T[3]:f(x,k,_)+T[4],P=(P=y(P|=0,R[l]))+S|0,C=S,S=_,_=y(k,10),k=x,x=P;P=I[1]+h+_|0,I[1]=I[2]+A+S|0,I[2]=I[3]+w+C|0,I[3]=I[4]+o+x|0,I[4]=I[0]+u+k|0,I[0]=P},_doFinalize:function(){var n=this._data,e=n.words,l=8*this._nDataBytes,t=8*n.sigBytes;e[t>>>5]|=128<<24-t%32,e[14+(t+64>>>9<<4)]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),n.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,o=i.words,u=0;u<5;u++){var r=o[u];o[u]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}return i},clone:function(){var n=o.clone.call(this);return n._hash=this._hash.clone(),n}});function f(n,e,l){return n^e^l}function g(n,e,l){return n&e|~n&l}function m(n,e,l){return(n|~e)^l}function v(n,e,l){return n&l|e&~l}function b(n,e,l){return n^(e|~l)}function y(n,e){return n<- \n \n '+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&n.currentPage===i&&(l+='\n \n '),l+="\n \n
\n "})),l+="\n>>32-e}e.RIPEMD160=o._createHelper(h),e.HmacRIPEMD160=o._createHmacHelper(h)}(Math),t.RIPEMD160)},ENF9:function(n,e,l){"use strict";l("AJTl")},EOgW:function(n,e,l){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(n){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===n},meridiem:function(n,e,l){return n<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(l("wd/R"))},ERFX:function(n,e,l){"use strict";l("eoL8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,l("ma9I");var t,i=(t=l("CFBA"))&&t.__esModule?t:{default:t},o=l("0IpN");var u=function(n){return{uploadFile:function(e,l,t,u,r,a,s,c,d,p){return new i.default((function(i,r){var a=new XMLHttpRequest;"function"==typeof u&&(a.upload.onprogress=u),"function"==typeof p&&p((function(){return a.abort()}));var s=new FormData;s.append("name",l),s.append("dir",t),s.append("file",e),a.onerror=function(n){n.networkError=!0,r(n)},a.onload=function(){if(a.status>=200&&a.status<300){var n=JSON.parse(a.response);n.storage="googledrive",n.size=e.size,n.type=e.type,n.groupId=d,n.groupPermissions=c,i(n)}else r(a.response||"Unable to upload file")},a.onabort=r,a.open("POST","".concat(n.formUrl,"/storage/gdrive")),(0,o.setXhrHeaders)(n,a);var h=n.getToken();h&&a.setRequestHeader("x-jwt-token",h),a.send(s)}))},downloadFile:function(e){var l=n.getToken();return e.url="".concat(n.formUrl,"/storage/gdrive?fileId=").concat(e.id,"&fileName=").concat(e.originalName).concat(l?"&x-jwt-token=".concat(l):""),i.default.resolve(e)}}};u.title="Google Drive";var r=u;e.default=r},ETIr:function(n,e,l){var t,i,o;n.exports=(o=l("Ib8C"),i=(t=o).lib.WordArray,t.enc.Base64={stringify:function(n){var e=n.words,l=n.sigBytes,t=this._map;n.clamp();for(var i=[],o=0;o >>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,r=0;r<4&&o+.75*r >>6*(3-r)&63));var a=t.charAt(64);if(a)for(;i.length%4;)i.push(a);return i.join("")},parse:function(n){var e=n.length,l=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var o=0;o >>6-u%4*2,s=r|a;t[o>>>2]|=s<<24-o%4*8,o++}return i.create(t,o)}(n,e,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},EUja:function(n,e,l){"use strict";var t=l("WSbT"),i=l("V37c"),o=l("HYAF"),u=RangeError;n.exports=function(n){var e=i(o(this)),l="",r=t(n);if(r<0||r===1/0)throw new u("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(l+=e);return l}},EVdn:function(n,e,l){var t,i;!function(e,l){"use strict";"object"==typeof n.exports?n.exports=e.document?l(e,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return l(n)}:l(e)}("undefined"!=typeof window?window:this,(function(l,o){"use strict";var u=[],r=Object.getPrototypeOf,a=u.slice,s=u.flat?function(n){return u.flat.call(n)}:function(n){return u.concat.apply([],n)},c=u.push,d=u.indexOf,p={},h=p.toString,f=p.hasOwnProperty,g=f.toString,m=g.call(Object),v={},b=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType&&"function"!=typeof n.item},y=function(n){return null!=n&&n===n.window},A=l.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function C(n,e,l){var t,i,o=(l=l||A).createElement("script");if(o.text=n,e)for(t in w)(i=e[t]||e.getAttribute&&e.getAttribute(t))&&o.setAttribute(t,i);l.head.appendChild(o).parentNode.removeChild(o)}function x(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?p[h.call(n)]||"object":typeof n}var k=/HTML$/i,_=function(n,e){return new _.fn.init(n,e)};function S(n){var e=!!n&&"length"in n&&n.length,l=x(n);return!b(n)&&!y(n)&&("array"===l||0===e||"number"==typeof e&&e>0&&e-1 in n)}function P(n,e){return n.nodeName&&n.nodeName.toLowerCase()===e.toLowerCase()}_.fn=_.prototype={jquery:"3.7.1",constructor:_,length:0,toArray:function(){return a.call(this)},get:function(n){return null==n?a.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var e=_.merge(this.constructor(),n);return e.prevObject=this,e},each:function(n){return _.each(this,n)},map:function(n){return this.pushStack(_.map(this,(function(e,l){return n.call(e,l,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,(function(n,e){return(e+1)%2})))},odd:function(){return this.pushStack(_.grep(this,(function(n,e){return e%2})))},eq:function(n){var e=this.length,l=+n+(n<0?e:0);return this.pushStack(l>=0&&l +~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),z=new RegExp(B),H=new RegExp("^"+D+"$"),G={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,W=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),J=function(n,e){var l="0x"+n.slice(1)-65536;return e||(l<0?String.fromCharCode(l+65536):String.fromCharCode(l>>10|55296,1023&l|56320))},X=function(){sn()},$=hn((function(n){return!0===n.disabled&&P(n,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(u=a.call(L.childNodes),L.childNodes),u[L.childNodes.length].nodeType}catch(An){g={apply:function(n,e){N.apply(n,a.call(e))},call:function(n){N.apply(n,a.call(arguments,1))}}}function Z(n,e,l,t){var i,o,u,a,s,d,h,f=e&&e.ownerDocument,b=e?e.nodeType:9;if(l=l||[],"string"!=typeof n||!n||1!==b&&9!==b&&11!==b)return l;if(!t&&(sn(e),e=e||r,c)){if(11!==b&&(s=W.exec(n)))if(i=s[1]){if(9===b){if(!(u=e.getElementById(i)))return l;if(u.id===i)return g.call(l,u),l}else if(f&&(u=f.getElementById(i))&&Z.contains(e,u)&&u.id===i)return g.call(l,u),l}else{if(s[2])return g.apply(l,e.getElementsByTagName(n)),l;if((i=s[3])&&e.getElementsByClassName)return g.apply(l,e.getElementsByClassName(i)),l}if(!(x[n+" "]||p&&p.test(n))){if(h=n,f=e,1===b&&(U.test(n)||V.test(n))){for((f=Q.test(n)&&an(e.parentNode)||e)==e&&v.scope||((a=e.getAttribute("id"))?a=_.escapeSelector(a):e.setAttribute("id",a=m)),o=(d=dn(n)).length;o--;)d[o]=(a?"#"+a:":scope")+" "+pn(d[o]);h=d.join(",")}try{return g.apply(l,f.querySelectorAll(h)),l}catch(y){x(n,!0)}finally{a===m&&e.removeAttribute("id")}}}return yn(n.replace(E,"$1"),e,l,t)}function nn(){var n=[];return function l(t,i){return n.push(t+" ")>e.cacheLength&&delete l[n.shift()],l[t+" "]=i}}function en(n){return n[m]=!0,n}function ln(n){var e=r.createElement("fieldset");try{return!!n(e)}catch(An){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function tn(n){return function(e){return P(e,"input")&&e.type===n}}function on(n){return function(e){return(P(e,"input")||P(e,"button"))&&e.type===n}}function un(n){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===n:e.disabled===n:e.isDisabled===n||e.isDisabled!==!n&&$(e)===n:e.disabled===n:"label"in e&&e.disabled===n}}function rn(n){return en((function(e){return e=+e,en((function(l,t){for(var i,o=n([],l.length,e),u=o.length;u--;)l[i=o[u]]&&(l[i]=!(t[i]=l[i]))}))}))}function an(n){return n&&void 0!==n.getElementsByTagName&&n}function sn(n){var l,t=n?n.ownerDocument||n:L;return t!=r&&9===t.nodeType&&t.documentElement?(s=(r=t).documentElement,c=!_.isXMLDoc(r),h=s.matches||s.webkitMatchesSelector||s.msMatchesSelector,s.msMatchesSelector&&L!=r&&(l=r.defaultView)&&l.top!==l&&l.addEventListener("unload",X),v.getById=ln((function(n){return s.appendChild(n).id=_.expando,!r.getElementsByName||!r.getElementsByName(_.expando).length})),v.disconnectedMatch=ln((function(n){return h.call(n,"*")})),v.scope=ln((function(){return r.querySelectorAll(":scope")})),v.cssHas=ln((function(){try{return r.querySelector(":has(*,:jqfake)"),!1}catch(An){return!0}})),v.getById?(e.filter.ID=function(n){var e=n.replace(K,J);return function(n){return n.getAttribute("id")===e}},e.find.ID=function(n,e){if(void 0!==e.getElementById&&c){var l=e.getElementById(n);return l?[l]:[]}}):(e.filter.ID=function(n){var e=n.replace(K,J);return function(n){var l=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return l&&l.value===e}},e.find.ID=function(n,e){if(void 0!==e.getElementById&&c){var l,t,i,o=e.getElementById(n);if(o){if((l=o.getAttributeNode("id"))&&l.value===n)return[o];for(i=e.getElementsByName(n),t=0;o=i[t++];)if((l=o.getAttributeNode("id"))&&l.value===n)return[o]}return[]}}),e.find.TAG=function(n,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(n):e.querySelectorAll(n)},e.find.CLASS=function(n,e){if(void 0!==e.getElementsByClassName&&c)return e.getElementsByClassName(n)},p=[],ln((function(n){var e;s.appendChild(n).innerHTML="",n.querySelectorAll("[selected]").length||p.push("\\["+M+"*(?:value|"+S+")"),n.querySelectorAll("[id~="+m+"-]").length||p.push("~="),n.querySelectorAll("a#"+m+"+*").length||p.push(".#.+[+~]"),n.querySelectorAll(":checked").length||p.push(":checked"),(e=r.createElement("input")).setAttribute("type","hidden"),n.appendChild(e).setAttribute("name","D"),s.appendChild(n).disabled=!0,2!==n.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(e=r.createElement("input")).setAttribute("name",""),n.appendChild(e),n.querySelectorAll("[name='']").length||p.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")")})),v.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),k=function(n,e){if(n===e)return o=!0,0;var l=!n.compareDocumentPosition-!e.compareDocumentPosition;return l||(1&(l=(n.ownerDocument||n)==(e.ownerDocument||e)?n.compareDocumentPosition(e):1)||!v.sortDetached&&e.compareDocumentPosition(n)===l?n===r||n.ownerDocument==L&&Z.contains(L,n)?-1:e===r||e.ownerDocument==L&&Z.contains(L,e)?1:i?d.call(i,n)-d.call(i,e):0:4&l?-1:1)},r):r}for(n in Z.matches=function(n,e){return Z(n,null,null,e)},Z.matchesSelector=function(n,e){if(sn(n),c&&!x[e+" "]&&(!p||!p.test(e)))try{var l=h.call(n,e);if(l||v.disconnectedMatch||n.document&&11!==n.document.nodeType)return l}catch(An){x(e,!0)}return Z(e,r,null,[n]).length>0},Z.contains=function(n,e){return(n.ownerDocument||n)!=r&&sn(n),_.contains(n,e)},Z.attr=function(n,l){(n.ownerDocument||n)!=r&&sn(n);var t=e.attrHandle[l.toLowerCase()],i=t&&f.call(e.attrHandle,l.toLowerCase())?t(n,l,!c):void 0;return void 0!==i?i:n.getAttribute(l)},Z.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n)},_.uniqueSort=function(n){var e,l=[],t=0,u=0;if(o=!v.sortStable,i=!v.sortStable&&a.call(n,0),O.call(n,k),o){for(;e=n[u++];)e===n[u]&&(t=l.push(u));for(;t--;)T.call(n,l[t],1)}return i=null,n},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(a.apply(this)))},(e=_.expr={cacheLength:50,createPseudo:en,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(K,J),n[3]=(n[3]||n[4]||n[5]||"").replace(K,J),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||Z.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&Z.error(n[0]),n},PSEUDO:function(n){var e,l=!n[6]&&n[2];return G.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":l&&z.test(l)&&(e=dn(l,!0))&&(e=l.indexOf(")",l.length-e)-l.length)&&(n[0]=n[0].slice(0,e),n[2]=l.slice(0,e)),n.slice(0,3))}},filter:{TAG:function(n){var e=n.replace(K,J).toLowerCase();return"*"===n?function(){return!0}:function(n){return P(n,e)}},CLASS:function(n){var e=A[n+" "];return e||(e=new RegExp("(^|"+M+")"+n+"("+M+"|$)"))&&A(n,(function(n){return e.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")}))},ATTR:function(n,e,l){return function(t){var i=Z.attr(t,n);return null==i?"!="===e:!e||(i+="","="===e?i===l:"!="===e?i!==l:"^="===e?l&&0===i.indexOf(l):"*="===e?l&&i.indexOf(l)>-1:"$="===e?l&&i.slice(-l.length)===l:"~="===e?(" "+i.replace(F," ")+" ").indexOf(l)>-1:"|="===e&&(i===l||i.slice(0,l.length+1)===l+"-"))}},CHILD:function(n,e,l,t,i){var o="nth"!==n.slice(0,3),u="last"!==n.slice(-4),r="of-type"===e;return 1===t&&0===i?function(n){return!!n.parentNode}:function(e,l,a){var s,c,d,p,h,f=o!==u?"nextSibling":"previousSibling",g=e.parentNode,v=r&&e.nodeName.toLowerCase(),y=!a&&!r,A=!1;if(g){if(o){for(;f;){for(d=e;d=d[f];)if(r?P(d,v):1===d.nodeType)return!1;h=f="only"===n&&!h&&"nextSibling"}return!0}if(h=[u?g.firstChild:g.lastChild],u&&y){for(A=(p=(s=(c=g[m]||(g[m]={}))[n]||[])[0]===b&&s[1])&&s[2],d=p&&g.childNodes[p];d=++p&&d&&d[f]||(A=p=0)||h.pop();)if(1===d.nodeType&&++A&&d===e){c[n]=[b,p,A];break}}else if(y&&(A=p=(s=(c=e[m]||(e[m]={}))[n]||[])[0]===b&&s[1]),!1===A)for(;(d=++p&&d&&d[f]||(A=p=0)||h.pop())&&(!(r?P(d,v):1===d.nodeType)||!++A||(y&&((c=d[m]||(d[m]={}))[n]=[b,A]),d!==e)););return(A-=i)===t||A%t==0&&A/t>=0}}},PSEUDO:function(n,l){var t,i=e.pseudos[n]||e.setFilters[n.toLowerCase()]||Z.error("unsupported pseudo: "+n);return i[m]?i(l):i.length>1?(t=[n,n,"",l],e.setFilters.hasOwnProperty(n.toLowerCase())?en((function(n,e){for(var t,o=i(n,l),u=o.length;u--;)n[t=d.call(n,o[u])]=!(e[t]=o[u])})):function(n){return i(n,0,t)}):i}},pseudos:{not:en((function(n){var e=[],l=[],t=bn(n.replace(E,"$1"));return t[m]?en((function(n,e,l,i){for(var o,u=t(n,null,i,[]),r=n.length;r--;)(o=u[r])&&(n[r]=!(e[r]=o))})):function(n,i,o){return e[0]=n,t(e,null,o,l),e[0]=null,!l.pop()}})),has:en((function(n){return function(e){return Z(n,e).length>0}})),contains:en((function(n){return n=n.replace(K,J),function(e){return(e.textContent||_.text(e)).indexOf(n)>-1}})),lang:en((function(n){return H.test(n||"")||Z.error("unsupported lang: "+n),n=n.replace(K,J).toLowerCase(),function(e){var l;do{if(l=c?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(l=l.toLowerCase())===n||0===l.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(n){var e=l.location&&l.location.hash;return e&&e.slice(1)===n.id},root:function(n){return n===s},focus:function(n){return n===function(){try{return r.activeElement}catch(n){}}()&&r.hasFocus()&&!!(n.type||n.href||~n.tabIndex)},enabled:un(!1),disabled:un(!0),checked:function(n){return P(n,"input")&&!!n.checked||P(n,"option")&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!e.pseudos.empty(n)},header:function(n){return q.test(n.nodeName)},input:function(n){return Y.test(n.nodeName)},button:function(n){return P(n,"input")&&"button"===n.type||P(n,"button")},text:function(n){var e;return P(n,"input")&&"text"===n.type&&(null==(e=n.getAttribute("type"))||"text"===e.toLowerCase())},first:rn((function(){return[0]})),last:rn((function(n,e){return[e-1]})),eq:rn((function(n,e,l){return[l<0?l+e:l]})),even:rn((function(n,e){for(var l=0;l e?e:l;--t>=0;)n.push(t);return n})),gt:rn((function(n,e,l){for(var t=l<0?l+e:l;++t 1?function(e,l,t){for(var i=n.length;i--;)if(!n[i](e,l,t))return!1;return!0}:n[0]}function gn(n,e,l,t,i){for(var o,u=[],r=0,a=n.length,s=null!=e;r-1&&(o[s]=!(u[s]=p))}}else h=gn(h===u?h.splice(v,h.length):h),i?i(null,u,h,a):g.apply(u,h)}))}function vn(n){for(var l,i,o,u=n.length,r=e.relative[n[0].type],a=r||e.relative[" "],s=r?1:0,c=hn((function(n){return n===l}),a,!0),p=hn((function(n){return d.call(l,n)>-1}),a,!0),h=[function(n,e,i){var o=!r&&(i||e!=t)||((l=e).nodeType?c(n,e,i):p(n,e,i));return l=null,o}];s1&&fn(h),s>1&&pn(n.slice(0,s-1).concat({value:" "===n[s-2].type?"*":""})).replace(E,"$1"),i,s 0,o=n.length>0,u=function(u,a,s,d,p){var h,f,m,v=0,y="0",A=u&&[],w=[],C=t,x=u||o&&e.find.TAG("*",p),k=b+=null==C?1:Math.random()||.1,S=x.length;for(p&&(t=a==r||a||p);y!==S&&null!=(h=x[y]);y++){if(o&&h){for(f=0,a||h.ownerDocument==r||(sn(h),s=!c);m=n[f++];)if(m(h,a||r,s)){g.call(d,h);break}p&&(b=k)}i&&((h=!m&&h)&&v--,u&&A.push(h))}if(v+=y,i&&y!==v){for(f=0;m=l[f++];)m(A,w,a,s);if(u){if(v>0)for(;y--;)A[y]||w[y]||(w[y]=I.call(d));w=gn(w)}g.apply(d,w),p&&!u&&w.length>0&&v+l.length>1&&_.uniqueSort(d)}return p&&(b=k,t=C),A};return i?en(u):u}(u,o))).selector=n}return a}function yn(n,l,t,i){var o,u,r,a,s,d="function"==typeof n&&n,p=!i&&dn(n=d.selector||n);if(t=t||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(r=u[0]).type&&9===l.nodeType&&c&&e.relative[u[1].type]){if(!(l=(e.find.ID(r.matches[0].replace(K,J),l)||[])[0]))return t;d&&(l=l.parentNode),n=n.slice(u.shift().value.length)}for(o=G.needsContext.test(n)?0:u.length;o--&&(r=u[o],!e.relative[a=r.type]);)if((s=e.find[a])&&(i=s(r.matches[0].replace(K,J),Q.test(u[0].type)&&an(l.parentNode)||l))){if(u.splice(o,1),!(n=i.length&&pn(u)))return g.apply(t,i),t;break}}return(d||bn(n,p))(i,l,!c,t,!l||Q.test(n)&&an(l.parentNode)||l),t}cn.prototype=e.filters=e.pseudos,e.setFilters=new cn,v.sortStable=m.split("").sort(k).join("")===m,sn(),v.sortDetached=ln((function(n){return 1&n.compareDocumentPosition(r.createElement("fieldset"))})),_.find=Z,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Z.compile=bn,Z.select=yn,Z.setDocument=sn,Z.tokenize=dn,Z.escape=_.escapeSelector,Z.getText=_.text,Z.isXML=_.isXMLDoc,Z.selectors=_.expr,Z.support=_.support,Z.uniqueSort=_.uniqueSort}();var B=function(n,e,l){for(var t=[],i=void 0!==l;(n=n[e])&&9!==n.nodeType;)if(1===n.nodeType){if(i&&_(n).is(l))break;t.push(n)}return t},F=function(n,e){for(var l=[];n;n=n.nextSibling)1===n.nodeType&&n!==e&&l.push(n);return l},j=_.expr.match.needsContext,V=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function U(n,e,l){return b(e)?_.grep(n,(function(n,t){return!!e.call(n,t,n)!==l})):e.nodeType?_.grep(n,(function(n){return n===e!==l})):"string"!=typeof e?_.grep(n,(function(n){return d.call(e,n)>-1!==l})):_.filter(e,n,l)}_.filter=function(n,e,l){var t=e[0];return l&&(n=":not("+n+")"),1===e.length&&1===t.nodeType?_.find.matchesSelector(t,n)?[t]:[]:_.find.matches(n,_.grep(e,(function(n){return 1===n.nodeType})))},_.fn.extend({find:function(n){var e,l,t=this.length,i=this;if("string"!=typeof n)return this.pushStack(_(n).filter((function(){for(e=0;e 1?_.uniqueSort(l):l},filter:function(n){return this.pushStack(U(this,n||[],!1))},not:function(n){return this.pushStack(U(this,n||[],!0))},is:function(n){return!!U(this,"string"==typeof n&&j.test(n)?_(n):n||[],!1).length}});var z,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(n,e,l){var t,i;if(!n)return this;if(l=l||z,"string"==typeof n){if(!(t="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:H.exec(n))||!t[1]&&e)return!e||e.jquery?(e||l).find(n):this.constructor(e).find(n);if(t[1]){if(e=e instanceof _?e[0]:e,_.merge(this,_.parseHTML(t[1],e&&e.nodeType?e.ownerDocument||e:A,!0)),V.test(t[1])&&_.isPlainObject(e))for(t in e)b(this[t])?this[t](e[t]):this.attr(t,e[t]);return this}return(i=A.getElementById(t[2]))&&(this[0]=i,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):b(n)?void 0!==l.ready?l.ready(n):n(_):_.makeArray(n,this)}).prototype=_.fn,z=_(A);var G=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function q(n,e){for(;(n=n[e])&&1!==n.nodeType;);return n}_.fn.extend({has:function(n){var e=_(n,this),l=e.length;return this.filter((function(){for(var n=0;n -1:1===l.nodeType&&_.find.matchesSelector(l,n))){o.push(l);break}return this.pushStack(o.length>1?_.uniqueSort(o):o)},index:function(n){return n?"string"==typeof n?d.call(_(n),this[0]):d.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,e){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(n,e))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}}),_.each({parent:function(n){var e=n.parentNode;return e&&11!==e.nodeType?e:null},parents:function(n){return B(n,"parentNode")},parentsUntil:function(n,e,l){return B(n,"parentNode",l)},next:function(n){return q(n,"nextSibling")},prev:function(n){return q(n,"previousSibling")},nextAll:function(n){return B(n,"nextSibling")},prevAll:function(n){return B(n,"previousSibling")},nextUntil:function(n,e,l){return B(n,"nextSibling",l)},prevUntil:function(n,e,l){return B(n,"previousSibling",l)},siblings:function(n){return F((n.parentNode||{}).firstChild,n)},children:function(n){return F(n.firstChild)},contents:function(n){return null!=n.contentDocument&&r(n.contentDocument)?n.contentDocument:(P(n,"template")&&(n=n.content||n),_.merge([],n.childNodes))}},(function(n,e){_.fn[n]=function(l,t){var i=_.map(this,e,l);return"Until"!==n.slice(-5)&&(t=l),t&&"string"==typeof t&&(i=_.filter(t,i)),this.length>1&&(Y[n]||_.uniqueSort(i),G.test(n)&&i.reverse()),this.pushStack(i)}}));var W=/[^\x20\t\r\n\f]+/g;function Q(n){return n}function K(n){throw n}function J(n,e,l,t){var i;try{n&&b(i=n.promise)?i.call(n).done(e).fail(l):n&&b(i=n.then)?i.call(n,e,l):e.apply(void 0,[n].slice(t))}catch(n){l.apply(void 0,[n])}}_.Callbacks=function(n){n="string"==typeof n?function(n){var e={};return _.each(n.match(W)||[],(function(n,l){e[l]=!0})),e}(n):_.extend({},n);var e,l,t,i,o=[],u=[],r=-1,a=function(){for(i=i||n.once,t=e=!0;u.length;r=-1)for(l=u.shift();++r -1;)o.splice(l,1),l<=r&&r--})),this},has:function(n){return n?_.inArray(n,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=u=[],o=l="",this},disabled:function(){return!o},lock:function(){return i=u=[],l||e||(o=l=""),this},locked:function(){return!!i},fireWith:function(n,l){return i||(l=[n,(l=l||[]).slice?l.slice():l],u.push(l),e||a()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!t}};return s},_.extend({Deferred:function(n){var e=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],t="pending",i={state:function(){return t},always:function(){return o.done(arguments).fail(arguments),this},catch:function(n){return i.then(null,n)},pipe:function(){var n=arguments;return _.Deferred((function(l){_.each(e,(function(e,t){var i=b(n[t[4]])&&n[t[4]];o[t[1]]((function(){var n=i&&i.apply(this,arguments);n&&b(n.promise)?n.promise().progress(l.notify).done(l.resolve).fail(l.reject):l[t[0]+"With"](this,i?[n]:arguments)}))})),n=null})).promise()},then:function(n,t,i){var o=0;function u(n,e,t,i){return function(){var r=this,a=arguments,s=function(){var l,s;if(!(n =o&&(t!==K&&(r=void 0,a=[l]),e.rejectWith(r,a))}};n?c():(_.Deferred.getErrorHook?c.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(c.error=_.Deferred.getStackHook()),l.setTimeout(c))}}return _.Deferred((function(l){e[0][3].add(u(0,l,b(i)?i:Q,l.notifyWith)),e[1][3].add(u(0,l,b(n)?n:Q)),e[2][3].add(u(0,l,b(t)?t:K))})).promise()},promise:function(n){return null!=n?_.extend(n,i):i}},o={};return _.each(e,(function(n,l){var u=l[2],r=l[5];i[l[1]]=u.add,r&&u.add((function(){t=r}),e[3-n][2].disable,e[3-n][3].disable,e[0][2].lock,e[0][3].lock),u.add(l[3].fire),o[l[0]]=function(){return o[l[0]+"With"](this===o?void 0:this,arguments),this},o[l[0]+"With"]=u.fireWith})),i.promise(o),n&&n.call(o,o),o},when:function(n){var e=arguments.length,l=e,t=Array(l),i=a.call(arguments),o=_.Deferred(),u=function(n){return function(l){t[n]=this,i[n]=arguments.length>1?a.call(arguments):l,--e||o.resolveWith(t,i)}};if(e<=1&&(J(n,o.done(u(l)).resolve,o.reject,!e),"pending"===o.state()||b(i[l]&&i[l].then)))return o.then();for(;l--;)J(i[l],u(l),o.reject);return o.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(n,e){l.console&&l.console.warn&&n&&X.test(n.name)&&l.console.warn("jQuery.Deferred exception: "+n.message,n.stack,e)},_.readyException=function(n){l.setTimeout((function(){throw n}))};var $=_.Deferred();function Z(){A.removeEventListener("DOMContentLoaded",Z),l.removeEventListener("load",Z),_.ready()}_.fn.ready=function(n){return $.then(n).catch((function(n){_.readyException(n)})),this},_.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==n&&--_.readyWait>0||$.resolveWith(A,[_]))}}),_.ready.then=$.then,"complete"===A.readyState||"loading"!==A.readyState&&!A.documentElement.doScroll?l.setTimeout(_.ready):(A.addEventListener("DOMContentLoaded",Z),l.addEventListener("load",Z));var nn=function(n,e,l,t,i,o,u){var r=0,a=n.length,s=null==l;if("object"===x(l))for(r in i=!0,l)nn(n,e,r,l[r],!0,o,u);else if(void 0!==t&&(i=!0,b(t)||(u=!0),s&&(u?(e.call(n,t),e=null):(s=e,e=function(n,e,l){return s.call(_(n),l)})),e))for(;r1,null,!0)},removeData:function(n){return this.each((function(){sn.remove(this,n)}))}}),_.extend({queue:function(n,e,l){var t;if(n)return e=(e||"fx")+"queue",t=an.get(n,e),l&&(!t||Array.isArray(l)?t=an.access(n,e,_.makeArray(l)):t.push(l)),t||[]},dequeue:function(n,e){e=e||"fx";var l=_.queue(n,e),t=l.length,i=l.shift(),o=_._queueHooks(n,e);"inprogress"===i&&(i=l.shift(),t--),i&&("fx"===e&&l.unshift("inprogress"),delete o.stop,i.call(n,(function(){_.dequeue(n,e)}),o)),!t&&o&&o.empty.fire()},_queueHooks:function(n,e){var l=e+"queueHooks";return an.get(n,l)||an.access(n,l,{empty:_.Callbacks("once memory").add((function(){an.remove(n,[e+"queue",l])}))})}}),_.fn.extend({queue:function(n,e){var l=2;return"string"!=typeof n&&(e=n,n="fx",l--),arguments.length \x20\t\r\n\f]*)/i,In=/^$|^module$|\/(?:java|ecma)script/i;kn=A.createDocumentFragment().appendChild(A.createElement("div")),(_n=A.createElement("input")).setAttribute("type","radio"),_n.setAttribute("checked","checked"),_n.setAttribute("name","t"),kn.appendChild(_n),v.checkClone=kn.cloneNode(!0).cloneNode(!0).lastChild.checked,kn.innerHTML="",v.noCloneChecked=!!kn.cloneNode(!0).lastChild.defaultValue,kn.innerHTML="",v.option=!!kn.lastChild;var On={thead:[1," ","
"],col:[2,""],tr:[2,"
"," ","
"],td:[3,""],_default:[0,"",""]};function Tn(n,e){var l;return l=void 0!==n.getElementsByTagName?n.getElementsByTagName(e||"*"):void 0!==n.querySelectorAll?n.querySelectorAll(e||"*"):[],void 0===e||e&&P(n,e)?_.merge([n],l):l}function Mn(n,e){for(var l=0,t=n.length;l
"," ",""]);var En=/<|?\w+;/;function Dn(n,e,l,t,i){for(var o,u,r,a,s,c,d=e.createDocumentFragment(),p=[],h=0,f=n.length;h -1)i&&i.push(o);else if(s=vn(o),u=Tn(d.appendChild(o),"script"),s&&Mn(u),l)for(c=0;o=u[c++];)In.test(o.type||"")&&l.push(o);return d}var Rn=/^([^.]*)(?:\.(.+)|)/;function Ln(){return!0}function Nn(){return!1}function Bn(n,e,l,t,i,o){var u,r;if("object"==typeof e){for(r in"string"!=typeof l&&(t=t||l,l=void 0),e)Bn(n,r,l,t,e[r],o);return n}if(null==t&&null==i?(i=l,t=l=void 0):null==i&&("string"==typeof l?(i=t,t=void 0):(i=t,t=l,l=void 0)),!1===i)i=Nn;else if(!i)return n;return 1===o&&(u=i,(i=function(n){return _().off(n),u.apply(this,arguments)}).guid=u.guid||(u.guid=_.guid++)),n.each((function(){_.event.add(this,e,i,t,l)}))}function Fn(n,e,l){l?(an.set(n,e,!1),_.event.add(n,e,{namespace:!1,handler:function(n){var l,t=an.get(this,e);if(1&n.isTrigger&&this[e]){if(t)(_.event.special[e]||{}).delegateType&&n.stopPropagation();else if(t=a.call(arguments),an.set(this,e,t),this[e](),l=an.get(this,e),an.set(this,e,!1),t!==l)return n.stopImmediatePropagation(),n.preventDefault(),l}else t&&(an.set(this,e,_.event.trigger(t[0],t.slice(1),this)),n.stopPropagation(),n.isImmediatePropagationStopped=Ln)}})):void 0===an.get(n,e)&&_.event.add(n,e,Ln)}_.event={global:{},add:function(n,e,l,t,i){var o,u,r,a,s,c,d,p,h,f,g,m=an.get(n);if(un(n))for(l.handler&&(l=(o=l).handler,i=o.selector),i&&_.find.matchesSelector(mn,i),l.guid||(l.guid=_.guid++),(a=m.events)||(a=m.events=Object.create(null)),(u=m.handle)||(u=m.handle=function(e){return void 0!==_&&_.event.triggered!==e.type?_.event.dispatch.apply(n,arguments):void 0}),s=(e=(e||"").match(W)||[""]).length;s--;)h=g=(r=Rn.exec(e[s])||[])[1],f=(r[2]||"").split(".").sort(),h&&(d=_.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=_.event.special[h]||{},c=_.extend({type:h,origType:g,data:t,handler:l,guid:l.guid,selector:i,needsContext:i&&_.expr.match.needsContext.test(i),namespace:f.join(".")},o),(p=a[h])||((p=a[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(n,t,f,u)||n.addEventListener&&n.addEventListener(h,u)),d.add&&(d.add.call(n,c),c.handler.guid||(c.handler.guid=l.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),_.event.global[h]=!0)},remove:function(n,e,l,t,i){var o,u,r,a,s,c,d,p,h,f,g,m=an.hasData(n)&&an.get(n);if(m&&(a=m.events)){for(s=(e=(e||"").match(W)||[""]).length;s--;)if(h=g=(r=Rn.exec(e[s])||[])[1],f=(r[2]||"").split(".").sort(),h){for(d=_.event.special[h]||{},p=a[h=(t?d.delegateType:d.bindType)||h]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=p.length;o--;)c=p[o],!i&&g!==c.origType||l&&l.guid!==c.guid||r&&!r.test(c.namespace)||t&&t!==c.selector&&("**"!==t||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(n,c));u&&!p.length&&(d.teardown&&!1!==d.teardown.call(n,f,m.handle)||_.removeEvent(n,h,m.handle),delete a[h])}else for(h in a)_.event.remove(n,h+e[s],l,t,!0);_.isEmptyObject(a)&&an.remove(n,"handle events")}},dispatch:function(n){var e,l,t,i,o,u,r=new Array(arguments.length),a=_.event.fix(n),s=(an.get(this,"events")||Object.create(null))[a.type]||[],c=_.event.special[a.type]||{};for(r[0]=a,e=1;e =1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==n.type||!0!==s.disabled)){for(o=[],u={},l=0;l-1:_.find(i,this,null,[s]).length),u[i]&&o.push(t);o.length&&r.push({elem:s,handlers:o})}return s=this,a \s*$/g;function zn(n,e){return P(n,"table")&&P(11!==e.nodeType?e:e.firstChild,"tr")&&_(n).children("tbody")[0]||n}function Hn(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function Gn(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function Yn(n,e){var l,t,i,o,u,r;if(1===e.nodeType){if(an.hasData(n)&&(r=an.get(n).events))for(i in an.remove(e,"handle events"),r)for(l=0,t=r[i].length;l 1&&"string"==typeof f&&!v.checkClone&&Vn.test(f))return n.each((function(i){var o=n.eq(i);g&&(e[0]=f.call(this,i,o.html())),Wn(o,e,l,t)}));if(p&&(o=(i=Dn(e,n[0].ownerDocument,!1,n,t)).firstChild,1===i.childNodes.length&&(i=o),o||t)){for(r=(u=_.map(Tn(i,"script"),Hn)).length;d 0&&Mn(u,!a&&Tn(n,"script")),r},cleanData:function(n){for(var e,l,t,i=_.event.special,o=0;void 0!==(l=n[o]);o++)if(un(l)){if(e=l[an.expando]){if(e.events)for(t in e.events)i[t]?_.event.remove(l,t):_.removeEvent(l,t,e.handle);l[an.expando]=void 0}l[sn.expando]&&(l[sn.expando]=void 0)}}}),_.fn.extend({detach:function(n){return Qn(this,n,!0)},remove:function(n){return Qn(this,n)},text:function(n){return nn(this,(function(n){return void 0===n?_.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)}))}),null,n,arguments.length)},append:function(){return Wn(this,arguments,(function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||zn(this,n).appendChild(n)}))},prepend:function(){return Wn(this,arguments,(function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=zn(this,n);e.insertBefore(n,e.firstChild)}}))},before:function(){return Wn(this,arguments,(function(n){this.parentNode&&this.parentNode.insertBefore(n,this)}))},after:function(){return Wn(this,arguments,(function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)}))},empty:function(){for(var n,e=0;null!=(n=this[e]);e++)1===n.nodeType&&(_.cleanData(Tn(n,!1)),n.textContent="");return this},clone:function(n,e){return n=null!=n&&n,e=null==e?n:e,this.map((function(){return _.clone(this,n,e)}))},html:function(n){return nn(this,(function(n){var e=this[0]||{},l=0,t=this.length;if(void 0===n&&1===e.nodeType)return e.innerHTML;if("string"==typeof n&&!jn.test(n)&&!On[(Pn.exec(n)||["",""])[1].toLowerCase()]){n=_.htmlPrefilter(n);try{for(;l
=0&&(a+=Math.max(0,Math.ceil(n["offset"+e[0].toUpperCase()+e.slice(1)]-o-a-r-.5))||0),a+s}function de(n,e,l){var t=Xn(n),i=(!v.boxSizingReliable()||l)&&"border-box"===_.css(n,"boxSizing",!1,t),o=i,u=ne(n,e,t),r="offset"+e[0].toUpperCase()+e.slice(1);if(Kn.test(u)){if(!l)return u;u="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&P(n,"tr")||"auto"===u||!parseFloat(u)&&"inline"===_.css(n,"display",!1,t))&&n.getClientRects().length&&(i="border-box"===_.css(n,"boxSizing",!1,t),(o=r in n)&&(u=n[r])),(u=parseFloat(u)||0)+ce(n,e,l||(i?"border":"content"),o,t,u)+"px"}function pe(n,e,l,t,i){return new pe.prototype.init(n,e,l,t,i)}_.extend({cssHooks:{opacity:{get:function(n,e){if(e){var l=ne(n,"opacity");return""===l?"1":l}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(n,e,l,t){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var i,o,u,r=on(e),a=Jn.test(e),s=n.style;if(a||(e=oe(r)),u=_.cssHooks[e]||_.cssHooks[r],void 0===l)return u&&"get"in u&&void 0!==(i=u.get(n,!1,t))?i:s[e];"string"===(o=typeof l)&&(i=fn.exec(l))&&i[1]&&(l=An(n,e,i),o="number"),null!=l&&l==l&&("number"!==o||a||(l+=i&&i[3]||(_.cssNumber[r]?"":"px")),v.clearCloneStyle||""!==l||0!==e.indexOf("background")||(s[e]="inherit"),u&&"set"in u&&void 0===(l=u.set(n,l,t))||(a?s.setProperty(e,l):s[e]=l))}},css:function(n,e,l,t){var i,o,u,r=on(e);return Jn.test(e)||(e=oe(r)),(u=_.cssHooks[e]||_.cssHooks[r])&&"get"in u&&(i=u.get(n,!0,l)),void 0===i&&(i=ne(n,e,t)),"normal"===i&&e in ae&&(i=ae[e]),""===l||l?(o=parseFloat(i),!0===l||isFinite(o)?o||0:i):i}}),_.each(["height","width"],(function(n,e){_.cssHooks[e]={get:function(n,l,t){if(l)return!ue.test(_.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?de(n,e,t):$n(n,re,(function(){return de(n,e,t)}))},set:function(n,l,t){var i,o=Xn(n),u=!v.scrollboxSize()&&"absolute"===o.position,r=(u||t)&&"border-box"===_.css(n,"boxSizing",!1,o),a=t?ce(n,e,t,r,o):0;return r&&u&&(a-=Math.ceil(n["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ce(n,e,"border",!1,o)-.5)),a&&(i=fn.exec(l))&&"px"!==(i[3]||"px")&&(n.style[e]=l,l=_.css(n,e)),se(0,l,a)}}})),_.cssHooks.marginLeft=ee(v.reliableMarginLeft,(function(n,e){if(e)return(parseFloat(ne(n,"marginLeft"))||n.getBoundingClientRect().left-$n(n,{marginLeft:0},(function(){return n.getBoundingClientRect().left})))+"px"})),_.each({margin:"",padding:"",border:"Width"},(function(n,e){_.cssHooks[n+e]={expand:function(l){for(var t=0,i={},o="string"==typeof l?l.split(" "):[l];t<4;t++)i[n+gn[t]+e]=o[t]||o[t-2]||o[0];return i}},"margin"!==n&&(_.cssHooks[n+e].set=se)})),_.fn.extend({css:function(n,e){return nn(this,(function(n,e,l){var t,i,o={},u=0;if(Array.isArray(e)){for(t=Xn(n),i=e.length;u1)}}),_.Tween=pe,pe.prototype={constructor:pe,init:function(n,e,l,t,i,o){this.elem=n,this.prop=l,this.easing=i||_.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=t,this.unit=o||(_.cssNumber[l]?"":"px")},cur:function(){var n=pe.propHooks[this.prop];return n&&n.get?n.get(this):pe.propHooks._default.get(this)},run:function(n){var e,l=pe.propHooks[this.prop];return this.options.duration?this.pos=e=_.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):this.pos=e=n,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),l&&l.set?l.set(this):pe.propHooks._default.set(this),this}},pe.prototype.init.prototype=pe.prototype,pe.propHooks={_default:{get:function(n){var e;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(e=_.css(n.elem,n.prop,""))&&"auto"!==e?e:0},set:function(n){_.fx.step[n.prop]?_.fx.step[n.prop](n):1!==n.elem.nodeType||!_.cssHooks[n.prop]&&null==n.elem.style[oe(n.prop)]?n.elem[n.prop]=n.now:_.style(n.elem,n.prop,n.now+n.unit)}}},pe.propHooks.scrollTop=pe.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},_.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"},_.fx=pe.prototype.init,_.fx.step={};var he,fe,ge=/^(?:toggle|show|hide)$/,me=/queueHooks$/;function ve(){fe&&(!1===A.hidden&&l.requestAnimationFrame?l.requestAnimationFrame(ve):l.setTimeout(ve,_.fx.interval),_.fx.tick())}function be(){return l.setTimeout((function(){he=void 0})),he=Date.now()}function ye(n,e){var l,t=0,i={height:n};for(e=e?1:0;t<4;t+=2-e)i["margin"+(l=gn[t])]=i["padding"+l]=n;return e&&(i.opacity=i.width=n),i}function Ae(n,e,l){for(var t,i=(we.tweeners[e]||[]).concat(we.tweeners["*"]),o=0,u=i.length;o1)},removeAttr:function(n){return this.each((function(){_.removeAttr(this,n)}))}}),_.extend({attr:function(n,e,l){var t,i,o=n.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===n.getAttribute?_.prop(n,e,l):(1===o&&_.isXMLDoc(n)||(i=_.attrHooks[e.toLowerCase()]||(_.expr.match.bool.test(e)?Ce:void 0)),void 0!==l?null===l?void _.removeAttr(n,e):i&&"set"in i&&void 0!==(t=i.set(n,l,e))?t:(n.setAttribute(e,l+""),l):i&&"get"in i&&null!==(t=i.get(n,e))?t:null==(t=_.find.attr(n,e))?void 0:t)},attrHooks:{type:{set:function(n,e){if(!v.radioValue&&"radio"===e&&P(n,"input")){var l=n.value;return n.setAttribute("type",e),l&&(n.value=l),e}}}},removeAttr:function(n,e){var l,t=0,i=e&&e.match(W);if(i&&1===n.nodeType)for(;l=i[t++];)n.removeAttribute(l)}}),Ce={set:function(n,e,l){return!1===e?_.removeAttr(n,l):n.setAttribute(l,l),l}},_.each(_.expr.match.bool.source.match(/\w+/g),(function(n,e){var l=xe[e]||_.find.attr;xe[e]=function(n,e,t){var i,o,u=e.toLowerCase();return t||(o=xe[u],xe[u]=i,i=null!=l(n,e,t)?u:null,xe[u]=o),i}}));var ke=/^(?:input|select|textarea|button)$/i,_e=/^(?:a|area)$/i;function Se(n){return(n.match(W)||[]).join(" ")}function Pe(n){return n.getAttribute&&n.getAttribute("class")||""}function Ie(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(W)||[]}_.fn.extend({prop:function(n,e){return nn(this,_.prop,n,e,arguments.length>1)},removeProp:function(n){return this.each((function(){delete this[_.propFix[n]||n]}))}}),_.extend({prop:function(n,e,l){var t,i,o=n.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_.isXMLDoc(n)||(e=_.propFix[e]||e,i=_.propHooks[e]),void 0!==l?i&&"set"in i&&void 0!==(t=i.set(n,l,e))?t:n[e]=l:i&&"get"in i&&null!==(t=i.get(n,e))?t:n[e]},propHooks:{tabIndex:{get:function(n){var e=_.find.attr(n,"tabindex");return e?parseInt(e,10):ke.test(n.nodeName)||_e.test(n.nodeName)&&n.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(n){var e=n.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(n){var e=n.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){_.propFix[this.toLowerCase()]=this})),_.fn.extend({addClass:function(n){var e,l,t,i,o,u;return b(n)?this.each((function(e){_(this).addClass(n.call(this,e,Pe(this)))})):(e=Ie(n)).length?this.each((function(){if(t=Pe(this),l=1===this.nodeType&&" "+Se(t)+" "){for(o=0;o -1;)l=l.replace(" "+i+" "," ");u=Se(l),t!==u&&this.setAttribute("class",u)}})):this:this.attr("class","")},toggleClass:function(n,e){var l,t,i,o,u=typeof n,r="string"===u||Array.isArray(n);return b(n)?this.each((function(l){_(this).toggleClass(n.call(this,l,Pe(this),e),e)})):"boolean"==typeof e&&r?e?this.addClass(n):this.removeClass(n):(l=Ie(n),this.each((function(){if(r)for(o=_(this),i=0;i -1)return!0;return!1}});var Oe=/\r/g;_.fn.extend({val:function(n){var e,l,t,i=this[0];return arguments.length?(t=b(n),this.each((function(l){var i;1===this.nodeType&&(null==(i=t?n.call(this,l,_(this).val()):n)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=_.map(i,(function(n){return null==n?"":n+""}))),(e=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=_.valHooks[i.type]||_.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(l=e.get(i,"value"))?l:"string"==typeof(l=i.value)?l.replace(Oe,""):null==l?"":l:void 0}}),_.extend({valHooks:{option:{get:function(n){var e=_.find.attr(n,"value");return null!=e?e:Se(_.text(n))}},select:{get:function(n){var e,l,t,i=n.options,o=n.selectedIndex,u="select-one"===n.type,r=u?null:[],a=u?o+1:i.length;for(t=o<0?a:u?o:0;t-1)&&(l=!0);return l||(n.selectedIndex=-1),o}}}}),_.each(["radio","checkbox"],(function(){_.valHooks[this]={set:function(n,e){if(Array.isArray(e))return n.checked=_.inArray(_(n).val(),e)>-1}},v.checkOn||(_.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})}));var Te=l.location,Me={guid:Date.now()},Ee=/\?/;_.parseXML=function(n){var e,t;if(!n||"string"!=typeof n)return null;try{e=(new l.DOMParser).parseFromString(n,"text/xml")}catch(i){}return t=e&&e.getElementsByTagName("parsererror")[0],e&&!t||_.error("Invalid XML: "+(t?_.map(t.childNodes,(function(n){return n.textContent})).join("\n"):n)),e};var De=/^(?:focusinfocus|focusoutblur)$/,Re=function(n){n.stopPropagation()};_.extend(_.event,{trigger:function(n,e,t,i){var o,u,r,a,s,c,d,p,h=[t||A],g=f.call(n,"type")?n.type:n,m=f.call(n,"namespace")?n.namespace.split("."):[];if(u=p=r=t=t||A,3!==t.nodeType&&8!==t.nodeType&&!De.test(g+_.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),s=g.indexOf(":")<0&&"on"+g,(n=n[_.expando]?n:new _.Event(g,"object"==typeof n&&n)).isTrigger=i?2:3,n.namespace=m.join("."),n.rnamespace=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=void 0,n.target||(n.target=t),e=null==e?[n]:_.makeArray(e,[n]),d=_.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(t,e))){if(!i&&!d.noBubble&&!y(t)){for(a=d.delegateType||g,De.test(a+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),r=u;r===(t.ownerDocument||A)&&h.push(r.defaultView||r.parentWindow||l)}for(o=0;(u=h[o++])&&!n.isPropagationStopped();)p=u,n.type=o>1?a:d.bindType||g,(c=(an.get(u,"events")||Object.create(null))[n.type]&&an.get(u,"handle"))&&c.apply(u,e),(c=s&&u[s])&&c.apply&&un(u)&&(n.result=c.apply(u,e),!1===n.result&&n.preventDefault());return n.type=g,i||n.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),e)||!un(t)||s&&b(t[g])&&!y(t)&&((r=t[s])&&(t[s]=null),_.event.triggered=g,n.isPropagationStopped()&&p.addEventListener(g,Re),t[g](),n.isPropagationStopped()&&p.removeEventListener(g,Re),_.event.triggered=void 0,r&&(t[s]=r)),n.result}},simulate:function(n,e,l){var t=_.extend(new _.Event,l,{type:n,isSimulated:!0});_.event.trigger(t,null,e)}}),_.fn.extend({trigger:function(n,e){return this.each((function(){_.event.trigger(n,e,this)}))},triggerHandler:function(n,e){var l=this[0];if(l)return _.event.trigger(n,e,l,!0)}});var Le=/\[\]$/,Ne=/\r?\n/g,Be=/^(?:submit|button|image|reset|file)$/i,Fe=/^(?:input|select|textarea|keygen)/i;function je(n,e,l,t){var i;if(Array.isArray(e))_.each(e,(function(e,i){l||Le.test(n)?t(n,i):je(n+"["+("object"==typeof i&&null!=i?e:"")+"]",i,l,t)}));else if(l||"object"!==x(e))t(n,e);else for(i in e)je(n+"["+i+"]",e[i],l,t)}_.param=function(n,e){var l,t=[],i=function(n,e){var l=b(e)?e():e;t[t.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==l?"":l)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!_.isPlainObject(n))_.each(n,(function(){i(this.name,this.value)}));else for(l in n)je(l,n[l],e,i);return t.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var n=_.prop(this,"elements");return n?_.makeArray(n):this})).filter((function(){var n=this.type;return this.name&&!_(this).is(":disabled")&&Fe.test(this.nodeName)&&!Be.test(n)&&(this.checked||!Sn.test(n))})).map((function(n,e){var l=_(this).val();return null==l?null:Array.isArray(l)?_.map(l,(function(n){return{name:e.name,value:n.replace(Ne,"\r\n")}})):{name:e.name,value:l.replace(Ne,"\r\n")}})).get()}});var Ve=/%20/g,Ue=/#.*$/,ze=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ge=/^(?:GET|HEAD)$/,Ye=/^\/\//,qe={},We={},Qe="*/".concat("*"),Ke=A.createElement("a");function Je(n){return function(e,l){"string"!=typeof e&&(l=e,e="*");var t,i=0,o=e.toLowerCase().match(W)||[];if(b(l))for(;t=o[i++];)"+"===t[0]?(t=t.slice(1)||"*",(n[t]=n[t]||[]).unshift(l)):(n[t]=n[t]||[]).push(l)}}function Xe(n,e,l,t){var i={},o=n===We;function u(r){var a;return i[r]=!0,_.each(n[r]||[],(function(n,r){var s=r(e,l,t);return"string"!=typeof s||o||i[s]?o?!(a=s):void 0:(e.dataTypes.unshift(s),u(s),!1)})),a}return u(e.dataTypes[0])||!i["*"]&&u("*")}function $e(n,e){var l,t,i=_.ajaxSettings.flatOptions||{};for(l in e)void 0!==e[l]&&((i[l]?n:t||(t={}))[l]=e[l]);return t&&_.extend(!0,n,t),n}Ke.href=Te.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,e){return e?$e($e(n,_.ajaxSettings),e):$e(_.ajaxSettings,n)},ajaxPrefilter:Je(qe),ajaxTransport:Je(We),ajax:function(n,e){"object"==typeof n&&(e=n,n=void 0),e=e||{};var t,i,o,u,r,a,s,c,d,p,h=_.ajaxSetup({},e),f=h.context||h,g=h.context&&(f.nodeType||f.jquery)?_(f):_.event,m=_.Deferred(),v=_.Callbacks("once memory"),b=h.statusCode||{},y={},w={},C="canceled",x={readyState:0,getResponseHeader:function(n){var e;if(s){if(!u)for(u={};e=He.exec(o);)u[e[1].toLowerCase()+" "]=(u[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=u[n.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return s?o:null},setRequestHeader:function(n,e){return null==s&&(n=w[n.toLowerCase()]=w[n.toLowerCase()]||n,y[n]=e),this},overrideMimeType:function(n){return null==s&&(h.mimeType=n),this},statusCode:function(n){var e;if(n)if(s)x.always(n[x.status]);else for(e in n)b[e]=[b[e],n[e]];return this},abort:function(n){var e=n||C;return t&&t.abort(e),k(0,e),this}};if(m.promise(x),h.url=((n||h.url||Te.href)+"").replace(Ye,Te.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(W)||[""],null==h.crossDomain){a=A.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=Ke.protocol+"//"+Ke.host!=a.protocol+"//"+a.host}catch(S){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Xe(qe,h,e,x),s)return x;for(d in(c=_.event&&h.global)&&0==_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ge.test(h.type),i=h.url.replace(Ue,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ve,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Ee.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(ze,"$1"),p=(Ee.test(i)?"&":"?")+"_="+Me.guid+++p),h.url=i+p),h.ifModified&&(_.lastModified[i]&&x.setRequestHeader("If-Modified-Since",_.lastModified[i]),_.etag[i]&&x.setRequestHeader("If-None-Match",_.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Qe+"; q=0.01":""):h.accepts["*"]),h.headers)x.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,x,h)||s))return x.abort();if(C="abort",v.add(h.complete),x.done(h.success),x.fail(h.error),t=Xe(We,h,e,x)){if(x.readyState=1,c&&g.trigger("ajaxSend",[x,h]),s)return x;h.async&&h.timeout>0&&(r=l.setTimeout((function(){x.abort("timeout")}),h.timeout));try{s=!1,t.send(y,k)}catch(S){if(s)throw S;k(-1,S)}}else k(-1,"No Transport");function k(n,e,u,a){var d,p,y,A,w,C=e;s||(s=!0,r&&l.clearTimeout(r),t=void 0,o=a||"",x.readyState=n>0?4:0,d=n>=200&&n<300||304===n,u&&(A=function(n,e,l){for(var t,i,o,u,r=n.contents,a=n.dataTypes;"*"===a[0];)a.shift(),void 0===t&&(t=n.mimeType||e.getResponseHeader("Content-Type"));if(t)for(i in r)if(r[i]&&r[i].test(t)){a.unshift(i);break}if(a[0]in l)o=a[0];else{for(i in l){if(!a[0]||n.converters[i+" "+a[0]]){o=i;break}u||(u=i)}o=o||u}if(o)return o!==a[0]&&a.unshift(o),l[o]}(h,x,u)),!d&&_.inArray("script",h.dataTypes)>-1&&_.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),A=function(n,e,l,t){var i,o,u,r,a,s={},c=n.dataTypes.slice();if(c[1])for(u in n.converters)s[u.toLowerCase()]=n.converters[u];for(o=c.shift();o;)if(n.responseFields[o]&&(l[n.responseFields[o]]=e),!a&&t&&n.dataFilter&&(e=n.dataFilter(e,n.dataType)),a=o,o=c.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(u=s[a+" "+o]||s["* "+o]))for(i in s)if((r=i.split(" "))[1]===o&&(u=s[a+" "+r[0]]||s["* "+r[0]])){!0===u?u=s[i]:!0!==s[i]&&(o=r[0],c.unshift(r[1]));break}if(!0!==u)if(u&&n.throws)e=u(e);else try{e=u(e)}catch(S){return{state:"parsererror",error:u?S:"No conversion from "+a+" to "+o}}}return{state:"success",data:e}}(h,A,x,d),d?(h.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(_.lastModified[i]=w),(w=x.getResponseHeader("etag"))&&(_.etag[i]=w)),204===n||"HEAD"===h.type?C="nocontent":304===n?C="notmodified":(C=A.state,p=A.data,d=!(y=A.error))):(y=C,!n&&C||(C="error",n<0&&(n=0))),x.status=n,x.statusText=(e||C)+"",d?m.resolveWith(f,[p,C,x]):m.rejectWith(f,[x,C,y]),x.statusCode(b),b=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[x,h,d?p:y]),v.fireWith(f,[x,C]),c&&(g.trigger("ajaxComplete",[x,h]),--_.active||_.event.trigger("ajaxStop")))}return x},getJSON:function(n,e,l){return _.get(n,e,l,"json")},getScript:function(n,e){return _.get(n,void 0,e,"script")}}),_.each(["get","post"],(function(n,e){_[e]=function(n,l,t,i){return b(l)&&(i=i||t,t=l,l=void 0),_.ajax(_.extend({url:n,type:e,dataType:i,data:l,success:t},_.isPlainObject(n)&&n))}})),_.ajaxPrefilter((function(n){var e;for(e in n.headers)"content-type"===e.toLowerCase()&&(n.contentType=n.headers[e]||"")})),_._evalUrl=function(n,e,l){return _.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){_.globalEval(n,e,l)}})},_.fn.extend({wrapAll:function(n){var e;return this[0]&&(b(n)&&(n=n.call(this[0])),e=_(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n})).append(this)),this},wrapInner:function(n){return b(n)?this.each((function(e){_(this).wrapInner(n.call(this,e))})):this.each((function(){var e=_(this),l=e.contents();l.length?l.wrapAll(n):e.append(n)}))},wrap:function(n){var e=b(n);return this.each((function(l){_(this).wrapAll(e?n.call(this,l):n)}))},unwrap:function(n){return this.parent(n).not("body").each((function(){_(this).replaceWith(this.childNodes)})),this}}),_.expr.pseudos.hidden=function(n){return!_.expr.pseudos.visible(n)},_.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new l.XMLHttpRequest}catch(n){}};var Ze={0:200,1223:204},nl=_.ajaxSettings.xhr();v.cors=!!nl&&"withCredentials"in nl,v.ajax=nl=!!nl,_.ajaxTransport((function(n){var e,t;if(v.cors||nl&&!n.crossDomain)return{send:function(i,o){var u,r=n.xhr();if(r.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(u in n.xhrFields)r[u]=n.xhrFields[u];for(u in n.mimeType&&r.overrideMimeType&&r.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)r.setRequestHeader(u,i[u]);e=function(n){return function(){e&&(e=t=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===n?r.abort():"error"===n?"number"!=typeof r.status?o(0,"error"):o(r.status,r.statusText):o(Ze[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=e(),t=r.onerror=r.ontimeout=e("error"),void 0!==r.onabort?r.onabort=t:r.onreadystatechange=function(){4===r.readyState&&l.setTimeout((function(){e&&t()}))},e=e("abort");try{r.send(n.hasContent&&n.data||null)}catch(a){if(e)throw a}},abort:function(){e&&e()}}})),_.ajaxPrefilter((function(n){n.crossDomain&&(n.contents.script=!1)})),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return _.globalEval(n),n}}}),_.ajaxPrefilter("script",(function(n){void 0===n.cache&&(n.cache=!1),n.crossDomain&&(n.type="GET")})),_.ajaxTransport("script",(function(n){var e,l;if(n.crossDomain||n.scriptAttrs)return{send:function(t,i){e=_("