@everymatrix/player-account-controller 1.64.1 → 1.64.4
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/components/{PlayerAccountController-CNadLBkX.js → PlayerAccountController-BUrcFu9n.js} +3 -3
- package/components/{PlayerAccountController-C4sz4Dx3.js → PlayerAccountController-DeZ4tBNI.js} +3 -3
- package/components/{PlayerAccountController-BfTHwFus.cjs → PlayerAccountController-DoD4S-nh.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D2lWBV-A.js → PlayerAccountTransactionsHistory-Dba-1fZy.js} +61 -61
- package/components/{PlayerAccountTransactionsHistory-DOyK1gIl.cjs → PlayerAccountTransactionsHistory-P3vGWL_D.cjs} +4 -4
- package/components/{PlayerAccountTransactionsHistory-BRz2bw7T.js → PlayerAccountTransactionsHistory-zmSP1ZKW.js} +61 -61
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-fb5AYRav.js → checkbox-group-input_9-BDLC0NPq.js} +56 -55
- package/stencil/{checkbox-group-input_9-D2BF8AME.cjs → checkbox-group-input_9-CprubYZ6.cjs} +2 -2
- package/stencil/{checkbox-group-input_9-Ccn1x-YQ.js → checkbox-group-input_9-CvL73d-G.js} +56 -55
- package/stencil/{general-input-BRStwjLe.cjs → general-input-BGhFzqtE.cjs} +1 -1
- package/stencil/{general-input-VrsbUFid.js → general-input-D6sqV34A.js} +1 -1
- package/stencil/{general-input-Bi859Arx.js → general-input-rAz3BI0W.js} +1 -1
- package/stencil/{index-1ef3a64c-40UJl6ZR.cjs → index-1ef3a64c-B_ZYYq05.cjs} +1 -1
- package/stencil/{index-1ef3a64c-D_hRnRRS.js → index-1ef3a64c-Brn0Uk6U.js} +1 -1
- package/stencil/{index-1ef3a64c-DlkA_w16.js → index-1ef3a64c-HrNLjYby.js} +1 -1
- package/stencil/{index-9cd44522-DxFae1MG.js → index-9cd44522-BicusHxm.js} +4 -4
- package/stencil/{index-9cd44522-JnusBvN9.js → index-9cd44522-CmU71Sj9.js} +4 -4
- package/stencil/{index-9cd44522-CrgsoiAp.cjs → index-9cd44522-DoGQFmJb.cjs} +1 -1
- package/stencil/{password-input_2-BCOtY9sM.js → password-input_2-CgqvAj-_.js} +2 -2
- package/stencil/{password-input_2-BXzfMc8X.cjs → password-input_2-D-c-s1Y6.cjs} +1 -1
- package/stencil/{password-input_2-DHVTL4Uw.js → password-input_2-DRVfO_oq.js} +2 -2
- package/stencil/{player-change-password-gm2-5cb5c6c1-BKCmd_cs.js → player-change-password-gm2-5cb5c6c1-B-k1s7vM.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-BUgDtida.cjs → player-change-password-gm2-5cb5c6c1-B10TDWX3.cjs} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-6TVYOtMo.js → player-change-password-gm2-5cb5c6c1-BXXs93I9.js} +1 -1
- package/stencil/{player-change-password-gm2-BrSLdHlU.cjs → player-change-password-gm2-BYVZydPd.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BKBYgPz8.js → player-change-password-gm2-Ch6ZOQxn.js} +1 -1
- package/stencil/{player-change-password-gm2-gjVdo1GO.js → player-change-password-gm2-D8Z5iyOU.js} +1 -1
- package/stencil/{toggle-checkbox-input-CrxkMky_.js → toggle-checkbox-input-DqMPlaYm.js} +1 -1
- package/stencil/{toggle-checkbox-input-HnF1aSM9.js → toggle-checkbox-input-F32UBqIG.js} +1 -1
- package/stencil/{toggle-checkbox-input-BC2iIvnY.cjs → toggle-checkbox-input-Vi6Sls8a.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-cnDUxzhZ.js → user-deposit-withdrawal-C7ATBpL9.js} +3 -3
- package/stencil/user-deposit-withdrawal-D3ICpdvp.cjs +68 -0
- package/stencil/{user-deposit-withdrawal-C3ngwq1c.js → user-deposit-withdrawal-G1yW00bt.js} +3 -3
- package/stencil/user-deposit-withdrawal-CJihIeJ7.cjs +0 -68
|
@@ -986,7 +986,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
986
986
|
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
987
987
|
* Google as part of the polymer project is also subject to an additional IP
|
|
988
988
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
989
|
-
*/let Ut=0;const qt=[],C={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},js="__computeInfo",xl=/[A-Z]/;function Oi(i,e,t){let r=i[e];if(!r)r=i[e]={};else if(!i.hasOwnProperty(e)&&(r=i[e]=Object.create(i[e]),t))for(let o in r){let s=r[o],a=r[o]=Array(s.length);for(let l=0;l<s.length;l++)a[l]=s[l]}return r}function Ft(i,e,t,r,o,s){if(e){let a=!1;const l=Ut++;for(let d in t){let h=o?Ke(d):d,c=e[h];if(c)for(let u=0,_=c.length,p;u<_&&(p=c[u]);u++)(!p.info||p.info.lastRun!==l)&&(!o||Ar(d,p.trigger))&&(p.info&&(p.info.lastRun=l),p.fn(i,d,t,r,p.info,o,s),a=!0)}return a}return!1}function wl(i,e,t,r,o,s,a,l){let d=!1,h=a?Ke(r):r,c=e[h];if(c)for(let u=0,_=c.length,p;u<_&&(p=c[u]);u++)(!p.info||p.info.lastRun!==t)&&(!a||Ar(r,p.trigger))&&(p.info&&(p.info.lastRun=t),p.fn(i,r,o,s,p.info,a,l),d=!0);return d}function Ar(i,e){if(e){let t=e.name;return t==i||!!(e.structured&&Ms(t,i))||!!(e.wildcard&&jt(t,i))}else return!0}function To(i,e,t,r,o){let s=typeof o.method=="string"?i[o.method]:o.method,a=o.property;s?s.call(i,i.__data[a],r[a]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function Cl(i,e,t,r,o){let s=i[C.NOTIFY],a,l=Ut++;for(let h in e)e[h]&&(s&&wl(i,s,l,h,t,r,o)||o&&kl(i,h,t))&&(a=!0);let d;a&&(d=i.__dataHost)&&d._invalidateProperties&&d._invalidateProperties()}function kl(i,e,t){let r=Ke(e);if(r!==e){let o=Si(r)+"-changed";return $s(i,o,t[e],e),!0}return!1}function $s(i,e,t,r){let o={value:t,queueProperty:!0};r&&(o.path=r),j(i).dispatchEvent(new CustomEvent(e,{detail:o}))}function Pl(i,e,t,r,o,s){let a=(s?Ke(e):e)!=e?e:null,l=a?J(i,a):i.__data[e];a&&l===void 0&&(l=t[e]),$s(i,o.eventName,l,a)}function Sl(i,e,t,r,o){let s,a=i.detail,l=a&&a.path;l?(r=$t(t,r,l),s=a&&a.value):s=i.currentTarget[t],s=o?!s:s,(!e[C.READ_ONLY]||!e[C.READ_ONLY][r])&&e._setPendingPropertyOrPath(r,s,!0,!!l)&&(!a||!a.queueProperty)&&e._invalidateProperties()}function Al(i,e,t,r,o){let s=i.__data[e];gi&&(s=gi(s,o.attrName,"attribute",i)),i._propertyToAttribute(e,o.attrName,s)}function El(i,e,t,r){let o=i[C.COMPUTE];if(o)if($n){Ut++;const s=Il(i),a=[];for(let d in e)Io(d,o,a,s,r);let l;for(;l=a.shift();)Us(i,"",e,t,l)&&Io(l.methodInfo,o,a,s,r);Object.assign(t,i.__dataOld),Object.assign(e,i.__dataPending),i.__dataPending=null}else{let s=e;for(;Ft(i,o,s,t,r);)Object.assign(t,i.__dataOld),Object.assign(e,i.__dataPending),s=i.__dataPending,i.__dataPending=null}}const Tl=(i,e,t)=>{let r=0,o=e.length-1,s=-1;for(;r<=o;){const a=r+o>>1,l=t.get(e[a].methodInfo)-t.get(i.methodInfo);if(l<0)r=a+1;else if(l>0)o=a-1;else{s=a;break}}s<0&&(s=o+1),e.splice(s,0,i)},Io=(i,e,t,r,o)=>{const s=o?Ke(i):i,a=e[s];if(a)for(let l=0;l<a.length;l++){const d=a[l];d.info.lastRun!==Ut&&(!o||Ar(i,d.trigger))&&(d.info.lastRun=Ut,Tl(d.info,t,r))}};function Il(i){let e=i.constructor.__orderedComputedDeps;if(!e){e=new Map;const t=i[C.COMPUTE];let{counts:r,ready:o,total:s}=Dl(i),a;for(;a=o.shift();){e.set(a,e.size);const l=t[a];l&&l.forEach(d=>{const h=d.info.methodInfo;--s,--r[h]===0&&o.push(h)})}s!==0&&console.warn(`Computed graph for ${i.localName} incomplete; circular?`),i.constructor.__orderedComputedDeps=e}return e}function Dl(i){const e=i[js],t={},r=i[C.COMPUTE],o=[];let s=0;for(let a in e){const l=e[a];s+=t[a]=l.args.filter(d=>!d.literal).length+(l.dynamicFn?1:0)}for(let a in r)e[a]||o.push(a);return{counts:t,ready:o,total:s}}function Us(i,e,t,r,o){let s=ir(i,e,t,r,o);if(s===qt)return!1;let a=o.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[a]?i._setPendingProperty(a,s,!0):(i[a]=s,!1)}function zl(i,e,t){let r=i.__dataLinkedPaths;if(r){let o;for(let s in r){let a=r[s];jt(s,e)?(o=$t(s,a,e),i._setPendingPropertyOrPath(o,t,!0,!0)):jt(a,e)&&(o=$t(a,s,e),i._setPendingPropertyOrPath(o,t,!0,!0))}}}function Mi(i,e,t,r,o,s,a){t.bindings=t.bindings||[];let l={kind:r,target:o,parts:s,literal:a,isCompound:s.length!==1};if(t.bindings.push(l),Ll(l)){let{event:h,negate:c}=l.parts[0];l.listenerEvent=h||Si(o)+"-changed",l.listenerNegate=c}let d=e.nodeInfoList.length;for(let h=0;h<l.parts.length;h++){let c=l.parts[h];c.compoundIndex=h,Ol(i,e,l,c,d)}}function Ol(i,e,t,r,o){if(!r.literal)if(t.kind==="attribute"&&t.target[0]==="-")console.warn("Cannot set attribute "+t.target+' because "-" is not a valid attribute starting character');else{let s=r.dependencies,a={index:o,binding:t,part:r,evaluator:i};for(let l=0;l<s.length;l++){let d=s[l];typeof d=="string"&&(d=Ys(d),d.wildcard=!0),i._addTemplatePropertyEffect(e,d.rootProperty,{fn:Ml,info:a,trigger:d})}}}function Ml(i,e,t,r,o,s,a){let l=a[o.index],d=o.binding,h=o.part;if(s&&h.source&&e.length>h.source.length&&d.kind=="property"&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let c=t[e];e=$t(h.source,d.target,e),l._setPendingPropertyOrPath(e,c,!1,!0)&&i._enqueueClient(l)}else{let c=o.evaluator._evaluateBinding(i,h,e,t,r,s);c!==qt&&Fl(i,l,d,h,c)}}function Fl(i,e,t,r,o){if(o=Nl(e,o,t,r),gi&&(o=gi(o,t.target,t.kind,e)),t.kind=="attribute")i._valueToNodeAttribute(e,o,t.target);else{let s=t.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[s]?(!e[C.READ_ONLY]||!e[C.READ_ONLY][s])&&e._setPendingProperty(s,o)&&i._enqueueClient(e):i._setUnmanagedPropertyToNode(e,s,o)}}function Nl(i,e,t,r){if(t.isCompound){let o=i.__dataCompoundStorage[t.target];o[r.compoundIndex]=e,e=o.join("")}return t.kind!=="attribute"&&(t.target==="textContent"||t.target==="value"&&(i.localName==="input"||i.localName==="textarea"))&&(e=e==null?"":e),e}function Ll(i){return!!i.target&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function Bl(i,e){let{nodeList:t,nodeInfoList:r}=e;if(r.length)for(let o=0;o<r.length;o++){let s=r[o],a=t[o],l=s.bindings;if(l)for(let d=0;d<l.length;d++){let h=l[d];Vl(a,h),Rl(a,i,h)}a.__dataHost=i}}function Vl(i,e){if(e.isCompound){let t=i.__dataCompoundStorage||(i.__dataCompoundStorage={}),r=e.parts,o=new Array(r.length);for(let a=0;a<r.length;a++)o[a]=r[a].literal;let s=e.target;t[s]=o,e.literal&&e.kind=="property"&&(s==="className"&&(i=j(i)),i[s]=e.literal)}}function Rl(i,e,t){if(t.listenerEvent){let r=t.parts[0];i.addEventListener(t.listenerEvent,function(o){Sl(o,e,t.target,r.source,r.negate)})}}function Do(i,e,t,r,o,s){s=e.static||s&&(typeof s!="object"||s[e.methodName]);let a={methodName:e.methodName,args:e.args,methodInfo:o,dynamicFn:s};for(let l=0,d;l<e.args.length&&(d=e.args[l]);l++)d.literal||i._addPropertyEffect(d.rootProperty,t,{fn:r,info:a,trigger:d});return s&&i._addPropertyEffect(e.methodName,t,{fn:r,info:a}),a}function ir(i,e,t,r,o){let s=i._methodHost||i,a=s[o.methodName];if(a){let l=i._marshalArgs(o.args,e,t);return l===qt?qt:a.apply(s,l)}else o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const Hl=[],qs="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Wl="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",jl="(?:'(?:[^'\\\\]|\\\\.)*')",$l='(?:"(?:[^"\\\\]|\\\\.)*")',Ul="(?:"+jl+"|"+$l+")",zo="(?:("+qs+"|"+Wl+"|"+Ul+")\\s*)",ql="(?:"+zo+"(?:,\\s*"+zo+")*)",Yl="(?:\\(\\s*(?:"+ql+"?)\\)\\s*)",Gl="("+qs+"\\s*"+Yl+"?)",Kl="(\\[\\[|{{)\\s*",Xl="(?:]]|}})",Jl="(?:(!)\\s*)?",Ql=Kl+Jl+Gl+Xl,Oo=new RegExp(Ql,"g");function Mo(i){let e="";for(let t=0;t<i.length;t++){let r=i[t].literal;e+=r||""}return e}function Fi(i){let e=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Hl};if(e[2].trim()){let r=e[2].replace(/\\,/g,",").split(",");return Zl(r,t)}else return t}return null}function Zl(i,e){return e.args=i.map(function(t){let r=Ys(t);return r.literal||(e.static=!1),r},this),e}function Ys(i){let e=i.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),t={name:e,value:"",literal:!1},r=e[0];switch(r==="-"&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':t.value=e.slice(1,-1),t.literal=!0;break;case"#":t.value=Number(e),t.literal=!0;break}return t.literal||(t.rootProperty=Ke(e),t.structured=er(e),t.structured&&(t.wildcard=e.slice(-2)==".*",t.wildcard&&(t.name=e.slice(0,-2)))),t}function Fo(i,e,t){let r=J(i,t);return r===void 0&&(r=e[t]),r}function Gs(i,e,t,r){const o={indexSplices:r};Zi&&!i._overrideLegacyUndefined&&(e.splices=o),i.notifyPath(t+".splices",o),i.notifyPath(t+".length",e.length),Zi&&!i._overrideLegacyUndefined&&(o.indexSplices=[])}function It(i,e,t,r,o,s){Gs(i,e,t,[{index:r,addedCount:o,removed:s,object:e,type:"splice"}])}function ed(i){return i[0].toUpperCase()+i.substring(1)}const Er=M(i=>{const e=bl(hl(i));class t extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return C}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Dt.length){let o=Dt[Dt.length-1];o._enqueueClient(this),this.__dataHost=o}}_initializeProtoProperties(o){this.__data=Object.create(o),this.__dataPending=Object.create(o),this.__dataOld={}}_initializeInstanceProperties(o){let s=this[C.READ_ONLY];for(let a in o)(!s||!s[a])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[a]=this.__dataPending[a]=o[a])}_addPropertyEffect(o,s,a){this._createPropertyAccessor(o,s==C.READ_ONLY);let l=Oi(this,s,!0)[o];l||(l=this[s][o]=[]),l.push(a)}_removePropertyEffect(o,s,a){let l=Oi(this,s,!0)[o],d=l.indexOf(a);d>=0&&l.splice(d,1)}_hasPropertyEffect(o,s){let a=this[s];return!!(a&&a[o])}_hasReadOnlyEffect(o){return this._hasPropertyEffect(o,C.READ_ONLY)}_hasNotifyEffect(o){return this._hasPropertyEffect(o,C.NOTIFY)}_hasReflectEffect(o){return this._hasPropertyEffect(o,C.REFLECT)}_hasComputedEffect(o){return this._hasPropertyEffect(o,C.COMPUTE)}_setPendingPropertyOrPath(o,s,a,l){if(l||Ke(Array.isArray(o)?o[0]:o)!==o){if(!l){let d=J(this,o);if(o=So(this,o,s),!o||!super._shouldPropertyChange(o,s,d))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(o,s,a))return zl(this,o,s),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[o])return this._setPendingProperty(o,s,a);this[o]=s}return!1}_setUnmanagedPropertyToNode(o,s,a){(a!==o[s]||typeof a=="object")&&(s==="className"&&(o=j(o)),o[s]=a)}_setPendingProperty(o,s,a){let l=this.__dataHasPaths&&er(o),d=l?this.__dataTemp:this.__data;return this._shouldPropertyChange(o,s,d[o])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),o in this.__dataOld||(this.__dataOld[o]=this.__data[o]),l?this.__dataTemp[o]=s:this.__data[o]=s,this.__dataPending[o]=s,(l||this[C.NOTIFY]&&this[C.NOTIFY][o])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[o]=a),!0):!1}_setProperty(o,s){this._setPendingProperty(o,s,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(o){this.__dataPendingClients=this.__dataPendingClients||[],o!==this&&this.__dataPendingClients.push(o)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let o=this.__dataPendingClients;if(o){this.__dataPendingClients=null;for(let s=0;s<o.length;s++){let a=o[s];a.__dataEnabled?a.__dataPending&&a._flushProperties():a._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(o,s){for(let a in o)(s||!this[C.READ_ONLY]||!this[C.READ_ONLY][a])&&this._setPendingPropertyOrPath(a,o[a],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(o,s,a){let l=this.__dataHasPaths;this.__dataHasPaths=!1;let d;El(this,s,a,l),d=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(s,a,l),this._flushClients(),Ft(this,this[C.REFLECT],s,a,l),Ft(this,this[C.OBSERVE],s,a,l),d&&Cl(this,d,s,a,l),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(o,s,a){this[C.PROPAGATE]&&Ft(this,this[C.PROPAGATE],o,s,a),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,o,s,a)}_runEffectsForTemplate(o,s,a,l){const d=(h,c)=>{Ft(this,o.propertyEffects,h,a,c,o.nodeList);for(let u=o.firstChild;u;u=u.nextSibling)this._runEffectsForTemplate(u,h,a,c)};o.runEffects?o.runEffects(d,s,l):d(s,l)}linkPaths(o,s){o=Mt(o),s=Mt(s),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[o]=s}unlinkPaths(o){o=Mt(o),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[o]}notifySplices(o,s){let a={path:""},l=J(this,o,a);Gs(this,l,a.path,s)}get(o,s){return J(s||this,o)}set(o,s,a){a?So(a,o,s):(!this[C.READ_ONLY]||!this[C.READ_ONLY][o])&&this._setPendingPropertyOrPath(o,s,!0)&&this._invalidateProperties()}push(o,...s){let a={path:""},l=J(this,o,a),d=l.length,h=l.push(...s);return s.length&&It(this,l,a.path,d,s.length,[]),h}pop(o){let s={path:""},a=J(this,o,s),l=!!a.length,d=a.pop();return l&&It(this,a,s.path,a.length,0,[d]),d}splice(o,s,a,...l){let d={path:""},h=J(this,o,d);s<0?s=h.length-Math.floor(-s):s&&(s=Math.floor(s));let c;return arguments.length===2?c=h.splice(s):c=h.splice(s,a,...l),(l.length||c.length)&&It(this,h,d.path,s,l.length,c),c}shift(o){let s={path:""},a=J(this,o,s),l=!!a.length,d=a.shift();return l&&It(this,a,s.path,0,0,[d]),d}unshift(o,...s){let a={path:""},l=J(this,o,a),d=l.unshift(...s);return s.length&&It(this,l,a.path,0,s.length,[]),d}notifyPath(o,s){let a;if(arguments.length==1){let l={path:""};s=J(this,o,l),a=l.path}else Array.isArray(o)?a=Mt(o):a=o;this._setPendingPropertyOrPath(a,s,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(o,s){this._addPropertyEffect(o,C.READ_ONLY),s&&(this["_set"+ed(o)]=function(a){this._setProperty(o,a)})}_createPropertyObserver(o,s,a){let l={property:o,method:s,dynamicFn:!!a};this._addPropertyEffect(o,C.OBSERVE,{fn:To,info:l,trigger:{name:o}}),a&&this._addPropertyEffect(s,C.OBSERVE,{fn:To,info:l,trigger:{name:s}})}_createMethodObserver(o,s){let a=Fi(o);if(!a)throw new Error("Malformed observer expression '"+o+"'");Do(this,a,C.OBSERVE,ir,null,s)}_createNotifyingProperty(o){this._addPropertyEffect(o,C.NOTIFY,{fn:Pl,info:{eventName:Si(o)+"-changed",property:o}})}_createReflectedProperty(o){let s=this.constructor.attributeNameForProperty(o);s[0]==="-"?console.warn("Property "+o+" cannot be reflected to attribute "+s+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(o,C.REFLECT,{fn:Al,info:{attrName:s}})}_createComputedProperty(o,s,a){let l=Fi(s);if(!l)throw new Error("Malformed computed expression '"+s+"'");const d=Do(this,l,C.COMPUTE,Us,o,a);Oi(this,js)[o]=d}_marshalArgs(o,s,a){const l=this.__data,d=[];for(let h=0,c=o.length;h<c;h++){let{name:u,structured:_,wildcard:p,value:g,literal:k}=o[h];if(!k)if(p){const z=jt(u,s),w=Fo(l,a,z?s:u);g={path:z?s:u,value:w,base:z?J(l,u):w}}else g=_?Fo(l,a,u):l[u];if(Zi&&!this._overrideLegacyUndefined&&g===void 0&&o.length>1)return qt;d[h]=g}return d}static addPropertyEffect(o,s,a){this.prototype._addPropertyEffect(o,s,a)}static createPropertyObserver(o,s,a){this.prototype._createPropertyObserver(o,s,a)}static createMethodObserver(o,s){this.prototype._createMethodObserver(o,s)}static createNotifyingProperty(o){this.prototype._createNotifyingProperty(o)}static createReadOnlyProperty(o,s){this.prototype._createReadOnlyProperty(o,s)}static createReflectedProperty(o){this.prototype._createReflectedProperty(o)}static createComputedProperty(o,s,a){this.prototype._createComputedProperty(o,s,a)}static bindTemplate(o){return this.prototype._bindTemplate(o)}_bindTemplate(o,s){let a=this.constructor._parseTemplate(o),l=this.__preBoundTemplateInfo==a;if(!l)for(let d in a.propertyEffects)this._createPropertyAccessor(d);if(s)if(a=Object.create(a),a.wasPreBound=l,!this.__templateInfo)this.__templateInfo=a;else{const d=o._parentTemplateInfo||this.__templateInfo,h=d.lastChild;a.parent=d,d.lastChild=a,a.previousSibling=h,h?h.nextSibling=a:d.firstChild=a}else this.__preBoundTemplateInfo=a;return a}static _addTemplatePropertyEffect(o,s,a){let l=o.hostProps=o.hostProps||{};l[s]=!0;let d=o.propertyEffects=o.propertyEffects||{};(d[s]=d[s]||[]).push(a)}_stampTemplate(o,s){s=s||this._bindTemplate(o,!0),Dt.push(this);let a=super._stampTemplate(o,s);if(Dt.pop(),s.nodeList=a.nodeList,!s.wasPreBound){let l=s.childNodes=[];for(let d=a.firstChild;d;d=d.nextSibling)l.push(d)}return a.templateInfo=s,Bl(this,s),this.__dataClientsReady&&(this._runEffectsForTemplate(s,this.__data,null,!1),this._flushClients()),a}_removeBoundDom(o){const s=o.templateInfo,{previousSibling:a,nextSibling:l,parent:d}=s;a?a.nextSibling=l:d&&(d.firstChild=l),l?l.previousSibling=a:d&&(d.lastChild=a),s.nextSibling=s.previousSibling=null;let h=s.childNodes;for(let c=0;c<h.length;c++){let u=h[c];j(j(u).parentNode).removeChild(u)}}static _parseTemplateNode(o,s,a){let l=e._parseTemplateNode.call(this,o,s,a);if(o.nodeType===Node.TEXT_NODE){let d=this._parseBindings(o.textContent,s);d&&(o.textContent=Mo(d)||" ",Mi(this,s,a,"text","textContent",d),l=!0)}return l}static _parseTemplateNodeAttribute(o,s,a,l,d){let h=this._parseBindings(d,s);if(h){let c=l,u="property";xl.test(l)?u="attribute":l[l.length-1]=="$"&&(l=l.slice(0,-1),u="attribute");let _=Mo(h);return _&&u=="attribute"&&(l=="class"&&o.hasAttribute("class")&&(_+=" "+o.getAttribute(l)),o.setAttribute(l,_)),u=="attribute"&&c=="disable-upgrade$"&&o.setAttribute(l,""),o.localName==="input"&&c==="value"&&o.setAttribute(c,""),o.removeAttribute(c),u==="property"&&(l=Ns(l)),Mi(this,s,a,u,l,h,_),!0}else return e._parseTemplateNodeAttribute.call(this,o,s,a,l,d)}static _parseTemplateNestedTemplate(o,s,a){let l=e._parseTemplateNestedTemplate.call(this,o,s,a);const d=o.parentNode,h=a.templateInfo,c=d.localName==="dom-if",u=d.localName==="dom-repeat";bo&&(c||u)&&(d.removeChild(o),a=a.parentInfo,a.templateInfo=h,a.noted=!0,l=!1);let _=h.hostProps;if(Un&&c)_&&(s.hostProps=Object.assign(s.hostProps||{},_),bo||(a.parentInfo.noted=!0));else{let p="{";for(let g in _){let k=[{mode:p,source:g,dependencies:[g],hostProp:!0}];Mi(this,s,a,"property","_host_"+g,k)}}return l}static _parseBindings(o,s){let a=[],l=0,d;for(;(d=Oo.exec(o))!==null;){d.index>l&&a.push({literal:o.slice(l,d.index)});let h=d[1][0],c=!!d[2],u=d[3].trim(),_=!1,p="",g=-1;h=="{"&&(g=u.indexOf("::"))>0&&(p=u.substring(g+2),u=u.substring(0,g),_=!0);let k=Fi(u),z=[];if(k){let{args:w,methodName:T}=k;for(let V=0;V<w.length;V++){let R=w[V];R.literal||z.push(R)}let D=s.dynamicFns;(D&&D[T]||k.static)&&(z.push(T),k.dynamicFn=!0)}else z.push(u);a.push({source:u,mode:h,negate:c,customEvent:_,signature:k,dependencies:z,event:p}),l=Oo.lastIndex}if(l&&l<o.length){let h=o.substring(l);h&&a.push({literal:h})}return a.length?a:null}static _evaluateBinding(o,s,a,l,d,h){let c;return s.signature?c=ir(o,a,l,d,s.signature):a!=s.source?c=J(o,s.source):h&&er(a)?c=J(o,a):c=o.__data[a],s.negate&&(c=!c),c}}return t}),Dt=[];/**
|
|
989
|
+
*/let Ut=0;const qt=[],C={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},js="__computeInfo",xl=/[A-Z]/;function Oi(i,e,t){let r=i[e];if(!r)r=i[e]={};else if(!i.hasOwnProperty(e)&&(r=i[e]=Object.create(i[e]),t))for(let o in r){let s=r[o],a=r[o]=Array(s.length);for(let l=0;l<s.length;l++)a[l]=s[l]}return r}function Ft(i,e,t,r,o,s){if(e){let a=!1;const l=Ut++;for(let d in t){let h=o?Ke(d):d,c=e[h];if(c)for(let u=0,_=c.length,p;u<_&&(p=c[u]);u++)(!p.info||p.info.lastRun!==l)&&(!o||Ar(d,p.trigger))&&(p.info&&(p.info.lastRun=l),p.fn(i,d,t,r,p.info,o,s),a=!0)}return a}return!1}function wl(i,e,t,r,o,s,a,l){let d=!1,h=a?Ke(r):r,c=e[h];if(c)for(let u=0,_=c.length,p;u<_&&(p=c[u]);u++)(!p.info||p.info.lastRun!==t)&&(!a||Ar(r,p.trigger))&&(p.info&&(p.info.lastRun=t),p.fn(i,r,o,s,p.info,a,l),d=!0);return d}function Ar(i,e){if(e){let t=e.name;return t==i||!!(e.structured&&Ms(t,i))||!!(e.wildcard&&jt(t,i))}else return!0}function To(i,e,t,r,o){let s=typeof o.method=="string"?i[o.method]:o.method,a=o.property;s?s.call(i,i.__data[a],r[a]):o.dynamicFn||console.warn("observer method `"+o.method+"` not defined")}function Cl(i,e,t,r,o){let s=i[C.NOTIFY],a,l=Ut++;for(let h in e)e[h]&&(s&&wl(i,s,l,h,t,r,o)||o&&kl(i,h,t))&&(a=!0);let d;a&&(d=i.__dataHost)&&d._invalidateProperties&&d._invalidateProperties()}function kl(i,e,t){let r=Ke(e);if(r!==e){let o=Si(r)+"-changed";return $s(i,o,t[e],e),!0}return!1}function $s(i,e,t,r){let o={value:t,queueProperty:!0};r&&(o.path=r),j(i).dispatchEvent(new CustomEvent(e,{detail:o}))}function Pl(i,e,t,r,o,s){let a=(s?Ke(e):e)!=e?e:null,l=a?J(i,a):i.__data[e];a&&l===void 0&&(l=t[e]),$s(i,o.eventName,l,a)}function Sl(i,e,t,r,o){let s,a=i.detail,l=a&&a.path;l?(r=$t(t,r,l),s=a&&a.value):s=i.currentTarget[t],s=o?!s:s,(!e[C.READ_ONLY]||!e[C.READ_ONLY][r])&&e._setPendingPropertyOrPath(r,s,!0,!!l)&&(!a||!a.queueProperty)&&e._invalidateProperties()}function Al(i,e,t,r,o){let s=i.__data[e];gi&&(s=gi(s,o.attrName,"attribute",i)),i._propertyToAttribute(e,o.attrName,s)}function El(i,e,t,r){let o=i[C.COMPUTE];if(o)if($n){Ut++;const s=Il(i),a=[];for(let d in e)Io(d,o,a,s,r);let l;for(;l=a.shift();)Us(i,"",e,t,l)&&Io(l.methodInfo,o,a,s,r);Object.assign(t,i.__dataOld),Object.assign(e,i.__dataPending),i.__dataPending=null}else{let s=e;for(;Ft(i,o,s,t,r);)Object.assign(t,i.__dataOld),Object.assign(e,i.__dataPending),s=i.__dataPending,i.__dataPending=null}}const Tl=(i,e,t)=>{let r=0,o=e.length-1,s=-1;for(;r<=o;){const a=r+o>>1,l=t.get(e[a].methodInfo)-t.get(i.methodInfo);if(l<0)r=a+1;else if(l>0)o=a-1;else{s=a;break}}s<0&&(s=o+1),e.splice(s,0,i)},Io=(i,e,t,r,o)=>{const s=o?Ke(i):i,a=e[s];if(a)for(let l=0;l<a.length;l++){const d=a[l];d.info.lastRun!==Ut&&(!o||Ar(i,d.trigger))&&(d.info.lastRun=Ut,Tl(d.info,t,r))}};function Il(i){let e=i.constructor.__orderedComputedDeps;if(!e){e=new Map;const t=i[C.COMPUTE];let{counts:r,ready:o,total:s}=Dl(i),a;for(;a=o.shift();){e.set(a,e.size);const l=t[a];l&&l.forEach(d=>{const h=d.info.methodInfo;--s,--r[h]===0&&o.push(h)})}s!==0&&console.warn(`Computed graph for ${i.localName} incomplete; circular?`),i.constructor.__orderedComputedDeps=e}return e}function Dl(i){const e=i[js],t={},r=i[C.COMPUTE],o=[];let s=0;for(let a in e){const l=e[a];s+=t[a]=l.args.filter(d=>!d.literal).length+(l.dynamicFn?1:0)}for(let a in r)e[a]||o.push(a);return{counts:t,ready:o,total:s}}function Us(i,e,t,r,o){let s=ir(i,e,t,r,o);if(s===qt)return!1;let a=o.methodInfo;return i.__dataHasAccessor&&i.__dataHasAccessor[a]?i._setPendingProperty(a,s,!0):(i[a]=s,!1)}function zl(i,e,t){let r=i.__dataLinkedPaths;if(r){let o;for(let s in r){let a=r[s];jt(s,e)?(o=$t(s,a,e),i._setPendingPropertyOrPath(o,t,!0,!0)):jt(a,e)&&(o=$t(a,s,e),i._setPendingPropertyOrPath(o,t,!0,!0))}}}function Mi(i,e,t,r,o,s,a){t.bindings=t.bindings||[];let l={kind:r,target:o,parts:s,literal:a,isCompound:s.length!==1};if(t.bindings.push(l),Ll(l)){let{event:h,negate:c}=l.parts[0];l.listenerEvent=h||Si(o)+"-changed",l.listenerNegate=c}let d=e.nodeInfoList.length;for(let h=0;h<l.parts.length;h++){let c=l.parts[h];c.compoundIndex=h,Ol(i,e,l,c,d)}}function Ol(i,e,t,r,o){if(!r.literal)if(t.kind==="attribute"&&t.target[0]==="-")console.warn("Cannot set attribute "+t.target+' because "-" is not a valid attribute starting character');else{let s=r.dependencies,a={index:o,binding:t,part:r,evaluator:i};for(let l=0;l<s.length;l++){let d=s[l];typeof d=="string"&&(d=Ys(d),d.wildcard=!0),i._addTemplatePropertyEffect(e,d.rootProperty,{fn:Ml,info:a,trigger:d})}}}function Ml(i,e,t,r,o,s,a){let l=a[o.index],d=o.binding,h=o.part;if(s&&h.source&&e.length>h.source.length&&d.kind=="property"&&!d.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[d.target]){let c=t[e];e=$t(h.source,d.target,e),l._setPendingPropertyOrPath(e,c,!1,!0)&&i._enqueueClient(l)}else{let c=o.evaluator._evaluateBinding(i,h,e,t,r,s);c!==qt&&Fl(i,l,d,h,c)}}function Fl(i,e,t,r,o){if(o=Nl(e,o,t,r),gi&&(o=gi(o,t.target,t.kind,e)),t.kind=="attribute")i._valueToNodeAttribute(e,o,t.target);else{let s=t.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[s]?(!e[C.READ_ONLY]||!e[C.READ_ONLY][s])&&e._setPendingProperty(s,o)&&i._enqueueClient(e):i._setUnmanagedPropertyToNode(e,s,o)}}function Nl(i,e,t,r){if(t.isCompound){let o=i.__dataCompoundStorage[t.target];o[r.compoundIndex]=e,e=o.join("")}return t.kind!=="attribute"&&(t.target==="textContent"||t.target==="value"&&(i.localName==="input"||i.localName==="textarea"))&&(e=e==null?"":e),e}function Ll(i){return!!i.target&&i.kind!="attribute"&&i.kind!="text"&&!i.isCompound&&i.parts[0].mode==="{"}function Bl(i,e){let{nodeList:t,nodeInfoList:r}=e;if(r.length)for(let o=0;o<r.length;o++){let s=r[o],a=t[o],l=s.bindings;if(l)for(let d=0;d<l.length;d++){let h=l[d];Vl(a,h),Rl(a,i,h)}a.__dataHost=i}}function Vl(i,e){if(e.isCompound){let t=i.__dataCompoundStorage||(i.__dataCompoundStorage={}),r=e.parts,o=new Array(r.length);for(let a=0;a<r.length;a++)o[a]=r[a].literal;let s=e.target;t[s]=o,e.literal&&e.kind=="property"&&(s==="className"&&(i=j(i)),i[s]=e.literal)}}function Rl(i,e,t){if(t.listenerEvent){let r=t.parts[0];i.addEventListener(t.listenerEvent,function(o){Sl(o,e,t.target,r.source,r.negate)})}}function Do(i,e,t,r,o,s){s=e.static||s&&(typeof s!="object"||s[e.methodName]);let a={methodName:e.methodName,args:e.args,methodInfo:o,dynamicFn:s};for(let l=0,d;l<e.args.length&&(d=e.args[l]);l++)d.literal||i._addPropertyEffect(d.rootProperty,t,{fn:r,info:a,trigger:d});return s&&i._addPropertyEffect(e.methodName,t,{fn:r,info:a}),a}function ir(i,e,t,r,o){let s=i._methodHost||i,a=s[o.methodName];if(a){let l=i._marshalArgs(o.args,e,t);return l===qt?qt:a.apply(s,l)}else o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const Hl=[],qs="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Wl="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",jl="(?:'(?:[^'\\\\]|\\\\.)*')",$l='(?:"(?:[^"\\\\]|\\\\.)*")',Ul="(?:"+jl+"|"+$l+")",zo="(?:("+qs+"|"+Wl+"|"+Ul+")\\s*)",ql="(?:"+zo+"(?:,\\s*"+zo+")*)",Yl="(?:\\(\\s*(?:"+ql+"?)\\)\\s*)",Gl="("+qs+"\\s*"+Yl+"?)",Kl="(\\[\\[|{{)\\s*",Xl="(?:]]|}})",Jl="(?:(!)\\s*)?",Ql=Kl+Jl+Gl+Xl,Oo=new RegExp(Ql,"g");function Mo(i){let e="";for(let t=0;t<i.length;t++){let r=i[t].literal;e+=r||""}return e}function Fi(i){let e=i.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Hl};if(e[2].trim()){let r=e[2].replace(/\\,/g,",").split(",");return Zl(r,t)}else return t}return null}function Zl(i,e){return e.args=i.map(function(t){let r=Ys(t);return r.literal||(e.static=!1),r},this),e}function Ys(i){let e=i.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),t={name:e,value:"",literal:!1},r=e[0];switch(r==="-"&&(r=e[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':t.value=e.slice(1,-1),t.literal=!0;break;case"#":t.value=Number(e),t.literal=!0;break}return t.literal||(t.rootProperty=Ke(e),t.structured=er(e),t.structured&&(t.wildcard=e.slice(-2)==".*",t.wildcard&&(t.name=e.slice(0,-2)))),t}function Fo(i,e,t){let r=J(i,t);return r===void 0&&(r=e[t]),r}function Gs(i,e,t,r){const o={indexSplices:r};Zi&&!i._overrideLegacyUndefined&&(e.splices=o),i.notifyPath(t+".splices",o),i.notifyPath(t+".length",e.length),Zi&&!i._overrideLegacyUndefined&&(o.indexSplices=[])}function It(i,e,t,r,o,s){Gs(i,e,t,[{index:r,addedCount:o,removed:s,object:e,type:"splice"}])}function ed(i){return i[0].toUpperCase()+i.substring(1)}const Er=M(i=>{const e=bl(hl(i));class t extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return C}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Dt.length){let o=Dt[Dt.length-1];o._enqueueClient(this),this.__dataHost=o}}_initializeProtoProperties(o){this.__data=Object.create(o),this.__dataPending=Object.create(o),this.__dataOld={}}_initializeInstanceProperties(o){let s=this[C.READ_ONLY];for(let a in o)(!s||!s[a])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[a]=this.__dataPending[a]=o[a])}_addPropertyEffect(o,s,a){this._createPropertyAccessor(o,s==C.READ_ONLY);let l=Oi(this,s,!0)[o];l||(l=this[s][o]=[]),l.push(a)}_removePropertyEffect(o,s,a){let l=Oi(this,s,!0)[o],d=l.indexOf(a);d>=0&&l.splice(d,1)}_hasPropertyEffect(o,s){let a=this[s];return!!(a&&a[o])}_hasReadOnlyEffect(o){return this._hasPropertyEffect(o,C.READ_ONLY)}_hasNotifyEffect(o){return this._hasPropertyEffect(o,C.NOTIFY)}_hasReflectEffect(o){return this._hasPropertyEffect(o,C.REFLECT)}_hasComputedEffect(o){return this._hasPropertyEffect(o,C.COMPUTE)}_setPendingPropertyOrPath(o,s,a,l){if(l||Ke(Array.isArray(o)?o[0]:o)!==o){if(!l){let d=J(this,o);if(o=So(this,o,s),!o||!super._shouldPropertyChange(o,s,d))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(o,s,a))return zl(this,o,s),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[o])return this._setPendingProperty(o,s,a);this[o]=s}return!1}_setUnmanagedPropertyToNode(o,s,a){(a!==o[s]||typeof a=="object")&&(s==="className"&&(o=j(o)),o[s]=a)}_setPendingProperty(o,s,a){let l=this.__dataHasPaths&&er(o),d=l?this.__dataTemp:this.__data;return this._shouldPropertyChange(o,s,d[o])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),o in this.__dataOld||(this.__dataOld[o]=this.__data[o]),l?this.__dataTemp[o]=s:this.__data[o]=s,this.__dataPending[o]=s,(l||this[C.NOTIFY]&&this[C.NOTIFY][o])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[o]=a),!0):!1}_setProperty(o,s){this._setPendingProperty(o,s,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(o){this.__dataPendingClients=this.__dataPendingClients||[],o!==this&&this.__dataPendingClients.push(o)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let o=this.__dataPendingClients;if(o){this.__dataPendingClients=null;for(let s=0;s<o.length;s++){let a=o[s];a.__dataEnabled?a.__dataPending&&a._flushProperties():a._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(o,s){for(let a in o)(s||!this[C.READ_ONLY]||!this[C.READ_ONLY][a])&&this._setPendingPropertyOrPath(a,o[a],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(o,s,a){let l=this.__dataHasPaths;this.__dataHasPaths=!1;let d;El(this,s,a,l),d=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(s,a,l),this._flushClients(),Ft(this,this[C.REFLECT],s,a,l),Ft(this,this[C.OBSERVE],s,a,l),d&&Cl(this,d,s,a,l),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(o,s,a){this[C.PROPAGATE]&&Ft(this,this[C.PROPAGATE],o,s,a),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,o,s,a)}_runEffectsForTemplate(o,s,a,l){const d=(h,c)=>{Ft(this,o.propertyEffects,h,a,c,o.nodeList);for(let u=o.firstChild;u;u=u.nextSibling)this._runEffectsForTemplate(u,h,a,c)};o.runEffects?o.runEffects(d,s,l):d(s,l)}linkPaths(o,s){o=Mt(o),s=Mt(s),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[o]=s}unlinkPaths(o){o=Mt(o),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[o]}notifySplices(o,s){let a={path:""},l=J(this,o,a);Gs(this,l,a.path,s)}get(o,s){return J(s||this,o)}set(o,s,a){a?So(a,o,s):(!this[C.READ_ONLY]||!this[C.READ_ONLY][o])&&this._setPendingPropertyOrPath(o,s,!0)&&this._invalidateProperties()}push(o,...s){let a={path:""},l=J(this,o,a),d=l.length,h=l.push(...s);return s.length&&It(this,l,a.path,d,s.length,[]),h}pop(o){let s={path:""},a=J(this,o,s),l=!!a.length,d=a.pop();return l&&It(this,a,s.path,a.length,0,[d]),d}splice(o,s,a,...l){let d={path:""},h=J(this,o,d);s<0?s=h.length-Math.floor(-s):s&&(s=Math.floor(s));let c;return arguments.length===2?c=h.splice(s):c=h.splice(s,a,...l),(l.length||c.length)&&It(this,h,d.path,s,l.length,c),c}shift(o){let s={path:""},a=J(this,o,s),l=!!a.length,d=a.shift();return l&&It(this,a,s.path,0,0,[d]),d}unshift(o,...s){let a={path:""},l=J(this,o,a),d=l.unshift(...s);return s.length&&It(this,l,a.path,0,s.length,[]),d}notifyPath(o,s){let a;if(arguments.length==1){let l={path:""};s=J(this,o,l),a=l.path}else Array.isArray(o)?a=Mt(o):a=o;this._setPendingPropertyOrPath(a,s,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(o,s){this._addPropertyEffect(o,C.READ_ONLY),s&&(this["_set"+ed(o)]=function(a){this._setProperty(o,a)})}_createPropertyObserver(o,s,a){let l={property:o,method:s,dynamicFn:!!a};this._addPropertyEffect(o,C.OBSERVE,{fn:To,info:l,trigger:{name:o}}),a&&this._addPropertyEffect(s,C.OBSERVE,{fn:To,info:l,trigger:{name:s}})}_createMethodObserver(o,s){let a=Fi(o);if(!a)throw new Error("Malformed observer expression '"+o+"'");Do(this,a,C.OBSERVE,ir,null,s)}_createNotifyingProperty(o){this._addPropertyEffect(o,C.NOTIFY,{fn:Pl,info:{eventName:Si(o)+"-changed",property:o}})}_createReflectedProperty(o){let s=this.constructor.attributeNameForProperty(o);s[0]==="-"?console.warn("Property "+o+" cannot be reflected to attribute "+s+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(o,C.REFLECT,{fn:Al,info:{attrName:s}})}_createComputedProperty(o,s,a){let l=Fi(s);if(!l)throw new Error("Malformed computed expression '"+s+"'");const d=Do(this,l,C.COMPUTE,Us,o,a);Oi(this,js)[o]=d}_marshalArgs(o,s,a){const l=this.__data,d=[];for(let h=0,c=o.length;h<c;h++){let{name:u,structured:_,wildcard:p,value:g,literal:k}=o[h];if(!k)if(p){const z=jt(u,s),w=Fo(l,a,z?s:u);g={path:z?s:u,value:w,base:z?J(l,u):w}}else g=_?Fo(l,a,u):l[u];if(Zi&&!this._overrideLegacyUndefined&&g===void 0&&o.length>1)return qt;d[h]=g}return d}static addPropertyEffect(o,s,a){this.prototype._addPropertyEffect(o,s,a)}static createPropertyObserver(o,s,a){this.prototype._createPropertyObserver(o,s,a)}static createMethodObserver(o,s){this.prototype._createMethodObserver(o,s)}static createNotifyingProperty(o){this.prototype._createNotifyingProperty(o)}static createReadOnlyProperty(o,s){this.prototype._createReadOnlyProperty(o,s)}static createReflectedProperty(o){this.prototype._createReflectedProperty(o)}static createComputedProperty(o,s,a){this.prototype._createComputedProperty(o,s,a)}static bindTemplate(o){return this.prototype._bindTemplate(o)}_bindTemplate(o,s){let a=this.constructor._parseTemplate(o),l=this.__preBoundTemplateInfo==a;if(!l)for(let d in a.propertyEffects)this._createPropertyAccessor(d);if(s)if(a=Object.create(a),a.wasPreBound=l,!this.__templateInfo)this.__templateInfo=a;else{const d=o._parentTemplateInfo||this.__templateInfo,h=d.lastChild;a.parent=d,d.lastChild=a,a.previousSibling=h,h?h.nextSibling=a:d.firstChild=a}else this.__preBoundTemplateInfo=a;return a}static _addTemplatePropertyEffect(o,s,a){let l=o.hostProps=o.hostProps||{};l[s]=!0;let d=o.propertyEffects=o.propertyEffects||{};(d[s]=d[s]||[]).push(a)}_stampTemplate(o,s){s=s||this._bindTemplate(o,!0),Dt.push(this);let a=super._stampTemplate(o,s);if(Dt.pop(),s.nodeList=a.nodeList,!s.wasPreBound){let l=s.childNodes=[];for(let d=a.firstChild;d;d=d.nextSibling)l.push(d)}return a.templateInfo=s,Bl(this,s),this.__dataClientsReady&&(this._runEffectsForTemplate(s,this.__data,null,!1),this._flushClients()),a}_removeBoundDom(o){const s=o.templateInfo,{previousSibling:a,nextSibling:l,parent:d}=s;a?a.nextSibling=l:d&&(d.firstChild=l),l?l.previousSibling=a:d&&(d.lastChild=a),s.nextSibling=s.previousSibling=null;let h=s.childNodes;for(let c=0;c<h.length;c++){let u=h[c];j(j(u).parentNode).removeChild(u)}}static _parseTemplateNode(o,s,a){let l=e._parseTemplateNode.call(this,o,s,a);if(o.nodeType===Node.TEXT_NODE){let d=this._parseBindings(o.textContent,s);d&&(o.textContent=Mo(d)||" ",Mi(this,s,a,"text","textContent",d),l=!0)}return l}static _parseTemplateNodeAttribute(o,s,a,l,d){let h=this._parseBindings(d,s);if(h){let c=l,u="property";xl.test(l)?u="attribute":l[l.length-1]=="$"&&(l=l.slice(0,-1),u="attribute");let _=Mo(h);return _&&u=="attribute"&&(l=="class"&&o.hasAttribute("class")&&(_+=" "+o.getAttribute(l)),o.setAttribute(l,_)),u=="attribute"&&c=="disable-upgrade$"&&o.setAttribute(l,""),o.localName==="input"&&c==="value"&&o.setAttribute(c,""),o.removeAttribute(c),u==="property"&&(l=Ns(l)),Mi(this,s,a,u,l,h,_),!0}else return e._parseTemplateNodeAttribute.call(this,o,s,a,l,d)}static _parseTemplateNestedTemplate(o,s,a){let l=e._parseTemplateNestedTemplate.call(this,o,s,a);const d=o.parentNode,h=a.templateInfo,c=d.localName==="dom-if",u=d.localName==="dom-repeat";bo&&(c||u)&&(d.removeChild(o),a=a.parentInfo,a.templateInfo=h,a.noted=!0,l=!1);let _=h.hostProps;if(Un&&c)_&&(s.hostProps=Object.assign(s.hostProps||{},_),bo||(a.parentInfo.noted=!0));else{let p="{";for(let g in _){let k=[{mode:p,source:g,dependencies:[g],hostProp:!0}];Mi(this,s,a,"property","_host_"+g,k)}}return l}static _parseBindings(o,s){let a=[],l=0,d;for(;(d=Oo.exec(o))!==null;){d.index>l&&a.push({literal:o.slice(l,d.index)});let h=d[1][0],c=!!d[2],u=d[3].trim(),_=!1,p="",g=-1;h=="{"&&(g=u.indexOf("::"))>0&&(p=u.substring(g+2),u=u.substring(0,g),_=!0);let k=Fi(u),z=[];if(k){let{args:w,methodName:E}=k;for(let V=0;V<w.length;V++){let R=w[V];R.literal||z.push(R)}let D=s.dynamicFns;(D&&D[E]||k.static)&&(z.push(E),k.dynamicFn=!0)}else z.push(u);a.push({source:u,mode:h,negate:c,customEvent:_,signature:k,dependencies:z,event:p}),l=Oo.lastIndex}if(l&&l<o.length){let h=o.substring(l);h&&a.push({literal:h})}return a.length?a:null}static _evaluateBinding(o,s,a,l,d,h){let c;return s.signature?c=ir(o,a,l,d,s.signature):a!=s.source?c=J(o,s.source):h&&er(a)?c=J(o,a):c=o.__data[a],s.negate&&(c=!c),c}}return t}),Dt=[];/**
|
|
990
990
|
@license
|
|
991
991
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
992
992
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -1012,7 +1012,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
1012
1012
|
* be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
|
1013
1013
|
* Google as part of the polymer project is also subject to an additional IP
|
|
1014
1014
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
1015
|
-
*/const rd="3.5.2",No=window.ShadyCSS&&window.ShadyCSS.cssBuild,od=M(i=>{const e=id(Er(i));function t(d){if(!d.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",d))){d.__propertyDefaults=null;let h=d._properties;for(let c in h){let u=h[c];"value"in u&&(d.__propertyDefaults=d.__propertyDefaults||{},d.__propertyDefaults[c]=u)}}return d.__propertyDefaults}function r(d){return d.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",d))||(d.__ownObservers=d.hasOwnProperty(JSCompiler_renameProperty("observers",d))?d.observers:null),d.__ownObservers}function o(d,h,c,u){c.computed&&(c.readOnly=!0),c.computed&&(d._hasReadOnlyEffect(h)?console.warn(`Cannot redefine computed property '${h}'.`):d._createComputedProperty(h,c.computed,u)),c.readOnly&&!d._hasReadOnlyEffect(h)?d._createReadOnlyProperty(h,!c.computed):c.readOnly===!1&&d._hasReadOnlyEffect(h)&&console.warn(`Cannot make readOnly property '${h}' non-readOnly.`),c.reflectToAttribute&&!d._hasReflectEffect(h)?d._createReflectedProperty(h):c.reflectToAttribute===!1&&d._hasReflectEffect(h)&&console.warn(`Cannot make reflected property '${h}' non-reflected.`),c.notify&&!d._hasNotifyEffect(h)?d._createNotifyingProperty(h):c.notify===!1&&d._hasNotifyEffect(h)&&console.warn(`Cannot make notify property '${h}' non-notify.`),c.observer&&d._createPropertyObserver(h,c.observer,u[c.observer]),d._addPropertyToAttributeMap(h)}function s(d,h,c,u){if(!No){const _=h.content.querySelectorAll("style"),p=zs(h),g=Zn(c),k=h.content.firstElementChild;for(let w=0;w<g.length;w++){let
|
|
1015
|
+
*/const rd="3.5.2",No=window.ShadyCSS&&window.ShadyCSS.cssBuild,od=M(i=>{const e=id(Er(i));function t(d){if(!d.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",d))){d.__propertyDefaults=null;let h=d._properties;for(let c in h){let u=h[c];"value"in u&&(d.__propertyDefaults=d.__propertyDefaults||{},d.__propertyDefaults[c]=u)}}return d.__propertyDefaults}function r(d){return d.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",d))||(d.__ownObservers=d.hasOwnProperty(JSCompiler_renameProperty("observers",d))?d.observers:null),d.__ownObservers}function o(d,h,c,u){c.computed&&(c.readOnly=!0),c.computed&&(d._hasReadOnlyEffect(h)?console.warn(`Cannot redefine computed property '${h}'.`):d._createComputedProperty(h,c.computed,u)),c.readOnly&&!d._hasReadOnlyEffect(h)?d._createReadOnlyProperty(h,!c.computed):c.readOnly===!1&&d._hasReadOnlyEffect(h)&&console.warn(`Cannot make readOnly property '${h}' non-readOnly.`),c.reflectToAttribute&&!d._hasReflectEffect(h)?d._createReflectedProperty(h):c.reflectToAttribute===!1&&d._hasReflectEffect(h)&&console.warn(`Cannot make reflected property '${h}' non-reflected.`),c.notify&&!d._hasNotifyEffect(h)?d._createNotifyingProperty(h):c.notify===!1&&d._hasNotifyEffect(h)&&console.warn(`Cannot make notify property '${h}' non-notify.`),c.observer&&d._createPropertyObserver(h,c.observer,u[c.observer]),d._addPropertyToAttributeMap(h)}function s(d,h,c,u){if(!No){const _=h.content.querySelectorAll("style"),p=zs(h),g=Zn(c),k=h.content.firstElementChild;for(let w=0;w<g.length;w++){let E=g[w];E.textContent=d._processStyleText(E.textContent,u),h.content.insertBefore(E,k)}let z=0;for(let w=0;w<p.length;w++){let E=p[w],D=_[z];D!==E?(E=E.cloneNode(!0),D.parentNode.insertBefore(E,D)):z++,E.textContent=d._processStyleText(E.textContent,u)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(h,c),qn&&No&&Rn){const _=h.content.querySelectorAll("style");if(_){let p="";Array.from(_).forEach(g=>{p+=g.textContent,g.parentNode.removeChild(g)}),d._styleSheet=new CSSStyleSheet,d._styleSheet.replaceSync(p)}}}function a(d){let h=null;if(d&&(!vi||Wn)&&(h=Wt.import(d,"template"),vi&&!h))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${d}`);return h}class l extends e{static get polymerElementVersion(){return rd}static _finalizeClass(){e._finalizeClass.call(this);const h=r(this);h&&this.createObservers(h,this._properties),this._prepareTemplate()}static _prepareTemplate(){let h=this.template;h&&(typeof h=="string"?(console.error("template getter must return HTMLTemplateElement"),h=null):Es||(h=h.cloneNode(!0))),this.prototype._template=h}static createProperties(h){for(let c in h)o(this.prototype,c,h[c],h)}static createObservers(h,c){const u=this.prototype;for(let _=0;_<h.length;_++)u._createMethodObserver(h[_],c)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let h=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof h=="function"&&(h=h()),this._template=h!==void 0?h:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&a(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(h){this._template=h}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const h=this.importMeta;if(h)this._importPath=Pr(h.url);else{const c=Wt.import(this.is);this._importPath=c&&c.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Hn,this.importPath=this.constructor.importPath;let h=t(this.constructor);if(h)for(let c in h){let u=h[c];if(this._canApplyPropertyDefault(c)){let _=typeof u.value=="function"?u.value.call(this):u.value;this._hasAccessor(c)?this._setPendingProperty(c,_,!0):this[c]=_}}}_canApplyPropertyDefault(h){return!this.hasOwnProperty(h)}static _processStyleText(h,c){return kr(h,c)}static _finalizeTemplate(h){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const u=this.importPath,_=u?Bt(u):"";s(this,c,h,_),this.prototype._bindTemplate(c)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(h){const c=j(this);if(c.attachShadow)return h?(c.shadowRoot||(c.attachShadow({mode:"open",shadyUpgradeFragment:h}),c.shadowRoot.appendChild(h),this.constructor._styleSheet&&(c.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),jn&&window.ShadyDOM&&window.ShadyDOM.flushInitial(c.shadowRoot),c.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(h){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,h)}resolveUrl(h,c){return!c&&this.importPath&&(c=Bt(this.importPath)),Bt(h,c)}static _parseTemplateContent(h,c,u){return c.dynamicFns=c.dynamicFns||this._properties,e._parseTemplateContent.call(this,h,c,u)}static _addTemplatePropertyEffect(h,c,u){return Ts&&!(c in this._properties)&&!(u.info.part.signature&&u.info.part.signature.static)&&!u.info.part.hostProp&&!h.nestedTemplate&&console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,h,c,u)}}return l});/**
|
|
1016
1016
|
@license
|
|
1017
1017
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
1018
1018
|
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
@@ -3408,7 +3408,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
3408
3408
|
* @license
|
|
3409
3409
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
3410
3410
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3411
|
-
*/function Ah(i,e){let t=null;const r=document.documentElement;function o(){t&&t.disconnect(),t=null}function s(a=!1,l=1){o();const{left:d,top:h,width:c,height:u}=i.getBoundingClientRect();if(a||e(),!c||!u)return;const _=Math.floor(h),p=Math.floor(r.clientWidth-(d+c)),g=Math.floor(r.clientHeight-(h+u)),k=Math.floor(d),z={rootMargin:`${-_}px ${-p}px ${-g}px ${-k}px`,threshold:Math.max(0,Math.min(1,l))||1};let w=!0;function
|
|
3411
|
+
*/function Ah(i,e){let t=null;const r=document.documentElement;function o(){t&&t.disconnect(),t=null}function s(a=!1,l=1){o();const{left:d,top:h,width:c,height:u}=i.getBoundingClientRect();if(a||e(),!c||!u)return;const _=Math.floor(h),p=Math.floor(r.clientWidth-(d+c)),g=Math.floor(r.clientHeight-(h+u)),k=Math.floor(d),z={rootMargin:`${-_}px ${-p}px ${-g}px ${-k}px`,threshold:Math.max(0,Math.min(1,l))||1};let w=!0;function E(D){let V=D[0].intersectionRatio;if(V!==l){if(!w)return s();V===0&&(V=1e-7),s(!1,V)}w=!1}t=new IntersectionObserver(E,z),t.observe(i)}return s(!0),o}/**
|
|
3412
3412
|
* @license
|
|
3413
3413
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3414
3414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -4543,4 +4543,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
4543
4543
|
></vaadin-combo-box-overlay>
|
|
4544
4544
|
|
|
4545
4545
|
<slot name="tooltip"></slot>
|
|
4546
|
-
`}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Ti(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new Ii(this.inputElement,this._labelController)),this._tooltipController=new ft(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(e){e.stopPropagation(),super._onClearButtonClick(e)}_onHostClick(e){const t=e.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(e)}}B(Kc);function Xc(i){n.append_styles(i,"svelte-11bz6pl",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.historyContainer{container-type:inline-size}.historyContainer .historyWrapper{padding:50px}.historyContainer .historyWrapper .historyHeader{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px}.historyContainer .historyWrapper .historyHeader .historyReturnButton{display:none;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;column-gap:10px;margin-bottom:10px}.historyContainer .historyWrapper .historyHeader .historyReturnButton .historyReturnText{font-size:var(--emw--size-standard, 16px)}.historyContainer .historyWrapper .historyHeader .historyReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.historyContainer .historyWrapper .historyHeader .historyReturnButton.skeleton{width:200px;height:20px}.historyContainer .historyWrapper .historyHeader .headerText p{color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-x-large, 26px);font-family:inherit}.historyContainer .historyWrapper .historyHeader .headerText.skeleton{width:250px;height:30px}.historyContainer .historyWrapper .historyHeader .headerController{display:inherit;flex-direction:row;align-items:center;justify-content:center;gap:30px}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent{justify-content:flex-start;overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .toggleCheckbox{border:none;padding:0;margin:0}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .label{width:70px;height:15px;border-radius:20px;overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent{display:inherit;flex-direction:row;align-items:inherit;justify-content:inherit;background-color:transparent;border:none;cursor:pointer}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox [type=checkbox]{display:none}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:100px;cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .label{font-size:var(--emw--size-standard, 16px);font-family:inherit;margin-left:10px}.historyContainer .historyWrapper .historyFilter{display:flex;align-items:flex-end;gap:15px;padding-bottom:30px;padding:20px 0px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{display:flex;gap:20px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:190px;color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative;align-items:flex-start;gap:10px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 20px)}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate label,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate input,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:9px;outline:none}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.historyCalendarFilterMobile{width:100%;height:44px}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.disable{cursor:default;color:var(--emw--color-white, #FFFFFF);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate{align-items:normal;overflow:hidden}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{height:15px;overflow:hidden;border-radius:20px}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarFilter{padding:0;background:transparent;border:none;overflow:hidden}.historyContainer .historyWrapper .historyTable{width:100%;display:flex;flex-direction:column;border:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableWrapper{width:100%;display:flex;flex-direction:column}.historyContainer .historyWrapper .historyTable .tableHead{display:flex;padding:18px 0;color:var(--emw--button-text-color, #FFFFFF);background:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableHead span{width:100px;flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyTable .tableContent{width:100%;max-height:546px;overflow-y:auto}.historyContainer .historyWrapper .historyTable .tableContent .tableRow{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px 0;background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData{display:flex;justify-content:center;align-items:center;width:100%}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu{width:100px;display:flex;justify-content:center;align-items:center;flex:1 1 20%;text-align:center;cursor:pointer;font-weight:700;font-size:inherit;text-decoration:underline;color:var(--emw--color-white, #FFFFFF);border:none;background-color:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu{width:18px;height:18px;padding-bottom:5px;box-sizing:content-box;fill:var(--emw--color-white, #FFFFFF);transform:rotateX(0deg);transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu.active{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu span{width:70px;flex:none}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{flex:1 1 20%;text-align:center;width:100px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg path{stroke:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg path{stroke:var(--emw--color-error, #ed0909)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;overflow:hidden;max-height:0px;overflow:hidden;opacity:0;transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData .label{width:100%;padding:0px 18px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-wrap:nowrap}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu.active{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd){background-color:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu{color:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu .iconToggleSubMenu{fill:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable.skeleton .tableHead{gap:40px;padding:18px 25px}.historyContainer .historyWrapper .historyTable.skeleton .tableHead div{width:100px;overflow:hidden;height:15px;border-radius:10px;flex:1 1 20%}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow{padding:0px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData{gap:40px;padding:18px 25px;border-radius:10px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData div{overflow:hidden;height:15px;border-radius:10px;width:100px;flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px;padding-top:10px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex{width:fit-content;display:flex;flex-direction:row;align-items:center;justify-content:center;border:1px solid var(--emw--color-primary, #22B04E);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay{text-align:center;width:40px;padding:10px;transition:all 0.3s ease;border-left:1px solid var(--emw--color-primary, #22B04E);border-right:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay input{width:100%}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay.disable{color:var(--emw--color-white, #FFFFFF);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight{display:flex;justify-content:center;align-items:center;width:20px;height:20px;padding:9px;box-sizing:content-box;cursor:pointer;transition:all 0.3s ease;background-color:transparent;border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight svg{fill:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable{cursor:default;background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable svg{fill:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable:hover{background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover{background-color:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover svg{fill:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize{width:fit-content;display:inline;text-align:center;width:80px;height:43px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector{width:100%;height:100%;position:relative;border:none;background-color:transparent;cursor:pointer;border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize{width:100%;height:100%;padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border:1px solid var(--emw--color-primary, #22B04E);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize .icon{width:15px;height:15px;padding-bottom:2px;transform:rotateX(0deg);box-sizing:content-box;transition:all 0.3s ease;fill:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{width:100%;max-height:0px;position:absolute;top:120%;left:0;text-align:left;overflow:hidden;opacity:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-primary, #22B04E);border-radius:var(--emw--border-radius-small, 5px);transition:all 0.3s ease}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow{width:100%;cursor:pointer;padding:10px;border:none;background-color:transparent;border-bottom:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow .p{flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:hover{background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:nth-last-child(1){border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .currentPageSize .icon{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .pageSizeDropDown{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable{cursor:default;background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize{color:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize .icon{fill:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageIndex{display:block;width:100px;border:none;overflow:hidden;border-radius:5px}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageSize{border:none;overflow:hidden;border-radius:5px}@container (max-width: 768px){.historyContainer .historyWrapper{padding:20px 15px}.historyContainer .historyWrapper .historyHeader .headerText{display:none}.historyContainer .historyWrapper .historyHeader .historyReturnButton{display:inline-flex}.historyContainer .historyWrapper .historyHeader .headerController{width:100%;align-items:center;justify-content:center}.historyContainer .historyWrapper .historyFilter{flex-direction:column;align-items:center}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:inherit}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate .VaadinDatePicker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate .VaadinDatePicker{width:inherit}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{width:100%}.historyContainer .historyWrapper .historyTable{overflow:auto}.historyContainer .historyWrapper .historyTable .tableHead{min-width:fit-content}.historyContainer .historyWrapper .historyTable .tableContent{min-width:fit-content;max-height:430px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}}@container (max-width: 425px){.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{width:100%;flex-direction:column}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{width:100px}.historyContainer .historyWrapper .historyTable{overflow:auto}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}}')}function es(i,e,t){const r=i.slice();return r[78]=e[t],r}function ts(i,e,t){const r=i.slice();return r[81]=e[t],r[83]=t,r}function is(i,e,t){const r=i.slice();return r[84]=e[t],r}function rs(i,e,t){const r=i.slice();return r[87]=e[t],r}function os(i,e,t){const r=i.slice();return r[84]=e[t],r}function ss(i,e,t){const r=i.slice();return r[84]=e[t],r}function as(i,e,t){const r=i.slice();return r[94]=e[t],r[83]=t,r}function Jc(i,e,t){const r=i.slice();return r[69]=e[t],r}function Qc(i,e,t){const r=i.slice();return r[69]=e[t],r}function Zc(i,e,t){const r=i.slice();return r[69]=e[t],r}function eu(i,e,t){const r=i.slice();return r[69]=e[t],r}function tu(i){let e,t,r,o,s,a,l,d,h,c,u,_,p,g=i[17]("headerTitle")+"",k,z,w,T,D=i[17]("headerTitle")+"",V,R,Z,F,b,Y,O,ye,_e=i[17]("dateFrom")+"",Oe,le,W,ie,ee,Me,re=i[17]("dateTo")+"",yt,bt,K,S,be,Fe=i[17]("dateFilter")+"",Ne,Le,ei,Be,X,xe,xt,Ve,wt,me,oe,we,Re,Ct,Qe,kt,Ce,Pt,St,Ze,ti,ke,He,At,et,ii,tt,de,Pe,m,P,A,E,Se,he,se,We,Et,ri,ce=n.ensure_array_like(i[13]),N=[];for(let f=0;f<ce.length;f+=1)N[f]=ns(as(i,ce,f));let Ae=n.ensure_array_like(i[18][i[7]]),L=[];for(let f=0;f<Ae.length;f+=1)L[f]=ls(ss(i,Ae,f));function Qr(f,I){return f[12]?ru:ou}let oi=Qr(i),ue=oi(i),it=n.ensure_array_like(i[20]),G=[];for(let f=0;f<it.length;f+=1)G[f]=ps(es(i,it,f));return{c(){e=n.element("div"),t=n.element("div"),r=n.element("div"),o=n.element("button"),s=n.svg_element("svg"),a=n.svg_element("defs"),l=n.svg_element("style"),d=n.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=n.svg_element("g"),c=n.svg_element("g"),u=n.svg_element("path"),_=n.space(),p=n.element("h2"),k=n.text(g),z=n.space(),w=n.element("div"),T=n.element("p"),V=n.text(D),R=n.space(),Z=n.element("div");for(let f=0;f<N.length;f+=1)N[f].c();F=n.space(),b=n.element("div"),Y=n.element("div"),O=n.element("div"),ye=n.element("label"),Oe=n.text(_e),le=n.space(),W=n.element("vaadin-date-picker"),ie=n.space(),ee=n.element("div"),Me=n.element("label"),yt=n.text(re),bt=n.space(),K=n.element("vaadin-date-picker"),S=n.space(),be=n.element("button"),Ne=n.text(Fe),ei=n.space(),Be=n.element("table"),X=n.element("div"),xe=n.element("thead");for(let f=0;f<L.length;f+=1)L[f].c();xt=n.space(),Ve=n.element("tbody"),ue.c(),wt=n.space(),me=n.element("div"),oe=n.element("div"),we=n.element("button"),Re=n.svg_element("svg"),Ct=n.svg_element("path"),kt=n.space(),Ce=n.element("div"),Pt=n.element("p"),St=n.text(i[9]),ti=n.space(),ke=n.element("button"),He=n.svg_element("svg"),At=n.svg_element("path"),ii=n.space(),tt=n.element("div"),de=n.element("button"),Pe=n.element("div"),m=n.element("p"),P=n.text(i[8]),A=n.space(),E=n.svg_element("svg"),Se=n.svg_element("path"),he=n.space(),se=n.element("div");for(let f=0;f<G.length;f+=1)G[f].c();n.attr(u,"class","aaa"),n.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),n.attr(u,"transform","translate(15 15) rotate(180)"),n.attr(c,"transform","translate(20 158)"),n.attr(h,"transform","translate(-20 -158)"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","15"),n.attr(s,"height","15"),n.attr(s,"viewBox","0 0 15 15"),n.attr(p,"class","historyReturnText"),n.attr(o,"class","historyReturnButton"),n.attr(w,"class","headerText"),n.attr(Z,"class","headerController"),n.attr(r,"class","historyHeader"),n.attr(ye,"for","historyCalendarStartDate"),n.set_custom_element_data(W,"max",i[4]),n.set_custom_element_data(W,"value",i[5]),n.set_custom_element_data(W,"placeholder","From"),n.set_custom_element_data(W,"class","VaadinDatePicker"),n.attr(O,"class","historyCalendarStartDate"),n.attr(Me,"for","historyCalendarEndDate"),n.set_custom_element_data(K,"max",i[4]),n.set_custom_element_data(K,"value",i[6]),n.set_custom_element_data(K,"placeholder","To"),n.set_custom_element_data(K,"class","VaadinDatePicker"),n.attr(ee,"class","historyCalendarEndDate"),n.attr(Y,"class","historyCalendarContainer"),n.attr(be,"class",Le="historyCalendarFilter "+(i[16].filterButton?"":"disable")),n.attr(b,"class","historyFilter"),n.attr(xe,"class","tableHead"),n.attr(Ve,"class","tableContent"),n.attr(X,"class","tableWrapper"),n.attr(Be,"class","historyTable"),n.attr(Ct,"d","M1.293,12.707a1,1,0,0,1,0-1.414l5-5A1,1,0,0,1,7.707,7.707L4.414,11H22a1,1,0,0,1,0,2H4.414l3.293,3.293a1,1,0,1,1-1.414,1.414Z"),n.attr(Re,"viewBox","1 4 17 17"),n.attr(Re,"xmlns","http://www.w3.org/2000/svg"),n.attr(we,"class",Qe="arrowLeft "+(i[16].previousPage?"":"disable")),n.attr(Ce,"class",Ze="indexDisplay "+(!i[16].previousPage&&!i[16].nextPage?"disable":"")),n.attr(At,"d","M17.707,17.707a1,1,0,0,1-1.414-1.414L19.586,13H2a1,1,0,0,1,0-2H19.586L16.293,7.707a1,1,0,0,1,1.414-1.414l5,5a1,1,0,0,1,0,1.414Z"),n.attr(He,"viewBox","6 4 17 17"),n.attr(He,"xmlns","http://www.w3.org/2000/svg"),n.attr(ke,"class",et="arrowRight "+(i[16].nextPage?"":"disable")),n.attr(oe,"class","historyPageIndex"),n.attr(Se,"d","M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"),n.attr(E,"xmlns","http://www.w3.org/2000/svg"),n.attr(E,"viewBox","6 5 20 20"),n.attr(E,"class","icon"),n.attr(Pe,"class","currentPageSize"),n.attr(se,"class","pageSizeDropDown"),n.attr(de,"class",We="pageSizeSelector "+(i[11]?"active":"")+" "+(i[16].pageSize?"":"disable")),n.attr(tt,"class","historyPageSize"),n.attr(me,"class","historyPaginationContainer"),n.attr(t,"class","historyWrapper"),n.attr(e,"class","historyContainer")},m(f,I){n.insert(f,e,I),n.append(e,t),n.append(t,r),n.append(r,o),n.append(o,s),n.append(s,a),n.append(a,l),n.append(l,d),n.append(s,h),n.append(h,c),n.append(c,u),n.append(o,_),n.append(o,p),n.append(p,k),n.append(r,z),n.append(r,w),n.append(w,T),n.append(T,V),n.append(r,R),n.append(r,Z);for(let v=0;v<N.length;v+=1)N[v]&&N[v].m(Z,null);n.append(t,F),n.append(t,b),n.append(b,Y),n.append(Y,O),n.append(O,ye),n.append(ye,Oe),n.append(O,le),n.append(O,W),i[42](W),n.append(Y,ie),n.append(Y,ee),n.append(ee,Me),n.append(Me,yt),n.append(ee,bt),n.append(ee,K),i[43](K),n.append(b,S),n.append(b,be),n.append(be,Ne),n.append(t,ei),n.append(t,Be),n.append(Be,X),n.append(X,xe);for(let v=0;v<L.length;v+=1)L[v]&&L[v].m(xe,null);n.append(X,xt),n.append(X,Ve),ue.m(Ve,null),n.append(t,wt),n.append(t,me),n.append(me,oe),n.append(oe,we),n.append(we,Re),n.append(Re,Ct),n.append(oe,kt),n.append(oe,Ce),n.append(Ce,Pt),n.append(Pt,St),n.append(oe,ti),n.append(oe,ke),n.append(ke,He),n.append(He,At),n.append(me,ii),n.append(me,tt),n.append(tt,de),n.append(de,Pe),n.append(Pe,m),n.append(m,P),n.append(Pe,A),n.append(Pe,E),n.append(E,Se),n.append(de,he),n.append(de,se);for(let v=0;v<G.length;v+=1)G[v]&&G[v].m(se,null);Et||(ri=[n.listen(o,"click",i[40]),n.listen(be,"click",i[44]),n.listen(we,"click",i[46]),n.listen(ke,"click",i[47]),n.listen(de,"click",i[49])],Et=!0)},p(f,I){if(I[0]&131072&&g!==(g=f[17]("headerTitle")+"")&&n.set_data(k,g),I[0]&131072&&D!==(D=f[17]("headerTitle")+"")&&n.set_data(V,D),I[0]&2236416){ce=n.ensure_array_like(f[13]);let v;for(v=0;v<ce.length;v+=1){const Ee=as(f,ce,v);N[v]?N[v].p(Ee,I):(N[v]=ns(Ee),N[v].c(),N[v].m(Z,null))}for(;v<N.length;v+=1)N[v].d(1);N.length=ce.length}if(I[0]&131072&&_e!==(_e=f[17]("dateFrom")+"")&&n.set_data(Oe,_e),I[0]&16&&n.set_custom_element_data(W,"max",f[4]),I[0]&32&&n.set_custom_element_data(W,"value",f[5]),I[0]&131072&&re!==(re=f[17]("dateTo")+"")&&n.set_data(yt,re),I[0]&16&&n.set_custom_element_data(K,"max",f[4]),I[0]&64&&n.set_custom_element_data(K,"value",f[6]),I[0]&131072&&Fe!==(Fe=f[17]("dateFilter")+"")&&n.set_data(Ne,Fe),I[0]&65536&&Le!==(Le="historyCalendarFilter "+(f[16].filterButton?"":"disable"))&&n.attr(be,"class",Le),I[0]&393344){Ae=n.ensure_array_like(f[18][f[7]]);let v;for(v=0;v<Ae.length;v+=1){const Ee=ss(f,Ae,v);L[v]?L[v].p(Ee,I):(L[v]=ls(Ee),L[v].c(),L[v].m(xe,null))}for(;v<L.length;v+=1)L[v].d(1);L.length=Ae.length}if(oi===(oi=Qr(f))&&ue?ue.p(f,I):(ue.d(1),ue=oi(f),ue&&(ue.c(),ue.m(Ve,null))),I[0]&65536&&Qe!==(Qe="arrowLeft "+(f[16].previousPage?"":"disable"))&&n.attr(we,"class",Qe),I[0]&512&&n.set_data(St,f[9]),I[0]&65536&&Ze!==(Ze="indexDisplay "+(!f[16].previousPage&&!f[16].nextPage?"disable":""))&&n.attr(Ce,"class",Ze),I[0]&65536&&et!==(et="arrowRight "+(f[16].nextPage?"":"disable"))&&n.attr(ke,"class",et),I[0]&256&&n.set_data(P,f[8]),I[0]&17825792){it=n.ensure_array_like(f[20]);let v;for(v=0;v<it.length;v+=1){const Ee=es(f,it,v);G[v]?G[v].p(Ee,I):(G[v]=ps(Ee),G[v].c(),G[v].m(se,null))}for(;v<G.length;v+=1)G[v].d(1);G.length=it.length}I[0]&67584&&We!==(We="pageSizeSelector "+(f[11]?"active":"")+" "+(f[16].pageSize?"":"disable"))&&n.attr(de,"class",We)},d(f){f&&n.detach(e),n.destroy_each(N,f),i[42](null),i[43](null),n.destroy_each(L,f),ue.d(),n.destroy_each(G,f),Et=!1,n.run_all(ri)}}}function iu(i){let e,t,r,o,s,a,l,d,h,c,u,_,p,g,k,z,w,T=n.ensure_array_like({length:3}),D=[];for(let b=0;b<T.length;b+=1)D[b]=cu(eu(i,T,b));let V=n.ensure_array_like({length:6}),R=[];for(let b=0;b<V.length;b+=1)R[b]=uu(Zc(i,V,b));let Z=n.ensure_array_like({length:5}),F=[];for(let b=0;b<Z.length;b+=1)F[b]=_u(Jc(i,Z,b));return{c(){e=n.element("div"),t=n.element("div"),r=n.element("div"),o=n.element("button"),o.innerHTML='<ui-skeleton structure="title" width="auto" height="10px"></ui-skeleton>',s=n.space(),a=n.element("div"),a.innerHTML='<ui-skeleton structure="title" width="auto" height="30px"></ui-skeleton>',l=n.space(),d=n.element("div");for(let b=0;b<D.length;b+=1)D[b].c();h=n.space(),c=n.element("div"),c.innerHTML='<div class="historyCalendarContainer"><div class="historyCalendarStartDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div> <div class="historyCalendarEndDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div></div> <div class="historyCalendarFilter"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>',u=n.space(),_=n.element("table"),p=n.element("thead");for(let b=0;b<R.length;b+=1)R[b].c();g=n.space(),k=n.element("tbody");for(let b=0;b<F.length;b+=1)F[b].c();z=n.space(),w=n.element("div"),w.innerHTML='<div class="historyPageIndex"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div> <div class="historyPageSize"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>',n.attr(o,"class","historyReturnButton skeleton"),n.attr(a,"class","headerText skeleton"),n.attr(d,"class","headerController skeleton"),n.attr(r,"class","historyHeader"),n.attr(c,"class","historyFilter skeleton"),n.attr(p,"class","tableHead"),n.attr(k,"class","tableContent"),n.attr(_,"class","historyTable skeleton"),n.attr(w,"class","historyPaginationContainer skeleton"),n.attr(t,"class","historyWrapper"),n.attr(e,"class","historyContainer")},m(b,Y){n.insert(b,e,Y),n.append(e,t),n.append(t,r),n.append(r,o),n.append(r,s),n.append(r,a),n.append(r,l),n.append(r,d);for(let O=0;O<D.length;O+=1)D[O]&&D[O].m(d,null);n.append(t,h),n.append(t,c),n.append(t,u),n.append(t,_),n.append(_,p);for(let O=0;O<R.length;O+=1)R[O]&&R[O].m(p,null);n.append(_,g),n.append(_,k);for(let O=0;O<F.length;O+=1)F[O]&&F[O].m(k,null);n.append(t,z),n.append(t,w)},p:n.noop,d(b){b&&n.detach(e),n.destroy_each(D,b),n.destroy_each(R,b),n.destroy_each(F,b)}}}function ns(i){let e,t,r,o,s=i[17](i[94].type)+"",a,l,d,h,c;function u(){return i[41](i[83])}return{c(){e=n.element("button"),t=n.element("div"),t.innerHTML='<input type="checkbox"/> <span class="circle"></span>',r=n.space(),o=n.element("p"),a=n.text(s),l=n.space(),n.attr(t,"class","toggleCheckbox"),n.attr(o,"class","label"),n.attr(e,"class",d="toggleContent "+(i[94].checked?"checked":""))},m(_,p){n.insert(_,e,p),n.append(e,t),n.append(e,r),n.append(e,o),n.append(o,a),n.append(e,l),h||(c=n.listen(e,"click",u),h=!0)},p(_,p){i=_,p[0]&139264&&s!==(s=i[17](i[94].type)+"")&&n.set_data(a,s),p[0]&8192&&d!==(d="toggleContent "+(i[94].checked?"checked":""))&&n.attr(e,"class",d)},d(_){_&&n.detach(e),h=!1,c()}}}function ls(i){let e,t=(i[17](i[84])||i[84])+"",r,o;return{c(){e=n.element("span"),r=n.text(t),o=n.space()},m(s,a){n.insert(s,e,a),n.append(e,r),n.append(e,o)},p(s,a){a[0]&131200&&t!==(t=(s[17](s[84])||s[84])+"")&&n.set_data(r,t)},d(s){s&&n.detach(e)}}}function ru(i){let e,t;return{c(){e=n.element("div"),t=n.text(i[3]),n.attr(e,"class","tableRow")},m(r,o){n.insert(r,e,o),n.append(e,t)},p(r,o){o[0]&8&&n.set_data(t,r[3])},d(r){r&&n.detach(e)}}}function ou(i){let e,t=n.ensure_array_like(i[14][i[7]]),r=[];for(let o=0;o<t.length;o+=1)r[o]=us(ts(i,t,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();e=n.empty()},m(o,s){for(let a=0;a<r.length;a+=1)r[a]&&r[a].m(o,s);n.insert(o,e,s)},p(o,s){if(s[0]&67682432){t=n.ensure_array_like(o[14][o[7]]);let a;for(a=0;a<t.length;a+=1){const l=ts(o,t,a);r[a]?r[a].p(l,s):(r[a]=us(l),r[a].c(),r[a].m(e.parentNode,e))}for(;a<r.length;a+=1)r[a].d(1);r.length=t.length}},d(o){o&&n.detach(e),n.destroy_each(r,o)}}}function su(i){let e,t=(i[81][i[84]]||"-")+"",r;return{c(){e=n.element("span"),r=n.text(t)},m(o,s){n.insert(o,e,s),n.append(e,r)},p(o,s){s[0]&16512&&t!==(t=(o[81][o[84]]||"-")+"")&&n.set_data(r,t)},d(o){o&&n.detach(e)}}}function au(i){let e,t,r,o,s,a,l=i[81][i[84]].label+"",d,h,c,u;function _(){return i[45](i[83])}return{c(){e=n.element("button"),t=n.svg_element("svg"),r=n.svg_element("path"),s=n.space(),a=n.element("span"),d=n.text(l),h=n.space(),n.attr(r,"d","M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"),n.attr(t,"xmlns","http://www.w3.org/2000/svg"),n.attr(t,"viewBox","6 5 20 20"),n.attr(t,"class",o="iconToggleSubMenu "+(i[15][i[83]]?"active":"")),n.attr(e,"class","toggleSubMenu")},m(p,g){n.insert(p,e,g),n.append(e,t),n.append(t,r),n.append(e,s),n.append(e,a),n.append(a,d),n.append(e,h),c||(u=n.listen(e,"click",_),c=!0)},p(p,g){i=p,g[0]&32768&&o!==(o="iconToggleSubMenu "+(i[15][i[83]]?"active":""))&&n.attr(t,"class",o),g[0]&16512&&l!==(l=i[81][i[84]].label+"")&&n.set_data(d,l)},d(p){p&&n.detach(e),c=!1,u()}}}function nu(i){let e;return{c(){e=n.element("span"),e.innerHTML='<svg viewBox="-3 -4 30 30" xmlns="http://www.w3.org/2000/svg"><path d="M9 9L15 15M15 9L9 15M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> ',n.attr(e,"class","decline")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function lu(i){let e;return{c(){e=n.element("span"),e.innerHTML='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 12.0002C5.50024 8.66068 7.85944 5.78639 11.1348 5.1351C14.4102 4.48382 17.6895 6.23693 18.9673 9.32231C20.2451 12.4077 19.1655 15.966 16.3887 17.8212C13.6119 19.6764 9.91127 19.3117 7.55 16.9502C6.23728 15.6373 5.49987 13.8568 5.5 12.0002Z" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 12.0002L11.333 14.3332L16 9.66724" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> ',n.attr(e,"class","approved")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function ds(i){let e;function t(s,a){var l;return s[81][s[84]]===!0?lu:s[81][s[84]]===!1?nu:(l=s[81][s[84]])!=null&&l.label?au:su}let r=t(i),o=r(i);return{c(){o.c(),e=n.empty()},m(s,a){o.m(s,a),n.insert(s,e,a)},p(s,a){r===(r=t(s))&&o?o.p(s,a):(o.d(1),o=r(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&n.detach(e),o.d(s)}}}function du(i){let e;return{c(){e=n.element("div"),e.innerHTML='<span class="label">-</span> ',n.attr(e,"class","tableData")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function hu(i){let e,t,r=n.ensure_array_like(i[81][i[84]].submenu),o=[];for(let s=0;s<r.length;s+=1)o[s]=hs(rs(i,r,s));return{c(){e=n.element("div");for(let s=0;s<o.length;s+=1)o[s].c();t=n.space(),n.attr(e,"class","tableData")},m(s,a){n.insert(s,e,a);for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(e,null);n.append(e,t)},p(s,a){if(a[0]&540800){r=n.ensure_array_like(s[81][s[84]].submenu);let l;for(l=0;l<r.length;l+=1){const d=rs(s,r,l);o[l]?o[l].p(d,a):(o[l]=hs(d),o[l].c(),o[l].m(e,t))}for(;l<o.length;l+=1)o[l].d(1);o.length=r.length}},d(s){s&&n.detach(e),n.destroy_each(o,s)}}}function hs(i){let e,t=(i[87]||"-")+"",r;return{c(){e=n.element("span"),r=n.text(t),n.attr(e,"class","label")},m(o,s){n.insert(o,e,s),n.append(e,r)},p(o,s){s[0]&16512&&t!==(t=(o[87]||"-")+"")&&n.set_data(r,t)},d(o){o&&n.detach(e)}}}function cs(i){let e;function t(s,a){var l;return(l=s[81][s[84]])!=null&&l.submenu?hu:du}let r=t(i),o=r(i);return{c(){o.c(),e=n.empty()},m(s,a){o.m(s,a),n.insert(s,e,a)},p(s,a){r===(r=t(s))&&o?o.p(s,a):(o.d(1),o=r(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&n.detach(e),o.d(s)}}}function us(i){let e,t,r,o,s,a,l=n.ensure_array_like(i[19][i[7]]),d=[];for(let u=0;u<l.length;u+=1)d[u]=ds(os(i,l,u));let h=n.ensure_array_like(i[19][i[7]]),c=[];for(let u=0;u<h.length;u+=1)c[u]=cs(is(i,h,u));return{c(){e=n.element("div"),t=n.element("div");for(let u=0;u<d.length;u+=1)d[u].c();r=n.space(),o=n.element("div");for(let u=0;u<c.length;u+=1)c[u].c();a=n.space(),n.attr(t,"class","tableData"),n.attr(o,"class",s="tableSubMenu "+(i[15][i[83]]?"active":"")),n.attr(e,"class","tableRow")},m(u,_){n.insert(u,e,_),n.append(e,t);for(let p=0;p<d.length;p+=1)d[p]&&d[p].m(t,null);n.append(e,r),n.append(e,o);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(o,null);n.append(e,a)},p(u,_){if(_[0]&67682432){l=n.ensure_array_like(u[19][u[7]]);let p;for(p=0;p<l.length;p+=1){const g=os(u,l,p);d[p]?d[p].p(g,_):(d[p]=ds(g),d[p].c(),d[p].m(t,null))}for(;p<d.length;p+=1)d[p].d(1);d.length=l.length}if(_[0]&540800){h=n.ensure_array_like(u[19][u[7]]);let p;for(p=0;p<h.length;p+=1){const g=is(u,h,p);c[p]?c[p].p(g,_):(c[p]=cs(g),c[p].c(),c[p].m(o,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=h.length}_[0]&32768&&s!==(s="tableSubMenu "+(u[15][u[83]]?"active":""))&&n.attr(o,"class",s)},d(u){u&&n.detach(e),n.destroy_each(d,u),n.destroy_each(c,u)}}}function ps(i){let e,t,r,o,s;function a(){return i[48](i[78])}return{c(){e=n.element("button"),t=n.element("p"),t.textContent=`${i[78]}`,r=n.space(),n.attr(e,"class","dropDownRow")},m(l,d){n.insert(l,e,d),n.append(e,t),n.append(e,r),o||(s=n.listen(e,"click",a),o=!0)},p(l,d){i=l},d(l){l&&n.detach(e),o=!1,s()}}}function cu(i){let e;return{c(){e=n.element("div"),e.innerHTML='<ui-skeleton structure="circle" size="20px"></ui-skeleton> <div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> ',n.attr(e,"class","toggleContent")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function uu(i){let e;return{c(){e=n.element("div"),e.innerHTML='<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> '},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function pu(i){let e;return{c(){e=n.element("div"),e.innerHTML='<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> '},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function _u(i){let e,t,r,o=n.ensure_array_like({length:6}),s=[];for(let a=0;a<o.length;a+=1)s[a]=pu(Qc(i,o,a));return{c(){e=n.element("div"),t=n.element("div");for(let a=0;a<s.length;a+=1)s[a].c();r=n.space(),n.attr(t,"class","tableData"),n.attr(e,"class","tableRow")},m(a,l){n.insert(a,e,l),n.append(e,t);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(t,null);n.append(e,r)},p:n.noop,d(a){a&&n.detach(e),n.destroy_each(s,a)}}}function mu(i){let e;function t(s,a){return s[10]?iu:tu}let r=t(i),o=r(i);return{c(){e=n.element("div"),o.c()},m(s,a){n.insert(s,e,a),o.m(e,null),i[50](e)},p(s,a){r===(r=t(s))&&o?o.p(s,a):(o.d(1),o=r(s),o&&(o.c(),o.m(e,null)))},i:n.noop,o:n.noop,d(s){s&&n.detach(e),o.d(),i[50](null)}}}function fu(i,e,t){let r;n.component_subscribe(i,n.$format,m=>t(17,r=m));let{endpoint:o=""}=e,{playerid:s=""}=e,{session:a=""}=e,{lang:l=""}=e,{clientstyling:d=""}=e,{clientstylingurl:h=""}=e,{mbsource:c}=e,{historytypes:u="Casino, Sports, Payments"}=e,{pagesizeoptions:_="10, 20, 30, 50, 100"}=e,{defaultpagesize:p="5"}=e,{formatamount:g="{currency}{amount}.{2decimals}"}=e,{customcurrencysymbols:k}=e,z=window.navigator.userAgent,w="",T="",D,V,R="",Z="",F="",b=Number(p),Y=0,O=n.getDevice(z)!=="PC",ye=!0,_e=!1,Oe=!1,le,W,ie,ee=[],Me={EUR:"€",RON:" lei",USD:"$"},re={payments:[],casino:[],sports:[]},yt={payments:["Type","Status","Amount","Date","Transaction ID"],casino:["Game Name","Date","Bet Amount","Win Amount","Transaction ID"],sports:["Stake","Price","Selection","Market","Sport","Date","Description","Bet Type","Free Bet","Win Type","Bet Adjustment","Bet ID"]},bt={payments:["paymentType","paymentState","paymentAmount","paymentCreatedOn","withdrawalId"],casino:["game_type_name","game_finished_on","stake","won","game_id"],sports:["stake","bet_Part.price","bet_Part.selection_name","bet_Part.market_name","bet_Part.category","bet_settled_on","bet_description","bet_Type","is_Freebet","win_Type","-","bet_id"]},K={},S={filterButton:!0,nextPage:!0,previousPage:!0,pageSize:!0},be=_.split(", "),Fe={},Ne=new Date,Le=new Date(Ne);Le.setMonth(Ne.getMonth()-1),D=Ne.toISOString().split("T")[0],Z=D,V=Le.toISOString().split("T")[0],R=V,Object.keys(eo).forEach(m=>{Ga(m,eo[m])});const ei=()=>{t(13,ee=u.split(", ").map((m,P)=>{const A={type:m,checked:P===0};return A.checked&&t(7,F=A.type.toLocaleLowerCase()),A}))},Be=m=>{ee.forEach((P,A)=>{t(13,ee[A].checked=m===A,ee),ee[A].checked&&t(7,F=P.type.toLocaleLowerCase())}),X()},X=()=>{if(!S.filterButton)return;t(10,ye=!0),t(12,Oe=!1),t(16,S.filterButton=!1,S),t(16,S.nextPage=!1,S),t(16,S.previousPage=!1,S),t(16,S.pageSize=!1,S);let m=new URL(`${o}/v1/player/${s}/fsb/transactions/${F}`);m.searchParams.append("offset",Y.toString()||"0"),m.searchParams.append("limit",b.toString()||"5"),m.searchParams.append("startDate",R),m.searchParams.append("endDate",Z);let P={method:"GET",headers:{"X-SessionId":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,P).then(A=>Pt(A)).then(A=>{if(A.transactions.length===0)return t(3,T=r("checkPeriod")),Promise.reject();A.transactions.length>=b&&(t(16,S.nextPage=!0,S),t(16,S.previousPage=!0,S),t(16,S.pageSize=!0,S)),t(14,re[F]=[],re),t(11,_e=!1),we(A)}).catch(A=>{t(12,Oe=!0),t(16,S.nextPage=!1,S),t(16,S.previousPage=!1,S),t(16,S.pageSize=!1,S),window.postMessage({type:"WidgetNotification",data:{type:"error",message:T}},window.location.href)}).finally(()=>{t(10,ye=!1),t(16,S.filterButton=!0,S)})},xe=m=>{t(5,R=m.target.value)},xt=m=>{t(6,Z=m.target.value)},Ve=()=>{le.addEventListener("change",xe,!1),W.addEventListener("change",xt,!1)},wt=()=>{S.pageSize&&t(11,_e=!_e)},me=m=>{t(8,b=m),X()},oe=(m,P)=>{if(P==="next"){if(!S.nextPage)return;t(9,Y=m+1),X()}else{if(!S.previousPage)return;t(9,Y=m-1),X()}},we=m=>{m.transactions.forEach((P,A)=>{t(14,re[F][A]={},re),bt[F].forEach(E=>{if(g&&E.includes("Amount")&&Qe(P),new Date(P[E]).getTime()&&typeof P[E]!="number"&&Ct(P,E),E.includes(".")){let Se=E.split(".")[0],he=E.split(".")[1];P[E]={label:"Multiple",submenu:[]},P[Se].forEach((se,We)=>{se[he]&&P[E].submenu.push(se[he])})}if(E in P)return t(14,re[F][A][E]=P[E],re)})})},Re=()=>{if(!k)return;let m={};k.split(",").forEach(P=>{let A=P.split(":");m[A[0].trim()]=A[1].trim()}),Object.entries(m).forEach(([P,A])=>Me[P]=A)},Ct=(m,P)=>{let A=new Date(m[P]).toISOString().split("T"),E=`${A[0]} ${A[1].split(".")[0]}`;m[P]=E},Qe=m=>{let P=Object.keys(m).find(L=>L.includes("Amount")),A=Object.keys(m).find(L=>L.includes("currency")),E=m[P],Se=m[A],he=g;const se=he.match(/\{(\d+)decimals\}/),We=se?parseInt(se[1],10):2,Et=se?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";E=parseInt(E).toFixed(We);const[ri,ce]=g.includes(".")?[",","."]:[".",","];let[N,Ae]=E.split(".");N=N.replace(/\B(?=(\d{3})+(?!\d))/g,ri),E=`${N}${ce}${Ae}`,he=he.replace("{currency}",Me[Se]||Se).replace("{amount}",E.split(ce)[0]).replace(Et,E.split(ce)[1]),m[P]=he},kt=m=>t(15,K[m]=!K[m],K),Ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:O},window.location.href)},Pt=m=>Zr(this,null,function*(){return m.status>=300?(Fe=yield m.json(),w=Fe.thirdPartyResponse.errorCode,t(3,T=r(w)||r("generalError")),Promise.reject()):m.json()});n.onMount(()=>()=>{le&&le.removeEventListener("change",xe),W&&W.removeEventListener("change",xt)});const St=()=>Ce(),Ze=m=>Be(m);function ti(m){n.binding_callbacks[m?"unshift":"push"](()=>{le=m,t(0,le)})}function ke(m){n.binding_callbacks[m?"unshift":"push"](()=>{W=m,t(1,W)})}const He=()=>X(),At=m=>kt(m),et=()=>oe(Y,"previous"),ii=()=>oe(Y,"next"),tt=m=>me(m),de=()=>wt();function Pe(m){n.binding_callbacks[m?"unshift":"push"](()=>{ie=m,t(2,ie)})}return i.$$set=m=>{"endpoint"in m&&t(28,o=m.endpoint),"playerid"in m&&t(29,s=m.playerid),"session"in m&&t(30,a=m.session),"lang"in m&&t(31,l=m.lang),"clientstyling"in m&&t(32,d=m.clientstyling),"clientstylingurl"in m&&t(33,h=m.clientstylingurl),"mbsource"in m&&t(34,c=m.mbsource),"historytypes"in m&&t(35,u=m.historytypes),"pagesizeoptions"in m&&t(36,_=m.pagesizeoptions),"defaultpagesize"in m&&t(37,p=m.defaultpagesize),"formatamount"in m&&t(38,g=m.formatamount),"customcurrencysymbols"in m&&t(39,k=m.customcurrencysymbols)},i.$$.update=()=>{i.$$.dirty[1]&1&&l&&Ka(l),i.$$.dirty[1]&16&&u&&ei(),i.$$.dirty[0]&1879048192&&o&&s&&a&&X(),i.$$.dirty[1]&256&&k&&Re(),i.$$.dirty[0]&3&&le&&W&&Ve(),i.$$.dirty[0]&4|i.$$.dirty[1]&2&&d&&ie&&n.setClientStyling(ie,d),i.$$.dirty[0]&4|i.$$.dirty[1]&4&&h&&ie&&n.setClientStylingURL(ie,h),i.$$.dirty[0]&4|i.$$.dirty[1]&8&&c&&ie&&n.setStreamStyling(ie,`${c}.Style`)},[le,W,ie,T,D,R,Z,F,b,Y,ye,_e,Oe,ee,re,K,S,r,yt,bt,be,Be,X,wt,me,oe,kt,Ce,o,s,a,l,d,h,c,u,_,p,g,k,St,Ze,ti,ke,He,At,et,ii,tt,de,Pe]}class Ya extends n.SvelteComponent{constructor(e){super(),n.init(this,e,fu,mu,n.safe_not_equal,{endpoint:28,playerid:29,session:30,lang:31,clientstyling:32,clientstylingurl:33,mbsource:34,historytypes:35,pagesizeoptions:36,defaultpagesize:37,formatamount:38,customcurrencysymbols:39},Xc,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),n.flush()}get playerid(){return this.$$.ctx[29]}set playerid(e){this.$$set({playerid:e}),n.flush()}get session(){return this.$$.ctx[30]}set session(e){this.$$set({session:e}),n.flush()}get lang(){return this.$$.ctx[31]}set lang(e){this.$$set({lang:e}),n.flush()}get clientstyling(){return this.$$.ctx[32]}set clientstyling(e){this.$$set({clientstyling:e}),n.flush()}get clientstylingurl(){return this.$$.ctx[33]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),n.flush()}get mbsource(){return this.$$.ctx[34]}set mbsource(e){this.$$set({mbsource:e}),n.flush()}get historytypes(){return this.$$.ctx[35]}set historytypes(e){this.$$set({historytypes:e}),n.flush()}get pagesizeoptions(){return this.$$.ctx[36]}set pagesizeoptions(e){this.$$set({pagesizeoptions:e}),n.flush()}get defaultpagesize(){return this.$$.ctx[37]}set defaultpagesize(e){this.$$set({defaultpagesize:e}),n.flush()}get formatamount(){return this.$$.ctx[38]}set formatamount(e){this.$$set({formatamount:e}),n.flush()}get customcurrencysymbols(){return this.$$.ctx[39]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),n.flush()}}n.create_custom_element(Ya,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},historytypes:{},pagesizeoptions:{},defaultpagesize:{},formatamount:{},customcurrencysymbols:{}},[],[],!0);exports.default=Ya;
|
|
4546
|
+
`}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Ti(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new Ii(this.inputElement,this._labelController)),this._tooltipController=new ft(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(e){e.stopPropagation(),super._onClearButtonClick(e)}_onHostClick(e){const t=e.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(e)}}B(Kc);function Xc(i){n.append_styles(i,"svelte-11bz6pl",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.historyContainer{container-type:inline-size}.historyContainer .historyWrapper{padding:50px}.historyContainer .historyWrapper .historyHeader{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px}.historyContainer .historyWrapper .historyHeader .historyReturnButton{display:none;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;column-gap:10px;margin-bottom:10px}.historyContainer .historyWrapper .historyHeader .historyReturnButton .historyReturnText{font-size:var(--emw--size-standard, 16px)}.historyContainer .historyWrapper .historyHeader .historyReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.historyContainer .historyWrapper .historyHeader .historyReturnButton.skeleton{width:200px;height:20px}.historyContainer .historyWrapper .historyHeader .headerText p{color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-x-large, 26px);font-family:inherit}.historyContainer .historyWrapper .historyHeader .headerText.skeleton{width:250px;height:30px}.historyContainer .historyWrapper .historyHeader .headerController{display:inherit;flex-direction:row;align-items:center;justify-content:center;gap:30px}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent{justify-content:flex-start;overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .toggleCheckbox{border:none;padding:0;margin:0}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .label{width:70px;height:15px;border-radius:20px;overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent{display:inherit;flex-direction:row;align-items:inherit;justify-content:inherit;background-color:transparent;border:none;cursor:pointer}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox [type=checkbox]{display:none}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:100px;cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .label{font-size:var(--emw--size-standard, 16px);font-family:inherit;margin-left:10px}.historyContainer .historyWrapper .historyFilter{display:flex;align-items:flex-end;gap:15px;padding-bottom:30px;padding:20px 0px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{display:flex;gap:20px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:190px;color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative;align-items:flex-start;gap:10px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 20px)}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate label,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate input,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:9px;outline:none}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.historyCalendarFilterMobile{width:100%;height:44px}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.disable{cursor:default;color:var(--emw--color-white, #FFFFFF);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate{align-items:normal;overflow:hidden}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{height:15px;overflow:hidden;border-radius:20px}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarFilter{padding:0;background:transparent;border:none;overflow:hidden}.historyContainer .historyWrapper .historyTable{width:100%;display:flex;flex-direction:column;border:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableWrapper{width:100%;display:flex;flex-direction:column}.historyContainer .historyWrapper .historyTable .tableHead{display:flex;padding:18px 0;color:var(--emw--button-text-color, #FFFFFF);background:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableHead span{width:100px;flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyTable .tableContent{width:100%;max-height:546px;overflow-y:auto}.historyContainer .historyWrapper .historyTable .tableContent .tableRow{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px 0;background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData{display:flex;justify-content:center;align-items:center;width:100%}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu{width:100px;display:flex;justify-content:center;align-items:center;flex:1 1 20%;text-align:center;cursor:pointer;font-weight:700;font-size:inherit;text-decoration:underline;color:var(--emw--color-white, #FFFFFF);border:none;background-color:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu{width:18px;height:18px;padding-bottom:5px;box-sizing:content-box;fill:var(--emw--color-white, #FFFFFF);transform:rotateX(0deg);transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu.active{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu span{width:70px;flex:none}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{flex:1 1 20%;text-align:center;width:100px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg path{stroke:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg path{stroke:var(--emw--color-error, #ed0909)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;overflow:hidden;max-height:0px;overflow:hidden;opacity:0;transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData .label{width:100%;padding:0px 18px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-wrap:nowrap}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu.active{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd){background-color:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu{color:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu .iconToggleSubMenu{fill:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyTable.skeleton .tableHead{gap:40px;padding:18px 25px}.historyContainer .historyWrapper .historyTable.skeleton .tableHead div{width:100px;overflow:hidden;height:15px;border-radius:10px;flex:1 1 20%}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow{padding:0px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData{gap:40px;padding:18px 25px;border-radius:10px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData div{overflow:hidden;height:15px;border-radius:10px;width:100px;flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px;padding-top:10px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex{width:fit-content;display:flex;flex-direction:row;align-items:center;justify-content:center;border:1px solid var(--emw--color-primary, #22B04E);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay{text-align:center;width:40px;padding:10px;transition:all 0.3s ease;border-left:1px solid var(--emw--color-primary, #22B04E);border-right:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay input{width:100%}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay.disable{color:var(--emw--color-white, #FFFFFF);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight{display:flex;justify-content:center;align-items:center;width:20px;height:20px;padding:9px;box-sizing:content-box;cursor:pointer;transition:all 0.3s ease;background-color:transparent;border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight svg{fill:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable{cursor:default;background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable svg{fill:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable:hover{background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover{background-color:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover svg{fill:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize{width:fit-content;display:inline;text-align:center;width:80px;height:43px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector{width:100%;height:100%;position:relative;border:none;background-color:transparent;cursor:pointer;border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize{width:100%;height:100%;padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border:1px solid var(--emw--color-primary, #22B04E);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize .icon{width:15px;height:15px;padding-bottom:2px;transform:rotateX(0deg);box-sizing:content-box;transition:all 0.3s ease;fill:var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{width:100%;max-height:0px;position:absolute;top:120%;left:0;text-align:left;overflow:hidden;opacity:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-primary, #22B04E);border-radius:var(--emw--border-radius-small, 5px);transition:all 0.3s ease}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow{width:100%;cursor:pointer;padding:10px;border:none;background-color:transparent;border-bottom:1px solid var(--emw--color-primary, #22B04E)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow .p{flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:hover{background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:nth-last-child(1){border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .currentPageSize .icon{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .pageSizeDropDown{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable{cursor:default;background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize{color:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize .icon{fill:var(--emw--color-white, #FFFFFF)}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageIndex{display:block;width:100px;border:none;overflow:hidden;border-radius:5px}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageSize{border:none;overflow:hidden;border-radius:5px}@container (max-width: 768px){.historyContainer .historyWrapper{padding:20px 15px}.historyContainer .historyWrapper .historyHeader .headerText{display:none}.historyContainer .historyWrapper .historyHeader .historyReturnButton{display:inline-flex}.historyContainer .historyWrapper .historyHeader .headerController{width:100%;align-items:center;justify-content:center}.historyContainer .historyWrapper .historyFilter{flex-direction:column;align-items:center}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:inherit}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate .VaadinDatePicker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate .VaadinDatePicker{width:inherit}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{width:100%}.historyContainer .historyWrapper .historyTable{overflow:auto}.historyContainer .historyWrapper .historyTable .tableHead{min-width:fit-content}.historyContainer .historyWrapper .historyTable .tableContent{min-width:fit-content;max-height:430px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}}@container (max-width: 425px){.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{width:100%;flex-direction:column}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{width:100px}.historyContainer .historyWrapper .historyTable{overflow:auto}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}}')}function es(i,e,t){const r=i.slice();return r[78]=e[t],r}function ts(i,e,t){const r=i.slice();return r[81]=e[t],r[83]=t,r}function is(i,e,t){const r=i.slice();return r[84]=e[t],r}function rs(i,e,t){const r=i.slice();return r[87]=e[t],r}function os(i,e,t){const r=i.slice();return r[84]=e[t],r}function ss(i,e,t){const r=i.slice();return r[84]=e[t],r}function as(i,e,t){const r=i.slice();return r[94]=e[t],r[83]=t,r}function Jc(i,e,t){const r=i.slice();return r[69]=e[t],r}function Qc(i,e,t){const r=i.slice();return r[69]=e[t],r}function Zc(i,e,t){const r=i.slice();return r[69]=e[t],r}function eu(i,e,t){const r=i.slice();return r[69]=e[t],r}function tu(i){let e,t,r,o,s,a,l,d,h,c,u,_,p,g=i[17]("headerTitle")+"",k,z,w,E,D=i[17]("headerTitle")+"",V,R,Z,F,b,Y,O,ye,_e=i[17]("dateFrom")+"",Oe,le,W,ie,ee,Me,re=i[17]("dateTo")+"",yt,bt,K,A,be,Fe=i[17]("dateFilter")+"",Ne,Le,ei,Be,X,xe,xt,Ve,wt,me,oe,we,Re,Ct,Qe,kt,Ce,Pt,St,Ze,ti,ke,He,At,et,ii,tt,de,Pe,m,P,S,T,Se,he,se,We,Et,ri,ce=n.ensure_array_like(i[13]),N=[];for(let f=0;f<ce.length;f+=1)N[f]=ns(as(i,ce,f));let Ae=n.ensure_array_like(i[18][i[7]]),L=[];for(let f=0;f<Ae.length;f+=1)L[f]=ls(ss(i,Ae,f));function Qr(f,I){return f[12]?ru:ou}let oi=Qr(i),ue=oi(i),it=n.ensure_array_like(i[20]),G=[];for(let f=0;f<it.length;f+=1)G[f]=ps(es(i,it,f));return{c(){e=n.element("div"),t=n.element("div"),r=n.element("div"),o=n.element("button"),s=n.svg_element("svg"),a=n.svg_element("defs"),l=n.svg_element("style"),d=n.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=n.svg_element("g"),c=n.svg_element("g"),u=n.svg_element("path"),_=n.space(),p=n.element("h2"),k=n.text(g),z=n.space(),w=n.element("div"),E=n.element("p"),V=n.text(D),R=n.space(),Z=n.element("div");for(let f=0;f<N.length;f+=1)N[f].c();F=n.space(),b=n.element("div"),Y=n.element("div"),O=n.element("div"),ye=n.element("label"),Oe=n.text(_e),le=n.space(),W=n.element("vaadin-date-picker"),ie=n.space(),ee=n.element("div"),Me=n.element("label"),yt=n.text(re),bt=n.space(),K=n.element("vaadin-date-picker"),A=n.space(),be=n.element("button"),Ne=n.text(Fe),ei=n.space(),Be=n.element("table"),X=n.element("div"),xe=n.element("thead");for(let f=0;f<L.length;f+=1)L[f].c();xt=n.space(),Ve=n.element("tbody"),ue.c(),wt=n.space(),me=n.element("div"),oe=n.element("div"),we=n.element("button"),Re=n.svg_element("svg"),Ct=n.svg_element("path"),kt=n.space(),Ce=n.element("div"),Pt=n.element("p"),St=n.text(i[9]),ti=n.space(),ke=n.element("button"),He=n.svg_element("svg"),At=n.svg_element("path"),ii=n.space(),tt=n.element("div"),de=n.element("button"),Pe=n.element("div"),m=n.element("p"),P=n.text(i[8]),S=n.space(),T=n.svg_element("svg"),Se=n.svg_element("path"),he=n.space(),se=n.element("div");for(let f=0;f<G.length;f+=1)G[f].c();n.attr(u,"class","aaa"),n.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),n.attr(u,"transform","translate(15 15) rotate(180)"),n.attr(c,"transform","translate(20 158)"),n.attr(h,"transform","translate(-20 -158)"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","15"),n.attr(s,"height","15"),n.attr(s,"viewBox","0 0 15 15"),n.attr(p,"class","historyReturnText"),n.attr(o,"class","historyReturnButton"),n.attr(w,"class","headerText"),n.attr(Z,"class","headerController"),n.attr(r,"class","historyHeader"),n.attr(ye,"for","historyCalendarStartDate"),n.set_custom_element_data(W,"max",i[4]),n.set_custom_element_data(W,"value",i[5]),n.set_custom_element_data(W,"placeholder","From"),n.set_custom_element_data(W,"class","VaadinDatePicker"),n.attr(O,"class","historyCalendarStartDate"),n.attr(Me,"for","historyCalendarEndDate"),n.set_custom_element_data(K,"max",i[4]),n.set_custom_element_data(K,"value",i[6]),n.set_custom_element_data(K,"placeholder","To"),n.set_custom_element_data(K,"class","VaadinDatePicker"),n.attr(ee,"class","historyCalendarEndDate"),n.attr(Y,"class","historyCalendarContainer"),n.attr(be,"class",Le="historyCalendarFilter "+(i[16].filterButton?"":"disable")),n.attr(b,"class","historyFilter"),n.attr(xe,"class","tableHead"),n.attr(Ve,"class","tableContent"),n.attr(X,"class","tableWrapper"),n.attr(Be,"class","historyTable"),n.attr(Ct,"d","M1.293,12.707a1,1,0,0,1,0-1.414l5-5A1,1,0,0,1,7.707,7.707L4.414,11H22a1,1,0,0,1,0,2H4.414l3.293,3.293a1,1,0,1,1-1.414,1.414Z"),n.attr(Re,"viewBox","1 4 17 17"),n.attr(Re,"xmlns","http://www.w3.org/2000/svg"),n.attr(we,"class",Qe="arrowLeft "+(i[16].previousPage?"":"disable")),n.attr(Ce,"class",Ze="indexDisplay "+(!i[16].previousPage&&!i[16].nextPage?"disable":"")),n.attr(At,"d","M17.707,17.707a1,1,0,0,1-1.414-1.414L19.586,13H2a1,1,0,0,1,0-2H19.586L16.293,7.707a1,1,0,0,1,1.414-1.414l5,5a1,1,0,0,1,0,1.414Z"),n.attr(He,"viewBox","6 4 17 17"),n.attr(He,"xmlns","http://www.w3.org/2000/svg"),n.attr(ke,"class",et="arrowRight "+(i[16].nextPage?"":"disable")),n.attr(oe,"class","historyPageIndex"),n.attr(Se,"d","M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"),n.attr(T,"xmlns","http://www.w3.org/2000/svg"),n.attr(T,"viewBox","6 5 20 20"),n.attr(T,"class","icon"),n.attr(Pe,"class","currentPageSize"),n.attr(se,"class","pageSizeDropDown"),n.attr(de,"class",We="pageSizeSelector "+(i[11]?"active":"")+" "+(i[16].pageSize?"":"disable")),n.attr(tt,"class","historyPageSize"),n.attr(me,"class","historyPaginationContainer"),n.attr(t,"class","historyWrapper"),n.attr(e,"class","historyContainer")},m(f,I){n.insert(f,e,I),n.append(e,t),n.append(t,r),n.append(r,o),n.append(o,s),n.append(s,a),n.append(a,l),n.append(l,d),n.append(s,h),n.append(h,c),n.append(c,u),n.append(o,_),n.append(o,p),n.append(p,k),n.append(r,z),n.append(r,w),n.append(w,E),n.append(E,V),n.append(r,R),n.append(r,Z);for(let v=0;v<N.length;v+=1)N[v]&&N[v].m(Z,null);n.append(t,F),n.append(t,b),n.append(b,Y),n.append(Y,O),n.append(O,ye),n.append(ye,Oe),n.append(O,le),n.append(O,W),i[42](W),n.append(Y,ie),n.append(Y,ee),n.append(ee,Me),n.append(Me,yt),n.append(ee,bt),n.append(ee,K),i[43](K),n.append(b,A),n.append(b,be),n.append(be,Ne),n.append(t,ei),n.append(t,Be),n.append(Be,X),n.append(X,xe);for(let v=0;v<L.length;v+=1)L[v]&&L[v].m(xe,null);n.append(X,xt),n.append(X,Ve),ue.m(Ve,null),n.append(t,wt),n.append(t,me),n.append(me,oe),n.append(oe,we),n.append(we,Re),n.append(Re,Ct),n.append(oe,kt),n.append(oe,Ce),n.append(Ce,Pt),n.append(Pt,St),n.append(oe,ti),n.append(oe,ke),n.append(ke,He),n.append(He,At),n.append(me,ii),n.append(me,tt),n.append(tt,de),n.append(de,Pe),n.append(Pe,m),n.append(m,P),n.append(Pe,S),n.append(Pe,T),n.append(T,Se),n.append(de,he),n.append(de,se);for(let v=0;v<G.length;v+=1)G[v]&&G[v].m(se,null);Et||(ri=[n.listen(o,"click",i[40]),n.listen(be,"click",i[44]),n.listen(we,"click",i[46]),n.listen(ke,"click",i[47]),n.listen(de,"click",i[49])],Et=!0)},p(f,I){if(I[0]&131072&&g!==(g=f[17]("headerTitle")+"")&&n.set_data(k,g),I[0]&131072&&D!==(D=f[17]("headerTitle")+"")&&n.set_data(V,D),I[0]&2236416){ce=n.ensure_array_like(f[13]);let v;for(v=0;v<ce.length;v+=1){const Ee=as(f,ce,v);N[v]?N[v].p(Ee,I):(N[v]=ns(Ee),N[v].c(),N[v].m(Z,null))}for(;v<N.length;v+=1)N[v].d(1);N.length=ce.length}if(I[0]&131072&&_e!==(_e=f[17]("dateFrom")+"")&&n.set_data(Oe,_e),I[0]&16&&n.set_custom_element_data(W,"max",f[4]),I[0]&32&&n.set_custom_element_data(W,"value",f[5]),I[0]&131072&&re!==(re=f[17]("dateTo")+"")&&n.set_data(yt,re),I[0]&16&&n.set_custom_element_data(K,"max",f[4]),I[0]&64&&n.set_custom_element_data(K,"value",f[6]),I[0]&131072&&Fe!==(Fe=f[17]("dateFilter")+"")&&n.set_data(Ne,Fe),I[0]&65536&&Le!==(Le="historyCalendarFilter "+(f[16].filterButton?"":"disable"))&&n.attr(be,"class",Le),I[0]&393344){Ae=n.ensure_array_like(f[18][f[7]]);let v;for(v=0;v<Ae.length;v+=1){const Ee=ss(f,Ae,v);L[v]?L[v].p(Ee,I):(L[v]=ls(Ee),L[v].c(),L[v].m(xe,null))}for(;v<L.length;v+=1)L[v].d(1);L.length=Ae.length}if(oi===(oi=Qr(f))&&ue?ue.p(f,I):(ue.d(1),ue=oi(f),ue&&(ue.c(),ue.m(Ve,null))),I[0]&65536&&Qe!==(Qe="arrowLeft "+(f[16].previousPage?"":"disable"))&&n.attr(we,"class",Qe),I[0]&512&&n.set_data(St,f[9]),I[0]&65536&&Ze!==(Ze="indexDisplay "+(!f[16].previousPage&&!f[16].nextPage?"disable":""))&&n.attr(Ce,"class",Ze),I[0]&65536&&et!==(et="arrowRight "+(f[16].nextPage?"":"disable"))&&n.attr(ke,"class",et),I[0]&256&&n.set_data(P,f[8]),I[0]&17825792){it=n.ensure_array_like(f[20]);let v;for(v=0;v<it.length;v+=1){const Ee=es(f,it,v);G[v]?G[v].p(Ee,I):(G[v]=ps(Ee),G[v].c(),G[v].m(se,null))}for(;v<G.length;v+=1)G[v].d(1);G.length=it.length}I[0]&67584&&We!==(We="pageSizeSelector "+(f[11]?"active":"")+" "+(f[16].pageSize?"":"disable"))&&n.attr(de,"class",We)},d(f){f&&n.detach(e),n.destroy_each(N,f),i[42](null),i[43](null),n.destroy_each(L,f),ue.d(),n.destroy_each(G,f),Et=!1,n.run_all(ri)}}}function iu(i){let e,t,r,o,s,a,l,d,h,c,u,_,p,g,k,z,w,E=n.ensure_array_like({length:3}),D=[];for(let b=0;b<E.length;b+=1)D[b]=cu(eu(i,E,b));let V=n.ensure_array_like({length:6}),R=[];for(let b=0;b<V.length;b+=1)R[b]=uu(Zc(i,V,b));let Z=n.ensure_array_like({length:5}),F=[];for(let b=0;b<Z.length;b+=1)F[b]=_u(Jc(i,Z,b));return{c(){e=n.element("div"),t=n.element("div"),r=n.element("div"),o=n.element("button"),o.innerHTML='<ui-skeleton structure="title" width="auto" height="10px"></ui-skeleton>',s=n.space(),a=n.element("div"),a.innerHTML='<ui-skeleton structure="title" width="auto" height="30px"></ui-skeleton>',l=n.space(),d=n.element("div");for(let b=0;b<D.length;b+=1)D[b].c();h=n.space(),c=n.element("div"),c.innerHTML='<div class="historyCalendarContainer"><div class="historyCalendarStartDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div> <div class="historyCalendarEndDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div></div> <div class="historyCalendarFilter"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>',u=n.space(),_=n.element("table"),p=n.element("thead");for(let b=0;b<R.length;b+=1)R[b].c();g=n.space(),k=n.element("tbody");for(let b=0;b<F.length;b+=1)F[b].c();z=n.space(),w=n.element("div"),w.innerHTML='<div class="historyPageIndex"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div> <div class="historyPageSize"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>',n.attr(o,"class","historyReturnButton skeleton"),n.attr(a,"class","headerText skeleton"),n.attr(d,"class","headerController skeleton"),n.attr(r,"class","historyHeader"),n.attr(c,"class","historyFilter skeleton"),n.attr(p,"class","tableHead"),n.attr(k,"class","tableContent"),n.attr(_,"class","historyTable skeleton"),n.attr(w,"class","historyPaginationContainer skeleton"),n.attr(t,"class","historyWrapper"),n.attr(e,"class","historyContainer")},m(b,Y){n.insert(b,e,Y),n.append(e,t),n.append(t,r),n.append(r,o),n.append(r,s),n.append(r,a),n.append(r,l),n.append(r,d);for(let O=0;O<D.length;O+=1)D[O]&&D[O].m(d,null);n.append(t,h),n.append(t,c),n.append(t,u),n.append(t,_),n.append(_,p);for(let O=0;O<R.length;O+=1)R[O]&&R[O].m(p,null);n.append(_,g),n.append(_,k);for(let O=0;O<F.length;O+=1)F[O]&&F[O].m(k,null);n.append(t,z),n.append(t,w)},p:n.noop,d(b){b&&n.detach(e),n.destroy_each(D,b),n.destroy_each(R,b),n.destroy_each(F,b)}}}function ns(i){let e,t,r,o,s=i[17](i[94].type)+"",a,l,d,h,c;function u(){return i[41](i[83])}return{c(){e=n.element("button"),t=n.element("div"),t.innerHTML='<input type="checkbox"/> <span class="circle"></span>',r=n.space(),o=n.element("p"),a=n.text(s),l=n.space(),n.attr(t,"class","toggleCheckbox"),n.attr(o,"class","label"),n.attr(e,"class",d="toggleContent "+(i[94].checked?"checked":""))},m(_,p){n.insert(_,e,p),n.append(e,t),n.append(e,r),n.append(e,o),n.append(o,a),n.append(e,l),h||(c=n.listen(e,"click",u),h=!0)},p(_,p){i=_,p[0]&139264&&s!==(s=i[17](i[94].type)+"")&&n.set_data(a,s),p[0]&8192&&d!==(d="toggleContent "+(i[94].checked?"checked":""))&&n.attr(e,"class",d)},d(_){_&&n.detach(e),h=!1,c()}}}function ls(i){let e,t=(i[17](i[84])||i[84])+"",r,o;return{c(){e=n.element("span"),r=n.text(t),o=n.space()},m(s,a){n.insert(s,e,a),n.append(e,r),n.append(e,o)},p(s,a){a[0]&131200&&t!==(t=(s[17](s[84])||s[84])+"")&&n.set_data(r,t)},d(s){s&&n.detach(e)}}}function ru(i){let e,t;return{c(){e=n.element("div"),t=n.text(i[3]),n.attr(e,"class","tableRow")},m(r,o){n.insert(r,e,o),n.append(e,t)},p(r,o){o[0]&8&&n.set_data(t,r[3])},d(r){r&&n.detach(e)}}}function ou(i){let e,t=n.ensure_array_like(i[14][i[7]]),r=[];for(let o=0;o<t.length;o+=1)r[o]=us(ts(i,t,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();e=n.empty()},m(o,s){for(let a=0;a<r.length;a+=1)r[a]&&r[a].m(o,s);n.insert(o,e,s)},p(o,s){if(s[0]&67682432){t=n.ensure_array_like(o[14][o[7]]);let a;for(a=0;a<t.length;a+=1){const l=ts(o,t,a);r[a]?r[a].p(l,s):(r[a]=us(l),r[a].c(),r[a].m(e.parentNode,e))}for(;a<r.length;a+=1)r[a].d(1);r.length=t.length}},d(o){o&&n.detach(e),n.destroy_each(r,o)}}}function su(i){let e,t=(i[81][i[84]]||"-")+"",r;return{c(){e=n.element("span"),r=n.text(t)},m(o,s){n.insert(o,e,s),n.append(e,r)},p(o,s){s[0]&16512&&t!==(t=(o[81][o[84]]||"-")+"")&&n.set_data(r,t)},d(o){o&&n.detach(e)}}}function au(i){let e,t,r,o,s,a,l=i[81][i[84]].label+"",d,h,c,u;function _(){return i[45](i[83])}return{c(){e=n.element("button"),t=n.svg_element("svg"),r=n.svg_element("path"),s=n.space(),a=n.element("span"),d=n.text(l),h=n.space(),n.attr(r,"d","M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"),n.attr(t,"xmlns","http://www.w3.org/2000/svg"),n.attr(t,"viewBox","6 5 20 20"),n.attr(t,"class",o="iconToggleSubMenu "+(i[15][i[83]]?"active":"")),n.attr(e,"class","toggleSubMenu")},m(p,g){n.insert(p,e,g),n.append(e,t),n.append(t,r),n.append(e,s),n.append(e,a),n.append(a,d),n.append(e,h),c||(u=n.listen(e,"click",_),c=!0)},p(p,g){i=p,g[0]&32768&&o!==(o="iconToggleSubMenu "+(i[15][i[83]]?"active":""))&&n.attr(t,"class",o),g[0]&16512&&l!==(l=i[81][i[84]].label+"")&&n.set_data(d,l)},d(p){p&&n.detach(e),c=!1,u()}}}function nu(i){let e;return{c(){e=n.element("span"),e.innerHTML='<svg viewBox="-3 -4 30 30" xmlns="http://www.w3.org/2000/svg"><path d="M9 9L15 15M15 9L9 15M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> ',n.attr(e,"class","decline")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function lu(i){let e;return{c(){e=n.element("span"),e.innerHTML='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 12.0002C5.50024 8.66068 7.85944 5.78639 11.1348 5.1351C14.4102 4.48382 17.6895 6.23693 18.9673 9.32231C20.2451 12.4077 19.1655 15.966 16.3887 17.8212C13.6119 19.6764 9.91127 19.3117 7.55 16.9502C6.23728 15.6373 5.49987 13.8568 5.5 12.0002Z" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 12.0002L11.333 14.3332L16 9.66724" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg> ',n.attr(e,"class","approved")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function ds(i){let e;function t(s,a){var l;return s[81][s[84]]===!0?lu:s[81][s[84]]===!1?nu:(l=s[81][s[84]])!=null&&l.label?au:su}let r=t(i),o=r(i);return{c(){o.c(),e=n.empty()},m(s,a){o.m(s,a),n.insert(s,e,a)},p(s,a){r===(r=t(s))&&o?o.p(s,a):(o.d(1),o=r(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&n.detach(e),o.d(s)}}}function du(i){let e;return{c(){e=n.element("div"),e.innerHTML='<span class="label">-</span> ',n.attr(e,"class","tableData")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function hu(i){let e,t,r=n.ensure_array_like(i[81][i[84]].submenu),o=[];for(let s=0;s<r.length;s+=1)o[s]=hs(rs(i,r,s));return{c(){e=n.element("div");for(let s=0;s<o.length;s+=1)o[s].c();t=n.space(),n.attr(e,"class","tableData")},m(s,a){n.insert(s,e,a);for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(e,null);n.append(e,t)},p(s,a){if(a[0]&540800){r=n.ensure_array_like(s[81][s[84]].submenu);let l;for(l=0;l<r.length;l+=1){const d=rs(s,r,l);o[l]?o[l].p(d,a):(o[l]=hs(d),o[l].c(),o[l].m(e,t))}for(;l<o.length;l+=1)o[l].d(1);o.length=r.length}},d(s){s&&n.detach(e),n.destroy_each(o,s)}}}function hs(i){let e,t=(i[87]||"-")+"",r;return{c(){e=n.element("span"),r=n.text(t),n.attr(e,"class","label")},m(o,s){n.insert(o,e,s),n.append(e,r)},p(o,s){s[0]&16512&&t!==(t=(o[87]||"-")+"")&&n.set_data(r,t)},d(o){o&&n.detach(e)}}}function cs(i){let e;function t(s,a){var l;return(l=s[81][s[84]])!=null&&l.submenu?hu:du}let r=t(i),o=r(i);return{c(){o.c(),e=n.empty()},m(s,a){o.m(s,a),n.insert(s,e,a)},p(s,a){r===(r=t(s))&&o?o.p(s,a):(o.d(1),o=r(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&n.detach(e),o.d(s)}}}function us(i){let e,t,r,o,s,a,l=n.ensure_array_like(i[19][i[7]]),d=[];for(let u=0;u<l.length;u+=1)d[u]=ds(os(i,l,u));let h=n.ensure_array_like(i[19][i[7]]),c=[];for(let u=0;u<h.length;u+=1)c[u]=cs(is(i,h,u));return{c(){e=n.element("div"),t=n.element("div");for(let u=0;u<d.length;u+=1)d[u].c();r=n.space(),o=n.element("div");for(let u=0;u<c.length;u+=1)c[u].c();a=n.space(),n.attr(t,"class","tableData"),n.attr(o,"class",s="tableSubMenu "+(i[15][i[83]]?"active":"")),n.attr(e,"class","tableRow")},m(u,_){n.insert(u,e,_),n.append(e,t);for(let p=0;p<d.length;p+=1)d[p]&&d[p].m(t,null);n.append(e,r),n.append(e,o);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(o,null);n.append(e,a)},p(u,_){if(_[0]&67682432){l=n.ensure_array_like(u[19][u[7]]);let p;for(p=0;p<l.length;p+=1){const g=os(u,l,p);d[p]?d[p].p(g,_):(d[p]=ds(g),d[p].c(),d[p].m(t,null))}for(;p<d.length;p+=1)d[p].d(1);d.length=l.length}if(_[0]&540800){h=n.ensure_array_like(u[19][u[7]]);let p;for(p=0;p<h.length;p+=1){const g=is(u,h,p);c[p]?c[p].p(g,_):(c[p]=cs(g),c[p].c(),c[p].m(o,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=h.length}_[0]&32768&&s!==(s="tableSubMenu "+(u[15][u[83]]?"active":""))&&n.attr(o,"class",s)},d(u){u&&n.detach(e),n.destroy_each(d,u),n.destroy_each(c,u)}}}function ps(i){let e,t,r,o,s;function a(){return i[48](i[78])}return{c(){e=n.element("button"),t=n.element("p"),t.textContent=`${i[78]}`,r=n.space(),n.attr(e,"class","dropDownRow")},m(l,d){n.insert(l,e,d),n.append(e,t),n.append(e,r),o||(s=n.listen(e,"click",a),o=!0)},p(l,d){i=l},d(l){l&&n.detach(e),o=!1,s()}}}function cu(i){let e;return{c(){e=n.element("div"),e.innerHTML='<ui-skeleton structure="circle" size="20px"></ui-skeleton> <div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> ',n.attr(e,"class","toggleContent")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function uu(i){let e;return{c(){e=n.element("div"),e.innerHTML='<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> '},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function pu(i){let e;return{c(){e=n.element("div"),e.innerHTML='<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> '},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function _u(i){let e,t,r,o=n.ensure_array_like({length:6}),s=[];for(let a=0;a<o.length;a+=1)s[a]=pu(Qc(i,o,a));return{c(){e=n.element("div"),t=n.element("div");for(let a=0;a<s.length;a+=1)s[a].c();r=n.space(),n.attr(t,"class","tableData"),n.attr(e,"class","tableRow")},m(a,l){n.insert(a,e,l),n.append(e,t);for(let d=0;d<s.length;d+=1)s[d]&&s[d].m(t,null);n.append(e,r)},p:n.noop,d(a){a&&n.detach(e),n.destroy_each(s,a)}}}function mu(i){let e;function t(s,a){return s[10]?iu:tu}let r=t(i),o=r(i);return{c(){e=n.element("div"),o.c()},m(s,a){n.insert(s,e,a),o.m(e,null),i[50](e)},p(s,a){r===(r=t(s))&&o?o.p(s,a):(o.d(1),o=r(s),o&&(o.c(),o.m(e,null)))},i:n.noop,o:n.noop,d(s){s&&n.detach(e),o.d(),i[50](null)}}}function fu(i,e,t){let r;n.component_subscribe(i,n.$format,m=>t(17,r=m));let{endpoint:o=""}=e,{playerid:s=""}=e,{session:a=""}=e,{lang:l=""}=e,{clientstyling:d=""}=e,{clientstylingurl:h=""}=e,{mbsource:c}=e,{historytypes:u="Casino, Sports, Payments"}=e,{pagesizeoptions:_="10, 20, 30, 50, 100"}=e,{defaultpagesize:p="5"}=e,{formatamount:g="{currency}{amount}.{2decimals}"}=e,{customcurrencysymbols:k}=e,z=window.navigator.userAgent,w="",E="",D,V,R="",Z="",F="",b=Number(p),Y=0,O=n.getDevice(z)!=="PC",ye=!0,_e=!1,Oe=!1,le,W,ie,ee=[],Me={EUR:"€",RON:" lei",USD:"$"},re={payments:[],casino:[],sports:[]},yt={payments:["Type","Status","Amount","Date","Transaction ID"],casino:["Game Name","Date","Bet Amount","Win Amount","Transaction ID"],sports:["Stake","Price","Selection","Market","Sport","Date","Description","Bet Type","Free Bet","Win Type","Bet Adjustment","Bet ID"]},bt={payments:["paymentType","paymentState","paymentAmount","paymentCreatedOn","withdrawalId"],casino:["game_type_name","game_finished_on","stake","won","game_id"],sports:["stake","bet_Part.price","bet_Part.selection_name","bet_Part.market_name","bet_Part.category","bet_settled_on","bet_description","bet_Type","is_Freebet","win_Type","-","bet_id"]},K={},A={filterButton:!0,nextPage:!0,previousPage:!0,pageSize:!0},be=_.split(", "),Fe={},Ne=new Date,Le=new Date(Ne);Le.setMonth(Ne.getMonth()-1),D=Ne.toISOString().split("T")[0],Z=D,V=Le.toISOString().split("T")[0],R=V,Object.keys(eo).forEach(m=>{Ga(m,eo[m])});const ei=()=>{t(13,ee=u.split(", ").map((m,P)=>{const S={type:m,checked:P===0};return S.checked&&t(7,F=S.type.toLocaleLowerCase()),S}))},Be=m=>{ee.forEach((P,S)=>{t(13,ee[S].checked=m===S,ee),ee[S].checked&&t(7,F=P.type.toLocaleLowerCase())}),X()},X=()=>{if(!A.filterButton)return;t(10,ye=!0),t(12,Oe=!1),t(16,A.filterButton=!1,A),t(16,A.nextPage=!1,A),t(16,A.previousPage=!1,A),t(16,A.pageSize=!1,A);let m=new URL(`${o}/v1/player/${s}/fsb/transactions/${F}`);m.searchParams.append("offset",Y.toString()||"0"),m.searchParams.append("limit",b.toString()||"5"),m.searchParams.append("startDate",R),m.searchParams.append("endDate",Z);let P={method:"GET",headers:{"X-SessionId":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(m.href,P).then(S=>Pt(S)).then(S=>{if(S.transactions.length===0)return t(3,E=r("checkPeriod")),Promise.reject(E);S.transactions.length>=b&&(t(16,A.nextPage=!0,A),t(16,A.previousPage=!0,A),t(16,A.pageSize=!0,A)),t(14,re[F]=[],re),t(11,_e=!1),we(S)}).catch(S=>{t(12,Oe=!0),t(16,A.nextPage=!1,A),t(16,A.previousPage=!1,A),t(16,A.pageSize=!1,A),window.postMessage({type:"WidgetNotification",data:{type:"error",message:S}},window.location.href)}).finally(()=>{t(10,ye=!1),t(16,A.filterButton=!0,A)})},xe=m=>{t(5,R=m.target.value)},xt=m=>{t(6,Z=m.target.value)},Ve=()=>{le.addEventListener("change",xe,!1),W.addEventListener("change",xt,!1)},wt=()=>{A.pageSize&&t(11,_e=!_e)},me=m=>{t(8,b=m),X()},oe=(m,P)=>{if(P==="next"){if(!A.nextPage)return;t(9,Y=m+1),X()}else{if(!A.previousPage)return;t(9,Y=m-1),X()}},we=m=>{m.transactions.forEach((P,S)=>{t(14,re[F][S]={},re),bt[F].forEach(T=>{if(g&&T.includes("Amount")&&Qe(P),new Date(P[T]).getTime()&&typeof P[T]!="number"&&Ct(P,T),T.includes(".")){let Se=T.split(".")[0],he=T.split(".")[1];P[T]={label:"Multiple",submenu:[]},P[Se].forEach((se,We)=>{se[he]&&P[T].submenu.push(se[he])})}if(T in P)return t(14,re[F][S][T]=P[T],re)})})},Re=()=>{if(!k)return;let m={};k.split(",").forEach(P=>{let S=P.split(":");m[S[0].trim()]=S[1].trim()}),Object.entries(m).forEach(([P,S])=>Me[P]=S)},Ct=(m,P)=>{let S=new Date(m[P]).toISOString().split("T"),T=`${S[0]} ${S[1].split(".")[0]}`;m[P]=T},Qe=m=>{let P=Object.keys(m).find(L=>L.includes("Amount")),S=Object.keys(m).find(L=>L.includes("currency")),T=m[P],Se=m[S],he=g;const se=he.match(/\{(\d+)decimals\}/),We=se?parseInt(se[1],10):2,Et=se?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";T=parseInt(T).toFixed(We);const[ri,ce]=g.includes(".")?[",","."]:[".",","];let[N,Ae]=T.split(".");N=N.replace(/\B(?=(\d{3})+(?!\d))/g,ri),T=`${N}${ce}${Ae}`,he=he.replace("{currency}",Me[Se]||Se).replace("{amount}",T.split(ce)[0]).replace(Et,T.split(ce)[1]),m[P]=he},kt=m=>t(15,K[m]=!K[m],K),Ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:O},window.location.href)},Pt=m=>Zr(this,null,function*(){return m.status>=300?(Fe=yield m.json(),w=Fe.thirdPartyResponse.errorCode,t(3,E=r(w)||r("generalError")),Promise.reject(E)):m.json()});n.onMount(()=>()=>{le&&le.removeEventListener("change",xe),W&&W.removeEventListener("change",xt)});const St=()=>Ce(),Ze=m=>Be(m);function ti(m){n.binding_callbacks[m?"unshift":"push"](()=>{le=m,t(0,le)})}function ke(m){n.binding_callbacks[m?"unshift":"push"](()=>{W=m,t(1,W)})}const He=()=>X(),At=m=>kt(m),et=()=>oe(Y,"previous"),ii=()=>oe(Y,"next"),tt=m=>me(m),de=()=>wt();function Pe(m){n.binding_callbacks[m?"unshift":"push"](()=>{ie=m,t(2,ie)})}return i.$$set=m=>{"endpoint"in m&&t(28,o=m.endpoint),"playerid"in m&&t(29,s=m.playerid),"session"in m&&t(30,a=m.session),"lang"in m&&t(31,l=m.lang),"clientstyling"in m&&t(32,d=m.clientstyling),"clientstylingurl"in m&&t(33,h=m.clientstylingurl),"mbsource"in m&&t(34,c=m.mbsource),"historytypes"in m&&t(35,u=m.historytypes),"pagesizeoptions"in m&&t(36,_=m.pagesizeoptions),"defaultpagesize"in m&&t(37,p=m.defaultpagesize),"formatamount"in m&&t(38,g=m.formatamount),"customcurrencysymbols"in m&&t(39,k=m.customcurrencysymbols)},i.$$.update=()=>{i.$$.dirty[1]&1&&l&&Ka(l),i.$$.dirty[1]&16&&u&&ei(),i.$$.dirty[0]&1879048192&&o&&s&&a&&X(),i.$$.dirty[1]&256&&k&&Re(),i.$$.dirty[0]&3&&le&&W&&Ve(),i.$$.dirty[0]&4|i.$$.dirty[1]&2&&d&&ie&&n.setClientStyling(ie,d),i.$$.dirty[0]&4|i.$$.dirty[1]&4&&h&&ie&&n.setClientStylingURL(ie,h),i.$$.dirty[0]&4|i.$$.dirty[1]&8&&c&&ie&&n.setStreamStyling(ie,`${c}.Style`)},[le,W,ie,E,D,R,Z,F,b,Y,ye,_e,Oe,ee,re,K,A,r,yt,bt,be,Be,X,wt,me,oe,kt,Ce,o,s,a,l,d,h,c,u,_,p,g,k,St,Ze,ti,ke,He,At,et,ii,tt,de,Pe]}class Ya extends n.SvelteComponent{constructor(e){super(),n.init(this,e,fu,mu,n.safe_not_equal,{endpoint:28,playerid:29,session:30,lang:31,clientstyling:32,clientstylingurl:33,mbsource:34,historytypes:35,pagesizeoptions:36,defaultpagesize:37,formatamount:38,customcurrencysymbols:39},Xc,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),n.flush()}get playerid(){return this.$$.ctx[29]}set playerid(e){this.$$set({playerid:e}),n.flush()}get session(){return this.$$.ctx[30]}set session(e){this.$$set({session:e}),n.flush()}get lang(){return this.$$.ctx[31]}set lang(e){this.$$set({lang:e}),n.flush()}get clientstyling(){return this.$$.ctx[32]}set clientstyling(e){this.$$set({clientstyling:e}),n.flush()}get clientstylingurl(){return this.$$.ctx[33]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),n.flush()}get mbsource(){return this.$$.ctx[34]}set mbsource(e){this.$$set({mbsource:e}),n.flush()}get historytypes(){return this.$$.ctx[35]}set historytypes(e){this.$$set({historytypes:e}),n.flush()}get pagesizeoptions(){return this.$$.ctx[36]}set pagesizeoptions(e){this.$$set({pagesizeoptions:e}),n.flush()}get defaultpagesize(){return this.$$.ctx[37]}set defaultpagesize(e){this.$$set({defaultpagesize:e}),n.flush()}get formatamount(){return this.$$.ctx[38]}set formatamount(e){this.$$set({formatamount:e}),n.flush()}get customcurrencysymbols(){return this.$$.ctx[39]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),n.flush()}}n.create_custom_element(Ya,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},historytypes:{},pagesizeoptions:{},defaultpagesize:{},formatamount:{},customcurrencysymbols:{}},[],[],!0);exports.default=Ya;
|