1var Weglot=function(){"use strict";var e={v1:[],v2:["ABBR","ACRONYM","B","BDO","BIG","CITE","EM","I","KBD","Q","SMALL","STRONG","SUB","SUP","U"],v3:["A","BDI","BR","DEL","DFN","INS","S","SPAN"]};e.v2.unshift("#text");var t=e,n={excluded_blocks:[],media_enabled:!1,external_enabled:!1,extra_definitions:[],translation_engine:2,noTranslateAttribute:"data-wg-notranslate",mergeNodes:[]},r={ddtags:"env:prod",clientToken:"pub4efaec96ce2494088ba70a2049d58dc3",site:"datadoghq.com"},o={"dd-api-key":"pub4efaec96ce2494088ba70a2049d58dc3",ddsource:"browser"},a="prod";function i(e){var t=e.service;function n(e,n,i){var c=i.sendToConsole;void 0===c&&(c=!0);var s=i.consoleOverride,l=i.sendToDatadog;if(void 0===l&&(l=!0),l&&"dev"!==a&&function(e,t,n){"string"==typeof t&&(t={message:t});var a=Object.assign({},t,{service:e,status:n},window.location&&{view:{url:window.location.href}},t.message&&{message:t.message},t.stack&&{stack:t.stack},t.status&&{logStatus:t.status},r);window.Weglot&&window.Weglot.options&&(a.projectInfo=["host","api_key","url_type","technology_name","technology_id","is_connect","auto_switch"].reduce((function(e,t){var n;return Object.assign({},e,((n={})[t]=window.Weglot.options[t],n))}),{}));var i=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&");fetch("https://http-intake.logs.datadoghq.com/api/v2/logs?"+i,{method:"POST",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}})}(t,e,n),c){var u=s||e,f=["notice","info"].includes(n)?"log":n;console[f]("[Weglot]",u)}}var i=function(e){return function(t,r){return void 0===r&&(r={}),n(t,e,r)}};return{log:i("info"),info:i("info"),notice:i("notice"),warn:i("warn"),error:i("error")}}var c=i({service:"html-parser-engine"});function s(e,t,n){var r=t&&t[e];if(r&&r.textContent===t.textContent)return r.result;var o=n(t);return t?(t[e]={result:o,textContent:t.textContent},o):o}function l(e){return s("__validMergeNodes",e,(function(e){return e&&d(e)&&u(e)&&!function(e){return s("__containsNoTranslateNodes",e,(function(e){return 1===e.nodeType&&(!!e.querySelector("["+n.noTranslateAttribute+"]")||_(e))}))}(e)}))}function u(e,t){return void 0===t&&(t=!0),s("__validTextNodes",e,(function(e){return!(!e.textContent||t&&!e.textContent.trim()||-1!==e.textContent.indexOf("BESbswy")||e.parentNode&&e.parentNode.nodeName&&-1!==["script","style","noscript"].indexOf(e.parentNode.nodeName.toLowerCase())||function(e){if(!(e=e.trim()))return!1;var t=e.charAt(0);if("["!==t&&"{"!==t)return!1;var n=e[e.length-1];if("]"!==n&&"}"!==n)return!1;return e=e.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""),/^[\],:{}\s]*$/.test(e)}(e.textContent))}))}function f(e){try{if(n.mergedSelectorRemove&&e.closest&&e.closest(n.mergedSelectorRemove))return!1}catch(e){}return!(!n.mergeNodes||-1===n.mergeNodes.indexOf(e.nodeName))||(e.dataset&&e.dataset.wgMerge||n.selectorMerging&&e.matches&&e.matches(n.selectorMerging))}function d(e){return s("__onlyInlineChildsNodes",e,(function(e){if(!e.childNodes)return!0;for(var t=0,n=e.childNodes;t<n.length;t+=1){var r=n[t];if(r.weglot||!f(r)||!d(r))return!1}return!0}))}function _(e){if(!e.children)return!1;for(var t=0,n=e.children;t<n.length;t+=1){var r=n[t];if(r.wgNoTranslate||_(r))return!0}return!1}function g(e){return!!e&&(!!e.wgNoTranslate||g(e.parentNode))}function p(e){if(!e)return!1;var t=e.closest?e:e.parentNode;return!!(t&&t.closest&&t.closest("["+n.noTranslateAttribute+"]"))||g(e)}var m=function(e,t){return function(n,r){try{var o=r;return-1!==o.indexOf(":")&&(o=o.replace(/([^\\]):/g,"$1\\:")),n[e]?n[e](o):t}catch(o){try{return n[e]?n[e](r):t}catch(e){c.warn(e,{consoleOverride:"Your CSS rules are incorrect: "+r,sendToDatadog:!1})}}return t}},h=m("querySelectorAll",[]),v=m("matches",!1);var y=new WeakMap;function w(e){if(!e)return[];var t=e.querySelectorAll?e:e.parentNode;if(!t)return[];if(function(e){var t=n.excluded_blocks;if(t&&t.length){var r=t.map((function(e){return e.value})),o=r.join(",");if(v(e,o)){if(n.private_mode){var a=r.find((function(t){return v(e,t)}));e.wgNoTranslate="Excluded by selector: "+a}else e.wgNoTranslate=!0;return}var i=h(e,o);if(i)for(var c=function(){var e=l[s];if(n.private_mode){var t=r.find((function(t){return v(e,t)}));e.wgNoTranslate="Excluded by selector: "+t}else e.wgNoTranslate=!0},s=0,l=i;s<l.length;s+=1)c()}}(t),!n.whitelist||!n.whitelist.length)return[].concat(function(e){var t=document.getElementsByTagName("title")[0];if(e!==document.documentElement||!document.title||!t||p(t))return[];return[{element:t.firstChild,type:9,words:t.textContent,properties:{}}]}(t),b(t));var r=n.whitelist.map((function(e){return e.value})).join(",");if(t.closest&&t.closest(r))return b(t);for(var o=[],a=0,i=h(t,r);a<i.length;a+=1){var c=i[a];[].push.apply(o,b(c))}return o}function b(e){return[].concat(function(e){var t=[];return R.forEach((function(n){for(var r,o,a,i=n.attribute,c=n.type,s=n.selectors,l=0,u=(r=e,o=[],a=s.join(","),r.matches&&r.matches(a)&&o.push(r),r.childElementCount>0&&o.push.apply(o,r.querySelectorAll(a)),o);l<u.length;l+=1){var f=u[l];if(!p(f)){var d=i.get(f);
1C(d)||t.push({element:f,words:d,type:c,attrSetter:i.set,attrName:i.name})}}})),t}(e),function(e){var t,r=[],o=n.translation_engine>=2,a=document.createTreeWalker(e,4,k,!1);for(;t=a.nextNode();){var i=(o&&(f(t.parentNode)||t.parentNode.childNodes.length>1)?E:S)(t,a);i&&r.push(i)}return r}(e))}function k(e){return!u(e)||p(e)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}function E(e,t){var r=function(e){if(e.wgResolved)return!1;var t=e;do{if(t.wgResolved)return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return!1}(e);if(r&&y.has(r)){var o=y.get(r);return{element:o[0],words:o[1],type:1,properties:o[2]}}var a=function(e,t){var r=[],o=e;for(;l(e.parentNode);)e=e.parentNode,o.textContent.trim()!==e.textContent.trim()&&(o=e);o.textContent.trim()===e.textContent.trim()&&(e=o);for(;t.nextNode();)if(!e.contains||!e.contains(t.currentNode)){t.previousNode();break}var a=e.cloneNode(!0);if(n.translation_engine>2){x(e,(function(e){if(1===e.nodeType){var t=function(e){for(var t=[],n=0,r=e.attributes;n<r.length;n+=1){var o=r[n];t.push(o)}return t}(e);r.push({attributes:t,child:e})}}));var i=1;x(a,(function(e){1===e.nodeType&&(!function(e){if(!e.attributes)return e;for(;e.attributes.length>0;)e.removeAttribute(e.attributes[0].name)}(e),e.setAttribute("wg-"+i++,""))}))}if(e){return e.wgResolved=!0,[e,(a.innerHTML||a.textContent||"").replace(/<!--[^>]*-->/g,""),r]}}(e,t);if(a){var i=a[0],c=a[1],s=a[2];if(!C(c))return y.set(i,a),{element:i,words:c,type:1,properties:s}}}function S(e){var t=e.textContent;if(!C(t))return{element:e,words:t,type:1,properties:{}}}function x(e,t){if(e.childNodes)for(var n=0,r=e.childNodes;n<r.length;n+=1){var o=r[n];if(!o)return;t(o),x(o,t)}}function C(e){return!e||!e.trim()||!isNaN(e)||"â"===e}function O(e,t){for(var n=0,r=e;n<r.length;n+=1){var o=r[n],a=o.weglot.content;if(a&&o.isConnected){for(var i=0,c=a;i<c.length;i+=1){var s=c[i],l=s.original,u=s.properties,f=s.attrSetter,d=s.translations[t]||l;u&&(o.weglot.setted=!0,N(o,d,u,e)),f&&(o.weglot.setted=!0,f(o,d,l))}o.wgResolved=!1}}}function N(e,t,n,r){if(1===e.nodeType){var o=function(e,t,n){var r=document.createElement("div");return r.innerHTML=e,T(t,r,n)}(t,e,n);return e.innerHTML="",void e.appendChild(o)}if(-1!==t.indexOf("<")&&-1!==t.indexOf(">")){if(!e.parentNode)return c.warn("Unable to translate some words, please contact [email protected]."),void c.warn(e,{sendToDatadog:!1});if(1===e.parentNode.childNodes.length)return e.parentNode.weglot=e.weglot,void(r?r.push(e.parentNode):N(e.parentNode,t,n));var a=e.closest&&e.closest("[data-wg-translation-wrapper]")||e.parentNode.closest("[data-wg-translation-wrapper]");if(!a||a.innerHTML!==t){var i=document.createElement("span");i.dataset.wgTranslationWrapper="",i.weglot=e.weglot,e.parentNode.replaceChild(i,e),r?r.push(i):N(e.parentNode,t,n)}}else e.textContent=t}function T(e,t,n){var r=document.createDocumentFragment();if(1!==e.nodeType)return r.appendChild(t),r;for(var o=t.childNodes.length,a=0;a<o;a++){var i,s=t.firstChild;if(i=L(s)){var l=n[i-1];if(!l)continue;var u=l.used?l.child.cloneNode(!0):l.child,f=T(u,s,n);if(f.contains(u))return c.error("There is an HTML error in the translation of: "+e.innerHTML),r;u.innerHTML="",u.appendChild(f),r.appendChild(u),document.createDocumentFragment().appendChild(s),l.used=!0}else r.appendChild(s)}return r}function L(e){if(e&&1===e.nodeType&&e.attributes&&e.attributes[0]){var t=parseInt(e.attributes[0].name.split("wg-")[1]);return isNaN(t)?void 0:t}}function A(e){return{name:e,get:function(t){return t.getAttribute(e)},set:function(t,n){return t.setAttribute(e,n)}}}function j(e,t){if(e.parentNode&&"PICTURE"===e.parentNode.tagName)for(var n=0,r=e.parentNode.children;n<r.length;n+=1){var o=r[n];"SOURCE"===o.tagName&&(o.getAttribute("srcset")&&o.setAttribute("srcset",t))}}function P(e){return e&&e.split&&e.split("www.")[1]||e}function D(e){var t=[{type:1,selectors:["[title]"],attribute:A("title")},{type:2,selectors:["input[type='submit']","input[type='button']","button"],attribute:A("value")},{type:3,selectors:["input[placeholder]","textarea[placeholder]"],attribute:A("placeholder")},{type:4,selectors:["meta[name='description']","meta[property='og:description']","meta[property='og:site_name']","meta[property='og:image:alt']","meta[name='twitter:description']","meta[itemprop='description']","meta[itemprop='name']"],attribute:A("content")},{type:7,selectors:["img"],attribute:A("alt")},{type:8,selectors:["[href$='.pdf']","[href$='.docx']","[href$='.doc']"],attribute:A("href")},{type:9,selectors:["meta[property='og:title']","meta[name='twitter:title']"],attribute:A("content")}];if(!e)return t;if(e.media_enabled&&t.push({type:5,selectors:["youtube.com","youtu.be","vimeo.com","dailymotion.com"].map((function(e){return"iframe[src*='"+e+"']"})),attribute:A("src")},{type:6,selectors:["img","source"],attribute:{name:"src",get:function(e){var t=e.getAttribute("src");if(!t||!t.split)return"";if(0===t.indexOf("data:image"))return"";var n=t.split("?");return n[1]&&(e.queryString=n[1]),n[0]},set:function(e,t,n){var r=e.getAttribute("src"),o=e.getAttribute("srcset");if(t===n){if(e.removeAttribute("data-wgtranslated"),e.isChanged){var a=""+t+(e.queryString?"?"+e.queryString:"");e.setAttribute("src",a),j(e,a),e.hasAttribute("wgsrcset")&&(e.setAttribute("srcset",e.getAttribute("wgsrcset")||e.dataset.srcset),e.removeAttribute("wgsrcset"))}}else r.split("?")[0]!==t&&n!==t&&(e.setAttribute("src",t),j(e,t),e.hasAttribute("srcset")&&(e.setAttribute("wgsrcset",o),e.setAttribute("srcset","")),e.dataset.wgtranslated=!0,e.isChanged=!0)}}},{type:6,selectors:["meta[property='og:image']","meta[property='og:logo']"],attribute:A("content")},{type:6,selectors:["img"],attribute:A("srcset")}
1),e.translate_aria&&t.push({type:1,selectors:["[aria-label]"],attribute:A("aria-label")}),e.external_enabled){var n=P(function(){var e=window.location,t=e.hostname,n=e.search;if("ve-weglot.com"!==t||!n)return t;var r=decodeURIComponent(n).match(/url=https?:\/\/([^/]+)/);return r?r[1]:(c.warn("[Weglot] Unable to get current hostname"),t)}());t.push({type:10,selectors:["iframe"],attribute:A("src")},{type:10,selectors:["a[rel=external]"],attribute:A("href")},{type:10,selectors:['[href^="mailto"]'],attribute:A("href")},{type:10,selectors:['[href^="tel"]'],attribute:A("href")},{type:10,selectors:["http:","https:","//"].map((function(e){return'[href^="'+e+'"]:not(link)'})),attribute:{name:"href",get:function(e){if(!e.href||!e.href.split)return"";var t=e.href.split("/")[2];return t&&P(t)!==n?e.getAttribute("href"):""},set:function(e,t){return e.setAttribute("href",t)}}})}if(e.extra_definitions&&e.extra_definitions.length)for(var r=function(){var e=a[o],n=e.type,r=e.selector,i=e.attribute;i&&r?t.push({type:n,selectors:[r],attribute:{name:i,get:function(e){return e.getAttribute(i)},set:function(e,t){return e.setAttribute(i,t)}}}):c.warn("Each extra definition option needs at least {attribute,selector} https://bit.ly/2yDsLxy",{sendToDatadog:!1})},o=0,a=e.extra_definitions;o<a.length;o+=1)r();return t}k.acceptNode=k;var R=[];function I(e,r){if(!r||!r.translation_engine)throw"translation_engine is required";var o;return Object.assign(n,r),n.document=e,n.mergeNodes=(o=r.translation_engine,t.v2.unshift("#text","#comment"),Object.keys(t).reduce((function(e,n,r){return o>=r+1&&[].push.apply(e,t[n]),e}),[])),Array.isArray(n.extra_merged_selectors)&&(n.selectorMerging=r.extra_merged_selectors.filter((function(e){return e&&"string"==typeof e})).join(",")),r.merged_selectors_remove&&(n.mergedSelectorRemove=r.merged_selectors_remove.map((function(e){return e.value})).join(",")),{getTextNodes:w,setTextNodes:O,definitions:R=D(n)}}var W=i({service:"js-library"}),U="https://cdn.weglot.com/projects-settings/",M="wglang",q="wg-style-trans",H="data-wg-notranslate",B="ve-weglot.com",z="wg-translations",F="wg-slugs",$="Shopify",V="BigCommerce",G="Jimdo",J="Squarespace",Y="Wix",K="Webflow",X="Square Online",Z="Bubble",Q="Salesforce",ee=["excluded_blocks","excluded_blocks_remove","dynamics","excluded_paths","dangerously_force_dynamic","extra_definitions","translate_event"],te=["polyfillReady","languageChanged","initialized","start","switchersReady"],ne={button_style:{full_name:!0,with_name:!0,is_dropdown:!0,with_flags:!1,flag_type:""},switchers:[],auto_switch:!1,auto_switch_fallback:"",excluded_blocks:[],excluded_blocks_remove:[],whitelist:[],translate_event:[{selector:"[data-wg-translate-event]",eventName:null}],customer_tag:!1,order_tag:!0,dynamics:[],excluded_paths:[],wait_transition:!0,hide_switcher:!1,translate_search:!1,media_enabled:!1,search_forms:"",cache:!1,live:!0,loading_bar:!0,search_parameter:"",translation_engine:2,override_hreflang:!0},re=["none","shiny","square","circle","rectangle_mat"],oe=[/weglot.min.js\?api_key=(?<api_key>.*)/,/weglot-switcher-editor.js\?api_key=(?<api_key>.*)/,/weglot_squarespace-[0-9]+.min.js\?api_key=(?<api_key>.*)/],ae={};!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){try{return encodeURIComponent(e).replace(/%20/g,"+")}catch(t){return e}},o=function(e){try{return decodeURIComponent(String(e).replace(/\+/g," "))}catch(t){return e}};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var o=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof o){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var a=e[r];if("[object Array]"!==Object.prototype.toString.call(a)&&2===a.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(a[0],a[1])}else for(var i in e)e.hasOwnProperty(i)&&this.append(i,e[i])}},a=o.prototype;a.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},a.delete=function(e){delete this._entries[e]},a.get=function(e){return e in this._entries?this._entries[e][0]:null},a.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},a.has=function(e){return e in this._entries},a.set=function(e,t){this._entries[e]=[String(t)]},a.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var o=0;o<n.length;o++)e.call(t,n[o],r,this)}},a.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},a.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},a.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(a[Symbol.iterator]=a.entries),a.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=o}();var a=e.URLSearchParams.prototype;"function"!=typeof a.sort&&(a.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof a._fromString&&Object.defineProperty(a,"_fromString",{enumerable:!1,
vendor: 3,261 bytes, line 1
1configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,a=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<a.length;n++)r=a[n].split("="),this.append(o(r[0]),r.length>1?o(r[1]):"")}})}(ae),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,o=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var a=o.createElement("a");a.href=t,r&&(o.body.appendChild(a),a.href=a.href);var i=o.createElement("input");if(i.type="url",i.value=t,":"===a.protocol||!/:/.test(a.href)||!i.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:a});var c=new e.URLSearchParams(this.search),s=!0,l=!0,u=this;["append","delete","set"].forEach((function(e){var t=c[e];c[e]=function(){t.apply(c,arguments),s&&(l=!1,u.search=c.toString(),l=!0)}})),Object.defineProperty(this,"searchParams",{value:c,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,l&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}
1catch(n){setInterval((function(){e.location.origin=t()}),100)}}}(ae);var ie=ae.URL,ce=function(e,t){return function(n,r){if(!n||!n[e]||!r)return t;try{return n[e](r)}catch(e){W.error(e,{consoleOverride:"The CSS selectors that you provided are incorrect: "+r,sendToDatadog:!1})}return t}},se=ce("querySelectorAll",[]),le=ce("querySelector",null),ue=ce("closest",null),fe=function(e){return document.getElementById(e)};function de(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function _e(e){e=""+e;return[" ","&",""","<",">"].some((function(t){return-1!==e.indexOf(t)}))?e.replace(/ /g,"Â ").replace(/&/g,"&").replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">"):e}function ge(e){var t=window.location.search.slice(1).split("&").map((function(e){return e&&e.split("=")})).find((function(t){return t[0]===e}));return t&&t[1]}function pe(e,t){var n=document.createElement("style");de(fe(t)),n.id=t,n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),document.head.appendChild(n)}var me=function(){return/google|facebook|bing|yahoo|baidu|yandex|lighthouse/i.test(navigator.userAgent)};function he(e){try{document.createDocumentFragment().querySelector(e)}catch(e){return!1}return!0}var ve=function(e,t,n){var r=new ie(e,location.href);return r.searchParams.set(t,n),""+r.pathname+r.search},ye=function(e,t){var n;return void 0===t&&(t=1e3),function(){for(var r=this,o=[],a=arguments.length;a--;)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}},we=function(e){var t=(new Date).getTime().toString();try{var n=e.contentWindow;return n[t]="asd","asd"===n[t]}catch(e){return!1}};var be={},ke=function(e,t){be[e]=t},Ee=function(e,t){if(be[e])return be[e](t)};var Se,xe={};try{document.cookie,Se=!0}catch(qn){Se=!1}xe.set=function(e,t,n,r,o){Se&&(e=e.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29"),t=t.toString().replace(/[^+#$&/:<-[\]-}]/g,encodeURIComponent),!n&&_t.is_connect&&_t.subdomain&&(n=_t.host.split("www.").pop()),n=n?";domain="+n:"",o=o?";expires="+o:"",r=r||"",document.cookie=e+"="+t+n+";path=/"+r+o+";SameSite=None;Secure")},xe.get=function(e){if(!Se)return null;for(var t=document.cookie.split(";");t.length;){var n=t.pop(),r=n.indexOf("=");if(r=r<0?n.length:r,decodeURIComponent(n.slice(0,r).replace(/^\s+/,""))===e)return decodeURIComponent(n.slice(r+1))}return null},xe.erase=function(e,t,n){xe.set(e,"",t,n,"Thu, 01 Jan 1970 00:00:00 GMT")};var Ce=[];function Oe(e,t,n){if(e)return n();Ne(t,n,!0)}function Ne(e,t,n){return"function"!=typeof t?(W.error("You should provide a callback function as second argument",{sendToDatadog:n}),!1):!n&&te.indexOf(e)<0?(W.error("No Weglot event is named "+e,{sendToDatadog:!1}),!1):(Ce.push({name:e,callback:t,internal:n}),!0)}function Te(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];for(var r=Ce.filter((function(t){return t.name===e})),o=0,a=r;o<a.length;o+=1){var i=a[o];try{i.callback.apply(i,t)}catch(e){if(i.internal)throw e;W.error("Error triggering callback function: "+e,{sendToDatadog:!1})}}}function Le(){if(window.location.hostname!==B||!document.baseURI){var e=window.location;return{url:e.href,hostname:e.hostname,pathname:e.pathname,search:e.search}}var t=new ie(document.baseURI),n=t.hostname,r=t.pathname,o=t.search;return{url:document.baseURI,hostname:n,pathname:r,search:o}}var Ae=Le();Oe(_t&&Object.keys(_t).length>0,"onOptionsReady",(function(){if(_t.dynamicPushState){var e=history.pushState;history.pushState=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];e.apply(history,t);var r=Le();Ae.hostname=r.hostname,Ae.pathname=r.pathname,Ae.url=r.url,Te("onCurrentLocationChanged")}}}));var je,Pe={};function De(e){var t=1;return e.replace(/\((.*?)\)/g,(function(){return"$"+t++}))}function Re(){var e=Ae.pathname,t=_t.localeRules;void 0===t&&(t=[]);var n=_t.languages,r={position:0,translatedFormat:"CODE",originalFormat:"",addedByDefault:!0},o=_t.language_from;if(t.length){var a=[];t.map((function(e){var t=e.position,n=e.translatedFormat;n&&"CODE"!==n&&a.push(t||0)}));var i=a.filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return Object.assign({},r,{position:e})}));t.unshift.apply(t,i)}else t.push(r);
1var c=null,s=null,l=t.find((function(t){var r=t.position;void 0===r&&(r=0);var a=t.translatedFormat;void 0===a&&(a="CODE");var i=t.originalFormat;void 0===i&&(i="");var l=t.addedByDefault;if(!a.includes("CODE"))return!1;var u=e.split("/");if(u.length<=r)return!1;var f=u[r+1],d=n.find((function(e){var t=e.custom_code||e.language_to,n=a.replace("CODE",t),r=new RegExp("^"+n+"$","g");return!!r.test(f)&&(s=r,!0)}));if(d)return c=d.custom_code||d.language_to,!0;if(i){var _=i.replace("CODE",o);return new RegExp("^"+_+"$","g").test(f)}return!l}))||r;return Pe.convertLocale=function(t,n,r,a){if(void 0===n&&(n=e),void 0===r&&(r=c||o),void 0===a&&(a=null),r===t)return n;var i=l.position;void 0===i&&(i=0);var u=l.originalFormat;void 0===u&&(u="");var f=l.translatedFormat;void 0===f&&(f="CODE");var d=n.split("/");if(d.length<=i)return n;var _=d[i+1];if(r===o){var g=f.replace(/CODE/g,t),p=!1;if(u){var m=u.replace(/CODE/g,o),h=new RegExp("^"+m+"$","g"),v=De(g);g=_.replace(h,v),a&&!h.test(_)&&(p=!0,g=a.split("/")[i+1])}var y=u&&!p?2:1;return d.slice(0,i+1).concat([g],d.slice(i+y)).join("/")}if(t===o&&!u)return d.slice(0,i+1).concat(d.slice(i+2)).join("/");var w=De((t===o?u:f).replace(/CODE/g,t)),b=_.replace(s,w);return d.slice(0,i+1).concat([b],d.slice(i+2)).join("/")},Pe.language=c||o,Pe}function Ie(){var e=Ae.hostname,t=_t.languages.find((function(t){return t.connect_host_destination&&t.connect_host_destination.host===e}));return t?t.custom_code||t.language_to:_t.language_from}function We(){return Re().language}function Ue(){if(je)return je;if(_t.is_connect){var e=document.documentElement.dataset.wgTranslated;return e?(je=e,e):je=_t.subdirectory?We():Ie()}return je=_t.language_from}function Me(e,t){var n=t;n||(n=Ue());for(var r=0,o=e;r<o.length;r+=1){var a=o[r];if(!a||!a.dataset||!a.dataset.wgOnlyDisplay)return;a.hidden=a.dataset.wgOnlyDisplay!==n}}Ne("onCurrentLocationChanged",(function(){Pe={}}),!0);var qe={getItem:function(e){return xe.get(e)},setItem:function(e,t,n){void 0===n&&(n={});var r=n.domain,o=n.path,a=n.expires;xe.set(e,t,r,o,a)},removeItem:function(e){return xe.erase(e)}},He={getItem:function(){},setItem:function(){},removeItem:function(){}};function Be(e){void 0===e&&(e={});var t=e.type||"local";try{return"cookie"===t?qe:window.localStorage}catch(e){}return e.type?He:Be({type:"local"===t?"cookie":"local"})}var ze={slugs:{},version:0,network:void 0};function Fe(){return new Promise((function(e){for(var t=_t.languages,n={},r=function(){var r=a[o],i=r.custom_code,c=r.language_to;(function(e){var t=_t.api_key,n=_t.versions;if(!n||!n.slugTranslation)return Promise.resolve({});var r="https://cdn-api-weglot.com/translations/slugs?api_key="+t+"&language_to="+e+"&v="+n.slugTranslation;return fetch(r).then((function(e){return e.json()})).then((function(e){return Array.isArray(e)?{}:e})).catch((function(e){return W.error(e),{}}))})(c).then((function(r){n[i||c]=r,Object.keys(n).length===t.length&&e(n)}))},o=0,a=t;o<a.length;o+=1)r()}))}function $e(e){return e?Object.keys(e).reduce((function(t,n){return t[n]=function(e){return Object.keys(e).reduce((function(t,n){return e[n]&&(t.original[n]=e[n],t.translated[e[n]]=n),t}),{original:{},translated:{}})}(e[n]),t}),{}):{}}function Ve(e){var t=_t.versions;if(t&&t.slugTranslation){var n=t.slugTranslation;ze.version<n&&(ze.network?ze.network.resolved||ze.network.then((function(t){return e($e(t))})):ze.network=Fe().then((function(t){return ze.network.resolved=!0,function(e){var t=_t.versions,n={version:t?t.slugTranslation:1,slugs:e};try{var r=Be({type:"local"});r&&r.setItem(F,JSON.stringify(n))}catch(e){W.warn(e)}ze=Object.assign({},ze,n)}(t),e($e(t)),t})).catch((function(){return e({}),{}}))),e($e(ze.slugs))}else e({})}!function(){if(Object.keys(ze.slugs).length)return ze.slugs;try{var e=Be({type:"local"});if(!e)return{};var t=e.getItem(F);t&&(Object.assign(ze,JSON.parse(t)),ze.slugs)}catch(e){return{}}}();var Ge={};function Je(e,t){return e.split("/").map((function(e){return t[decodeURIComponent(e)]||e})).join("/")}function Ye(e,t){_t.is_tld&&_t.auto_switch&&(e===_t.language_from?t.searchParams.set("no_redirect","true"):t.searchParams.delete("no_redirect"))}function Ke(e,t){var n=Ue(),r=new ie(Ae.url);r.searchParams.has("lang")&&r.searchParams.delete("lang"),Ye(e,r);var o=function(e){if(_t.subdirectory)return!1;var t=_t.language_from,n=_t.host,r=_t.languages;if(e===t)return n;var o=r.find((function(t){return t.custom_code===e||t.language_to===e}))||{},a=o.connect_host_destination;return a&&a.host}(e);return o&&(r.hostname=o),r.pathname=function(e,t,n,r){if(!Object.keys(e).length)return t;if(!Ge.originalPath)if(n!==_t.language_from&&e[n]){var o=e[n].translated;Ge.originalPath=Je(t,o)}else Ge.originalPath=t;return r===_t.language_from?Ge.originalPath:e[r]&&e[r].original?Je(Ge.originalPath,e[r].original):t}(t,r.pathname,n,e),_t.subdirectory&&e&&(r.pathname=function(e,t){return Re().convertLocale(e,t)}(e,r.pathname)),r.toString()}function Xe(e,t){if(!_t.is_connect||!e)return t("#");var n=_t.dynamicPushState,r=_t.injectedData;void 0===r&&(r={});var o=r.allLanguageUrls;if(void 0===o&&(o={}),!n&&o&&o[e]){var a=new ie(o[e]);return Ye(e,a),t(a.toString())}Ve((function(n){return t(Ke(e,n))}))}Ne("onCurrentLocationChanged",(function(){Ge={}}),!0);var Ze={};function Qe(){var e=_t.host;return void 0===e&&(e=window.location.hostname),0===e.indexOf("www.")?e.slice(3):"."+e}function et(){var e=document.cookie.match(/(^cart=[^;]+|[\W]cart=[^;]+)/g);if(e){var t=e.map((function(e){return e.split("=").pop()}));1!==t.length&&t[0]===t[1]||xe.set("cart",t[0],Qe())}else setTimeout(et,100)}function tt(e,t){return _t.is_connect&&e!==_t.language_from?Ze[t]?Ze[t]:(Ve((function(r){var o=r&&r[e]?Je(t,r[e].original):t;n=_t.subdirectory?Re().convertLocale(e,o,_t.language_from):o})),Ze[t]=n,n):t;var n}Ne("onCurrentLocationChanged",(function(){Ze={}}),!0),ke("onWeglotSetup",(function(){!1!==_t.original_shopify_checkout&&_t.is_connect&&!_t.subdirectory&&_t.language_from===Ue()&&et()}));var nt={};function rt(e){return e?"string"!=typeof e?e:e.split(",").map((function(e){return{value:e}})):[]}function ot(e,t){if(void 0===t&&(t=""),!e)return ne.button_style;var n=e.classF||"",r=n.match(/flag-(\d)/),o={with_name:e.withname,full_name:!!e.fullname,is_dropdown:!!e.is_dropdown,with_flags:-1!==n.indexOf("wg-flags"),flag_type:r&&r[1]?re[r[1]]:"",invert_flags:!0};return t&&(o.custom_css=t),o}function at(e){var t=e.styleOpt,n=e.containerCss,r=e.target,o=e.sibling;return{style:ot(t,n),location:{target:r,sibling:o}}}nt[$]=function(){var e=function(e){void 0===e&&(e=Ue());for(var t=function(t){return tt(e,t)},r=n(e),o=0,a=document.querySelectorAll(['form[method="post"][action^="'+t("/cart")+'"]','form[method="post"][action^="'+t("/checkout")+'"]'].join(","));o<a.length;o+=1){var i=a[o],c=i.getAttribute("action");0===c.indexOf(t("/cart"))&&c.split("?")[0]!==t("/cart")||i.setAttribute("action",ve(c,"locale",r))}for(var s=0,l=document.querySelectorAll('a[href^="'+t("/checkout")+'"],a[href^="'+t("/cart/checkout")+'"]');s<l.length;s+=1){var u=l[s];u.setAttribute("href",ve(u.getAttribute("href"),"locale",r))}},t=function(e){void 0===e&&(e=Ue());var t=document.getElementById("create_customer")||document.querySelector('form[action="'+tt(e,"/account")+'"]')||"string"==typeof _t.customer_tag&&le(document,_t.customer_tag);
1if(t){var n=document.getElementById("weglot-lang-form");n&&n.parentNode.removeChild(n);var r=document.createElement("input");Object.assign(r,{type:"hidden",id:"weglot-lang-form",name:"customer[tags]",value:"#wg"+e+"#wg"}),t.appendChild(r)}};function n(e){return"pt"===e?"pt-PT":"ro"===e?"ro-RO":"fl"===e?"fil":"zh"===e?"zh-CN":"tw"===e?"zh-TW":e.substr(0,2)}var r=function(){var e=document.getElementById("shopify-features");if(!e)return null;var t=e.textContent.match(/"shopId":(\d*)/);return t?t[1]:null},o=function(e){if(void 0===e&&(e=Ue()),!_t.visual_editor&&window.top===window.self){var t=_t.cart_attributes.map((function(t){return"attributes["+t+"]="+n(e)})).join("&"),r=fetch("/cart/update.js",{method:"POST",body:t,headers:{"Content-Type":"application/x-www-form-urlencoded"},credentials:"same-origin"});!1!==_t.original_shopify_checkout&&_t.is_connect&&!_t.subdirectory&&_t.language_from===Ue()&&r.then((function(e){return e.json()})).then((function(e){var t=e.token;return xe.set("cart",t,Qe())}));for(var o=document.querySelectorAll('a[href*="/cart/"]'),a="attributes[lang]="+e,i=0,c=o;i<c.length;i+=1){var s=c[i],l=s.getAttribute("href");if(l){var u=l.match(/\/cart\/\d+:\d+(\?)?/);u&&(l=l.replace(/&?attributes\[lang\]=([a-zA-Z-]+)/g,""),s.setAttribute("href",l+(u[1]?"&":"?")+a))}}}};function a(a){if(_t.language_from!==a){var i,c;window.Shopify&&(window.Shopify.locale=a),!me()&&_t.order_tag&&o(a),e(a),i=a,(c=r())&&xe.set("checkout_locale",n(i),null,c);var s=document.querySelectorAll("[data-wg-only-display]");s.length&&Me(s,a),_t.customer_tag&&t(a)}}Ne("initialized",(function(){window.langify&&W.log("%c Please, uninstall langify to properly use Weglot",{sendToDatadog:!1}),me()||!_t.order_tag||_t.is_connect&&_t.language_from!==Ue()||o(),e();var r,a=document.querySelectorAll("[data-wg-only-display]");a.length&&Me(a),_t.customer_tag&&t(),document.getElementsByClassName("shopify-payment-button").length&&(r=window.fetch,window.fetch=function(){if("/wallets/checkouts.json"===arguments[0])try{var e=JSON.parse(arguments[1].body),t=n(Ue());e.checkout.attributes={},_t.cart_attributes.forEach((function(n){return e.checkout.attributes[n]=t})),arguments[1].body=JSON.stringify(e)}catch(e){}return r.apply(window,arguments)})}),!0),ke("onConnectPageLoad",(function(e){return a(e)})),ke("onPageLanguageSet",(function(e){return a(e)})),ke("onDynamicDetected",(function(){e(Ue())})),ke("startWhen",(function(){return fe("admin-bar-iframe")||fe("preview-bar-iframe")||_t.private_mode||function(){for(var e=0,t=document.scripts;e<t.length;e+=1)if(-1!==t[e].src.indexOf("preview_bar_injector"))return!0;return!1}()}));var i=[".shopify-payment-button button"].concat(["#isp_search_result_page_container",".snize-ac-results","#snize_results",".snize-recommendation",".snize-modal",".snize-search-results-header","div>span.cc-message",".hc-widget",".jdgm-rev-widg__header",".jdgm-rev__body",".jdgm-rev-title",".yotpo-main-widget","#swell-popup",".swell-tab",".yotpo-widget-override-css","#saso-notifications",".saso-cross-sell-popup",".saso-cart-item-discount-notes",".saso-cart-item-upsell-notes",".saso-volume-discount-tiers",".opw-leading-normal",".opw-my-2.opw-leading-normal.opw-text-lg.opw-text-left",".opinew-navbar.opw-flex.opw-items-center.opw-justify-between.opw-flex-wrap.opw-py-4.opw-px-6",".main-content-container.opw--mx-1",".opw-text-center.opw-text-sm.opw-border-solid.opw-border-0.opw-mt-3",".summary-card-container.opw-mx-1",".opw-reviews-container.opw-mt-3.opw--mx-1",".opinew-reviews-title.opw-flex.opw-items-center.opw-flex-no-shrink.opw-mr-6",".opw-flex.opw-flex-row-reverse","#opinew-app-container",".gem_dynamic-content",".pp_tracking_content",".pp_all_form_div",".pp_tracking_result_title",".progress-bar-style",".pp_tracking_left",".pp_num_status_show",".pp_tracking_status_tips",".pp_page_map_div",".pp_tracking_result_parent",".pp_tracking_right",".pp_recommend_product_parent",".currency-converter-cart-note",".cbb-shipping-rates-calculator",".cbb-frequently-bought-container",".cbb-frequently-bought-discount-applied-message",".cbb-also-bought-container","#zonos",".buddha-menu-item",".R-GlobalModal",".ruk-rating-snippet-count",".R-ContentList-container",".R-ReviewsList-container",".R-SliderIndicator-group",".R-TextBody",".widgetId-reviewsio-carousel-widget",".REVIEWSIO-FloatingMinimised",".REVIEWSIO-FloatingMinimised__Container",".reviewsio-carousel-widget",".reviews-io-floating-widget",".reviews_container",".site-nav.style--sidebar .site-nav-container .subtitle",".search-more",".variant-quantity",".lion-claimed-rewards-list",".lion-header",".lion-header__join-buttons",".lion-header__join-today",".lion-history-table",".lion-integrated-page-section__heading-text",".lion-loyalty-panel",".lion-loyalty-splash",".lion-loyalty-widget",".lion-modal__content",".lion-modal__header",".lion-referral-widget",".lion-rewards-list",".lion-rules-list",".lion-tier-overview",".ccpops-popup__content__bottom-text",".ccpops-popup__content__top-text",".ccpops-trigger__text",".ks-table-row",".klaviyo-form"]).concat(_t.is_connect?[]:["form.cart.ajaxcart","form.cart-drawer","#cross-sell",".wheelio_holder",".mini-cart","#shopify-product-reviews","#esc-oos-form",".product__add-to-cart-button","select.product-variants>option:not([value])",".ui-autocomplete",".shopify-payment-button__button","#shopify-section-static-recently-viewed-products","#recently-viewed-products","#shopify-section-product-recommendations",".action_button.add_to_cart"]);return{cart_attributes:["lang","Invoice Language"],excluded_blocks:["input[type='radio']","span.money",".price",".product__prices","#admin-bar-iframe",".notranslate",".skiptranslate","#isp_refine_nevigation","#isp_header_subtitle",".isp_sorting_and_result_view_wrapper","#isp_results_did_you_mean > span",".isp_facet_show_hide_values","#isp_main_search_box",".snize-filter-variant-count",".snize-search-results-header a",".snize-search-results-header b",".hc-author__text",".hc-avatar__initials",".hc-rating-chart__count",".hc-rating-chart__percentage-value",".yotpo-review-date",".yotpo-user-name",".yotpo-user-letter",".yotpo .avg-score",".yotpo .sr-only",".yotpo-mandatory-mark"].map((function(e){return{value:e}})),search_forms:"form[action='/pages/search-results'],form[action='/search']",search_parameter:"q",dynamics:i.map((function(e){return{value:e}})),extra_definitions:[{type:1,selector:".snize-color-swatch",attribute:"data-sntooltip"},{type:1,selector:"button[data-pf-type=ProductATC]",attribute:"data-soldout"},{type:1,selector:"button[data-pf-type=ProductATC]",attribute:"data-adding"},{type:1,selector:"button[data-pf-type=ProductATC]",attribute:"data-added"}]}},nt[V]=function(){return ke("onPageLanguageSet",(function(e){!function(e){for(var t=0,n=document.querySelectorAll('[href*="/checkout.php"],[href*="/cart.php"]');t<n.length;t+=1){var r=n[t];r.setAttribute("href",ve(r.getAttribute("href"),"lang",e))}}(e)})),{dynamics:[".quick-shop-details","#QuickViewProductDetails",".QuickViewModal",".modalContainer",".ng-checkout-container",".previewCartAction","#checkout-app"].map((function(e){return{value:e}})),search_forms:"form[action='/search.php']",search_parameter:"search_query"}},nt[Z]=function(){return _t.is_connect?{}:{dynamics:[{value:".content"}]}},nt[G]=function(){return{excluded_blocks:['[data-display="cms-only"]',".j-admin-links",".cc-m-status-empty"].map((function(e){return{value:e}}))}},nt[J]=function(){var e=[],t=["body.sqs-is-page-editing"];document.getElementById("sqs-cart-root")&&(e.push("#sqs-cart-container"),t.push("#sqs-cart-container [class*=subtotalPrice]","#sqs-cart-container .cart-container .item-price")),document.getElementById("sqs-standard-checkout")&&(e.push("#checkout"),t.push("#checkout span.money","#checkout [data-test*=incomplete] [class^=PaymentCard-container]","#checkout [data-test*=incomplete] [class^=CustomerAddress-container]","#checkout [class^=CustomerInfoSection-email]","#checkout [class^=GoogleResultsList]"));var n=window.location.host.endsWith("squarespace.com");if(Ne("initialized",(function(){try{var e=window.ExtensionScriptsSDK;if(!e)return;e["1.0"].page.events.dispatchScriptLoadEvent("Weglot")}catch(e){}})),!_t.is_connect)try{for(var r=0,o=Array.from(document.querySelectorAll(".animation-segment-wrapper"));r<o.length;r+=1){o[r].parentNode.dataset.dynamicStrings=""}for(var a=0,i=Array.from(document.querySelectorAll(".animation-segment-parent-hidden"));a<i.length;a+=1){i[a].dataset.dynamicStrings=""}t.push(".animation-segment-wrapper"),t.push(".animation-segment-parent-hidden > *")}catch(e){}return{force_translation:e.join(","),dynamics:["#sqs-cart-container","#checkout",".sqs-widgets-confirmation",".video-player",".jdgm-widget",".calendar-block",".opentable-v2-block",".blog-item-comments"].map((function(e){return{value:e}})).concat(_t.is_connect?[{value:".sqs-add-to-cart-button.cart-adding"},{value:".sqs-add-to-cart-button.cart-added"}]:[{value:"[data-dynamic-strings]"},{value:".sqs-add-to-cart-button"},{value:".variant-select-wrapper"}]),excluded_blocks:t.map((function(e){return{value:e}})).concat(_t.is_connect?[{value:".comment-body"}]:[]),forceDisableConnect:n,merged_selectors_remove:[{value:".plyr__menu__container"},{value:".product-price .original-price"},{value:".comment-btn-wrapper"}],extra_definitions:[{type:1,selector:".variant-select-wrapper",attribute:"data-text"}]}},nt[Y]=function(){var e={dynamics:document.documentElement.getAttribute("data-wg-translated")?[]:[{value:"#SITE_CONTAINER"}],dynamicPushState:!0};if(window.wixBiSession&&"bolt"!==window.wixBiSession.renderType&&!_t.visual_editor&&(document.addEventListener("DOMContentLoaded",(function(){new MutationObserver((function(e){for(var t=0;t<e.length;t++){"SUCCESS"===e[t].target.getAttribute("data-santa-render-status")&&(this.disconnect(),Te("start"))}})).observe(document.getElementById("SITE_CONTAINER"),{attributes:!0,attributeFilter:["data-santa-render-status"]})})),e.delayStart=!0,e.wait_transition=!1),window.wixBiSession&&"bolt"===window.wixBiSession.renderType){var t=0,n=setInterval((function(){(document.body&&window.sssr||40===t)&&(Te("start"),clearInterval(n)),t++}),100);e.delayStart=!0,e.wait_transition=!1}return e},nt[K]=function(){return Ne("switchersReady",(function(){var e=document.querySelector(".weglot-container");e&&e.classList.add("weglot-container--left")})),{forceDisableConnect:window.Webflow&&window.Webflow.env&&!!window.Webflow.env("editor"),excluded_blocks:[".wg-element-wrapper"].map((function(e){return{value:e}}))}},nt[X]=function(){return{dynamics:[".w-container",".w-wrapper",".product-header",".product-messages",".error","button"].map((function(e){return{value:e}}))}},nt[Q]=function(){return{ignoreDynamicFragments:!0,dynamicPushState:!0,merged_selectors_remove:[{value:".themeProfileMenu"}]}};var it=[{from:"originalLanguage",to:"language_from"}
1,{from:"autoSwitch",to:"auto_switch"},{from:"autoSwitchFallback",to:"auto_switch_fallback"},{from:"waitTransition",to:"wait_transition"},{from:"subDomain",to:"subdomain"},{from:"translateSearch",to:"translate_search"},{from:"searchsForms",to:"search_forms"},{from:"searchParameter",to:"search_parameter"},{from:"hideSwitcher",to:"hide_switcher"},{from:"dangerouslyForceDynamic",to:"dangerously_force_dynamic"},{from:"loadingBar",to:"loading_bar"},{from:"customerTag",to:"customer_tag"},{from:"orderTag",to:"order_tag"},{from:"translateImages",to:"media_enabled"},{from:"extraDefinitions",to:"extra_definitions"},{from:"excludePaths",to:"excluded_paths",func:function(e){return e?"string"!=typeof e?e:e.split(",").filter((function(e){return!!e})).map((function(e){return{value:e,type:"CONTAIN"}})):[]}},{from:"exceptions",to:"excluded_blocks",func:rt},{from:"whiteList",to:"whitelist",func:rt},{from:"styleOpt",to:"button_style",func:ot},{from:"destinationLanguages",to:"languages",func:function(e){return"string"!=typeof e?e:e.split(",").map((function(e){return{language_to:e,provider:null,automatic_translation_enabled:!0}}))}}];function ct(e){var t=Object.assign({},e);return t.switchers&&("string"==typeof t.switchers&&(t.switchers=JSON.parse(t.switchers)),t.switchers.length&&t.switchers[0].styleOpt&&(t.switchers=t.switchers.map(at))),Array.isArray(t.dynamic)&&(t.dynamic=t.dynamic.join(",")),Array.isArray(t.translate_iframes)&&(t.translate_iframes=t.translate_iframes.join(",")),t.translate_images&&(t.media_enabled=!0),it.forEach((function(e){var n=e.from,r=e.to,o=e.func;void 0!==t[n]&&(t[r]=o?o(t[n]):t[n],delete t[n])})),t}function st(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var lt={};function ut(e){if(!e||!e.api_key)throw Error("You have to provide at least a key");var t=e.api_key.split("wg_").pop(),n=ct(e);return function(e){if(window.location.hostname===B)return fetch("https://api.weglot.com/projects/settings?api_key=wg_"+e).then((function(e){return e.json()}));var t=fe("weglot-data");if(t)try{var n=JSON.parse(t.innerHTML),r=n.settings,o=st(n,["settings"]);if(r)return r.injectedData=o,Promise.resolve(r)}catch(e){}return fetch(""+U+e+".json").then((function(e){return e.json()}))}(t).then((function(e){var t=e.custom_settings,r=st(e,["custom_settings"]);n.button_style=Object.assign(t?t.button_style:{},n.button_style);var o=r.language_from,a=r.languages;o&&(n.language_from=o),a&&(n.languages=a),t&&t.localeRules&&(n.localeRules=t.localeRules);var i=dt(Object.assign({},r,t,n));return Te("onOptionsReady"),i})).catch((function(e){W.error(e,{consoleOverride:e&&e.wgErrMsg||"Cannot fetch Weglot options. Is your key correct?",sendToDatadog:!1})}))}function ft(){var e=fe("weglot-data");if(e)try{var t=JSON.parse(e.innerHTML);delete t.settings,t&&(lt.injectedData=t)}catch(e){}}function dt(e){if(e.deleted_at)throw{wgErrMsg:"Cannot load Weglot because the project has been deleted"};e.injectedData||("loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){ft()})):ft()),"SUBDIRECTORY"===e.url_type&&e.is_dns_set&&(e.subdirectory=!0),e.languages.length||(e.languages=[]),lt.is_connect=e.subdirectory||e.languages.some((function(e){return e.connect_host_destination&&e.connect_host_destination.is_dns_set&&e.connect_host_destination.created_on_aws})),e.subdomain=!e.subdirectory&&(e.subdomain||lt.is_connect),e.dynamic&&(e.dynamics||(e.dynamics=e.dynamic.split(",").map((function(e){return{value:e.trim()}}))),delete e.dynamic),window.location.hostname===B&&(lt.visual_editor=!0),(function(){-1!==location.search.indexOf("weglot-private=0")&&Be().removeItem("wg-private-mode");var e=document.getElementById("admin-bar-iframe")||document.getElementById("preview-bar-iframe")||-1!==location.search.indexOf("weglot-private=1")||"1"===Be({type:"cookie"}).getItem("wg-private-mode");return e&&Be({type:"cookie"}).setItem("wg-private-mode","1"),e}()||lt.switcher_editor||lt.visual_editor)&&(lt.private_mode=!0);var t,n,r,o=e.technology_name||lt.technology_name,a=(t=o)&&nt[t]?nt[t]():{},i=Object.assign({},ne,a);if(Object.assign(lt,i,e),ee.forEach((function(e){lt[e]!==i[e]&&(lt[e]=function(e,t){if(!t)return e;if(Array.isArray(e))return[].concat(e,t);if("object"==typeof e)return Object.assign({},e,t);return(e=function(e){return e.split(",").filter((function(e){return e})).join(",")}(e))&&e.length>
10&&e!==t?e+=","+t:e=t}(lt[e],i[e]))})),n="https://cdn.weglot.com/weglot.min.css?v=4",(r=document.createElement("link")).rel="stylesheet",r.type="text/css",r.href=n,document.head.appendChild(r),lt.button_style&<.button_style.custom_css&&pe(lt.button_style.custom_css,"weglot-custom-style"),lt.switchers&&0!==lt.switchers.length?lt.switchers=lt.switchers.map((function(e){var t=e.button_style,n=st(e,["button_style"]);return Object.assign({},{style:n.style||t},n)})):lt.switchers=[{style:lt.button_style,location:{},default:!0}],lt.cache&<.visual_editor&&(lt.cache=!1),lt.api_key.length<36&&(lt.translation_engine=1),lt.excluded_blocks_remove&&(lt.excluded_blocks=lt.excluded_blocks.filter((function(e){return!lt.excluded_blocks_remove.includes(e.value)}))),lt.dangerously_force_dynamic&&(lt.dynamics=lt.dynamics.concat(lt.dangerously_force_dynamic.split(",").map((function(e){return{value:e.trim()}})))),lt.excluded_blocks=lt.excluded_blocks.filter((function(e){return he(e.value)})),lt.dynamics=lt.dynamics.filter((function(e){return he(e.value)})),lt.dynamics_remove&&(lt.dynamics=lt.dynamics.filter((function(e){return!lt.dynamics_remove.includes(e.value)}))),lt.is_tld=!1,a.forceDisableConnect&&(lt.is_connect=!1),lt.is_connect){var c=lt.host.split("www.").pop();lt.is_tld=lt.languages.some((function(e){if(e.connect_host_destination&&e.connect_host_destination.host)return-1===e.connect_host_destination.host.indexOf(c)}))}return lt}var _t=lt;var gt={"Node.prototype.contains":document.contains,"Element.prototype.cloneNode":"document"in self&&"cloneNode"in document.documentElement,"location.origin":"location"in self&&"origin"in self.location,MutationObserver:"MutationObserver"in self,Promise:"Promise"in self&&"resolve"in Promise,"Element.prototype.matches":"document"in self&&"matches"in document.documentElement,"Element.prototype.closest":"document"in self&&"closest"in document.documentElement,"Element.prototype.classList":"document"in self&&"classList"in document.documentElement&&function(){var e=document.createElement("div");if(!(e.classList&&e.classList.add&&e.classList.remove&&e.classList.contains&&e.classList.toggle))return!1;var t=!0;e.classList.add("add1","add2"),t=t&&e.className.indexOf("add1")>=0&&e.className.indexOf("add2")>=0,e.className="remove1 remove2 remove3",e.classList.remove("remove1","remove3"),t=t&&-1===e.className.indexOf("remove1")&&e.className.indexOf("remove2")>=0&&-1===e.className.indexOf("remove3");try{e.remove()}catch(t){e=null}return t}(),"String.prototype.includes":"includes"in String.prototype,fetch:"fetch"in self,"Array.prototype.find":"find"in Array.prototype,"Array.prototype.findIndex":"findIndex"in Array.prototype,"Object.assign":"assign"in Object,"Array.prototype.includes":"includes"in Array.prototype,URL:function(e){try{var t=new e.URL("http://weglot.com");if("href"in t&&"searchParams"in t){var n=new URL("http://weglot.com");if(n.search="a=1&b=2","http://weglot.com/?a=1&b=2"===n.href&&(n.search="","http://weglot.com/"===n.href)){var r=new e.URLSearchParams("a=1"),o=new e.URLSearchParams(r);if("a=1"===String(o))return!0}}return!1}catch(e){return!1}}(self)},pt=!1;function mt(){pt=!0,Te("polyfillReady")}function ht(){return pt}function vt(e){if(e&&e.toLowerCase){var t=e.toLowerCase(),n=_t.languages.find((function(e){var n=e.language_to,r=e.custom_code;return n===t||(r?r.toLowerCase()===t:void 0)}));return n?n.language_to:e}}!function(e){window.Prototype&&(delete Object.prototype.toJSON,delete Array.prototype.toJSON);var t=Object.keys(gt).filter((function(e){return!gt[e]}));if(t.length){!function(e,t,n){var r=!1;function o(){r||(r=!0,setTimeout((function(){return t(n)}),20))}var a=document.getElementsByTagName("head")[0]||document.documentElement,i=document.createElement("script");i.type="text/javascript",i.src=e,i.addEventListener?(i.addEventListener("load",o,!1),i.addEventListener("error",o,!1)):i.readyState&&(i.onreadystatechange=o),a.insertBefore(i,a.firstChild)}("https://cdn.polyfill.io/v2/polyfill.min.js?callback=Weglot.polyReady&features="+t.join(","),(function(){}))}else e()}(mt);var yt,wt={};function bt(e){var t=_t.excluded_paths,n=Ae.pathname;if(n=n.toLowerCase(),"shopify.weglot.com"===window.location.host||!t||!t.length)return!1;if("string"==typeof t&&t.split(",").some((function(e){return new RegExp(e,"i").test(n)})))return{allExcluded:!0,language_button_displayed:!0};var r=e||vt(Ue());return void 0!==wt[r]&&wt.currentLang===r||(wt.currentLang=r,_t.injectedData&&_t.injectedData.originalPath&&(n=_t.injectedData.originalPath.toLowerCase()),t.some((function(e){var t=e.type,o=e.value,a=e.excluded_languages,i=e.language_button_displayed,c=e.regex;o=o.toLowerCase();var s={language_button_displayed:i,allExcluded:!(!a||!(0===a.length||a.length>=_t.languages.length))};if(a&&a.length&&!a.includes(r))return!1;var l,u=(l=n,{START_WITH:function(e){return 0===l.indexOf(e)},END_WITH:function(e){return-1!==l.indexOf(e,l.length-e.length)},CONTAIN:function(e){return-1!==l.indexOf(e)},IS_EXACTLY:function(e){return l===e},MATCH_REGEX:function(e){try{return new RegExp(e,"i").test(l)}
1catch(t){return W.warn(t,{consoleOverride:e+" is an invalid regex",sendToDatadog:!1}),!1}}}),f=c?u.MATCH_REGEX(c):u[t](o);return f&&(wt[r]=s),f}))),wt[r]}function kt(){if(yt)return yt;if(!_t.api_key)return W.warn("Weglot must be initialized to use it.",{sendToDatadog:!1}),[];var e=(_t.languages||[]).filter((function(e){var t=bt(e.language_to),n=!t||t.language_button_displayed;return(!1!==e.enabled||_t.private_mode)&&n&&(_t.subdirectory||!_t.is_connect||e.connect_host_destination&&e.connect_host_destination.created_on_aws)})).map((function(e){return e.custom_code||e.language_to})),t=[_t.language_from].concat(e);return yt=t.filter((function(e,n){return t.indexOf(e)==n})),e.length||W.log("No public language available.",{sendToDatadog:!1}),yt}Ne("onCurrentLocationChanged",(function(){wt={}}),!0),Ne("onCurrentLocationChanged",(function(){yt=null}),!0);var Et=[{codes:["no"],pattern:/^(nn|nb)(-[a-z]+)?$/i},{codes:["zh"],pattern:/^zh(-hans(-\w{2})?)?(-(cn|sg))?$/i},{codes:["tw","zh-TW"],pattern:/^zh-(hant)?-?(tw|hk|mo)?$/i},{codes:["br"],pattern:/^pt-br$/i}
1,{codes:["fl"],pattern:/^fil$/i}];function St(e){void 0===e&&(e=kt());for(var t={},n={},r=0,o=e;r<o.length;r+=1){var a=o[r],i=a.toLowerCase(),c=i.substring(0,2);t[c]||(t[c]=[]),t[c].push(i),n[i]=a}for(var s=0,l=navigator.languages||[navigator.language];s<l.length;s+=1){var u=l[s],f=u.toLowerCase(),d=f.substring(0,2);if(n[f])return n[f];for(var _=0,g=Et;_<g.length;_+=1){var p=g[_],m=p.codes,h=p.pattern,v=m.find((function(t){return e.includes(t)}));if(v&&h.test(u))return v}if(t[d]){if("zh"===d)continue;var y=t[d].indexOf(d);return y>=0?n[t[d][y]]:n[t[d].shift()]}}}var xt=function(){var e=window.location.search.indexOf("no_redirect=true")>-1;if(!(!_t.auto_switch||_t.subdirectory||e||Be({type:"cookie"}).getItem("WG_CHOOSE_ORIGINAL")||me()||_t.visual_editor)){var t=St();return t&&!bt(t)?t:_t.auto_switch_fallback&&!bt(_t.auto_switch_fallback)?_t.auto_switch_fallback:void 0}e&&Ct(Ue())};function Ct(e){if(e===_t.language_from){var t=new Date;t.setTime(t.getTime()+2592e6),Be({type:"cookie"}).setItem("WG_CHOOSE_ORIGINAL","1",{expires:t.toUTCString()})}else Be({type:"cookie"}).removeItem("WG_CHOOSE_ORIGINAL")}var Ot=function(e){var t=_t.api_key;return fetch("https://cdn-api.weglot.com/pageviews?api_key="+t,{method:"POST",body:JSON.stringify({url:e||Ae.url,language:Ue(),browser_language:navigator.language})})};function Nt(){var e=Be().getItem(M);if(e&&kt().includes(e))return e}var Tt=function(e){return e&&Be().setItem(M,e)};function Lt(){de(fe(q))}var At=[{condition:[{type:"TECHNOLOGY_ID",payload:2}],value:[{original:"^/checkouts/(?:[\\w]{32})(/.*)?$",formatted:"/checkouts$1"},{original:"^/account/(orders|activate)/(?:[\\w]{32})$",formatted:"/account/$1/"},{original:"^/orders/(?:[\\w]{32})$",formatted:"/orders/"},{original:"^/wallets/checkouts/(?:.*)$",formatted:"/wallets/checkouts/"},{original:"^/(.+)\\.(json|xml)$",formatted:"/$1"}]}],jt=!1,Pt={},Dt={},Rt=Be({type:"local"});if(Rt.getItem(z))try{Pt=JSON.parse(Rt.getItem(z)),Object.keys(Pt).forEach((function(e){Object.keys(Pt[e]).forEac
1h((function(t){if(2===t.length){Dt[t]||(Dt[t]={});var n=Pt[e][t];Dt[t][n]=e}}))})),jt=!0}catch(qn){jt=!0}function It(e){return Pt[e]}function Wt(e,t,n,r){var o,a=It(e);a?(a[r]=n,a.createdTime=(new Date).getTime(),a.t=t):Pt[e]=((o={})[r]=n,o.createdTime=(new Date).getTime(),o.t=t,o),Dt[r]||(Dt[r]={}),Dt[r][n]=e,_t.cache&&ye(Ut)()}var Ut=function(){return Pt&&Rt.setItem(z,JSON.stringify(Pt))};var Mt=[];function qt(e,t){void 0===e&&(e=document.documentElement);var n=Ue();return w(e).filter((function(e){return(t||Ht)(e)})).map(function(e){return function(t){var n=t.element,r=t.words,o=t.type,a=t.properties,i=t.attrSetter;n.weglot||(n.weglot={content:[]});var c,s,l=n.weglot,u={},f=(c=r,!!Dt[s=e]&&Dt[s][c]);if(f&&(u[e]=r,r=f),a){var d=l.content.find((function(e){return e.html}));d?Object.assign(d,{original:r,properties:a,translations:u}):l.content.push({html:!0,original:r,type:o,properties:a,translations:u})}if(i){var _=l.content.find((function(e){return e.attrSetter===i})),g={attrSetter:i,original:r,type:o,translations:u};_?Object.assign(_,g):l.content.push(g)}return n}}(n))}function Ht(e){var t=e.element,n=e.words;return!t.weglot||!t.weglot.content||!t.weglot.content.some((function(e){var t,r=e.original,o=e.translations;return r===n||(t=o,Object.keys(t).map((function(e){return t[e]}))).includes(_e(n))}))}function Bt(e){for(var t=[],n=0,r=e;n<r.length;n+=1){var o=r[n];-1===Mt.indexOf(o)&&t.push(o)}return[].push.apply(Mt,t),t}function zt(e,t){void 0===e&&(e=Mt),void 0===t&&(t={});for(var n=[],r={},o=0,a=e;o<a.length;o+=1)for(var i=0,c=a[o].weglot.content;i<c.length;i+=1){var s=c[i],l=s.original,u=s.type;r[l]||(r[l]=!0,n.push({t:u,w:l,l:t.label}))}return n}function Ft(e,t,n){if(void 0===t&&(t=Ue()),void 0===n&&(n=Mt),e&&e.to_words&&e.to_words.length)for(var r=e.from_words,o=e.to_words,a=0,i=n;a<i.length;a+=1)for(var c=0,s=i[a].weglot.content||{};c<s.length;c+=1){var l=s[c],u=l.original,f=l.translations,d=r.indexOf(_e(u));-1!==d&&(f[t]||(f[t]=(_=o[d])&&_.replace&&_.replace(/wg-(\d+)=""(\s*)\/(\s*)>/g,'wg-$1="">')))}var _;try{O(n,t)}catch(e){W.error(e)}}function $t(e,t){var n;void 0===t&&(t={cdn:!1,search:!1});var r=e.l_to,o=e.words;e.l_to=vt(r);var a,i=o;if(!_t.visual_editor){if(n=function(e,t){var n=[],r=[],o=[];return e.forEach((function(e){var a=It(e.w);a&&a[t]?(n.push(a[t]),r.push(_e(e.w))):o.push(e)})),{cachedWords:{to_words:n,from_words:r},newWords:o}}(o,r),i=n.newWords,(a=n.cachedWords).to_words.length&&!t.search){if(!i.length)return Promise.resolve(a);
1Ft(a,r,t.nodes)}jt&&[].push.apply(i,function(){jt=!1;var e=(new Date).getTime();return Object.keys(Pt).filter((function(t){return Pt[t].createdTime+216e5<e})).map((function(e){return{t:Pt[e].t,w:e}}))}())}return i.length?(e.words=i,e.request_url=function(){var e=function(){if(_t.visual_editor)return new ie(Ae.url);var e=_t.technology_name,t=_t.injectedData;if(e===Y)return new ie(window.location.href);if(t&&t.originalCanonicalUrl)try{return new ie(t.originalCanonicalUrl)}catch(e){}var n=document.querySelector("link[rel='canonical'][href]");if(n)try{return new ie(n.href)}catch(e){}return new ie(window.location.href)}();e.pathname=(t=e.pathname,t.split("/").filter((function(e){return!e||isNaN(Number(e))})).join("/"));var t;for(var n=0,r=At.filter((function(e){return e.condition.some((function(e){var t=e.type,n=e.payload;return"TECHNOLOGY_ID"===t&&n===_t.technology_id}))}));n<r.length;n+=1){var o=r[n].value;try{for(var a=0,i=o;a<i.length;a+=1){var c=i[a],s=c.original,l=c.formatted,u=e.pathname.replace(new RegExp(s),l);if(u!==e.pathname)return e.pathname=u,e.toString()}}catch(e){W.warn(e,{consoleOverride:"Invalid URL regex, "+e.stack})}}return e.toString()}(),function(e){var t=_t.versions&&_t.versions.translation||1,n=["api_key="+_t.api_key,"v="+t],r="https://"+(_t.bypass_cdn_api?"api.weglot.com":"cdn-api-weglot.com")+"/translate?"+n.join("&");return fetch(r,{method:"POST",body:Vt(JSON.stringify(e))}).then(Gt).then((function(e){return e.json()})).then((function(e){if(!e||!e.to_words)throw W.warn(e),Error("An error occurred, please try again later");return e}))}(e).then((function(e){return i.forEach((function(t,n){var o=e.to_words[n];Wt(t.w,t.t,o,r)})),e}))):t.search&&a?Promise.resolve(a):Promise.resolve({to_words:[],from_words:[]})}function Vt(e){return e.replace(/[\u007F-\uFFFF]/g,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)}))}function Gt(e){if(400===e.status)throw Error("You reached Weglot limitation. Please upgrade your plan.");if(401===e.status)throw Error("Your Weglot API key seems wrong.");if(e.status>=402)throw Error(e.statusText);return e}function Jt(e,t,n){void 0===n&&(n={});n=Object.assign({},{title:!0,cdn:!1,search:!1},n);var r={l_from:_t.language_from,l_to:t,words:e};return n.title&&(r.title=document.title),$t(r,n)}function Yt(e,t){if("string"!=typeof e||"function"!=typeof t)return!1;var n=Ue();return n===_t.language_from?(t(e),!1):($t({l_from:n,l_to:_t.language_from,words:[{t:2,w:e}]},{cdn:!0,search:!0}).then((function(e){return e.to_words[0].toLowerCase().trim()})).then(t),!0)}function Kt(e){return"a[href='#Weglot-"+e+"'],a[href*='change-language.weglot.com/"+e+"']"}var Xt,Zt,Qt,en,tn,nn,rn,on={},an=[],cn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function sn(e,t){for(var n in t)e[n]=t[n];return e}function ln(e){var t=e.parentNode;t&&t.removeChild(e)}function un(e,t,n){var r,o,a,i={};
vendor: 4,618 bytes, line 1
1for(a in t)"key"==a?r=t[a]:"ref"==a?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?Xt.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===i[a]&&(i[a]=e.defaultProps[a]);return fn(e,i,r,o,null)}function fn(e,t,n,r,o){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++Qt:o};return null==o&&null!=Zt.vnode&&Zt.vnode(a),a}function dn(e){return e.children}function _n(e,t){this.props=e,this.context=t}function gn(e,t){if(null==t)return e.__?gn(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?gn(e):null}function pn(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return pn(e)}}function mn(e){(!e.__d&&(e.__d=!0)&&en.push(e)&&!hn.__r++||tn!==Zt.debounceRendering)&&((tn=Zt.debounceRendering)||nn)(hn)}function hn(){var e,t,n,r,o,a,i,c;for(en.sort(rn);e=en.shift();)e.__d&&(t=en.length,r=void 0,o=void 0,i=(a=(n=e).__v).__e,(c=n.__P)&&(r=[],(o=sn({},a)).__v=a.__v+1,On(c,a,o,n.__n,void 0!==c.ownerSVGElement,null!=a.__h?[i]:null,r,null==i?gn(a):i,a.__h),Nn(r,a),a.__e!=i&&pn(a)),en.length>t&&en.sort(rn));hn.__r=0}function vn(e,t,n,r,o,a,i,c,s,l){var u,f,d,_,g,p,m,h=r&&r.__k||an,v=h.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(_=n.__k[u]=null==(_=t[u])||"boolean"==typeof _||"function"==typeof _?null:"string"==typeof _||"number"==typeof _||"bigint"==typeof _?fn(null,_,null,null,_):Array.isArray(_)?fn(dn,{children:_},null,null,null):_.__b>0?fn(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)){if(_.__=n,_.__b=n.__b+1,null===(d=h[u])||d&&_.key==d.key&&_.type===d.type)h[u]=void 0;else for(f=0;f<v;f++){if((d=h[f])&&_.key==d.key&&_.type===d.type){h[f]=void 0;break}d=null}On(e,_,d=d||on,o,a,i,c,s,l),g=_.__e,(f=_.ref)&&d.ref!=f&&(m||(m=[]),d.ref&&m.push(d.ref,null,_),m.push(f,_.__c||g,_)),null!=g?(null==p&&(p=g),"function"==typeof _.type&&_.__k===d.__k?_.__d=s=yn(_,s,e):s=bn(e,_,d,h,g,s),"function"==typeof n.type&&(n.__d=s)):s&&d.__e==s&&s.parentNode!=e&&(s=gn(d))}for(n.__e=p,u=v;u--;)null!=h[u]&&("function"==typeof n.type&&null!=h[u].__e&&h[u].__e==n.__d&&(n.__d=kn(r).nextSibling),An(h[u],h[u]));if(m)for(u=0;u<m.length;u++)Ln(m[u],m[++u],m[++u])}function yn(e,t,n){for(var r,o=e.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=e,t="function"==typeof r.type?yn(r,t,n):bn(n,r,r,o,r.__e,t));return t}function wn(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){wn(e,t)})):t.push(e)),t}function bn(e,t,n,r,o,a){var i,c,s;if(void 0!==t.__d)i=t.__d,t.__d=void 0;else if(null==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),i=null;else{for(c=a,s=0;(c=c.nextSibling)&&s<r.length;s+=1)if(c==o)break e;e.insertBefore(o,a),i=a}return void 0!==i?i:o.nextSibling}function kn(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=kn(n)))return r;return null}function En(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||cn.test(t)?n:n+"px"}function Sn(e,t,n,r,o){var a;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||En(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||En(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?Cn:xn,a):e.removeEventListener(t,a?Cn:xn,a);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function xn(e){return this.l[e.type+!1](Zt.event?Zt.event(e):e)}function Cn(e){return this.l[e.type+!0](Zt.event?Zt.event(e):e)}function On(e,t,n,r,o,a,i,c,s){var l,u,f,d,_,g,p,m,h,v,y,w,b,k,E,S=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(s=n.__h,c=t.__e=n.__e,t.__h=null,a=[c]),(l=Zt.__b)&&l(t);try{e:if("function"==typeof S){if(m=t.props,h=(l=S.contextType)&&r[l.__c],v=l?h?h.props.value:l.__:r,n.__c?p=(u=t.__c=n.__c).__=u.__E:("prototype"in S&&S.prototype.render?t.__c=u=new S(m,v):(t.__c=u=new _n(m,v),u.constructor=S,u.render=jn),h&&h.sub(u),u.props=m,u.
vendor: 4,491 bytes, line 1
1state||(u.state={}),u.context=v,u.__n=r,f=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=S.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=sn({},u.__s)),sn(u.__s,S.getDerivedStateFromProps(m,u.__s))),d=u.props,_=u.state,u.__v=t,f)null==S.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==S.getDerivedStateFromProps&&m!==d&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(m,v),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(m,u.__s,v)||t.__v===n.__v){for(t.__v!==n.__v&&(u.props=m,u.state=u.__s,u.__d=!1),u.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),y=0;y<u._sb.length;y++)u.__h.push(u._sb[y]);u._sb=[],u.__h.length&&i.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(m,u.__s,v),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(d,_,g)}))}if(u.context=v,u.props=m,u.__P=e,w=Zt.__r,b=0,"prototype"in S&&S.prototype.render){for(u.state=u.__s,u.__d=!1,w&&w(t),l=u.render(u.props,u.state,u.context),k=0;k<u._sb.length;k++)u.__h.push(u._sb[k]);u._sb=[]}else do{u.__d=!1,w&&w(t),l=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++b<25);u.state=u.__s,null!=u.getChildContext&&(r=sn(sn({},r),u.getChildContext())),f||null==u.getSnapshotBeforeUpdate||(g=u.getSnapshotBeforeUpdate(d,_)),E=null!=l&&l.type===dn&&null==l.key?l.props.children:l,vn(e,Array.isArray(E)?E:[E],t,n,r,o,a,i,c,s),u.base=t.__e,t.__h=null,u.__h.length&&i.push(u),p&&(u.__E=u.__=null),u.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Tn(n.__e,t,n,r,o,a,i,s);(l=Zt.diffed)&&l(t)}catch(e){t.__v=null,(s||null!=a)&&(t.__e=c,t.__h=!!s,a[a.indexOf(c)]=null),Zt.__e(e,t,n)}}function Nn(e,t){Zt.__c&&Zt.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){Zt.__e(e,t.__v)}}))}function Tn(e,t,n,r,o,a,i,c){var s,l,u,f=n.props,d=t.props,_=t.type,g=0;if("svg"===_&&(o=!0),null!=a)for(;g<a.length;g++)if((s=a[g])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){e=s,a[g]=null;break}if(null==e){if(null===_)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,d.is&&d),a=null,c=!1}if(null===_)f===d||c&&e.data===d||(e.data=d);else{if(a=a&&Xt.call(e.childNodes),l=(f=n.props||on).dangerouslySetInnerHTML,u=d.dangerouslySetInnerHTML,!c){if(null!=a)for(f={},g=0;g<e.attributes.length;g++)f[e.attributes[g].name]=e.attributes[g].value;(u||l)&&(u&&(l&&u.__html==l.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,r,o){var a;for(a in n)"children"===a||"key"===a||a in t||Sn(e,a,null,n[a],r);for(a in t)o&&"function"!=typeof t[a]||"children"===a||"key"===a||"value"===a||"checked"===a||n[a]===t[a]||Sn(e,a,t[a],n[a],r)}(e,d,f,o,c),u)t.__k=[];else if(g=t.props.children,vn(e,Array.isArray(g)?g:[g],t,n,r,o&&"foreignObject"!==_,a,i,a?a[0]:n.__k&&gn(n,0),c),null!=a)for(g=a.length;g--;)null!=a[g]&&ln(a[g]);c||("value"in d&&void 0!==(g=d.value)&&(g!==e.value||"progress"===_&&!g||"option"===_&&g!==f.value)&&Sn(e,"value",g,f.value,!1),"checked"in d&&void 0!==(g=d.checked)&&g!==e.checked&&Sn(e,"checked",g,f.checked,!1))}return e}function Ln(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){Zt.__e(e,n)}}function An(e,t,n){var r,o;if(Zt.unmount&&Zt.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Ln(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){Zt.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&An(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||ln(e.__e),e.__=e.__e=e.__d=void 0}function jn(e,t,n){return this.constructor(e,n)}Xt=an.slice,Zt={__e:function(e,t,n,r){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}},Qt=0,_n.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=sn({},this.state),"function"==typeof e&&(e=e(sn({},n),this.props)),e&&sn(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),mn(this))},_n.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),mn(this))},_n.prototype.render=dn,en=[],nn="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 6,687 bytes, line 1
1ise.resolve()):setTimeout,rn=function(e,t){return e.__v.__b-t.__v.__b},hn.__r=0;var Pn,Dn,Rn,In,Wn=0,Un=[],Mn=[],qn=Zt.__b,Hn=Zt.__r,Bn=Zt.diffed,zn=Zt.__c,Fn=Zt.unmount;function $n(e,t){Zt.__h&&Zt.__h(Dn,e,Wn||t),Wn=0;var n=Dn.__H||(Dn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Mn}),n.__[e]}function Vn(e){return Wn=1,function(e,t,n){var r=$n(Pn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):tr(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Dn,!Dn.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var i=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),!(!i&&r.__c.props===e)&&(!a||a.call(this,e,t,n))};Dn.u=!0;var a=Dn.shouldComponentUpdate,i=Dn.componentWillUpdate;Dn.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,o(e,t,n),a=r}i&&i.call(this,e,t,n)},Dn.shouldComponentUpdate=o}return r.__N||r.__}(tr,e)}function Gn(e,t){var n=$n(Pn++,3);!Zt.__s&&er(n.__H,t)&&(n.__=e,n.i=t,Dn.__H.__h.push(n))}function Jn(e){return Wn=5,function(e,t){var n=$n(Pn++,7);return er(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}((function(){return{current:e}}),[])}function Yn(){for(var e;e=Un.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Zn),e.__H.__h.forEach(Qn),e.__H.__h=[]}catch(t){e.__H.__h=[],Zt.__e(t,e.__v)}}Zt.__b=function(e){Dn=null,qn&&qn(e)},Zt.__r=function(e){Hn&&Hn(e),Pn=0;var t=(Dn=e.__c).__H;t&&(Rn===Dn?(t.__h=[],Dn.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Mn,e.__N=e.i=void 0}))):(t.__h.forEach(Zn),t.__h.forEach(Qn),t.__h=[])),Rn=Dn},Zt.diffed=function(e){Bn&&Bn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Un.push(t)&&In===Zt.requestAnimationFrame||((In=Zt.requestAnimationFrame)||Xn)(Yn)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Mn&&(e.__=e.__V),e.i=void 0,e.__V=Mn}))),Rn=Dn=null},Zt.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Zn),e.__h=e.__h.filter((function(e){return!e.__||Qn(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Zt.__e(n,e.__v)}})),zn&&zn(e,t)},Zt.unmount=function(e){Fn&&Fn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Zn(e)}catch(e){t=e}})),n.__H=void 0,t&&Zt.__e(t,n.__v))};var Kn="function"==typeof requestAnimationFrame;function Xn(e){var t,n=function(){clearTimeout(r),Kn&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Kn&&(t=requestAnimationFrame(n))}function Zn(e){var t=Dn,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Dn=t}function Qn(e){var t=Dn;e.__c=e.__(),Dn=t}function er(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function tr(e,t){return"function"==typeof t?t(e):t}function nr(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function rr(e){this.props=e}(rr.prototype=new _n).isPureReactComponent=!0,rr.prototype.shouldComponentUpdate=function(e,t){return nr(this.props,e)||nr(this.state,t)};var or=Zt.__b;Zt.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),or&&or(e)};var ar=Zt.__e;Zt.__e=function(e,t,n,r){if(e.then)for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ar(e,t,n,r)};var ir=Zt.unmount;function cr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return cr(e,t,n)}))),e}function sr(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return sr(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function lr(){this.__u=0,this.t=null,this.__b=null}function ur(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function fr(){this.u=null,this.o=null}Zt.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),ir&&ir(e)},(lr.prototype=new _n).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ur(r.__v),a=!1,i=function(){a||(a=!0,n.__R=null,o?o(c):c())};n.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=sr(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},lr.prototype.componentWillUnmount=function(){this.t=[]},lr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=cr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&un(dn,null,e.fallback);return o&&(o.__h=null),[un(dn,null,t.__a?null:e.children),o]};var dr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(fr.prototype=new _n).__a=function(e){var t=this,n=ur(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),dr(t,e,r)):o()};n?n(a):a()}},fr.prototype.render=function(e){this.u=null,this.o=new Map;var t=wn(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},fr.prototype.componentDidUpdate=fr.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){dr(e,n,t)}))};var _r="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,gr=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,pr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,mr=/[A-Z0-9]/g,hr="undefined"!=typeof document,vr=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};_n.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(_n.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var yr=Zt.event;function wr(){}function br(){return this.cancelBubble}function kr(){return this.defaultPrevented}Zt.event=function(e){return yr&&(e=yr(e)),e.persist=wr,e.isPropagationStopped=br,e.isDefaultPrevented=kr,e.nativeEvent=e};
1var Er={enumerable:!1,configurable:!0,get:function(){return this.class}},Sr=Zt.vnode;Zt.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||hr&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var i=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"ondoubleclick"===i?o="ondblclick":"onchange"!==i||"input"!==n&&"textarea"!==n||vr(t.type)?"onfocus"===i?o="onfocusin":"onblur"===i?o="onfocusout":pr.test(o)?o=i:-1===n.indexOf("-")&&gr.test(o)?o=o.replace(mr,"-$&").toLowerCase():null===a&&(a=void 0):i=o="oninput","oninput"===i&&r[o=i]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=wn(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=wn(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Er)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=_r,Sr&&Sr(e)};var xr=Zt.__r;Zt.__r=function(e){xr&&xr(e),e.__c};var Cr=Zt.diffed;Zt.diffed=function(e){Cr&&Cr(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var Or=[{name:"default",editorDropdown:!0,editableProps:["flag_type","with_flags","is_dropdown","with_name","full_name","invert_flags","close_outside_click"],defaultValues:{style:{with_name:!0,with_flags:!0,full_name:!0,is_dropdown:!0,invert_flags:!0,flag_type:"rectangle_mat"},opts:{close_outside_click:!1}}},{name:"toggle",editableProps:["full_name","color"],defaultValues:{style:{full_name:!1,color:"#3D46FB"}}},{name:"bubble",editorDropdown:!0,editableProps:["flag_type","with_flags","with_name","full_name","color","close_outside_click"],defaultValues:{style:{with_name:!0,with_flags:!0,full_name:!0,flag_type:"rectangle_mat",color:"#555555"},opts:{close_outside_click:!0}}},{name:"underline_edge",editableProps:["full_name","color"],maxLanguages:10,minLanguages:null,defaultValues:{style:{full_name:!1,color:"#FA8072"}}},{name:"underline_full",maxLanguages:10,minLanguages:null,editableProps:["with_flags","flag_type","color"],defaultValues:{style:{full_name:!0,color:"#3D46FB",with_flags:!0,flag_type:"rectangle_mat"}}}];function Nr(e){var t=function(e){return void 0===e&&(e="default"),Or.find((function(t){return t.name===(e||"default")}))}(e),n=t.defaultValues;void 0===n&&(n={});var r=n,o=r.style;void 0===o&&(o={});var a=r.opts;return void 0===a&&(a={}),{style:o,opts:a}}var Tr={af:{name:"Afrikaans",flag:"za"},am:{name:"á ááá",flag:"et"},ar:{name:"Ø§ÙØ¹Ø±Ø¨ÙØ©â",flag:"sa"},az:{name:"AzÉrbaycan dili",flag:"az"},ba:{name:"баÑҡоÑÑ Ñеле",flag:"ru"},be:{name:"ÐелаÑÑÑкаÑ",flag:"by"},bg:{name:"ÐÑлгаÑÑки",flag:"bg"},bn:{name:"বাà¦à¦²à¦¾",flag:"bd"},br:{name:"Português Brasileiro",flag:"br"},bs:{name:"Bosanski",flag:"ba"},ca:{name:"Català ",flag:"es-ca"},co:{name:"Corsu",flag:"fr-co"},cs:{name:"ÄeÅ¡tina",flag:"cz"},cy:{name:"Cymraeg",flag:"gb-wls"},da:{name:"Dansk",flag:"dk"},de:{name:"Deutsch",flag:"de"},el:{name:"Îλληνικά",flag:"gr"},en:{name:"English",flag:"gb"},eo:{name:"Esperanto",flag:"eo"},es:{name:"Español",flag:"es"},et:{name:"Eesti",flag:"ee"},eu:{name:"Euskara",flag:"eus"},fa:{name:"ÙØ§Ø±Ø³Û",flag:"ir"},fi:{name:"Suomi",flag:"fi"},fj:{name:"Vosa Vakaviti",flag:"fj"},fl:{name:"Filipino",flag:"ph"},fr:{name:"Français",flag:"fr"},fy:{name:"frysk",flag:"nl"},ga:{name:"Gaeilge",flag:"ie"},gd:{name:"Gà idhlig",flag:"gb-sct"},gl:{name:"Galego",flag:"es-ga"},gu:{name:"àªà«àªàª°àª¾àª¤à«",flag:"in"},ha:{name:"ÙÙÙÙØ³Ù",flag:"ne"},he:{name:"×¢×ר×ת",flag:"il"},hi:{name:"हिà¤à¤¦à¥",flag:"in"},hr:{name:"Hrvatski",flag:"hr"},ht:{name:"Kreyòl ayisyen",flag:"ht"},hu:{name:"Magyar",flag:"hu"},hw:{name:"âÅlelo Hawaiâi",flag:"hw"},hy:{name:"Õ°Õ¡ÕµÕ¥ÖÕ¥Õ¶",flag:"am"},id:{name:"Bahasa Indonesia",flag:"id"},ig:{name:"Igbo",flag:"ne"},is:{name:"Ãslenska",flag:"is"},it:{name:"Italiano",flag:"it"},ja:{name:"æ¥æ¬èª",flag:"jp"},jv:{name:"Wong Jawa",flag:"id"},ka:{name:"á¥áá áá£áá",flag:"ge"},kk:{name:"ÒазаÒÑа",flag:"kz"},km:{name:"áá¶áá¶ááááá",flag:"kh"},kn:{name:"à²à²¨à³à²¨à²¡",flag:"in"},ko:{name:"íêµì´",flag:"kr"},ku:{name:"ÙÙØ±Ø¯Û",flag:"iq"},ky:{name:"кÑÑгÑзÑа",flag:"kg"},la:{name:"Latine",flag:"it"},lb:{name:"Lëtzebuergesch",flag:"lu"},lo:{name:"àºàº²àºªàº²àº¥àº²àº§",flag:"la"},lt:{name:"Lietuvių",flag:"lt"},lv:{name:"LatvieÅ¡u",flag:"lv"},lg:{name:"Oluganda",flag:"ug"},mg:{name:"Malagasy",flag:"mg"},mi:{name:"te reo MÄori",flag:"nz"},mk:{name:"ÐакедонÑки",flag:"mk"},ml:{name:"മലയാളà´",flag:"in"},mn:{name:"Ðонгол",flag:"mn"},mr:{name:"मराठà¥",flag:"in"},ms:{name:"Bahasa Melayu",flag:"my"},mt:{name:"Malti",flag:"mt"}
1,my:{name:"áá»áá¹áá¬á
á¬",flag:"mm"},ne:{name:"नà¥à¤ªà¤¾à¤²à¥",flag:"np"},nl:{name:"Nederlands",flag:"nl"},no:{name:"Norsk",flag:"no"},ny:{name:"chiCheŵa",flag:"mw"},pa:{name:"ਪੰà¨à¨¾à¨¬à©",flag:"in"},pl:{name:"Polski",flag:"pl"},ps:{name:"Ù¾ÚØª",flag:"af"},pt:{name:"Português",flag:"pt"},ro:{name:"RomânÄ",flag:"ro"},ru:{name:"Ð ÑÑÑкий",flag:"ru"},sd:{name:'"سÙÚÙØ Ø³ÙØ¯Ú¾Û, सिनà¥à¤§à¥"',flag:"pk"},si:{name:"à·à·à¶à·à¶½",flag:"lk"},sk:{name:"SlovenÄina",flag:"sk"},sl:{name:"SlovenÅ¡Äina",flag:"si"},sm:{name:'"gagana fa\'a Samoa"',flag:"ws"},sn:{name:"chiShona",flag:"zw"},so:{name:"Soomaaliga",flag:"so"},sq:{name:"Shqip",flag:"al"},sr:{name:"СÑпÑки",flag:"rs"},st:{name:"seSotho",flag:"ng"},su:{name:"Sundanese",flag:"sd"},sv:{name:"Svenska",flag:"se"},sw:{name:"Kiswahili",flag:"ke"},ta:{name:"தமிழà¯",flag:"in"},te:{name:"à°¤à±à°²à±à°à±",flag:"in"},tg:{name:"Тоҷикӣ",flag:"tj"},th:{name:"ภาษาà¹à¸à¸¢",flag:"th"},tl:{name:"Tagalog",flag:"ph"},to:{name:"faka-Tonga",flag:"to"},tr:{name:"Türkçe",flag:"tr"},tt:{name:"Tatar",flag:"tr"},tw:{name:"䏿 (ç¹é«)",flag:"tw"},ty:{name:'"te reo Tahiti, te reo MÄʼohi"',flag:"pf"},uk:{name:"УкÑаÑнÑÑка",flag:"ua"},ur:{name:"اردÙ",flag:"pk"},uz:{name:'"O\'zbek"',flag:"uz"},vi:{name:"Tiếng Viá»t",flag:"vn"},xh:{name:"isiXhosa",flag:"za"},yi:{name:"××Ö´××ש",flag:"il"},yo:{name:"Yorùbá",flag:"ng"},zh:{name:"䏿 (ç®ä½)",flag:"cn"},zu:{name:"isiZulu",flag:"za"},hm:{name:"Hmoob",flag:"hmn"},cb:{name:"Sugbuanon",flag:"ph"},or:{name:"à¬à¬¡à¬¼à¬¿à¬",flag:"in"},tk:{name:"Türkmen",flag:"tr"},ug:{name:"ئÛÙØºÛر",flag:"uig"},fc:{name:"Français (Canada)",flag:"ca"},as:{name:"à¦
সমà§à¦¯à¦¼à¦¾",flag:"in"},sa:{name:"Srpski",flag:"rs"}};function Lr(e){if(!e||!e.toLowerCase)return"Unknown";var t=e.toLowerCase(),n=_t.languages.find((function(e){var n=e.language_to,r=e.custom_code;return n===t||(r?r.toLowerCase()===t:void 0)}));return n&&n.custom_local_name?n.custom_local_name:n&&n.custom_name?n.custom_name:t===_t.language_from&&_t.language_from_custom_name?_t.language_from_custom_name:Tr[t].name}function Ar(e,t){return t[e]?t[e].flag:""}function jr(e){return function(e,t,n){if(!e||!e.toLowerCase)return"";if(t.language_from===e)return t.language_from_custom_flag||Ar(e,n);var r=e.toLowerCase(),o=t.languages.find((function(e){var t=e.language_to,n=e.custom_code;return t===r||n&&n.toLowerCase()===r}));return o?o.custom_flag||Ar(o.language_to,n):""}(e,_t,Tr)}function Pr(e,t){return"WordPress"===_t.technology_name&&_t.injectedData&&!_t.is_connect?t(_t.injectedData.switcher_links[e]):Xe(e,t)}var Dr=13,Rr=27,Ir=38,Wr=40;var Ur=["none","shiny","square","circle","rectangle_mat"];function Mr(e){return e?e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0}}function qr(){var e=Vn("WordPress"===_t.technology_name&&_t.injectedData&&!_t.is_connect?_t.injectedData.current_language:_t.switcher_editor?_t.language_from:window.Weglot.getCurrentLang()),t=e[0],n=e[1];return Gn((function(){_t.is_connect||"WordPress"===_t.technology_name||_t.switcher_editor||window.Weglot.on("languageChanged",(function(e){n(e)}))}),[]),[t,n]}var Hr,Br,zr,Fr={rectangle_mat:{width:30,height:20},shiny:{width:30,height:20},circle:{width:24,height:24},square:{width:24,height:24}},$r=function(e){var t=e.language,n=e.flagType;void 0===n&&(n="circle");var r=jr(t),o=Fr[n]||{},a=o.width,i=o.height;if(r)return un("img",{src:r.indexOf("http")>-1?r:"https://cdn.weglot.com/flags/"+n+"/"+r+".svg",width:a,height:i,className:"wg-flag",role:"none",alt:Lr(t)+" flag"})},Vr=function(e){var t=e.styleOpts,n=e.language,r=e.onClick,o=e.legacyFlags,a=e.url,i=e.isFocused;void 0===i&&(i=!1);var c=e.isSelected;void 0===c&&(c=!1);var s=e.focusRef;void 0===s&&(s=null);var l=t.with_name;void 0===l&&(l=!0);var u=t.full_name;void 0===u&&(u=!0);var f=t.with_flags,d=t.flag_type,_=u?Lr(n):n.toUpperCase(),g=c?"div":"li",p=Ur.indexOf(d||"rectangle_mat"),m=f?" wg-flags"+(o?" flag-"+p+" legacy":""):"",h=i&&!c?" focus":"",v=c?" wgcurrent":"";return un(g,Object.assign({},{"data-l":n,onClick:function(e){return function(e,t){e.preventDefault(),r(t)}(e,n)},className:"wg-li "+n+v+m+h},!c&&{role:"none",id:"wg-"+n}),un("a",Object.assign({},c?{tabIndex:-1,target:"_self"}:{role:"option"},{href:a},!l&&{"aria-label":_},i&&!c&&{ref:s},{id:"weglot-language-"+n}),f&&!o&&un($r,{language:n,flagType:d}),l&&_))},Gr=function(e,t){return function(n){var r=n||{},o=r.style;void 0===o&&(o={});var a=r.opts;void 0===a&&(a={});var i=Nr(t),c=i.style,s=i.opts,l=document.createElement("div");return function(e,t,n){var r,o,a;Zt.__&&Zt.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,a=[],On(t,e=(!r&&n||t).__k=un(dn,null,[e]),o||on,on,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?Xt.call(t.childNodes):null,a,!r&&n?n:o?o.__e:t.firstChild,r),Nn(a,e)}(un(e,{style:Object.assign({},c,o),opts:Object.assign({},s,a)}),l),l.classList.add("weglot-container"),l}}((function(e){var t=e.style,n=e.opts,r=Vn(!1),o=r[0],a=r[1],i=qr(),c=i[0],s=i[1],l=Vn(!1),u=l[0],f=l[1],d=Vn(!1),_=d[0],g=d[1],p=Jn(null),m=Vn(null),h=m[0],v=m[1],y=t.is_dropdown||t.invert_flags,w=kt().filter((function(e){return!y||e!==c})),b=_t.switcher_editor,k=_t.close_switcher_outside_click,E=n.close_outside_click,S=/background-position/i.test(_t.button_style.custom_css)&&!_t.languages.some((function(e){return e.custom_flag})),x=function(){var e=kt(),t=Vn(e.reduce((function(e,t){var n;return Object.assign({},e,((n={})[t]="",n))}),{})),n=t[0],r=t[1];return Gn((function(){Promise.all(e.map((function(e){return new Promise((function(t){return Pr(e,(function(n){return t({l:e,url:n})}))}))}))).then((function(e){return r(e.reduce((function(e,t){var n,r=t.l,o=t.url;return Object.assign({},e,((n={})[r]=o,n))}),{}))}))}),[]),n}
1(),C=Jn(null),O=t.is_dropdown?"wg-drop":"wg-list",N=o?"open":"closed",T=u&&o?" weg-openup":"",L=_&&o?" weg-openleft":"",A=b?" wg-editor":"";function j(){var e=Mr(p.current),t=e.left;void 0===t&&(t=0);var n=e.bottom;void 0===n&&(n=0),g(t>window.innerWidth/2),f(n>window.innerHeight/2),a(!0)}function P(){a(!1),v(null)}function D(){return o?P():j()}function R(e){if(_t.switcher_editor)return a(!1);var t;s(e),t=e,"WordPress"===_t.technology_name&&_t.injectedData&&!_t.is_connect?Pr(t,(function(e){return window.location.replace(e)})):window.Weglot.switchTo(t),a(!1)}function I(e){p.current&&!p.current.contains(e.target)&&P()}return Gn((function(){h&&C.current.scrollIntoView({block:"center"})}),[h]),Gn((function(){if(E||k)return document.addEventListener("mousedown",I),function(){document.removeEventListener("mousedown",I)}}),[]),un("aside",{ref:p,onKeyDown:function(e){return e.keyCode===Dr?(e.preventDefault(),h&&R(h),D()):e.keyCode===Wr||e.keyCode===Ir?(e.preventDefault(),void function(e){var t=e===Wr?"down":"up",n=w.slice(-1).pop(),r=w[0],a=Mr(p.current).bottom;void 0===a&&(a=0);var i=a>window.innerHeight/2;if(!h||!o){return v("down"===t?r:n),void(!o&&("up"===t&&i||"down"===t&&!i)&&j())}if(!i&&"up"===t&&h===r||i&&"down"===t&&h===n)return void D();var c="up"===t?-1:1,s=w.indexOf(h)+c;if(s===w.length||-1===s)return;v(w[s])}(e.keyCode)):void(e.keyCode===Rr&&o&&(e.preventDefault(),D()))},"data-wg-notranslate":!0,"aria-expanded":o,tabIndex:0,className:"weglot_switcher "+O+" wg-mouse-click country-selector "+N+T+L+A,"aria-label":"Language selected: "+Lr(c)},y&&un(Vr,{styleOpts:t,language:c,isSelected:!0,onClick:D,legacyFlags:S,url:"#"}),un("ul",{role:"none",style:!o&&t.is_dropdown&&{display:"none"}},w.map((function(e){return un(Vr,{language:e,url:e===c?"#":x[e],onClick:R,isSelected:e===c,key:"wg-"+e,isFocused:e===h,focusRef:C,styleOpts:t,legacyFlags:S})}))))}),"default"),Jr=0,Yr=[];function Kr(e,t){if(void 0===t&&(t=document.documentElement),e&&!e.ready){var n=e.style||_t.button_style,r=Gr(Object.assign({},e,!_t.switcher_editor&&{style:n}));if(r.weglotSwitcher=e,Yr.push(r),!e.location||!e.location.target)return r.classList.add("wg-default"),document.body.appendChild(r),e.ready=!0,r;var o=le(t,e.location.target);if(o){if(r.setAttribute("data-switcher-id",String(++Jr)),r.id="weglot-switcher-"+Jr,r.setAttribute("data-switcher-style-opt",JSON.stringify(n)),e.location.sibling){var a=le(t,e.location.sibling);try{o.insertBefore(r,a)}catch(e){o.contains(a)||W.warn("Switcher could not be added. The provided sibling is not a child of the target element.",{sendToDatadog:!1})}}else o.insertBefore(r,null);e.ready=!0;for(var i=0,c=t.querySelectorAll(".weglot-container:empty");i<c.length;i+=1){de(c[i])}return r}}}function Xr(e){var t=e.name,n=e.hash,r=e.interactive;if(void 0===r&&(r=!1),le(document.documentElement,"script#weglot-switcher-"+t))return!1;var o=!_t.switcher_editor&&n?t+"."+n:t,a=document.getElementsByTagName("head")[0]||document.documentElement,i=document.createElement("script");return i.type="text/javascript",i.src="https://cdn.weglot.com/switchers/"+o+".min.js",i.id="weglot-switcher-"+t,r&&i.setAttribute("interactive","true"),a.insertBefore(i,a.firstChild),!0}function Zr(){Hr||Te("switchersReady",Ue()),Hr=!0,clearTimeout(zr),Br&&Br.parentNode.removeChild(Br)}function Qr(e){if(void 0===e&&(e=document),!(kt().length<2||_t.hide_switcher)){var t=e.isConnected?e:document;(function(e){if(void 0===e&&(e=document.body),0!==se(e,'a[href^="#Weglot-"],a[href*="change-language.weglot.com/"]').length){for(var t=kt(),n=Ue(),r=!1,o=[],a=function(){var t=c[i],a=se(e,Kt(t));if(0!==a.length){r=!0;for(var s=function(){var e=u[l];e.setAttribute(H,""),e.classList.add("weglot-link","weglot-link-"+t),t===n&&e.classList.add("weglot-link--active"),Xe(t,(function(t){return e.setAttribute("href",t)})),e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),No(t)}))},l=0,u=a;l<u.length;l+=1)s();o.push({language:t,links:a})}},i=0,c=t;i<c.length;i+=1)a();return Ne("languageChanged",(function(e){for(var t=0,n=o;t<n.length;t+=1){var r=n[t],a=r.language,i=r.links;
1if(a===e)for(var c=0,s=i;c<s.length;c+=1)s[c].classList.add("weglot-link--active");else for(var l=0,u=i;l<u.length;l+=1)u[l].classList.remove("weglot-link--active")}}),!0),r}})(t)&&Zr();var n=t.querySelectorAll("#weglot_here:not(.weglot-container),.weglot_here:not(.weglot-container)");if(n.length){for(var r=0,o=n;r<o.length;r+=1){var a=o[r],i=Gr({style:_t.button_style});i.classList.add("weglot_here"),a.parentNode.insertBefore(i,a),de(a)}Zr()}for(var c=0,s=_t.switchers;c<s.length;c+=1){var l=s[c];if(!l.default){var u=l.template;if(u){if(u.name){if(!Xr(u)){var f=window.Weglot.switchers&&window.Weglot.switchers[u.name];f&&f.addSwitchers(t)}Zr()}}else Kr(l,t)&&Zr()}}if(!Hr&&!Br){var d=_t.switchers.find((function(e){return e.default}))||{style:_t.button_style};zr=setTimeout((function(){Br=Kr(d),Te("switchersReady",Ue())}))}}}Ne("onCurrentLocationChanged",(function(){Yr.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),Yr.splice(0),window.Weglot.switchers&&Object.values(window.Weglot.switchers).forEach((function(e){e.removeSwitchers()})),Hr=null,Br=null,Jr=0,_t.button_style.ready=!1,_t.switchers.map((function(e){return e.ready=!1})),Qr()}),!0);var eo=0;function to(){var e=["name","value"];_t.translate_event.forEach((function(t){for(var n=se(document.body,t.selector),r=function(){var n=a[o];if(n.alreadyListeningEventInput)return!n.alreadyListeningEventInput.isConnected&&eo<10&&(eo++,n.parentNode.insertBefore(n.alreadyListeningEventInput,n.nextSibling)),{};var r=n.cloneNode(!0);if(!r)return{};r.name="",n.alreadyListeningEventInput=r,n.parentNode.insertBefore(r,n.nextSibling),n.style.display="none",new MutationObserver((function(t){for(var o=0,a=t;o<a.length;o+=1){var i=a[o],c=n.getAttribute(i.attributeName);e.includes(i.attributeName)&&r.setAttribute(i.attributeName,c)}})).observe(n,{attributes:!0});var i=ye((function(e){13===e.keyCode&&e.target.form?e.target.form.dispatchEvent(new Event("submit")):Yt(e.target.value,(function(e){Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(n,e);var r=t.eventName||n.getAttribute("data-wg-translate-event"),o=document.createEvent("HTMLEvents");o.initEvent("focus",!0,!1),n.dispatchEvent(o),o.initEvent(r,!0,!1),n.dispatchEvent(o)}))}),400);r.addEventListener("keydown",i)},o=0,a=n;o<a.length;o+=1){var i=r();if(i)return i.v}}))}try{var no=Element.prototype.attachShadow;Element.prototype.attachShadow=function(e){var t=no.call(this,e);return ro([this]),t}}catch(Jn){}function ro(e){if(_t.translate_shadow_roots){e||(e=se(document,_t.dynamics.map((function(e){return e.value})).join(",")));for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(r.shadowRoot&&!r.shadowRoot.wgTranslated){r.shadowRoot.wgTranslated=!0,go(r.shadowRoot);var o=qt(r.shadowRoot);o.length&&(Bt(o),ho(o))}}}}var oo,ao=null,io=[],co=[H,"class","id"],so=[],lo=[];function uo(e,t){oo&&clearTimeout(oo);for(var n=0,r=t;n<r.length;n+=1){var o=r[n];1===o.nodeType&&io.push(o)}io.length&&(oo=setTimeout((function(){Qr(e),to(),_t.subdomain&&function(e){var t=window.location.hostname;if(t===_t.host)return;for(var n=0,r=e;n<r.length;n+=1)for(var o=r[n],a=0,i=se(o,"[href]");a<i.length;a+=1){var c=i[a];if(!p(c)){var s=c.getAttribute("href");s&&s.includes("//"+_t.host)&&c.setAttribute("href",s.replace(_t.host,t))}}}(io),ro(io),Ee("onDynamicDetected"),io=[]}),100))}function fo(e,t){var n=_t.dynamics,r=po;t!==document?r=function(){return!0}:n&&0!==n.length||(r=function(){return!1});try{if(bt())return;if(e=function(e,t){var n=[],r=e.filter((function(e){var r=e.addedNodes,o=e.type,a=e.target;"attributes"===o&&function(e){"IMG"===e.nodeName&&e.srcset&&e.dataset.wgtranslated&&(e.setAttribute("wgsrcset",e.srcset),e.srcset="")}(a);var i=function(e){do{if(e.weglot&&e.weglot.setted)return e;e=e.parentElement||e.parentNode}while(e)}(a);return i?(n.push(i),!1):r.length?(setTimeout((function(){return uo(a,r)})),!ao||!a||!ue(a,ao)):!co.includes(e.attributeName)&&t(a)&&("characterData"===o||"attributes"===o)}));if(n.length)for(var o=0,a=n;o<a.length;o+=1){a[o].weglot.setted=!1}return r}(e,r),!n||0===n.length)return;if(e.length)try{!function(e,t,n){void 0===n&&(n=!0);for(var r=[],o=function(e){var n=e.outerHTML||e.textContent;if(e.wgParsed!==n){e.wgParsed=n;for(var o=qt(e,(function(e){var n=e.element;return!function(e){return e.weglot&&e.weglot.dynamic>
120}(n)&&t(n)})),a=0,i=o;a<i.length;a+=1){var c=i[a];_t.ignoreDynamicFragments&&!document.body.contains(c)||(c.weglot.dynamic||(c.weglot.dynamic=0),c.weglot.dynamic++,r.push(c))}}},a=[],i=0,c=e;i<c.length;i+=1){var s=c[i],l=s.type,u=s.target,f=s.addedNodes;switch(l){case"attributes":case"characterData":if(a.includes(u))break;a.push(u),o(u);break;case"childList":var d=f.length>1?u:f[0];if(a.includes(d))break;if(o(d),a.push(d),!n)break;for(var _=0,g=f;_<g.length;_+=1){var m=g[_],h=[];"IFRAME"===m.tagName?h=[m]:m.querySelectorAll&&(h=m.querySelectorAll("iframe"));for(var v=0;v<h.length;v++){var y=h[v];t(y)&&we(y)&&!p(y)&&(o(y.contentWindow.document),go(y.contentWindow.document))}}}}r.length&&(Bt(r),ho(r))}(e,r)}catch(e){W.warn(e)}}catch(e){W.warn(e,{consoleOverride:"Error in MutationObserver"})}}var _o=!1;function go(e){var t=e!==document?e:e.body||e,n=new MutationObserver((function(t){var n;if(_o)fo(t,e);else{var r=so.find((function(t){return t.documentElement===e}));r?(n=r.mutations).push.apply(n,t):so.push({documentElement:e,mutations:[].concat(t)})}}));n.observe(t,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),lo.push(n)}function po(e){return!(!_t.dynamics||0===_t.dynamics.length)&&(e&&e.closest||(e=e.parentNode),e&&e.closest&&ue(e,_t.dynamics.map((function(e){return e.value})).join(", ")))}var mo={times:[],timeout:null,nodes:[]};function ho(e){void 0===e&&(e=[]),clearTimeout(mo.timeout);var t=Ue();if(t!==_t.language_from){if(mo.times=mo.times.filter((function(e){return e>Date.now()-1e3})),mo.times.length&&(mo.timeout||mo.times.length>=10))return mo.nodes=mo.nodes.concat(e),void(mo.timeout=setTimeout((function(){return ho()}),1e3));mo.timeout=null,mo.times.push(Date.now());var n=mo.nodes.concat(e);return mo.nodes=[],Jt(zt(n),t,{title:!1,cdn:!0,nodes:n}).then((function(e){return Ft(e,t,n)}))}}function vo(){var e=fe("wg_progress").firstElementChild,t=e.getAttribute("aria-valuenow"),n=parseInt(t)+(4*Math.random()+2);n<=100&&(e.setAttribute("aria-valuenow",n.toString()),e.style.width=n+"%")}function yo(e){clearInterval(e),de(fe("wg_progress"))}var wo,bo,ko,Eo=[];function So(e){if(e.data&&"null"!==e.origin){var t=e.data,n=t.message,r=t.payload;if(n){if("Weglot.iframe"===n){var o={message:"Weglot.setLanguage",payload:Ue()};return e.source.postMessage(o,e.origin),void Eo.push(e.source)}"Weglot.setLanguage"!==n||No(r)}}}function xo(e){void 0===e&&(e=Ue());for(var t={message:"Weglot.setLanguage",payload:e},n=0,r=Eo;n<r.length;n+=1){var o=r[n];try{o.postMessage(t,"*")}catch(e){console.warn(e)}}}function Co(){try{if(window.frameElement||window.self!==window.top)return"with-window-top"}catch(e){return"no-window-top"}}function Oo(e,t,n){if(n||!e||window.top!==window||!Lo(e)){var r=[];try{Bt(r=qt())}catch(e){W.warn(e)}var o=bt();if(e&&t&&!o&&Tt(e),!_t.is_connect||_t.dynamicPushState||!o&&e!==_t.language_from?function(e){void 0===e&&(e=!0);var t=_t.excluded_blocks,n=_t.is_connect;if(_o=e)if(ao=t&&t.length&&t.map((function(e){return e.value})).join(","),n&&so.length>0)for(var r=function(){var e=a[o],t=e.mutations,n=e.documentElement,r=function(){var e=t.splice(0,100);e.length>0&&(fo(e,n),setTimeout(r,0))};r()},o=0,a=so;o<a.length;o+=1)r();else so=[]}():function(){if(0!==lo.length){for(var e=0,t=lo;e<t.length;e+=1)t[e].disconnect();so=[]}}(),n||o)To(e);else if(_t.is_connect&&!o&&Ee("onConnectPageLoad",e),_t.force_translation){for(var a=[],i=0,c=r;i<c.length;i+=1){var s=c[i];(s.closest&&s.closest(_t.force_translation)||!s.closest&&s.parentNode&&s.parentNode.closest&&s.parentNode.closest(_t.force_translation))&&a.push(s)}ho(a)}o&&!o.language_button_displayed&&o.allExcluded||Qr(),o||(_t.remove_unused_link_hooks&&function(){var e=kt(),t=_t.languages.map((function(e){return e.custom_code||e.language_to})).filter((function(t){return!e.includes(t)}));1===e.length&&t.push(_t.language_from);for(var n=t.map((function(e){return Kt(e)})).join(","),r=0,o=se(document,n);r<o.length;r+=1)de(o[r])}(),ro(),to(),function(){window.addEventListener("message",So,!1);var e=_t.translate_iframes;if(e)for(var t=0,n=se(document.body,e);t<n.length;t+=1){var r=n[t];r.contentWindow&&Eo.push(r.contentWindow)}ke("onPageLanguageSet",xo),"with-window-top"===Co()&&window.top.postMessage({message:"Weglot.iframe"},"*")}(),["alert"].forEach((function(e){var t=window[e];window[e]=function(){var e=arguments;if("string"==typeof arguments[0]){var n=Ue();return _t.language_from===n?t.apply(window,arguments):Jt([{t:2,w:arguments[0]}],n,{title:!1,cdn:!0}).then((function(n){return e[0]=n.to_words[0],t.apply(window,e)}))}}}))),Te("initialized",e)}}function No(e){var t=Ue();e!==t&&(_t.visual_editor?Xe(e,(function(n){if("#"===n)return To(e,t);window.dispatchEvent(new CustomEvent("veLanguageChangeUrl",{detail:{targetUrl:n}}))})):To(e,t))}function To(e,t){if(!kt().includes(e))return Lt(),void W.warn(e+" isn't a language you have added",{sendToDatadog:!1});_t.auto_switch&&Ct(e);var n=bt();if(_t.is_connect||n||Tt(e),!Lo(e)){if(_t.loading_bar)var r=function(){try{var e=document.createElement("div");
1return e.className="wg-progress",e.id="wg_progress",e.innerHTML='<div class="wg-progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0"></div>',document.body.appendChild(e),setInterval(vo,100)}catch(e){}}();if(function(e){var t=ge("lang");if(t&&t!==e){var n=window.location.search.replace("lang="+t,"lang="+e);try{window.history.replaceState(null,"",window.location.pathname+n)}catch(e){}}je=e}(e),bt())return Lt(),void yo(r);if(e===_t.language_from)return Ee("onPageLanguageSet",e),Lt(),Ft(null,e),_t.loading_bar&&yo(r),document.documentElement.setAttribute("lang",e),void Te("languageChanged",e,t||"");Jt(zt(),e).then((function(n){Lt(),Ft(n,e),document.documentElement.setAttribute("lang",e),Te("languageChanged",e,t||""),_t.loading_bar&&yo(r)})).catch((function(e){throw _t.loading_bar&&yo(r),Lt(),Be().removeItem(M),e})),Ee("onPageLanguageSet",e)}}function Lo(e){return!(!_t.is_connect||Ue()===e)&&(_t.host&&!function(){if(_t.subdirectory)return[_t.host,B];return _t.languages.map((function(e){return e.connect_host_destination&&e.connect_host_destination.host})).concat([_t.host,B])}().includes(window.location.hostname)?(Co()||W.warn('"'+window.location.hostname+'" is not configured with Weglot. Please contact [email protected]',{sendToDatadog:!1}),!1):(Xe(e,(function(e){return window.location.replace(e)})),!0))}Ne("initialized",(function(){_t.translate_search&&!_t.switcher_editor&&function(){for(var e=_t.search_forms,t=_t.search_parameter,n=0,r=se(document,e);n<r.length;n+=1){var o=r[n];o.addEventListener("submit",(function(e){e.preventDefault();var n=e.target.elements[t].value;Yt(n,(function(e){xe.set("wg-search-form",n),o.elements[t].value=e,o.submit()}))}));var a=void 0;-1!==window.location.search.indexOf(t+"=")&&o.elements&&o.elements[t]&&(a=xe.get("wg-search-form"))&&(o.elements[t].value=a)}xe.erase("wg-search-form")}()}),!0);var Ao=!1;function jo(){window.addEventListener("message",Ro,!1);var e=document.createElement("meta");e.name="google",e.content="notranslate",document.head&&document.head.appendChild(e);document.documentElement&&-1===["cms.e.jimdo.com","proxy.weglot.com"].indexOf(window.location.host)&&document.documentElement.setAttribute("translate","no");var t=document.head.querySelector("link[href*=weglot_shopify]");t&&document.head.removeChild(t)}function Po(){if(_t.api_key){Ne("initialized",(function(){_t.page_views_enabled&&(_t.is_connect?Xe(_t.language_from,(function(e){return Ot(e)})):Ot())}),!0);try{I(document,_t)}catch(e){W.error(e)}if(Ee("onWeglotSetup"),!Io.initialized||window.Turbolinks){bo=function(){var e=kt();if(_t.is_connect){var t=document.documentElement.dataset.wgTranslated||(_t.subdirectory?We():Ie());if(t!==_t.language_from)return t;if(!_t.subdirectory&&_t.technology_name===$){var n=xe.get("wg_checkout_language");if(n&&e.includes(n))return xe.erase("wg_checkout_language"),n}var r=xt();return t===_t.language_from&&r&&e.includes(r)?r:_t.language_from}var o=ge("lang");if(o&&e.includes(o))return Ao=!0,o;var a=Nt();if(a&&e.includes(a))return a;var i=xt();if(i&&e.includes(i))return Ao=!0,i;return _t.language_from}(),Ue();var e=bt();if((ko=bo&&bo!==_t.language_from&&document.documentElement.dataset.wgTranslated!==bo&&!e&&!document.documentElement.dataset.wgExcludedUrl&&!_t.switcher_editor)&&_t.wait_transition?pe("@keyframes wg{from{color:transparent;}to{color:transparent;}}body *{color:transparent!important;animation:1s linear infinite wg!important;}",q):Lt(),_t.delayStart)return Ne("start",(function(){return Do()}),!0);"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){return Do()})):Do()}}}function Do(){if(!document.querySelector("#has-script-tags")||document.querySelector("#has-script-tags")&&(document.head.innerHTML.indexOf("weglot_script_tag")>0||document.documentElement.innerHTML.indexOf("weglot_script_tag")>0))try{Oo(bo,Ao,ko)}catch(e){Lt(),W.error(e,{consoleOverride:"There has been an error initializing, "+e.stack})}else Lt();wo=!1,Io.initialized=!0}function Ro(e){if(e.data)try{var t=JSON.parse(e.data);switch(t.message){case"Weglot.detect":e.source.postMessage(JSON.stringify({message:"Weglot.ready",data:{initialized:Io.initialized,options:_t}}),e.origin);break;case"Weglot.switchTo":No(t.language)}}catch(e){}}var Io=window.Weglot||{initialized:!1,options:_t,dynamic:"",switchTo:No,setup:function(e){jo(),wo||(wo=!0,Oe(ht(),"polyfillReady",(function(){ut(e).then((function(){return Po()})).catch((function(){W.warn("Your setup is deprecated, please save settings in your dashboard to hide this message.",{sendToDatadog:!1});var t=e.api_key;e.translation_engine=t&&t.length>=36?2:1,function(e){try{var t=["api_key","originalLanguage","destinationLanguages"];if(!e||t.some((function(t){return!e[t]})))throw{wgErrMsg:"You have to provide at least: "+t.join(", ")};dt(ct(e))}catch(e){throw new Error(e&&e.wgErrMsg||"Error while reading Weglot options")}}(e),Po()}))})))},initialize:function(e){jo(),wo||(wo=!0,Oe(ht(),"polyfillReady",(function(){ut(e).then((function(){return Po()}))})))},on:function(e,t){return Ne(e,t,!1)},off:function(e,t){var n,r=!1,o=function(t){return Ce[t].name===e&&!Ce[t].internal};n="function"==typeof t?function(e){return o(e)&&Ce[e].callback===t}:function(e){return o(e)};for(var a=Ce.length-1;a>=0;a--)n(a)&&(Ce.splice(a,1),r=!0);return r},getStoredLang:Nt,getLanguageName:Lr,getCurrentLang:Ue,polyReady:mt,getCache:function(){return Pt},addNodes:function(e){var t=qt(e);return Bt(t),ho(t)},search:Yt,translate:function(e,t){void 0===e&&(e={});var n=e.words,r=e.languageTo;if(void 0===r&&(r=Ue()),!Array.isArray(n)||"object"!=typeof n[0]){var o="Weglot.translate: 1st arg must be an array of objects";return W.error(o,{sendToDatadog:!1}),t&&t(null,o),Promise.reject()}return r===_t.language_from?(t&&t(n.map((function(e){return e.w}))),Promise.resolve(n.map((function(e){return e.w})))):new Promise((function(e,o){Jt(n,r,{title:!1,cdn:!0}).then((function(n){if(!n||!n.to_words)throw n;t&&t(n.to_words),e(n.to_words)})).catch((function(e){o(e),t&&t(null,e)}))}
1))},getBestAvailableLanguage:St,getAvailableLanguages:kt};return Oe(ht(),"polyfillReady",(function(){go(document);var e=function(e){return e&&e.src&&oe.find((function(t){return t.test(e.src)}))},t=document.currentScript||[].concat(document.scripts).find((function(t){return e(t)})),n=t&&e(t);if(n){var r=n.exec(t.src).groups.api_key;r&&0===r.indexOf("wg_")&&Io.initialize({api_key:r})}})),Io}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.