@claspo/components 1.1.14
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/SysButtonComponent/SysButtonComponent.js +1 -0
- package/SysButtonComponent/assets/img/button-component-icon.svg +3 -0
- package/SysCalendarComponent/SysCalendarComponent.js +1 -0
- package/SysCalendarComponent/assets/img/calendar-component-icon.svg +10 -0
- package/SysCheckboxListComponent/SysCheckboxListComponent.js +1 -0
- package/SysCheckboxListComponent/assets/img/checkbox-component-icon.svg +4 -0
- package/SysColumnComponent/SysColumnComponent.js +1 -0
- package/SysColumnsComponent/SysColumnsComponent.js +1 -0
- package/SysColumnsComponent/assets/img/columns-frame-100.svg +3 -0
- package/SysColumnsComponent/assets/img/columns-frame-33-66.svg +6 -0
- package/SysColumnsComponent/assets/img/columns-frame-50-50.svg +6 -0
- package/SysConsentComponent/SysConsentComponent.js +1 -0
- package/SysConsentComponent/assets/img/consent-component-icon.svg +4 -0
- package/SysContainerComponent/SysContainerComponent.js +1 -0
- package/SysContainerComponent/assets/img/container-component-icon.svg +3 -0
- package/SysCountdownTimerComponent/SysCountdownTimerComponent.js +1 -0
- package/SysCountdownTimerComponent/assets/img/countdown-timer-component-icon.svg +5 -0
- package/SysDateComponent/SysDateComponent.js +1 -0
- package/SysDateComponent/assets/img/date-component-icon.svg +7 -0
- package/SysDropdownInputComponent/SysDropdownInputComponent.js +1 -0
- package/SysDropdownInputComponent/assets/img/dropdown-component-icon.svg +4 -0
- package/SysImageComponent/SysImageComponent.js +1 -0
- package/SysImageComponent/assets/img/floating-image-component-icon.svg +10 -0
- package/SysImageComponent/assets/img/image-component-icon.svg +4 -0
- package/SysImageComponent/assets/img/image-placeholder.svg +4 -0
- package/SysInAppColumnsComponent/SysInAppColumnsComponent.js +1 -0
- package/SysInputComponent/SysInputComponent.js +1 -0
- package/SysInputComponent/assets/img/email-input-component-icon.svg +3 -0
- package/SysInputComponent/assets/img/person-data-input-component-icon.svg +4 -0
- package/SysInputComponent/assets/img/text-input-component-icon.svg +4 -0
- package/SysPhoneInputComponent/SysPhoneInputComponent.js +1 -0
- package/SysPhoneInputComponent/assets/img/flags.png +0 -0
- package/SysPhoneInputComponent/assets/img/phone-input-component-icon.svg +4 -0
- package/SysPhoneInputComponent/assets/json/country-code-options.json +2587 -0
- package/SysPromoCodeComponent/SysPromoCodeComponent.js +1 -0
- package/SysPromoCodeComponent/assets/img/promo-code-component-icon.svg +3 -0
- package/SysRadioGroupComponent/SysRadioGroupComponent.js +1 -0
- package/SysRadioGroupComponent/assets/img/radio-btn-component-icon.svg +4 -0
- package/SysSlideComponent/SysSlideComponent.js +1 -0
- package/SysSliderComponent/SysSliderComponent.js +1 -0
- package/SysSliderComponent/assets/img/default-slider-bg-1.svg +283 -0
- package/SysSliderComponent/assets/img/default-slider-bg-2.svg +296 -0
- package/SysSliderComponent/assets/img/default-slider-bg-3.svg +340 -0
- package/SysSliderComponent/assets/img/slider-component-icon.svg +5 -0
- package/SysSocialComponent/SysSocialComponent.js +1 -0
- package/SysSocialComponent/assets/img/email-logo-rounded.svg +5 -0
- package/SysSocialComponent/assets/img/facebook-logo-rounded.svg +4 -0
- package/SysSocialComponent/assets/img/image-placeholder.svg +4 -0
- package/SysSocialComponent/assets/img/instagram-logo-rounded.svg +16 -0
- package/SysSocialComponent/assets/img/linkedin-logo-rounded.svg +4 -0
- package/SysSocialComponent/assets/img/pinterest-logo-rounded.svg +4 -0
- package/SysSocialComponent/assets/img/social-component-icon.svg +6 -0
- package/SysSocialComponent/assets/img/twitter-logo-rounded.svg +4 -0
- package/SysSocialComponent/assets/img/whatsapp-logo-rounded.svg +24 -0
- package/SysTextAreaComponent/SysTextAreaComponent.js +1 -0
- package/SysTextAreaComponent/assets/img/text-area-component-icon.svg +4 -0
- package/SysTextComponent/SysTextComponent.js +1 -0
- package/SysTextComponent/assets/img/text-component-icon.svg +3 -0
- package/SysVideoComponent/SysVideoComponent.js +1 -0
- package/SysVideoComponent/assets/img/video-component-icon.svg +3 -0
- package/package.json +40 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={name:"SysConsentComponent",componentType:"CONSENT",version:"1.0.0",contextMenuModel:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"COMPONENT_OPERATIONS"},{type:"CONTROL",name:"BRING_BACK_FORWARD",element:"host",elementProp:"styleAttributes",elementSubProp:"zIndex"},{type:"CONTROL",name:"FOCUS_PARENT_COMPONENT"}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"COMPONENT_OPERATIONS"},{type:"CONTROL",name:"BRING_BACK_FORWARD",element:"host",elementProp:"styleAttributes",elementSubProp:"zIndex"},{type:"CONTROL",name:"FOCUS_PARENT_COMPONENT"}]}],floatingControlsModel:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"SIZE",elementProp:"styleAttributes",element:"host",params:{height:{hide:!0}}},{type:"CONTROL",name:"MARGIN",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"CONTAINER_PADDING",elementProp:"styleAttributes",element:"host"}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"SIZE",elementProp:"styleAttributes",element:"host",params:{height:{hide:!0}}},{type:"CONTROL",name:"MARGIN",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"CONTAINER_PADDING",elementProp:"styleAttributes",element:"host"}]}],propertyPaneModel:{content:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"SIZE",element:"host",elementProp:"styleAttributes",params:{width:{options:["fixed","fill","hug"]},height:{options:["fill","hug"]}}},{type:"CONTROL",name:"TEXT_PARAMS",params:[{element:"label",isLineSpaceAvailable:!0,isTextTransformAvailable:!0}]},{type:"CONTROL",name:"INSERT_BLOCK",params:[{element:"label",label:"DOCUMENT_TEXT",isLinkAvailable:!0,origin:!0}]},{type:"CONTROL",name:"MULTIPLE_INPUT_SIZE",element:"input",params:{inputType:"CHECKBOX"}},{type:"CONTROL",name:"BACKGROUND",element:"input",elementProp:"markerStyleAttributes",params:{label:"DOCUMENT_CHECKBOX_BACKGROUND_DEFAULT_TITLE",property:"defaultBackground"}},{type:"CONTROL",name:"BACKGROUND",element:"input",elementProp:"markerStyleAttributes",params:{label:"DOCUMENT_CHECKBOX_BACKGROUND_SELECTED_TITLE",property:"selectedBackground"}},{type:"CONTROL",name:"BORDERS",elementProp:"styleAttributes",element:"input"},{type:"CONTROL",name:"BOX_SHADOW",elementProp:"styleAttributes",element:"input"},{type:"CONTROL",name:"BORDER_RADIUS",elementProp:"styleAttributes",element:"input"},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"MARGIN"}}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"SIZE",element:"host",elementProp:"styleAttributes",params:{width:{options:["fixed","fill","hug"]},height:{options:["fill","hug"]}}},{type:"CONTROL",name:"TEXT_PARAMS",params:[{element:"label",isLineSpaceAvailable:!0,isTextTransformAvailable:!0}]},{type:"CONTROL",name:"INSERT_BLOCK",params:[{element:"label",label:"DOCUMENT_TEXT",isLinkAvailable:!0,origin:!0}]},{type:"CONTROL",name:"MULTIPLE_INPUT_SIZE",element:"input",params:{inputType:"CHECKBOX"}},{type:"CONTROL",name:"BACKGROUND",element:"input",elementProp:"markerStyleAttributes",params:{label:"DOCUMENT_CHECKBOX_BACKGROUND_DEFAULT_TITLE",property:"defaultBackground"}},{type:"CONTROL",name:"BACKGROUND",element:"input",elementProp:"markerStyleAttributes",params:{label:"DOCUMENT_CHECKBOX_BACKGROUND_SELECTED_TITLE",property:"selectedBackground"}},{type:"CONTROL",name:"BORDERS",elementProp:"styleAttributes",element:"input"},{type:"CONTROL",name:"BOX_SHADOW",elementProp:"styleAttributes",element:"input"},{type:"CONTROL",name:"BORDER_RADIUS",elementProp:"styleAttributes",element:"input"},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"MARGIN"}}]}]},events:{dispatch:[],listen:[]},i18nPropPaths:["content,label"],i18nPropertyPaneModel:{content:[{type:"CONTROL",name:"INSERT_BLOCK",params:[{element:"text",label:"DOCUMENT_TEXT",isLinkAvailable:!0,origin:!1}]}]},i18n:{en:{"control,validation,validationErrors,REQUIRED":"Accept consent to subscribe","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},ru:{"control,validation,validationErrors,REQUIRED":"Примите соглашение для подписки","content,label":'Я даю согласие на обработку своих персональных данных и ознакомлен с <a href="https://example.com/termsofuse" target="_blank">условиями использования сервиса</a>'},uk:{"control,validation,validationErrors,REQUIRED":"Прийміть угоду для підписки","content,label":'Я даю згоду на обробку своїх персональних даних та ознайомлений з <a href="https://example.com/termsofuse" target="_blank">умовами використання сервісу</a>'},es:{"control,validation,validationErrors,REQUIRED":"Aceptar el consentimiento para suscribirse","content,label":'Doy mi consentimiento para el procesamiento de mis datos personales y he leído y acepto los <a href="https://example.com/termsofuse" target="_blank">Términos de uso</a>'},de:{"control,validation,validationErrors,REQUIRED":"Zustimmung zum Abonnement akzeptieren","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},fr:{"control,validation,validationErrors,REQUIRED":"Accepter le consentement pour s'abonner","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},it:{"control,validation,validationErrors,REQUIRED":"Accetti il consenso per iscriversi","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},pt:{"control,validation,validationErrors,REQUIRED":"Aceitar consentimento para subscrever","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},ro:{"control,validation,validationErrors,REQUIRED":"Acceptați consimțământul pentru abonare","content,label":'Sunt de acord cu prelucrarea datelor mele personale și am citit și accept <a href="https://example.com/termsofuse" target="_blank">Termenii de utilizare</a>'},bg:{"control,validation,validationErrors,REQUIRED":"Приемете съгласието, за да се абонирате","content,label":'Съгласен съм с обработката на личните ми данни и прочетох и приемам <a href="https://example.com/termsofuse" target="_blank">Условията за ползване</a>'},cs:{"control,validation,validationErrors,REQUIRED":"Pro odběr přijměte souhlas","content,label":'Souhlasím se zpracováním mých osobních údajů a přečetl jsem si a přijímám <a href="https://example.com/termsofuse" target="_blank">Podmínky použití</a>'},el:{"control,validation,validationErrors,REQUIRED":"Αποδέχεστε τη συναίνεση στην εγγραφή","content,label":'Συναινώ στην επεξεργασία των προσωπικών μου δεδομένων και έχω διαβάσει και αποδέχομαι τους <a href="https://example.com/termsofuse" target="_blank">Όρους Χρήσης</a>'},nl:{"control,validation,validationErrors,REQUIRED":"Accepteer toestemming om u te abonneren","content,label":'Jeg giver samtykke til behandlingen af mine personlige data, og jeg har læst og accepterer <a href="https://example.com/termsofuse" target="_blank">Brugervilkår</a>'},pl:{"control,validation,validationErrors,REQUIRED":"Wyraź zgodę, aby zasubskrybować","content,label":'Wyrażam zgodę na przetwarzanie moich danych osobowych oraz zapoznałem się i akceptuję <a href="https://example.com/termsofuse" target="_blank">Warunki użytkowania</a>'},sv:{"control,validation,validationErrors,REQUIRED":"Acceptera samtycke för att prenumerera","content,label":'Jag samtycker till behandlingen av mina personuppgifter och jag har läst och accepterar <a href="https://example.com/termsofuse" target="_blank">Användarvillkor</a>'},tr:{"control,validation,validationErrors,REQUIRED":"Abone olmak için onayı kabul edin","content,label":'Kişisel verilerimin işlenmesine izin veriyorum ve <a href="https://example.com/termsofuse" target="_blank">Kullanım Koşulları</a>\'nı okudum ve kabul ediyorum.'},ar:{"control,validation,validationErrors,REQUIRED":"قبول الموافقة على الاشتراك","content,label":'أوافق على معالجة بياناتي الشخصية وقد قرأت وأوافق على <a href="https://example.com/termsofuse" target="_blank"> شروط الاستخدام </a>'},zh:{"control,validation,validationErrors,REQUIRED":"接受同意订阅","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},da:{"control,validation,validationErrors,REQUIRED":"Accepter samtykke til at abonnere","content,label":'Jeg giver samtykke til behandlingen af mine personoplysninger, og jeg har læst og accepterer <a href="https://example.com/termsofuse" target="_blank">Vilkår for brug</a>'},he:{"control,validation,validationErrors,REQUIRED":"קבלו הסכמה להירשם","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},fi:{"control,validation,validationErrors,REQUIRED":"Anna suostumus tilaukseen","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},hi:{"control,validation,validationErrors,REQUIRED":"सदस्यता लेने के लिए सहमति स्वीकार करें","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},hr:{"control,validation,validationErrors,REQUIRED":"Prihvatite privolu za pretplatu","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},hu:{"control,validation,validationErrors,REQUIRED":"Az előfizetéshez való hozzájárulás elfogadása","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},id:{"control,validation,validationErrors,REQUIRED":"Terima persetujuan untuk berlangganan","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},ja:{"control,validation,validationErrors,REQUIRED":"サブスクリプションへの同意を承諾","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},ko:{"control,validation,validationErrors,REQUIRED":"구독하려면 동의 수락","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},no:{"control,validation,validationErrors,REQUIRED":"Godta samtykke for å abonnere","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},sk:{"control,validation,validationErrors,REQUIRED":"Udeľte súhlas s odberom","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},sl:{"control,validation,validationErrors,REQUIRED":"Sprejmite soglasje za naročnino","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},sr:{"control,validation,validationErrors,REQUIRED":"Prihvatite saglasnost za pretplatu","content,label":'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'}},props:{content:{label:'I consent to the processing of my personal data and I have read and I do accept <a href="https://example.com/termsofuse" target="_blank">Terms of Use</a>'},control:{name:"consentId",defaultValue:!1,validation:{required:!0,validationErrors:{REQUIRED:"Accept consent to subscribe"}}},adaptiveStyles:{desktop:[{element:"host",styleAttributes:{paddingTop:"0px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",_paddingEnabled:!1,width:"100%",minWidth:null,height:"auto",marginTop:"0px",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",_marginEnabled:!1},classes:""},{element:"input",styleAttributes:{borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopWidth:"1px",borderTopColor:"rgba(68, 68, 68, 1)",borderBottomWidth:"1px",borderBottomColor:"rgba(68, 68, 68, 1)",borderLeftWidth:"1px",borderLeftColor:"rgba(68, 68, 68, 1)",borderRightWidth:"1px",borderRightColor:"rgba(68, 68, 68, 1)",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px"},markerStyleAttributes:{inputSize:"22px",inputToTextGapSize:"13px",defaultBackground:"rgb(255, 255, 255)",selectedBackground:"rgb(255, 255, 255)"},classes:""},{element:"label",styleAttributes:{color:"rgba(68, 68, 68, 1)",textAlign:"start",lineHeight:"120%",fontWeight:"400",fontSize:"14px",textShadow:"none"},classes:""}],mobile:[{element:"host",styleAttributes:{paddingTop:"0px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",_paddingEnabled:!1,width:"100%",minWidth:null,height:"auto",marginTop:"0px",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",_marginEnabled:!1},classes:""},{element:"input",styleAttributes:{borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopWidth:"1px",borderTopColor:"rgba(68, 68, 68, 1)",borderBottomWidth:"1px",borderBottomColor:"rgba(68, 68, 68, 1)",borderLeftWidth:"1px",borderLeftColor:"rgba(68, 68, 68, 1)",borderRightWidth:"1px",borderRightColor:"rgba(68, 68, 68, 1)",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",boxShadow:"none"},markerStyleAttributes:{inputSize:"22px",inputToTextGapSize:"13px",defaultBackground:"rgb(255, 255, 255)",selectedBackground:"rgb(255, 255, 255)"},classes:""},{element:"label",styleAttributes:{color:"rgba(68, 68, 68, 1)",textAlign:"start",lineHeight:"120%",fontWeight:"400",fontSize:"14px",textShadow:"none"},classes:""}]}},metaDescription:{icon:"/SysConsentComponent/assets/img/consent-component-icon.svg",label:{en:"Data processing and terms of use",ru:"Обработка данных и условия использования",uk:"Обробка даних та умови використання",es:"Tratamiento de datos y condiciones de uso",fr:"Traitement des données et conditions d'utilisation",de:"Datenverarbeitung und Nutzungsbedingungen",it:"Trattamento dei dati e condizioni d'uso",pt:"Processamento de dados e termos de utilização",ro:"Prelucrarea datelor și condițiile de utilizare",bg:"Обработка на данни и условия за ползване",cs:"Zpracování dat a podmínky použití",el:"Επεξεργασία δεδομένων και όροι χρήσης",nl:"Gegevensverwerking en gebruiksvoorwaarden",pl:"Przetwarzanie danych i warunki użytkowania",sv:"Databehandling och användarvillkor",tr:"Veri işleme ve kullanım koşulları",ar:"معالجة البيانات وشروط الاستخدام",zh:"数据处理和使用条款",da:"Databehandling og brugsbetingelser",he:"עיבוד נתונים ותנאי השימוש"}}},t="validationStatusChanged",n="touchedStatusChanged",o="cl-";function r(e){return o+e}function i(e){return"cl-"+e}class s{static size(e){return{width:this.width(e),height:this.height(e)}}static width(e){return e=e||document,Math.max(e.documentElement.clientWidth,e.defaultView.innerWidth||0)}static height(e){return e=e||document,Math.max(e.documentElement.clientHeight,e.defaultView.innerHeight||0)}static scrollbarWidth(e){return(e=e||document).defaultView.innerWidth-e.documentElement.clientWidth}}var a=[];for(var l in{transparent:"#0000"})a.push(l);var c="\\s*([.\\d%]+)\\s*",p="\\("+[c,c,c]+"(?:,\\s*([.\\d]+)\\s*)?\\)",d="(?:rgb)a?",h="("+a.join("|")+")";function u(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}RegExp(d+p,"i"),RegExp([h,"(?:#([a-f0-9]{3,8}))",d+p,"(?:hsl)a?"+p].join("|"),"gi");var m=Array.prototype.concat,g=Array.prototype.slice,b=function(e){for(var t=[],n=0,o=e.length;n<o;n++){var r=e[n];u(r)?t=m.call(t,g.call(r)):t.push(r)}return t};b.wrap=function(e){return function(){return e(b(arguments))}};const f=b;var y={},v=Object.hasOwnProperty,E=Object.create(null);for(var O in y)v.call(y,O)&&(E[y[O]]=O);var S={to:{},get:{}};function k(e,t,n){return Math.min(Math.max(t,e),n)}S.get=function(e){var t,n;return"hsl"===e.substring(0,3).toLowerCase()?(t=S.get.hsl(e),n="hsl"):(t=S.get.rgb(e),n="rgb"),t?{model:n,value:t}:null},S.get.rgb=function(e){if(!e)return null;var t,n,o,r=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var i=2*n;r[n]=parseInt(t.slice(i,i+2),16)}o&&(r[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)r[n]=parseInt(t[n]+t[n],16);o&&(r[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)r[n]=parseInt(t[n+1],0);t[4]&&(t[5]?r[3]=.01*parseFloat(t[4]):r[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:v.call(y,t[1])?((r=y[t[1]])[3]=1,r):null:null;for(n=0;n<3;n++)r[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?r[3]=.01*parseFloat(t[4]):r[3]=parseFloat(t[4]))}for(n=0;n<3;n++)r[n]=k(r[n],0,255);return r[3]=k(r[3],0,1),r},S.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,k(parseFloat(t[2]),0,100),k(parseFloat(t[3]),0,100),k(isNaN(n)?1:n,0,1)]}return null},S.to.rgb=function(){var e=f(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},S.to.hsl=function(){var e=f(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};const T=S,x={},C={};for(const e of Object.keys(x))C[x[e]]=e;const R={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"}};Math.pow(6/29,3);for(const e of Object.keys(R)){if(!("channels"in R[e]))throw new Error("missing channels property: "+e);if(!("labels"in R[e]))throw new Error("missing channel labels property: "+e);if(R[e].labels.length!==R[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=R[e];delete R[e].channels,delete R[e].labels,Object.defineProperty(R[e],"channels",{value:t}),Object.defineProperty(R[e],"labels",{value:n})}R.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,o=e[2]/255,r=Math.min(t,n,o),i=Math.max(t,n,o),s=i-r;let a,l;i===r?a=0:t===i?a=(n-o)/s:n===i?a=2+(o-t)/s:o===i&&(a=4+(t-n)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(r+i)/2;return l=i===r?0:c<=.5?s/(i+r):s/(2-i-r),[a,100*l,100*c]},R.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,o=e[2]/100;let r,i,s;if(0===n)return s=255*o,[s,s,s];r=o<.5?o*(1+n):o+n-o*n;const a=2*o-r,l=[0,0,0];for(let e=0;e<3;e++)i=t+1/3*-(e-1),i<0&&i++,i>1&&i--,s=6*i<1?a+6*(r-a)*i:2*i<1?r:3*i<2?a+(r-a)*(2/3-i)*6:a,l[e]=255*s;return l};const A=R;function w(e,t){return function(n){return t(e(n))}}function I(e,t){const n=[t[e].parent,e];let o=A[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),o=w(A[t[r].parent][r],o),r=t[r].parent;return o.conversion=n,o}const _={};Object.keys(A).forEach((e=>{_[e]={},Object.defineProperty(_[e],"channels",{value:A[e].channels}),Object.defineProperty(_[e],"labels",{value:A[e].labels});const t=function(e){const t=function(e){const t=function(){const e={},t=Object.keys(A);for(let n=t.length,o=0;o<n;o++)e[t[o]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){const e=n.pop(),o=Object.keys(A[e]);for(let r=o.length,i=0;i<r;i++){const r=o[i],s=t[r];-1===s.distance&&(s.distance=t[e].distance+1,s.parent=e,n.unshift(r))}}return t}(e),n={},o=Object.keys(t);for(let e=o.length,r=0;r<e;r++){const e=o[r];null!==t[e].parent&&(n[e]=I(e,t))}return n}(e);Object.keys(t).forEach((n=>{const o=t[n];_[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const o=e(t);if("object"==typeof o)for(let e=o.length,t=0;t<e;t++)o[t]=Math.round(o[t]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}(o),_[e][n].raw=function(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)}))}));const L=_,P=["keyword","gray","hex"],N={};for(const e of Object.keys(L))N[[...L[e].labels].sort().join("")]=e;const j={};function M(e,t){if(!(this instanceof M))return new M(e,t);if(t&&t in P&&(t=null),t&&!(t in L))throw new Error("Unknown model: "+t);let n,o;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof M)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=T.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,o=L[this.model].channels,this.color=t.value.slice(0,o),this.valpha="number"==typeof t.value[o]?t.value[o]:1}else if(e.length>0){this.model=t||"rgb",o=L[this.model].channels;const n=Array.prototype.slice.call(e,0,o);this.color=B(n,o),this.valpha="number"==typeof e[o]?e[o]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const o=t.sort().join("");if(!(o in N))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=N[o];const{labels:r}=L[this.model],i=[];for(n=0;n<r.length;n++)i.push(e[r[n]]);this.color=B(i)}if(j[this.model])for(o=L[this.model].channels,n=0;n<o;n++){const e=j[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}M.prototype={toString(){return this.string()},string(e){let t=this.model in T.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return T.to[t.model](n)},round(e){return e=Math.max(e||0,0),new M([...this.color.map(U(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new M([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t}};for(const e of Object.keys(L)){if(P.includes(e))continue;const{channels:t}=L[e];M.prototype[e]=function(...t){return this.model===e?new M(this):t.length>0?new M(t,e):new M([...D(L[this.model][e].raw(this.color)),this.valpha],e)},M[e]=function(...n){let o=n[0];return"number"==typeof o&&(o=B(n,t)),new M(o,e)}}function U(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function D(e){return Array.isArray(e)?e:[e]}function B(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}const F=M;function z(e,t){Object.keys(t).forEach((n=>{e.style[n]=t[n]}))}function W(e,t,n){const o=function(e,t){const n=getComputedStyle(e)[t]||e.style.getPropertyValue(t);if(n&&n.includes("rgb")&&(!(n.split("rgb").length>2)||n.includes("#")))return n}(t,n);if(o){const t=F(o).alpha(.5).string();return e.classList.add("focus-outline-defined"),e.style.setProperty("--clFocusOutline",`3px solid ${t}`),t}return null}function $(e){const{width:t,height:n}=e.getBoundingClientRect(),{marginBottom:o,marginTop:r,marginLeft:i,marginRight:s}=window.getComputedStyle(e);return{width:t+parseInt(i,10)+parseInt(s,10),height:n+parseInt(r,10)+parseInt(o,10)}}function H(e,t,n,o,r){switch(e.position){case"top":return{left:`${G(t,n,o,r)}px`,top:e.availableSpaceAboveTriggerElem-e.contentHeight-e.verticalOffset+"px"};case"bottom":return{left:`${G(t,n,o,r)}px`,bottom:e.availableSpaceBelowTriggerElem-e.contentHeight-e.verticalOffset+"px"};case"left":return{left:e.availableSpaceToTheLeftSideOfTheTrigger-t.width-e.contentWidth-e.horizontalOffset+"px",top:`${V(0,e)}px`};case"right":return{right:e.availableSpaceToTheRightSideOfTheTrigger-e.contentWidth-e.horizontalOffset+"px",top:`${V(0,e)}px`}}}function G(e,t,n,o){let r=n?e.x+e.width/2-t.width/2:e.x;return r<0&&(r=0),r+t.width>s.width(o)&&(r-=r+t.width-s.width(o)),r}function V(e,t){let n=t.availableSpaceAboveTriggerElem;return t.contentHeight>t.availableSpaceBelowTriggerElem&&(n-=t.contentHeight-t.availableSpaceBelowTriggerElem),n}function Q(e){const{element:t,html:n,appendHtml:o}=e,r=function(e){if(null==e)return"";if("string"!=typeof e)return String(e);if(""===e)return"";if(!/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*>/.test(e))return e;const t=(new DOMParser).parseFromString(e,"text/html");return t.querySelectorAll('script, style, link[rel="stylesheet"], meta[http-equiv]').forEach((e=>e.remove())),t.querySelectorAll("*").forEach((e=>{if(["onclick","onload","onerror","onmouseover","onfocus","onblur","onkeyup","onkeydown","onchange","onsubmit","onmouseenter","onmouseleave","onmouseout","oncontextmenu","ondrag","ondrop"].forEach((t=>e.removeAttribute(t))),Array.from(e.attributes).forEach((t=>{t.name.startsWith("on")&&e.removeAttribute(t.name)})),"A"===e.tagName||"AREA"===e.tagName){const t=e.getAttribute("href");t&&(t.startsWith("javascript:")||t.startsWith("data:"))&&e.removeAttribute("href")}if("IMG"===e.tagName||"IFRAME"===e.tagName){const t=e.getAttribute("src");t&&(t.startsWith("javascript:")||t.startsWith("data:text/html"))&&e.removeAttribute("src")}if("FORM"===e.tagName){const t=e.getAttribute("action");t&&t.startsWith("javascript:")&&e.removeAttribute("action")}})),t.body.innerHTML}(n);o?t.innerHTML+=r:t.innerHTML=r}const K="cl-tooltip-text-styles",q=`\n .cl-tooltip-text {\n z-index: ${Number.MAX_SAFE_INTEGER};\n width: max-content;\n height: fit-content;\n visibility: hidden;\n background-color: white;\n color: #000;\n border: 1px solid rgb(194, 194, 194);\n border-radius: 5px;\n padding: 5px 10px;\n position: fixed;\n max-width: 300px;\n max-height: 100vh;\n box-shadow: 0 1px 5px rgba(0,0,0,.28);\n font-size: 14px;\n }\n\n .cl-tooltip-text[cl-tooltip-position='top']:before {\n content: "";\n position: absolute;\n top: 100%;\n left: calc(50% - 13px);\n border-width: 12px;\n border-style: solid;\n border-color: rgb(194, 194, 194) transparent transparent transparent;\n }\n \n .cl-tooltip-text[cl-tooltip-position='top']:after {\n content: "";\n position: absolute;\n top: 100%;\n left: calc(50% - 5px);\n margin-left: -8px;\n margin-top: -2px;\n border-width: 12px;\n border-style: solid;\n border-color: white transparent transparent transparent;\n }\n\n .cl-tooltip-text[cl-tooltip-position='bottom']:before {\n content: "";\n position: absolute;\n top: -24px;\n left: calc(50% - 9px);\n border-width: 12px;\n border-style: solid;\n border-color: transparent transparent rgb(194, 194, 194) transparent;\n }\n \n .cl-tooltip-text[cl-tooltip-position='bottom']:after {\n content: "";\n position: absolute;\n top: -22px;\n left: calc(50% - 4px);\n margin-left: -5px;\n margin-bottom: -2px;\n border-width: 12px;\n border-style: solid;\n border-color: transparent transparent white transparent;\n }\n`;function Z(e,t,n,o){let r;o=o||document,e.classList.add("invalid"),t.style.visibility="visible",t.onmouseenter=()=>{(function(e){if((e=e||document).head.querySelector(`#${K}`))return;const t=document.createElement("style");t.setAttribute("id",K),Q({element:t,html:q}),e.head.appendChild(t)})(o),r=function(e){const t="cl-overlay-tooltip-text",n=document.getElementById(t)||document.createElement("div");return n.classList.add("cl-tooltip-text"),n.textContent!==e&&(n.textContent=e,n.style=null),n.id||(n.id=t),n}(n),o.body.append(r),r.style.visibility="visible",function(e){const{triggerElement:t,tooltipElement:n,offset:o=10,htmlDocumentObject:r}=e,i=function(e,t,n,o,r,i){const a=function(e,t,n,o,r){const i=function(e,t,n,o){const r=s.width(o),{right:i}=e.getBoundingClientRect(),a=r-n-i-s.scrollbarWidth(o);return{horizontalOffset:n,contentWidth:$(t).width,availableSpaceToTheLeftSideOfTheTrigger:i-n,availableSpaceToTheRightSideOfTheTrigger:a}}(e,t,n,r),a=function(e,t,n,o){const r=s.height(o),{top:i,bottom:a}=e.getBoundingClientRect();return{verticalOffset:n,contentHeight:$(t).height,availableSpaceAboveTriggerElem:i-n,availableSpaceBelowTriggerElem:r-a-n}}(e,t,n,r);let l="undefined";const c={bottom:a.availableSpaceBelowTriggerElem>=a.contentHeight,top:a.availableSpaceAboveTriggerElem>=a.contentHeight,right:i.availableSpaceToTheRightSideOfTheTrigger>=i.contentWidth,left:i.availableSpaceToTheLeftSideOfTheTrigger>=i.contentWidth};if(c.top?l="top":c.bottom?l="bottom":c.right?l="right":c.left&&(l="left"),c[o]&&(l=o),"undefined"===l){const e=Math.max(a.availableSpaceBelowTriggerElem,a.availableSpaceAboveTriggerElem,i.availableSpaceToTheRightSideOfTheTrigger,i.availableSpaceToTheLeftSideOfTheTrigger);e===a.availableSpaceBelowTriggerElem?l="bottom":e===a.availableSpaceAboveTriggerElem?l="top":e===i.availableSpaceToTheRightSideOfTheTrigger?l="right":e===i.availableSpaceToTheLeftSideOfTheTrigger&&(l="left")}return Object.assign(Object.assign(Object.assign({},a),i),{position:l})}(e,t,n,o,i=i||document);return function(e,t){const{marginBottom:n,marginTop:o}=window.getComputedStyle(t);if("top"===e.position)z(t,{"margin-top":`${parseInt(o,10)+parseInt(n,10)}px`}),z(t,{"margin-bottom":"0px"});else if("bottom"===e.position)z(t,{"margin-bottom":`${parseInt(n,10)+parseInt(o,10)}px`}),z(t,{"margin-top":"0px"});else{const e=(parseInt(n,10)+parseInt(o,10))/2+"px";z(t,{"margin-top":e,"margin-bottom":e})}}(a,t),{coordinates:H(a,e.getBoundingClientRect(),t.getBoundingClientRect(),r,i),position:a.position}}(t,n,o,"top",!0,r);n.setAttribute("cl-tooltip-position",i.position),z(n,i.coordinates)}({triggerElement:t,tooltipElement:r,htmlDocumentObject:o})},t.onmouseleave=()=>{r&&(r.remove(),function(e){const t=(e=e||document).head.querySelector(`#${K}`);t&&t.remove()}(o))}}function X(e){return[e.getConfig("appearanceLanguage"),e.getConfig("browserLanguage"),"en"].filter((e=>!!e))}function J(e,t){return t.reduce(((t,n)=>{if(t)return t;const o=function(e,t){if(!e)return null;if(t[e])return{translations:t[e],language:e};const n=function(e){return e.includes("-")?e.split("-")[0].toLowerCase():e.includes("_")?e.split("_")[0].toLowerCase():e}(e);return t[n]?{translations:t[n],language:n}:null}(n,e);return o||null}),null)}const Y="VIEW",ee="MODULE",te="CONTAINER",ne="INPUT",oe="BUTTON",re="CONSENT",ie="COLUMN",se="SUBSCRIBE_CONTACT",ae="REQUEST",le="SHOW_WIDGET",ce="OPEN_LINK",pe="CLOSE_WIDGET";class de{static sortActions(e){const t={[pe]:-1,[ce]:-2,[le]:1,[se]:2,[ae]:3},n=e=>void 0!==t[e.type]?t[e.type]:0;return[...e].sort(((e,t)=>n(e)>n(t)?-1:n(e)<n(t)?1:0))}constructor(e,t){this.config=e,this.actions=de.sortActions(t),this.listener=null,this.targetElements=[],this.eventsQueue=[],this.state=null,this.postponed=!1}activate(e,t,n){this.state=e;const o=n(),r=o.getAttribute(i("id"));this.listener=e=>{const t=e.composedPath().filter((e=>e instanceof HTMLElement&&e.getAttribute(i("type"))));let n=0;for(;t[n]&&t[n].getAttribute(i("id"))!==r;){let e=t[n].getAttribute(i("type"));if(de.IGNORING_VIEW_ENTRY_TYPES.includes(e))return;n++}this.eventsQueue.push({event:e}),this.postponed||this.execute()},this.targetElements=this.config.relativeSelector?Array.from((o.shadowRoot||o).querySelectorAll(this.config.relativeSelector)):[o],this.targetElements.forEach((e=>{e.addEventListener("click",this.listener)}))}async execute(){var e,t,n,o;try{for(var r,i=!0,s=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}}(this.eventsQueue);!(e=(r=await s.next()).done);){o=r.value,i=!1;try{const{event:e}=o;for(const t of this.actions)if(!await t.execute(this.state.getState(),e))break}finally{i=!0}}}catch(e){t={error:e}}finally{try{i||e||!(n=s.return)||await n.call(s)}finally{if(t)throw t.error}}this.eventsQueue=[]}postpone(){this.postponed=!0}release(){this.postponed=!1,this.execute()}destroy(){this.listener&&this.targetElements.length&&(this.targetElements.forEach((e=>{e.removeEventListener("click",this.listener)})),this.targetElements=[])}}de.IGNORING_VIEW_ENTRY_TYPES=[oe,re,ne];const he="CLICK",ue="COMPONENT_EVENT";class me{constructor(e,t){this.config=e,this.actions=t,this.componentEmitterListener=null}activate(e,t,n){this.componentEmitterListener=t.on(this.config.eventName,(()=>{this.actions.forEach((t=>t.execute(e.getState(),this.config.params)))}))}destroy(){this.componentEmitterListener&&this.componentEmitterListener.off()}}class ge{constructor(e,t){this.actionFactory=e,this.actionRegister=t}get(e){const t=e.actions.map((e=>this.actionFactory.get(e)));switch(t.forEach((e=>this.actionRegister.register(e))),e.type){case he:return new de(e,t);case ue:return new me(e,t);default:throw new Error(`Not supported handler type ${e.type}`)}}}class be{static generate(){let e,t="";for(let n=0;n<32;n++)8!==n&&12!==n&&16!==n&&20!==n||(t+="-"),e=Math.floor(16*Math.random()).toString(16).toUpperCase(),t+=e;return t}}class fe{constructor(){this.listeners=fe.createDefaultListenersState()}emit(e,t,n=null){const o=this.listeners[e];o&&Object.values(o).forEach((o=>o(t,e,n))),Object.values(this.listeners["*"]).forEach((o=>o(t,e,n)))}on(e,t){const n=be.generate(),o=this.listeners[e];return o?o[n]=t:this.listeners[e]={[n]:t},{off:()=>{var t,o;(null===(o=null===(t=this.listeners)||void 0===t?void 0:t[e])||void 0===o?void 0:o[n])&&delete this.listeners[e][n]}}}destroy(){this.listeners=fe.createDefaultListenersState()}}fe.createDefaultListenersState=()=>({"*":{}});const ye=(e,t,n,o)=>{const{addEventListenerBase:r,addEventListener:i}=EventTarget.prototype;(r||i).call(e,t,n,o)};class ve{constructor(e){this.state=e||{}}getState(){return this.state}setState(e){this.state=Object.assign(Object.assign({},this.state),e)}destroy(){}}class Ee{static extract(e){const t=e.views.map((e=>{const t=e.children.map((e=>e.type===ee?Object.assign(Object.assign({},e),Ee.moduleToContainerParams):e));return Object.assign(Object.assign({},e),{children:t})}));return Object.assign(Object.assign({},e),{views:t})}static sort(e,t){return e.index>t.index?1:-1}static reIndex(e,t){return Object.assign(Object.assign({},e),{index:t+e.index})}}Ee.moduleToContainerParams={name:"SysContainerComponent",version:"1.0.0"};class Oe extends fe{constructor(e,t){super(),this.config=t,this.handleMobileBreakpoint(e.getShared().mobileBreakpointWidth),e.on("ENVIRONMENT_UPDATE",(({isMobileEnv:e})=>{this._isMobile=e,this.emit(Oe.changeEventName,this._isMobile)}))}handleMobileBreakpoint(e){this.mobileBreakpointWidth=e;const t=Number.isInteger(this.mobileBreakpointWidth)?`${this.mobileBreakpointWidth}px`:this.mobileBreakpointWidth;this.mediaQueryList=window.matchMedia(`(max-width: ${t})`),this.mediaQueryList.addListener(this.listener.bind(this)),this._isMobile=this.mediaQueryList.matches,this.emit(Oe.changeEventName,this._isMobile)}isMobile(){return this.config.forceMobileEnv||this._isMobile}listener(e){this._isMobile=e.matches,this.emit(Oe.changeEventName,this._isMobile)}destroy(){super.destroy(),this.mediaQueryList.removeListener(this.listener.bind(this))}}Oe.changeEventName="CHANGE";class Se{static set(e,t){const n=e[Se.accumulatorPropertyName]||{};e[Se.accumulatorPropertyName]=Object.assign(Object.assign({},n),t.styleAttributes),Object.keys(e[Se.accumulatorPropertyName]).forEach((n=>{n.includes("--")?e.style.setProperty(n,t.styleAttributes[n]||""):e.style[n]=t.styleAttributes[n]?t.styleAttributes[n]:""}))}}Se.accumulatorPropertyName="clStyleAttributes";const ke="CONTENT_LOCKER";class Te{static applyHostStyles(e,t,n=null,o){var r,i,s;const a=null===(i=null===(r=null==n?void 0:n.props)||void 0===r?void 0:r.handlers)||void 0===i?void 0:i.find((e=>"CLICK"===e.type));a&&(null===(s=a.actions)||void 0===s?void 0:s.length)&&(t.style.cursor="pointer"),e!==Y&&e!==te&&e!==ie||(t.style.display=o===ke&&e===Y?"flex":"inline-flex",t.style.position="relative"),t.style.boxSizing="border-box"}constructor(){this.styles="/* common styles */ *, *:before, *:after { box-sizing: border-box; font-family: inherit; }"}setStyles(e=""){this.styles=`${this.styles} ${e}`}getStyles(){return this.styles}}class xe{static log(e){window.scriptLog09u8y9?scriptLog09u8y9("ERROR","RUNTIME_ERROR",new Error(e)):console.error(e)}}class Ce{constructor(e,t,n,o,r,i){this.hostElement=t,this.documentModel=e,this.getSharedCb=n,this.getPropsCb=o,this.getEnvCb=r,this.httpClient=i,this.subscription=null,this.envUrlMaps={desktop:new Map,mobile:new Map}}parseBackground(e){const t=String(e||"");if(t.includes("url")){const[e,n]=t.split("(")[1].split(")");return{url:e.replace(/['"]+/g,""),positionOptions:n.replace(";","")}}return{url:null,positionOptions:null}}apply(e){const t=this.getPropsCb();return t.backgroundDynamicInlineSVGElements[e].forEach((n=>{var o,r,i,s,a;const l=null===(r=null===(o=t.adaptiveStyles)||void 0===o?void 0:o[e])||void 0===r?void 0:r.find((e=>e.element===n)),c=(null===(i=t.styles)||void 0===i?void 0:i.find((e=>e.element===n)))||{},p=(null===(s=null==c?void 0:c.styleAttributes)||void 0===s?void 0:s.background)||(null===(a=null==l?void 0:l.styleAttributes)||void 0===a?void 0:a.background),d=this.parseBackground(p);d.url&&this.envUrlMaps[e].set(n,{originalSVGResourceURL:d.url,inlineSvgString:null,positionOptions:d.positionOptions})})),Promise.all([...this.envUrlMaps[e].entries()].map((([t,n])=>this.httpClient.execute(n.originalSVGResourceURL).then((e=>e.text())).then((o=>{this.envUrlMaps[e].set(t,Object.assign(Object.assign({},n),{inlineSvgString:o}))}))))).then((()=>{this._applyHostElementBackground(this.envUrlMaps[e].get("host"),this.getSharedCb().cssVars)})).catch((e=>{console.error(e),xe.log(`Failed to load/apply backgroundDynamicInlineSVGElements[${this.getPropsCb().backgroundDynamicInlineSVGElements}] ${e}`)}))}on(){return this.subscription=this.documentModel.on("COLOR_SCHEMA_UPDATE",(e=>{this._applyHostElementBackground(this.envUrlMaps[this.getEnvCb()].get("host"),e)})),this}_applyHostElementBackground(e,t){e&&(this.hostElement.style.background=this._buildBackgroundUrl(e,t))}_buildBackgroundUrl(e,t){const n=e.inlineSvgString.trim().replace("var(--cl-schema-accent)",t["cl-schema-accent"]);return`url('data:image/svg+xml,${encodeURIComponent(n)}')${e.positionOptions}`}off(){var e;null===(e=this.subscription)||void 0===e||e.off()}}const Re=new class{execute(e,t,n=null,o,r){const i={method:t,headers:Object.assign({"Content-Type":"text/plain"},o||{}),credentials:"same-origin",body:null,signal:r};return n&&(i.body="string"==typeof n?n:JSON.stringify(n)),fetch(e,i)}};function Ae(e,t){return Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,n)=>Object.assign(Object.assign({},t),{[n]:e[n]})),{})}class we{static camelCaseToDashCase(e){return e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))}static camelCaseToUpperSnakeCase(e){return e.replace(/[A-Z]/g,(e=>"_"+e)).toUpperCase()}}class Ie{constructor(e){this._count=0,this.onUpdateCb=e}increment(){this._count++,this.onUpdateCb(this.count())}decrement(){this._count>0&&this._count--,this.onUpdateCb(this.count())}count(){return this._count}}const _e="COMPONENT_RESOURCES_LOADED",Le="FAILED_TO_LOAD_COMPONENT_RESOURCE";class Pe{constructor(e,t,n){this.getPending=()=>this.counters.pending,this.onCounterStateUpdate=e=>{0===e&&this.systemEventEmitter.emit(_e,this.componentId)},this.onResourceLoadFailure=e=>{this.isStaticEntryModule?this.systemEventEmitter.emit(Le,`Failed to load: ${e}`):this.counters.pending.decrement()},this.componentId=e,this.systemEventEmitter=t,this.isStaticEntryModule=n,this.counters={pending:new Ie(this.onCounterStateUpdate)}}}const Ne=(...e)=>{let t=e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:[]})),{});return{get:e=>t[e],clear:()=>Ne(...e)}},je=Ne,Me="props",Ue="shared",De="environment";function Be(e,t,n,o){const r=e=>{let i=e instanceof DocumentFragment||(null==e?void 0:e.nodeType)===Node.DOCUMENT_FRAGMENT_NODE?e.host:e;return i&&(o&&"function"==typeof o?o(i.getAttribute(t)):(null===(s=null==i?void 0:i.getAttribute)||void 0===s?void 0:s.call(i,t))===n)?i:i&&i.parentNode&&r(i.parentNode)||null;var s};return r(e)}const Fe="SUBMIT";function ze(e,t){return t?(e.classes=`${e.classes||""} ${t.classes||""}`.trim(),Object.keys(t).forEach((n=>{"element"!==n&&"classes"!==n&&(t[n]&&"object"==typeof t[n]&&!Array.isArray(t[n])?e[n]=Object.assign(Object.assign({},e[n]||{}),t[n]):e[n]=t[n])})),e):e}function We(e,t,n){var o;return null===(o=e[t])||void 0===o?void 0:o.find((e=>e.element===n))}class $e extends Event{constructor(e,t,n){super(e,n),this.detail={},Object.defineProperty(this,"detail",{value:t})}}class He extends HTMLElement{constructor(){var e,t;super(),this.construct=()=>{let e;const t=this.getAttribute(i("id")),n=this.getWidgetContainerNode();if(!n)throw new Error("Widget container not found in construct");const o=n.closest(`[${i("widget-id")}]`);let r;o&&(r=o.getAttribute(i("widget-id")));let s=new $e("cl-props-request",{nodeName:this.nodeName,path:this.getAttribute(i("path")),id:t,widgetId:r},{bubbles:!0,composed:!0});this.dispatchEvent(s),e=s.detail.props,Object.assign(this,e),this.observers=je(Me,Ue,De),this.subscriptions=new class{constructor(){this.subscriptions=[]}push(e){this.subscriptions.push(e)}off(){this.subscriptions.forEach((e=>null==e?void 0:e.off()))}},this.state=new ve,this.componentEventEmitter=new fe,this.componentResourceManager=new Pe(this.model.id,this.services.eventEmitter,"STATIC"===this.services.config.getConfig("entryModuleType")),this.mergeTagsProcessor=this.services.mergeTagsProcessorFactory.create(),this._actionFactory=this.services.actionFactory,this._handlerFactory=new ge(this._actionFactory,this.services.actionRegister),this.prevProps=this.model.props,this.prevEnvironment=this.getEnvironment(),this.documentModel.on(`COMPONENT_PROPS_UPDATE_${this.model.id}`,(e=>{this.model.props=e,this.observers.get(Me).forEach((t=>t(this.prevProps,e))),this.prevProps=e;const t=this.getHostElement(),n=i("floating");e.floating&&!t.getAttribute(n)?t.setAttribute(n,"true"):!e.floating&&t.getAttribute(n)&&t.removeAttribute(n)})),this.documentModel.on(`COMPONENT_UPDATE_${this.model.id}`,(e=>{Object.assign(this.model,e)})),this.documentModel.on("SHARED_UPDATE_ALL",(()=>{this.applyAutoAdaptiveStyles(this.prevProps.adaptiveStyles,this.prevProps.styles),this.observers.get(Ue).forEach((e=>e(this.getShared())))})),this.model.props.backgroundDynamicInlineSVGElements&&(this.colorSchemaListener=new Ce(this.documentModel,this.getHostElement(),(()=>this.getShared()),(()=>this.model.props),(()=>this.getEnvironment()),Re),this.colorSchemaListener.apply(this.getEnvironment()).then((()=>{this.subscriptions.push(this.colorSchemaListener.on())}))),this.prevProps.adaptiveStyles&&this.subscriptions.push(this.resizeListener.on(Oe.changeEventName,(()=>{this.applyAutoAdaptiveStyles(this.prevProps.adaptiveStyles,this.prevProps.styles);const e=this.getEnvironment();this.observers.get(De).forEach((t=>t(this.prevEnvironment,e))),this.prevEnvironment=e})))},this.attachHandlers=()=>{this.getHandlers().map((e=>this._handlerFactory.get(e))).map((e=>()=>e.activate(this.state,this.componentEventEmitter,this.getHostElement.bind(this)))).forEach((e=>e()))},this.postponeHandlers=()=>{var e;null===(e=this.handlers)||void 0===e||e.forEach((e=>e.postpone()))},this.releaseHandlers=()=>{var e;null===(e=this.handlers)||void 0===e||e.forEach((e=>e.release()))},this.getProps=()=>{var e;return null===(e=this.getModel())||void 0===e?void 0:e.props},this.getShared=()=>this.documentModel.getShared(),this.getEnvironment=()=>this.resizeListener.isMobile()?"mobile":"desktop",this.getRootElement=()=>this.shadowRoot?this.shadowRoot:this,this.getHostElement=()=>this,this.observeProps=e=>{this.observers.get(Me).push(e),e(null,this.prevProps)},this.observeShared=e=>{this.observers.get(Ue).push(e),e(this.getShared())},this.observeEnvironment=e=>{this.observers.get(De).push(e),e(null,this.getEnvironment())},this.getElements=()=>[this.getHostElement(),...Array.from(this.getRootElement().querySelectorAll(`[${i("element")}]`)).filter((e=>!e.hasAttribute(i("component"))))],this.getElement=(e,t)=>this.getElements().find((n=>t?n.getAttribute(i("element"))===e&&n.id===t:n.getAttribute(i("element"))===e)),this.applyAutoAdaptiveStyles=(e,t)=>{if(!e&&!t)return;const n=this.getElements();if(!n.length)return;e=function(e,t){if(!t)return e||{desktop:[],mobile:[]};const n=JSON.parse(JSON.stringify(e||{desktop:[],mobile:[]}));return t.forEach((e=>{const t=e.element;let o=!1,r=!1;n.desktop&&n.desktop.forEach((n=>{n.element===t&&(ze(n,e),o=!0)})),n.mobile&&n.mobile.forEach((n=>{n.element===t&&(ze(n,e),r=!0)})),!o&&n.desktop&&n.desktop.push(JSON.parse(JSON.stringify(e))),!r&&n.mobile&&n.mobile.push(JSON.parse(JSON.stringify(e)))})),n}(e,t);const o=i("type"),r="element-styles";let s=this.getRootElement().querySelector(`style[${o}="${r}"]`);s||(s=document.createElement("style"),s.setAttribute(o,r),this.getRootElement().appendChild(s)),Q({element:s,html:""}),n.forEach((t=>{let n=t.getAttribute(i("element"));const o=this.getEnvironment();let r=We(e,o,n);if(r){if(this.resizeListener.isMobile()){const t=We(e,"desktop",n);t&&(r=Object.assign(Object.assign({},r),{styleAttributes:Object.assign(Object.assign({},t.styleAttributes),r.styleAttributes)}))}this.applyStylesToElement(t,this.applySharedClassesToElementModel(r),s)}})),this._addLinkColor(s,this.getShared())},this.registerComponentResourceManagement=()=>{this.viewResourceManager.registerComponent(this.model.id,this.componentResourceManager)},this.applyStyles=(e,t={})=>{if(!e||!e.style)return!1;for(const[n,o]of Object.entries(t))e.style[n]=o;return!0},this.applyStylesToElement=(e,t,n)=>{var o,r;const s=[];"host"===(t=He._resolveTogglableStylesForElementModel(t)).element&&(Te.applyHostStyles(this.model.type,e,null,this.layoutType),("desktop"===this.getEnvironment()&&(null===(o=this.model.props.backgroundDynamicInlineSVGElements)||void 0===o?void 0:o.desktop)||"mobile"===this.getEnvironment()&&(null===(r=this.model.props.backgroundDynamicInlineSVGElements)||void 0===r?void 0:r.mobile))&&(this.colorSchemaListener.apply(this.getEnvironment()),s.push("background")));let a=t.styleAttributes.background,l=a&&a.match(/url\("([^"]*)"\)/);if(this.manifest.waitForResourcesLoad&&l){this.componentResourceManager.getPending().increment();const e=new Image;e.src=l[1],ye(e,"load",(()=>{this.componentResourceManager.getPending().decrement()})),ye(e,"error",(()=>{this.componentResourceManager.onResourceLoadFailure(e.src),"UPDATING"===this.services.config.getConfig("entryModuleType")&&this.componentResourceManager.getPending().decrement()}))}const c=Object.assign(Object.assign({},t),{styleAttributes:Ae(t.styleAttributes,s)});if(Se.set(e,c),this._setClassAttributes(e,t),n){if(t.hoverStyleAttributes){let o=Object.assign({},t.hoverStyleAttributes);if("FILL_UP"===t.hoverAnimationType){e.style.boxShadow="inset 0px 0px 0px 0px rgb(0, 0, 0, 0)",e.style.overflow="hidden";const n=e.tagName.toLowerCase(),r=`flip-up-animation-${t.element}`;let i=this.getRootElement().querySelector(`#${r}`);i||(i=document.createElement("style"),i.id=r,e.appendChild(i)),Q({element:i,html:`\n ${n}::before {\n content: '';\n background: ${o.background};\n position: absolute;\n left: 0;\n top: ${e.getBoundingClientRect().height}px;\n height: ${e.getBoundingClientRect().height}px;\n width: 100%;\n z-index: -10;\n }\n ${n}:hover::before {\n top: 0;\n transition: 0.3s;\n }\n `}),o=Object.assign(Object.assign({},t.hoverStyleAttributes),{background:"transparent",position:"relative"})}o.borderTopWidth&&"0px"!==o.borderTopWidth||delete o.borderTopColor,o.borderBottomWidth&&"0px"!==o.borderBottomWidth||delete o.borderBottomColor,o.borderLeftWidth&&"0px"!==o.borderLeftWidth||delete o.borderLeftColor,o.borderRightWidth&&"0px"!==o.borderRightWidth||delete o.borderRightColor,this._addStylesToStyleElement(n,t.element,o,`:not(.${i("no-hover")}):hover`,!0)}t.placeholderStyleAttributes&&this._addStylesToStyleElement(n,t.element,t.placeholderStyleAttributes,"::placeholder"),this._addFontStylesToStyleElement(n,this.getShared()),this.stylesAppliedToElement(e,t,n)}},this._fixMarginOverflow=e=>{const t=this.getParentComponent(),n=t&&("flex"===t.style.display||"inline-flex"===t.style.display),o="host",r=e.getAttribute(i("element"))===o;if(!n||!r)return;const s=this.getProps(),a=this.getEnvironment(),{styleAttributes:l}=We(s.adaptiveStyles,a,o)||{};if(!l)return;const c=l.marginLeft||l.marginRight,p="100%"===l.width;if(c&&p){const t=(parseFloat(l.marginLeft)||0)+(parseFloat(l.marginRight)||0);t&&setTimeout((()=>{e.style.width=`calc(100% - ${t}px)`}))}},this.applySharedClassesToElementModel=e=>function(e,t){let n=e;return(n.classes||"").split(" ").filter((e=>e.startsWith(o))).forEach((e=>{var o;let r=null===(o=t.textClasses)||void 0===o?void 0:o[e];r&&(r.styleAttributes.fontFamily||(r.isHeader&&t.headerFontFamily&&(r=Object.assign(Object.assign({},r),{styleAttributes:Object.assign(Object.assign({},r.styleAttributes),{fontFamily:t.headerFontFamily})})),!r.isHeader&&t.textFontFamily&&(r=Object.assign(Object.assign({},r),{styleAttributes:Object.assign(Object.assign({},r.styleAttributes),{fontFamily:t.textFontFamily})}))),n=Object.assign(Object.assign({},n),{styleAttributes:Object.assign(Object.assign({},n.styleAttributes),r.styleAttributes),placeholderStyleAttributes:Object.assign(Object.assign({},n.placeholderStyleAttributes),r.placeholderStyleAttributes)}))})),n.styleAttributes.fontFamily||(n=Object.assign(Object.assign({},n),{styleAttributes:Object.assign(Object.assign({},n.styleAttributes),{fontFamily:t.textFontFamily})})),n}(e,this.documentModel.getShared()),this.getModel=()=>this.model,this._addStylesToStyleElement=(e,t,n,o="",r)=>{const s=Object.keys(n).reduce(((e,t)=>e+` ${we.camelCaseToDashCase(t)}: ${n[t]}${r?" !important;":";"}`),"");Q({element:e,html:`[${i("element")}="${t}"]${o} { ${s} }`,appendHtml:!0})},this._addFontStylesToStyleElement=(e,t)=>{Q({element:e,html:`[cl-type] {font-family:${t.textFontFamily||"inherit"}}`,appendHtml:!0})},this._addLinkColor=(e,t)=>{var n,o,r,i;t.linkColor&&Q({element:e,html:`a {color: ${t.linkColor}}, a:visited {color: ${t.linkColor}}`,appendHtml:!0}),(null===(n=t.linkParams)||void 0===n?void 0:n.color)&&Q({element:e,html:`a {color: ${null===(o=t.linkParams)||void 0===o?void 0:o.color}}, a:visited {color: ${null===(r=t.linkParams)||void 0===r?void 0:r.color}}`,appendHtml:!0}),(null===(i=t.linkParams)||void 0===i?void 0:i.removeUnderline)&&Q({element:e,html:"a {text-decoration: none}, a:visited {text-decoration: none}",appendHtml:!0})},this._setClassAttributes=(e,t)=>{Array.from(e.classList).filter((e=>e!==r("hovered")&&e!==r("focused"))).forEach((t=>{t.startsWith(o)&&e.classList.remove(t)}));const n=((e.getAttribute("class")||"")+" "+t.classes).trim();e.setAttribute("class",n)},this.getParentComponent=()=>Be(this.parentNode,i("element"),"host"),this.getWidgetContainerNode=()=>{const e=null==this?void 0:this.getAttribute(i("path"));return e&&1===e.split(",").length?this.parentNode:Be(this.parentNode,i("path"),void 0,(e=>e&&1===e.split(",").length))},this.getWidgetLanguages=()=>X(this.services.config),this.getPreferredWidgetLanguage=()=>this.getWidgetLanguages()[0],this.getTranslationsMap=e=>J(e,this.getWidgetLanguages()),this.stylesAppliedToElement=(e,t,n)=>{},this.updateContext=()=>{var e;const t=this.getModel();this.services.context.updateRecord(t.id,{label:this.getContextRecordLabel(t.props),viewIndex:null===(e=t.path)||void 0===e?void 0:e[0]})},this.addContextRecord=()=>{var e;const t=this.getModel();this.services.context.addRecord(t.id,{recordKey:t.id,id:t.props.control.name,label:this.getContextRecordLabel(t.props),value:t.props.control.defaultValue||"",viewIndex:null===(e=t.path)||void 0===e?void 0:e[0],sourceId:"FORM",initialData:{fallbackValue:"",exampleValue:this.getContextRecordExampleValue(t.props)}})},this.getContextRecordLabel=e=>{var t,n;const o=e.control.name;if(["email","first_name","last_name"].includes(o))return o.toUpperCase();if(e.content.label&&(null===(n=null===(t=e.adaptiveStyles.desktop.find((e=>"label"===e.element)))||void 0===t?void 0:t.params)||void 0===n?void 0:n.enabled)){const t=(new DOMParser).parseFromString(e.content.label,"text/html");return this.capitalizeFirstLetter(t.body.textContent||"")}return e.content.placeholder?this.capitalizeFirstLetter(e.content.placeholder):e.control.integrationName?this.capitalizeFirstLetter(e.control.integrationName).replace(new RegExp("_","g")," "):void 0},this.capitalizeFirstLetter=e=>e.charAt(0).toUpperCase()+e.slice(1),this.getContextRecordExampleValue=e=>{switch(e.control.name){case"email":return"myemail@example.com";case"first_name":return"Maria";case"last_name":return"Taylor";default:return this.getContextRecordLabel(e)}},this.completeSubmitAction=e=>{const t=e||{},n=this.services.actionRegister.getRegisteredActions().find((e=>e.category===Fe));n?null==n||n.execute(void 0,void 0,!0,t):this.services.actionFactory.get({type:ae}).execute(void 0,void 0,!0,t)},this.getHandlers=()=>this.getProps().handlers&&this.getProps().handlers.length?[...this.getProps().handlers]:[],this.assets=(e="")=>`${this.services.config.getConfig("staticResourcesUrl").replace(/\/$/,"")}/${this.manifest.name}/assets${e?`/${e}`:""}`,this.attachShadow({mode:"open"}),this.manifest=this.manifest||(null===(e=this.define)||void 0===e?void 0:e.manifest)||(null===(t=this.constructor.define)||void 0===t?void 0:t.manifest)}connectedCallback(){this.construct(),this.registerComponentResourceManagement(),Promise.resolve().then((()=>{this.attachHandlers()}))}disconnectedCallback(){var e;this.observers.clear(),this.subscriptions.off(),this.state.destroy(),this.componentEventEmitter.destroy(),null===(e=this.mergeTagsProcessor)||void 0===e||e.destroy()}static _resolveTogglableStylesForElementModel(e){const t=Object.assign({},e);return Object.keys(t).forEach((e=>{e.toLowerCase().includes("styleattributes")&&(t[e]=He._resolveTogglableStyles(t[e]))})),t}static _resolveTogglableStyles(e){const t=Object.assign({},e),n=(e,n,o)=>{n in t&&(e.forEach((e=>{e in t&&(t[e]=t[n]?t[e]:o)})),delete t[n])};return n(["marginTop","marginBottom","marginLeft","marginRight"],"_marginEnabled","0px"),n(["paddingTop","paddingBottom","paddingLeft","paddingRight"],"_paddingEnabled","0px"),t}}const Ge=Symbol("required");var Ve=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Qe(){}const Ke="pending",qe="valid",Ze="invalid";class Xe extends He{constructor(){super(...arguments),this._createControl=(e={},...t)=>{var{element:n}=e,o=Ve(e,["element"]);const r=this.getProps(),i=this.getModel(),s=Object.assign(Object.assign(Object.assign({},r.control),{componentId:i.id,viewIdx:i.path[0]}),o),a=this.services.form,l=[s,n,...t];return a.hasControl(r.control.name)?a.updateControl(...l):a.registerControl(...l)},this.createControlWithValidation=(e=[],t={})=>{var{element:n=this.getElement("input"),tooltipElement:o=this.getRootElement().querySelector(".input-tooltip"),validCallback:r=Qe,invalidCallback:i=Qe,pendingCallback:s=Qe,elementToListen:a=n,validationMap:l={},listenStatusChange:c=!0}=t,p=Ve(t,["element","tooltipElement","validCallback","invalidCallback","pendingCallback","elementToListen","validationMap","listenStatusChange"]);if(o&&(o.style.visibility="hidden"),!e||!Array.isArray(e))throw new Error("Validators should be an array");const d=this.getProps().control.validation,h=l[null==d?void 0:d.validator],u=e.some((e=>e[Ge])),m=!!(null==d?void 0:d.required),g=m||u,b=[...e];m&&!u&&b.unshift(function(e="REQUIRED"){const t=t=>{let n;switch(typeof t){case"string":n=t&&t.length>0;break;case"boolean":n=t;break;case"number":n=!isNaN(t);break;default:n=!!t}return{isValid:n,errorKey:n?null:e}};return t[Ge]=!0,t}()),h&&b.push(h);const f=this._prepareAsyncValidators(b),y=this._createControl({element:n,validation:{validator:"custom",required:g}},void 0,f);return c&&this._handleControlStatusChange(Object.assign({control:y,element:a,tooltipElement:o,configService:this.services.config,i18n:this.manifest.i18n,validCallback:r,invalidCallback:i,pendingCallback:s},p)),y},this._prepareAsyncValidators=(e=[])=>e.reduce(((e,t,n)=>"function"!=typeof t?(console.warn(`Validator ${n} should be a function, so it will be skipped`),e):(e[`custom_${n}`]=async(...e)=>{const n=await Promise.resolve(t(...e));return"object"==typeof n&&"isValid"in n?Object.assign(Object.assign({},n),{errorKey:n.isValid?null:n.errorKey}):{isValid:!1,errorKey:"INVALID_VALIDATOR_RESPONSE"}},e)),{}),this._handleControlStatusChange=e=>{e.control.on(t,(t=>{this._handleValidationStatus(e,t)})),e.control.on(n,(()=>{let t=Ke;switch(!0){case e.control.pending:t=Ke;break;case e.control.valid:t=qe;break;default:t=Ze}this._handleValidationStatus(e,t)}))},this._handleValidationStatus=(e,t)=>{const{control:n,element:o,tooltipElement:r,validCallback:i,invalidCallback:s,errorMessageMapper:a,pendingCallback:l}=e,c=this.services.config,p=this.manifest.i18n;switch(t){case qe:(function(e,t){e.classList.remove("invalid"),t.style.visibility="hidden"})(o,r),i&&i();break;case Ze:if(n.touched){const e=n.getErrorKeys();if(!e)break;const t=e[0];let i=function(e,t,n){const o=J(t,X(e)).translations,r=Object.keys(o).find((e=>e.includes(n)));return r?o[r]:n}(c,p,t);a&&(i=a(t,i)),Z(o,r,i,this.htmlDocumentObject),s&&s()}break;case Ke:n.touched&&(function(e,t){t.style.visibility="hidden",e.classList.contains("invalid")&&e.classList.remove("invalid")}(o,r),l&&l())}}}}const Je=new Map;Je.set("checkboxSize","inputSize"),Je.set("checkboxToTextGapSize","inputToTextGapSize");const Ye=Je;function et(e){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et(e)}function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach((function(t){lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ct(o.key),o)}}function rt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rt=function(){return!!e})()}function it(){return it="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=st(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},it.apply(null,arguments)}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},st(e)}function at(e,t){return at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},at(e,t)}function lt(e,t,n){return(t=ct(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ct(e){var t=function(e){if("object"!=et(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==et(t)?t:t+""}var pt=function(){function t(){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return lt(n=function(e,t,n){return t=st(t),function(e,t){if(t&&("object"==et(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,rt()?Reflect.construct(t,n||[],st(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"manifest",e),lt(n,"defaultCheckmarkStyleAttributes",{inputSize:"22px",inputToTextGapSize:"13px",selectedBackground:"rgb(255,255,255)",defaultBackground:"rgb(255,255,255)",backdropFilter:"none"}),lt(n,"updateCheckmark",(function(e){var t,o=n.getRootElement().querySelector(".checkmark");e?(o.classList.add("checkmark-checked"),t=n.getCheckmarkStyleAttributes("selectedBackground")):(o.classList.remove("checkmark-checked"),t=n.getCheckmarkStyleAttributes("defaultBackground")),o.style.background="".concat(t),o.style["backdrop-filter"]=n.getCheckmarkStyleAttributes("backdropFilter")})),lt(n,"getInputAdaptiveStyles",(function(){var e=n.getProps(),t=n.getEnvironment();return e.adaptiveStyles[t].filter((function(e){return"input"===e.element}))})),lt(n,"getCheckmarkStyleAttributes",(function(e){var t=n.getInputAdaptiveStyles();return t.length&&t[0].markerStyleAttributes?e?t[0].markerStyleAttributes[e]:t[0].markerStyleAttributes:t.length&&t[0].checkmarkStyleAttributes?e?t[0].checkmarkStyleAttributes[e]:t[0].checkmarkStyleAttributes.checkboxSize||t[0].checkmarkStyleAttributes.inputSize?t[0].checkmarkStyleAttributes:nt({inputSize:"22px",inputToTextGapSize:"16px"},t[0].checkmarkStyleAttributes):e?n.defaultCheckmarkStyleAttributes[e]:n.defaultCheckmarkStyleAttributes})),lt(n,"registerLabelControl",(function(e){var t=n.getProps(),o="".concat(t.control.name,"_label");if(!n.services.form.hasControl(o)){var r={name:o,defaultValue:e};n.services.form.registerControl(nt(nt({},r),{},{componentId:n.getModel().id,viewIdx:n.getModel().path[0]}),null)}})),lt(n,"setStylesVariables",(function(e){var t=n.getCheckmarkStyleAttributes();Object.keys(t).forEach((function(n){var o=Ye.get(n)||n;e.style.setProperty("--".concat(o),t[n])}))})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&at(e,t)}(t,Xe),n=t,o=[{key:"connectedCallback",value:function(){var e,n,o,r=this;(e=t,n=this,"function"==typeof(o=it(st(1&3?e.prototype:e),"connectedCallback",n))?function(e){return o.apply(n,e)}:o)([]),this.getRootElement().innerHTML+="\n ".concat('\n<style>\n.main-container {\n height: 100%;\n}\n\n.label-with-input-container {\n height: 100%;\n display: flex;\n flex-direction: row;\n}\n\n.input-with-tooltip {\n position: relative;\n display: flex;\n align-items: baseline;\n height: 100%;\n width: 100%;\n}\n\n.invalid {\n border: 1px solid #ff0000 !important;\n}\n\n.input-tooltip {\n visibility: hidden;\n position: absolute;\n right: -10px;\n top: -10px;\n z-index: 1;\n border-radius: 100%;\n width: 20px;\n height: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Chrome/Safari/Opera */\n -khtml-user-select: none; /* Konqueror */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n}\n\ninput {\n -moz-appearance:none;\n -webkit-appearance:none;\n -o-appearance:none;\n width: 24px;\n height: 24px;\n padding: 0 10px;\n margin: 0;\n}\n\n/* The container */\n.checkmark-container {\n display: block;\n position: relative;\n height: 25px;\n width: 25px;\n cursor: pointer;\n font-size: 22px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n/* Hide the browser\'s default checkbox */\n.checkmark-container input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n\n/* Create a custom checkbox */\n.checkmark {\n position: absolute;\n top: 0;\n left: 0;\n height: var(--inputSize, 22px);\n width: var(--inputSize, 22px);\n display: flex;\n align-items: center;\n justify-content: center;\n padding-bottom: 2px;\n}\n\n.checkmark:after {\n content: "";\n position: absolute;\n display: none;\n}\n\n.checkmark-checked:after {\n display: block;\n}\n\n.checkmark-container .checkmark:after {\n width: 9px;\n height: 14px;\n border: solid #000000;\n border-width: 0 3px 3px 0;\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n\n.label {\n margin: auto auto auto var(--inputToTextGapSize, 18px);\n flex: 1;\n height: auto;\n min-height: 10px;\n}\n\ninput:focus ~ .checkmark.focus-outline-defined {\n outline: var(--clFocusOutline);\n}\n\n</style>\n ','\n <div class="main-container">\n <div class="label-with-input-container">\n <div class="input-with-tooltip">\n <label class="checkmark-container">\n <input type="checkbox"\n name="fname">\n <span cl-element="input" class="checkmark"></span>\n </label>\n <div class="input-tooltip">\n <svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M1.5 13.0604C1.5 19.4116 6.6481 24.5605 13.0075 24.5605C19.353 24.5605 24.5 19.4107 24.5 13.0604C24.5 6.70865 19.3531 1.55909 13.0075 1.55908C6.64806 1.55908 1.5 6.7077 1.5 13.0604ZM12.9775 17.9668C12.7032 17.9668 12.4807 17.7443 12.4807 17.47C12.4807 17.1956 12.7032 16.9732 12.9775 16.9732C13.2519 16.9732 13.4743 17.1956 13.4743 17.47C13.4743 17.7443 13.2519 17.9668 12.9775 17.9668ZM12.9775 13.4764C12.7032 13.4764 12.4807 13.254 12.4807 12.9796L12.4807 8.48924C12.4807 8.21487 12.7032 7.99245 12.9775 7.99245C13.2519 7.99245 13.4743 8.21487 13.4743 8.48924L13.4743 12.9796C13.4743 13.254 13.2519 13.4764 12.9775 13.4764Z" fill="#FF0000" stroke="white" stroke-width="2"></path>\n </svg>\n </div>\n <div cl-element="label"\n cl-inline-edit="content, label"\n class="label">\n </div>\n </div>\n </div>\n </div>\n ');var i=this.getRootElement(),s=i.querySelector(".checkmark"),a=this.createControlWithValidation([],{element:i.querySelector("input"),validCallback:function(){s.classList.contains("invalid")&&s.classList.remove("invalid")},invalidCallback:function(){s.classList.contains("invalid")||s.classList.add("invalid")}});a.on("valueChanged",(function(e){r.updateCheckmark(e)})),this.updateCheckmark(!!a.getValue()),this.observeProps((function(e,t){r.applyAutoAdaptiveStyles(t.adaptiveStyles),Q({element:r.getRootElement().querySelector(".label"),html:t.content.label}),r.registerLabelControl(t.content.label),r.setStylesVariables(r.getHostElement());var n=r.getRootElement().querySelector(".checkmark-container");n.style.width=r.getCheckmarkStyleAttributes("inputSize"),n.style.height=r.getCheckmarkStyleAttributes("inputSize"),function(e){let t;const n=e,o=["transparent","initial"];e&&(e.style.borderColor&&!o.includes(e.style.borderColor)&&(parseFloat(e.style.borderWidth)||parseFloat(e.style.borderBottomWidth))&&(t=W(n,e,"borderColor")),!t&&e.style.getPropertyValue("--borderBottomColor")&&!o.includes(e.style.getPropertyValue("--borderBottomColor"))&&parseFloat(e.style.getPropertyValue("--borderBottomWidth"))&&(t=W(n,e,"--borderBottomColor")),t||!e.style.backgroundColor||o.includes(e.style.backgroundColor)||(t=W(n,e,"backgroundColor")),t||!e.style.color||o.includes(e.style.color)||(t=W(n,e,"color")),t||n.classList.remove("focus-outline-defined"))}(r.getElement("input"))}))}}],o&&ot(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}();lt(pt,"define",{name:"sys-consent",model:e.name,manifest:e});export{pt as default};window.clComponentClass_SysConsentComponent=pt;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.7809 4.52396C18.32 4.95522 18.4074 5.74184 17.9761 6.28091L10.9761 13.7809C10.7663 14.0432 10.4598 14.21 10.1256 14.2437C9.79149 14.2775 9.45781 14.1753 9.1998 13.9603L6.1998 11.4603C5.66945 11.0184 5.5978 10.2302 6.03975 9.69982C6.48171 9.16947 7.26992 9.09781 7.80026 9.53977L9.82059 11.2234L16.0239 4.71918C16.4552 4.1801 17.2418 4.0927 17.7809 4.52396Z" fill="#5F5F5F"/>
|
|
3
|
+
<path d="M13.9462 4H6C4.34315 4 3 5.34315 3 7V15C3 16.6569 4.34315 18 6 18H14C15.6569 18 17 16.6569 17 15V10.2581L15 12.4009V15C15 15.5523 14.5523 16 14 16H11.2504C10.9583 16.1217 10.6474 16.2013 10.3267 16.2337C9.78474 16.2884 9.2433 16.2057 8.74978 16H6C5.44772 16 5 15.5523 5 15V13.0639L4.91948 12.9968C3.54058 11.8478 3.35428 9.79842 4.50336 8.41952C4.65452 8.23813 4.82126 8.07738 5 7.93759V7C5 6.44772 5.44772 6 6 6H12.0387L13.9462 4Z" fill="#5F5F5F"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t={name:"SysContainerComponent",componentType:"CONTAINER",version:"1.0.0",contextMenuModel:[{type:"CONTROL",name:"COMPONENT_OPERATIONS"},{type:"CONTROL",name:"FOCUS_PARENT_COMPONENT",params:{hideForEntryType:"VIEW"}}],floatingControlsModel:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"SIZE",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"MARGIN",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"CONTAINER_PADDING",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"PARENT_ALIGNMENT",elementProp:"styleAttributes",element:"host"}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"SIZE",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"MARGIN",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"CONTAINER_PADDING",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"PARENT_ALIGNMENT",elementProp:"styleAttributes",element:"host"}]}],propertyPaneModel:{content:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"ALIGNMENT",elementProp:"styleAttributes",element:"host",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"SIZE",element:"host",elementProp:"styleAttributes",params:{width:{options:["fixed","fill","hug"]},height:{options:["fixed","fill","hug"]}},displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BACKGROUND",elementProp:"styleAttributes",element:"host",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'",syncSelectOptions:["SAME_TYPE_CROSS_ENV_WHILE_VALUES_MATCH",null]},{type:"CONTROL",name:"BACKDROP_FILTER",propPath:["styles","[element=host]","styleAttributes"],hideSyncSelect:!0,displayCondition:"return sdk.component.type === 'VIEW' ? (sdk.appConfig.allowBackdropFilterOnView ?? true) : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BORDERS",propPath:["styles","[element=host]","styleAttributes"],displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BOX_SHADOW",propPath:["styles","[element=host]","styleAttributes"],displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BORDER_RADIUS",propPath:["styles","[element=host]","styleAttributes"],displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"PADDING"},syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"MARGIN"},displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType === 'BUILT_IN' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"SWITCH",propPath:["styles","[element=host]","styleAttributes","overflow"],params:{label:"DOCUMENT_OVERFLOW_TITLE",boldLabel:!0,description:"DOCUMENT_OVERFLOW_ENABLED_DESCRIPTION",getValueMapper:{undefined:!1,"":!1,visible:!1,hidden:!0},setValueMapper:{true:"hidden",false:"visible"}},syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"ALIGNMENT",elementProp:"styleAttributes",element:"host",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"SIZE",element:"host",elementProp:"styleAttributes",params:{width:{options:["fixed","fill","hug"]},height:{options:["fixed","fill","hug"]}},displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BACKGROUND",elementProp:"styleAttributes",element:"host",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'",syncSelectOptions:["SAME_TYPE_CROSS_ENV_WHILE_VALUES_MATCH",null]},{type:"CONTROL",name:"BACKDROP_FILTER",propPath:["styles","[element=host]","styleAttributes"],hideSyncSelect:!0,displayCondition:"return sdk.component.type === 'VIEW' ? (sdk.appConfig.allowBackdropFilterOnView ?? true) : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BORDERS",propPath:["styles","[element=host]","styleAttributes"],displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BOX_SHADOW",propPath:["styles","[element=host]","styleAttributes"],displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"BORDER_RADIUS",propPath:["styles","[element=host]","styleAttributes"],displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType !== 'CONTENT_LOCKER' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"PADDING"},syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"MARGIN"},displayCondition:"return sdk.component.type === 'VIEW' ? sdk.layoutType === 'BUILT_IN' : true",syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"},{type:"CONTROL",name:"SWITCH",propPath:["styles","[element=host]","styleAttributes","overflow"],params:{label:"DOCUMENT_OVERFLOW_TITLE",boldLabel:!0,description:"DOCUMENT_OVERFLOW_ENABLED_DESCRIPTION",getValueMapper:{undefined:!1,"":!1,visible:!1,hidden:!0},setValueMapper:{true:"hidden",false:"visible"}},syncSelectDisplayCondition:"return sdk.widgetType !== 'TEASER'"}]}],general:[{type:"CONTROL",name:"ACTIONS",propPath:["handlers"],params:{origin:!0},displayCondition:"return sdk.widgetType !== 'TEASER'"}]},events:{dispatch:[],listen:[]},i18nPropertyPaneModel:{content:[{type:"CONTROL",name:"ACTIONS",propPath:["handlers"],params:{origin:!1},displayCondition:"return sdk.widgetType !== 'TEASER'"}]},i18nPropPaths:["handlers,[id],actions,[id],params,link","handlers,[id],actions,[id],params,customData"],props:{styles:[{element:"host",styleAttributes:{overflow:"visible",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopWidth:"0px",borderTopColor:"rgb(0, 0, 0)",borderBottomWidth:"0px",borderBottomColor:"rgb(0, 0, 0)",borderLeftWidth:"0px",borderLeftColor:"rgb(0, 0, 0)",borderRightWidth:"0px",borderRightColor:"rgb(0, 0, 0)",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",boxShadow:"none"},classes:""}],adaptiveStyles:{desktop:[{element:"host",styleAttributes:{position:"relative",width:"100%",minWidth:"min-content",height:"auto",minHeight:null,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"10px",paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",_paddingEnabled:!0,marginTop:"0px",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",_marginEnabled:!1,background:"rgba(0, 0, 0, 0.06)"},classes:""}],mobile:[{element:"host",styleAttributes:{position:"relative",width:"100%",minWidth:"min-content",height:"auto",minHeight:null,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"10px",paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",_paddingEnabled:!0,marginTop:"0px",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",_marginEnabled:!1,background:"rgba(0, 0, 0, 0.06)"},classes:""}]}},metaDescription:{icon:"/SysContainerComponent/assets/img/container-component-icon.svg",label:{en:"Container",ru:"Контейнер",uk:"Контейнер",es:"Envase",fr:"Récipient",de:"Container",it:"Contenitore",pt:"Embalagem",ro:"Container",bg:"Контейнер",cs:"Kontejner",el:"Περιέκτης",nl:"Container",pl:"Kontener",sv:"Behållare",tr:"Konteyner",ar:"الحاوية",zh:"容器",da:"Beholder",he:"קונטיינר",fi:"Säiliö",hi:"कंटेनर",hr:"Kontejner",hu:"Tárhely",id:"Kontainer",ja:"コンテナ",ko:"컨테이너",no:"Container",sk:"Krabica",sl:"Rezervoar",sr:"Kontejner"}},waitForResourcesLoad:!0,resourcesPropPaths:[["adaptiveStyles",":ENV","styleAttributes","background"]]},e="cl-";function n(t){return e+t}function i(t){return"cl-"+t}const s="VIEW",o="MODULE",r="CONTAINER",l="INPUT",a="BUTTON",c="CONSENT",p="COLUMN",u="SUBSCRIBE_CONTACT",d="REQUEST",h="SHOW_WIDGET",m="OPEN_LINK",y="CLOSE_WIDGET";class g{static sortActions(t){const e={[y]:-1,[m]:-2,[h]:1,[u]:2,[d]:3},n=t=>void 0!==e[t.type]?e[t.type]:0;return[...t].sort(((t,e)=>n(t)>n(e)?-1:n(t)<n(e)?1:0))}constructor(t,e){this.config=t,this.actions=g.sortActions(e),this.listener=null,this.targetElements=[],this.eventsQueue=[],this.state=null,this.postponed=!1}activate(t,e,n){this.state=t;const s=n(),o=s.getAttribute(i("id"));this.listener=t=>{const e=t.composedPath().filter((t=>t instanceof HTMLElement&&t.getAttribute(i("type"))));let n=0;for(;e[n]&&e[n].getAttribute(i("id"))!==o;){let t=e[n].getAttribute(i("type"));if(g.IGNORING_VIEW_ENTRY_TYPES.includes(t))return;n++}this.eventsQueue.push({event:t}),this.postponed||this.execute()},this.targetElements=this.config.relativeSelector?Array.from((s.shadowRoot||s).querySelectorAll(this.config.relativeSelector)):[s],this.targetElements.forEach((t=>{t.addEventListener("click",this.listener)}))}async execute(){var t,e,n,i;try{for(var s,o=!0,r=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,s){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,s,(e=t[n](e)).done,e.value)}))}}}(this.eventsQueue);!(t=(s=await r.next()).done);){i=s.value,o=!1;try{const{event:t}=i;for(const e of this.actions)if(!await e.execute(this.state.getState(),t))break}finally{o=!0}}}catch(t){e={error:t}}finally{try{o||t||!(n=r.return)||await n.call(r)}finally{if(e)throw e.error}}this.eventsQueue=[]}postpone(){this.postponed=!0}release(){this.postponed=!1,this.execute()}destroy(){this.listener&&this.targetElements.length&&(this.targetElements.forEach((t=>{t.removeEventListener("click",this.listener)})),this.targetElements=[])}}g.IGNORING_VIEW_ENTRY_TYPES=[a,c,l];const b="CLICK",f="COMPONENT_EVENT";class v{constructor(t,e){this.config=t,this.actions=e,this.componentEmitterListener=null}activate(t,e,n){this.componentEmitterListener=e.on(this.config.eventName,(()=>{this.actions.forEach((e=>e.execute(t.getState(),this.config.params)))}))}destroy(){this.componentEmitterListener&&this.componentEmitterListener.off()}}class E{constructor(t,e){this.actionFactory=t,this.actionRegister=e}get(t){const e=t.actions.map((t=>this.actionFactory.get(t)));switch(e.forEach((t=>this.actionRegister.register(t))),t.type){case b:return new g(t,e);case f:return new v(t,e);default:throw new Error(`Not supported handler type ${t.type}`)}}}class O{static generate(){let t,e="";for(let n=0;n<32;n++)8!==n&&12!==n&&16!==n&&20!==n||(e+="-"),t=Math.floor(16*Math.random()).toString(16).toUpperCase(),e+=t;return e}}class T{constructor(){this.listeners=T.createDefaultListenersState()}emit(t,e,n=null){const i=this.listeners[t];i&&Object.values(i).forEach((i=>i(e,t,n))),Object.values(this.listeners["*"]).forEach((i=>i(e,t,n)))}on(t,e){const n=O.generate(),i=this.listeners[t];return i?i[n]=e:this.listeners[t]={[n]:e},{off:()=>{var e,i;(null===(i=null===(e=this.listeners)||void 0===e?void 0:e[t])||void 0===i?void 0:i[n])&&delete this.listeners[t][n]}}}destroy(){this.listeners=T.createDefaultListenersState()}}T.createDefaultListenersState=()=>({"*":{}});const S=(t,e,n,i)=>{const{addEventListenerBase:s,addEventListener:o}=EventTarget.prototype;(s||o).call(t,e,n,i)};class C{constructor(t){this.state=t||{}}getState(){return this.state}setState(t){this.state=Object.assign(Object.assign({},this.state),t)}destroy(){}}class R{static extract(t){const e=t.views.map((t=>{const e=t.children.map((t=>t.type===o?Object.assign(Object.assign({},t),R.moduleToContainerParams):t));return Object.assign(Object.assign({},t),{children:e})}));return Object.assign(Object.assign({},t),{views:e})}static sort(t,e){return t.index>e.index?1:-1}static reIndex(t,e){return Object.assign(Object.assign({},t),{index:e+t.index})}}R.moduleToContainerParams={name:"SysContainerComponent",version:"1.0.0"};class A extends T{constructor(t,e){super(),this.config=e,this.handleMobileBreakpoint(t.getShared().mobileBreakpointWidth),t.on("ENVIRONMENT_UPDATE",(({isMobileEnv:t})=>{this._isMobile=t,this.emit(A.changeEventName,this._isMobile)}))}handleMobileBreakpoint(t){this.mobileBreakpointWidth=t;const e=Number.isInteger(this.mobileBreakpointWidth)?`${this.mobileBreakpointWidth}px`:this.mobileBreakpointWidth;this.mediaQueryList=window.matchMedia(`(max-width: ${e})`),this.mediaQueryList.addListener(this.listener.bind(this)),this._isMobile=this.mediaQueryList.matches,this.emit(A.changeEventName,this._isMobile)}isMobile(){return this.config.forceMobileEnv||this._isMobile}listener(t){this._isMobile=t.matches,this.emit(A.changeEventName,this._isMobile)}destroy(){super.destroy(),this.mediaQueryList.removeListener(this.listener.bind(this))}}A.changeEventName="CHANGE";class N{static set(t,e){const n=t[N.accumulatorPropertyName]||{};t[N.accumulatorPropertyName]=Object.assign(Object.assign({},n),e.styleAttributes),Object.keys(t[N.accumulatorPropertyName]).forEach((n=>{n.includes("--")?t.style.setProperty(n,e.styleAttributes[n]||""):t.style[n]=e.styleAttributes[n]?e.styleAttributes[n]:""}))}}N.accumulatorPropertyName="clStyleAttributes";const L="CONTENT_LOCKER";class P{static applyHostStyles(t,e,n=null,i){var o,l,a;const c=null===(l=null===(o=null==n?void 0:n.props)||void 0===o?void 0:o.handlers)||void 0===l?void 0:l.find((t=>"CLICK"===t.type));c&&(null===(a=c.actions)||void 0===a?void 0:a.length)&&(e.style.cursor="pointer"),t!==s&&t!==r&&t!==p||(e.style.display=i===L&&t===s?"flex":"inline-flex",e.style.position="relative"),e.style.boxSizing="border-box"}constructor(){this.styles="/* common styles */ *, *:before, *:after { box-sizing: border-box; font-family: inherit; }"}setStyles(t=""){this.styles=`${this.styles} ${t}`}getStyles(){return this.styles}}class _{static log(t){window.scriptLog09u8y9?scriptLog09u8y9("ERROR","RUNTIME_ERROR",new Error(t)):console.error(t)}}class w{constructor(t,e,n,i,s,o){this.hostElement=e,this.documentModel=t,this.getSharedCb=n,this.getPropsCb=i,this.getEnvCb=s,this.httpClient=o,this.subscription=null,this.envUrlMaps={desktop:new Map,mobile:new Map}}parseBackground(t){const e=String(t||"");if(e.includes("url")){const[t,n]=e.split("(")[1].split(")");return{url:t.replace(/['"]+/g,""),positionOptions:n.replace(";","")}}return{url:null,positionOptions:null}}apply(t){const e=this.getPropsCb();return e.backgroundDynamicInlineSVGElements[t].forEach((n=>{var i,s,o,r,l;const a=null===(s=null===(i=e.adaptiveStyles)||void 0===i?void 0:i[t])||void 0===s?void 0:s.find((t=>t.element===n)),c=(null===(o=e.styles)||void 0===o?void 0:o.find((t=>t.element===n)))||{},p=(null===(r=null==c?void 0:c.styleAttributes)||void 0===r?void 0:r.background)||(null===(l=null==a?void 0:a.styleAttributes)||void 0===l?void 0:l.background),u=this.parseBackground(p);u.url&&this.envUrlMaps[t].set(n,{originalSVGResourceURL:u.url,inlineSvgString:null,positionOptions:u.positionOptions})})),Promise.all([...this.envUrlMaps[t].entries()].map((([e,n])=>this.httpClient.execute(n.originalSVGResourceURL).then((t=>t.text())).then((i=>{this.envUrlMaps[t].set(e,Object.assign(Object.assign({},n),{inlineSvgString:i}))}))))).then((()=>{this._applyHostElementBackground(this.envUrlMaps[t].get("host"),this.getSharedCb().cssVars)})).catch((t=>{console.error(t),_.log(`Failed to load/apply backgroundDynamicInlineSVGElements[${this.getPropsCb().backgroundDynamicInlineSVGElements}] ${t}`)}))}on(){return this.subscription=this.documentModel.on("COLOR_SCHEMA_UPDATE",(t=>{this._applyHostElementBackground(this.envUrlMaps[this.getEnvCb()].get("host"),t)})),this}_applyHostElementBackground(t,e){t&&(this.hostElement.style.background=this._buildBackgroundUrl(t,e))}_buildBackgroundUrl(t,e){const n=t.inlineSvgString.trim().replace("var(--cl-schema-accent)",e["cl-schema-accent"]);return`url('data:image/svg+xml,${encodeURIComponent(n)}')${t.positionOptions}`}off(){var t;null===(t=this.subscription)||void 0===t||t.off()}}const k=new class{execute(t,e,n=null,i,s){const o={method:e,headers:Object.assign({"Content-Type":"text/plain"},i||{}),credentials:"same-origin",body:null,signal:s};return n&&(o.body="string"==typeof n?n:JSON.stringify(n)),fetch(t,o)}};function x(t,e){return Object.keys(t).filter((t=>!e.includes(t))).reduce(((e,n)=>Object.assign(Object.assign({},e),{[n]:t[n]})),{})}class I{static camelCaseToDashCase(t){return t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))}static camelCaseToUpperSnakeCase(t){return t.replace(/[A-Z]/g,(t=>"_"+t)).toUpperCase()}}class M{constructor(t){this._count=0,this.onUpdateCb=t}increment(){this._count++,this.onUpdateCb(this.count())}decrement(){this._count>0&&this._count--,this.onUpdateCb(this.count())}count(){return this._count}}const j="COMPONENT_RESOURCES_LOADED",D="FAILED_TO_LOAD_COMPONENT_RESOURCE";class W{constructor(t,e,n){this.getPending=()=>this.counters.pending,this.onCounterStateUpdate=t=>{0===t&&this.systemEventEmitter.emit(j,this.componentId)},this.onResourceLoadFailure=t=>{this.isStaticEntryModule?this.systemEventEmitter.emit(D,`Failed to load: ${t}`):this.counters.pending.decrement()},this.componentId=t,this.systemEventEmitter=e,this.isStaticEntryModule=n,this.counters={pending:new M(this.onCounterStateUpdate)}}}const F=(...t)=>{let e=t.reduce(((t,e)=>Object.assign(Object.assign({},t),{[e]:[]})),{});return{get:t=>e[t],clear:()=>F(...t)}},U=F,B="props",V="shared",H="environment";function $(t,e,n,i){const s=t=>{let o=t instanceof DocumentFragment||(null==t?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE?t.host:t;return o&&(i&&"function"==typeof i?i(o.getAttribute(e)):(null===(r=null==o?void 0:o.getAttribute)||void 0===r?void 0:r.call(o,e))===n)?o:o&&o.parentNode&&s(o.parentNode)||null;var r};return s(t)}const G="SUBMIT";function K(t,e){return e?(t.classes=`${t.classes||""} ${e.classes||""}`.trim(),Object.keys(e).forEach((n=>{"element"!==n&&"classes"!==n&&(e[n]&&"object"==typeof e[n]&&!Array.isArray(e[n])?t[n]=Object.assign(Object.assign({},t[n]||{}),e[n]):t[n]=e[n])})),t):t}function z(t,e,n){var i;return null===(i=t[e])||void 0===i?void 0:i.find((t=>t.element===n))}function Q(t){const{element:e,html:n,appendHtml:i}=t,s=function(t){if(null==t)return"";if("string"!=typeof t)return String(t);if(""===t)return"";if(!/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*>/.test(t))return t;const e=(new DOMParser).parseFromString(t,"text/html");return e.querySelectorAll('script, style, link[rel="stylesheet"], meta[http-equiv]').forEach((t=>t.remove())),e.querySelectorAll("*").forEach((t=>{if(["onclick","onload","onerror","onmouseover","onfocus","onblur","onkeyup","onkeydown","onchange","onsubmit","onmouseenter","onmouseleave","onmouseout","oncontextmenu","ondrag","ondrop"].forEach((e=>t.removeAttribute(e))),Array.from(t.attributes).forEach((e=>{e.name.startsWith("on")&&t.removeAttribute(e.name)})),"A"===t.tagName||"AREA"===t.tagName){const e=t.getAttribute("href");e&&(e.startsWith("javascript:")||e.startsWith("data:"))&&t.removeAttribute("href")}if("IMG"===t.tagName||"IFRAME"===t.tagName){const e=t.getAttribute("src");e&&(e.startsWith("javascript:")||e.startsWith("data:text/html"))&&t.removeAttribute("src")}if("FORM"===t.tagName){const e=t.getAttribute("action");e&&e.startsWith("javascript:")&&t.removeAttribute("action")}})),e.body.innerHTML}(n);i?e.innerHTML+=s:e.innerHTML=s}class q extends Event{constructor(t,e,n){super(t,n),this.detail={},Object.defineProperty(this,"detail",{value:e})}}class Z extends HTMLElement{constructor(){var t,s;super(),this.construct=()=>{let t;const e=this.getAttribute(i("id")),n=this.getWidgetContainerNode();if(!n)throw new Error("Widget container not found in construct");const s=n.closest(`[${i("widget-id")}]`);let o;s&&(o=s.getAttribute(i("widget-id")));let r=new q("cl-props-request",{nodeName:this.nodeName,path:this.getAttribute(i("path")),id:e,widgetId:o},{bubbles:!0,composed:!0});this.dispatchEvent(r),t=r.detail.props,Object.assign(this,t),this.observers=U(B,V,H),this.subscriptions=new class{constructor(){this.subscriptions=[]}push(t){this.subscriptions.push(t)}off(){this.subscriptions.forEach((t=>null==t?void 0:t.off()))}},this.state=new C,this.componentEventEmitter=new T,this.componentResourceManager=new W(this.model.id,this.services.eventEmitter,"STATIC"===this.services.config.getConfig("entryModuleType")),this.mergeTagsProcessor=this.services.mergeTagsProcessorFactory.create(),this._actionFactory=this.services.actionFactory,this._handlerFactory=new E(this._actionFactory,this.services.actionRegister),this.prevProps=this.model.props,this.prevEnvironment=this.getEnvironment(),this.documentModel.on(`COMPONENT_PROPS_UPDATE_${this.model.id}`,(t=>{this.model.props=t,this.observers.get(B).forEach((e=>e(this.prevProps,t))),this.prevProps=t;const e=this.getHostElement(),n=i("floating");t.floating&&!e.getAttribute(n)?e.setAttribute(n,"true"):!t.floating&&e.getAttribute(n)&&e.removeAttribute(n)})),this.documentModel.on(`COMPONENT_UPDATE_${this.model.id}`,(t=>{Object.assign(this.model,t)})),this.documentModel.on("SHARED_UPDATE_ALL",(()=>{this.applyAutoAdaptiveStyles(this.prevProps.adaptiveStyles,this.prevProps.styles),this.observers.get(V).forEach((t=>t(this.getShared())))})),this.model.props.backgroundDynamicInlineSVGElements&&(this.colorSchemaListener=new w(this.documentModel,this.getHostElement(),(()=>this.getShared()),(()=>this.model.props),(()=>this.getEnvironment()),k),this.colorSchemaListener.apply(this.getEnvironment()).then((()=>{this.subscriptions.push(this.colorSchemaListener.on())}))),this.prevProps.adaptiveStyles&&this.subscriptions.push(this.resizeListener.on(A.changeEventName,(()=>{this.applyAutoAdaptiveStyles(this.prevProps.adaptiveStyles,this.prevProps.styles);const t=this.getEnvironment();this.observers.get(H).forEach((e=>e(this.prevEnvironment,t))),this.prevEnvironment=t})))},this.attachHandlers=()=>{this.getHandlers().map((t=>this._handlerFactory.get(t))).map((t=>()=>t.activate(this.state,this.componentEventEmitter,this.getHostElement.bind(this)))).forEach((t=>t()))},this.postponeHandlers=()=>{var t;null===(t=this.handlers)||void 0===t||t.forEach((t=>t.postpone()))},this.releaseHandlers=()=>{var t;null===(t=this.handlers)||void 0===t||t.forEach((t=>t.release()))},this.getProps=()=>{var t;return null===(t=this.getModel())||void 0===t?void 0:t.props},this.getShared=()=>this.documentModel.getShared(),this.getEnvironment=()=>this.resizeListener.isMobile()?"mobile":"desktop",this.getRootElement=()=>this.shadowRoot?this.shadowRoot:this,this.getHostElement=()=>this,this.observeProps=t=>{this.observers.get(B).push(t),t(null,this.prevProps)},this.observeShared=t=>{this.observers.get(V).push(t),t(this.getShared())},this.observeEnvironment=t=>{this.observers.get(H).push(t),t(null,this.getEnvironment())},this.getElements=()=>[this.getHostElement(),...Array.from(this.getRootElement().querySelectorAll(`[${i("element")}]`)).filter((t=>!t.hasAttribute(i("component"))))],this.getElement=(t,e)=>this.getElements().find((n=>e?n.getAttribute(i("element"))===t&&n.id===e:n.getAttribute(i("element"))===t)),this.applyAutoAdaptiveStyles=(t,e)=>{if(!t&&!e)return;const n=this.getElements();if(!n.length)return;t=function(t,e){if(!e)return t||{desktop:[],mobile:[]};const n=JSON.parse(JSON.stringify(t||{desktop:[],mobile:[]}));return e.forEach((t=>{const e=t.element;let i=!1,s=!1;n.desktop&&n.desktop.forEach((n=>{n.element===e&&(K(n,t),i=!0)})),n.mobile&&n.mobile.forEach((n=>{n.element===e&&(K(n,t),s=!0)})),!i&&n.desktop&&n.desktop.push(JSON.parse(JSON.stringify(t))),!s&&n.mobile&&n.mobile.push(JSON.parse(JSON.stringify(t)))})),n}(t,e);const s=i("type"),o="element-styles";let r=this.getRootElement().querySelector(`style[${s}="${o}"]`);r||(r=document.createElement("style"),r.setAttribute(s,o),this.getRootElement().appendChild(r)),Q({element:r,html:""}),n.forEach((e=>{let n=e.getAttribute(i("element"));const s=this.getEnvironment();let o=z(t,s,n);if(o){if(this.resizeListener.isMobile()){const e=z(t,"desktop",n);e&&(o=Object.assign(Object.assign({},o),{styleAttributes:Object.assign(Object.assign({},e.styleAttributes),o.styleAttributes)}))}this.applyStylesToElement(e,this.applySharedClassesToElementModel(o),r)}})),this._addLinkColor(r,this.getShared())},this.registerComponentResourceManagement=()=>{this.viewResourceManager.registerComponent(this.model.id,this.componentResourceManager)},this.applyStyles=(t,e={})=>{if(!t||!t.style)return!1;for(const[n,i]of Object.entries(e))t.style[n]=i;return!0},this.applyStylesToElement=(t,e,n)=>{var s,o;const r=[];"host"===(e=Z._resolveTogglableStylesForElementModel(e)).element&&(P.applyHostStyles(this.model.type,t,null,this.layoutType),("desktop"===this.getEnvironment()&&(null===(s=this.model.props.backgroundDynamicInlineSVGElements)||void 0===s?void 0:s.desktop)||"mobile"===this.getEnvironment()&&(null===(o=this.model.props.backgroundDynamicInlineSVGElements)||void 0===o?void 0:o.mobile))&&(this.colorSchemaListener.apply(this.getEnvironment()),r.push("background")));let l=e.styleAttributes.background,a=l&&l.match(/url\("([^"]*)"\)/);if(this.manifest.waitForResourcesLoad&&a){this.componentResourceManager.getPending().increment();const t=new Image;t.src=a[1],S(t,"load",(()=>{this.componentResourceManager.getPending().decrement()})),S(t,"error",(()=>{this.componentResourceManager.onResourceLoadFailure(t.src),"UPDATING"===this.services.config.getConfig("entryModuleType")&&this.componentResourceManager.getPending().decrement()}))}const c=Object.assign(Object.assign({},e),{styleAttributes:x(e.styleAttributes,r)});if(N.set(t,c),this._setClassAttributes(t,e),n){if(e.hoverStyleAttributes){let s=Object.assign({},e.hoverStyleAttributes);if("FILL_UP"===e.hoverAnimationType){t.style.boxShadow="inset 0px 0px 0px 0px rgb(0, 0, 0, 0)",t.style.overflow="hidden";const n=t.tagName.toLowerCase(),i=`flip-up-animation-${e.element}`;let o=this.getRootElement().querySelector(`#${i}`);o||(o=document.createElement("style"),o.id=i,t.appendChild(o)),Q({element:o,html:`\n ${n}::before {\n content: '';\n background: ${s.background};\n position: absolute;\n left: 0;\n top: ${t.getBoundingClientRect().height}px;\n height: ${t.getBoundingClientRect().height}px;\n width: 100%;\n z-index: -10;\n }\n ${n}:hover::before {\n top: 0;\n transition: 0.3s;\n }\n `}),s=Object.assign(Object.assign({},e.hoverStyleAttributes),{background:"transparent",position:"relative"})}s.borderTopWidth&&"0px"!==s.borderTopWidth||delete s.borderTopColor,s.borderBottomWidth&&"0px"!==s.borderBottomWidth||delete s.borderBottomColor,s.borderLeftWidth&&"0px"!==s.borderLeftWidth||delete s.borderLeftColor,s.borderRightWidth&&"0px"!==s.borderRightWidth||delete s.borderRightColor,this._addStylesToStyleElement(n,e.element,s,`:not(.${i("no-hover")}):hover`,!0)}e.placeholderStyleAttributes&&this._addStylesToStyleElement(n,e.element,e.placeholderStyleAttributes,"::placeholder"),this._addFontStylesToStyleElement(n,this.getShared()),this.stylesAppliedToElement(t,e,n)}},this._fixMarginOverflow=t=>{const e=this.getParentComponent(),n=e&&("flex"===e.style.display||"inline-flex"===e.style.display),s="host",o=t.getAttribute(i("element"))===s;if(!n||!o)return;const r=this.getProps(),l=this.getEnvironment(),{styleAttributes:a}=z(r.adaptiveStyles,l,s)||{};if(!a)return;const c=a.marginLeft||a.marginRight,p="100%"===a.width;if(c&&p){const e=(parseFloat(a.marginLeft)||0)+(parseFloat(a.marginRight)||0);e&&setTimeout((()=>{t.style.width=`calc(100% - ${e}px)`}))}},this.applySharedClassesToElementModel=t=>function(t,n){let i=t;return(i.classes||"").split(" ").filter((t=>t.startsWith(e))).forEach((t=>{var e;let s=null===(e=n.textClasses)||void 0===e?void 0:e[t];s&&(s.styleAttributes.fontFamily||(s.isHeader&&n.headerFontFamily&&(s=Object.assign(Object.assign({},s),{styleAttributes:Object.assign(Object.assign({},s.styleAttributes),{fontFamily:n.headerFontFamily})})),!s.isHeader&&n.textFontFamily&&(s=Object.assign(Object.assign({},s),{styleAttributes:Object.assign(Object.assign({},s.styleAttributes),{fontFamily:n.textFontFamily})}))),i=Object.assign(Object.assign({},i),{styleAttributes:Object.assign(Object.assign({},i.styleAttributes),s.styleAttributes),placeholderStyleAttributes:Object.assign(Object.assign({},i.placeholderStyleAttributes),s.placeholderStyleAttributes)}))})),i.styleAttributes.fontFamily||(i=Object.assign(Object.assign({},i),{styleAttributes:Object.assign(Object.assign({},i.styleAttributes),{fontFamily:n.textFontFamily})})),i}(t,this.documentModel.getShared()),this.getModel=()=>this.model,this._addStylesToStyleElement=(t,e,n,s="",o)=>{const r=Object.keys(n).reduce(((t,e)=>t+` ${I.camelCaseToDashCase(e)}: ${n[e]}${o?" !important;":";"}`),"");Q({element:t,html:`[${i("element")}="${e}"]${s} { ${r} }`,appendHtml:!0})},this._addFontStylesToStyleElement=(t,e)=>{Q({element:t,html:`[cl-type] {font-family:${e.textFontFamily||"inherit"}}`,appendHtml:!0})},this._addLinkColor=(t,e)=>{var n,i,s,o;e.linkColor&&Q({element:t,html:`a {color: ${e.linkColor}}, a:visited {color: ${e.linkColor}}`,appendHtml:!0}),(null===(n=e.linkParams)||void 0===n?void 0:n.color)&&Q({element:t,html:`a {color: ${null===(i=e.linkParams)||void 0===i?void 0:i.color}}, a:visited {color: ${null===(s=e.linkParams)||void 0===s?void 0:s.color}}`,appendHtml:!0}),(null===(o=e.linkParams)||void 0===o?void 0:o.removeUnderline)&&Q({element:t,html:"a {text-decoration: none}, a:visited {text-decoration: none}",appendHtml:!0})},this._setClassAttributes=(t,i)=>{Array.from(t.classList).filter((t=>t!==n("hovered")&&t!==n("focused"))).forEach((n=>{n.startsWith(e)&&t.classList.remove(n)}));const s=((t.getAttribute("class")||"")+" "+i.classes).trim();t.setAttribute("class",s)},this.getParentComponent=()=>$(this.parentNode,i("element"),"host"),this.getWidgetContainerNode=()=>{const t=null==this?void 0:this.getAttribute(i("path"));return t&&1===t.split(",").length?this.parentNode:$(this.parentNode,i("path"),void 0,(t=>t&&1===t.split(",").length))},this.getWidgetLanguages=()=>{return[(t=this.services.config).getConfig("appearanceLanguage"),t.getConfig("browserLanguage"),"en"].filter((t=>!!t));var t},this.getPreferredWidgetLanguage=()=>this.getWidgetLanguages()[0],this.getTranslationsMap=t=>function(t,e){return e.reduce(((e,n)=>{if(e)return e;const i=function(t,e){if(!t)return null;if(e[t])return{translations:e[t],language:t};const n=function(t){return t.includes("-")?t.split("-")[0].toLowerCase():t.includes("_")?t.split("_")[0].toLowerCase():t}(t);return e[n]?{translations:e[n],language:n}:null}(n,t);return i||null}),null)}(t,this.getWidgetLanguages()),this.stylesAppliedToElement=(t,e,n)=>{},this.updateContext=()=>{var t;const e=this.getModel();this.services.context.updateRecord(e.id,{label:this.getContextRecordLabel(e.props),viewIndex:null===(t=e.path)||void 0===t?void 0:t[0]})},this.addContextRecord=()=>{var t;const e=this.getModel();this.services.context.addRecord(e.id,{recordKey:e.id,id:e.props.control.name,label:this.getContextRecordLabel(e.props),value:e.props.control.defaultValue||"",viewIndex:null===(t=e.path)||void 0===t?void 0:t[0],sourceId:"FORM",initialData:{fallbackValue:"",exampleValue:this.getContextRecordExampleValue(e.props)}})},this.getContextRecordLabel=t=>{var e,n;const i=t.control.name;if(["email","first_name","last_name"].includes(i))return i.toUpperCase();if(t.content.label&&(null===(n=null===(e=t.adaptiveStyles.desktop.find((t=>"label"===t.element)))||void 0===e?void 0:e.params)||void 0===n?void 0:n.enabled)){const e=(new DOMParser).parseFromString(t.content.label,"text/html");return this.capitalizeFirstLetter(e.body.textContent||"")}return t.content.placeholder?this.capitalizeFirstLetter(t.content.placeholder):t.control.integrationName?this.capitalizeFirstLetter(t.control.integrationName).replace(new RegExp("_","g")," "):void 0},this.capitalizeFirstLetter=t=>t.charAt(0).toUpperCase()+t.slice(1),this.getContextRecordExampleValue=t=>{switch(t.control.name){case"email":return"myemail@example.com";case"first_name":return"Maria";case"last_name":return"Taylor";default:return this.getContextRecordLabel(t)}},this.completeSubmitAction=t=>{const e=t||{},n=this.services.actionRegister.getRegisteredActions().find((t=>t.category===G));n?null==n||n.execute(void 0,void 0,!0,e):this.services.actionFactory.get({type:d}).execute(void 0,void 0,!0,e)},this.getHandlers=()=>this.getProps().handlers&&this.getProps().handlers.length?[...this.getProps().handlers]:[],this.assets=(t="")=>`${this.services.config.getConfig("staticResourcesUrl").replace(/\/$/,"")}/${this.manifest.name}/assets${t?`/${t}`:""}`,this.attachShadow({mode:"open"}),this.manifest=this.manifest||(null===(t=this.define)||void 0===t?void 0:t.manifest)||(null===(s=this.constructor.define)||void 0===s?void 0:s.manifest)}connectedCallback(){this.construct(),this.registerComponentResourceManagement(),Promise.resolve().then((()=>{this.attachHandlers()}))}disconnectedCallback(){var t;this.observers.clear(),this.subscriptions.off(),this.state.destroy(),this.componentEventEmitter.destroy(),null===(t=this.mergeTagsProcessor)||void 0===t||t.destroy()}static _resolveTogglableStylesForElementModel(t){const e=Object.assign({},t);return Object.keys(e).forEach((t=>{t.toLowerCase().includes("styleattributes")&&(e[t]=Z._resolveTogglableStyles(e[t]))})),e}static _resolveTogglableStyles(t){const e=Object.assign({},t),n=(t,n,i)=>{n in e&&(t.forEach((t=>{t in e&&(e[t]=e[n]?e[t]:i)})),delete e[n])};return n(["marginTop","marginBottom","marginLeft","marginRight"],"_marginEnabled","0px"),n(["paddingTop","paddingBottom","paddingLeft","paddingRight"],"_paddingEnabled","0px"),e}}function J(t){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J(t)}function Y(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,ot(i.key),i)}}function X(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(X=function(){return!!t})()}function tt(t,e,n,i){var s=et(nt(1&i?t.prototype:t),e,n);return 2&i&&"function"==typeof s?function(t){return s.apply(n,t)}:s}function et(){return et="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var i=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=nt(t)););return t}(t,e);if(i){var s=Object.getOwnPropertyDescriptor(i,e);return s.get?s.get.call(arguments.length<3?t:n):s.value}},et.apply(null,arguments)}function nt(t){return nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},nt(t)}function it(t,e){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},it(t,e)}function st(t,e,n){return(e=ot(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t){var e=function(t){if("object"!=J(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=J(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==J(e)?e:e+""}var rt=function(){function t(){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return st(e=function(t,e,n){return e=nt(e),function(t,e){if(e&&("object"==J(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,X()?Reflect.construct(e,n||[],nt(t).constructor):e.apply(t,n))}(this,t,[].concat(i)),"manifest",{name:"SysContainerComponent"}),st(e,"getComponentName",(function(){return e.manifest.name})),st(e,"processStyles",(function(){e.innerHTML+='\n <style>\n [cl-component="'.concat(e.getComponentName(),'"] {\n position: relative;\n min-width: 50px;\n min-height: 50px;\n }\n </style>')})),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&it(t,e)}(t,Z),e=t,(n=[{key:"connectedCallback",value:function(){var e=this;tt(t,"connectedCallback",this,3)([]),this.processStyles(),this.observeProps((function(t,n){e.applyAutoAdaptiveStyles(n.adaptiveStyles,n.styles)}))}},{key:"disconnectedCallback",value:function(){tt(t,"disconnectedCallback",this,3)([])}}])&&Y(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();function lt(t){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(t)}function at(t,e){if(t){if("string"==typeof t)return ct(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ct(t,e):void 0}}function ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function pt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,bt(i.key),i)}}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ut=function(){return!!t})()}function dt(t,e,n,i){var s=ht(mt(1&i?t.prototype:t),e,n);return 2&i&&"function"==typeof s?function(t){return s.apply(n,t)}:s}function ht(){return ht="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var i=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=mt(t)););return t}(t,e);if(i){var s=Object.getOwnPropertyDescriptor(i,e);return s.get?s.get.call(arguments.length<3?t:n):s.value}},ht.apply(null,arguments)}function mt(t){return mt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mt(t)}function yt(t,e){return yt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yt(t,e)}function gt(t,e,n){return(e=bt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t){var e=function(t){if("object"!=lt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=lt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==lt(e)?e:e+""}var ft=function(){function e(){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];return gt(n=function(t,e,n){return e=mt(e),function(t,e){if(e&&("object"==lt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ut()?Reflect.construct(e,n||[],mt(t).constructor):e.apply(t,n))}(this,e,[].concat(s)),"manifest",t),gt(n,"connectResizeObserver",(function(){n.resizeObserver=new ResizeObserver((function(t){var e,i=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=at(t))){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,r=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){r=!0,s=t},f:function(){try{o||null==e.return||e.return()}finally{if(r)throw s}}}}(t);try{for(i.s();!(e=i.n()).done;)e.value.contentRect&&n.updateResponsiveRules(n.getResponsiveStyleElement())}catch(t){i.e(t)}finally{i.f()}})),n.resizeObserver.observe(n.getWidgetContainerNode())})),gt(n,"updateResponsiveRules",(function(t){if(n.getProps().isResponsive){var e=n.getWidgetContainerNode().getBoundingClientRect(),i=e.width,s=e.height;t.innerHTML='[cl-component="'.concat(n.getComponentName(),s/i>1.6?'"] {flex-direction: column !important;}':'"] {flex-direction: row !important;}')}else Q({element:t,html:""})})),gt(n,"getResponsiveStyleElement",(function(){return function(t){return function(t){if(Array.isArray(t))return ct(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||at(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n.children).find((function(t){return"responsive-styles"===t.getAttribute("name")}))})),gt(n,"appendResponsiveStyles",(function(){n.innerHTML+='<style name="responsive-styles">\n [cl-component="'.concat(n.getComponentName(),'"] {}\n </style>')})),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yt(t,e)}(e,rt),n=e,(i=[{key:"connectedCallback",value:function(){var t=this;dt(e,"connectedCallback",this,3)([]),this.appendResponsiveStyles(),this.observeProps((function(e,n){n.isResponsive&&t.updateResponsiveRules(t.getResponsiveStyleElement())})),this.getProps().isResponsive&&this.connectResizeObserver()}},{key:"disconnectedCallback",value:function(){var t;dt(e,"disconnectedCallback",this,3)([]),null===(t=this.resizeObserver)||void 0===t||t.disconnect()}}])&&pt(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}();gt(ft,"define",{name:"sys-container",model:t.name,manifest:t});export{ft as default};window.clComponentClass_SysContainerComponent=ft;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={name:"SysCountdownTimerComponent",componentType:"COUNTDOWN_TIMER",version:"1.0.0",contextMenuModel:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"COMPONENT_OPERATIONS"},{type:"CONTROL",name:"BRING_BACK_FORWARD",element:"host",elementProp:"styleAttributes",elementSubProp:"zIndex"},{type:"CONTROL",name:"FOCUS_PARENT_COMPONENT"}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"COMPONENT_OPERATIONS"},{type:"CONTROL",name:"BRING_BACK_FORWARD",element:"host",elementProp:"styleAttributes",elementSubProp:"zIndex"},{type:"CONTROL",name:"FOCUS_PARENT_COMPONENT"}]}],floatingControlsModel:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"SIZE",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"MARGIN",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"CONTAINER_PADDING",elementProp:"styleAttributes",element:"host"}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"SIZE",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"MARGIN",elementProp:"styleAttributes",element:"host"},{type:"CONTROL",name:"CONTAINER_PADDING",elementProp:"styleAttributes",element:"host"}]}],propertyPaneModel:{content:[{type:"GROUP",propPath:["adaptiveStyles","desktop"],children:[{type:"CONTROL",name:"SIZE",element:"host",elementProp:"styleAttributes",params:{width:{options:["fixed","fill"]},height:{options:["fixed","fill","hug"]}}},{type:"CONTROL",name:"TEXT_PARAMS",params:[{element:"counter",isLineSpaceAvailable:!0,isTextTransformAvailable:!0},{element:"label",isLineSpaceAvailable:!0,isTextTransformAvailable:!0}]},{type:"CONTROL",name:"BACKGROUND",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"TEXT_COLOR",propPath:["styles","[element=separator]","styleAttributes","color"],params:{label:"DOCUMENT_SEPARATOR_COLOR"}},{type:"CONTROL",name:"BORDERS",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"BOX_SHADOW",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"BORDER_RADIUS",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"MARGIN"}}]},{type:"GROUP",propPath:["adaptiveStyles","mobile"],children:[{type:"CONTROL",name:"SIZE",element:"host",elementProp:"styleAttributes",params:{width:{options:["fixed","fill","hug"]},height:{options:["fixed","fill","hug"]}}},{type:"CONTROL",name:"TEXT_PARAMS",params:[{element:"counter",isLineSpaceAvailable:!0,isTextTransformAvailable:!0},{element:"label",isLineSpaceAvailable:!0,isTextTransformAvailable:!0}]},{type:"CONTROL",name:"BACKGROUND",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"TEXT_COLOR",propPath:["styles","[element=separator]","styleAttributes","color"],params:{label:"DOCUMENT_SEPARATOR_COLOR"}},{type:"CONTROL",name:"BORDERS",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"BOX_SHADOW",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"BORDER_RADIUS",propPath:["styles","[element=counterContainer]","styleAttributes"]},{type:"CONTROL",name:"INDENTATION",elementProp:"styleAttributes",element:"host",params:{indentationType:"MARGIN"}}]}],general:[{type:"CONTROL",name:"SELECT",propPath:["content","format"],params:{label:"DOCUMENT_DATE_FORMAT_TITLE",options:[{label:"DOCUMENT_COUNTDOWN_TIMER_FORMAT_DD_HH_MM_SS",value:"DD:HH:MM:SS"},{label:"DOCUMENT_COUNTDOWN_TIMER_FORMAT_HH_MM_SS",value:"HH:MM:SS"},{label:"DOCUMENT_COUNTDOWN_TIMER_FORMAT_MM_SS",value:"MM:SS"},{label:"DOCUMENT_COUNTDOWN_TIMER_FORMAT_SS",value:"SS"}]}},{type:"CONTROL",name:"DATEPICKER_COUNTDOWN_TIMER"},{type:"CONTROL",name:"SUPPORTED_LANGUAGES",params:{text:"DOCUMENT_COUNTDOWN_TIMER_LANGUAGES_DESCR"}}]},autoContrast:[{slave:{element:"counter",elementProp:"styleAttributes",elementSubProp:"color"},master:{element:"counterContainer",propPath:["styles","[element=counterContainer]","styleAttributes","background"]},enabledPropPath:["content","textContrastEnabled"]}],keepGeneralTabOpenUntilInteracted:!0,focusableElements:["counter","label"],events:{dispatch:[],listen:[]},i18n:{en:{"content,counterLabel,day,single":"Day","content,counterLabel,day,upToFour":"Days","content,counterLabel,day,fromFive":"Days","content,counterLabel,hour,single":"Hour","content,counterLabel,hour,upToFour":"Hours","content,counterLabel,hour,fromFive":"Hours","content,counterLabel,minute,single":"Minute","content,counterLabel,minute,upToFour":"Minutes","content,counterLabel,minute,fromFive":"Minutes","content,counterLabel,second,single":"Second","content,counterLabel,second,upToFour":"Seconds","content,counterLabel,second,fromFive":"Seconds"},ru:{"content,counterLabel,day,single":"День","content,counterLabel,day,upToFour":"Дня","content,counterLabel,day,fromFive":"Дней","content,counterLabel,hour,single":"Час","content,counterLabel,hour,upToFour":"Часа","content,counterLabel,hour,fromFive":"Часов","content,counterLabel,minute,single":"Минута","content,counterLabel,minute,upToFour":"Минуты","content,counterLabel,minute,fromFive":"Минут","content,counterLabel,second,single":"Секунда","content,counterLabel,second,upToFour":"Секунды","content,counterLabel,second,fromFive":"Секунд"},uk:{"content,counterLabel,day,single":"День","content,counterLabel,day,upToFour":"Дні","content,counterLabel,day,fromFive":"Днів","content,counterLabel,hour,single":"Година","content,counterLabel,hour,upToFour":"Години","content,counterLabel,hour,fromFive":"Годин","content,counterLabel,minute,single":"Хвилина","content,counterLabel,minute,upToFour":"Хвилини","content,counterLabel,minute,fromFive":"Хвилин","content,counterLabel,second,single":"Секунда","content,counterLabel,second,upToFour":"Секунди","content,counterLabel,second,fromFive":"Секунд"},de:{"content,counterLabel,day,single":"Tag","content,counterLabel,day,upToFour":"Tage","content,counterLabel,day,fromFive":"Tage","content,counterLabel,hour,single":"Stunde","content,counterLabel,hour,upToFour":"Stunden","content,counterLabel,hour,fromFive":"Stunden","content,counterLabel,minute,single":"Minute","content,counterLabel,minute,upToFour":"Minuten","content,counterLabel,minute,fromFive":"Minuten","content,counterLabel,second,single":"Sekunde","content,counterLabel,second,upToFour":"Sekunden","content,counterLabel,second,fromFive":"Sekunden"},es:{"content,counterLabel,day,single":"Día","content,counterLabel,day,upToFour":"Días","content,counterLabel,day,fromFive":"Días","content,counterLabel,hour,single":"Hora","content,counterLabel,hour,upToFour":"Horas","content,counterLabel,hour,fromFive":"Horas","content,counterLabel,minute,single":"Minuto","content,counterLabel,minute,upToFour":"Minutos","content,counterLabel,minute,fromFive":"Minutos","content,counterLabel,second,single":"Segundo","content,counterLabel,second,upToFour":"Segundos","content,counterLabel,second,fromFive":"Segundos"},fr:{"content,counterLabel,day,single":"Jour","content,counterLabel,day,upToFour":"Jours","content,counterLabel,day,fromFive":"Jours","content,counterLabel,hour,single":"Heure","content,counterLabel,hour,upToFour":"Heures","content,counterLabel,hour,fromFive":"Heures","content,counterLabel,minute,single":"Minute","content,counterLabel,minute,upToFour":"Minutes","content,counterLabel,minute,fromFive":"Minutes","content,counterLabel,second,single":"Seconde","content,counterLabel,second,upToFour":"Secondes","content,counterLabel,second,fromFive":"Secondes"},it:{"content,counterLabel,day,single":"Giorno","content,counterLabel,day,upToFour":"Giorni","content,counterLabel,day,fromFive":"Giorni","content,counterLabel,hour,single":"Ora","content,counterLabel,hour,upToFour":"Ore","content,counterLabel,hour,fromFive":"Ore","content,counterLabel,minute,single":"Minuto","content,counterLabel,minute,upToFour":"Minuti","content,counterLabel,minute,fromFive":"Minuti","content,counterLabel,second,single":"Secondo","content,counterLabel,second,upToFour":"Secondi","content,counterLabel,second,fromFive":"Secondi"},pt:{"content,counterLabel,day,single":"Dia","content,counterLabel,day,upToFour":"Dias","content,counterLabel,day,fromFive":"Dias","content,counterLabel,hour,single":"Hora","content,counterLabel,hour,upToFour":"Horas","content,counterLabel,hour,fromFive":"Horas","content,counterLabel,minute,single":"Minuto","content,counterLabel,minute,upToFour":"Minutos","content,counterLabel,minute,fromFive":"Minutos","content,counterLabel,second,single":"Segundo","content,counterLabel,second,upToFour":"Segundos","content,counterLabel,second,fromFive":"Segundos"},"pt-BR":{"content,counterLabel,day,single":"Dia","content,counterLabel,day,upToFour":"Dias","content,counterLabel,day,fromFive":"Dias","content,counterLabel,hour,single":"Hora","content,counterLabel,hour,upToFour":"Horas","content,counterLabel,hour,fromFive":"Horas","content,counterLabel,minute,single":"Minuto","content,counterLabel,minute,upToFour":"Minutos","content,counterLabel,minute,fromFive":"Minutos","content,counterLabel,second,single":"Segundo","content,counterLabel,second,upToFour":"Segundos","content,counterLabel,second,fromFive":"Segundos"},sv:{"content,counterLabel,day,single":"Dag","content,counterLabel,day,upToFour":"Dagar","content,counterLabel,day,fromFive":"Dagar","content,counterLabel,hour,single":"Timme","content,counterLabel,hour,upToFour":"Timmar","content,counterLabel,hour,fromFive":"Timmar","content,counterLabel,minute,single":"Minutt","content,counterLabel,minute,upToFour":"Minuter","content,counterLabel,minute,fromFive":"Minuter","content,counterLabel,second,single":"Sekund","content,counterLabel,second,upToFour":"Sekunder","content,counterLabel,second,fromFive":"Sekunder"},et:{"content,counterLabel,day,single":"Päev","content,counterLabel,day,upToFour":"Päeva","content,counterLabel,day,fromFive":"Päeva","content,counterLabel,hour,single":"Tund","content,counterLabel,hour,upToFour":"Tundi","content,counterLabel,hour,fromFive":"Tundi","content,counterLabel,minute,single":"Minut","content,counterLabel,minute,upToFour":"Minutit","content,counterLabel,minute,fromFive":"Minutit","content,counterLabel,second,single":"Sekund","content,counterLabel,second,upToFour":"Sekundit","content,counterLabel,second,fromFive":"Sekundit"},lv:{"content,counterLabel,day,single":"Diena","content,counterLabel,day,upToFour":"Dienas","content,counterLabel,day,fromFive":"Dienas","content,counterLabel,hour,single":"Stunda","content,counterLabel,hour,upToFour":"Stundas","content,counterLabel,hour,fromFive":"Stundas","content,counterLabel,minute,single":"Minūte","content,counterLabel,minute,upToFour":"Minūtes","content,counterLabel,minute,fromFive":"Minūtes","content,counterLabel,second,single":"Sekunde","content,counterLabel,second,upToFour":"Sekundes","content,counterLabel,second,fromFive":"Sekundes"},pl:{"content,counterLabel,day,single":"Dzień","content,counterLabel,day,upToFour":"Dni","content,counterLabel,day,fromFive":"Dni","content,counterLabel,hour,single":"Godzina","content,counterLabel,hour,upToFour":"Godziny","content,counterLabel,hour,fromFive":"Godzin","content,counterLabel,minute,single":"Minuta","content,counterLabel,minute,upToFour":"Minuty","content,counterLabel,minute,fromFive":"Minut","content,counterLabel,second,single":"Sekunda","content,counterLabel,second,upToFour":"Sekundy","content,counterLabel,second,fromFive":"Sekund"},nl:{"content,counterLabel,day,single":"Dag","content,counterLabel,day,upToFour":"Dagen","content,counterLabel,day,fromFive":"Dagen","content,counterLabel,hour,single":"Uur","content,counterLabel,hour,upToFour":"Uren","content,counterLabel,hour,fromFive":"Uren","content,counterLabel,minute,single":"Minuut","content,counterLabel,minute,upToFour":"Minuten","content,counterLabel,minute,fromFive":"Minuten","content,counterLabel,second,single":"Seconde","content,counterLabel,second,upToFour":"Seconden","content,counterLabel,second,fromFive":"Seconden"},cz:{"content,counterLabel,day,single":"Den","content,counterLabel,day,upToFour":"Dny","content,counterLabel,day,fromFive":"Dní","content,counterLabel,hour,single":"Hodina","content,counterLabel,hour,upToFour":"Hodiny","content,counterLabel,hour,fromFive":"Hodin","content,counterLabel,minute,single":"Minuta","content,counterLabel,minute,upToFour":"Minuty","content,counterLabel,minute,fromFive":"Minut","content,counterLabel,second,single":"Sekunda","content,counterLabel,second,upToFour":"Sekundy","content,counterLabel,second,fromFive":"Sekund"},tr:{"content,counterLabel,day,single":"Gün","content,counterLabel,day,upToFour":"Gün","content,counterLabel,day,fromFive":"Gün","content,counterLabel,hour,single":"Saat","content,counterLabel,hour,upToFour":"Saat","content,counterLabel,hour,fromFive":"Saat","content,counterLabel,minute,single":"Dakika","content,counterLabel,minute,upToFour":"Dakika","content,counterLabel,minute,fromFive":"Dakika","content,counterLabel,second,single":"Saniye","content,counterLabel,second,upToFour":"Saniye","content,counterLabel,second,fromFive":"Saniye"},ro:{"content,counterLabel,day,single":"Zi","content,counterLabel,day,upToFour":"Zile","content,counterLabel,day,fromFive":"Zile","content,counterLabel,hour,single":"Oră","content,counterLabel,hour,upToFour":"Ore","content,counterLabel,hour,fromFive":"Ore","content,counterLabel,minute,single":"Minut","content,counterLabel,minute,upToFour":"Minute","content,counterLabel,minute,fromFive":"Minute","content,counterLabel,second,single":"Secundă","content,counterLabel,second,upToFour":"Secunde","content,counterLabel,second,fromFive":"Secunde"},vi:{"content,counterLabel,day,single":"Ngày","content,counterLabel,day,upToFour":"Ngày","content,counterLabel,day,fromFive":"Ngày","content,counterLabel,hour,single":"Giờ","content,counterLabel,hour,upToFour":"Giờ","content,counterLabel,hour,fromFive":"Giờ","content,counterLabel,minute,single":"Phút","content,counterLabel,minute,upToFour":"Phút","content,counterLabel,minute,fromFive":"Phút","content,counterLabel,second,single":"Giây","content,counterLabel,second,upToFour":"Giây","content,counterLabel,second,fromFive":"Giây"},zh:{"content,counterLabel,day,single":"天","content,counterLabel,day,upToFour":"天","content,counterLabel,day,fromFive":"天","content,counterLabel,hour,single":"小時","content,counterLabel,hour,upToFour":"小時","content,counterLabel,hour,fromFive":"小時","content,counterLabel,minute,single":"分鐘","content,counterLabel,minute,upToFour":"分鐘","content,counterLabel,minute,fromFive":"分鐘","content,counterLabel,second,single":"秒","content,counterLabel,second,upToFour":"秒","content,counterLabel,second,fromFive":"秒"},ms:{"content,counterLabel,day,single":"Hari","content,counterLabel,day,upToFour":"Hari","content,counterLabel,day,fromFive":"Hari","content,counterLabel,hour,single":"Jam","content,counterLabel,hour,upToFour":"Jam","content,counterLabel,hour,fromFive":"Jam","content,counterLabel,minute,single":"Minit","content,counterLabel,minute,upToFour":"Minit","content,counterLabel,minute,fromFive":"Minit","content,counterLabel,second,single":"Saat","content,counterLabel,second,upToFour":"Saat","content,counterLabel,second,fromFive":"Saat"},ar:{"content,counterLabel,day,single":"يوما","content,counterLabel,day,upToFour":"يومان","content,counterLabel,day,fromFive":"أيام","content,counterLabel,hour,single":"ساعة","content,counterLabel,hour,upToFour":"ساعتين","content,counterLabel,hour,fromFive":"ساعات","content,counterLabel,minute,single":"دقيقة","content,counterLabel,minute,upToFour":"دقيقتين","content,counterLabel,minute,fromFive":"دقائق","content,counterLabel,second,single":"ثانية","content,counterLabel,second,upToFour":"ثانيتين","content,counterLabel,second,fromFive":"ثواني"},th:{"content,counterLabel,day,single":"วัน","content,counterLabel,day,upToFour":"วัน","content,counterLabel,day,fromFive":"วัน","content,counterLabel,hour,single":" ชั่วโมง","content,counterLabel,hour,upToFour":" ชั่วโมง","content,counterLabel,hour,fromFive":" ชั่วโมง","content,counterLabel,minute,single":"นาที","content,counterLabel,minute,upToFour":"นาที","content,counterLabel,minute,fromFive":"นาที","content,counterLabel,second,single":"วินาที","content,counterLabel,second,upToFour":"วินาที","content,counterLabel,second,fromFive":"วินาที"},bs:{"content,counterLabel,day,single":"Dan","content,counterLabel,day,upToFour":"Dani","content,counterLabel,day,fromFive":"Dana","content,counterLabel,hour,single":"Sat","content,counterLabel,hour,upToFour":"Sati","content,counterLabel,hour,fromFive":"Sati","content,counterLabel,minute,single":"Minuta","content,counterLabel,minute,upToFour":"Minute","content,counterLabel,minute,fromFive":"Minuta","content,counterLabel,second,single":"Sekundi","content,counterLabel,second,upToFour":"Sekunde","content,counterLabel,second,fromFive":"Sekundi"},bg:{"content,counterLabel,day,single":"Дeн","content,counterLabel,day,upToFour":"Дни","content,counterLabel,day,fromFive":"Дни","content,counterLabel,hour,single":"Час","content,counterLabel,hour,upToFour":"Часа","content,counterLabel,hour,fromFive":"Часа","content,counterLabel,minute,single":"Минута","content,counterLabel,minute,upToFour":"Минути","content,counterLabel,minute,fromFive":"Минути","content,counterLabel,second,single":"Секунда","content,counterLabel,second,upToFour":"Секунди","content,counterLabel,second,fromFive":"Секунди"},lt:{"content,counterLabel,day,single":"Diena","content,counterLabel,day,upToFour":"Dienos","content,counterLabel,day,fromFive":"Dienos","content,counterLabel,hour,single":"Valanda","content,counterLabel,hour,upToFour":"Valandos","content,counterLabel,hour,fromFive":"Valandos","content,counterLabel,minute,single":"Minutė","content,counterLabel,minute,upToFour":"Minutės","content,counterLabel,minute,fromFive":"Minutės","content,counterLabel,second,single":"Sekundė","content,counterLabel,second,upToFour":"Sekundės","content,counterLabel,second,fromFive":"Sekundės"},cs:{"content,counterLabel,day,single":"Den","content,counterLabel,day,upToFour":"Dny","content,counterLabel,day,fromFive":"Dní","content,counterLabel,hour,single":"Hodina","content,counterLabel,hour,upToFour":"Hodiny","content,counterLabel,hour,fromFive":"Hodin","content,counterLabel,minute,single":"Minuta","content,counterLabel,minute,upToFour":"Minuty","content,counterLabel,minute,fromFive":"Minut","content,counterLabel,second,single":"Sekunda","content,counterLabel,second,upToFour":"Sekundy","content,counterLabel,second,fromFive":"Sekund"},el:{"content,counterLabel,day,single":"ημέρα","content,counterLabel,day,upToFour":"ημέρες","content,counterLabel,day,fromFive":"μέρες","content,counterLabel,hour,single":"ώρα","content,counterLabel,hour,upToFour":"ώρες","content,counterLabel,hour,fromFive":"ώρες","content,counterLabel,minute,single":"λεπτό","content,counterLabel,minute,upToFour":"λεπτά","content,counterLabel,minute,fromFive":"λεπτά","content,counterLabel,second,single":"δευτερόλεπτο","content,counterLabel,second,upToFour":"δευτερόλεπτα","content,counterLabel,second,fromFive":"δευτερόλεπτα"},da:{"content,counterLabel,day,single":"Dag","content,counterLabel,day,upToFour":"Dage","content,counterLabel,day,fromFive":"Dage","content,counterLabel,hour,single":"Time","content,counterLabel,hour,upToFour":"Timer","content,counterLabel,hour,fromFive":"Timer","content,counterLabel,minute,single":"Minut","content,counterLabel,minute,upToFour":"Minutter","content,counterLabel,minute,fromFive":"Minutter","content,counterLabel,second,single":"Sekund","content,counterLabel,second,upToFour":"Sekunder","content,counterLabel,second,fromFive":"Sekunder"},he:{"content,counterLabel,day,single":"יום","content,counterLabel,day,upToFour":"ימים","content,counterLabel,day,fromFive":"ימים","content,counterLabel,hour,single":"שעה","content,counterLabel,hour,upToFour":"שעות","content,counterLabel,hour,fromFive":"שעות","content,counterLabel,minute,single":"דקה","content,counterLabel,minute,upToFour":"דקות","content,counterLabel,minute,fromFive":"דקות","content,counterLabel,second,single":"שנייה","content,counterLabel,second,upToFour":"שניות","content,counterLabel,second,fromFive":"שניות"},fi:{"content,counterLabel,day,single":"Päivä","content,counterLabel,day,upToFour":"Päivää","content,counterLabel,day,fromFive":"Päivää","content,counterLabel,hour,single":"Tunti","content,counterLabel,hour,upToFour":"Tuntia","content,counterLabel,hour,fromFive":"Tuntia","content,counterLabel,minute,single":"Minuutti","content,counterLabel,minute,upToFour":"Minuuttia","content,counterLabel,minute,fromFive":"Minuuttia","content,counterLabel,second,single":"Sekunti","content,counterLabel,second,upToFour":"Sekuntia","content,counterLabel,second,fromFive":"Sekuntia"},hi:{"content,counterLabel,day,single":"दिन ","content,counterLabel,day,upToFour":"दिन ","content,counterLabel,day,fromFive":"दिन ","content,counterLabel,hour,single":"घंटा ","content,counterLabel,hour,upToFour":"घंटे ","content,counterLabel,hour,fromFive":"घंटे ","content,counterLabel,minute,single":"मिनट ","content,counterLabel,minute,upToFour":"मिनट","content,counterLabel,minute,fromFive":"मिनट ","content,counterLabel,second,single":"सेकंड","content,counterLabel,second,upToFour":"सेकंड","content,counterLabel,second,fromFive":"सेकंड"},hr:{"content,counterLabel,day,single":"Dan","content,counterLabel,day,upToFour":"Dani","content,counterLabel,day,fromFive":"Dani","content,counterLabel,hour,single":"Sat","content,counterLabel,hour,upToFour":"Sati","content,counterLabel,hour,fromFive":"Sati","content,counterLabel,minute,single":"Minuta","content,counterLabel,minute,upToFour":"Minute","content,counterLabel,minute,fromFive":"Minute","content,counterLabel,second,single":"Sekunda","content,counterLabel,second,upToFour":"Sekunde","content,counterLabel,second,fromFive":"Sekunde"},hu:{"content,counterLabel,day,single":"Nap","content,counterLabel,day,upToFour":"Nap","content,counterLabel,day,fromFive":"Nap","content,counterLabel,hour,single":"Óra","content,counterLabel,hour,upToFour":"Óra","content,counterLabel,hour,fromFive":"Óra","content,counterLabel,minute,single":"Perc","content,counterLabel,minute,upToFour":"Perc","content,counterLabel,minute,fromFive":"Perc","content,counterLabel,second,single":"Másodperc","content,counterLabel,second,upToFour":"Másodperc","content,counterLabel,second,fromFive":"Másodperc"},id:{"content,counterLabel,day,single":"Hari","content,counterLabel,day,upToFour":"Hari","content,counterLabel,day,fromFive":"Hari","content,counterLabel,hour,single":"Jam","content,counterLabel,hour,upToFour":"Jam","content,counterLabel,hour,fromFive":"Jam","content,counterLabel,minute,single":"Menit","content,counterLabel,minute,upToFour":"Menit","content,counterLabel,minute,fromFive":"Menit","content,counterLabel,second,single":"Detik","content,counterLabel,second,upToFour":"Detik","content,counterLabel,second,fromFive":"Detik"},ja:{"content,counterLabel,day,single":"日","content,counterLabel,day,upToFour":"日","content,counterLabel,day,fromFive":"日","content,counterLabel,hour,single":"時間","content,counterLabel,hour,upToFour":"時間","content,counterLabel,hour,fromFive":"時間","content,counterLabel,minute,single":"分","content,counterLabel,minute,upToFour":"分","content,counterLabel,minute,fromFive":"分","content,counterLabel,second,single":"秒","content,counterLabel,second,upToFour":"秒","content,counterLabel,second,fromFive":"秒"},ko:{"content,counterLabel,day,single":"일","content,counterLabel,day,upToFour":"일","content,counterLabel,day,fromFive":"일","content,counterLabel,hour,single":"시","content,counterLabel,hour,upToFour":"시","content,counterLabel,hour,fromFive":"시","content,counterLabel,minute,single":"분","content,counterLabel,minute,upToFour":"분","content,counterLabel,minute,fromFive":"분","content,counterLabel,second,single":"초","content,counterLabel,second,upToFour":"초","content,counterLabel,second,fromFive":"초"},no:{"content,counterLabel,day,single":"Dag","content,counterLabel,day,upToFour":"Dager","content,counterLabel,day,fromFive":"Dager","content,counterLabel,hour,single":"Time","content,counterLabel,hour,upToFour":"Timer","content,counterLabel,hour,fromFive":"Timer","content,counterLabel,minute,single":"Minutt","content,counterLabel,minute,upToFour":"Minutter","content,counterLabel,minute,fromFive":"Minutter","content,counterLabel,second,single":"Sekund","content,counterLabel,second,upToFour":"Sekunder","content,counterLabel,second,fromFive":"Sekunder"},sk:{"content,counterLabel,day,single":"Deň","content,counterLabel,day,upToFour":"Dni","content,counterLabel,day,fromFive":"Dní","content,counterLabel,hour,single":"Hodina","content,counterLabel,hour,upToFour":"Hodiny","content,counterLabel,hour,fromFive":"Hodín","content,counterLabel,minute,single":"Minúta","content,counterLabel,minute,upToFour":"Minúty","content,counterLabel,minute,fromFive":"Minút","content,counterLabel,second,single":"Sekunda","content,counterLabel,second,upToFour":"Sekundy","content,counterLabel,second,fromFive":"Sekúnd"},sl:{"content,counterLabel,day,single":"Dan","content,counterLabel,day,upToFour":"Dni","content,counterLabel,day,fromFive":"Dni","content,counterLabel,hour,single":"Ura","content,counterLabel,hour,upToFour":"Ure","content,counterLabel,hour,fromFive":"Ur","content,counterLabel,minute,single":"Minuta","content,counterLabel,minute,upToFour":"Minute","content,counterLabel,minute,fromFive":"Minut","content,counterLabel,second,single":"Skunda","content,counterLabel,second,upToFour":"Sekunde","content,counterLabel,second,fromFive":"Sekund"},sr:{"content,counterLabel,day,single":"Dan","content,counterLabel,day,upToFour":"Dani","content,counterLabel,day,fromFive":"Dani","content,counterLabel,hour,single":"Sat","content,counterLabel,hour,upToFour":"Sati","content,counterLabel,hour,fromFive":"Sati","content,counterLabel,minute,single":"Minut","content,counterLabel,minute,upToFour":"Minuti","content,counterLabel,minute,fromFive":"Minuti","content,counterLabel,second,single":"Sekunda","content,counterLabel,second,upToFour":"Sekunde","content,counterLabel,second,fromFive":"Sekunde"}},props:{content:{endDate:"",timeZone:null,mode:"UNTIL_THE_EXPIRATION_DATE",lengthFromTheStart:"00.00.10.00",isShowAgainAllowed:!0,showAgainMode:"NEXT_SESSION",showAgainAmount:1,showAgainUnit:"DAYS",textContrastEnabled:!0,format:"HH:MM:SS"},control:{icon:""},styles:[{element:"counterContainer",styleAttributes:{background:"rgb(255, 255, 255, 0.2)",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopWidth:"2px",borderTopColor:"rgba(0, 0, 0, 0.1)",borderBottomWidth:"2px",borderBottomColor:"rgba(0, 0, 0, 0.1)",borderLeftWidth:"2px",borderLeftColor:"rgba(0, 0, 0, 0.1)",borderRightWidth:"2px",borderRightColor:"rgba(0, 0, 0, 0.1)",borderTopLeftRadius:"6px",borderTopRightRadius:"6px",borderBottomLeftRadius:"6px",borderBottomRightRadius:"6px",boxShadow:"none"},classes:""},{element:"separator",styleAttributes:{color:"rgb(68, 68, 68)"},classes:""}],adaptiveStyles:{desktop:[{element:"host",styleAttributes:{width:"220px",minWidth:"220px",height:"auto",minHeight:null,marginTop:"0px",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",_marginEnabled:!1},classes:""},{element:"counter",styleAttributes:{color:"rgb(0, 0, 0)",textAlign:"center",lineHeight:"120%",fontWeight:"700",fontSize:"20px",textShadow:"none"},classes:""},{element:"label",styleAttributes:{color:"rgb(68, 68, 68)",textAlign:"center",lineHeight:"120%",fontWeight:"400",fontSize:"12px",textShadow:"none"},classes:""}],mobile:[{element:"host",styleAttributes:{width:"220px",minWidth:"220px",height:"auto",minHeight:null,marginTop:"0px",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",_marginEnabled:!1},classes:""},{element:"counter",styleAttributes:{color:"rgb(0, 0, 0)",textAlign:"center",lineHeight:"120%",fontWeight:"700",fontSize:"20px",textShadow:"none"},classes:""},{element:"label",styleAttributes:{color:"rgb(68, 68, 68)",textAlign:"center",lineHeight:"120%",fontWeight:"400",fontSize:"12px",textShadow:"none"},classes:""}]}},metaDescription:{icon:"/SysCountdownTimerComponent/assets/img/countdown-timer-component-icon.svg",label:{en:"Countdown timer",ru:"Таймер обратного отсчета",uk:"Таймер зворотного відліку",es:"Contador regresivo",fr:"Compte à rebours",de:"Countdown-Timer",it:"Conto alla rovescia",pt:"Temporizador",ro:"Cronometru de numărătoare inversă",bg:"Таймер за обратно броене",cs:"Čas odpočítávání",el:"Χρονόμετρο αντίστροφης μέτρησης",nl:"Afteltimer",pl:"Czasomierz odliczania",sv:"Nedräkning tidtagare",tr:"Geri sayım saati",ar:"العد التنازلي",zh:"倒计时",da:"Nedtællingstimer",he:"טיימר ספירה לאחור",fi:"Ajastin",hi:"काउंटडाउन टाइमर",hr:"Odbrojavanje vremena",hu:"Visszaszámláló időzítő",id:"Penghitung waktu mundur",ja:"カウントダウンタイマー",ko:"카운트다운 타이머",no:"Nedtellingstidtaker",sk:"Časovač odpočítavania",sl:"Odštevalnik časa",sr:"Tajmer za odbrojavanje"}}},t="cl-";function n(e){return t+e}function o(e){return"cl-"+e}const r="VIEW",i="MODULE",a="CONTAINER",s="INPUT",c="BUTTON",l="CONSENT",u="COLUMN",d="SUBSCRIBE_CONTACT",m="REQUEST",b="SHOW_WIDGET",h="OPEN_LINK",p="CLOSE_WIDGET";class g{static sortActions(e){const t={[p]:-1,[h]:-2,[b]:1,[d]:2,[m]:3},n=e=>void 0!==t[e.type]?t[e.type]:0;return[...e].sort(((e,t)=>n(e)>n(t)?-1:n(e)<n(t)?1:0))}constructor(e,t){this.config=e,this.actions=g.sortActions(t),this.listener=null,this.targetElements=[],this.eventsQueue=[],this.state=null,this.postponed=!1}activate(e,t,n){this.state=e;const r=n(),i=r.getAttribute(o("id"));this.listener=e=>{const t=e.composedPath().filter((e=>e instanceof HTMLElement&&e.getAttribute(o("type"))));let n=0;for(;t[n]&&t[n].getAttribute(o("id"))!==i;){let e=t[n].getAttribute(o("type"));if(g.IGNORING_VIEW_ENTRY_TYPES.includes(e))return;n++}this.eventsQueue.push({event:e}),this.postponed||this.execute()},this.targetElements=this.config.relativeSelector?Array.from((r.shadowRoot||r).querySelectorAll(this.config.relativeSelector)):[r],this.targetElements.forEach((e=>{e.addEventListener("click",this.listener)}))}async execute(){var e,t,n,o;try{for(var r,i=!0,a=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}}(this.eventsQueue);!(e=(r=await a.next()).done);){o=r.value,i=!1;try{const{event:e}=o;for(const t of this.actions)if(!await t.execute(this.state.getState(),e))break}finally{i=!0}}}catch(e){t={error:e}}finally{try{i||e||!(n=a.return)||await n.call(a)}finally{if(t)throw t.error}}this.eventsQueue=[]}postpone(){this.postponed=!0}release(){this.postponed=!1,this.execute()}destroy(){this.listener&&this.targetElements.length&&(this.targetElements.forEach((e=>{e.removeEventListener("click",this.listener)})),this.targetElements=[])}}g.IGNORING_VIEW_ENTRY_TYPES=[c,l,s];const L="CLICK",y="COMPONENT_EVENT";class f{constructor(e,t){this.config=e,this.actions=t,this.componentEmitterListener=null}activate(e,t,n){this.componentEmitterListener=t.on(this.config.eventName,(()=>{this.actions.forEach((t=>t.execute(e.getState(),this.config.params)))}))}destroy(){this.componentEmitterListener&&this.componentEmitterListener.off()}}class v{constructor(e,t){this.actionFactory=e,this.actionRegister=t}get(e){const t=e.actions.map((e=>this.actionFactory.get(e)));switch(t.forEach((e=>this.actionRegister.register(e))),e.type){case L:return new g(e,t);case y:return new f(e,t);default:throw new Error(`Not supported handler type ${e.type}`)}}}class T{static generate(){let e,t="";for(let n=0;n<32;n++)8!==n&&12!==n&&16!==n&&20!==n||(t+="-"),e=Math.floor(16*Math.random()).toString(16).toUpperCase(),t+=e;return t}}class F{constructor(){this.listeners=F.createDefaultListenersState()}emit(e,t,n=null){const o=this.listeners[e];o&&Object.values(o).forEach((o=>o(t,e,n))),Object.values(this.listeners["*"]).forEach((o=>o(t,e,n)))}on(e,t){const n=T.generate(),o=this.listeners[e];return o?o[n]=t:this.listeners[e]={[n]:t},{off:()=>{var t,o;(null===(o=null===(t=this.listeners)||void 0===t?void 0:t[e])||void 0===o?void 0:o[n])&&delete this.listeners[e][n]}}}destroy(){this.listeners=F.createDefaultListenersState()}}F.createDefaultListenersState=()=>({"*":{}});const S=(e,t,n,o)=>{const{addEventListenerBase:r,addEventListener:i}=EventTarget.prototype;(r||i).call(e,t,n,o)};class O{constructor(e){this.state=e||{}}getState(){return this.state}setState(e){this.state=Object.assign(Object.assign({},this.state),e)}destroy(){}}class E{static extract(e){const t=e.views.map((e=>{const t=e.children.map((e=>e.type===i?Object.assign(Object.assign({},e),E.moduleToContainerParams):e));return Object.assign(Object.assign({},e),{children:t})}));return Object.assign(Object.assign({},e),{views:t})}static sort(e,t){return e.index>t.index?1:-1}static reIndex(e,t){return Object.assign(Object.assign({},e),{index:t+e.index})}}E.moduleToContainerParams={name:"SysContainerComponent",version:"1.0.0"};class C extends F{constructor(e,t){super(),this.config=t,this.handleMobileBreakpoint(e.getShared().mobileBreakpointWidth),e.on("ENVIRONMENT_UPDATE",(({isMobileEnv:e})=>{this._isMobile=e,this.emit(C.changeEventName,this._isMobile)}))}handleMobileBreakpoint(e){this.mobileBreakpointWidth=e;const t=Number.isInteger(this.mobileBreakpointWidth)?`${this.mobileBreakpointWidth}px`:this.mobileBreakpointWidth;this.mediaQueryList=window.matchMedia(`(max-width: ${t})`),this.mediaQueryList.addListener(this.listener.bind(this)),this._isMobile=this.mediaQueryList.matches,this.emit(C.changeEventName,this._isMobile)}isMobile(){return this.config.forceMobileEnv||this._isMobile}listener(e){this._isMobile=e.matches,this.emit(C.changeEventName,this._isMobile)}destroy(){super.destroy(),this.mediaQueryList.removeListener(this.listener.bind(this))}}C.changeEventName="CHANGE";class M{static set(e,t){const n=e[M.accumulatorPropertyName]||{};e[M.accumulatorPropertyName]=Object.assign(Object.assign({},n),t.styleAttributes),Object.keys(e[M.accumulatorPropertyName]).forEach((n=>{n.includes("--")?e.style.setProperty(n,t.styleAttributes[n]||""):e.style[n]=t.styleAttributes[n]?t.styleAttributes[n]:""}))}}M.accumulatorPropertyName="clStyleAttributes";const A="CONTENT_LOCKER";class R{static applyHostStyles(e,t,n=null,o){var i,s,c;const l=null===(s=null===(i=null==n?void 0:n.props)||void 0===i?void 0:i.handlers)||void 0===s?void 0:s.find((e=>"CLICK"===e.type));l&&(null===(c=l.actions)||void 0===c?void 0:c.length)&&(t.style.cursor="pointer"),e!==r&&e!==a&&e!==u||(t.style.display=o===A&&e===r?"flex":"inline-flex",t.style.position="relative"),t.style.boxSizing="border-box"}constructor(){this.styles="/* common styles */ *, *:before, *:after { box-sizing: border-box; font-family: inherit; }"}setStyles(e=""){this.styles=`${this.styles} ${e}`}getStyles(){return this.styles}}class N{static log(e){window.scriptLog09u8y9?scriptLog09u8y9("ERROR","RUNTIME_ERROR",new Error(e)):console.error(e)}}class D{constructor(e,t,n,o,r,i){this.hostElement=t,this.documentModel=e,this.getSharedCb=n,this.getPropsCb=o,this.getEnvCb=r,this.httpClient=i,this.subscription=null,this.envUrlMaps={desktop:new Map,mobile:new Map}}parseBackground(e){const t=String(e||"");if(t.includes("url")){const[e,n]=t.split("(")[1].split(")");return{url:e.replace(/['"]+/g,""),positionOptions:n.replace(";","")}}return{url:null,positionOptions:null}}apply(e){const t=this.getPropsCb();return t.backgroundDynamicInlineSVGElements[e].forEach((n=>{var o,r,i,a,s;const c=null===(r=null===(o=t.adaptiveStyles)||void 0===o?void 0:o[e])||void 0===r?void 0:r.find((e=>e.element===n)),l=(null===(i=t.styles)||void 0===i?void 0:i.find((e=>e.element===n)))||{},u=(null===(a=null==l?void 0:l.styleAttributes)||void 0===a?void 0:a.background)||(null===(s=null==c?void 0:c.styleAttributes)||void 0===s?void 0:s.background),d=this.parseBackground(u);d.url&&this.envUrlMaps[e].set(n,{originalSVGResourceURL:d.url,inlineSvgString:null,positionOptions:d.positionOptions})})),Promise.all([...this.envUrlMaps[e].entries()].map((([t,n])=>this.httpClient.execute(n.originalSVGResourceURL).then((e=>e.text())).then((o=>{this.envUrlMaps[e].set(t,Object.assign(Object.assign({},n),{inlineSvgString:o}))}))))).then((()=>{this._applyHostElementBackground(this.envUrlMaps[e].get("host"),this.getSharedCb().cssVars)})).catch((e=>{console.error(e),N.log(`Failed to load/apply backgroundDynamicInlineSVGElements[${this.getPropsCb().backgroundDynamicInlineSVGElements}] ${e}`)}))}on(){return this.subscription=this.documentModel.on("COLOR_SCHEMA_UPDATE",(e=>{this._applyHostElementBackground(this.envUrlMaps[this.getEnvCb()].get("host"),e)})),this}_applyHostElementBackground(e,t){e&&(this.hostElement.style.background=this._buildBackgroundUrl(e,t))}_buildBackgroundUrl(e,t){const n=e.inlineSvgString.trim().replace("var(--cl-schema-accent)",t["cl-schema-accent"]);return`url('data:image/svg+xml,${encodeURIComponent(n)}')${e.positionOptions}`}off(){var e;null===(e=this.subscription)||void 0===e||e.off()}}const _=new class{execute(e,t,n=null,o,r){const i={method:t,headers:Object.assign({"Content-Type":"text/plain"},o||{}),credentials:"same-origin",body:null,signal:r};return n&&(i.body="string"==typeof n?n:JSON.stringify(n)),fetch(e,i)}};function P(e,t){return Object.keys(e).filter((e=>!t.includes(e))).reduce(((t,n)=>Object.assign(Object.assign({},t),{[n]:e[n]})),{})}class k{static camelCaseToDashCase(e){return e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))}static camelCaseToUpperSnakeCase(e){return e.replace(/[A-Z]/g,(e=>"_"+e)).toUpperCase()}}class x{constructor(e){this._count=0,this.onUpdateCb=e}increment(){this._count++,this.onUpdateCb(this.count())}decrement(){this._count>0&&this._count--,this.onUpdateCb(this.count())}count(){return this._count}}const w="COMPONENT_RESOURCES_LOADED",I="FAILED_TO_LOAD_COMPONENT_RESOURCE";class j{constructor(e,t,n){this.getPending=()=>this.counters.pending,this.onCounterStateUpdate=e=>{0===e&&this.systemEventEmitter.emit(w,this.componentId)},this.onResourceLoadFailure=e=>{this.isStaticEntryModule?this.systemEventEmitter.emit(I,`Failed to load: ${e}`):this.counters.pending.decrement()},this.componentId=e,this.systemEventEmitter=t,this.isStaticEntryModule=n,this.counters={pending:new x(this.onCounterStateUpdate)}}}const H=(...e)=>{let t=e.reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:[]})),{});return{get:e=>t[e],clear:()=>H(...e)}},U=H,G="props",W="shared",B="environment";function $(e,t,n,o){const r=e=>{let i=e instanceof DocumentFragment||(null==e?void 0:e.nodeType)===Node.DOCUMENT_FRAGMENT_NODE?e.host:e;return i&&(o&&"function"==typeof o?o(i.getAttribute(t)):(null===(a=null==i?void 0:i.getAttribute)||void 0===a?void 0:a.call(i,t))===n)?i:i&&i.parentNode&&r(i.parentNode)||null;var a};return r(e)}const z="SUBMIT";function V(e,t){return t?(e.classes=`${e.classes||""} ${t.classes||""}`.trim(),Object.keys(t).forEach((n=>{"element"!==n&&"classes"!==n&&(t[n]&&"object"==typeof t[n]&&!Array.isArray(t[n])?e[n]=Object.assign(Object.assign({},e[n]||{}),t[n]):e[n]=t[n])})),e):e}function Z(e,t,n){var o;return null===(o=e[t])||void 0===o?void 0:o.find((e=>e.element===n))}function J(e){const{element:t,html:n,appendHtml:o}=e,r=function(e){if(null==e)return"";if("string"!=typeof e)return String(e);if(""===e)return"";if(!/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*>/.test(e))return e;const t=(new DOMParser).parseFromString(e,"text/html");return t.querySelectorAll('script, style, link[rel="stylesheet"], meta[http-equiv]').forEach((e=>e.remove())),t.querySelectorAll("*").forEach((e=>{if(["onclick","onload","onerror","onmouseover","onfocus","onblur","onkeyup","onkeydown","onchange","onsubmit","onmouseenter","onmouseleave","onmouseout","oncontextmenu","ondrag","ondrop"].forEach((t=>e.removeAttribute(t))),Array.from(e.attributes).forEach((t=>{t.name.startsWith("on")&&e.removeAttribute(t.name)})),"A"===e.tagName||"AREA"===e.tagName){const t=e.getAttribute("href");t&&(t.startsWith("javascript:")||t.startsWith("data:"))&&e.removeAttribute("href")}if("IMG"===e.tagName||"IFRAME"===e.tagName){const t=e.getAttribute("src");t&&(t.startsWith("javascript:")||t.startsWith("data:text/html"))&&e.removeAttribute("src")}if("FORM"===e.tagName){const t=e.getAttribute("action");t&&t.startsWith("javascript:")&&e.removeAttribute("action")}})),t.body.innerHTML}(n);o?t.innerHTML+=r:t.innerHTML=r}class K extends Event{constructor(e,t,n){super(e,n),this.detail={},Object.defineProperty(this,"detail",{value:t})}}class Y extends HTMLElement{constructor(){var e,r;super(),this.construct=()=>{let e;const t=this.getAttribute(o("id")),n=this.getWidgetContainerNode();if(!n)throw new Error("Widget container not found in construct");const r=n.closest(`[${o("widget-id")}]`);let i;r&&(i=r.getAttribute(o("widget-id")));let a=new K("cl-props-request",{nodeName:this.nodeName,path:this.getAttribute(o("path")),id:t,widgetId:i},{bubbles:!0,composed:!0});this.dispatchEvent(a),e=a.detail.props,Object.assign(this,e),this.observers=U(G,W,B),this.subscriptions=new class{constructor(){this.subscriptions=[]}push(e){this.subscriptions.push(e)}off(){this.subscriptions.forEach((e=>null==e?void 0:e.off()))}},this.state=new O,this.componentEventEmitter=new F,this.componentResourceManager=new j(this.model.id,this.services.eventEmitter,"STATIC"===this.services.config.getConfig("entryModuleType")),this.mergeTagsProcessor=this.services.mergeTagsProcessorFactory.create(),this._actionFactory=this.services.actionFactory,this._handlerFactory=new v(this._actionFactory,this.services.actionRegister),this.prevProps=this.model.props,this.prevEnvironment=this.getEnvironment(),this.documentModel.on(`COMPONENT_PROPS_UPDATE_${this.model.id}`,(e=>{this.model.props=e,this.observers.get(G).forEach((t=>t(this.prevProps,e))),this.prevProps=e;const t=this.getHostElement(),n=o("floating");e.floating&&!t.getAttribute(n)?t.setAttribute(n,"true"):!e.floating&&t.getAttribute(n)&&t.removeAttribute(n)})),this.documentModel.on(`COMPONENT_UPDATE_${this.model.id}`,(e=>{Object.assign(this.model,e)})),this.documentModel.on("SHARED_UPDATE_ALL",(()=>{this.applyAutoAdaptiveStyles(this.prevProps.adaptiveStyles,this.prevProps.styles),this.observers.get(W).forEach((e=>e(this.getShared())))})),this.model.props.backgroundDynamicInlineSVGElements&&(this.colorSchemaListener=new D(this.documentModel,this.getHostElement(),(()=>this.getShared()),(()=>this.model.props),(()=>this.getEnvironment()),_),this.colorSchemaListener.apply(this.getEnvironment()).then((()=>{this.subscriptions.push(this.colorSchemaListener.on())}))),this.prevProps.adaptiveStyles&&this.subscriptions.push(this.resizeListener.on(C.changeEventName,(()=>{this.applyAutoAdaptiveStyles(this.prevProps.adaptiveStyles,this.prevProps.styles);const e=this.getEnvironment();this.observers.get(B).forEach((t=>t(this.prevEnvironment,e))),this.prevEnvironment=e})))},this.attachHandlers=()=>{this.getHandlers().map((e=>this._handlerFactory.get(e))).map((e=>()=>e.activate(this.state,this.componentEventEmitter,this.getHostElement.bind(this)))).forEach((e=>e()))},this.postponeHandlers=()=>{var e;null===(e=this.handlers)||void 0===e||e.forEach((e=>e.postpone()))},this.releaseHandlers=()=>{var e;null===(e=this.handlers)||void 0===e||e.forEach((e=>e.release()))},this.getProps=()=>{var e;return null===(e=this.getModel())||void 0===e?void 0:e.props},this.getShared=()=>this.documentModel.getShared(),this.getEnvironment=()=>this.resizeListener.isMobile()?"mobile":"desktop",this.getRootElement=()=>this.shadowRoot?this.shadowRoot:this,this.getHostElement=()=>this,this.observeProps=e=>{this.observers.get(G).push(e),e(null,this.prevProps)},this.observeShared=e=>{this.observers.get(W).push(e),e(this.getShared())},this.observeEnvironment=e=>{this.observers.get(B).push(e),e(null,this.getEnvironment())},this.getElements=()=>[this.getHostElement(),...Array.from(this.getRootElement().querySelectorAll(`[${o("element")}]`)).filter((e=>!e.hasAttribute(o("component"))))],this.getElement=(e,t)=>this.getElements().find((n=>t?n.getAttribute(o("element"))===e&&n.id===t:n.getAttribute(o("element"))===e)),this.applyAutoAdaptiveStyles=(e,t)=>{if(!e&&!t)return;const n=this.getElements();if(!n.length)return;e=function(e,t){if(!t)return e||{desktop:[],mobile:[]};const n=JSON.parse(JSON.stringify(e||{desktop:[],mobile:[]}));return t.forEach((e=>{const t=e.element;let o=!1,r=!1;n.desktop&&n.desktop.forEach((n=>{n.element===t&&(V(n,e),o=!0)})),n.mobile&&n.mobile.forEach((n=>{n.element===t&&(V(n,e),r=!0)})),!o&&n.desktop&&n.desktop.push(JSON.parse(JSON.stringify(e))),!r&&n.mobile&&n.mobile.push(JSON.parse(JSON.stringify(e)))})),n}(e,t);const r=o("type"),i="element-styles";let a=this.getRootElement().querySelector(`style[${r}="${i}"]`);a||(a=document.createElement("style"),a.setAttribute(r,i),this.getRootElement().appendChild(a)),J({element:a,html:""}),n.forEach((t=>{let n=t.getAttribute(o("element"));const r=this.getEnvironment();let i=Z(e,r,n);if(i){if(this.resizeListener.isMobile()){const t=Z(e,"desktop",n);t&&(i=Object.assign(Object.assign({},i),{styleAttributes:Object.assign(Object.assign({},t.styleAttributes),i.styleAttributes)}))}this.applyStylesToElement(t,this.applySharedClassesToElementModel(i),a)}})),this._addLinkColor(a,this.getShared())},this.registerComponentResourceManagement=()=>{this.viewResourceManager.registerComponent(this.model.id,this.componentResourceManager)},this.applyStyles=(e,t={})=>{if(!e||!e.style)return!1;for(const[n,o]of Object.entries(t))e.style[n]=o;return!0},this.applyStylesToElement=(e,t,n)=>{var r,i;const a=[];"host"===(t=Y._resolveTogglableStylesForElementModel(t)).element&&(R.applyHostStyles(this.model.type,e,null,this.layoutType),("desktop"===this.getEnvironment()&&(null===(r=this.model.props.backgroundDynamicInlineSVGElements)||void 0===r?void 0:r.desktop)||"mobile"===this.getEnvironment()&&(null===(i=this.model.props.backgroundDynamicInlineSVGElements)||void 0===i?void 0:i.mobile))&&(this.colorSchemaListener.apply(this.getEnvironment()),a.push("background")));let s=t.styleAttributes.background,c=s&&s.match(/url\("([^"]*)"\)/);if(this.manifest.waitForResourcesLoad&&c){this.componentResourceManager.getPending().increment();const e=new Image;e.src=c[1],S(e,"load",(()=>{this.componentResourceManager.getPending().decrement()})),S(e,"error",(()=>{this.componentResourceManager.onResourceLoadFailure(e.src),"UPDATING"===this.services.config.getConfig("entryModuleType")&&this.componentResourceManager.getPending().decrement()}))}const l=Object.assign(Object.assign({},t),{styleAttributes:P(t.styleAttributes,a)});if(M.set(e,l),this._setClassAttributes(e,t),n){if(t.hoverStyleAttributes){let r=Object.assign({},t.hoverStyleAttributes);if("FILL_UP"===t.hoverAnimationType){e.style.boxShadow="inset 0px 0px 0px 0px rgb(0, 0, 0, 0)",e.style.overflow="hidden";const n=e.tagName.toLowerCase(),o=`flip-up-animation-${t.element}`;let i=this.getRootElement().querySelector(`#${o}`);i||(i=document.createElement("style"),i.id=o,e.appendChild(i)),J({element:i,html:`\n ${n}::before {\n content: '';\n background: ${r.background};\n position: absolute;\n left: 0;\n top: ${e.getBoundingClientRect().height}px;\n height: ${e.getBoundingClientRect().height}px;\n width: 100%;\n z-index: -10;\n }\n ${n}:hover::before {\n top: 0;\n transition: 0.3s;\n }\n `}),r=Object.assign(Object.assign({},t.hoverStyleAttributes),{background:"transparent",position:"relative"})}r.borderTopWidth&&"0px"!==r.borderTopWidth||delete r.borderTopColor,r.borderBottomWidth&&"0px"!==r.borderBottomWidth||delete r.borderBottomColor,r.borderLeftWidth&&"0px"!==r.borderLeftWidth||delete r.borderLeftColor,r.borderRightWidth&&"0px"!==r.borderRightWidth||delete r.borderRightColor,this._addStylesToStyleElement(n,t.element,r,`:not(.${o("no-hover")}):hover`,!0)}t.placeholderStyleAttributes&&this._addStylesToStyleElement(n,t.element,t.placeholderStyleAttributes,"::placeholder"),this._addFontStylesToStyleElement(n,this.getShared()),this.stylesAppliedToElement(e,t,n)}},this._fixMarginOverflow=e=>{const t=this.getParentComponent(),n=t&&("flex"===t.style.display||"inline-flex"===t.style.display),r="host",i=e.getAttribute(o("element"))===r;if(!n||!i)return;const a=this.getProps(),s=this.getEnvironment(),{styleAttributes:c}=Z(a.adaptiveStyles,s,r)||{};if(!c)return;const l=c.marginLeft||c.marginRight,u="100%"===c.width;if(l&&u){const t=(parseFloat(c.marginLeft)||0)+(parseFloat(c.marginRight)||0);t&&setTimeout((()=>{e.style.width=`calc(100% - ${t}px)`}))}},this.applySharedClassesToElementModel=e=>function(e,n){let o=e;return(o.classes||"").split(" ").filter((e=>e.startsWith(t))).forEach((e=>{var t;let r=null===(t=n.textClasses)||void 0===t?void 0:t[e];r&&(r.styleAttributes.fontFamily||(r.isHeader&&n.headerFontFamily&&(r=Object.assign(Object.assign({},r),{styleAttributes:Object.assign(Object.assign({},r.styleAttributes),{fontFamily:n.headerFontFamily})})),!r.isHeader&&n.textFontFamily&&(r=Object.assign(Object.assign({},r),{styleAttributes:Object.assign(Object.assign({},r.styleAttributes),{fontFamily:n.textFontFamily})}))),o=Object.assign(Object.assign({},o),{styleAttributes:Object.assign(Object.assign({},o.styleAttributes),r.styleAttributes),placeholderStyleAttributes:Object.assign(Object.assign({},o.placeholderStyleAttributes),r.placeholderStyleAttributes)}))})),o.styleAttributes.fontFamily||(o=Object.assign(Object.assign({},o),{styleAttributes:Object.assign(Object.assign({},o.styleAttributes),{fontFamily:n.textFontFamily})})),o}(e,this.documentModel.getShared()),this.getModel=()=>this.model,this._addStylesToStyleElement=(e,t,n,r="",i)=>{const a=Object.keys(n).reduce(((e,t)=>e+` ${k.camelCaseToDashCase(t)}: ${n[t]}${i?" !important;":";"}`),"");J({element:e,html:`[${o("element")}="${t}"]${r} { ${a} }`,appendHtml:!0})},this._addFontStylesToStyleElement=(e,t)=>{J({element:e,html:`[cl-type] {font-family:${t.textFontFamily||"inherit"}}`,appendHtml:!0})},this._addLinkColor=(e,t)=>{var n,o,r,i;t.linkColor&&J({element:e,html:`a {color: ${t.linkColor}}, a:visited {color: ${t.linkColor}}`,appendHtml:!0}),(null===(n=t.linkParams)||void 0===n?void 0:n.color)&&J({element:e,html:`a {color: ${null===(o=t.linkParams)||void 0===o?void 0:o.color}}, a:visited {color: ${null===(r=t.linkParams)||void 0===r?void 0:r.color}}`,appendHtml:!0}),(null===(i=t.linkParams)||void 0===i?void 0:i.removeUnderline)&&J({element:e,html:"a {text-decoration: none}, a:visited {text-decoration: none}",appendHtml:!0})},this._setClassAttributes=(e,o)=>{Array.from(e.classList).filter((e=>e!==n("hovered")&&e!==n("focused"))).forEach((n=>{n.startsWith(t)&&e.classList.remove(n)}));const r=((e.getAttribute("class")||"")+" "+o.classes).trim();e.setAttribute("class",r)},this.getParentComponent=()=>$(this.parentNode,o("element"),"host"),this.getWidgetContainerNode=()=>{const e=null==this?void 0:this.getAttribute(o("path"));return e&&1===e.split(",").length?this.parentNode:$(this.parentNode,o("path"),void 0,(e=>e&&1===e.split(",").length))},this.getWidgetLanguages=()=>{return[(e=this.services.config).getConfig("appearanceLanguage"),e.getConfig("browserLanguage"),"en"].filter((e=>!!e));var e},this.getPreferredWidgetLanguage=()=>this.getWidgetLanguages()[0],this.getTranslationsMap=e=>function(e,t){return t.reduce(((t,n)=>{if(t)return t;const o=function(e,t){if(!e)return null;if(t[e])return{translations:t[e],language:e};const n=function(e){return e.includes("-")?e.split("-")[0].toLowerCase():e.includes("_")?e.split("_")[0].toLowerCase():e}(e);return t[n]?{translations:t[n],language:n}:null}(n,e);return o||null}),null)}(e,this.getWidgetLanguages()),this.stylesAppliedToElement=(e,t,n)=>{},this.updateContext=()=>{var e;const t=this.getModel();this.services.context.updateRecord(t.id,{label:this.getContextRecordLabel(t.props),viewIndex:null===(e=t.path)||void 0===e?void 0:e[0]})},this.addContextRecord=()=>{var e;const t=this.getModel();this.services.context.addRecord(t.id,{recordKey:t.id,id:t.props.control.name,label:this.getContextRecordLabel(t.props),value:t.props.control.defaultValue||"",viewIndex:null===(e=t.path)||void 0===e?void 0:e[0],sourceId:"FORM",initialData:{fallbackValue:"",exampleValue:this.getContextRecordExampleValue(t.props)}})},this.getContextRecordLabel=e=>{var t,n;const o=e.control.name;if(["email","first_name","last_name"].includes(o))return o.toUpperCase();if(e.content.label&&(null===(n=null===(t=e.adaptiveStyles.desktop.find((e=>"label"===e.element)))||void 0===t?void 0:t.params)||void 0===n?void 0:n.enabled)){const t=(new DOMParser).parseFromString(e.content.label,"text/html");return this.capitalizeFirstLetter(t.body.textContent||"")}return e.content.placeholder?this.capitalizeFirstLetter(e.content.placeholder):e.control.integrationName?this.capitalizeFirstLetter(e.control.integrationName).replace(new RegExp("_","g")," "):void 0},this.capitalizeFirstLetter=e=>e.charAt(0).toUpperCase()+e.slice(1),this.getContextRecordExampleValue=e=>{switch(e.control.name){case"email":return"myemail@example.com";case"first_name":return"Maria";case"last_name":return"Taylor";default:return this.getContextRecordLabel(e)}},this.completeSubmitAction=e=>{const t=e||{},n=this.services.actionRegister.getRegisteredActions().find((e=>e.category===z));n?null==n||n.execute(void 0,void 0,!0,t):this.services.actionFactory.get({type:m}).execute(void 0,void 0,!0,t)},this.getHandlers=()=>this.getProps().handlers&&this.getProps().handlers.length?[...this.getProps().handlers]:[],this.assets=(e="")=>`${this.services.config.getConfig("staticResourcesUrl").replace(/\/$/,"")}/${this.manifest.name}/assets${e?`/${e}`:""}`,this.attachShadow({mode:"open"}),this.manifest=this.manifest||(null===(e=this.define)||void 0===e?void 0:e.manifest)||(null===(r=this.constructor.define)||void 0===r?void 0:r.manifest)}connectedCallback(){this.construct(),this.registerComponentResourceManagement(),Promise.resolve().then((()=>{this.attachHandlers()}))}disconnectedCallback(){var e;this.observers.clear(),this.subscriptions.off(),this.state.destroy(),this.componentEventEmitter.destroy(),null===(e=this.mergeTagsProcessor)||void 0===e||e.destroy()}static _resolveTogglableStylesForElementModel(e){const t=Object.assign({},e);return Object.keys(t).forEach((e=>{e.toLowerCase().includes("styleattributes")&&(t[e]=Y._resolveTogglableStyles(t[e]))})),t}static _resolveTogglableStyles(e){const t=Object.assign({},e),n=(e,n,o)=>{n in t&&(e.forEach((e=>{e in t&&(t[e]=t[n]?t[e]:o)})),delete t[n])};return n(["marginTop","marginBottom","marginLeft","marginRight"],"_marginEnabled","0px"),n(["paddingTop","paddingBottom","paddingLeft","paddingRight"],"_paddingEnabled","0px"),t}}function q(e,t,n){if("en"===n&&e>1)return t[1];const o=Math.abs(e);return t[o%100>4&&o%100<20?2:[2,0,1,1,1,2][o%10<5?o%10:5]]}function Q(e){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Q(e)}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ee(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,se(o.key),o)}}function te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(te=function(){return!!e})()}function ne(e,t,n,o){var r=oe(re(1&o?e.prototype:e),t,n);return 2&o&&"function"==typeof r?function(e){return r.apply(n,e)}:r}function oe(){return oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=re(e)););return e}(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},oe.apply(null,arguments)}function re(e){return re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},re(e)}function ie(e,t){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ie(e,t)}function ae(e,t,n){return(t=se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e){var t=function(e){if("object"!=Q(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Q(t)?t:t+""}var ce=function(){function t(){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return ae(n=function(e,t,n){return t=re(t),function(e,t){if(t&&("object"==Q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,te()?Reflect.construct(t,n||[],re(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"manifest",e),ae(n,"getEndDateData",(function(e){if("FROM_THE_START_OF_DISPLAYING"===e.content.mode){var t=n.getStoredRelativeStartDate(),o=n.getLengthMs(e.content.lengthFromTheStart);return t?{dateInMs:new Date(t).getTime()+o,shouldBeStored:!1}:{dateInMs:(new Date).getTime()+o,shouldBeStored:!0}}return{dateInMs:new Date(e.content.endDate).getTime(),shouldBeStored:!1}})),ae(n,"getLengthMs",(function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return X(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(".").map(Number),4);return 864e5*t[0]+36e5*t[1]+6e4*t[2]+1e3*t[3]})),ae(n,"getStoredRelativeStartDate",(function(){var e;if("UPDATING"!==n.services.config.getConfig("entryModuleType")&&"FROM_THE_START_OF_DISPLAYING"===n.getProps().content.mode)return null===(e=n.services.config.getConfig("getRelativeTimerViewDate"))||void 0===e?void 0:e()})),ae(n,"storeRelativeStartDate",(function(){var e;"UPDATING"!==n.services.config.getConfig("entryModuleType")&&"FROM_THE_START_OF_DISPLAYING"===n.getProps().content.mode&&(null===(e=n.services.config.getConfig("storeRelativeTimerViewDate"))||void 0===e||e())})),ae(n,"clearRelativeStartDate",(function(){var e;"UPDATING"!==n.services.config.getConfig("entryModuleType")&&"FROM_THE_START_OF_DISPLAYING"===n.getProps().content.mode&&(null===(e=n.services.config.getConfig("clearRelativeTimerViewDate"))||void 0===e||e())})),ae(n,"getDateWithTimeZone",(function(e,t){var n=t?new Date(t):new Date;return e?new Date(n.toLocaleString("en-US",{timeZone:e})):n})),ae(n,"splitMilliseconds",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof e||e<0)return{days:0,hours:0,minutes:0,seconds:0,milliseconds:0};var n=e,o={},r=function(e,t,r){var i=Math.floor(n/e);o[r]=t?i:0,n=t?n-i*e:n};return r(864e5,t.days,"days"),r(36e5,t.hours,"hours"),r(6e4,t.minutes,"minutes"),r(1e3,t.seconds,"seconds"),o.milliseconds=n,o})),ae(n,"drawTimer",(function(e,t){var o=n.getRootElement().querySelector(".countdownContainer"),r=n.createElementContainers(o),i=n.getTranslationsMap(n.manifest.i18n),a=i.translations,s=i.language,c=e.content.format||(e.content.showDays?"DD:HH:MM:SS":"HH:MM:SS"),l=n.parseFormat(c),u=t+50,d=n.splitMilliseconds(u,l),m=d.days,b=d.hours,h=d.minutes,p=d.seconds;l.days&&n.createCounterElement(r,m,"day",a,s),l.hours&&(l.days&&n.addSeparatorElements(r),n.createCounterElement(r,b,"hour",a,s)),l.minutes&&((l.days||l.hours)&&n.addSeparatorElements(r),n.createCounterElement(r,h,"minute",a,s)),l.seconds&&((l.days||l.hours||l.minutes)&&n.addSeparatorElements(r),n.createCounterElement(r,p,"second",a,s)),n.applyAutoAdaptiveStyles(e.adaptiveStyles,e.styles)})),ae(n,"createElementContainers",(function(e){J({element:e,html:""});var t=document.createElement("div");t.className="countersContainer";var n=document.createElement("div");return n.className="labelsContainer",e.append(t,n),{countersContainerElement:t,labelsContainerElement:n}})),ae(n,"parseFormat",(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toUpperCase();return{days:e.includes("D"),hours:e.includes("H"),minutes:e.includes("M"),seconds:e.includes("S")}})),ae(n,"createCounterElement",(function(e,t,o,r,i){var a=document.createElement("div");a.setAttribute("cl-element","counterContainer"),a.className="counterContainer";var s=document.createElement("span");s.setAttribute("cl-element","counter"),s.className="counter",J({element:s,html:t>=10?t:"0".concat(t)});var c=document.createElement("div");c.className="counterLabelContainer";var l=document.createElement("span");l.setAttribute("cl-element","label"),l.className="counterLabel",J({element:l,html:q(t,n.getLabelKeys(r,o),i)}),a.appendChild(s),c.appendChild(l),e.countersContainerElement.appendChild(a),e.labelsContainerElement.appendChild(c)})),ae(n,"getLabelKeys",(function(e,t){return[e["content,counterLabel,".concat(t,",single")],e["content,counterLabel,".concat(t,",upToFour")],e["content,counterLabel,".concat(t,",fromFive")]]})),ae(n,"addSeparatorElements",(function(e){var t=document.createElement("div");t.setAttribute("cl-element","separator"),t.className="counter-separator",t.textContent=":";var n=t.cloneNode(!0);n.className="label-separator",e.countersContainerElement.appendChild(t),e.labelsContainerElement.appendChild(n)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}(t,Y),n=t,o=[{key:"connectedCallback",value:function(){var e=this;ne(t,"connectedCallback",this,3)([]),this.getRootElement().innerHTML+="\n".concat("\n<style>\n.countdownContainer {\n display: flex;\n flex-direction: column;\n}\n\n.labelsContainer,\n.countersContainer {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n.countersContainer {\n flex-grow: 1;\n margin-bottom: 5px;\n}\n\n.counterLabelContainer,\n.counterContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n width: 100%;\n min-width: 40px;\n}\n\n.counterContainer {\n height: 100%;\n}\n\n.counter-separator,\n.label-separator {\n margin: 0 5px;\n font-weight: 700;\n font-size: 16px;\n}\n\n.label-separator {\n /* \n limit label separator height so that it never will be higher than label or container,\n still having the same width as counter separator\n */\n height: 3px;\n opacity: 0;\n}\n\n.counter, .counterLabel {\n width: 100%;\n}\n\n.counter {\n margin: 5px;\n}\n\n.counterLabel {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n</style>\n ",'\n<div class="countdownContainer"></div>\n'),this.observeProps((function(t,n){clearInterval(e.intervalId);var o,r="FROM_THE_START_OF_DISPLAYING"===n.content.mode?null:(o=n.content.timeZone)&&"Europe/Kyiv"===o?"Europe/Kiev":o,i=e.getEndDateData(n),a=i.dateInMs,s=a-e.getDateWithTimeZone(r).getTime();s<=0&&(e.clearRelativeStartDate(),i=e.getEndDateData(n),s=(a=i.dateInMs)-e.getDateWithTimeZone(r).getTime()),i.shouldBeStored&&e.storeRelativeStartDate(a),e.drawTimer(n,s>=0?s:0),s<=0||e.services.config.getConfig("devMode")||(e.intervalId=setInterval((function(){var t=a-e.getDateWithTimeZone(r).getTime();e.drawTimer(n,t>=0?t:0),t<=0&&clearInterval(e.intervalId)}),1e3))}))}},{key:"disconnectedCallback",value:function(){ne(t,"disconnectedCallback",this,3)([]),clearInterval(this.intervalId)}}],o&&ee(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}();ae(ce,"define",{name:"sys-countdown-timer",model:e.name,manifest:e});export{ce as default};window.clComponentClass_SysCountdownTimerComponent=ce;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.9997 16.3017C12.6891 16.3017 14.8692 14.1216 14.8692 11.4322C14.8692 8.74281 12.6891 6.56264 9.9997 6.56264C7.31032 6.56264 5.13016 8.74281 5.13016 11.4322C5.13016 14.1216 7.31032 16.3017 9.9997 16.3017ZM9.9997 18.1868C13.7301 18.1868 16.7543 15.1626 16.7543 11.4322C16.7543 7.70174 13.7301 4.67761 9.9997 4.67761C6.26925 4.67761 3.24512 7.70174 3.24512 11.4322C3.24512 15.1626 6.26925 18.1868 9.9997 18.1868Z" fill="#5F5F5F"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0003 3.69827C9.18938 3.69827 8.40592 3.80928 7.66355 4.01637C7.16215 4.15623 6.64231 3.86316 6.50244 3.36176C6.36257 2.86037 6.65565 2.34052 7.15704 2.20065C8.06273 1.948 9.01655 1.81323 10.0003 1.81323C10.9841 1.81323 11.9379 1.948 12.8436 2.20065C13.345 2.34052 13.638 2.86037 13.4982 3.36176C13.3583 3.86316 12.8385 4.15623 12.3371 4.01637C11.5947 3.80928 10.8112 3.69827 10.0003 3.69827Z" fill="#5F5F5F"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.99922 7.58616C10.5198 7.58616 10.9417 8.00814 10.9417 8.52868V10.491H12.8892C13.4098 10.491 13.8317 10.913 13.8317 11.4336C13.8317 11.9541 13.4098 12.3761 12.8892 12.3761H10.9417C9.90066 12.3761 9.0567 11.5321 9.0567 10.491V8.52868C9.0567 8.00814 9.47868 7.58616 9.99922 7.58616Z" fill="#5F5F5F"/>
|
|
5
|
+
</svg>
|