@everymatrix/player-account-self-exclusion 0.0.196 → 0.0.197
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.
|
@@ -1685,5 +1685,5 @@
|
|
|
1685
1685
|
|
|
1686
1686
|
<iron-media-query query="[[_fullscreenMediaQuery]]" query-matches="{{_fullscreen}}">
|
|
1687
1687
|
</iron-media-query>
|
|
1688
|
-
`}static get is(){return"vaadin-date-picker"}static get version(){return"4.0.1"}static get properties(){return{clearButtonVisible:{type:Boolean,value:!1},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},errorMessage:String,placeholder:String,readonly:{type:Boolean,value:!1,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},_userInputValue:String}}static get observers(){return["_userInputValueChanged(_userInputValue)","_setClearButtonLabel(i18n.clear)"]}ready(){super.ready(),Fa(this,()=>this._inputElement.validate=()=>{}),this._inputElement.addEventListener("change",()=>{""===this._inputElement.value&&(this.__dispatchChange=!0,this.value="",this.__dispatchChange=!1)})}_onVaadinOverlayClose(e){this._openedWithFocusRing&&this.hasAttribute("focused")?this.focusElement.setAttribute("focus-ring",""):this.hasAttribute("focused")||this.focusElement.blur(),e.detail.sourceEvent&&-1!==e.detail.sourceEvent.composedPath().indexOf(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this[this._overlayInitialized&&this.$.overlay.opened?"close":"open"]()}_input(){return this.$.input}set _inputValue(e){this._inputElement.value=e}get _inputValue(){return this._inputElement.value}_getAriaExpanded(e){return Boolean(e).toString()}get focusElement(){return this._input()||this}_setClearButtonLabel(e){this._inputElement.shadowRoot.querySelector('[part="clear-button"]').setAttribute("aria-label",e)}}function au(e){let n,r,i,s,o;return{c(){n=t("p"),r=t("strong"),i=W("Your self-exclusion period will last until the "),s=W(e[2]),o=W(" 23:59."),G(n,"class","SelfExclusionDescriptionText")},m(e,t){H(e,n,t),B(n,r),B(r,i),B(r,s),B(r,o)},p(e,t){4&t&&(t=s,e=e[2],t.wholeText!==(e=""+e)&&(t.data=e))},d(e){e&&j(n)}}}function lu(e){let n;return{c(){n=t("p"),n.innerHTML="<strong>Your self-exclusion period will be permanent.</strong>",G(n,"class","SelfExclusionDescriptionText")},m(e,t){H(e,n,t)},p:Y,d(e){e&&j(n)}}}function uu(n){let r,i,s,o,a,l,u,h,c,d,p,m,f,_,y,g,v,b,w,S,x,E,C,A,T,P,D,k,O,M,N,I,L=n[4]&&function(n){let r,i,s;return{c(){r=t("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="PlayerSelfExclusionTitleMobile">Self-Exclusion</h2>',G(r,"class","MenuReturnButton")},m(e,t){H(e,r,t),i||(s=V(r,"click",n[8]),i=!0)},p:Y,d(e){e&&j(r),i=!1,s()}}}(n);function R(e){return e[1]?lu:au}let F=R(n),z=F(n);return{c(){r=t("div"),L&&L.c(),i=e(),s=t("h2"),o=W("Self-Exclusion"),a=e(),l=t("div"),u=t("p"),u.textContent="Everymatrix recognizes that gambling can lead to addiction and in our effort to prevent these problems, we offer our users the ability to exclude all forms of betting on our site for a certain of indefinite period of time.",h=e(),c=t("p"),c.textContent='Self-exclusion takes effect from the time it is set for the period you choose. Select a timeframe below then click "Confirm".',d=e(),p=t("p"),p.textContent="During self-exclusion you will not be able to access your Everymatrix account. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months post its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows: E-mail: support@everymatrix.com",m=e(),f=t("p"),f.innerHTML='E-mail: <a href="mailto:support@everymatrix.com">support@everymatrix.com</a>',_=e(),y=t("div"),g=t("label"),g.textContent="Duration:",v=e(),b=t("vaadin-date-picker"),w=e(),S=t("div"),x=t("label"),E=W("Forever\n "),C=t("input"),A=e(),T=t("span"),P=e(),D=t("div"),z.c(),k=e(),O=t("div"),M=t("button"),M.textContent="Save",this.c=Y,G(s,"class","PlayerSelfExclusionTitle "+(n[4]?"PlayerSelfExclusionTitleNone":"")),G(u,"class","SelfExclusionDescriptionText"),G(c,"class","SelfExclusionDescriptionText"),G(p,"class","SelfExclusionDescriptionText"),G(f,"class","SelfExclusionDescriptionText"),G(l,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),G(g,"for","SelfExclusionDate"),$(b,"min",n[3]),G(y,"class","SelfExclusionDateWrapper "+(n[4]?"SelfExclusionDateWrapperMobile":"")),G(C,"type","Checkbox"),G(T,"class","Checkmark"),G(x,"class","SelfExclusionRadio"),G(S,"class","SelfExclusionRadioWrapper "+(n[4]?"SelfExclusionRadioWrapperMobile":"")),G(D,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),G(M,"class","SelfExclusionSave"),G(O,"class","SelfExclusionActionButtons "+(n[4]?"SelfExclusionActionButtonsMobile":"")),G(r,"class","SelfExclusionWrapper "+(n[4]?"SelfExclusionWrapperMobile":""))},m(e,t){H(e,r,t),L&&L.m(r,null),B(r,i),B(r,s),B(s,o),B(r,a),B(r,l),B(l,u),B(l,h),B(l,c),B(l,d),B(l,p),B(l,m),B(l,f),B(r,_),B(r,y),B(y,g),B(y,v),B(y,b),n[9](b),B(r,w),B(r,S),B(S,x),B(x,E),B(x,C),B(x,A),B(x,T),B(r,P),B(r,D),z.m(D,null),B(r,k),B(r,O),B(O,M),N||(I=[V(C,"click",n[10]),V(M,"click",n[11])],N=!0)},p(e,[t]){e[4]&&L.p(e,t),8&t&&$(b,"min",e[3]),F===(F=R(e))&&z?z.p(e,t):(z.d(1),z=F(e),z&&(z.c(),z.m(D,null)))},i:Y,o:Y,d(e){e&&j(r),L&&L.d(),n[9](null),z.d(),N=!1,U(I)}}}function hu(e,t,n){let r,i,s="PC"!=((h=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":h.toLowerCase().match(/iphone/i)?"iPhone":h.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),o=!1,a="",l="",u=new Date;var h;u.setDate(u.getDate()+7),i=er(u).format("YYYY-MM-DD");const c=()=>{n(1,o=0==o)},d=e=>{1==o?a="SelfExclusionPermanent":(a="
|
|
1688
|
+
`}static get is(){return"vaadin-date-picker"}static get version(){return"4.0.1"}static get properties(){return{clearButtonVisible:{type:Boolean,value:!1},disabled:{type:Boolean,value:!1,reflectToAttribute:!0},errorMessage:String,placeholder:String,readonly:{type:Boolean,value:!1,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},_userInputValue:String}}static get observers(){return["_userInputValueChanged(_userInputValue)","_setClearButtonLabel(i18n.clear)"]}ready(){super.ready(),Fa(this,()=>this._inputElement.validate=()=>{}),this._inputElement.addEventListener("change",()=>{""===this._inputElement.value&&(this.__dispatchChange=!0,this.value="",this.__dispatchChange=!1)})}_onVaadinOverlayClose(e){this._openedWithFocusRing&&this.hasAttribute("focused")?this.focusElement.setAttribute("focus-ring",""):this.hasAttribute("focused")||this.focusElement.blur(),e.detail.sourceEvent&&-1!==e.detail.sourceEvent.composedPath().indexOf(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this[this._overlayInitialized&&this.$.overlay.opened?"close":"open"]()}_input(){return this.$.input}set _inputValue(e){this._inputElement.value=e}get _inputValue(){return this._inputElement.value}_getAriaExpanded(e){return Boolean(e).toString()}get focusElement(){return this._input()||this}_setClearButtonLabel(e){this._inputElement.shadowRoot.querySelector('[part="clear-button"]').setAttribute("aria-label",e)}}function au(e){let n,r,i,s,o;return{c(){n=t("p"),r=t("strong"),i=W("Your self-exclusion period will last until the "),s=W(e[2]),o=W(" 23:59."),G(n,"class","SelfExclusionDescriptionText")},m(e,t){H(e,n,t),B(n,r),B(r,i),B(r,s),B(r,o)},p(e,t){4&t&&(t=s,e=e[2],t.wholeText!==(e=""+e)&&(t.data=e))},d(e){e&&j(n)}}}function lu(e){let n;return{c(){n=t("p"),n.innerHTML="<strong>Your self-exclusion period will be permanent.</strong>",G(n,"class","SelfExclusionDescriptionText")},m(e,t){H(e,n,t)},p:Y,d(e){e&&j(n)}}}function uu(n){let r,i,s,o,a,l,u,h,c,d,p,m,f,_,y,g,v,b,w,S,x,E,C,A,T,P,D,k,O,M,N,I,L=n[4]&&function(n){let r,i,s;return{c(){r=t("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><defs><style>.aaa{fill:#d0046c;}</style></defs><g transform="translate(-20 -158)"><g transform="translate(20 158)"><path class="aaa" d="M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z" transform="translate(15 15) rotate(180)"></path></g></g></svg> \n <h2 class="PlayerSelfExclusionTitleMobile">Self-Exclusion</h2>',G(r,"class","MenuReturnButton")},m(e,t){H(e,r,t),i||(s=V(r,"click",n[8]),i=!0)},p:Y,d(e){e&&j(r),i=!1,s()}}}(n);function R(e){return e[1]?lu:au}let F=R(n),z=F(n);return{c(){r=t("div"),L&&L.c(),i=e(),s=t("h2"),o=W("Self-Exclusion"),a=e(),l=t("div"),u=t("p"),u.textContent="Everymatrix recognizes that gambling can lead to addiction and in our effort to prevent these problems, we offer our users the ability to exclude all forms of betting on our site for a certain of indefinite period of time.",h=e(),c=t("p"),c.textContent='Self-exclusion takes effect from the time it is set for the period you choose. Select a timeframe below then click "Confirm".',d=e(),p=t("p"),p.textContent="During self-exclusion you will not be able to access your Everymatrix account. In the case of permanent self-exclusion, it is only possible to revoke Self-exclusion upon written request and only 6 months post its initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows: E-mail: support@everymatrix.com",m=e(),f=t("p"),f.innerHTML='E-mail: <a href="mailto:support@everymatrix.com">support@everymatrix.com</a>',_=e(),y=t("div"),g=t("label"),g.textContent="Duration:",v=e(),b=t("vaadin-date-picker"),w=e(),S=t("div"),x=t("label"),E=W("Forever\n "),C=t("input"),A=e(),T=t("span"),P=e(),D=t("div"),z.c(),k=e(),O=t("div"),M=t("button"),M.textContent="Save",this.c=Y,G(s,"class","PlayerSelfExclusionTitle "+(n[4]?"PlayerSelfExclusionTitleNone":"")),G(u,"class","SelfExclusionDescriptionText"),G(c,"class","SelfExclusionDescriptionText"),G(p,"class","SelfExclusionDescriptionText"),G(f,"class","SelfExclusionDescriptionText"),G(l,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),G(g,"for","SelfExclusionDate"),$(b,"min",n[3]),G(y,"class","SelfExclusionDateWrapper "+(n[4]?"SelfExclusionDateWrapperMobile":"")),G(C,"type","Checkbox"),G(T,"class","Checkmark"),G(x,"class","SelfExclusionRadio"),G(S,"class","SelfExclusionRadioWrapper "+(n[4]?"SelfExclusionRadioWrapperMobile":"")),G(D,"class","SelfExclusionDescription "+(n[4]?"SelfExclusionDescriptionMobile":"")),G(M,"class","SelfExclusionSave"),G(O,"class","SelfExclusionActionButtons "+(n[4]?"SelfExclusionActionButtonsMobile":"")),G(r,"class","SelfExclusionWrapper "+(n[4]?"SelfExclusionWrapperMobile":""))},m(e,t){H(e,r,t),L&&L.m(r,null),B(r,i),B(r,s),B(s,o),B(r,a),B(r,l),B(l,u),B(l,h),B(l,c),B(l,d),B(l,p),B(l,m),B(l,f),B(r,_),B(r,y),B(y,g),B(y,v),B(y,b),n[9](b),B(r,w),B(r,S),B(S,x),B(x,E),B(x,C),B(x,A),B(x,T),B(r,P),B(r,D),z.m(D,null),B(r,k),B(r,O),B(O,M),N||(I=[V(C,"click",n[10]),V(M,"click",n[11])],N=!0)},p(e,[t]){e[4]&&L.p(e,t),8&t&&$(b,"min",e[3]),F===(F=R(e))&&z?z.p(e,t):(z.d(1),z=F(e),z&&(z.c(),z.m(D,null)))},i:Y,o:Y,d(e){e&&j(r),L&&L.d(),n[9](null),z.d(),N=!1,U(I)}}}function hu(e,t,n){let r,i,s="PC"!=((h=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":h.toLowerCase().match(/iphone/i)?"iPhone":h.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),o=!1,a="",l="",u=new Date;var h;u.setDate(u.getDate()+7),i=er(u).format("YYYY-MM-DD");const c=()=>{n(1,o=0==o)},d=e=>{1==o?a="SelfExclusionPermanent":(a="SelfExclusionUntilSelectedDate",n(2,l=e))},p=()=>{d(),window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:a,selfExclusionExpiryDate:l},window.location.href)},m=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},f=e=>{d(e.target.value)};return h=()=>()=>{r.removeEventListener("change",f)},function(){if(!_)throw new Error("Function called outside component initialization");return _}().$$.on_mount.push(h),e.$$.update=()=>{1&e.$$.dirty&&r&&r.addEventListener("change",f,!1)},[r,o,l,i,s,c,p,m,()=>m(),function(e){y[e?"unshift":"push"](()=>{r=e,n(0,r)})},()=>c(),()=>p()]}customElements.define(ou.is,ou);class cu extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerSelfExclusionTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:16px;color:#D0046C}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{color:#07072A;padding:50px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionDescription{color:#58586B;line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:12px;line-height:19.2px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:#D0046C}.SelfExclusionDateWrapper{color:#58586B;display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:14px;font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 35.008px;margin-bottom:16px;font-size:16px;user-select:none;line-height:19.2px}.SelfExclusionRadioWrapper label{font-size:16px;cursor:pointer}.SelfExclusionRadioWrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25.008px;width:25.008px;background-color:#D1D1D1;border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:#D0046C}.SelfExclusionRadioWrapper .Checkmark:after{content:\"\";position:absolute;display:none;left:9.008px;top:5.008px;width:5.008px;height:10px;border:solid white;border-width:0 3.008px 3.008px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-size:12px}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:12px}</style>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},hu,uu,n,{}),e&&e.target&&H(e.target,this,e.anchor)}}return customElements.get("player-account-self-exclusion")||customElements.define("player-account-self-exclusion",cu),cu});
|
|
1689
1689
|
//# sourceMappingURL=player-account-self-exclusion.js.map
|