Skip to content

Instantly share code, notes, and snippets.

@thesunlover
Last active June 16, 2023 13:24
Show Gist options
  • Save thesunlover/fd8e0898a6d7c803693778cba0c32c78 to your computer and use it in GitHub Desktop.
Save thesunlover/fd8e0898a6d7c803693778cba0c32c78 to your computer and use it in GitHub Desktop.
valency
"use strict";(self.webpackChunkvalency=self.webpackChunkvalency||[]).push([[133],{133:(t,e,n)=>{n.r(e),n.d(e,{default:()=>a});var r=n(913),o=n(296),i=n(342),c=n(183),u=n(980),f=n(447);var s=window.EventEmitter,a=function(t){(0,i.Z)(a,t);var e,n,f=(e=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,r=(0,u.Z)(e);if(n){var o=(0,u.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,c.Z)(this,t)});function a(){return(0,r.Z)(this,a),f.apply(this,arguments)}return(0,o.Z)(a,[{key:"initState",value:function(){this.state.initSend=!1}},{key:"initCache",value:function(){var t=this;this.options.inputs.forEach((function(e){t.selectors[e.prop]=t.element.querySelector("[".concat(e.attr,"]"))}))}},{key:"bindEvents",value:function(){s.on("Select:update",this.triggerUpdate,this)}},{key:"triggerUpdate",value:function(){var t=this,e={};this.options.inputs.forEach((function(n){e[n.prop]=t.selectors[n.prop].value})),this.state.initSend||(this.state.initSend=!0,s.emit("Search:init",this.options.inputs)),s.emit("Search:trigger",e)}},{key:"destroy",value:function(){s.off("Select:update",this.triggerUpdate,this)}}]),a}(f.Z)},980:(t,e,n)=>{function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,{Z:()=>r})},342:(t,e,n)=>{function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)}n.d(e,{Z:()=>o})},183:(t,e,n)=>{n.d(e,{Z:()=>o});var r=n(311);function o(t,e){if(e&&("object"===(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}}}]);
"use strict";(self.webpackChunkvalency=self.webpackChunkvalency||[]).push([[134],{134:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var o=t(913),i=t(296),s=t(342),a=t(183),r=t(980),c=t(447),u=t(618),l=t(527);var f=window.EventEmitter,p=function(e){(0,s.Z)(p,e);var n,t,c=(n=p,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,r.Z)(n);if(t){var i=(0,r.Z)(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return(0,a.Z)(this,e)});function p(){return(0,o.Z)(this,p),c.apply(this,arguments)}return(0,i.Z)(p,[{key:"bindEvents",value:function(){(0,l.on)("change",this.element,this.change,this)}},{key:"initState",value:function(){this.state.options=u.Z.getSelectOptions({type:this.options.type})}},{key:"afterInit",value:function(){var e=this;this.state.options.forEach((function(n){var t=document.createElement("option");e.state.options.push(t),t.value=n.value,t.text=n.text,e.element.add(t)}))}},{key:"change",value:function(){f.emit("Select:update")}},{key:"destroy",value:function(){(0,l.S1)("change",this.element,this.change,this)}}]),p}(c.Z)},618:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(913),i=t(296),s=t(186);window._db=s;const a=new(function(){function e(){(0,o.Z)(this,e),this._raw=s,this._cache={presentation:{},selectors:{verbs:[],languages:[]}},this._init()}return(0,i.Z)(e,[{key:"languages",get:function(){return s.languages.definitions}},{key:"dispalyLanguage",get:function(){return(this.languages.filter((function(e){return e.main}))||this.languages)[0]}},{key:"displayOrder",get:function(){return s.drop.order}},{key:"_init",value:function(){var e=this,n=this.displayOrder;s.verbs.forEach((function(t){var o=n.map((function(e){return"".concat(t[e].name,"(").concat(e,")")})).join("; ");e._cache.selectors.verbs.push({value:t.en.name,text:o}),e._cache.presentation[t.en.name]=t}))}},{key:"getPresentationData",value:function(e){return this._cache.presentation[e]}},{key:"getSelectOptions",value:function(e){return this._cache.selectors["".concat(e.type,"s")]||[]}}]),e}())},980:(e,n,t)=>{function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}t.d(n,{Z:()=>o})},342:(e,n,t)=>{function o(e,n){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},o(e,n)}function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&o(e,n)}t.d(n,{Z:()=>i})},183:(e,n,t)=>{t.d(n,{Z:()=>i});var o=t(311);function i(e,n){if(n&&("object"===(0,o.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},186:e=>{e.exports=JSON.parse('{"verbs":[{"en":{"name":"know(I)","definition":"To know something from personal experience","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"Inženýr znal dobře plány stavby.","exp":"Inženýr","vf":"znal","cont":"dobře plány stavby","mod":"","so":""},{"sentence":"Tomáš zná cestu lesem.","exp":"Tomáš","vf":"zná","cont":"cestu lesem","mod":"","so":""},{"sentence":"Které sladkovodní ryby (vy) znáte?","exp":"(vy)","vf":"znáte","cont":"Které sladkovodní ryby","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"","examples":[{"sentence":"Инженерът познаваше добре строителните планове.","exp":"Инженерът","vf":"познаваше","cont":"добре строителните планове","mod":"","so":""},{"sentence":"Томаш знае пътя през гората.","exp":"Томаш","vf":"знае","cont":"пътя през гората","mod":"","so":""},{"sentence":"Кои сладководни риби знаете (вие)?","exp":"(вие)","vf":"знаете","cont":"Кои сладководни риби","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Інженер добре знав плани будівництва.","exp":"Інженер","vf":"знав","cont":"плани будівництва","mod":"добре","so":""},{"sentence":"Томаш знає дорогу через ліс.","exp":"Томаш","vf":"знає","cont":"дорогу через ліс","mod":"","so":""},{"sentence":"Яких прісноводних риб ви знаєте?","exp":"ви","vf":"знаєте","cont":"Яких прісноводних риб","mod":"","so":""}]}},{"en":{"name":"know(II)","definition":"to have a professional knowledge about something","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"Ne každý účetní zná podvojné účetnictví.","exp":"Ne každý účetní","vf":"zná","cont":"podvojné účetnictví","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"имам професионални знания за нещо","examples":[{"sentence":"Не всеки счетоводител знае(познава) двойното счетоводство.","exp":"Не всеки счетоводител","vf":"знае(познава)","cont":"двойното счетоводство","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Не кожен бухгалтер знає подвійну бухгалтерію.","exp":"Не кожен бухгалтер","vf":"знає","cont":"подвійну бухгалтерію","mod":"","so":""}]}},{"en":{"name":"know(III)","definition":"to know someone personally","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"(On) zná Marii.","exp":"(On)","vf":"zná","cont":"Marii","mod":"","so":""},{"sentence":"Jeho rodiče mně už dlouho znají.","exp":"Jeho rodiče","vf":"znají","cont":"mně už dlouho","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"познавам някого лично","examples":[{"sentence":"(Той) познава Мария.","exp":"(Той)","vf":"познава","cont":"Мария","mod":"","so":""},{"sentence":"Родителите му отдавна ме познават.","exp":"Родителите му","vf":"познават","cont":"отдавна ме","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Він знає Марію","exp":"Він","vf":"знає","cont":"Марію","mod":"","so":""},{"sentence":"Його батьки мене давно знають.","exp":"Його батьки","vf":"знають","cont":"мене давно","mod":"","so":""}]}},{"en":{"name":"know(IV)","definition":"to have an information about someone/something","examples":null},"cz":{"name":"znát(~vedět)","definition":"","examples":[{"sentence":"(Já) znám o něm klepy.","exp":"(Já)","vf":"znám","cont":"o něm klepy","mod":"","so":""},{"sentence":"(Oni) znají o něm, že je zběratelem známek.","exp":"(Oni)","vf":"znají","cont":"o něm, že je zběratelem známek","mod":"","so":""}]},"bg":{"name":"зная за","definition":"знам нещо (имам информация) за някого/ нещо","examples":[{"sentence":"(Аз) знам клюки за него.","exp":"(Аз)","vf":"знам","cont":"клюки за него","mod":"","so":""},{"sentence":"(Те) знаят за него, че е колекционер на марки.","exp":"(Те)","vf":"знаят","cont":"за него, че е колекционер на марки","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"(Я) знаю плітки про нього","exp":"(Я)","vf":"знаю","cont":"плітки про нього","mod":"","so":""},{"sentence":"Про нього (вони) знають, що він колекціонер марок.","exp":"Про нього","vf":"знають","cont":"(вони)","mod":"що він колекціонер марок","so":""}]}}],"drop":{"display":{"format":"sup(index)","index":1,"note":"auto index"},"order":["en","cz","bg","ua"]},"sentences":{"byLang":{"isSlavik":{"orders":{"forward":["exp","vf","cont","mod","so"],"reversed":["cont","vf","exp","mod","so"]},"formula":{"roles":{"exp":{"ommitable":true},"vf":{},"cont":{},"mod":{"ommitable":true},"so":{"ommitable":true}}}},"isEnglish":{"formula":null,"orders":{"TODO:forward":["exp","vf","cont","mod","so"],"TODO:reversed":["cont","vf","exp","mod","so"]}}}},"languages":{"definitions":[{"main":true,"iso":"en","full":"English","native":"English","type":{"isEnglish":true}},{"iso":"cz","full":"Czech","native":"Český jazyk","type":{"isSlavik":true}},{"iso":"bg","full":"Bulgarian","native":"Български език","type":{"isSlavik":true}},{"iso":"ua","full":"Ukrainian","native":"Українська мова","type":{"isSlavik":true}}]}}')}}]);
"use strict";(self.webpackChunkvalency=self.webpackChunkvalency||[]).push([[284],{284:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var o=t(913),i=t(296),s=t(342),a=t(183),r=t(980),c=t(447),l=t(618);var u=window.EventEmitter,f=window,p=function(e){(0,s.Z)(p,e);var n,t,c=(n=p,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,r.Z)(n);if(t){var i=(0,r.Z)(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return(0,a.Z)(this,e)});function p(){return(0,o.Z)(this,p),c.apply(this,arguments)}return(0,i.Z)(p,[{key:"bindEvents",value:function(){u.on("Search:init",this.initCache,this),u.on("Search:init",this.initState,this),u.on("Search:trigger",this.showResult,this)}},{key:"initCache",value:function(){var e=this;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){e.selectors[n.prop]=e.element.querySelector("[".concat(n.attr,"]"))})),this.selectors.status=this.selectors.status||this.element.querySelector("[data-js-config-status]"),this.selectors.main=this.element.querySelector("[data-js-result-main]")}},{key:"initState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length&&(this.state.inputs=e),this.state.showOrder=l.Z._raw.drop.order,this.state.presentationData={}}},{key:"afterInit",value:function(){this.hideElement(this.element)}},{key:"showResult",value:function(e){var n=this,t=!0;if(this.state.inputs.forEach((function(n){t=t&&!!e[n.prop]})),t){var o=e.verb,i=l.Z.getPresentationData(o);this.state.presentationData=i;var s=this.state.showOrder.slice(0),a=s.shift(),r=i[a],c=r.name,u=r.definition,p=this.selectors.main;p.innerHTML="";var d=document.createElement("h1");d.innerText=c;var m=document.createElement("h2");m.innerText=u,p.appendChild(d),p.appendChild(m),s.forEach((function(e){var t=i[e],o=t.name,s=t.definition,a=t.examples,r=document.createElement("h2");r.innerText="".concat(o,"(").concat(e,")"),document.createElement("h3").innerText="definition: ".concat(s||" - ");var c=document.createElement("h3");c.innerText="Examples:",p.appendChild(r),p.appendChild(c),a.forEach((function(e,t){var o=e.sentence,i=e.vf,s=e.exp,a=e.cont,r=e.so,c=e.mod;if(o){var l=document.createElement("p"),u=o;u=i?u.replaceAll(i,'<span class="m-verb">'.concat(i,"</span>")):u,u=s?u.replaceAll(s,'<span class="m-doer">'.concat(s,"</span>")):u,u=a?u.replaceAll(a,'<span class="m-content">'.concat(a,"</span>")):u,u=r?u.replaceAll(r,'<span class="m-content">'.concat(r,"</span>")):u,u=c?u.replaceAll(c,'<span class="m-content">'.concat(c,"</span>")):u,l.innerHTML=u,p.appendChild(l),t||f.valency&&f.valency.bind(n)(e)}}))})),this.showElement(this.element)}else this.hideElement(this.element)}},{key:"destroy",value:function(){u.off("Search:init",this.initCache,this),u.off("Search:init",this.initState,this),u.off("Search:trigger",this.showResult,this)}}]),p}(c.Z)},618:(e,n,t)=>{t.d(n,{Z:()=>a});var o=t(913),i=t(296),s=t(186);window._db=s;const a=new(function(){function e(){(0,o.Z)(this,e),this._raw=s,this._cache={presentation:{},selectors:{verbs:[],languages:[]}},this._init()}return(0,i.Z)(e,[{key:"languages",get:function(){return s.languages.definitions}},{key:"dispalyLanguage",get:function(){return(this.languages.filter((function(e){return e.main}))||this.languages)[0]}},{key:"displayOrder",get:function(){return s.drop.order}},{key:"_init",value:function(){var e=this,n=this.displayOrder;s.verbs.forEach((function(t){var o=n.map((function(e){return"".concat(t[e].name,"(").concat(e,")")})).join("; ");e._cache.selectors.verbs.push({value:t.en.name,text:o}),e._cache.presentation[t.en.name]=t}))}},{key:"getPresentationData",value:function(e){return this._cache.presentation[e]}},{key:"getSelectOptions",value:function(e){return this._cache.selectors["".concat(e.type,"s")]||[]}}]),e}())},980:(e,n,t)=>{function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}t.d(n,{Z:()=>o})},342:(e,n,t)=>{function o(e,n){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},o(e,n)}function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&o(e,n)}t.d(n,{Z:()=>i})},183:(e,n,t)=>{t.d(n,{Z:()=>i});var o=t(311);function i(e,n){if(n&&("object"===(0,o.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},186:e=>{e.exports=JSON.parse('{"verbs":[{"en":{"name":"know(I)","definition":"To know something from personal experience","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"Inženýr znal dobře plány stavby.","exp":"Inženýr","vf":"znal","cont":"dobře plány stavby","mod":"","so":""},{"sentence":"Tomáš zná cestu lesem.","exp":"Tomáš","vf":"zná","cont":"cestu lesem","mod":"","so":""},{"sentence":"Které sladkovodní ryby (vy) znáte?","exp":"(vy)","vf":"znáte","cont":"Které sladkovodní ryby","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"","examples":[{"sentence":"Инженерът познаваше добре строителните планове.","exp":"Инженерът","vf":"познаваше","cont":"добре строителните планове","mod":"","so":""},{"sentence":"Томаш знае пътя през гората.","exp":"Томаш","vf":"знае","cont":"пътя през гората","mod":"","so":""},{"sentence":"Кои сладководни риби знаете (вие)?","exp":"(вие)","vf":"знаете","cont":"Кои сладководни риби","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Інженер добре знав плани будівництва.","exp":"Інженер","vf":"знав","cont":"плани будівництва","mod":"добре","so":""},{"sentence":"Томаш знає дорогу через ліс.","exp":"Томаш","vf":"знає","cont":"дорогу через ліс","mod":"","so":""},{"sentence":"Яких прісноводних риб ви знаєте?","exp":"ви","vf":"знаєте","cont":"Яких прісноводних риб","mod":"","so":""}]}},{"en":{"name":"know(II)","definition":"to have a professional knowledge about something","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"Ne každý účetní zná podvojné účetnictví.","exp":"Ne každý účetní","vf":"zná","cont":"podvojné účetnictví","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"имам професионални знания за нещо","examples":[{"sentence":"Не всеки счетоводител знае(познава) двойното счетоводство.","exp":"Не всеки счетоводител","vf":"знае(познава)","cont":"двойното счетоводство","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Не кожен бухгалтер знає подвійну бухгалтерію.","exp":"Не кожен бухгалтер","vf":"знає","cont":"подвійну бухгалтерію","mod":"","so":""}]}},{"en":{"name":"know(III)","definition":"to know someone personally","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"(On) zná Marii.","exp":"(On)","vf":"zná","cont":"Marii","mod":"","so":""},{"sentence":"Jeho rodiče mně už dlouho znají.","exp":"Jeho rodiče","vf":"znají","cont":"mně už dlouho","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"познавам някого лично","examples":[{"sentence":"(Той) познава Мария.","exp":"(Той)","vf":"познава","cont":"Мария","mod":"","so":""},{"sentence":"Родителите му отдавна ме познават.","exp":"Родителите му","vf":"познават","cont":"отдавна ме","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Він знає Марію","exp":"Він","vf":"знає","cont":"Марію","mod":"","so":""},{"sentence":"Його батьки мене давно знають.","exp":"Його батьки","vf":"знають","cont":"мене давно","mod":"","so":""}]}},{"en":{"name":"know(IV)","definition":"to have an information about someone/something","examples":null},"cz":{"name":"znát(~vedět)","definition":"","examples":[{"sentence":"(Já) znám o něm klepy.","exp":"(Já)","vf":"znám","cont":"o něm klepy","mod":"","so":""},{"sentence":"(Oni) znají o něm, že je zběratelem známek.","exp":"(Oni)","vf":"znají","cont":"o něm, že je zběratelem známek","mod":"","so":""}]},"bg":{"name":"зная за","definition":"знам нещо (имам информация) за някого/ нещо","examples":[{"sentence":"(Аз) знам клюки за него.","exp":"(Аз)","vf":"знам","cont":"клюки за него","mod":"","so":""},{"sentence":"(Те) знаят за него, че е колекционер на марки.","exp":"(Те)","vf":"знаят","cont":"за него, че е колекционер на марки","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"(Я) знаю плітки про нього","exp":"(Я)","vf":"знаю","cont":"плітки про нього","mod":"","so":""},{"sentence":"Про нього (вони) знають, що він колекціонер марок.","exp":"Про нього","vf":"знають","cont":"(вони)","mod":"що він колекціонер марок","so":""}]}}],"drop":{"display":{"format":"sup(index)","index":1,"note":"auto index"},"order":["en","cz","bg","ua"]},"sentences":{"byLang":{"isSlavik":{"orders":{"forward":["exp","vf","cont","mod","so"],"reversed":["cont","vf","exp","mod","so"]},"formula":{"roles":{"exp":{"ommitable":true},"vf":{},"cont":{},"mod":{"ommitable":true},"so":{"ommitable":true}}}},"isEnglish":{"formula":null,"orders":{"TODO:forward":["exp","vf","cont","mod","so"],"TODO:reversed":["cont","vf","exp","mod","so"]}}}},"languages":{"definitions":[{"main":true,"iso":"en","full":"English","native":"English","type":{"isEnglish":true}},{"iso":"cz","full":"Czech","native":"Český jazyk","type":{"isSlavik":true}},{"iso":"bg","full":"Bulgarian","native":"Български език","type":{"isSlavik":true}},{"iso":"ua","full":"Ukrainian","native":"Українська мова","type":{"isSlavik":true}}]}}')}}]);
"use strict";(self.webpackChunkvalency=self.webpackChunkvalency||[]).push([[417],{417:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});var o=t(913),i=t(296),s=t(342),r=t(183),a=t(980),c=t(447),u=t(618);var l=window.EventEmitter,f=function(e){(0,s.Z)(f,e);var n,t,c=(n=f,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=(0,a.Z)(n);if(t){var i=(0,a.Z)(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return(0,r.Z)(this,e)});function f(){return(0,o.Z)(this,f),c.apply(this,arguments)}return(0,i.Z)(f,[{key:"bindEvents",value:function(){}},{key:"initCache",value:function(){}},{key:"initState",value:function(){console.assert("bg"===this.options.interface),this.state.language={main:u.Z.dispalyLanguage.iso,order:u.Z.displayOrder},console.log(this.state)}},{key:"afterInit",value:function(){}},{key:"do",value:function(){console.log("do()")}},{key:"destroy",value:function(){l.off("Search:trigger",this.do,this)}}]),f}(c.Z)},618:(e,n,t)=>{t.d(n,{Z:()=>r});var o=t(913),i=t(296),s=t(186);window._db=s;const r=new(function(){function e(){(0,o.Z)(this,e),this._raw=s,this._cache={presentation:{},selectors:{verbs:[],languages:[]}},this._init()}return(0,i.Z)(e,[{key:"languages",get:function(){return s.languages.definitions}},{key:"dispalyLanguage",get:function(){return(this.languages.filter((function(e){return e.main}))||this.languages)[0]}},{key:"displayOrder",get:function(){return s.drop.order}},{key:"_init",value:function(){var e=this,n=this.displayOrder;s.verbs.forEach((function(t){var o=n.map((function(e){return"".concat(t[e].name,"(").concat(e,")")})).join("; ");e._cache.selectors.verbs.push({value:t.en.name,text:o}),e._cache.presentation[t.en.name]=t}))}},{key:"getPresentationData",value:function(e){return this._cache.presentation[e]}},{key:"getSelectOptions",value:function(e){return this._cache.selectors["".concat(e.type,"s")]||[]}}]),e}())},980:(e,n,t)=>{function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}t.d(n,{Z:()=>o})},342:(e,n,t)=>{function o(e,n){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},o(e,n)}function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&o(e,n)}t.d(n,{Z:()=>i})},183:(e,n,t)=>{t.d(n,{Z:()=>i});var o=t(311);function i(e,n){if(n&&("object"===(0,o.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},186:e=>{e.exports=JSON.parse('{"verbs":[{"en":{"name":"know(I)","definition":"To know something from personal experience","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"Inženýr znal dobře plány stavby.","exp":"Inženýr","vf":"znal","cont":"dobře plány stavby","mod":"","so":""},{"sentence":"Tomáš zná cestu lesem.","exp":"Tomáš","vf":"zná","cont":"cestu lesem","mod":"","so":""},{"sentence":"Které sladkovodní ryby (vy) znáte?","exp":"(vy)","vf":"znáte","cont":"Které sladkovodní ryby","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"","examples":[{"sentence":"Инженерът познаваше добре строителните планове.","exp":"Инженерът","vf":"познаваше","cont":"добре строителните планове","mod":"","so":""},{"sentence":"Томаш знае пътя през гората.","exp":"Томаш","vf":"знае","cont":"пътя през гората","mod":"","so":""},{"sentence":"Кои сладководни риби знаете (вие)?","exp":"(вие)","vf":"знаете","cont":"Кои сладководни риби","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Інженер добре знав плани будівництва.","exp":"Інженер","vf":"знав","cont":"плани будівництва","mod":"добре","so":""},{"sentence":"Томаш знає дорогу через ліс.","exp":"Томаш","vf":"знає","cont":"дорогу через ліс","mod":"","so":""},{"sentence":"Яких прісноводних риб ви знаєте?","exp":"ви","vf":"знаєте","cont":"Яких прісноводних риб","mod":"","so":""}]}},{"en":{"name":"know(II)","definition":"to have a professional knowledge about something","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"Ne každý účetní zná podvojné účetnictví.","exp":"Ne každý účetní","vf":"zná","cont":"podvojné účetnictví","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"имам професионални знания за нещо","examples":[{"sentence":"Не всеки счетоводител знае(познава) двойното счетоводство.","exp":"Не всеки счетоводител","vf":"знае(познава)","cont":"двойното счетоводство","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Не кожен бухгалтер знає подвійну бухгалтерію.","exp":"Не кожен бухгалтер","vf":"знає","cont":"подвійну бухгалтерію","mod":"","so":""}]}},{"en":{"name":"know(III)","definition":"to know someone personally","examples":null},"cz":{"name":"znát","definition":"","examples":[{"sentence":"(On) zná Marii.","exp":"(On)","vf":"zná","cont":"Marii","mod":"","so":""},{"sentence":"Jeho rodiče mně už dlouho znají.","exp":"Jeho rodiče","vf":"znají","cont":"mně už dlouho","mod":"","so":""}]},"bg":{"name":"зная(познавам)","definition":"познавам някого лично","examples":[{"sentence":"(Той) познава Мария.","exp":"(Той)","vf":"познава","cont":"Мария","mod":"","so":""},{"sentence":"Родителите му отдавна ме познават.","exp":"Родителите му","vf":"познават","cont":"отдавна ме","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"Він знає Марію","exp":"Він","vf":"знає","cont":"Марію","mod":"","so":""},{"sentence":"Його батьки мене давно знають.","exp":"Його батьки","vf":"знають","cont":"мене давно","mod":"","so":""}]}},{"en":{"name":"know(IV)","definition":"to have an information about someone/something","examples":null},"cz":{"name":"znát(~vedět)","definition":"","examples":[{"sentence":"(Já) znám o něm klepy.","exp":"(Já)","vf":"znám","cont":"o něm klepy","mod":"","so":""},{"sentence":"(Oni) znají o něm, že je zběratelem známek.","exp":"(Oni)","vf":"znají","cont":"o něm, že je zběratelem známek","mod":"","so":""}]},"bg":{"name":"зная за","definition":"знам нещо (имам информация) за някого/ нещо","examples":[{"sentence":"(Аз) знам клюки за него.","exp":"(Аз)","vf":"знам","cont":"клюки за него","mod":"","so":""},{"sentence":"(Те) знаят за него, че е колекционер на марки.","exp":"(Те)","vf":"знаят","cont":"за него, че е колекционер на марки","mod":"","so":""}]},"ua":{"name":"знати","definition":"","examples":[{"sentence":"(Я) знаю плітки про нього","exp":"(Я)","vf":"знаю","cont":"плітки про нього","mod":"","so":""},{"sentence":"Про нього (вони) знають, що він колекціонер марок.","exp":"Про нього","vf":"знають","cont":"(вони)","mod":"що він колекціонер марок","so":""}]}}],"drop":{"display":{"format":"sup(index)","index":1,"note":"auto index"},"order":["en","cz","bg","ua"]},"sentences":{"byLang":{"isSlavik":{"orders":{"forward":["exp","vf","cont","mod","so"],"reversed":["cont","vf","exp","mod","so"]},"formula":{"roles":{"exp":{"ommitable":true},"vf":{},"cont":{},"mod":{"ommitable":true},"so":{"ommitable":true}}}},"isEnglish":{"formula":null,"orders":{"TODO:forward":["exp","vf","cont","mod","so"],"TODO:reversed":["cont","vf","exp","mod","so"]}}}},"languages":{"definitions":[{"main":true,"iso":"en","full":"English","native":"English","type":{"isEnglish":true}},{"iso":"cz","full":"Czech","native":"Český jazyk","type":{"isSlavik":true}},{"iso":"bg","full":"Bulgarian","native":"Български език","type":{"isSlavik":true}},{"iso":"ua","full":"Ukrainian","native":"Українська мова","type":{"isSlavik":true}}]}}')}}]);
<!doctype html><html><head><meta charset="utf-8"/><title>Валентен речник</title><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/main.js"></script><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/133.js"></script><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/134.js"></script><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/284.js"></script><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/417.js"></script><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/service-worker.js"></script><script defer="defer" src="https://gist.githubusercontent.com/thesunlover/fd8e0898a6d7c803693778cba0c32c78/raw/a064addd15038f966beda98ad32ba1eea12b804f/workbox-d249b2c8.js"></script></head><body data-component="Display" data-component-options='{
"interface": "bg",
"main":"en"
}'><h1>Глаголно управление в чешки, български и украински език</h1><div id="start" class="b-config" data-component="Search" data-component-options='{
"inputs": [{
"prop":"lang",
"attr":"data-js-config-lang"
},{
"prop": "verb",
"attr": "data-js-config-verb"
}]
}'><form action="#"><label for="lang">Изберете език:</label> <select name="lang" id="lang" data-js-config-lang><option value="en" selected="selected">English</option></select><br><label for="verb">Изберете глагол:</label> <select name="verb" id="verb" data-component="Select" data-component-options='{"type":"verb"}' data-js-config-verb><option value="" selected="selected">None</option></select></form><div class="b-results" data-component="Results" data-component-options='{
"dom":"p"
}'><br><div data-js-result-main></div></div></div></body></html>
(()=>{var e,t,n={705:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);o&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},476:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),i="/*# ".concat(r," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},75:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function o(){}function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,o,i,a){if("function"!=typeof o)throw new TypeError("The listener must be a function");var s=new r(o,i||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function s(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,o,r=[];if(0===this._eventsCount)return r;for(o in e=this._events)t.call(e,o)&&r.push(n?o.slice(1):o);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},s.prototype.listeners=function(e){var t=n?n+e:e,o=this._events[t];if(!o)return[];if(o.fn)return[o.fn];for(var r=0,i=o.length,a=new Array(i);r<i;r++)a[r]=o[r].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,o=this._events[t];return o?o.fn?1:o.length:0},s.prototype.emit=function(e,t,o,r,i,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,l,u=this._events[s],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,o),!0;case 4:return u.fn.call(u.context,t,o,r),!0;case 5:return u.fn.call(u.context,t,o,r,i),!0;case 6:return u.fn.call(u.context,t,o,r,i,a),!0}for(l=1,c=new Array(f-1);l<f;l++)c[l-1]=arguments[l];u.fn.apply(u.context,c)}else{var d,h=u.length;for(l=0;l<h;l++)switch(u[l].once&&this.removeListener(e,u[l].fn,void 0,!0),f){case 1:u[l].fn.call(u[l].context);break;case 2:u[l].fn.call(u[l].context,t);break;case 3:u[l].fn.call(u[l].context,t,o);break;case 4:u[l].fn.call(u[l].context,t,o,r);break;default:if(!c)for(d=1,c=new Array(f-1);d<f;d++)c[d-1]=arguments[d];u[l].fn.apply(u[l].context,c)}}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,o,r){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||r&&!s.once||o&&s.context!==o||a(this,i);else{for(var c=0,l=[],u=s.length;c<u;c++)(s[c].fn!==t||r&&!s[c].once||o&&s[c].context!==o)&&l.push(s[c]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},822:function(e,t){!function(e){"use strict";function t(e){var n,o,r=new Error(e);return n=r,o=t.prototype,Object.setPrototypeOf?Object.setPrototypeOf(n,o):n.__proto__=o,r}function n(e,n,o){var r=n.slice(0,o).split(/\n/),i=r.length,a=r[i-1].length+1;throw t(e+=" at line "+i+" col "+a+":\n\n "+n.split(/\n/)[i-1]+"\n "+Array(a).join(" ")+"^")}t.prototype=Object.create(Error.prototype,{name:{value:"Squirrelly Error",enumerable:!1}});var o=new Function("return this")().Promise,r=!1;try{r=new Function("return (async function(){}).constructor")()}catch(e){if(!(e instanceof SyntaxError))throw e}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e,t,n){for(var o in t)i(t,o)&&(null==t[o]||"object"!=typeof t[o]||"storage"!==o&&"prefixes"!==o||n?e[o]=t[o]:e[o]=a({},t[o]));return e}var s=/^async +/,c=/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})*}|(?!\${)[^\\`])*`/g,l=/'(?:\\[\s\w"'\\`]|[^\n\r'\\])*?'/g,u=/"(?:\\[\s\w"'\\`]|[^\n\r"\\])*?"/g,f=/[.*+\-?^${}()|[\]\\]/g;function d(e){return f.test(e)?e.replace(f,"\\$&"):e}function h(e,o){o.rmWhitespace&&(e=e.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),c.lastIndex=0,l.lastIndex=0,u.lastIndex=0;var r=o.prefixes,i=[r.h,r.b,r.i,r.r,r.c,r.e].reduce((function(e,t){return e&&t?e+"|"+d(t):t?d(t):e}),""),a=new RegExp("([|()]|=>)|('|\"|`|\\/\\*)|\\s*((\\/)?(-|_)?"+d(o.tags[1])+")","g"),f=new RegExp("([^]*?)"+d(o.tags[0])+"(-|_)?\\s*("+i+")?\\s*","g"),h=0,p=!1;function m(t,r){var i,d={f:[]},m=0,v="c";function g(t){var r=e.slice(h,t),i=r.trim();if("f"===v)"safe"===i?d.raw=!0:o.async&&s.test(i)?(i=i.replace(s,""),d.f.push([i,"",!0])):d.f.push([i,""]);else if("fp"===v)d.f[d.f.length-1][1]+=i;else if("err"===v){if(i){var a=r.search(/\S/);n("invalid syntax",e,h+a)}}else d[v]=i;h=t+1}for("h"===r||"b"===r||"c"===r?v="n":"r"===r&&(d.raw=!0,r="i"),a.lastIndex=h;null!==(i=a.exec(e));){var y=i[1],b=i[2],_=i[3],w=i[4],E=i[5],x=i.index;if(y)"("===y?(0===m&&("n"===v?(g(x),v="p"):"f"===v&&(g(x),v="fp")),m++):")"===y?0==--m&&"c"!==v&&(g(x),v="err"):0===m&&"|"===y?(g(x),v="f"):"=>"===y&&(g(x),h+=1,v="res");else if(b)if("/*"===b){var k=e.indexOf("*/",a.lastIndex);-1===k&&n("unclosed comment",e,i.index),a.lastIndex=k+2}else"'"===b?(l.lastIndex=i.index,l.exec(e)?a.lastIndex=l.lastIndex:n("unclosed string",e,i.index)):'"'===b?(u.lastIndex=i.index,u.exec(e)?a.lastIndex=u.lastIndex:n("unclosed string",e,i.index)):"`"===b&&(c.lastIndex=i.index,c.exec(e)?a.lastIndex=c.lastIndex:n("unclosed string",e,i.index));else if(_)return g(x),h=x+i[0].length,f.lastIndex=h,p=E,w&&"h"===r&&(r="s"),d.t=r,d}return n("unclosed tag",e,t),d}var v=function i(a,c){a.b=[],a.d=[];var l,u=!1,d=[];function v(e,t){e&&(e=function(e,t,n,o){var r,i;return"string"==typeof t.autoTrim?r=i=t.autoTrim:Array.isArray(t.autoTrim)&&(r=t.autoTrim[1],i=t.autoTrim[0]),(n||!1===n)&&(r=n),(o||!1===o)&&(i=o),"slurp"===r&&"slurp"===i?e.trim():("_"===r||"slurp"===r?e=String.prototype.trimLeft?e.trimLeft():e.replace(/^[\s\uFEFF\xA0]+/,""):"-"!==r&&"nl"!==r||(e=e.replace(/^(?:\n|\r|\r\n)/,"")),"_"===i||"slurp"===i?e=String.prototype.trimRight?e.trimRight():e.replace(/[\s\uFEFF\xA0]+$/,""):"-"!==i&&"nl"!==i||(e=e.replace(/(?:\n|\r|\r\n)$/,"")),e)}(e,o,p,t))&&(e=e.replace(/\\|'/g,"\\$&").replace(/\r\n|\n|\r/g,"\\n"),d.push(e))}for(;null!==(l=f.exec(e));){var g,y=l[1],b=l[2],_=l[3]||"";for(var w in r)if(r[w]===_){g=w;break}v(y,b),h=l.index+l[0].length,g||n("unrecognized tag type: "+_,e,h);var E=m(l.index,g),x=E.t;if("h"===x){var k=E.n||"";o.async&&s.test(k)&&(E.a=!0,E.n=k.replace(s,"")),E=i(E),d.push(E)}else if("c"===x){if(a.n===E.n)return u?(u.d=d,a.b.push(u)):a.d=d,a;n("Helper start and end don't match",e,l.index+l[0].length)}else if("b"===x){u?(u.d=d,a.b.push(u)):a.d=d;var N=E.n||"";o.async&&s.test(N)&&(E.a=!0,E.n=N.replace(s,"")),u=E,d=[]}else if("s"===x){var O=E.n||"";o.async&&s.test(O)&&(E.a=!0,E.n=O.replace(s,"")),d.push(E)}else d.push(E)}if(!c)throw t('unclosed helper "'+a.n+'"');return v(e.slice(h,e.length),!1),a.d=d,a}({f:[]},!0);if(o.plugins)for(var g=0;g<o.plugins.length;g++){var y=o.plugins[g];y.processAST&&(v.d=y.processAST(v.d,o))}return v.d}function p(e,t){var n=h(e,t),o="var tR='';"+(t.useWith?"with("+t.varName+"||{}){":"")+b(n,t)+"if(cb){cb(null,tR)} return tR"+(t.useWith?"}":"");if(t.plugins)for(var r=0;r<t.plugins.length;r++){var i=t.plugins[r];i.processFnString&&(o=i.processFnString(o,t))}return o}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n][0],r=t[n][1];e=(t[n][2]?"await ":"")+"c.l('F','"+o+"')("+e,r&&(e+=","+r),e+=")"}return e}function v(e,t,n,o,r,i){var a="{exec:"+(r?"async ":"")+y(n,t,e)+",params:["+o+"]";return i&&(a+=",name:'"+i+"'"),r&&(a+=",async:true"),a+"}"}function g(e,t){for(var n="[",o=0;o<e.length;o++){var r=e[o];n+=v(t,r.res||"",r.d,r.p||"",r.a,r.n),o<e.length&&(n+=",")}return n+"]"}function y(e,t,n){return"function("+t+"){var tR='';"+b(e,n)+"return tR}"}function b(e,t){for(var n=0,o=e.length,r="";n<o;n++){var i=e[n];if("string"==typeof i)r+="tR+='"+i+"';";else{var a=i.t,s=i.c||"",c=i.f,l=i.n||"",u=i.p||"",f=i.res||"",d=i.b,h=!!i.a;if("i"===a){t.defaultFilter&&(s="c.l('F','"+t.defaultFilter+"')("+s+")");var p=m(s,c);!i.raw&&t.autoEscape&&(p="c.l('F','e')("+p+")"),r+="tR+="+p+";"}else if("h"===a)if(t.storage.nativeHelpers.get(l))r+=t.storage.nativeHelpers.get(l)(i,t);else{var y=(h?"await ":"")+"c.l('H','"+l+"')("+v(t,f,i.d,u,h);y+=d?","+g(d,t):",[]",r+="tR+="+m(y+=",c)",c)+";"}else"s"===a?r+="tR+="+m((h?"await ":"")+"c.l('H','"+l+"')({params:["+u+"]},[],c)",c)+";":"e"===a&&(r+=s+"\n")}}return r}var _=function(){function e(e){this.cache=e}return e.prototype.define=function(e,t){this.cache[e]=t},e.prototype.get=function(e){return this.cache[e]},e.prototype.remove=function(e){delete this.cache[e]},e.prototype.reset=function(){this.cache={}},e.prototype.load=function(e){a(this.cache,e,!0)},e}();function w(e,n,o,r){if(n&&n.length>0)throw t((r?"Native":"")+"Helper '"+e+"' doesn't accept blocks");if(o&&o.length>0)throw t((r?"Native":"")+"Helper '"+e+"' doesn't accept filters")}var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function x(e){return E[e]}var k=new _({}),N=new _({each:function(e,t){var n="",o=e.params[0];if(w("each",t,!1),e.async)return new Promise((function(t){!function e(t,n,o,r,i){o(t[n],n).then((function(a){r+=a,n===t.length-1?i(r):e(t,n+1,o,r,i)}))}(o,0,e.exec,n,t)}));for(var r=0;r<o.length;r++)n+=e.exec(o[r],r);return n},foreach:function(e,t){var n=e.params[0];if(w("foreach",t,!1),e.async)return new Promise((function(t){!function e(t,n,o,r,i,a){r(n[o],t[n[o]]).then((function(s){i+=s,o===n.length-1?a(i):e(t,n,o+1,r,i,a)}))}(n,Object.keys(n),0,e.exec,"",t)}));var o="";for(var r in n)i(n,r)&&(o+=e.exec(r,n[r]));return o},include:function(e,n,o){w("include",n,!1);var r=o.storage.templates.get(e.params[0]);if(!r)throw t('Could not fetch template "'+e.params[0]+'"');return r(e.params[1],o)},extends:function(e,n,o){var r=e.params[1]||{};r.content=e.exec();for(var i=0;i<n.length;i++){var a=n[i];r[a.name]=a.exec()}var s=o.storage.templates.get(e.params[0]);if(!s)throw t('Could not fetch template "'+e.params[0]+'"');return s(r,o)},useScope:function(e,t){return w("useScope",t,!1),e.exec(e.params[0])}}),O=new _({if:function(e,t){w("if",!1,e.f,!0);var n="if("+e.p+"){"+b(e.d,t)+"}";if(e.b)for(var o=0;o<e.b.length;o++){var r=e.b[o];"else"===r.n?n+="else{"+b(r.d,t)+"}":"elif"===r.n&&(n+="else if("+r.p+"){"+b(r.d,t)+"}")}return n},try:function(e,n){if(w("try",!1,e.f,!0),!e.b||1!==e.b.length||"catch"!==e.b[0].n)throw t("native helper 'try' only accepts 1 block, 'catch'");var o="try{"+b(e.d,n)+"}",r=e.b[0];return o+"catch"+(r.res?"("+r.res+")":"")+"{"+b(r.d,n)+"}"},block:function(e,t){return w("block",e.b,e.f,!0),"if(!"+t.varName+"["+e.p+"]){tR+=("+y(e.d,"",t)+")()}else{tR+="+t.varName+"["+e.p+"]}"}}),A=new _({e:function(e){var t=String(e);return/[&<>"']/.test(t)?t.replace(/[&<>"']/g,x):t}}),V={varName:"it",autoTrim:[!1,"nl"],autoEscape:!0,defaultFilter:!1,tags:["{{","}}"],l:function(e,n){if("H"===e){var o=this.storage.helpers.get(n);if(o)return o;throw t("Can't find helper '"+n+"'")}if("F"===e){var r=this.storage.filters.get(n);if(r)return r;throw t("Can't find filter '"+n+"'")}},async:!1,storage:{helpers:N,nativeHelpers:O,filters:A,templates:k},prefixes:{h:"@",b:"#",i:"",r:"*",c:"/",e:"!"},cache:!1,plugins:[],useWith:!1};function C(e,t){var n={};return a(n,V),t&&a(n,t),e&&a(n,e),n.l.bind(n),n}function T(e,n){var o=C(n||{}),i=Function;if(o.async){if(!r)throw t("This environment doesn't support async/await");i=r}try{return new i(o.varName,"c","cb",p(e,o))}catch(n){throw n instanceof SyntaxError?t("Bad template syntax\n\n"+n.message+"\n"+Array(n.message.length+1).join("=")+"\n"+p(e,o)):n}}function S(e,t){var n;return t.cache&&t.name&&t.storage.templates.get(t.name)?t.storage.templates.get(t.name):(n="function"==typeof e?e:T(e,t),t.cache&&t.name&&t.storage.templates.define(t.name,n),n)}V.l.bind(V),e.compile=T,e.compileScope=b,e.compileScopeIntoFunction=y,e.compileToString=p,e.defaultConfig=V,e.filters=A,e.getConfig=C,e.helpers=N,e.nativeHelpers=O,e.parse=h,e.render=function(e,n,r,i){var a=C(r||{});if(!a.async)return S(e,a)(n,a);if(!i){if("function"==typeof o)return new o((function(t,o){try{t(S(e,a)(n,a))}catch(e){o(e)}}));throw t("Please provide a callback function, this env doesn't support Promises")}try{S(e,a)(n,a,i)}catch(e){return i(e)}},e.templates=k,Object.defineProperty(e,"__esModule",{value:!0})}(t)},253:(e,t,n)=>{var o=n(279);e.exports=o},279:e=>{e.exports={HIDDEN:"h-hidden",SELECTED:"h-selected",FORM_SELECTOR:"form",BODY:"body",CHECKBOX_CHECKED:'input[type="checkbox"]:checked',INPUT:"input",INPUT_CHECKED:"input:checked"}},554:(e,t)=>{},447:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var o=n(655),r=n(270),i=n(913),a=n(296),s=n(527),c=n(452),l=n(311);function u(e){return e&&"object"===(0,l.Z)(e)&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function f(e,t){var n;return t&&!0===t.clone&&u(e)?h((n=e,Array.isArray(n)?[]:{}),e,t):e}function d(e,t,n){var o=e.slice();return t.forEach((function(t,r){void 0===o[r]?o[r]=f(t,n):u(t)?o[r]=h(e[r],t,n):-1===e.indexOf(t)&&o.push(f(t,n))})),o}function h(e,t,n){var o=Array.isArray(t),r=(n||{arrayMerge:d}).arrayMerge||d;return o?Array.isArray(e)?r(e,t,n):f(t,n):function(e,t,n){var o={};return u(e)&&Object.keys(e).forEach((function(t){o[t]=f(e[t],n)})),null===t&&(t={}),Object.keys(t).forEach((function(r){u(t[r])&&e[r]?o[r]=h(e[r],t[r],n):o[r]=f(t[r],n)})),o}(e,t,n)}h.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return h(e,n,t)}))};var p=n(602);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return JSON.parse(e)||t}catch(e){return t}}var v=n(702);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=window.EventEmitter,_=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,i.Z)(this,e),!t)throw new Error("Your Class has to be instantiated with an HTMLElement");this._componentSelector="data-component",this.element=t,this.name=this._getConstructorName(),this.selectors={},this.state={},this.renderUrl=null,this.analytics={},this.attrHidden="hidden",this.attrAriaHidden="aria-hidden",this._createId(),this._setConsentTracking(),this._initAnalytics(),this.element.setAttribute("".concat(this._componentSelector,"-id"),this.id),function(e){if(!e)return null;var t=encodeURIComponent(e).replace(/[-.+*]/g,"\\$&"),n=new RegExp("(?:(?:^|.*;)\\s*".concat(t,"\\s*\\=\\s*([^;]*).*$)|^.*$"));return decodeURIComponent(document.cookie.replace(n,"$1"))||null}("OptanonAlertBoxClosed")&&this.consentTrackingApplied(),this._defaultOptions={breakpoints:null,isMediaChange:!1,registerChildren:!1,resizable:!1},this._componentAttributeOptions=this.element.getAttribute("".concat(this._componentSelector,"-options"))||"{}";try{this._componentAttributeOptions=JSON.parse(this._componentAttributeOptions)}catch(e){console.warn('Please check that the options you have passed for "'.concat(this.name,'" respect JSON format'))}this._context=this.element.getAttribute("".concat(this._componentSelector,"-context")),this._frozen=!1,this._initialOptions=h.all([this._defaultOptions,n,this._componentAttributeOptions]),this._setOptions(this._initialOptions,!1),this.options.resizable&&(0,s.on)("resize.".concat(this.id),window,(0,c.D)(this.onResize.bind(this),100)),(this._context||this.options.breakpoints||this.options.isMediaChange)&&b.on("MediaQuery:changed",this._onMediaQueryChange,this),(0,s.X$)("component:init",this.element,{bubbles:!0}),this.options.registerChildren&&(this._registerChildrenComponents(),(0,s.on)("component:init component:destroy",this.element,(0,c.D)(this._registerChildrenComponents.bind(this),100))),this.initCache(),this.initState(),this.bindEvents(),this.afterInit()}return(0,a.Z)(e,[{key:"_initAnalytics",value:function(){if(this.consentTracking){var e,t=this.element.getAttribute("data-analytics");t&&((e=m(t)).products instanceof Array||(e.products=[e.products])),e&&(this.analytics=e)}}},{key:"_setConsentTracking",value:function(){var e=document.body.querySelector('[data-component="global/ConsentTracking"]');if(e){var t=m(e);this.consentTracking=t.isConsented||!1}else this.consentTracking=!1}},{key:"_registerChildrenComponents",value:function(){var e=this;this.childrenComponents={},this.element.querySelectorAll("[".concat(this._componentSelector,"]")).forEach((function(t){var n=t.getAttribute(e._componentSelector);e.childrenComponents[n]||(e.childrenComponents[n]=[]),e.childrenComponents[n].push(t)}))}},{key:"_getConstructorName",value:function(){return this.constructor.name||this.constructor.toString().split("(")[0].replace(/function\s*/,"")}},{key:"_createId",value:function(){this.id="".concat(this.name,"_").concat(Math.random().toString(36).substr(2,16))}},{key:"_replaceElement",value:function(e){var t=document.createElement("div");t.innerHTML=e;var n=t.querySelector("[".concat(this._componentSelector,"]"));return this.element.replaceWith(n),n}},{key:"_setOptions",value:function(e,t){if(e&&(t&&(this.options={}),this.options=y(y({},this.options),e),e.breakpoints)){var n=this._getCurrentViewportOptions(e.breakpoints);n&&(this.options=h(this.options,n))}}},{key:"_getCurrentViewportOptions",value:function(e){var t;return Object.entries(e).some((function(e){var n=(0,o.Z)(e,2),r=n[0],i=n[1],a=p.c.is(r);return a&&(t=i),a})),t}},{key:"_reInit",value:function(){this.initCache(),this.initState(),this.bindEvents(),this.afterInit(),window.app.debug&&console.log("%c Re-initialize frozen component: ","color: Orange",this.element)}},{key:"reInit",value:function(){this.destroy(),this._reInit()}},{key:"render",value:function(e,t){var n=t.default(e),o=this._replaceElement(n);"function"==typeof e.afterRender&&e.afterRender(o)}},{key:"_onMediaQueryChange",value:function(){if(this._initialOptions.breakpoints&&this._setOptions(this._initialOptions,!0),this._context){var e=p.c.is(this._context);this._frozen&&e?(this._frozen=!1,this._reInit()):e||(window.app.debug&&console.log("%c Component frozen: ","color: #5a65ab; font-weight:bold",this.element),this._frozen=!0,this.destroy())}this.onMediaQueryChange()}},{key:"_destroy",value:function(){this.options.resizable&&(0,s.S1)("resize.".concat(this.id),window),(this._context||this.options.breakpoints||this.options.isMediaChange)&&b.removeListener("MediaQuery:changed",this._onMediaQueryChange,this),this.options.registerChildren&&(0,s.S1)("component:init component:destroy",this.element),this.destroy()}},{key:"initCache",value:function(){}},{key:"initState",value:function(){}},{key:"bindEvents",value:function(){}},{key:"afterInit",value:function(){}},{key:"destroy",value:function(){}},{key:"initLoad",value:function(){}},{key:"onMediaQueryChange",value:function(){}},{key:"onResize",value:function(){throw new Error("Override this function to have resizable components")}},{key:"consentTrackingApplied",value:function(){this.consentTracking=!0,this._initAnalytics(),(0,s.X$)("component:consentTracking",this.element)}},{key:"sendAnalyticsEvent",value:function(){b.emit("Component:sendAnalytics",this.analytics)}},{key:"showElement",value:function(e){if(e instanceof HTMLElement){var t=v.HIDDEN||this.attrHidden;(e.hidden||e.classList.contains(t))&&(e.removeAttribute(this.attrHidden),e.removeAttribute(this.attrAriaHidden),e.classList.remove(t))}}},{key:"hideElement",value:function(e){if(e instanceof HTMLElement){var t=v.HIDDEN||this.attrHidden;e.hidden||e.classList.contains(t)||(e.setAttribute(this.attrHidden,this.attrHidden),e.setAttribute(this.attrAriaHidden,"true"),e.classList.add(t))}}},{key:"toggleElementVisibility",value:function(e,t){t?this.hideElement(e):this.showElement(e)}}]),e}()},702:(e,t,n)=>{var o=n(253),r=["PARAMETRIZED","SELECTOR"],i=r.reduce((function(e,t,n){return e[t.toLowerCase()]=n,e}),{});Object.keys(o).forEach((function(e){var t=e+"_"+r[i.selector];if(new RegExp("_"+r[i.selector]+"$").test(e)||o[t])return!1;Object.defineProperty(o,t,{value:o[e].split(" ").join(""),writable:!1})})),o.getConstant=function(e,t){var n=JSON.parse(JSON.stringify(r)),o=e.split("_").reverse(),a=[];return n.reverse().forEach((function(e){var t=o.findIndex((function(t){return t===e}));0===t?(o.shift(),a.unshift(e)):e===r[i.parametrized]&&t<0&&a.unshift(e)})),function(e,t){if(!t)return e;var n=e;return function(e){for(var t=new RegExp("{s*(.+?)s*}","g"),n=t.exec(e),o=[];n;)o.push({str:n[0],key:n[1]}),n=t.exec(e);return o}(n).forEach((function(o){"string"!=typeof t[o.key]?console.error("Value for '".concat(o.key,"' in '").concat(e,"' either is not set or it is invalid")):n=n.replace(o.str,t[o.key])})),n}(this[(a=o.reverse().concat(a)).join("_")],t)}.bind(o),e.exports=o},452:(e,t,n)=>{"use strict";function o(e,t,n){var o;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var s=this;clearTimeout(o),o=setTimeout((function(){o=null,n||e.apply(s,i)}),t),n&&!o&&e.apply(s,i)}}n.d(t,{D:()=>o})},527:(e,t,n)=>{"use strict";n.d(t,{S1:()=>p,X$:()=>m,on:()=>d});var o=n(226),r=n(655),i=n(311),a={},s=!1,c="bound";function l(e,t,n,o,s){var c=t.eventId,l=(0,i.Z)(o);if(s){var u=n;n=function(r){return t.removeEventListener(e,n,o),u(r)}}else if(a[c]||(a[c]={}),a[c][e])if(Array.isArray(a[c][e].fn))a[c][e].fn.push(n);else{var f=a[c][e].fn;a[c][e].fn=[f,n]}else a[c][e]={fn:n,target:t,options:o};if("object"===l&&!o.customEvent){var d=e.split("."),h=(0,r.Z)(d,1);e=h[0]}t.addEventListener(e,n,o)}function u(e,t,n,o){var i=t.eventId,s=a[i],l=s[e],u="";if(i&&s&&l){if(l.options&&!l.options.customEvent){var f=e.split("."),d=(0,r.Z)(f,2);e=d[0],u=d[1]}Array.isArray(a[i][e].fn)?a[i][e].fn.forEach((function(t,r){var s,u,f,d=!1;n&&t&&(s=t,u=n.name,-1!==(f=s.name).indexOf(c)&&(f=f.split(" ")[1]),d=u===f),(d||t===n||t.originFn===n)&&(l.target.removeEventListener(e,t,o),a[i][e].fn.splice(r,1))})):(delete a[i][e+(u?".".concat(u):"")],l.target.removeEventListener(e,l.fn,o))}}function f(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=t.eventId,i=a[r];if(!i)throw new Error("Do not remove event that has not been attached",t);"all"===e?Object.keys(i).forEach((function(e){var t=i[e];t&&(t.options=o,u(e,t.target,t.fn,t.options))})):u(e,t,n,o)}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4?arguments[4]:void 0;if("string"!=typeof e)throw new Error("eventName has to be a string",t);if(t){if("function"!=typeof n)throw new Error("Handler function is mandatory",t);var a=h(t);e.split(" ").forEach((function(e){t&&(t instanceof HTMLElement||t instanceof window.Window||t instanceof window.Document?(t.eventId=a,l(e,t,n,r,i)):t instanceof NodeList&&(0,o.Z)(t).forEach((function(t){t.eventId=h(t),l(e,t,n,r,i)})))}))}}function h(e){return e.eventId||"event_".concat(Math.random().toString(36).substr(2,16))}function p(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t&&(e&&"string"!=typeof e&&1===arguments.length&&(t=e,e="all"),e.split(" ").forEach((function(e){if(t instanceof HTMLElement||t instanceof window.Window||t instanceof window.Document)f(e,t,n,r);else{if(!(t instanceof NodeList))throw new Error("HTMLElement or Nodelist is required");(0,o.Z)(t).forEach((function(t){f(e,t,r)}))}})))}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s||function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof window.CustomEvent?(e.prototype=window.Event.prototype,window.CustomEvent=e,s=!0):s=!0}();var o=new CustomEvent(e,{bubbles:n.bubbles||!1,cancelable:n.cancelable||!0,detail:n});t.dispatchEvent(o)}},602:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var o=n(311),r=n(527),i=n(452);const a={SMALL:{min:0,max:767},MEDIUM:{min:768,max:1199},LARGE:{min:1200}};var s=window.EventEmitter,c={breakpoints:a,current:null,_init:function(){this.init||(this.init=!0,this.current=this._getCurrentSize(),this.bindEvents())},bindEvents:function(){(0,r.on)("resize.mediaQuery",window,(0,i.D)(this.onResize.bind(this),300))},onResize:function(){var e=this._getCurrentSize(),t=this.current;e!==t&&(this.current=e,s.emit("MediaQuery:changed",{size:e,oldSize:t}))},is:function(e){this.current||this._init();var t=e.toLowerCase().trim().split(" "),n=t[0];if(!(t.length>1))return this.atLeast(n);var o=t[1];if("only"!==o&&"down"!==o)throw new Error('only keyword "only" and "down" are allowed to be used');return"only"===o&&n===this.current||"down"===o&&this.atMost(n)},atLeast:function(e){return this.current||this._init(),this.matchQuery(e)},atMost:function(e){return this.current||this._init(),this.matchQuery(e,!1)},matchQuery:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.current||this._init(),!e||e&&"string"!=typeof e)return!1;var n=e.toLowerCase(),o=this.get(n,!!t);return!!o&&window.matchMedia(o).matches},_getBreakpoint:function(e){if(!e||"string"!=typeof e)return null;var t=e.toUpperCase();return a[t]},get:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.current||this._init();var n=this._getBreakpoint(e);if(!n)return null;if(!t&&!n.max)return"only screen and (min-width: ".concat(n.min,"px)");var o=t?n.min:n.max;return o||0===o?"only screen and (".concat(t?"min":"max","-width: ").concat(o,"px)"):null},_getCurrentSize:function(){var e;return Object.keys(a).forEach((function(t){if(!e){var n=a[t],o="only screen";(n.min||0===n.min)&&(o+=" and (min-width: ".concat(n.min,"px)")),n.max&&(o+=" and (max-width: ".concat(n.max,"px)")),window.matchMedia(o).matches&&((e=n).name=t.toLowerCase())}})),"object"===(0,o.Z)(e)?e.name:e}}},856:()=>{!function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1,detail:null},n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}()},758:()=>{"function"!=typeof window.HTMLElement.toggleAttribute&&(window.HTMLElement.prototype.toggleAttribute=function(e,t){var n=t;return void 0!==n&&(n=!!n),null!==this.getAttribute(e)?!!n||(this.removeAttribute(e),!1):!1!==n&&(this.setAttribute(e,""),!0)})},137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(476),r=n.n(o),i=n(705),a=n.n(i)()(r());a.push([e.id,".b-results .m-doer{background-color:#faebd7;background-color:coral}.b-results .m-verb{background-color:#7fffd4}.b-results .m-content{background-color:#00bfff}","",{version:3,sources:["webpack://./src/styles/styles.scss"],names:[],mappings:"AACI,mBACI,wBAAA,CACA,sBAAA,CAGJ,mBACI,wBAAA,CAGJ,sBACI,wBAAA",sourcesContent:[".b-results {\n .m-doer {\n background-color: antiquewhite;\n background-color: coral;\n }\n\n .m-verb {\n background-color: aquamarine;\n }\n\n .m-content {\n background-color: deepskyblue;\n\n }\n\n\n}\n\n// .styled {\n// border: 0;\n// line-height: 2.5;\n// padding: 0 20px;\n// font-size: 1rem;\n// text-align: center;\n// color: #fff;\n// text-shadow: 1px 1px 1px #000;\n// border-radius: 10px;\n// background-color: rgba(220, 0, 0, 1);\n// background-image: linear-gradient(\n// to top left,\n// rgba(0, 0, 0, 0.2),\n// rgba(0, 0, 0, 0.2) 30%,\n// rgba(0, 0, 0, 0)\n// );\n// box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6),\n// inset -2px -2px 3px rgba(0, 0, 0, 0.6);\n// &:hover {\n// background-color: rgba(255, 0, 0, 1);\n// }\n\n// &:active {\n// box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6),\n// inset 2px 2px 3px rgba(0, 0, 0, 0.6);\n// }\n// }\n\n// .visible{\n// h3 & {\n// display: inline-block;\n// color: antiquewhite;\n// }\n// }\n"],sourceRoot:""}]);const s=a},379:e=>{"use strict";var t=[];function n(e){for(var n=-1,o=0;o<t.length;o++)if(t[o].identifier===e){n=o;break}return n}function o(e,o){for(var i={},a=[],s=0;s<e.length;s++){var c=e[s],l=o.base?c[0]+o.base:c[0],u=i[l]||0,f="".concat(l," ").concat(u);i[l]=u+1;var d=n(f),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var p=r(h,o);o.byIndex=s,t.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=o(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var c=o(e,r),l=0;l<i.length;l++){var u=n(i[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=c}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var o=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var o="";n.supports&&(o+="@supports (".concat(n.supports,") {")),n.media&&(o+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(o+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),o+=n.css,r&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},211:(e,t,n)=>{"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{Z:()=>o})},913:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>o})},296:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(266);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,o.Z)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(266);function r(e,t,n){return(t=(0,o.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},655:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(883);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return s}}(e,t)||(0,o.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},226:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(211),r=n(883);function i(e){return function(e){if(Array.isArray(e))return(0,o.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,r.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},266:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(311);function r(e){var t=function(e,t){if("object"!==(0,o.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==(0,o.Z)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,o.Z)(t)?t:String(t)}},311:(e,t,n)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n.d(t,{Z:()=>o})},883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(211);function r(e,t){if(e){if("string"==typeof e)return(0,o.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,o.Z)(e,t):void 0}}}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.exports}r.m=n,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,n)=>(r.f[n](e,t),t)),[])),r.u=e=>e+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="valency:",r.l=(n,o,i,a)=>{if(e[n])e[n].push(o);else{var s,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var f=l[u];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+i){s=f;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[o];var d=(t,o)=>{s.onerror=s.onload=null,clearTimeout(h);var r=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((e=>e(o))),t)return t(o)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),c&&document.head.appendChild(s)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&!e;)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={179:0};r.f.j=(t,n)=>{var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise(((n,r)=>o=e[t]=[n,r]));n.push(o[2]=i);var a=r.p+r.u(t),s=new Error;r.l(a,(n=>{if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var o,i,[a,s,c]=n,l=0;if(a.some((t=>0!==e[t]))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);c&&c(r)}for(t&&t(n);l<a.length;l++)i=a[l],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkvalency=self.webpackChunkvalency||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.nc=void 0,(()=>{"use strict";var e=r(379),t=r.n(e),n=r(795),o=r.n(n),i=r(569),a=r.n(i),s=r(565),c=r.n(s),l=r(216),u=r.n(l),f=r(589),d=r.n(f),h=r(137),p={};p.styleTagTransform=d(),p.setAttributes=c(),p.insert=a().bind(null,"head"),p.domAPI=o(),p.insertStyleElement=u(),t()(h.Z,p),h.Z&&h.Z.locals&&h.Z.locals,r(856),r(758);var m=r(311);!function(e){function t(t){return!!t&&("Symbol"in e&&"iterator"in e.Symbol&&"function"==typeof t[Symbol.iterator]||!!Array.isArray(t))}function n(e){return"from"in Array?Array.from(e):Array.prototype.slice.call(e)}!function(){var o,r=e.URL;try{if(r){if("searchParams"in(o=new e.URL("http://example.com"))){var i=new u("http://example.com");if(i.search="a=1&b=2","http://example.com/?a=1&b=2"===i.href&&(i.search="","http://example.com/"===i.href))return}"href"in o||(o=void 0),o=void 0}}catch(e){}function a(e){var t="",n=!0;return e.forEach((function(e){var o=encodeURIComponent(e.name),r=encodeURIComponent(e.value);n||(t+="&"),t+="".concat(o,"=").concat(r),n=!1})),t.replace(/%20/g,"+")}function s(e,t){var n=e.split("&");t&&-1===n[0].indexOf("=")&&(n[0]="=".concat(n[0]));var o=[];n.forEach((function(e){if(0!==e.length){var t,n,r=e.indexOf("=");-1!==r?(t=e.substring(0,r),n=e.substring(r+1)):(t=e,n=""),t=t.replace(/\+/g," "),n=n.replace(/\+/g," "),o.push({name:t,value:n})}}));var r=[];return o.forEach((function(e){r.push({name:decodeURIComponent(e.name),value:decodeURIComponent(e.value)})})),r}function c(e){var o=this;this._list=[],null==e||(e instanceof c?this._list=s(String(e)):"object"===(0,m.Z)(e)&&t(e)?n(e).forEach((function(e){if(!t(e))throw TypeError();var r=n(e);if(2!==r.length)throw TypeError();o._list.push({name:String(r[0]),value:String(r[1])})})):"object"===(0,m.Z)(e)&&e?Object.keys(e).forEach((function(t){o._list.push({name:String(t),value:String(e[t])})})):("?"===(e=String(e)).substring(0,1)&&(e=e.substring(1)),this._list=s(e))),this._url_object=null,this._setList=function(e){r||(o._list=e)};var r=!1;this._update_steps=function(){r||(r=!0,o._url_object&&("about:"===o._url_object.protocol&&-1!==o._url_object.pathname.indexOf("?")&&(o._url_object.pathname=o._url_object.pathname.split("?")[0]),o._url_object.search=a(o._list),r=!1))}}function l(e,t){var n=0;this.next=function(){if(n>=e.length)return{done:!0,value:void 0};var o=e[n++];return{done:!1,value:"key"===t?o.name:"value"===t?o.value:[o.name,o.value]}}}function u(e,t){t&&(e=function(){if(o)return new r(e,t).href;var n;try{var i;if("[object OperaMini]"===Object.prototype.toString.call(window.operamini)?((n=document.createElement("iframe")).style.display="none",document.documentElement.appendChild(n),i=n.contentWindow.document):document.implementation&&document.implementation.createHTMLDocument?i=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((i=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(i.createElement("head")),i.documentElement.appendChild(i.createElement("body"))):window.ActiveXObject&&((i=new window.ActiveXObject("htmlfile")).write("<head></head><body></body>"),i.close()),!i)throw Error("base not supported");var a=i.createElement("base");a.href=t,i.getElementsByTagName("head")[0].appendChild(a);var s=i.createElement("a");return s.href=e,s.href}finally{n&&n.parentNode.removeChild(n)}}());var n=function(e){if(o)return new r(e);var t=document.createElement("a");return t.href=e,t}(e||""),i=function(){if(!("defineProperties"in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(e){return!1}}()?this:document.createElement("a"),a=new c(n.search?n.search.substring(1):null);function l(){var e=n.href.replace(/#$|\?$|\?(?=#)/g,"");n.href!==e&&(n.href=e)}function u(){a._setList(n.search?s(n.search.substring(1)):[]),a._update_steps()}return a._url_object=i,Object.defineProperties(i,{href:{get:function(){return n.href},set:function(e){n.href=e,l(),u()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in n?n.origin:"".concat(this.protocol,"//").concat(this.host)},enumerable:!0,configurable:!0},protocol:{get:function(){return n.protocol},set:function(e){n.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return n.username},set:function(e){n.username=e},enumerable:!0,configurable:!0},password:{get:function(){return n.password},set:function(e){n.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[n.protocol];return e?n.host.replace(e,""):n.host},set:function(e){n.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return n.hostname},set:function(e){n.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return n.port},set:function(e){n.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==n.pathname.charAt(0)?"/".concat(n.pathname):n.pathname},set:function(e){n.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return n.search},set:function(e){n.search!==e&&(n.search=e,l(),u())},enumerable:!0,configurable:!0},searchParams:{get:function(){return a},enumerable:!0,configurable:!0},hash:{get:function(){return n.hash},set:function(e){n.hash=e,l()},enumerable:!0,configurable:!0},toString:{value:function(){return n.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return n.valueOf()},enumerable:!1,configurable:!0}}),i}if(Object.defineProperties(c.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},delete:{value:function(e){for(var t=0;t<this._list.length;)this._list[t].name===e?this._list.splice(t,1):++t;this._update_steps()},writable:!0,enumerable:!0,configurable:!0},get:{value:function(e){for(var t=0;t<this._list.length;++t)if(this._list[t].name===e)return this._list[t].value;return null},writable:!0,enumerable:!0,configurable:!0},getAll:{value:function(e){for(var t=[],n=0;n<this._list.length;++n)this._list[n].name===e&&t.push(this._list[n].value);return t},writable:!0,enumerable:!0,configurable:!0},has:{value:function(e){for(var t=0;t<this._list.length;++t)if(this._list[t].name===e)return!0;return!1},writable:!0,enumerable:!0,configurable:!0},set:{value:function(e,t){for(var n=!1,o=0;o<this._list.length;)this._list[o].name===e?n?this._list.splice(o,1):(this._list[o].value=t,n=!0,++o):++o;n||this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},entries:{value:function(){return new l(this._list,"key+value")},writable:!0,enumerable:!0,configurable:!0},keys:{value:function(){return new l(this._list,"key")},writable:!0,enumerable:!0,configurable:!0},values:{value:function(){return new l(this._list,"value")},writable:!0,enumerable:!0,configurable:!0},forEach:{value:function(e){var t=arguments.length>1?arguments[1]:void 0;this._list.forEach((function(n){e.call(t,n.value,n.name)}))},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return a(this._list)},writable:!0,enumerable:!1,configurable:!0}}),"Symbol"in e&&"iterator"in e.Symbol&&(Object.defineProperty(c.prototype,e.Symbol.iterator,{value:c.prototype.entries,writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,e.Symbol.iterator,{value:function(){return this},writable:!0,enumerable:!0,configurable:!0})),r)for(var f in r)r.hasOwnProperty(f)&&"function"==typeof r[f]&&(u[f]=r[f]);e.URL=u,e.URLSearchParams=c}(),function(){if("1"!==new e.URLSearchParams([["a",1]]).get("a")||"1"!==new e.URLSearchParams({a:1}).get("a")){var o=e.URLSearchParams;e.URLSearchParams=function(e){var r;return e&&"object"===(0,m.Z)(e)&&t(e)?(r=new o,n(e).forEach((function(e){if(!t(e))throw TypeError();var o=n(e);if(2!==o.length)throw TypeError();r.append(o[0],o[1])})),r):e&&"object"===(0,m.Z)(e)?(r=new o,Object.keys(e).forEach((function(t){r.set(t,e[t])})),r):new o(e)}}}()}(window);var v=r(655),g=r(226),y=r(913),b=r(296),_=r(447),w=r(527),E=r(602);const x={Display:function(){return r.e(417).then(r.bind(r,417))},Search:function(){return r.e(133).then(r.bind(r,133))},Results:function(){return r.e(284).then(r.bind(r,284))},Select:function(){return r.e(134).then(r.bind(r,134))}};function k(e,t,n){var o;return"#text"===e.nodeName?o=n.document.createTextNode(e.data):"#comment"===e.nodeName?o=n.document.createComment(e.data):(t?o=n.document.createElementNS("http://www.w3.org/2000/svg",e.nodeName):"svg"===e.nodeName.toLowerCase()?(o=n.document.createElementNS("http://www.w3.org/2000/svg","svg"),t=!0):o=n.document.createElement(e.nodeName),e.attributes&&Object.entries(e.attributes).forEach((function(e){var t=e[0],n=e[1];return o.setAttribute(t,n)})),e.childNodes&&e.childNodes.forEach((function(e){return o.appendChild(k(e,t,n))})),n.valueDiffing&&(e.value&&(o instanceof HTMLButtonElement||o instanceof HTMLDataElement||o instanceof HTMLInputElement||o instanceof HTMLLIElement||o instanceof HTMLMeterElement||o instanceof HTMLOptionElement||o instanceof HTMLProgressElement||o instanceof HTMLParamElement)&&(o.value=e.value),e.checked&&o instanceof HTMLInputElement&&(o.checked=e.checked),e.selected&&o instanceof HTMLOptionElement&&(o.selected=e.selected))),o}var N=function(e,t){for(t=t.slice();t.length>0;){var n=t.splice(0,1)[0];e=e.childNodes[n]}return e};function O(e,t,n){var o,r,i,a=t[n._const.action],s=t[n._const.route];[n._const.addElement,n._const.addTextElement].includes(a)||(o=N(e,s));var c={diff:t,node:o};if(n.preDiffApply(c))return!0;switch(a){case n._const.addAttribute:if(!(o&&o instanceof Element))return!1;o.setAttribute(t[n._const.name],t[n._const.value]);break;case n._const.modifyAttribute:if(!(o&&o instanceof Element))return!1;o.setAttribute(t[n._const.name],t[n._const.newValue]),o instanceof HTMLInputElement&&"value"===t[n._const.name]&&(o.value=t[n._const.newValue]);break;case n._const.removeAttribute:if(!(o&&o instanceof Element))return!1;o.removeAttribute(t[n._const.name]);break;case n._const.modifyTextElement:if(!(o&&o instanceof Text))return!1;n.textDiff(o,o.data,t[n._const.oldValue],t[n._const.newValue]),o.parentNode instanceof HTMLTextAreaElement&&(o.parentNode.value=t[n._const.newValue]);break;case n._const.modifyValue:if(!o||void 0===o.value)return!1;o.value=t[n._const.newValue];break;case n._const.modifyComment:if(!(o&&o instanceof Comment))return!1;n.textDiff(o,o.data,t[n._const.oldValue],t[n._const.newValue]);break;case n._const.modifyChecked:if(!o||void 0===o.checked)return!1;o.checked=t[n._const.newValue];break;case n._const.modifySelected:if(!o||void 0===o.selected)return!1;o.selected=t[n._const.newValue];break;case n._const.replaceElement:o.parentNode.replaceChild(k(t[n._const.newValue],"svg"===t[n._const.newValue].nodeName.toLowerCase(),n),o);break;case n._const.relocateGroup:Array.apply(void 0,new Array(t[n._const.groupLength])).map((function(){return o.removeChild(o.childNodes[t[n._const.from]])})).forEach((function(e,r){0===r&&(i=o.childNodes[t[n._const.to]]),o.insertBefore(e,i||null)}));break;case n._const.removeElement:o.parentNode.removeChild(o);break;case n._const.addElement:var l=(f=s.slice()).splice(f.length-1,1)[0];if(!((o=N(e,f))instanceof Element))return!1;o.insertBefore(k(t[n._const.element],"http://www.w3.org/2000/svg"===o.namespaceURI,n),o.childNodes[l]||null);break;case n._const.removeTextElement:if(!o||3!==o.nodeType)return!1;var u=o.parentNode;u.removeChild(o),u instanceof HTMLTextAreaElement&&(u.value="");break;case n._const.addTextElement:var f;if(l=(f=s.slice()).splice(f.length-1,1)[0],r=n.document.createTextNode(t[n._const.value]),!(o=N(e,f)).childNodes)return!1;o.insertBefore(r,o.childNodes[l]||null),o.parentNode instanceof HTMLTextAreaElement&&(o.parentNode.value=t[n._const.value]);break;default:console.log("unknown action")}return n.postDiffApply({diff:c.diff,node:c.node,newNode:r}),!0}function A(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}var V=function(e){var t=[];return t.push(e.nodeName),"#text"!==e.nodeName&&"#comment"!==e.nodeName&&e.attributes&&(e.attributes.class&&t.push("".concat(e.nodeName,".").concat(e.attributes.class.replace(/ /g,"."))),e.attributes.id&&t.push("".concat(e.nodeName,"#").concat(e.attributes.id))),t},C=function(e){var t={},n={};return e.forEach((function(e){V(e).forEach((function(e){var o=e in t;o||e in n?o&&(delete t[e],n[e]=!0):t[e]=!0}))})),t},T=function(e,t){var n=C(e),o=C(t),r={};return Object.keys(n).forEach((function(e){o[e]&&(r[e]=!0)})),r},S=function(e){return delete e.outerDone,delete e.innerDone,delete e.valueDone,!e.childNodes||e.childNodes.every(S)},L=function(e){if(Object.prototype.hasOwnProperty.call(e,"data"))return{nodeName:"#text"===e.nodeName?"#text":"#comment",data:e.data};var t={nodeName:e.nodeName};return Object.prototype.hasOwnProperty.call(e,"attributes")&&(t.attributes=e.attributes),Object.prototype.hasOwnProperty.call(e,"checked")&&(t.checked=e.checked),Object.prototype.hasOwnProperty.call(e,"value")&&(t.value=e.value),Object.prototype.hasOwnProperty.call(e,"selected")&&(t.selected=e.selected),Object.prototype.hasOwnProperty.call(e,"childNodes")&&(t.childNodes=e.childNodes.map((function(e){return L(e)}))),t},j=function(e,t){if(!["nodeName","value","checked","selected","data"].every((function(n){return e[n]===t[n]})))return!1;if(Object.prototype.hasOwnProperty.call(e,"data"))return!0;if(Boolean(e.attributes)!==Boolean(t.attributes))return!1;if(Boolean(e.childNodes)!==Boolean(t.childNodes))return!1;if(e.attributes){var n=Object.keys(e.attributes),o=Object.keys(t.attributes);if(n.length!==o.length)return!1;if(!n.every((function(n){return e.attributes[n]===t.attributes[n]})))return!1}if(e.childNodes){if(e.childNodes.length!==t.childNodes.length)return!1;if(!e.childNodes.every((function(e,n){return j(e,t.childNodes[n])})))return!1}return!0},I=function(e,t,n,o,r){if(void 0===r&&(r=!1),!e||!t)return!1;if(e.nodeName!==t.nodeName)return!1;if(["#text","#comment"].includes(e.nodeName))return!!r||e.data===t.data;if(e.nodeName in n)return!0;if(e.attributes&&t.attributes){if(e.attributes.id){if(e.attributes.id!==t.attributes.id)return!1;if("".concat(e.nodeName,"#").concat(e.attributes.id)in n)return!0}if(e.attributes.class&&e.attributes.class===t.attributes.class&&"".concat(e.nodeName,".").concat(e.attributes.class.replace(/ /g,"."))in n)return!0}if(o)return!0;var i=e.childNodes?e.childNodes.slice().reverse():[],a=t.childNodes?t.childNodes.slice().reverse():[];if(i.length!==a.length)return!1;if(r)return i.every((function(e,t){return e.nodeName===a[t].nodeName}));var s=T(i,a);return i.every((function(e,t){return I(e,a[t],s,!0,!0)}))},M=function(e,t){return Array.apply(void 0,new Array(e)).map((function(){return t}))},D=function(e,t){for(var n=e.childNodes?e.childNodes:[],o=t.childNodes?t.childNodes:[],r=M(n.length,!1),i=M(o.length,!1),a=[],s=function(){return arguments[1]},c=!1,l=function(){var e=function(e,t,n,o){var r=0,i=[],a=e.length,s=t.length,c=Array.apply(void 0,new Array(a+1)).map((function(){return[]})),l=T(e,t),u=a===s;u&&e.some((function(e,n){var o=V(e),r=V(t[n]);return o.length!==r.length?(u=!1,!0):(o.some((function(e,t){if(e!==r[t])return u=!1,!0})),!u||void 0)}));for(var f=0;f<a;f++)for(var d=e[f],h=0;h<s;h++){var p=t[h];n[f]||o[h]||!I(d,p,l,u)?c[f+1][h+1]=0:(c[f+1][h+1]=c[f][h]?c[f][h]+1:1,c[f+1][h+1]>=r&&(r=c[f+1][h+1],i=[f+1,h+1]))}return 0!==r&&{oldValue:i[0]-r,newValue:i[1]-r,length:r}}(n,o,r,i);e?(a.push(e),Array.apply(void 0,new Array(e.length)).map(s).forEach((function(t){return function(e,t,n,o){e[n.oldValue+o]=!0,t[n.newValue+o]=!0}(r,i,e,t)}))):c=!0};!c;)l();return e.subsets=a,e.subsetsAge=100,a},R=function(){function e(){this.list=[]}return e.prototype.add=function(e){var t;(t=this.list).push.apply(t,e)},e.prototype.forEach=function(e){this.list.forEach((function(t){return e(t)}))},e}(),P=function(){function e(e){void 0===e&&(e={});var t=this;Object.entries(e).forEach((function(e){var n=e[0],o=e[1];return t[n]=o}))}return e.prototype.toString=function(){return JSON.stringify(this)},e.prototype.setValue=function(e,t){return this[e]=t,this},e}();function H(e,t){var n,o,r=e;for(t=t.slice();t.length>0;)o=t.splice(0,1)[0],n=r,r=r.childNodes?r.childNodes[o]:void 0;return{node:r,parentNode:n,nodeIndex:o}}function F(e,t,n){return t.forEach((function(t){!function(e,t,n){var o,r,i,a;if(![n._const.addElement,n._const.addTextElement].includes(t[n._const.action])){var s=H(e,t[n._const.route]);r=s.node,i=s.parentNode,a=s.nodeIndex}var c,l,u=[],f={diff:t,node:r};if(n.preVirtualDiffApply(f))return!0;switch(t[n._const.action]){case n._const.addAttribute:r.attributes||(r.attributes={}),r.attributes[t[n._const.name]]=t[n._const.value],"checked"===t[n._const.name]?r.checked=!0:"selected"===t[n._const.name]?r.selected=!0:"INPUT"===r.nodeName&&"value"===t[n._const.name]&&(r.value=t[n._const.value]);break;case n._const.modifyAttribute:r.attributes[t[n._const.name]]=t[n._const.newValue];break;case n._const.removeAttribute:delete r.attributes[t[n._const.name]],0===Object.keys(r.attributes).length&&delete r.attributes,"checked"===t[n._const.name]?r.checked=!1:"selected"===t[n._const.name]?delete r.selected:"INPUT"===r.nodeName&&"value"===t[n._const.name]&&delete r.value;break;case n._const.modifyTextElement:r.data=t[n._const.newValue],"TEXTAREA"===i.nodeName&&(i.value=t[n._const.newValue]);break;case n._const.modifyValue:r.value=t[n._const.newValue];break;case n._const.modifyComment:r.data=t[n._const.newValue];break;case n._const.modifyChecked:r.checked=t[n._const.newValue];break;case n._const.modifySelected:r.selected=t[n._const.newValue];break;case n._const.replaceElement:c=t[n._const.newValue],i.childNodes[a]=c;break;case n._const.relocateGroup:r.childNodes.splice(t[n._const.from],t[n._const.groupLength]).reverse().forEach((function(e){return r.childNodes.splice(t[n._const.to],0,e)})),r.subsets&&r.subsets.forEach((function(e){if(t[n._const.from]<t[n._const.to]&&e.oldValue<=t[n._const.to]&&e.oldValue>t[n._const.from])e.oldValue-=t[n._const.groupLength],(o=e.oldValue+e.length-t[n._const.to])>0&&(u.push({oldValue:t[n._const.to]+t[n._const.groupLength],newValue:e.newValue+e.length-o,length:o}),e.length-=o);else if(t[n._const.from]>t[n._const.to]&&e.oldValue>t[n._const.to]&&e.oldValue<t[n._const.from]){var o;e.oldValue+=t[n._const.groupLength],(o=e.oldValue+e.length-t[n._const.to])>0&&(u.push({oldValue:t[n._const.to]+t[n._const.groupLength],newValue:e.newValue+e.length-o,length:o}),e.length-=o)}else e.oldValue===t[n._const.from]&&(e.oldValue=t[n._const.to])}));break;case n._const.removeElement:i.childNodes.splice(a,1),i.subsets&&i.subsets.forEach((function(e){e.oldValue>a?e.oldValue-=1:e.oldValue===a?e.delete=!0:e.oldValue<a&&e.oldValue+e.length>a&&(e.oldValue+e.length-1===a?e.length--:(u.push({newValue:e.newValue+a-e.oldValue,oldValue:a,length:e.length-a+e.oldValue-1}),e.length=a-e.oldValue))})),r=i;break;case n._const.addElement:var d=(l=t[n._const.route].slice()).splice(l.length-1,1)[0];r=null===(o=H(e,l))||void 0===o?void 0:o.node,c=t[n._const.element],r.childNodes||(r.childNodes=[]),d>=r.childNodes.length?r.childNodes.push(c):r.childNodes.splice(d,0,c),r.subsets&&r.subsets.forEach((function(e){if(e.oldValue>=d)e.oldValue+=1;else if(e.oldValue<d&&e.oldValue+e.length>d){var t=e.oldValue+e.length-d;u.push({newValue:e.newValue+e.length-t,oldValue:d+1,length:t}),e.length-=t}}));break;case n._const.removeTextElement:i.childNodes.splice(a,1),"TEXTAREA"===i.nodeName&&delete i.value,i.subsets&&i.subsets.forEach((function(e){e.oldValue>a?e.oldValue-=1:e.oldValue===a?e.delete=!0:e.oldValue<a&&e.oldValue+e.length>a&&(e.oldValue+e.length-1===a?e.length--:(u.push({newValue:e.newValue+a-e.oldValue,oldValue:a,length:e.length-a+e.oldValue-1}),e.length=a-e.oldValue))})),r=i;break;case n._const.addTextElement:var h=(l=t[n._const.route].slice()).splice(l.length-1,1)[0];(c={}).nodeName="#text",c.data=t[n._const.value],(r=H(e,l).node).childNodes||(r.childNodes=[]),h>=r.childNodes.length?r.childNodes.push(c):r.childNodes.splice(h,0,c),"TEXTAREA"===r.nodeName&&(r.value=t[n._const.newValue]),r.subsets&&r.subsets.forEach((function(e){if(e.oldValue>=h&&(e.oldValue+=1),e.oldValue<h&&e.oldValue+e.length>h){var t=e.oldValue+e.length-h;u.push({newValue:e.newValue+e.length-t,oldValue:h+1,length:t}),e.length-=t}}));break;default:console.log("unknown action")}r.subsets&&(r.subsets=r.subsets.filter((function(e){return!e.delete&&e.oldValue!==e.newValue})),u.length&&(r.subsets=r.subsets.concat(u))),n.postVirtualDiffApply({node:f.node,diff:f.diff,newNode:c})}(e,t,n)})),!0}function Z(e,t){void 0===t&&(t={valueDiffing:!0});var n={nodeName:e.nodeName};return e instanceof Text||e instanceof Comment?n.data=e.data:(e.attributes&&e.attributes.length>0&&(n.attributes={},Array.prototype.slice.call(e.attributes).forEach((function(e){return n.attributes[e.name]=e.value}))),e.childNodes&&e.childNodes.length>0&&(n.childNodes=[],Array.prototype.slice.call(e.childNodes).forEach((function(e){return n.childNodes.push(Z(e,t))}))),t.valueDiffing&&(e instanceof HTMLTextAreaElement&&(n.value=e.value),e instanceof HTMLInputElement&&["radio","checkbox"].includes(e.type.toLowerCase())&&void 0!==e.checked?n.checked=e.checked:(e instanceof HTMLButtonElement||e instanceof HTMLDataElement||e instanceof HTMLInputElement||e instanceof HTMLLIElement||e instanceof HTMLMeterElement||e instanceof HTMLOptionElement||e instanceof HTMLProgressElement||e instanceof HTMLParamElement)&&(n.value=e.value),e instanceof HTMLOptionElement&&(n.selected=e.selected))),n}var U=/<\s*\/*[a-zA-Z:_][a-zA-Z0-9:_\-.]*\s*(?:"[^"]*"['"]*|'[^']*'['"]*|[^'"/>])*\/*\s*>|<!--(?:.|\n|\r)*?-->/g,z=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function B(e){return e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")}var $={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuItem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},q=function(e){var t={nodeName:"",attributes:{}},n=!1,o=e.match(/<\/?([^\s]+?)[/\s>]/);if(o&&(t.nodeName=o[1].toUpperCase(),($[o[1]]||"/"===e.charAt(e.length-2))&&(n=!0),t.nodeName.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",node:{nodeName:"#comment",data:-1!==r?e.slice(4,r):""},voidElement:n}}for(var i=new RegExp(z),a=null,s=!1;!s;)if(null===(a=i.exec(e)))s=!0;else if(a[0].trim())if(a[1]){var c=a[1].trim(),l=[c,""];c.indexOf("=")>-1&&(l=c.split("=")),t.attributes[l[0]]=l[1],i.lastIndex--}else a[2]&&(t.attributes[a[2]]=a[3].trim().substring(1,a[3].length-1));return{type:"tag",node:t,voidElement:n}},J=function(e,t){void 0===t&&(t={valueDiffing:!0});var n,o=[],r=-1,i=[];if(0!==e.indexOf("<")){var a=e.indexOf("<");o.push({nodeName:"#text",data:-1===a?e:e.substring(0,a)})}return e.replace(U,(function(a,s){var c="/"!==a.charAt(1),l=a.startsWith("\x3c!--"),u=s+a.length,f=e.charAt(u);if(l){var d=q(a).node;if(r<0)return o.push(d),"";var h=i[r];return h&&d.nodeName&&(h.node.childNodes||(h.node.childNodes=[]),h.node.childNodes.push(d)),""}if(c){if(n=q(a),r++,!n.voidElement&&f&&"<"!==f){n.node.childNodes||(n.node.childNodes=[]);var p=B(e.slice(u,e.indexOf("<",u)));n.node.childNodes.push({nodeName:"#text",data:p}),t.valueDiffing&&"TEXTAREA"===n.node.nodeName&&(n.node.value=p)}0===r&&n.node.nodeName&&o.push(n.node);var m=i[r-1];m&&n.node.nodeName&&(m.node.childNodes||(m.node.childNodes=[]),m.node.childNodes.push(n.node)),i[r]=n}if((!c||n.voidElement)&&(r>-1&&(n.voidElement||n.node.nodeName===a.slice(2,-1).toUpperCase())&&--r>-1&&(n=i[r]),"<"!==f&&f)){var v=-1===r?o:i[r].node.childNodes||[],g=e.indexOf("<",u);p=B(e.slice(u,-1===g?void 0:g)),v.push({nodeName:"#text",data:p})}return""})),o[0]},Q=function(){function e(e,t,n){this.options=n,this.t1="undefined"!=typeof Element&&e instanceof Element?Z(e,this.options):"string"==typeof e?J(e,this.options):JSON.parse(JSON.stringify(e)),this.t2="undefined"!=typeof Element&&t instanceof Element?Z(t,this.options):"string"==typeof t?J(t,this.options):JSON.parse(JSON.stringify(t)),this.diffcount=0,this.foundAll=!1,this.debug&&(this.t1Orig="undefined"!=typeof Element&&e instanceof Element?Z(e,this.options):"string"==typeof e?J(e,this.options):JSON.parse(JSON.stringify(e)),this.t2Orig="undefined"!=typeof Element&&t instanceof Element?Z(t,this.options):"string"==typeof t?J(t,this.options):JSON.parse(JSON.stringify(t))),this.tracker=new R}return e.prototype.init=function(){return this.findDiffs(this.t1,this.t2)},e.prototype.findDiffs=function(e,t){var n;do{if(this.options.debug&&(this.diffcount+=1,this.diffcount>this.options.diffcap))throw new Error("surpassed diffcap:".concat(JSON.stringify(this.t1Orig)," -> ").concat(JSON.stringify(this.t2Orig)));0===(n=this.findNextDiff(e,t,[])).length&&(j(e,t)||(this.foundAll?console.error("Could not find remaining diffs!"):(this.foundAll=!0,S(e),n=this.findNextDiff(e,t,[])))),n.length>0&&(this.foundAll=!1,this.tracker.add(n),F(e,n,this.options))}while(n.length>0);return this.tracker.list},e.prototype.findNextDiff=function(e,t,n){var o,r;if(this.options.maxDepth&&n.length>this.options.maxDepth)return[];if(!e.outerDone){if(o=this.findOuterDiff(e,t,n),this.options.filterOuterDiff&&(r=this.options.filterOuterDiff(e,t,o))&&(o=r),o.length>0)return e.outerDone=!0,o;e.outerDone=!0}if(Object.prototype.hasOwnProperty.call(e,"data"))return[];if(!e.innerDone){if((o=this.findInnerDiff(e,t,n)).length>0)return o;e.innerDone=!0}if(this.options.valueDiffing&&!e.valueDone){if((o=this.findValueDiff(e,t,n)).length>0)return e.valueDone=!0,o;e.valueDone=!0}return[]},e.prototype.findOuterDiff=function(e,t,n){var o,r,i,a,s,c,l=[];if(e.nodeName!==t.nodeName){if(!n.length)throw new Error("Top level nodes have to be of the same kind.");return[(new P).setValue(this.options._const.action,this.options._const.replaceElement).setValue(this.options._const.oldValue,L(e)).setValue(this.options._const.newValue,L(t)).setValue(this.options._const.route,n)]}if(n.length&&this.options.diffcap<Math.abs((e.childNodes||[]).length-(t.childNodes||[]).length))return[(new P).setValue(this.options._const.action,this.options._const.replaceElement).setValue(this.options._const.oldValue,L(e)).setValue(this.options._const.newValue,L(t)).setValue(this.options._const.route,n)];if(Object.prototype.hasOwnProperty.call(e,"data")&&e.data!==t.data)return"#text"===e.nodeName?[(new P).setValue(this.options._const.action,this.options._const.modifyTextElement).setValue(this.options._const.route,n).setValue(this.options._const.oldValue,e.data).setValue(this.options._const.newValue,t.data)]:[(new P).setValue(this.options._const.action,this.options._const.modifyComment).setValue(this.options._const.route,n).setValue(this.options._const.oldValue,e.data).setValue(this.options._const.newValue,t.data)];for(r=e.attributes?Object.keys(e.attributes).sort():[],i=t.attributes?Object.keys(t.attributes).sort():[],a=r.length,c=0;c<a;c++)o=r[c],-1===(s=i.indexOf(o))?l.push((new P).setValue(this.options._const.action,this.options._const.removeAttribute).setValue(this.options._const.route,n).setValue(this.options._const.name,o).setValue(this.options._const.value,e.attributes[o])):(i.splice(s,1),e.attributes[o]!==t.attributes[o]&&l.push((new P).setValue(this.options._const.action,this.options._const.modifyAttribute).setValue(this.options._const.route,n).setValue(this.options._const.name,o).setValue(this.options._const.oldValue,e.attributes[o]).setValue(this.options._const.newValue,t.attributes[o])));for(a=i.length,c=0;c<a;c++)o=i[c],l.push((new P).setValue(this.options._const.action,this.options._const.addAttribute).setValue(this.options._const.route,n).setValue(this.options._const.name,o).setValue(this.options._const.value,t.attributes[o]));return l},e.prototype.findInnerDiff=function(e,t,n){var o=e.childNodes?e.childNodes.slice():[],r=t.childNodes?t.childNodes.slice():[],i=Math.max(o.length,r.length),a=Math.abs(o.length-r.length),s=[],c=0;if(!this.options.maxChildCount||i<this.options.maxChildCount){var l=Boolean(e.subsets&&e.subsetsAge--),u=l?e.subsets:e.childNodes&&t.childNodes?D(e,t):[];if(u.length>0&&(s=this.attemptGroupRelocation(e,t,u,n,l)).length>0)return s}for(var f=0;f<i;f+=1){var d=o[f],h=r[f];if(a&&(d&&!h?"#text"===d.nodeName?(s.push((new P).setValue(this.options._const.action,this.options._const.removeTextElement).setValue(this.options._const.route,n.concat(c)).setValue(this.options._const.value,d.data)),c-=1):(s.push((new P).setValue(this.options._const.action,this.options._const.removeElement).setValue(this.options._const.route,n.concat(c)).setValue(this.options._const.element,L(d))),c-=1):h&&!d&&("#text"===h.nodeName?s.push((new P).setValue(this.options._const.action,this.options._const.addTextElement).setValue(this.options._const.route,n.concat(c)).setValue(this.options._const.value,h.data)):s.push((new P).setValue(this.options._const.action,this.options._const.addElement).setValue(this.options._const.route,n.concat(c)).setValue(this.options._const.element,L(h))))),d&&h)if(!this.options.maxChildCount||i<this.options.maxChildCount)s=s.concat(this.findNextDiff(d,h,n.concat(c)));else if(!j(d,h))if(o.length>r.length)"#text"===d.nodeName?s.push((new P).setValue(this.options._const.action,this.options._const.removeTextElement).setValue(this.options._const.route,n.concat(c)).setValue(this.options._const.value,d.data)):s.push((new P).setValue(this.options._const.action,this.options._const.removeElement).setValue(this.options._const.element,L(d)).setValue(this.options._const.route,n.concat(c))),o.splice(f,1),f-=1,c-=1,a-=1;else if(o.length<r.length){var p=L(h);s=s.concat([(new P).setValue(this.options._const.action,this.options._const.addElement).setValue(this.options._const.element,p).setValue(this.options._const.route,n.concat(c))]),o.splice(f,0,p),a-=1}else s=s.concat([(new P).setValue(this.options._const.action,this.options._const.replaceElement).setValue(this.options._const.oldValue,L(d)).setValue(this.options._const.newValue,L(h)).setValue(this.options._const.route,n.concat(c))]);c+=1}return e.innerDone=!0,s},e.prototype.attemptGroupRelocation=function(e,t,n,o,r){for(var i,a,s,c,l,u,f=function(e,t,n){var o=e.childNodes?M(e.childNodes.length,!0):[],r=t.childNodes?M(t.childNodes.length,!0):[],i=0;return n.forEach((function(e){for(var t=e.oldValue+e.length,n=e.newValue+e.length,a=e.oldValue;a<t;a+=1)o[a]=i;for(a=e.newValue;a<n;a+=1)r[a]=i;i+=1})),{gaps1:o,gaps2:r}}(e,t,n),d=f.gaps1,h=f.gaps2,p=Math.min(d.length,h.length),m=[],v=0,g=0;v<p;g+=1,v+=1)if(!r||!0!==d[v]&&!0!==h[v])if(!0===d[v])if("#text"===(c=e.childNodes[g]).nodeName)if("#text"===t.childNodes[v].nodeName){if(c.data!==t.childNodes[v].data){for(u=g;e.childNodes.length>u+1&&"#text"===e.childNodes[u+1].nodeName;)if(u+=1,t.childNodes[v].data===e.childNodes[u].data){l=!0;break}if(!l)return m.push((new P).setValue(this.options._const.action,this.options._const.modifyTextElement).setValue(this.options._const.route,o.concat(v)).setValue(this.options._const.oldValue,c.data).setValue(this.options._const.newValue,t.childNodes[v].data)),m}}else m.push((new P).setValue(this.options._const.action,this.options._const.removeTextElement).setValue(this.options._const.route,o.concat(v)).setValue(this.options._const.value,c.data)),d.splice(v,1),p=Math.min(d.length,h.length),v-=1;else m.push((new P).setValue(this.options._const.action,this.options._const.removeElement).setValue(this.options._const.route,o.concat(v)).setValue(this.options._const.element,L(c))),d.splice(v,1),p=Math.min(d.length,h.length),v-=1;else if(!0===h[v])"#text"===(c=t.childNodes[v]).nodeName?(m.push((new P).setValue(this.options._const.action,this.options._const.addTextElement).setValue(this.options._const.route,o.concat(v)).setValue(this.options._const.value,c.data)),d.splice(v,0,!0),p=Math.min(d.length,h.length),g-=1):(m.push((new P).setValue(this.options._const.action,this.options._const.addElement).setValue(this.options._const.route,o.concat(v)).setValue(this.options._const.element,L(c))),d.splice(v,0,!0),p=Math.min(d.length,h.length),g-=1);else if(d[v]!==h[v]){if(m.length>0)return m;if(s=n[d[v]],(a=Math.min(s.newValue,e.childNodes.length-s.length))!==s.oldValue){i=!1;for(var y=0;y<s.length;y+=1)I(e.childNodes[a+y],e.childNodes[s.oldValue+y],{},!1,!0)||(i=!0);if(i)return[(new P).setValue(this.options._const.action,this.options._const.relocateGroup).setValue(this.options._const.groupLength,s.length).setValue(this.options._const.from,s.oldValue).setValue(this.options._const.to,a).setValue(this.options._const.route,o)]}}return m},e.prototype.findValueDiff=function(e,t,n){var o=[];return e.selected!==t.selected&&o.push((new P).setValue(this.options._const.action,this.options._const.modifySelected).setValue(this.options._const.oldValue,e.selected).setValue(this.options._const.newValue,t.selected).setValue(this.options._const.route,n)),(e.value||t.value)&&e.value!==t.value&&"OPTION"!==e.nodeName&&o.push((new P).setValue(this.options._const.action,this.options._const.modifyValue).setValue(this.options._const.oldValue,e.value||"").setValue(this.options._const.newValue,t.value||"").setValue(this.options._const.route,n)),e.checked!==t.checked&&o.push((new P).setValue(this.options._const.action,this.options._const.modifyChecked).setValue(this.options._const.oldValue,e.checked).setValue(this.options._const.newValue,t.checked).setValue(this.options._const.route,n)),o},e}(),W={debug:!1,diffcap:10,maxDepth:!1,maxChildCount:50,valueDiffing:!0,textDiff:function(e,t,n,o){e.data=o},preVirtualDiffApply:function(){},postVirtualDiffApply:function(){},preDiffApply:function(){},postDiffApply:function(){},filterOuterDiff:null,compress:!1,_const:!1,document:!("undefined"==typeof window||!window.document)&&window.document,components:[]},G=function(){function e(e){if(void 0===e&&(e={}),Object.entries(W).forEach((function(t){var n=t[0],o=t[1];Object.prototype.hasOwnProperty.call(e,n)||(e[n]=o)})),!e._const){var t=["addAttribute","modifyAttribute","removeAttribute","modifyTextElement","relocateGroup","removeElement","addElement","removeTextElement","addTextElement","replaceElement","modifyValue","modifyChecked","modifySelected","modifyComment","action","route","oldValue","newValue","element","group","groupLength","from","to","name","value","data","attributes","nodeName","childNodes","checked","selected"],n={};e.compress?t.forEach((function(e,t){return n[e]=t})):t.forEach((function(e){return n[e]=e})),e._const=n}this.options=e}return e.prototype.apply=function(e,t){return function(e,t,n){return t.every((function(t){return O(e,t,n)}))}(e,t,this.options)},e.prototype.undo=function(e,t){return function(e,t,n){(t=t.slice()).reverse(),t.forEach((function(t){!function(e,t,n){switch(t[n._const.action]){case n._const.addAttribute:t[n._const.action]=n._const.removeAttribute,O(e,t,n);break;case n._const.modifyAttribute:A(t,n._const.oldValue,n._const.newValue),O(e,t,n);break;case n._const.removeAttribute:t[n._const.action]=n._const.addAttribute,O(e,t,n);break;case n._const.modifyTextElement:case n._const.modifyValue:case n._const.modifyComment:case n._const.modifyChecked:case n._const.modifySelected:case n._const.replaceElement:A(t,n._const.oldValue,n._const.newValue),O(e,t,n);break;case n._const.relocateGroup:A(t,n._const.from,n._const.to),O(e,t,n);break;case n._const.removeElement:t[n._const.action]=n._const.addElement,O(e,t,n);break;case n._const.addElement:t[n._const.action]=n._const.removeElement,O(e,t,n);break;case n._const.removeTextElement:t[n._const.action]=n._const.addTextElement,O(e,t,n);break;case n._const.addTextElement:t[n._const.action]=n._const.removeTextElement,O(e,t,n);break;default:console.log("unknown action")}}(e,t,n)}))}(e,t,this.options)},e.prototype.diff=function(e,t){return new Q(e,t,this.options).init()},e}(),X=(function(){function e(e){void 0===e&&(e={});var t=this;this.pad="│ ",this.padding="",this.tick=1,this.messages=[];var n=function(e,n){var o=e[n];e[n]=function(){for(var r=arguments,i=[],a=0;a<arguments.length;a++)i[a]=r[a];t.fin(n,Array.prototype.slice.call(i));var s=o.apply(e,i);return t.fout(n,s),s}};for(var o in e)"function"==typeof e[o]&&n(e,o);this.log("┌ TRACELOG START")}e.prototype.fin=function(e,t){this.padding+=this.pad,this.log("├─> entering ".concat(e),t)},e.prototype.fout=function(e,t){this.log("│<──┘ generated return value",t),this.padding=this.padding.substring(0,this.padding.length-this.pad.length)},e.prototype.format=function(e,t){return"".concat(function(e){for(var t="".concat(e);t.length<4;)t="0".concat(e);return t}(t),"> ").concat(this.padding).concat(e)},e.prototype.log=function(){for(var e=arguments,t=[],n=0;n<arguments.length;n++)t[n]=e[n];var o=function(e){return e?"string"==typeof e?e:e instanceof HTMLElement?e.outerHTML||"<empty>":e instanceof Array?"[".concat(e.map(o).join(","),"]"):e.toString()||e.valueOf()||"<unknown>":"<falsey>"},r=t.map(o).join(", ");this.messages.push(this.format(r,this.tick++))},e.prototype.toString=function(){for(var e="└───";e.length<=this.padding.length+this.pad.length;)e+="× ";var t=this.padding;return this.padding="",e=this.format(e,this.tick),this.padding=t,"".concat(this.messages.join("\n"),"\n").concat(e)}}(),r(822));function K(e){return"-"===e?null:document.querySelector("script#".concat(e,'[type="text/x-squirrelly-template"]'))}function Y(e,t){var n,o;if("string"==typeof t&&(n=t,(o=document.createElement("template")).innerHTML=n.trim(),t=o.content.firstChild),e instanceof HTMLElement&&t instanceof HTMLElement){var r=new G({maxChildCount:!1}),i=r.diff(e,t);i&&i.length&&r.apply(e,i)}}function ee(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e.replace(/((?:[^{}]|(?:\{\{)|(?:\}\}))+)|(?:\{([0-9]+)\})/g,(function(e,t,o){if(t)return t.replace(/(?:{{)|(?:}})/g,(function(e){return e[0]}));if(n[+o+1]&&n[+o+2]){var r=n[+o+1],i=n[+o+2];return r+""+n[o]+i}return o<n.length?n[o]:""}))}function ne(){for(var e="",t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach((function(t){e+=t})),e}function oe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return ee(te.apply(void 0,[e].concat(n)))}function re(e,t){e instanceof HTMLElement&&t&&Y(e,ie(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=K(e);if(n)return X.autoEscaping(!1),X.defineHelper("msgf",te),X.defineHelper("useContext",ne),X.defineHelper("msgfSafe",oe),X.defineFilter("escapeQuotes",ee),X.Compile(n.innerHTML)(t,X)}const ae={append:function(e,t){"string"==typeof t?e.insertAdjacentHTML("beforeEnd",t):e.append(t)},prepend:function(e,t){"string"==typeof t?e.insertAdjacentHTML("afterbegin",t):e.prepend(t)},render:re,renderElement:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("div");return re(n,e,t),n},update:Y,empty:function(e){if(e instanceof HTMLElement)for(;e.firstChild;)e.removeChild(e.firstChild)},msgfHelper:te,useContextHelper:ne,msgfSafeHelper:oe,getTemplate:K,replaceElement:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=document.createElement(n.type||"div");n.class&&o.classList.add(n.class),o.innerHTML=t,e.replaceWith(o)},getRenderedString:ie};var se=r(270),ce={serialize:function(e){var t=[];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o="".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e[n]));t.push(o)}return 0!==t.length?t.join("&"):""}},le=new WeakMap;function ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e instanceof HTMLElement&&t){var o=Object.create(null);return!n&&le.has(e)&&t in(o=le.get(e))||(o[t]=function(e,t){var n=e.dataset[t];if(n){if("true"===n)return!0;if("false"===n)return!1;if("null"===n)return null;if(n==="".concat(+n))return+n;if(new RegExp("^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$").test(n))try{return JSON.parse(n)}catch(e){return}return n}}(e,t),le.set(e,o)),o[t]}}function fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e instanceof HTMLElement&&t&&(e.dataset[t]="object"===(0,m.Z)(n)?JSON.stringify(n):String(n),function(e,t){if(e instanceof HTMLElement&&le.has(e))if(t){var n=le.get(e);t in n&&delete n[t]}else le.delete(e)}(e,t))}var de=r(702),he=function(){function e(t){if((0,y.Z)(this,e),!(t instanceof HTMLFormElement))throw new Error("Invalid form element");this.form=t,this.ignoredFields=/^(?:button|image|reset|file)$/i}return(0,b.Z)(e,[{key:"getFields",value:function(){return Array.from(this.form.elements).filter((function(e){return"FIELDSET"!==e.nodeName}))}},{key:"getData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t={};e||(e=this.getFields());for(var n=0;n<e.length;n++){var o=e[n];if(!o.disabled&&o.name&&!this.ignoredFields.test(o.type)&&("radio"!==o.type||o.checked)){var r=o.name,i=o.value;"checkbox"===o.type&&(i=o.checked),t[r]=i}}return t}},{key:"getSerializedData",value:function(){var e=this.getData();return ce.serialize(e)}},{key:"clearPrefixes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return Object.keys(t).forEach((function(o){n[o.replace(e,"")]=t[o]})),n}},{key:"getQueryString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getData(t);if(e&&(o=this.clearPrefixes(e,o),Object.keys(n).length))for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(o[r]=n[r]);return new URLSearchParams(o)}},{key:"showErrors",value:function(e,t,n,o){var r=t||{};for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){var a=e.querySelector('[name="'.concat(i,'"]')),s=a?a.closest(de.FIELD_CONTAINER):null,c=s?s.querySelector(de.FIELD_ERROR):null;c&&(a.classList.add(de.FIELD_INVALID),c.innerHTML=r[i],s.classList.add(de.FIELD_CONTAINER_INVALID))}this.showMessage(n,o)}},{key:"showMessage",value:function(e,t){e&&t&&(t.innerHTML=e)}},{key:"isComponentField",value:function(e){return e.hasAttribute("data-component-id")||e.hasAttribute("data-from-component")}},{key:"showFieldsErrors",value:function(e){var t=this;Object.keys(e).forEach((function(n){var o=t.form.querySelector('[name="'.concat(n,'"]'));t.constructor.showFieldError(o,e[n])}))}},{key:"hideFieldsErrors",value:function(){var e=this;this.getFields().forEach((function(t){return e.constructor.hideFieldError(t)}))}},{key:"focusToFirstInvalidField",value:function(){var e=this,t=this.getFields().find((function(t){return!e.ignoredFields.test(t.type)&&t.classList.contains(de.FIELD_INVALID)}));t&&(this.isComponentField(t)?(0,w.X$)("setFocus",t):t.focus())}},{key:"setFieldValue",value:function(e,t){var n=e.type;if(this.isComponentField(e))(0,w.X$)("setValue",e,{value:t});else switch(n){case"radio":break;case"checkbox":e.checked=!!t;break;default:e.value=t}}},{key:"fillForm",value:function(e){var t=this;this.reset(),this.getFields().forEach((function(n){var o=n.name.split("_").pop();if(o in e){var r="object"===(0,m.Z)(e[o])&&null!==e[o]?e[o].value:e[o];t.setFieldValue(n,r)}})),this.hideFieldsErrors()}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["csrf_token"];this.form.reset(),this.getFields().filter((function(t){return"hidden"===t.type&&!e.includes(t.name)})).forEach((function(e){return e.value="",e.value})),this.hideFieldsErrors()}},{key:"toObject",value:function(){var e=Object.create(null);return this.getFields().forEach((function(t){var n=t.name.split("_").pop();switch(t.type){case"radio":break;case"checkbox":e[n]=t.checked;break;default:e[n]=t.value}})),e}},{key:"hasErrors",value:function(){return!this.getFields().every((function(e){return!("invalid"===ue(e,"validationStatus",!0)||e.required&&!e.value)}))}}],[{key:"showFieldError",value:function(e,t){var n=e&&e.closest(de.FIELD_CONTAINER);if(n){var o=n.querySelector(de.FIELD_ERROR);if(!o&&ue(e,"errorContainer")){var r=e.closest("form");o=r&&r.querySelector(ue(e,"errorContainer"))}e.classList.add(de.FIELD_INVALID),n.classList.add(de.FIELD_CONTAINER_INVALID),o&&(o.innerText=t),fe(e,"validationStatus","invalid")}}},{key:"hideFieldError",value:function(e){var t=e&&e.closest(de.FIELD_CONTAINER);if(t){var n=t.querySelector(de.FIELD_ERROR);if(!n&&ue(e,"errorContainer")){var o=e.closest("form");n=o&&o.querySelector(ue(e,"errorContainer"))}e.classList.remove(de.FIELD_INVALID),t.classList.remove(de.FIELD_CONTAINER_INVALID),n&&(n.innerText=""),fe(e,"validationStatus",""),fe(e,"validationRuleQueue","")}}}]),e}();function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){(0,se.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var ge=window.EventEmitter,ye={"X-Requested-With":"XMLHttpRequest"},be={},_e={OK:200,VALIDATION_ERROR:400,AUTHENTICATION_ERROR:401,INTERNAL_ERROR:500};function we(e){var t={};if(e instanceof Headers){var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ve(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.entries());try{for(o.s();!(n=o.n()).done;){var r=(0,v.Z)(n.value,2),i=r[0],a=r[1];t[i]=a}}catch(e){o.e(e)}finally{o.f()}}else t=e;return t}function Ee(e,t){return e+JSON.stringify(t)}function xe(e,t){var n=Ee(e,t);delete be[n]}function ke(e){var t=e.errorMessage,n=new Error(t);throw n.errorMessage=t,n.data=e,n}function Ne(e){if(e.ok)return e;var t=e.statusText,n=e.status;if(_e.AUTHENTICATION_ERROR,n===_e.VALIDATION_ERROR)return e.json().then(ke);"5"==="".concat(n).charAt(0)&&function(e){var t=e.headers.get("content-type");t&&t.includes("application/json")&&e.json().then((function(e){ge.emit("Ajax:errorMessage",{type:"error",content:e.errorMessage})}))}(e);var o=new Error(t);throw o.errorMessage=t,o.response=e,o.status=n,o}function Oe(e){var t=e.headers.get("content-type");if(t){if(t.includes("application/json"))return e.json();if(t.includes("text/html"))return e.text()}return e}function Ae(e){if("object"===(0,m.Z)(e)&&!1===e.success)throw new Error(e&&e.errorMessage);return e}function Ve(e){return"object"===(0,m.Z)(e)&&e.redirectUrl&&(window.location.href=e.redirectUrl),e}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Te(e){var t,n=new URL(window.TEMPLATE_LOADER_URL,document.location.origin),o=!1,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;ae.getTemplate(i)||(n.searchParams.append("templates[]",i),o=!0)}}catch(e){r.e(e)}finally{r.f()}o&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.headers=me(me({},we(t.headers)),ye),t.method=t.method||"GET",t.credentials="same-origin",t.body&&"object"===(0,m.Z)(t.body))if(t.body instanceof HTMLElement){var n=new he(t.body);t.body=n.getSerializedData()}else t.body=t.bodyAsString?JSON.stringify(t.body):ce.serialize(t.body);if("GET"===t.method&&"object"===(0,m.Z)(t.querystring)){var o=new URL(e,document.location.origin);Object.keys(t.querystring).forEach((function(e){o.searchParams.append(e,t.querystring[e])})),delete t.querystring,e=o.toString()}var r=function(e,t){var n=Ee(e,t);return be[n]}(e,t);if(r)return r;var i=new URL(e,document.location.origin);i.searchParams.append("ajax","true");var a=fetch(i.toString(),t).then(Ne).then(Oe).then(Ve).then(Ae).then((function(n){return xe(e,t),n})).catch((function(n){return xe(e,t),Promise.reject(n)}));return function(e,t,n){var o=Ee(e,t);be[o]=n}(e,t,a),a}(n).then((function(e){ae.append(document.body,e)}))}var Se=r(75);window.EventEmitter=new Se;var Le,je=window.EventEmitter,Ie=!1;window.app=window.app||{},window.app.debug=!1;var Me=function(){function e(){return(0,y.Z)(this,e),Le||(Le=this,this._componentSelector="data-component",this.components={},this.observer=null,this.loadedTemplates=[],this.unregisteredComponents={}),Le}return(0,b.Z)(e,[{key:"run",value:function(){this._initComponents(),this._bindEvents(),this._componentsObserver()}},{key:"_initComponents",value:function(){var e=this;this.pageComponents.forEach((function(t){e._isEligible(t)&&e.importComponent(t)}))}},{key:"_bindEvents",value:function(){window.addEventListener("load",this._onWindowLoad.bind(this)),je.on("MediaQuery:changed",this._onMediaQueryChange,this)}},{key:"_componentsObserver",value:function(){var e=this;this.observer||(this.observer=new MutationObserver((function(t){t.forEach((function(t){var n=t.addedNodes;t.removedNodes.forEach((function(n){return e._destroyRemovedComponents(n,t)})),n.forEach((function(n){return e._registerAddedElements(n,t)}))}))})),this.observer.observe(document.body,{childList:!0,subtree:!0,characterData:!1}))}},{key:"_registerAddedElements",value:function(e){var t=e;this._mutationHasComponents(t)&&(t.hasAttribute(this._componentSelector)?this.registerElement(t):this.registerChildren(t))}},{key:"_destroyRemovedComponents",value:function(e,t){var n=this,o=e;if(this._mutationHasComponents(o)){var r=[];o.hasAttribute(this._componentSelector)&&r.push(this._getComponentId(o));var i=(0,g.Z)(o.querySelectorAll("[".concat(this._componentSelector,"]"))).map((function(e){return n._getComponentId(e)}));r.push.apply(r,(0,g.Z)(i)),this.unregister(r.filter(Boolean)),(0,w.X$)("component:destroy",t.target,{bubbles:!0})}}},{key:"_mutationHasComponents",value:function(e){if(!(e instanceof HTMLElement))return!1;var t=e.hasAttribute(this._componentSelector),n=e.querySelector("[".concat(this._componentSelector,"]"));return t||n}},{key:"_getComponentId",value:function(e){return!!this.isRegistered(e)&&e.getAttribute("".concat(this._componentSelector,"-id"))}},{key:"_onWindowLoad",value:function(){Ie=!0,Object.entries(this.components).forEach((function(e){var t=(0,v.Z)(e,2),n=(t[0],t[1]);n.loaded||(n.loaded=!0,n.initLoad())}))}},{key:"_onMediaQueryChange",value:function(){this.registerContextualComponents()}},{key:"registerElement",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.hasAttribute(this._componentSelector)){if(this._isEligible(e))return this.importComponent(e).then((function(){n&&t.registerChildren(e)}));if(n)return this.registerChildren(e)}console.warn("You are trying to register a non-component",e)}},{key:"registerChildren",value:function(){var e=this;(arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll("[".concat(this._componentSelector,"]")).forEach((function(t){e._isEligible(t)&&e.importComponent(t)}))}},{key:"registerContextualComponents",value:function(){var e=this;Object.keys(this.unregisteredComponents).forEach((function(t){if(E.c.is(t)){var n=e.unregisteredComponents[t];n.length&&(n.forEach((function(t){e.registerElement(t,!1)})),e.unregisteredComponents[t]=[])}}))}},{key:"_isEligible",value:function(e){if(this.isRegistered(e))return!1;if(this.isContext(e))return!0;var t=e.getAttribute("".concat(this._componentSelector,"-context"));return t&&(this.unregisteredComponents[t]||(this.unregisteredComponents[t]=[]),this.unregisteredComponents[t].push(e)),!1}},{key:"_loadTemplates",value:function(e){var t=this;e&&e.contentTemplate&&(Array.isArray(e.contentTemplate)?e.contentTemplate=e.contentTemplate.filter((function(e){return!~t.loadedTemplates.indexOf(e)})):~this.loadedTemplates.indexOf(e.contentTemplate)&&(e.contentTemplate=[]),e.contentTemplate.length>0&&("string"==typeof e.contentTemplate?(Te([e.contentTemplate]),this.loadedTemplates.push(e.contentTemplate)):(Te(e.contentTemplate),this.loadedTemplates=[].concat((0,g.Z)(this.loadedTemplates),(0,g.Z)(e.contentTemplate)))))}},{key:"importComponent",value:function(e){var t,n=this,o=e;if(!o)return Promise.reject(new Error("importComponent: element is missing a mandatory param"));if(o._loading)return Promise.resolve();var r={},i=o instanceof HTMLElement;if(i){if(this.isRegistered(o))return Promise.reject(new Error("".concat(o," is already registered")));t=o.getAttribute(this._componentSelector)}else t=o.name,r=o.options||r,o.elmt&&(i=!0,o=e.elmt);e._loading=!0;var a=x[t];return a?Promise.resolve(a()).then((function(e){var a=e.default;if(!a)throw new Error("Export your ".concat(t," module as default"));var s=new a(i&&o,r);return n.register(s),s})):Promise.reject(new Error("Please register ".concat(t," in 'components-map.js'")))}},{key:"isContext",value:function(e){var t=e.getAttribute("".concat(this._componentSelector,"-context"));return!t||E.c.is(t||"small")}},{key:"register",value:function(e){if(!(e instanceof _.Z))throw new Error("".concat(e.name," needs to extend from the Core Component Class"));je.emit("ComponentRegistry:register.".concat(e.name),{id:e.id,name:e.name,element:e.element}),this._loadTemplates(e.options),(0,w.X$)("component:ready",e.element,{bubbles:!0}),this.components[e.id]=e,Ie&&!e.loaded&&(e.loaded=!0,e.initLoad()),window.app.debug&&console.log("%c New component registered: ","color: DodgerBlue",e)}},{key:"unregister",value:function(e){var t=this;("string"==typeof e?[e]:e).forEach((function(e){var n=t.components[e];n instanceof _.Z&&(n._destroy(),window.app.debug&&console.log("%c Component destroyed: ","color: Red",n),delete t.components[e])}))}},{key:"getComponent",value:function(e){return this.components[e]}},{key:"getComponentsByName",value:function(e){var t=this,n=[],o=e;return o&&"string"==typeof o?(o=o.toLowerCase(),Object.keys(this.components).forEach((function(e){var r=t.components[e];r.name.toLowerCase()===o&&n.push(r)})),n):n}},{key:"mountedComponents",get:function(){return this.components}},{key:"pageComponents",get:function(){return document.querySelectorAll("[".concat(this._componentSelector,"]"))}},{key:"isRegistered",value:function(e){var t=e.getAttribute("".concat(this._componentSelector,"-id"));return!!t&&!!this.getComponent(t)}}]),e}();const De=new Me;r(554);var Re={_init:function(){[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some((function(e){return navigator.userAgent.match(e)}))&&navigator.geolocation&&navigator.geolocation.getCurrentPosition(this.setGeoLocation,this.geoError,this.geoOptions)},setGeoLocation:function(e){window.localStorage.setItem("userGeolocation",JSON.stringify({latitude:e.coords.latitude,longitude:e.coords.longitude,accuracy:e.coords.accuracy}))},geoError:function(e){window.localStorage.removeItem("userGeolocation"),console.log("Error occurred. Error message: ".concat(e.message))},geoOptions:function(){return{maximumAge:3e5,timeout:1e4}}},Pe=r(75);function He(){De.run(),E.c._init(),Re._init()}window.EventEmitter=new Pe,window.app=window.app||{},Promise.resolve().then((function(){window.app=Object.assign({},window.app,{mountedComponents:De.mountedComponents,getComponentsByName:De.getComponentsByName.bind(De),getComponent:De.getComponent.bind(De),debug:-1!==window.location.search.indexOf("debug")}),(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?He():document.addEventListener("DOMContentLoaded",He)}))})()})();
if(!self.define){let e,i={};const s=(s,r)=>(s=new URL(s+".js",r).href,i[s]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=i,document.head.appendChild(e)}else e=s,importScripts(s),i()})).then((()=>{let e=i[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(r,n)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(i[o])return;let d={};const t=e=>s(e,o),c={module:{uri:o},exports:d,require:t};i[o]=Promise.all(r.map((e=>c[e]||t(e)))).then((e=>(n(...e),d)))}}define(["./workbox-d249b2c8"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"133.js",revision:"b2e58684510cf47791ba313b49327042"},{url:"134.js",revision:"d9fa8a204f7f8cdd7ec3c0af96cd84f5"},{url:"284.js",revision:"db164fc86b2f3d084cf62d29ddd238a8"},{url:"417.js",revision:"633d2d48ec017e150ba0c2a6e16621fa"},{url:"index.html",revision:"81c2456103ae88519343d513d53f08a4"},{url:"main.js",revision:"3b3b70bb85e35d0b01867a13c5220820"}],{})}));
define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.3"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);const h={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},u=t=>[h.prefix,t,h.suffix].filter((t=>t&&t.length>0)).join("-"),l=t=>t||u(h.precache),f=t=>t||u(h.runtime);function w(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}function d(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let g;async function R(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===g){const t=new Response("");if("body"in t)try{new Response(t.body),g=!0}catch(t){g=!1}g=!1}return g}()?i.body:await i.blob();return new Response(c,o)}function m(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class v{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const q=new Set;try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}function U(t){return"string"==typeof t?new Request(t):t}class L{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new v,this.g=[],this.R=[...t.plugins],this.m=new Map;for(const t of this.R)this.m.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=U(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=U(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=U(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.v(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=m(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===m(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of q)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.m.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.g.push(t),t}async doneWaiting(){let t;for(;t=this.g.shift();)await t}destroy(){this.p.resolve(null)}async v(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class b{constructor(t={}){this.cacheName=f(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new L(this,{event:e,request:s,params:n}),r=this.q(i,s,e);return[r,this.U(r,i,s,e)]}async q(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.L(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async U(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class C extends b{constructor(t={}){t.cacheName=l(t.cacheName),super(t),this._=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async L(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.C(t,e):await this.O(t,e))}async O(t,e){let n;const i=e.params||{};if(!this._)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.N(),await e.cachePut(t,n.clone()))}return n}async C(t,e){this.N();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}N(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await R(t):t};class E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new Map,this.K=new Map,this.T=new Map,this.l=new C({cacheName:l(t),plugins:[...e,new y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return w(t,(async()=>{const e=new p;this.strategy.plugins.push(e);for(const[e,s]of this.k){const n=this.T.get(s),i=this.K.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return w(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.k.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.k.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let O;const x=()=>(O||(O=new E),O);class N extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}function k(t){const e=x();!function(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}a().registerRoute(o)}(new N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),k(e)}}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment