bpm-core 0.0.145 → 0.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/225.6a4c9553019f62bc.js +1 -0
- package/3rdpartylicenses.txt +627 -0
- package/74.b58a969479dc2b91.js +1 -0
- package/909.7e353111980d7c37.js +1 -0
- package/fesm2022/bpm-core.mjs +2 -2
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/flags.b2133e947e8c730e.webp +0 -0
- package/flags@2x.9e947ca1fe95c31b.webp +0 -0
- package/globe.98e105ca81b63f37.webp +0 -0
- package/globe@2x.974df6f829af5e5b.webp +0 -0
- package/index.html +13 -0
- package/lib/components/shared-components/form-field/shared-imports.d.ts +1 -1
- package/main.9b4b52e1ff7e4198.js +1 -0
- package/package.json +2 -2
- package/polyfills.5d97dd2ab1a79a0a.js +1 -0
- package/runtime.ae137a8508f4ee91.js +1 -0
- package/scripts.85f7523a59377d77.js +1 -0
- package/styles.3accdfa44b591291.css +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkbpm_core=self.webpackChunkbpm_core||[]).push([[461],{6935:()=>{const fe=globalThis;function ae(e){return(fe.__Zone_symbol_prefix||"__zone_symbol__")+e}const De=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,Be=Object.getPrototypeOf,Xe=Object.create,$e=Array.prototype.slice,Ue="addEventListener",Le="removeEventListener",Ze=ae(Ue),Fe=ae(Le),pe="true",_e="false",we=ae("");function Me(e,r){return Zone.current.wrap(e,r)}function Ge(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const U=ae,Re=typeof window<"u",Se=Re?window:void 0,J=Re&&Se||globalThis;function u(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=Me(e[c],r+"_"+c));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const x=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,$=!("nw"in J)&&typeof J.process<"u"&&"[object process]"===J.process.toString(),F=!$&&!x&&!(!Re||!Se.HTMLElement),ye=typeof J.process<"u"&&"[object process]"===J.process.toString()&&!x&&!(!Re||!Se.HTMLElement),te={},oe=U("enable_beforeunload"),Te=function(e){if(!(e=e||J.event))return;let r=te[e.type];r||(r=te[e.type]=U("ON_PROPERTY"+e.type));const c=this||e.target||J,t=c[r];let i;return F&&c===Se&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&J[oe]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function Ve(e,r,c){let t=De(e,r);if(!t&&c&&De(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=U("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const f=t.get,p=t.set,g=r.slice(2);let b=te[g];b||(b=te[g]=U("ON_PROPERTY"+g)),t.set=function(N){let T=this;!T&&e===J&&(T=J),T&&("function"==typeof T[b]&&T.removeEventListener(g,Te),p?.call(T,null),T[b]=N,"function"==typeof N&&T.addEventListener(g,Te,!1))},t.get=function(){let N=this;if(!N&&e===J&&(N=J),!N)return null;const T=N[b];if(T)return T;if(f){let w=f.call(this);if(w)return t.set.call(this,w),"function"==typeof N.removeAttribute&&N.removeAttribute(r),w}return null},Ie(e,r,t),e[i]=!0}function Ae(e,r,c){if(r)for(let t=0;t<r.length;t++)Ve(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)Ve(e,t[i],c)}}const he=U("originalInstance");function Oe(e){const r=J[e];if(!r)return;J[U(e)]=r,J[e]=function(){const i=u(arguments,e);switch(i.length){case 0:this[he]=new r;break;case 1:this[he]=new r(i[0]);break;case 2:this[he]=new r(i[0],i[1]);break;case 3:this[he]=new r(i[0],i[1],i[2]);break;case 4:this[he]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},le(J[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?J[e].prototype[i]=function(){return this[he][i].apply(this[he],arguments)}:Ie(J[e].prototype,i,{set:function(f){"function"==typeof f?(this[he][i]=Me(f,e+"."+i),le(this[he][i],f)):this[he][i]=f},get:function(){return this[he][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&(J[e][t]=r[t])}function se(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Be(t);!t&&e[r]&&(t=e);const i=U(r);let f=null;if(t&&(!(f=t[i])||!t.hasOwnProperty(i))&&(f=t[i]=t[r],_(t&&De(t,r)))){const g=c(f,i,r);t[r]=function(){return g(this,arguments)},le(t[r],f)}return f}function Ye(e,r,c){let t=null;function i(f){const p=f.data;return p.args[p.cbIdx]=function(){f.invoke.apply(this,arguments)},t.apply(p.target,p.args),f}t=se(e,r,f=>function(p,g){const b=c(p,g);return b.cbIdx>=0&&"function"==typeof g[b.cbIdx]?Ge(b.name,g[b.cbIdx],b,i):f.apply(p,g)})}function le(e,r){e[U("OriginalDelegate")]=r}let ze=!1,Qe=!1;function kt(){if(ze)return Qe;ze=!0;try{const e=Se.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Qe=!0)}catch{}return Qe}function ot(e){return"function"==typeof e}function st(e){return"number"==typeof e}const mt={useG:!0},de={},it={},ct=new RegExp("^"+we+"(\\w+)(true|false)$"),at=U("propagationStopped");function lt(e,r){const c=(r?r(e):e)+_e,t=(r?r(e):e)+pe,i=we+c,f=we+t;de[e]={},de[e][_e]=i,de[e][pe]=f}function yt(e,r,c,t){const i=t&&t.add||Ue,f=t&&t.rm||Le,p=t&&t.listeners||"eventListeners",g=t&&t.rmAll||"removeAllListeners",b=U(i),N="."+i+":",T="prependListener",w="."+T+":",H=function(R,d,G){if(R.isRemoved)return;const z=R.callback;let re;"object"==typeof z&&z.handleEvent&&(R.callback=k=>z.handleEvent(k),R.originalDelegate=z);try{R.invoke(R,d,[G])}catch(k){re=k}const W=R.options;return W&&"object"==typeof W&&W.once&&d[f].call(d,G.type,R.originalDelegate?R.originalDelegate:R.callback,W),re};function V(R,d,G){if(!(d=d||e.event))return;const z=R||d.target||e,re=z[de[d.type][G?pe:_e]];if(re){const W=[];if(1===re.length){const k=H(re[0],z,d);k&&W.push(k)}else{const k=re.slice();for(let K=0;K<k.length&&(!d||!0!==d[at]);K++){const L=H(k[K],z,d);L&&W.push(L)}}if(1===W.length)throw W[0];for(let k=0;k<W.length;k++){const K=W[k];r.nativeScheduleMicroTask(()=>{throw K})}}}const Y=function(R){return V(this,R,!1)},ie=function(R){return V(this,R,!0)};function ce(R,d){if(!R)return!1;let G=!0;d&&void 0!==d.useG&&(G=d.useG);const z=d&&d.vh;let re=!0;d&&void 0!==d.chkDup&&(re=d.chkDup);let W=!1;d&&void 0!==d.rt&&(W=d.rt);let k=R;for(;k&&!k.hasOwnProperty(i);)k=Be(k);if(!k&&R[i]&&(k=R),!k||k[b])return!1;const K=d&&d.eventNameToString,L={},S=k[b]=k[i],P=k[U(f)]=k[f],I=k[U(p)]=k[p],ue=k[U(g)]=k[g];let Q;d&&d.prepend&&(Q=k[U(d.prepend)]=k[d.prepend]);const ee=G?function(s){if(!L.isExisting)return S.call(L.target,L.eventName,L.capture?ie:Y,L.options)}:function(s){return S.call(L.target,L.eventName,s.invoke,L.options)},B=G?function(s){if(!s.isRemoved){const l=de[s.eventName];let C;l&&(C=l[s.capture?pe:_e]);const O=C&&s.target[C];if(O)for(let m=0;m<O.length;m++)if(O[m]===s){O.splice(m,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===O.length&&(s.allRemoved=!0,s.target[C]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?ie:Y,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},be=d?.diff||function(s,l){const C=typeof l;return"function"===C&&s.callback===l||"object"===C&&s.originalDelegate===l},ve=Zone[U("UNPATCHED_EVENTS")],Ee=e[U("PASSIVE_EVENTS")],a=function(s,l,C,O,m=!1,M=!1){return function(){const A=this||e;let j=arguments[0];d&&d.transferEventName&&(j=d.transferEventName(j));let q=arguments[1];if(!q)return s.apply(this,arguments);if($&&"uncaughtException"===j)return s.apply(this,arguments);let X=!1;if("function"!=typeof q){if(!q.handleEvent)return s.apply(this,arguments);X=!0}if(z&&!z(s,q,A,arguments))return;const Pe=!!Ee&&-1!==Ee.indexOf(j),ke=function h(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function Z(s,l){return l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Pe)),He=ke?.signal;if(He?.aborted)return;if(ve)for(let me=0;me<ve.length;me++)if(j===ve[me])return Pe?s.call(A,j,q,ke):s.apply(this,arguments);const tt=!!ke&&("boolean"==typeof ke||ke.capture),_t=!(!ke||"object"!=typeof ke)&&ke.once,Zt=Zone.current;let nt=de[j];nt||(lt(j,K),nt=de[j]);const Tt=nt[tt?pe:_e];let Je,xe=A[Tt],Et=!1;if(xe){if(Et=!0,re)for(let me=0;me<xe.length;me++)if(be(xe[me],q))return}else xe=A[Tt]=[];const gt=A.constructor.name,pt=it[gt];pt&&(Je=pt[j]),Je||(Je=gt+l+(K?K(j):j)),L.options=ke,_t&&(L.options.once=!1),L.target=A,L.capture=tt,L.eventName=j,L.isExisting=Et;const We=G?mt:void 0;We&&(We.taskData=L),He&&(L.options.signal=void 0);const ge=Zt.scheduleEventTask(Je,q,We,C,O);if(He){L.options.signal=He;const me=()=>ge.zone.cancelTask(ge);s.call(He,"abort",me,{once:!0}),ge.removeAbortListener=()=>He.removeEventListener("abort",me)}return L.target=null,We&&(We.taskData=null),_t&&(L.options.once=!0),"boolean"!=typeof ge.options&&(ge.options=ke),ge.target=A,ge.capture=tt,ge.eventName=j,X&&(ge.originalDelegate=q),M?xe.unshift(ge):xe.push(ge),m?A:void 0}};return k[i]=a(S,N,ee,B,W),Q&&(k[T]=a(Q,w,function(s){return Q.call(L.target,L.eventName,s.invoke,L.options)},B,W,!0)),k[f]=function(){const s=this||e;let l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));const C=arguments[2],O=!!C&&("boolean"==typeof C||C.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(z&&!z(P,m,s,arguments))return;const M=de[l];let A;M&&(A=M[O?pe:_e]);const j=A&&s[A];if(j)for(let q=0;q<j.length;q++){const X=j[q];if(be(X,m))return j.splice(q,1),X.isRemoved=!0,0!==j.length||(X.allRemoved=!0,s[A]=null,O||"string"!=typeof l)||(s[we+"ON_PROPERTY"+l]=null),X.zone.cancelTask(X),W?s:void 0}return P.apply(this,arguments)},k[p]=function(){const s=this||e;let l=arguments[0];d&&d.transferEventName&&(l=d.transferEventName(l));const C=[],O=ut(s,K?K(l):l);for(let m=0;m<O.length;m++){const M=O[m];C.push(M.originalDelegate?M.originalDelegate:M.callback)}return C},k[g]=function(){const s=this||e;let l=arguments[0];if(l){d&&d.transferEventName&&(l=d.transferEventName(l));const C=de[l];if(C){const M=s[C[_e]],A=s[C[pe]];if(M){const j=M.slice();for(let q=0;q<j.length;q++){const X=j[q];this[f].call(this,l,X.originalDelegate?X.originalDelegate:X.callback,X.options)}}if(A){const j=A.slice();for(let q=0;q<j.length;q++){const X=j[q];this[f].call(this,l,X.originalDelegate?X.originalDelegate:X.callback,X.options)}}}}else{const C=Object.keys(s);for(let O=0;O<C.length;O++){const M=ct.exec(C[O]);let A=M&&M[1];A&&"removeListener"!==A&&this[g].call(this,A)}this[g].call(this,"removeListener")}if(W)return this},le(k[i],S),le(k[f],P),ue&&le(k[g],ue),I&&le(k[p],I),!0}let ne=[];for(let R=0;R<c.length;R++)ne[R]=ce(c[R],t);return ne}function ut(e,r){if(!r){const f=[];for(let p in e){const g=ct.exec(p);let b=g&&g[1];if(b&&(!r||b===r)){const N=e[p];if(N)for(let T=0;T<N.length;T++)f.push(N[T])}}return f}let c=de[r];c||(lt(r),c=de[r]);const t=e[c[_e]],i=e[c[pe]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function bt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,f){i[at]=!0,t&&t.apply(i,f)})}const Ke=U("zoneTask");function je(e,r,c,t){let i=null,f=null;c+=t;const p={};function g(N){const T=N.data;T.args[0]=function(){return N.invoke.apply(this,arguments)};const w=i.apply(e,T.args);return st(w)?T.handleId=w:(T.handle=w,T.isRefreshable=ot(w.refresh)),N}function b(N){const{handle:T,handleId:w}=N.data;return f.call(e,T??w)}i=se(e,r+=t,N=>function(T,w){if(ot(w[0])){const H={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?w[1]||0:void 0,args:w},V=w[0];w[0]=function(){try{return V.apply(this,arguments)}finally{const{handle:G,handleId:z,isPeriodic:re,isRefreshable:W}=H;!re&&!W&&(z?delete p[z]:G&&(G[Ke]=null))}};const Y=Ge(r,w[0],H,g,b);if(!Y)return Y;const{handleId:ie,handle:ce,isRefreshable:ne,isPeriodic:R}=Y.data;if(ie)p[ie]=Y;else if(ce&&(ce[Ke]=Y,ne&&!R)){const d=ce.refresh;ce.refresh=function(){const{zone:G,state:z}=Y;return"notScheduled"===z?(Y._state="scheduled",G._updateTaskCount(Y,1)):"running"===z&&(Y._state="scheduling"),d.call(this)}}return ce??ie??Y}return N.apply(e,w)}),f=se(e,c,N=>function(T,w){const H=w[0];let V;st(H)?(V=p[H],delete p[H]):(V=H?.[Ke],V?H[Ke]=null:V=H),V?.type?V.cancelFn&&V.zone.cancelTask(V):N.apply(e,w)})}function ft(e,r,c){if(!c||0===c.length)return r;const t=c.filter(f=>f.target===e);if(0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(f=>-1===i.indexOf(f))}function ht(e,r,c,t){e&&Ae(e,ft(e,r,c),t)}function et(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Nt(e,r,c,t,i){const f=Zone.__symbol__(t);if(r[f])return;const p=r[f]=r[t];r[t]=function(g,b,N){return b&&b.prototype&&i.forEach(function(T){const w=`${c}.${t}::`+T,H=b.prototype;try{if(H.hasOwnProperty(T)){const V=e.ObjectGetOwnPropertyDescriptor(H,T);V&&V.value?(V.value=e.wrapWithCurrentZone(V.value,w),e._redefineProperty(b.prototype,T,V)):H[T]&&(H[T]=e.wrapWithCurrentZone(H[T],w))}else H[T]&&(H[T]=e.wrapWithCurrentZone(H[T],w))}catch{}}),p.call(r,g,b,N)},e.attachOriginToPatched(r[t],p)}const dt=function Ne(){const e=globalThis,r=!0===e[ae("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function qe(){const e=fe.performance;function r(Z){e&&e.mark&&e.mark(Z)}function c(Z,E){e&&e.measure&&e.measure(Z,E)}r("Zone");let t=(()=>{class Z{static __symbol__=ae;static assertZonePatched(){if(fe.Promise!==L.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=Z.current;for(;n.parent;)n=n.parent;return n}static get current(){return P.zone}static get currentTask(){return I}static __load_patch(n,o,v=!1){if(L.hasOwnProperty(n)){const D=!0===fe[ae("forceDuplicateZoneCheck")];if(!v&&D)throw Error("Already loaded patch: "+n)}else if(!fe["__Zone_disable_"+n]){const D="Zone:"+n;r(D),L[n]=o(fe,Z,S),c(D,D)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const v=this._zoneDelegate.intercept(this,n,o),D=this;return function(){return D.runGuarded(v,this,arguments,o)}}run(n,o,v,D){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,n,o,v,D)}finally{P=P.parent}}runGuarded(n,o=null,v,D){P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,v,D)}catch(ee){if(this._zoneDelegate.handleError(this,ee))throw ee}}finally{P=P.parent}}runTask(n,o,v){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||ce).name+"; Execution: "+this.name+")");const D=n,{type:ee,data:{isPeriodic:B=!1,isRefreshable:Ce=!1}={}}=n;if(n.state===ne&&(ee===K||ee===k))return;const be=n.state!=G;be&&D._transitionTo(G,d);const ve=I;I=D,P={parent:P,zone:this};try{ee==k&&n.data&&!B&&!Ce&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,D,o,v)}catch(Ee){if(this._zoneDelegate.handleError(this,Ee))throw Ee}}finally{const Ee=n.state;if(Ee!==ne&&Ee!==re)if(ee==K||B||Ce&&Ee===R)be&&D._transitionTo(d,G,R);else{const h=D._zoneDelegates;this._updateTaskCount(D,-1),be&&D._transitionTo(ne,G,ne),Ce&&(D._zoneDelegates=h)}P=P.parent,I=ve}}scheduleTask(n){if(n.zone&&n.zone!==this){let v=this;for(;v;){if(v===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);v=v.parent}}n._transitionTo(R,ne);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(v){throw n._transitionTo(re,R,ne),this._zoneDelegate.handleError(this,v),v}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==R&&n._transitionTo(d,R),n}scheduleMicroTask(n,o,v,D){return this.scheduleTask(new p(W,n,o,v,D,void 0))}scheduleMacroTask(n,o,v,D,ee){return this.scheduleTask(new p(k,n,o,v,D,ee))}scheduleEventTask(n,o,v,D,ee){return this.scheduleTask(new p(K,n,o,v,D,ee))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||ce).name+"; Execution: "+this.name+")");if(n.state===d||n.state===G){n._transitionTo(z,d,G);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(re,z),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(ne,z),n.runCount=-1,n}}_updateTaskCount(n,o){const v=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let D=0;D<v.length;D++)v[D]._updateTaskCount(n.type,o)}}return Z})();const i={name:"",onHasTask:(Z,E,n,o)=>Z.hasTask(n,o),onScheduleTask:(Z,E,n,o)=>Z.scheduleTask(n,o),onInvokeTask:(Z,E,n,o,v,D)=>Z.invokeTask(n,o,v,D),onCancelTask:(Z,E,n,o)=>Z.cancelTask(n,o)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(E,n,o){this._zone=E,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const v=o&&o.onHasTask;(v||n&&n._hasTaskZS)&&(this._hasTaskZS=v?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(E,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,n):new t(E,n)}intercept(E,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,n,o):n}invoke(E,n,o,v,D){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,n,o,v,D):n.apply(o,v)}handleError(E,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,n)}scheduleTask(E,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=W)throw new Error("Task is missing scheduleFn.");Y(n)}return o}invokeTask(E,n,o,v){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,n,o,v):n.callback.apply(o,v)}cancelTask(E,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(E,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,n)}catch(o){this.handleError(E,o)}}_updateTaskCount(E,n){const o=this._taskCounts,v=o[E],D=o[E]=v+n;if(D<0)throw new Error("More tasks executed then were scheduled.");0!=v&&0!=D||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:E})}}class p{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(E,n,o,v,D,ee){if(this.type=E,this.source=n,this.data=v,this.scheduleFn=D,this.cancelFn=ee,!o)throw new Error("callback is not defined");this.callback=o;const B=this;this.invoke=E===K&&v&&v.useG?p.invokeTask:function(){return p.invokeTask.call(fe,B,this,arguments)}}static invokeTask(E,n,o){E||(E=this),ue++;try{return E.runCount++,E.zone.runTask(E,n,o)}finally{1==ue&&ie(),ue--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ne,R)}_transitionTo(E,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=E,E==ne&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const g=ae("setTimeout"),b=ae("Promise"),N=ae("then");let H,T=[],w=!1;function V(Z){if(H||fe[b]&&(H=fe[b].resolve(0)),H){let E=H[N];E||(E=H.then),E.call(H,Z)}else fe[g](Z,0)}function Y(Z){0===ue&&0===T.length&&V(ie),Z&&T.push(Z)}function ie(){if(!w){for(w=!0;T.length;){const Z=T;T=[];for(let E=0;E<Z.length;E++){const n=Z[E];try{n.zone.runTask(n,null,null)}catch(o){S.onUnhandledError(o)}}}S.microtaskDrainDone(),w=!1}}const ce={name:"NO ZONE"},ne="notScheduled",R="scheduling",d="scheduled",G="running",z="canceling",re="unknown",W="microTask",k="macroTask",K="eventTask",L={},S={symbol:ae,currentZoneFrame:()=>P,onUnhandledError:Q,microtaskDrainDone:Q,scheduleMicroTask:Y,showUncaughtError:()=>!t[ae("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Q,patchMethod:()=>Q,bindArguments:()=>[],patchThen:()=>Q,patchMacroTask:()=>Q,patchEventPrototype:()=>Q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Q,wrapWithCurrentZone:()=>Q,filterProperties:()=>[],attachOriginToPatched:()=>Q,_redefineProperty:()=>Q,patchCallbacks:()=>Q,nativeScheduleMicroTask:V};let P={parent:null,zone:new t(null,null)},I=null,ue=0;function Q(){}return c("Zone","Zone"),t}(),e.Zone}();(function Lt(e){(function St(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,f=Object.defineProperty,g=t.symbol,b=[],N=!1!==r[g("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=g("Promise"),w=g("then");t.onUnhandledError=h=>{if(t.showUncaughtError()){const a=h&&h.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(h)}},t.microtaskDrainDone=()=>{for(;b.length;){const h=b.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(a){Y(a)}}};const V=g("unhandledPromiseRejectionHandler");function Y(h){t.onUnhandledError(h);try{const a=c[V];"function"==typeof a&&a.call(this,h)}catch{}}function ie(h){return h&&"function"==typeof h.then}function ce(h){return h}function ne(h){return B.reject(h)}const R=g("state"),d=g("value"),G=g("finally"),z=g("parentPromiseValue"),re=g("parentPromiseState"),k=null,K=!0,L=!1;function P(h,a){return s=>{try{Z(h,a,s)}catch(l){Z(h,!1,l)}}}const I=function(){let h=!1;return function(s){return function(){h||(h=!0,s.apply(null,arguments))}}},ue="Promise resolved with itself",Q=g("currentTaskTrace");function Z(h,a,s){const l=I();if(h===s)throw new TypeError(ue);if(h[R]===k){let C=null;try{("object"==typeof s||"function"==typeof s)&&(C=s&&s.then)}catch(O){return l(()=>{Z(h,!1,O)})(),h}if(a!==L&&s instanceof B&&s.hasOwnProperty(R)&&s.hasOwnProperty(d)&&s[R]!==k)n(s),Z(h,s[R],s[d]);else if(a!==L&&"function"==typeof C)try{C.call(s,l(P(h,a)),l(P(h,!1)))}catch(O){l(()=>{Z(h,!1,O)})()}else{h[R]=a;const O=h[d];if(h[d]=s,h[G]===G&&a===K&&(h[R]=h[re],h[d]=h[z]),a===L&&s instanceof Error){const m=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;m&&f(s,Q,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<O.length;)o(h,O[m++],O[m++],O[m++],O[m++]);if(0==O.length&&a==L){h[R]=0;let m=s;try{throw new Error("Uncaught (in promise): "+function p(h){return h&&h.toString===Object.prototype.toString?(h.constructor&&h.constructor.name||"")+": "+JSON.stringify(h):h?h.toString():Object.prototype.toString.call(h)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(M){m=M}N&&(m.throwOriginal=!0),m.rejection=s,m.promise=h,m.zone=c.current,m.task=c.currentTask,b.push(m),t.scheduleMicroTask()}}}return h}const E=g("rejectionHandledHandler");function n(h){if(0===h[R]){try{const a=c[E];a&&"function"==typeof a&&a.call(this,{rejection:h[d],promise:h})}catch{}h[R]=L;for(let a=0;a<b.length;a++)h===b[a].promise&&b.splice(a,1)}}function o(h,a,s,l,C){n(h);const O=h[R],m=O?"function"==typeof l?l:ce:"function"==typeof C?C:ne;a.scheduleMicroTask("Promise.then",()=>{try{const M=h[d],A=!!s&&G===s[G];A&&(s[z]=M,s[re]=O);const j=a.run(m,void 0,A&&m!==ne&&m!==ce?[]:[M]);Z(s,!0,j)}catch(M){Z(s,!1,M)}},s)}const D=function(){},ee=r.AggregateError;class B{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof B?a:Z(new this(null),K,a)}static reject(a){return Z(new this(null),L,a)}static withResolvers(){const a={};return a.promise=new B((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new ee([],"All promises were rejected"));const s=[];let l=0;try{for(let m of a)l++,s.push(B.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(0===l)return Promise.reject(new ee([],"All promises were rejected"));let C=!1;const O=[];return new B((m,M)=>{for(let A=0;A<s.length;A++)s[A].then(j=>{C||(C=!0,m(j))},j=>{O.push(j),l--,0===l&&(C=!0,M(new ee(O,"All promises were rejected")))})})}static race(a){let s,l,C=new this((M,A)=>{s=M,l=A});function O(M){s(M)}function m(M){l(M)}for(let M of a)ie(M)||(M=this.resolve(M)),M.then(O,m);return C}static all(a){return B.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof B?this:B).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,C,O=new this((j,q)=>{l=j,C=q}),m=2,M=0;const A=[];for(let j of a){ie(j)||(j=this.resolve(j));const q=M;try{j.then(X=>{A[q]=s?s.thenCallback(X):X,m--,0===m&&l(A)},X=>{s?(A[q]=s.errorCallback(X),m--,0===m&&l(A)):C(X)})}catch(X){C(X)}m++,M++}return m-=2,0===m&&l(A),O}constructor(a){const s=this;if(!(s instanceof B))throw new Error("Must be an instanceof Promise.");s[R]=k,s[d]=[];try{const l=I();a&&a(l(P(s,K)),l(P(s,L)))}catch(l){Z(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return B}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||B);const C=new l(D),O=c.current;return this[R]==k?this[d].push(O,C,a,s):o(this,O,C,a,s),C}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=B);const l=new s(D);l[G]=G;const C=c.current;return this[R]==k?this[d].push(C,l,a,a):o(this,C,l,a,a),l}}B.resolve=B.resolve,B.reject=B.reject,B.race=B.race,B.all=B.all;const Ce=r[T]=r.Promise;r.Promise=B;const be=g("thenPatched");function ve(h){const a=h.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[w]=l,h.prototype.then=function(C,O){return new B((M,A)=>{l.call(this,M,A)}).then(C,O)},h[be]=!0}return t.patchThen=ve,Ce&&(ve(Ce),se(r,"fetch",h=>function Ee(h){return function(a,s){let l=h.apply(a,s);if(l instanceof B)return l;let C=l.constructor;return C[be]||ve(C),l}}(h))),Promise[c.__symbol__("uncaughtPromiseErrors")]=b,B})})(e),function Ot(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=U("OriginalDelegate"),i=U("Promise"),f=U("Error"),p=function(){if("function"==typeof this){const T=this[t];if(T)return"function"==typeof T?c.call(T):Object.prototype.toString.call(T);if(this===Promise){const w=r[i];if(w)return c.call(w)}if(this===Error){const w=r[f];if(w)return c.call(w)}}return c.call(this)};p[t]=c,Function.prototype.toString=p;const g=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":g.call(this)}})}(e),function It(e){e.__load_patch("util",(r,c,t)=>{const i=et(r);t.patchOnProperties=Ae,t.patchMethod=se,t.bindArguments=u,t.patchMacroTask=Ye;const f=c.__symbol__("BLACK_LISTED_EVENTS"),p=c.__symbol__("UNPATCHED_EVENTS");r[p]&&(r[f]=r[p]),r[f]&&(c[f]=c[p]=r[f]),t.patchEventPrototype=bt,t.patchEventTarget=yt,t.isIEOrEdge=kt,t.ObjectDefineProperty=Ie,t.ObjectGetOwnPropertyDescriptor=De,t.ObjectCreate=Xe,t.ArraySlice=$e,t.patchClass=Oe,t.wrapWithCurrentZone=Me,t.filterProperties=ft,t.attachOriginToPatched=le,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:it,zoneSymbolEventNames:de,eventNames:i,isBrowser:F,isMix:ye,isNode:$,TRUE_STR:pe,FALSE_STR:_e,ZONE_SYMBOL_PREFIX:we,ADD_EVENT_LISTENER_STR:Ue,REMOVE_EVENT_LISTENER_STR:Le})})}(e)})(dt),function wt(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";je(r,c,t,"Timeout"),je(r,c,t,"Interval"),je(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{je(r,"request","cancel","AnimationFrame"),je(r,"mozRequest","mozCancel","AnimationFrame"),je(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)se(r,t[i],(p,g,b)=>function(N,T){return c.current.run(p,r,T,b)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function Pt(e,r){r.patchEventPrototype(e,r)})(r,t),function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:f,ZONE_SYMBOL_PREFIX:p}=r.getGlobalObjects();for(let b=0;b<c.length;b++){const N=c[b],H=p+(N+f),V=p+(N+i);t[N]={},t[N][f]=H,t[N][i]=V}const g=e.EventTarget;g&&g.prototype&&r.patchEventTarget(e,r,[g&&g.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{Oe("MutationObserver"),Oe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{Oe("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{Oe("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function Dt(e,r){if($&&!ye||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(F){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const f=[];ht(i,et(i),c&&c.concat(f),Be(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const f=r[t[i]];f?.prototype&&ht(f.prototype,et(f.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Rt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function N(T){const w=T.XMLHttpRequest;if(!w)return;const H=w.prototype;let Y=H[Ze],ie=H[Fe];if(!Y){const S=T.XMLHttpRequestEventTarget;if(S){const P=S.prototype;Y=P[Ze],ie=P[Fe]}}const ce="readystatechange",ne="scheduled";function R(S){const P=S.data,I=P.target;I[p]=!1,I[b]=!1;const ue=I[f];Y||(Y=I[Ze],ie=I[Fe]),ue&&ie.call(I,ce,ue);const Q=I[f]=()=>{if(I.readyState===I.DONE)if(!P.aborted&&I[p]&&S.state===ne){const E=I[c.__symbol__("loadfalse")];if(0!==I.status&&E&&E.length>0){const n=S.invoke;S.invoke=function(){const o=I[c.__symbol__("loadfalse")];for(let v=0;v<o.length;v++)o[v]===S&&o.splice(v,1);!P.aborted&&S.state===ne&&n.call(S)},E.push(S)}else S.invoke()}else!P.aborted&&!1===I[p]&&(I[b]=!0)};return Y.call(I,ce,Q),I[t]||(I[t]=S),K.apply(I,P.args),I[p]=!0,S}function d(){}function G(S){const P=S.data;return P.aborted=!0,L.apply(P.target,P.args)}const z=se(H,"open",()=>function(S,P){return S[i]=0==P[2],S[g]=P[1],z.apply(S,P)}),W=U("fetchTaskAborting"),k=U("fetchTaskScheduling"),K=se(H,"send",()=>function(S,P){if(!0===c.current[k]||S[i])return K.apply(S,P);{const I={target:S,url:S[g],isPeriodic:!1,args:P,aborted:!1},ue=Ge("XMLHttpRequest.send",d,I,R,G);S&&!0===S[b]&&!I.aborted&&ue.state===ne&&ue.invoke()}}),L=se(H,"abort",()=>function(S,P){const I=function V(S){return S[t]}(S);if(I&&"string"==typeof I.type){if(null==I.cancelFn||I.data&&I.data.aborted)return;I.zone.cancelTask(I)}else if(!0===c.current[W])return L.apply(S,P)})}(r);const t=U("xhrTask"),i=U("xhrSync"),f=U("xhrListener"),p=U("xhrScheduled"),g=U("xhrURL"),b=U("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function y(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],f=e[i];if(f){if(!_(De(e,i)))continue;e[i]=(g=>{const b=function(){return g.apply(this,u(arguments,c+"."+i))};return le(b,g),b})(f)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(f){ut(r,i).forEach(g=>{const b=r.PromiseRejectionEvent;if(b){const N=new b(i,{promise:f.promise,reason:f.rejection});g.invoke(N)}})}}r.PromiseRejectionEvent&&(c[U("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[U("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function vt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(dt)},8200:(fe,ae,qe)=>{const Re=function(u,...y){if(Re.translate){const x=Re.translate(u,y);u=x[0],y=x[1]}let _=J(u[0],u.raw[0]);for(let x=1;x<u.length;x++)_+=y[x-1]+J(u[x],u.raw[x]);return _},Se=":";function J(u,y){return y.charAt(0)===Se?u.substring(function U(u,y){for(let _=1,x=1;_<u.length;_++,x++)if("\\"===y[x])x++;else if(":"===u[_])return _;throw new Error(`Unterminated $localize metadata block in "${y}".`)}(u,y)+1):u}globalThis.$localize=Re,qe(6935),Array.prototype.last||(Array.prototype.last=function(){return this[this.length-1]})}},fe=>{fe(fe.s=8200)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e,v={},m={};function r(e){var i=m[e];if(void 0!==i)return i.exports;var t=m[e]={exports:{}};return v[e](t,t.exports,r),t.exports}r.m=v,e=[],r.O=(i,t,o,f)=>{if(!t){var a=1/0;for(n=0;n<e.length;n++){for(var[t,o,f]=e[n],c=!0,u=0;u<t.length;u++)(!1&f||a>=f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(c=!1,f<a&&(a=f));if(c){e.splice(n--,1);var l=o();void 0!==l&&(i=l)}}return i}f=f||0;for(var n=e.length;n>0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[t,o,f]},r.d=(e,i)=>{for(var t in i)r.o(i,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:i[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((i,t)=>(r.f[t](e,i),i),[])),r.u=e=>e+"."+{74:"b58a969479dc2b91",225:"6a4c9553019f62bc",909:"7e353111980d7c37"}[e]+".js",r.miniCssF=e=>{},r.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),(()=>{var e={},i="bpm-core:";r.l=(t,o,f,n)=>{if(e[t])e[t].push(o);else{var a,c;if(void 0!==f)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==i+f){a=d;break}}a||(c=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",i+f),a.src=r.tu(t)),e[t]=[o];var s=(g,b)=>{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(h=>h(b)),g)return g(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:i=>i},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={121:0};r.f.j=(o,f)=>{var n=r.o(e,o)?e[o]:void 0;if(0!==n)if(n)f.push(n[2]);else if(121!=o){var a=new Promise((d,s)=>n=e[o]=[d,s]);f.push(n[2]=a);var c=r.p+r.u(o),u=new Error;r.l(c,d=>{if(r.o(e,o)&&(0!==(n=e[o])&&(e[o]=void 0),n)){var s=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;u.message="Loading chunk "+o+" failed.\n("+s+": "+p+")",u.name="ChunkLoadError",u.type=s,u.request=p,n[1](u)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var i=(o,f)=>{var u,l,[n,a,c]=f,d=0;if(n.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(c)var s=c(r)}for(o&&o(f);d<n.length;d++)r.o(e,l=n[d])&&e[l]&&e[l][0](),e[l]=0;return r.O(s)},t=self.webpackChunkbpm_core=self.webpackChunkbpm_core||[];t.forEach(i.bind(null,0)),t.push=i.bind(null,t.push.bind(t))})()})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(f){"object"==typeof module&&module.exports?module.exports=f():window.intlTelInput=f()}(()=>(()=>{var w=Object.defineProperty,T=Object.getOwnPropertyDescriptor,z=Object.getOwnPropertyNames,M=Object.prototype.hasOwnProperty,L={};((t,e)=>{for(var i in e)w(t,i,{get:e[i],enumerable:!0})})(L,{Iti:()=>I,default:()=>W});var k=[["af","93"],["ax","358",1,["18"]],["al","355"],["dz","213"],["as","1",5,["684"]],["ad","376"],["ao","244"],["ai","1",6,["264"]],["ag","1",7,["268"]],["ar","54"],["am","374"],["aw","297"],["ac","247"],["au","61",0],["at","43"],["az","994"],["bs","1",8,["242"]],["bh","973"],["bd","880"],["bb","1",9,["246"]],["by","375"],["be","32"],["bz","501"],["bj","229"],["bm","1",10,["441"]],["bt","975"],["bo","591"],["ba","387"],["bw","267"],["br","55"],["io","246"],["vg","1",11,["284"]],["bn","673"],["bg","359"],["bf","226"],["bi","257"],["kh","855"],["cm","237"],["ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905"]],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"]],["cf","236"],["td","235"],["cl","56"],["cn","86"],["cx","61",2,["89164"]],["cc","61",1,["89162"]],["co","57"],["km","269"],["cg","242"],["cd","243"],["ck","682"],["cr","506"],["ci","225"],["hr","385"],["cu","53"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"]],["do","1",2,["809","829","849"]],["ec","593"],["eg","20"],["sv","503"],["gq","240"],["er","291"],["ee","372"],["sz","268"],["et","251"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0],["fr","33"],["gf","594"],["pf","689"],["ga","241"],["gm","220"],["ge","995"],["de","49"],["gh","233"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"]],["gp","590",0],["gu","1",15,["671"]],["gt","502"],["gg","44",1,["1481","7781","7839","7911"]],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36"],["is","354"],["in","91"],["id","62"],["ir","98"],["iq","964"],["ie","353"],["im","44",2,["1624","74576","7524","7924","7624"]],["il","972"],["it","39",0],["jm","1",4,["876","658"]],["jp","81"],["je","44",3,["1534","7509","7700","7797","7829","7937"]],["jo","962"],["kz","7",1,["33","7"]],["ke","254"],["ki","686"],["xk","383"],["kw","965"],["kg","996"],["la","856"],["lv","371"],["lb","961"],["ls","266"],["lr","231"],["ly","218"],["li","423"],["lt","370"],["lu","352"],["mo","853"],["mg","261"],["mw","265"],["my","60"],["mv","960"],["ml","223"],["mt","356"],["mh","692"],["mq","596"],["mr","222"],["mu","230"],["yt","262",1,["269","639"]],["mx","52"],["fm","691"],["md","373"],["mc","377"],["mn","976"],["me","382"],["ms","1",16,["664"]],["ma","212",0],["mz","258"],["mm","95"],["na","264"],["nr","674"],["np","977"],["nl","31"],["nc","687"],["nz","64"],["ni","505"],["ne","227"],["ng","234"],["nu","683"],["nf","672"],["kp","850"],["mk","389"],["mp","1",17,["670"]],["no","47",0],["om","968"],["pk","92"],["pw","680"],["ps","970"],["pa","507"],["pg","675"],["py","595"],["pe","51"],["ph","63"],["pl","48"],["pt","351"],["pr","1",3,["787","939"]],["qa","974"],["re","262",0],["ro","40"],["ru","7",0],["rw","250"],["ws","685"],["sm","378"],["st","239"],["sa","966"],["sn","221"],["rs","381"],["sc","248"],["sl","232"],["sg","65"],["sx","1",21,["721"]],["sk","421"],["si","386"],["sb","677"],["so","252"],["za","27"],["kr","82"],["ss","211"],["es","34"],["lk","94"],["bl","590",1],["sh","290"],["kn","1",18,["869"]],["lc","1",19,["758"]],["mf","590",2],["pm","508"],["vc","1",20,["784"]],["sd","249"],["sr","597"],["sj","47",1,["79"]],["se","46"],["ch","41"],["sy","963"],["tw","886"],["tj","992"],["tz","255"],["th","66"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"]],["tn","216"],["tr","90"],["tm","993"],["tc","1",23,["649"]],["tv","688"],["ug","256"],["ua","380"],["ae","971"],["gb","44",0],["us","1",0],["uy","598"],["vi","1",24,["340"]],["uz","998"],["vu","678"],["va","39",1,["06698"]],["ve","58"],["vn","84"],["wf","681"],["eh","212",1,["5288","5289"]],["ye","967"],["zm","260"],["zw","263"]],A=[];for(let t=0;t<k.length;t++){let e=k[t];A[t]={name:"",iso2:e[0],dialCode:e[1],priority:e[2]||0,areaCodes:e[3]||null,nodeById:{}}}var y=A,x={ad:"Andorra",ae:"United Arab Emirates",af:"Afghanistan",ag:"Antigua & Barbuda",ai:"Anguilla",al:"Albania",am:"Armenia",ao:"Angola",ar:"Argentina",as:"American Samoa",at:"Austria",au:"Australia",aw:"Aruba",ax:"\xc5land Islands",az:"Azerbaijan",ba:"Bosnia & Herzegovina",bb:"Barbados",bd:"Bangladesh",be:"Belgium",bf:"Burkina Faso",bg:"Bulgaria",bh:"Bahrain",bi:"Burundi",bj:"Benin",bl:"St. Barth\xe9lemy",bm:"Bermuda",bn:"Brunei",bo:"Bolivia",bq:"Caribbean Netherlands",br:"Brazil",bs:"Bahamas",bt:"Bhutan",bw:"Botswana",by:"Belarus",bz:"Belize",ca:"Canada",cc:"Cocos (Keeling) Islands",cd:"Congo - Kinshasa",cf:"Central African Republic",cg:"Congo - Brazzaville",ch:"Switzerland",ci:"C\xf4te d\u2019Ivoire",ck:"Cook Islands",cl:"Chile",cm:"Cameroon",cn:"China",co:"Colombia",cr:"Costa Rica",cu:"Cuba",cv:"Cape Verde",cw:"Cura\xe7ao",cx:"Christmas Island",cy:"Cyprus",cz:"Czechia",de:"Germany",dj:"Djibouti",dk:"Denmark",dm:"Dominica",do:"Dominican Republic",dz:"Algeria",ec:"Ecuador",ee:"Estonia",eg:"Egypt",eh:"Western Sahara",er:"Eritrea",es:"Spain",et:"Ethiopia",fi:"Finland",fj:"Fiji",fk:"Falkland Islands",fm:"Micronesia",fo:"Faroe Islands",fr:"France",ga:"Gabon",gb:"United Kingdom",gd:"Grenada",ge:"Georgia",gf:"French Guiana",gg:"Guernsey",gh:"Ghana",gi:"Gibraltar",gl:"Greenland",gm:"Gambia",gn:"Guinea",gp:"Guadeloupe",gq:"Equatorial Guinea",gr:"Greece",gt:"Guatemala",gu:"Guam",gw:"Guinea-Bissau",gy:"Guyana",hk:"Hong Kong SAR China",hn:"Honduras",hr:"Croatia",ht:"Haiti",hu:"Hungary",id:"Indonesia",ie:"Ireland",il:"Israel",im:"Isle of Man",in:"India",io:"British Indian Ocean Territory",iq:"Iraq",ir:"Iran",is:"Iceland",it:"Italy",je:"Jersey",jm:"Jamaica",jo:"Jordan",jp:"Japan",ke:"Kenya",kg:"Kyrgyzstan",kh:"Cambodia",ki:"Kiribati",km:"Comoros",kn:"St. Kitts & Nevis",kp:"North Korea",kr:"South Korea",kw:"Kuwait",ky:"Cayman Islands",kz:"Kazakhstan",la:"Laos",lb:"Lebanon",lc:"St. Lucia",li:"Liechtenstein",lk:"Sri Lanka",lr:"Liberia",ls:"Lesotho",lt:"Lithuania",lu:"Luxembourg",lv:"Latvia",ly:"Libya",ma:"Morocco",mc:"Monaco",md:"Moldova",me:"Montenegro",mf:"St. Martin",mg:"Madagascar",mh:"Marshall Islands",mk:"North Macedonia",ml:"Mali",mm:"Myanmar (Burma)",mn:"Mongolia",mo:"Macao SAR China",mp:"Northern Mariana Islands",mq:"Martinique",mr:"Mauritania",ms:"Montserrat",mt:"Malta",mu:"Mauritius",mv:"Maldives",mw:"Malawi",mx:"Mexico",my:"Malaysia",mz:"Mozambique",na:"Namibia",nc:"New Caledonia",ne:"Niger",nf:"Norfolk Island",ng:"Nigeria",ni:"Nicaragua",nl:"Netherlands",no:"Norway",np:"Nepal",nr:"Nauru",nu:"Niue",nz:"New Zealand",om:"Oman",pa:"Panama",pe:"Peru",pf:"French Polynesia",pg:"Papua New Guinea",ph:"Philippines",pk:"Pakistan",pl:"Poland",pm:"St. Pierre & Miquelon",pr:"Puerto Rico",ps:"Palestinian Territories",pt:"Portugal",pw:"Palau",py:"Paraguay",qa:"Qatar",re:"R\xe9union",ro:"Romania",rs:"Serbia",ru:"Russia",rw:"Rwanda",sa:"Saudi Arabia",sb:"Solomon Islands",sc:"Seychelles",sd:"Sudan",se:"Sweden",sg:"Singapore",sh:"St. Helena",si:"Slovenia",sj:"Svalbard & Jan Mayen",sk:"Slovakia",sl:"Sierra Leone",sm:"San Marino",sn:"Senegal",so:"Somalia",sr:"Suriname",ss:"South Sudan",st:"S\xe3o Tom\xe9 & Pr\xedncipe",sv:"El Salvador",sx:"Sint Maarten",sy:"Syria",sz:"Eswatini",tc:"Turks & Caicos Islands",td:"Chad",tg:"Togo",th:"Thailand",tj:"Tajikistan",tk:"Tokelau",tl:"Timor-Leste",tm:"Turkmenistan",tn:"Tunisia",to:"Tonga",tr:"Turkey",tt:"Trinidad & Tobago",tv:"Tuvalu",tw:"Taiwan",tz:"Tanzania",ua:"Ukraine",ug:"Uganda",us:"United States",uy:"Uruguay",uz:"Uzbekistan",va:"Vatican City",vc:"St. Vincent & Grenadines",ve:"Venezuela",vg:"British Virgin Islands",vi:"U.S. Virgin Islands",vn:"Vietnam",vu:"Vanuatu",wf:"Wallis & Futuna",ws:"Samoa",ye:"Yemen",yt:"Mayotte",za:"South Africa",zm:"Zambia",zw:"Zimbabwe",selectedCountryAriaLabel:"Selected country",noCountrySelected:"No country selected",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",zeroSearchResults:"No results found",oneSearchResult:"1 result found",multipleSearchResults:"${count} results found",ac:"Ascension Island",xk:"Kosovo"};for(let t=0;t<y.length;t++)y[t].name=x[y[t].iso2];var t,q=0,N={allowDropdown:!0,autoPlaceholder:"polite",containerClass:"",countryOrder:null,countrySearch:!0,customPlaceholder:null,dropdownContainer:null,excludeCountries:[],fixDropdownWidth:!0,formatAsYouType:!0,formatOnDisplay:!0,geoIpLookup:null,hiddenInput:null,i18n:{},initialCountry:"",loadUtilsOnInit:"",nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",showFlags:!0,separateDialCode:!1,strictMode:!1,useFullscreenPopup:typeof navigator<"u"&&typeof window<"u"&&(/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=500),utilsScript:"",validationNumberType:"MOBILE"},G=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],C=t=>t.replace(/\D/g,""),S=(t="")=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),E=t=>{let e=C(t);if("1"===e.charAt(0)){let i=e.substr(1,3);return-1!==G.indexOf(i)}return!1},u=(t,e,i)=>{let s=document.createElement(t);return e&&Object.entries(e).forEach(([a,n])=>s.setAttribute(a,n)),i&&i.appendChild(s),s},b=(t,...e)=>{let{instances:i}=r;Object.values(i).forEach(s=>s[t](...e))},I=class{constructor(t,e={}){this.id=q++,this.a=t,this.c=null,this.d=Object.assign({},N,e),this.e=!!t.getAttribute("placeholder")}_init(){this.d.useFullscreenPopup&&(this.d.fixDropdownWidth=!1),1===this.d.onlyCountries.length&&(this.d.initialCountry=this.d.onlyCountries[0]),this.d.separateDialCode&&(this.d.nationalMode=!1),this.d.allowDropdown&&!this.d.showFlags&&!this.d.separateDialCode&&(this.d.nationalMode=!1),this.d.useFullscreenPopup&&!this.d.dropdownContainer&&(this.d.dropdownContainer=document.body),this.isAndroid=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),this.isRTL=!!this.a.closest("[dir=rtl]");let t=this.d.allowDropdown||this.d.separateDialCode;this.showSelectedCountryOnLeft=this.isRTL?!t:t,this.d.separateDialCode&&(this.isRTL?this.originalPaddingRight=this.a.style.paddingRight:this.originalPaddingLeft=this.a.style.paddingLeft),this.d.i18n={...x,...this.d.i18n};let e=new Promise((s,a)=>{this.h=s,this.i=a}),i=new Promise((s,a)=>{this.i0=s,this.i1=a});this.promise=Promise.all([e,i]),this.s={},this._b(),this._f(),this._h(),this._i(),this._i3()}_b(){this._d(),this._d2(),this._d0(),this._sortCountries()}_sortCountries(){this.d.countryOrder&&(this.d.countryOrder=this.d.countryOrder.map(t=>t.toLowerCase())),this.p.sort((t,e)=>{let{countryOrder:i}=this.d;if(i){let s=i.indexOf(t.iso2),a=i.indexOf(e.iso2),n=s>-1,o=a>-1;if(n||o)return n&&o?s-a:n?-1:1}return t.name.localeCompare(e.name)})}_c(t,e,i){e.length>this.dialCodeMaxLen&&(this.dialCodeMaxLen=e.length),this.q.hasOwnProperty(e)||(this.q[e]=[]);for(let a=0;a<this.q[e].length;a++)if(this.q[e][a]===t)return;this.q[e][void 0!==i?i:this.q[e].length]=t}_d(){let{onlyCountries:t,excludeCountries:e}=this.d;if(t.length){let i=t.map(s=>s.toLowerCase());this.p=y.filter(s=>i.indexOf(s.iso2)>-1)}else if(e.length){let i=e.map(s=>s.toLowerCase());this.p=y.filter(s=>-1===i.indexOf(s.iso2))}else this.p=y}_d0(){for(let t=0;t<this.p.length;t++){let e=this.p[t].iso2.toLowerCase();this.d.i18n.hasOwnProperty(e)&&(this.p[t].name=this.d.i18n[e])}}_d2(){this.dialCodes={},this.dialCodeMaxLen=0,this.q={};for(let t=0;t<this.p.length;t++){let e=this.p[t];this.dialCodes[e.dialCode]||(this.dialCodes[e.dialCode]=!0),this._c(e.iso2,e.dialCode,e.priority)}for(let t=0;t<this.p.length;t++){let e=this.p[t];if(e.areaCodes){let i=this.q[e.dialCode][0];for(let s=0;s<e.areaCodes.length;s++){let a=e.areaCodes[s];for(let n=1;n<a.length;n++){let o=e.dialCode+a.substr(0,n);this._c(i,o),this._c(e.iso2,o)}this._c(e.iso2,e.dialCode+a)}}}}_f(){this.a.classList.add("iti__tel-input"),!this.a.hasAttribute("autocomplete")&&(!this.a.form||!this.a.form.hasAttribute("autocomplete"))&&this.a.setAttribute("autocomplete","off");let{allowDropdown:t,separateDialCode:e,showFlags:i,containerClass:s,hiddenInput:a,dropdownContainer:n,fixDropdownWidth:o,useFullscreenPopup:l,countrySearch:d,i18n:h}=this.d,p="iti";t&&(p+=" iti--allow-dropdown"),i&&(p+=" iti--show-flags"),s&&(p+=` ${s}`),l||(p+=" iti--inline-dropdown");let c=u("div",{class:p});if(this.a.parentNode?.insertBefore(c,this.a),t||i||e){this.k=u("div",{class:"iti__country-container"},c),this.showSelectedCountryOnLeft?this.k.style.left="0px":this.k.style.right="0px",t?(this.selectedCountry=u("button",{type:"button",class:"iti__selected-country","aria-expanded":"false","aria-label":this.d.i18n.selectedCountryAriaLabel,"aria-haspopup":"true","aria-controls":`iti-${this.id}__dropdown-content`,role:"combobox"},this.k),this.a.disabled&&this.selectedCountry.setAttribute("disabled","true")):this.selectedCountry=u("div",{class:"iti__selected-country"},this.k);let g=u("div",{class:"iti__selected-country-primary"},this.selectedCountry);if(this.l=u("div",{class:"iti__flag"},g),this.selectedCountryA11yText=u("span",{class:"iti__a11y-text"},this.l),t&&(this.u=u("div",{class:"iti__arrow","aria-hidden":"true"},g)),e&&(this.t=u("div",{class:"iti__selected-dial-code"},this.selectedCountry)),t)if(this.dropdownContent=u("div",{id:`iti-${this.id}__dropdown-content`,class:"iti__dropdown-content iti__hide "+(o?"":"iti--flexible-dropdown-width")}),d&&(this.searchInput=u("input",{type:"text",class:"iti__search-input",placeholder:h.searchPlaceholder,role:"combobox","aria-expanded":"true","aria-label":h.searchPlaceholder,"aria-controls":`iti-${this.id}__country-listbox`,"aria-autocomplete":"list",autocomplete:"off"},this.dropdownContent),this.searchResultsA11yText=u("span",{class:"iti__a11y-text"},this.dropdownContent)),this.countryList=u("ul",{class:"iti__country-list",id:`iti-${this.id}__country-listbox`,role:"listbox","aria-label":h.countryListAriaLabel},this.dropdownContent),this._g(),d&&this._p4(),n){let _="iti iti--container";_+=l?" iti--fullscreen-popup":" iti--inline-dropdown",this.dropdown=u("div",{class:_}),this.dropdown.appendChild(this.dropdownContent)}else this.k.appendChild(this.dropdownContent)}if(c.appendChild(this.a),this._updateInputPadding(),a){let m=a(this.a.getAttribute("name")||"");m.phone&&(this.hiddenInput=u("input",{type:"hidden",name:m.phone}),c.appendChild(this.hiddenInput)),m.country&&(this.hiddenInputCountry=u("input",{type:"hidden",name:m.country}),c.appendChild(this.hiddenInputCountry))}}_g(){for(let t=0;t<this.p.length;t++){let e=this.p[t],s=u("li",{id:`iti-${this.id}__item-${e.iso2}`,class:"iti__country "+(0===t?"iti__highlight":""),tabindex:"-1",role:"option","data-dial-code":e.dialCode,"data-country-code":e.iso2,"aria-selected":"false"},this.countryList);e.nodeById[this.id]=s;let a="";this.d.showFlags&&(a+=`<div class='iti__flag iti__${e.iso2}'></div>`),a+=`<span class='iti__country-name'>${e.name}</span>`,a+=`<span class='iti__dial-code'>+${e.dialCode}</span>`,s.insertAdjacentHTML("beforeend",a)}}_h(t=!1){let e=this.a.getAttribute("value"),i=this.a.value,s=!e||"+"!==e.charAt(0)||i&&"+"===i.charAt(0)?i:e,a=this._5(s),n=E(s),{initialCountry:o,geoIpLookup:l}=this.d,d="auto"===o&&l;if(a&&!n)this._v(s);else if(!d||t){let h=o?o.toLowerCase():"";h&&this._y(h,!0)?this._z(h):a&&n?this._z("us"):this._z()}s&&this._u(s)}_i(){this._j(),this.d.allowDropdown&&this._i2(),(this.hiddenInput||this.hiddenInputCountry)&&this.a.form&&this._i0()}_i0(){this._a14=()=>{this.hiddenInput&&(this.hiddenInput.value=this.getNumber()),this.hiddenInputCountry&&(this.hiddenInputCountry.value=this.getSelectedCountryData().iso2||"")},this.a.form?.addEventListener("submit",this._a14)}_i2(){this._a9=e=>{this.dropdownContent.classList.contains("iti__hide")?this.a.focus():e.preventDefault()};let t=this.a.closest("label");t&&t.addEventListener("click",this._a9),this._a10=()=>{this.dropdownContent.classList.contains("iti__hide")&&!this.a.disabled&&!this.a.readOnly&&this._n()},this.selectedCountry.addEventListener("click",this._a10),this._a11=e=>{this.dropdownContent.classList.contains("iti__hide")&&["ArrowUp","ArrowDown"," ","Enter"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this._n()),"Tab"===e.key&&this._2()},this.k.addEventListener("keydown",this._a11)}_i3(){let{loadUtilsOnInit:t,utilsScript:e,initialCountry:i,geoIpLookup:s}=this.d;!t&&e&&(console.warn("intl-tel-input: The `utilsScript` option is deprecated and will be removed in a future release! Please use the `loadUtilsOnInit` option instead."),t=e),t&&!r.utils?(this._handlePageLoad=()=>{window.removeEventListener("load",this._handlePageLoad),r.loadUtils(t)?.catch(()=>{})},r.documentReady()?this._handlePageLoad():window.addEventListener("load",this._handlePageLoad)):this.i0(),"auto"===i&&s&&!this.s.iso2?this._i4():this.h()}_i4(){r.autoCountry?this.handleAutoCountry():r.startedLoadingAutoCountry||(r.startedLoadingAutoCountry=!0,"function"==typeof this.d.geoIpLookup&&this.d.geoIpLookup((t="")=>{let e=t.toLowerCase();e&&this._y(e,!0)?(r.autoCountry=e,setTimeout(()=>b("handleAutoCountry"))):(this._h(!0),b("rejectAutoCountryPromise"))},()=>{this._h(!0),b("rejectAutoCountryPromise")}))}_nWithPlus(){this._n(),this.searchInput.value="+",this._p3("",!0)}_j(){let{strictMode:t,formatAsYouType:e,separateDialCode:i,formatOnDisplay:s,allowDropdown:a,countrySearch:n}=this.d,o=!1;new RegExp("\\p{L}","u").test(this.a.value)&&(o=!0),this._a12=l=>{if(this.isAndroid&&"+"===l?.data&&i&&a&&n){let c=this.a.selectionStart||0,g=this.a.value.substring(0,c-1),m=this.a.value.substring(c);return this.a.value=g+m,void this._nWithPlus()}if(this._v(this.a.value)&&this._8(),l?.data&&/[^+0-9]/.test(l.data)||"insertFromPaste"===l?.inputType&&this.a.value&&!t?o=!0:/[^+0-9]/.test(this.a.value)||(o=!1),e&&!o&&(!l?.detail||!l.detail.isSetNumber||s)){let c=this.a.selectionStart||0,g=this.a.value.substring(0,c).replace(/[^+0-9]/g,"").length,m="deleteContentForward"===l?.inputType,_=this._9(),v=((t,e,i,s)=>{if(0===i&&!s)return 0;let a=0;for(let n=0;n<e.length;n++){if(/[+0-9]/.test(e[n])&&a++,a===t&&!s)return n+1;if(s&&a===t+1)return n}return e.length})(g,_,c,m);this.a.value=_,this.a.setSelectionRange(v,v)}},this.a.addEventListener("input",this._a12),(t||i)&&(this._handleKeydownEvent=l=>{if(l.key&&1===l.key.length&&!l.altKey&&!l.ctrlKey&&!l.metaKey){if(i&&a&&n&&"+"===l.key)return l.preventDefault(),void this._nWithPlus();if(t){let d=this.a.value,h="+"===d.charAt(0),p=!h&&0===this.a.selectionStart&&"+"===l.key,c=/^[0-9]$/.test(l.key),g=i?c:p||c,m=d.slice(0,this.a.selectionStart)+l.key+d.slice(this.a.selectionEnd),_=this._6(m),v=r.utils.getCoreNumber(_,this.s.iso2),H=this.maxCoreNumberLength&&v.length>this.maxCoreNumberLength,P=!1;if(h){let J=this.s.iso2;P=this._getCountryFromNumber(_)!==J}(!g||H&&!P&&!p)&&l.preventDefault()}}},this.a.addEventListener("keydown",this._handleKeydownEvent))}_j2(t){let e=parseInt(this.a.getAttribute("maxlength")||"",10);return e&&t.length>e?t.substr(0,e):t}_trigger(t,e={}){let i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:e});this.a.dispatchEvent(i)}_n(){let{fixDropdownWidth:t,countrySearch:e}=this.d;if(t&&(this.dropdownContent.style.width=`${this.a.offsetWidth}px`),this.dropdownContent.classList.remove("iti__hide"),this.selectedCountry.setAttribute("aria-expanded","true"),this._o(),e){let i=this.countryList.firstElementChild;i&&(this._x(i,!1),this.countryList.scrollTop=0),this.searchInput.focus()}this._p(),this.u.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}_o(){if(this.d.dropdownContainer&&this.d.dropdownContainer.appendChild(this.dropdown),!this.d.useFullscreenPopup){let t=this.a.getBoundingClientRect();this.d.dropdownContainer&&(this.dropdown.style.top=`${t.top+this.a.offsetHeight}px`,this.dropdown.style.left=`${t.left}px`,this._a4=()=>this._2(),window.addEventListener("scroll",this._a4))}}_p(){this._a0=s=>{let a=s.target?.closest(".iti__country");a&&this._x(a,!1)},this.countryList.addEventListener("mouseover",this._a0),this._a1=s=>{let a=s.target?.closest(".iti__country");a&&this._1(a)},this.countryList.addEventListener("click",this._a1);let t=!0;this._a2=()=>{t||this._2(),t=!1},document.documentElement.addEventListener("click",this._a2);let e="",i=null;if(this._a3=s=>{["ArrowUp","ArrowDown","Enter","Escape"].includes(s.key)&&(s.preventDefault(),s.stopPropagation(),"ArrowUp"===s.key||"ArrowDown"===s.key?this._q(s.key):"Enter"===s.key?this._r():"Escape"===s.key&&this._2()),!this.d.countrySearch&&/^[a-zA-Z\xc0-\xff\u0430-\u044f\u0410-\u042f ]$/.test(s.key)&&(s.stopPropagation(),i&&clearTimeout(i),e+=s.key.toLowerCase(),this._searchForCountry(e),i=setTimeout(()=>{e=""},1e3))},document.addEventListener("keydown",this._a3),this.d.countrySearch){let s=()=>{let n=this.searchInput.value.trim();n?this._p3(n):this._p3("",!0)},a=null;this._a7=()=>{a&&clearTimeout(a),a=setTimeout(()=>{s(),a=null},100)},this.searchInput.addEventListener("input",this._a7),this.searchInput.addEventListener("click",n=>n.stopPropagation())}}_searchForCountry(t){for(let e=0;e<this.p.length;e++){let i=this.p[e];if(i.name.substr(0,t.length).toLowerCase()===t){let s=i.nodeById[this.id];this._x(s,!1),this._3(s);break}}}_p3(t,e=!1){let i=!0;this.countryList.innerHTML="";let s=S(t);for(let a=0;a<this.p.length;a++){let n=this.p[a],o=S(n.name),l=n.name.split(/[^a-zA-Z\xc0-\xff\u0430-\u044f\u0410-\u042f]/).map(h=>h[0]).join("").toLowerCase(),d=`+${n.dialCode}`;if(e||o.includes(s)||d.includes(s)||n.iso2.includes(s)||l.includes(s)){let h=n.nodeById[this.id];h&&this.countryList.appendChild(h),i&&(this._x(h,!1),i=!1)}}i&&this._x(null,!1),this.countryList.scrollTop=0,this._p4()}_p4(){let i,{i18n:t}=this.d,e=this.countryList.childElementCount;i=0===e?t.zeroSearchResults:1===e?t.oneSearchResult:t.multipleSearchResults.replace("${count}",e.toString()),this.searchResultsA11yText.textContent=i}_q(t){let e="ArrowUp"===t?this.c?.previousElementSibling:this.c?.nextElementSibling;!e&&this.countryList.childElementCount>1&&(e="ArrowUp"===t?this.countryList.lastElementChild:this.countryList.firstElementChild),e&&(this._3(e),this._x(e,!1))}_r(){this.c&&this._1(this.c)}_u(t){let e=t;if(this.d.formatOnDisplay&&r.utils&&this.s){let i=this.d.nationalMode||"+"!==e.charAt(0)&&!this.d.separateDialCode,{NATIONAL:s,INTERNATIONAL:a}=r.utils.numberFormat;e=r.utils.formatNumber(e,this.s.iso2,i?s:a)}e=this._7(e),this.a.value=e}_v(t){let e=this._getCountryFromNumber(t);return null!==e&&this._z(e)}_getCountryFromNumber(t){let e=t.indexOf("+"),i=e?t.substring(e):t,s=this.s.dialCode;i&&"1"===s&&"+"!==i.charAt(0)&&("1"!==i.charAt(0)&&(i=`1${i}`),i=`+${i}`),this.d.separateDialCode&&s&&"+"!==i.charAt(0)&&(i=`+${s}${i}`);let a=this._5(i,!0),n=C(i);if(a){let o=this.q[C(a)],l=-1!==o.indexOf(this.s.iso2)&&n.length<=a.length-1;if(!("1"===s&&E(n)||l))for(let d=0;d<o.length;d++)if(o[d])return o[d]}else{if("+"===i.charAt(0)&&n.length)return"";if(!(i&&"+"!==i||this.s.iso2))return this.j}return null}_x(t,e){let i=this.c;if(i&&(i.classList.remove("iti__highlight"),i.setAttribute("aria-selected","false")),this.c=t,this.c){this.c.classList.add("iti__highlight"),this.c.setAttribute("aria-selected","true");let s=this.c.getAttribute("id")||"";this.selectedCountry.setAttribute("aria-activedescendant",s),this.d.countrySearch&&this.searchInput.setAttribute("aria-activedescendant",s)}e&&this.c.focus()}_y(t,e){for(let i=0;i<this.p.length;i++)if(this.p[i].iso2===t)return this.p[i];if(e)return null;throw new Error(`No country data for '${t}'`)}_z(t){let{separateDialCode:e,showFlags:i,i18n:s}=this.d,a=this.s.iso2?this.s:{};if(this.s=t&&this._y(t,!1)||{},this.s.iso2&&(this.j=this.s.iso2),this.l){let n="",o="";t&&i?(n=`iti__flag iti__${t}`,o=`${this.s.name} +${this.s.dialCode}`):(n="iti__flag iti__globe",o=s.noCountrySelected),this.l.className=n,this.selectedCountryA11yText.textContent=o}return this._z3(t,e),e&&(this.t.innerHTML=this.s.dialCode?`+${this.s.dialCode}`:"",this._updateInputPadding()),this._0(),this._updateMaxLength(),a.iso2!==t}_updateInputPadding(){if(this.selectedCountry){let t=(this.selectedCountry.offsetWidth||this._z2())+6;this.showSelectedCountryOnLeft?this.a.style.paddingLeft=`${t}px`:this.a.style.paddingRight=`${t}px`}}_updateMaxLength(){let{strictMode:t,placeholderNumberType:e,validationNumberType:i}=this.d,{iso2:s}=this.s;if(t&&r.utils)if(s){let n=r.utils.getExampleNumber(s,!1,r.utils.numberType[e],!0),o=n;for(;r.utils.isPossibleNumber(n,s,i);)o=n,n+="0";let l=r.utils.getCoreNumber(o,s);this.maxCoreNumberLength=l.length,"by"===s&&(this.maxCoreNumberLength=l.length+1)}else this.maxCoreNumberLength=null}_z3(t=null,e){if(!this.selectedCountry)return;let i;i=t&&!e?`${this.s.name}: +${this.s.dialCode}`:t?this.s.name:"Unknown",this.selectedCountry.setAttribute("title",i)}_z2(){if(this.a.parentNode){let t=this.a.parentNode.cloneNode(!1);t.style.visibility="hidden",document.body.appendChild(t);let e=this.k.cloneNode();t.appendChild(e);let i=this.selectedCountry.cloneNode(!0);e.appendChild(i);let s=i.offsetWidth;return document.body.removeChild(t),s}return 0}_0(){let{autoPlaceholder:t,placeholderNumberType:e,nationalMode:i,customPlaceholder:s}=this.d;if(r.utils&&("aggressive"===t||!this.e&&"polite"===t)){let o=this.s.iso2?r.utils.getExampleNumber(this.s.iso2,i,r.utils.numberType[e]):"";o=this._7(o),"function"==typeof s&&(o=s(o,this.s)),this.a.setAttribute("placeholder",o)}}_1(t){let e=this._z(t.getAttribute("data-country-code"));this._2(),this._4(t.getAttribute("data-dial-code")),this.a.focus(),e&&this._8()}_2(){this.dropdownContent.classList.add("iti__hide"),this.selectedCountry.setAttribute("aria-expanded","false"),this.selectedCountry.removeAttribute("aria-activedescendant"),this.c&&this.c.setAttribute("aria-selected","false"),this.d.countrySearch&&this.searchInput.removeAttribute("aria-activedescendant"),this.u.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._a3),this.d.countrySearch&&this.searchInput.removeEventListener("input",this._a7),document.documentElement.removeEventListener("click",this._a2),this.countryList.removeEventListener("mouseover",this._a0),this.countryList.removeEventListener("click",this._a1),this.d.dropdownContainer&&(this.d.useFullscreenPopup||window.removeEventListener("scroll",this._a4),this.dropdown.parentNode&&this.dropdown.parentNode.removeChild(this.dropdown)),this._handlePageLoad&&window.removeEventListener("load",this._handlePageLoad),this._trigger("close:countrydropdown")}_3(t){let e=this.countryList,i=document.documentElement.scrollTop,s=e.offsetHeight,a=e.getBoundingClientRect().top+i,n=a+s,o=t.offsetHeight,l=t.getBoundingClientRect().top+i,d=l+o,h=l-a+e.scrollTop;l<a?e.scrollTop=h:d>n&&(e.scrollTop=h-(s-o))}_4(t){let s,e=this.a.value,i=`+${t}`;if("+"===e.charAt(0)){let a=this._5(e);s=a?e.replace(a,i):i,this.a.value=s}}_5(t,e){let i="";if("+"===t.charAt(0)){let s="";for(let a=0;a<t.length;a++){let n=t.charAt(a);if(!isNaN(parseInt(n,10))){if(s+=n,e)this.q[s]&&(i=t.substr(0,a+1));else if(this.dialCodes[s]){i=t.substr(0,a+1);break}if(s.length===this.dialCodeMaxLen)break}}}return i}_6(t){let s,e=t||this.a.value.trim(),{dialCode:i}=this.s,a=C(e);return s=this.d.separateDialCode&&"+"!==e.charAt(0)&&i&&a?`+${i}`:"",s+e}_7(t){let e=t;if(this.d.separateDialCode){let i=this._5(e);i&&(i=`+${this.s.dialCode}`,e=e.substr(" "===e[i.length]||"-"===e[i.length]?i.length+1:i.length))}return this._j2(e)}_8(){this._trigger("countrychange")}_9(){let t=this._6(),e=r.utils?r.utils.formatNumberAsYouType(t,this.s.iso2):t,{dialCode:i}=this.s;return this.d.separateDialCode&&"+"!==this.a.value.charAt(0)&&e.includes(`+${i}`)?(e.split(`+${i}`)[1]||"").trim():e}handleAutoCountry(){"auto"===this.d.initialCountry&&r.autoCountry&&(this.j=r.autoCountry,this.s.iso2||this.l.classList.contains("iti__globe")||this.setCountry(this.j),this.h())}handleUtils(){r.utils&&(this.a.value&&this._u(this.a.value),this.s.iso2&&(this._0(),this._updateMaxLength())),this.i0()}destroy(){let{allowDropdown:t,separateDialCode:e}=this.d;if(t){this._2(),this.selectedCountry.removeEventListener("click",this._a10),this.k.removeEventListener("keydown",this._a11);let a=this.a.closest("label");a&&a.removeEventListener("click",this._a9)}let{form:i}=this.a;this._a14&&i&&i.removeEventListener("submit",this._a14),this.a.removeEventListener("input",this._a12),this._handleKeydownEvent&&this.a.removeEventListener("keydown",this._handleKeydownEvent),this.a.removeAttribute("data-intl-tel-input-id"),e&&(this.isRTL?this.a.style.paddingRight=this.originalPaddingRight:this.a.style.paddingLeft=this.originalPaddingLeft);let s=this.a.parentNode;s?.parentNode?.insertBefore(this.a,s),s?.parentNode?.removeChild(s),delete r.instances[this.id]}getExtension(){return r.utils?r.utils.getExtension(this._6(),this.s.iso2):""}getNumber(t){if(r.utils){let{iso2:e}=this.s;return r.utils.formatNumber(this._6(),e,t)}return""}getNumberType(){return r.utils?r.utils.getNumberType(this._6(),this.s.iso2):-99}getSelectedCountryData(){return this.s}getValidationError(){if(r.utils){let{iso2:t}=this.s;return r.utils.getValidationError(this._6(),t)}return-99}isValidNumber(){if(!this.s.iso2)return!1;let t=this._6(),e=t.search(new RegExp("\\p{L}","u"));if(e>-1){let i=t.substring(0,e),s=this._utilsIsPossibleNumber(i),a=this._utilsIsPossibleNumber(t);return s&&a}return this._utilsIsPossibleNumber(t)}_utilsIsPossibleNumber(t){return r.utils?r.utils.isPossibleNumber(t,this.s.iso2,this.d.validationNumberType):null}isValidNumberPrecise(){if(!this.s.iso2)return!1;let t=this._6(),e=t.search(new RegExp("\\p{L}","u"));if(e>-1){let i=t.substring(0,e),s=this._utilsIsValidNumber(i),a=this._utilsIsValidNumber(t);return s&&a}return this._utilsIsValidNumber(t)}_utilsIsValidNumber(t){return r.utils?r.utils.isValidNumber(t,this.s.iso2):null}setCountry(t){let e=t?.toLowerCase(),i=this.s.iso2;(t&&e!==i||!t&&i)&&(this._z(e),this._4(this.s.dialCode),this._8())}setNumber(t){let e=this._v(t);this._u(t),e&&this._8(),this._trigger("input",{isSetNumber:!0})}setPlaceholderNumberType(t){this.d.placeholderNumberType=t,this._0()}setDisabled(t){this.a.disabled=t,t?this.selectedCountry.setAttribute("disabled","true"):this.selectedCountry.removeAttribute("disabled")}},r=Object.assign((t,e)=>{let i=new I(t,e);return i._init(),t.setAttribute("data-intl-tel-input-id",i.id.toString()),r.instances[i.id]=i,i},{defaults:N,documentReady:()=>"complete"===document.readyState,getCountryData:()=>y,getInstance:t=>{let e=t.getAttribute("data-intl-tel-input-id");return e?r.instances[e]:null},instances:{},loadUtils:t=>{if(!r.utils&&!r.startedLoadingUtilsScript){let e;if("string"==typeof t)e=import(t);else{if("function"!=typeof t)return Promise.reject(new TypeError("The argument passed to loadUtils must be a URL string or a function that returns a promise for the utilities module, not "+typeof t));try{e=Promise.resolve(t())}catch(i){return Promise.reject(i)}}return r.startedLoadingUtilsScript=!0,e.then(i=>{let s=i?.default;if(!s||"object"!=typeof s)throw"string"==typeof t?new TypeError(`The module loaded from ${t} did not set utils as its default export.`):new TypeError("The loader function passed to loadUtils did not resolve to a module object with utils as its default export.");return r.utils=s,b("handleUtils"),!0}).catch(i=>{throw b("rejectUtilsScriptPromise",i),i})}return null},startedLoadingUtilsScript:!1,startedLoadingAutoCountry:!1,version:"24.8.2"}),W=r;return t=L,((t,e,i,s)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let a of z(e))!M.call(t,a)&&undefined!==a&&w(t,a,{get:()=>e[a],enumerable:!(s=T(e,a))||s.enumerable});return t})(w({},"__esModule",{value:!0}),t)})().default);
|