1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/rss-DXM5yqDu.js","js/rolldown-runtime-CNC7AqOf.js","js/jquery-YZXXaJGD.js","js/iframe-resizer-UWNgSExk.js","js/leaflet-map-tbrXOgdq.js","js/index-all-DxgqLZUf.js","js/preload-helper-CYSuEhPU.js","js/lib-5vtU7OsP.js","js/form-C6p-A6lI.js","js/property-DirkLni3-Dv-9Nw6v.js","js/utils-Da7HZlIR-Sm1a_Dyc.js","js/card-uRWj8kQy.js","js/template-helpers-CqHrKpvq-Bu1d3_6U.js","js/summary-CzrVSeen.js"])))=>i.map(i=>d[i]); 2import{a as e,t}from"./rolldown-runtime-CNC7AqOf.js";import{t as n}from"./jquery-YZXXaJGD.js";import{c as r,i,n as a,o,s,t as c}from"./index-all-DxgqLZUf.js";import{n as l}from"./togglemanager-C0hFz_z5.js";import{t as u}from"./dom-loaded-DkBpNALE.js";import{t as d}from"./preload-helper-CYSuEhPU.js";import{t as f}from"./index.all-CYzKXjPv.js";var p=e(n(),1),m={block:`.block-accordion, .new-block-accordion, .list-card--accordion`,item:`.block-accordion-item, .new-block-accordion-item, .list-card--accordion .list-card__item`,title:`a.block-accordion-title, .new-block-accordion-item-title.js-toggle-accordion, .list-card-item-accordion-trigger.js-toggle-accordion`,mark:`.block-accordion-marker`,checkbox:`.js-checklist-input`,toggleItem:`.js-toggle-item`,toggleButton:`.js-toggle-accordion`,closeButton:`.js-close-accordion`},h=function(e){e.find(m.title).on(`click`,function(e){(0,p.default)(this).closest(m.item).toggleClass(`on`),e.preventDefault()}),e.find(m.toggleItem).on(`click`,function(e){(0,p.default)(this).closest(m.item).toggleClass(`on`),e.preventDefault()})},g=function(e){e||=(0,p.default)(m.block),e.each(function(){h((0,p.default)(this)),(0,p.default)(m.toggleButton,this).on(`click`,function(e){(0,p.default)(this).closest(m.block).toggleClass(`open`),(0,p.default)(this).attr(`aria-expanded`,(0,p.default)(this).attr(`aria-expanded`)==`false`),e.preventDefault()}),(0,p.default)(m.closeButton,this).on(`click`,function(e){(0,p.default)(this).closest(m.block).removeClass(`open`),(0,p.default)(this).closest(m.block).find(m.toggleButton).attr(`aria-expanded`,!1).focus(),e.preventDefault()})}),e.on(`change`,m.checkbox,function(e){_((0,p.default)(e.currentTarget))})},_=function(e){var t=e.closest(m.item),n=t.find(m.checkbox+`:checked`).length;t.find(m.mark).attr(`data-mark`,n>0?`true`:`false`)};g();var v={block:`.block-collapsable-tablet, .block-collapsable-mobile, .block-collapsed`,heading:`.block-heading`};(0,p.default)(function(){(0,p.default)(v.block).each(function(){y((0,p.default)(this))})});var y=function(e){e.find(v.heading).on(`click`,function(t){e.toggleClass(`on`),t.preventDefault()})};(0,e(t(((e,t)=>{(function(e){typeof define==`function`&&define.amd?define([`jquery`],e):typeof t==`object`&&t.exports?t.exports=function(t,r){return r===void 0&&(r=typeof window<`u`?n():n()(t)),e(r),r}:e(jQuery)})(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var t;return(function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,r;(function(t){var i,a,o,s,c={},l={},u={},d={},f=Object.prototype.hasOwnProperty,p=[].slice,m=/\.js$/;function h(e,t){return f.call(e,t)}function g(e,t){var n,r,i,a,o,s,c,l,d,f,p,h,g=t&&t.split(`/`),_=u.map,v=_&&_[`*`]||{};if(e){for(e=e.split(`/`),o=e.length-1,u.nodeIdCompat&&m.test(e[o])&&(e[o]=e[o].replace(m,``)),e[0].charAt(0)===`.`&&g&&(h=g.slice(0,g.length-1),e=h.concat(e)),d=0;d<e.length;d++)if(p=e[d],p===`.`)e.splice(d,1),--d;else if(p===`..`){if(d===0||d===1&&e[2]===`..`||e[d-1]===`..`)continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join(`/`)}if((g||v)&&_){for(n=e.split(`/`),d=n.length;d>0;--d){if(r=n.slice(0,d).join(`/`),g){for(f=g.length;f>0;--f)if(i=_[g.slice(0,f).join(`/`)],i&&(i=i[r],i)){a=i,s=d;break}}if(a)break;!c&&v&&v[r]&&(c=v[r],l=d)}!a&&c&&(a=c,s=l),a&&(n.splice(0,s,a),e=n.join(`/`))}return e}function _(e,n){return function(){var r=p.call(arguments,0);return typeof r[0]!=`string`&&r.length===1&&r.push(null),a.apply(t,r.concat([e,n]))}}function v(e){return function(t){return g(t,e)}}function y(e){return function(t){c[e]=t}}function b(e){if(h(l,e)){var n=l[e];delete l[e],d[e]=!0,i.apply(t,n)}if(!h(c,e)&&!h(d,e))throw Error(`No `+e);return c[e]}function x(e){var t,n=e?e.indexOf(`!`):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return e?x(e):[]}o=function(e,t){var n,r=x(e),i=r[0],a=t[1];return e=r[1],i&&(i=g(i,a),n=b(i)),i?e=n&&n.normalize?n.normalize(e,v(a)):g(e,a):(e=g(e,a),r=x(e),i=r[0],e=r[1],i&&(n=b(i))),{f:i?i+`!`+e:e,n:e,pr:i,p:n}};function C(e){return function(){return u&&u.config&&u.config[e]||{}}}s={require:function(e){return _(e)},exports:function(e){var t=c[e];return t===void 0?c[e]={}:t},module:function(e){return{id:e,uri:``,exports:c[e],config:C(e)}}},i=function(e,n,r,i){var a,u,f,p,m,g,v=[],x=typeof r,C;if(i||=e,g=S(i),x===`undefined`||x===`function`){for(n=!n.length&&r.length?[`require`,`exports`,`module`]:n,m=0;m<n.length;m+=1)if(p=o(n[m],g),u=p.f,u===`require`)v[m]=s.require(e);else if(u===`exports`)v[m]=s.exports(e),C=!0;else if(u===`module`)a=v[m]=s.module(e);else if(h(c,u)||h(l,u)||h(d,u))v[m]=b(u);else if(p.p)p.p.load(p.n,_(i,!0),y(u),{}),v[m]=c[u];else throw Error(e+` missing `+u);f=r?r.apply(c[e],v):void 0,e&&(a&&a.exports!==t&&a.exports!==c[e]?c[e]=a.exports:(f!==t||!C)&&(c[e]=f))}else e&&(c[e]=r)},e=n=a=function(e,n,r,c,l){if(typeof e==`string`)return s[e]?s[e](n):b(o(e,S(n)).f);if(!e.splice){if(u=e,u.deps&&a(u.deps,u.callback),!n)return;
2n.splice?(e=n,n=r,r=null):e=t}return n||=function(){},typeof r==`function`&&(r=c,c=l),c?i(t,e,n,r):setTimeout(function(){i(t,e,n,r)},4),a},a.config=function(e){return a(e)},e._defined=c,r=function(e,t,n){if(typeof e!=`string`)throw Error(`See almond README: incorrect module build, no module name`);t.splice||(n=t,t=[]),!h(c,e)&&!h(l,e)&&(l[e]=[e,t,n])},r.amd={jQuery:!0}})(),t.requirejs=e,t.require=n,t.define=r}})(),t.define(`almond`,function(){}),t.define(`jquery`,[],function(){var t=e||$;return t==null&&console&&console.error&&console.error(`Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page.`),t}),t.define(`select2/utils`,[`jquery`],function(e){var t={};t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};function n(e){var t=e.prototype,n=[];for(var r in t)typeof t[r]==`function`&&r!==`constructor`&&n.push(r);return n}t.Decorate=function(e,t){var r=n(t),i=n(e);function a(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,i=e.prototype.constructor;r>0&&(n.call(arguments,e.prototype.constructor),i=t.prototype.constructor),i.apply(this,arguments)}t.displayName=e.displayName;function o(){this.constructor=a}a.prototype=new o;for(var s=0;s<i.length;s++){var c=i[s];a.prototype[c]=e.prototype[c]}for(var l=function(e){var n=function(){};e in a.prototype&&(n=a.prototype[e]);var r=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},u=0;u<r.length;u++){var d=r[u];a.prototype[d]=l(d)}return a};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},n??=[],n.length===0&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),`*`in this.listeners&&this.invoke(this.listeners[`*`],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},t.Observable=r,t.generateChars=function(e){for(var t=``,n=0;n<e;n++){var r=Math.floor(Math.random()*36);t+=r.toString(36)}return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split(`-`),r=e;if(n.length!==1){for(var i=0;i<n.length;i++){var a=n[i];a=a.substring(0,1).toLowerCase()+a.substring(1),a in r||(r[a]={}),i==n.length-1&&(r[a]=e[t]),r=r[a]}delete e[t]}}return e},t.hasScroll=function(t,n){var r=e(n),i=n.style.overflowX,a=n.style.overflowY;return i===a&&(a===`hidden`||a===`visible`)?!1:i===`scroll`||a===`scroll`?!0:r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth},t.escapeMarkup=function(e){var t={"\\":`\`,"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`};return typeof e==`string`?String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]}):e},t.__cache={};var i=0;return t.GetUniqueElementId=function(e){var n=e.getAttribute(`data-select2-id`);return n??(n=e.id?`select2-data-`+e.id:`select2-data-`+(++i).toString()+`-`+t.generateChars(4),e.setAttribute(`data-select2-id`,n),n)},t.StoreData=function(e,n,r){var i=t.GetUniqueElementId(e);t.__cache[i]||(t.__cache[i]={}),t.__cache[i][n]=r},t.GetData=function(n,r){var i=t.GetUniqueElementId(n);return r?t.__cache[i]?t.__cache[i][r]==null?e(n).data(r):t.__cache[i][r]:e(n).data(r):t.__cache[i]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);t.__cache[n]!=null&&delete t.__cache[n],e.removeAttribute(`data-select2-id`)},t.copyNonInternalCssClasses=function(e,t){var n=e.getAttribute(`class`).trim().split(/\s+/);n=n.filter(function(e){return e.indexOf(`select2-`)===0});var r=t.getAttribute(`class`).trim().split(/\s+/);r=r.filter(function(e){return e.indexOf(`select2-`)!==0});var i=n.concat(r);e.setAttribute(`class`,i.join(` `))},t}),t.define(`select2/results`,[`jquery`,`./utils`],function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e(`<ul class="select2-results__options" role="listbox"></ul>`);return this.options.get(`multiple`)&&t.attr(`aria-multiselectable`,`true`),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get(`escapeMarkup`);this.clear(),this.hideLoading();var r=e(`<li role="alert" aria-live="assertive" class="select2-results__option"></li>`),i=this.options.get(`translations`).get(t.message);r.append(n(i(t.args))),r[0].className+=` select2-results__message`,this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(`.select2-results__message`).remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(e.results==null||e.results.length===0){this.$results.children().length===0&&this.trigger(`results:message`,{message:`noResults`});return}e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i)}this.$results.append(t)},n.prototype.position=function(e,t){t.find(`.select2-results`).append(e)},n.prototype.sort=function(e){return this.options.get(`sorter`)(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(`.select2-results__option--selectable`),t=e.filter(`.select2-results__option--selected`);t.length>0?t.first().trigger(`mouseenter`):e.first().trigger(`mouseenter`),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(r){var i=r.map(function(e){return e.id.toString()});n.$results.find(`.select2-results__option--selectable`).each(function(){var n=e(this),r=t.GetData(this,`data`),a=``+r.id;r.element!=null&&r.element.selected||r.element==null&&i.indexOf(a)>-1?(this.classList.add(`select2-results__option--selected`),n.attr(`aria-selected`,`true`)):(this.classList.remove(`select2-results__option--selected`),n.attr(`aria-selected`,`false`))})})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get(`translations`).get(`searching`)(e)},n=this.option(t);n.className+=` loading-results`,this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(`.loading-results`).remove()},n.prototype.option=function(n){var r=document.createElement(`li`);r.classList.add(`select2-results__option`),r.classList.add(`select2-results__option--selectable`);var i={role:`option`},a=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var o in(n.element!=null&&a.call(n.element,`:disabled`)||n.element==null&&n.disabled)&&(i[`aria-disabled`]=`true`,r.classList.remove(`select2-results__option--selectable`),r.classList.add(`select2-results__option--disabled`)),n.id??r.classList.remove(`select2-results__option--selectable`),n._resultId!=null&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role=`group`,i[`aria-label`]=n.text,r.classList.remove(`select2-results__option--selectable`),r.classList.add(`select2-results__option--group`)),i){var s=i[o];r.setAttribute(o,s)}
vendor: 15,700 bytes, line 2
2if(n.children){var c=e(r),l=document.createElement(`strong`);l.className=`select2-results__group`,this.template(n,l);for(var u=[],d=0;d<n.children.length;d++){var f=n.children[d],p=this.option(f);u.push(p)}var m=e(`<ul></ul>`,{class:`select2-results__options select2-results__options--nested`,role:`none`});m.append(u),c.append(l),c.append(m)}else this.template(n,r);return t.StoreData(r,`data`,n),r},n.prototype.bind=function(n,r){var i=this,a=n.id+`-results`;this.$results.attr(`id`,a),n.on(`results:all`,function(e){i.clear(),i.append(e.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),n.on(`results:append`,function(e){i.append(e.data),n.isOpen()&&i.setClasses()}),n.on(`query`,function(e){i.hideMessages(),i.showLoading(e)}),n.on(`select`,function(){n.isOpen()&&(i.setClasses(),i.options.get(`scrollAfterSelect`)&&i.highlightFirstItem())}),n.on(`unselect`,function(){n.isOpen()&&(i.setClasses(),i.options.get(`scrollAfterSelect`)&&i.highlightFirstItem())}),n.on(`open`,function(){i.$results.attr(`aria-expanded`,`true`),i.$results.attr(`aria-hidden`,`false`),i.setClasses(),i.ensureHighlightVisible()}),n.on(`close`,function(){i.$results.attr(`aria-expanded`,`false`),i.$results.attr(`aria-hidden`,`true`),i.$results.removeAttr(`aria-activedescendant`)}),n.on(`results:toggle`,function(){var e=i.getHighlightedResults();e.length!==0&&e.trigger(`mouseup`)}),n.on(`results:select`,function(){var e=i.getHighlightedResults();if(e.length!==0){var n=t.GetData(e[0],`data`);e.hasClass(`select2-results__option--selected`)?i.trigger(`close`,{}):i.trigger(`select`,{data:n})}}),n.on(`results:previous`,function(){var e=i.getHighlightedResults(),t=i.$results.find(`.select2-results__option--selectable`),n=t.index(e);if(!(n<=0)){var r=n-1;e.length===0&&(r=0);var a=t.eq(r);a.trigger(`mouseenter`);var o=i.$results.offset().top,s=a.offset().top,c=i.$results.scrollTop()+(s-o);r===0?i.$results.scrollTop(0):s-o<0&&i.$results.scrollTop(c)}}),n.on(`results:next`,function(){var e=i.getHighlightedResults(),t=i.$results.find(`.select2-results__option--selectable`),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger(`mouseenter`);var a=i.$results.offset().top+i.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),s=i.$results.scrollTop()+o-a;n===0?i.$results.scrollTop(0):o>a&&i.$results.scrollTop(s)}}),n.on(`results:focus`,function(e){e.element[0].classList.add(`select2-results__option--highlighted`),e.element[0].setAttribute(`aria-selected`,`true`)}),n.on(`results:message`,function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on(`mousewheel`,function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,a=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):a&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on(`mouseup`,`.select2-results__option--selectable`,function(n){var r=e(this),a=t.GetData(this,`data`);if(r.hasClass(`select2-results__option--selected`)){i.options.get(`multiple`)?i.trigger(`unselect`,{originalEvent:n,data:a}):i.trigger(`close`,{});return}i.trigger(`select`,{originalEvent:n,data:a})}),this.$results.on(`mouseenter`,`.select2-results__option--selectable`,function(n){var r=t.GetData(this,`data`);i.getHighlightedResults().removeClass(`select2-results__option--highlighted`).attr(`aria-selected`,`false`),i.trigger(`results:focus`,{data:r,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(`.select2-results__option--highlighted`)},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(e.length!==0){var t=this.$results.find(`.select2-results__option--selectable`).index(e),n=this.$results.offset().top,r=e.offset().top,i=this.$results.scrollTop()+(r-n),a=r-n;i-=e.outerHeight(!1)*2,t<=2?this.$results.scrollTop(0):(a>this.$results.outerHeight()||a<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(t,n){var r=this.options.get(`templateResult`),i=this.options.get(`escapeMarkup`),a=r(t,n);a==null?n.style.display=`none`:typeof a==`string`?n.innerHTML=i(a):e(n).append(a)},n}),t.define(`select2/keys`,[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define(`select2/selection/base`,[`jquery`,`../utils`,`../keys`],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e(`<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>`);return this._tabindex=0,t.GetData(this.$element[0],`old-tabindex`)==null?this.$element.attr(`tabindex`)!=null&&(this._tabindex=this.$element.attr(`tabindex`)):this._tabindex=t.GetData(this.$element[0],`old-tabindex`),n.attr(`title`,this.$element.attr(`title`)),n.attr(`tabindex`,this._tabindex),n.attr(`aria-disabled`,`false`),this.$selection=n,n},r.prototype.bind=function(e,t){var r=this,i=e.id+`-results`;this.container=e,this.$selection.on(`focus`,function(e){r.trigger(`focus`,e)}),this.$selection.on(`blur`,function(e){r._handleBlur(e)}),this.$selection.on(`keydown`,function(e){r.trigger(`keypress`,e),e.which===n.SPACE&&e.preventDefault()}),e.on(`results:focus`,function(e){r.$selection.attr(`aria-activedescendant`,e.data._resultId)}),e.on(`selection:update`,function(e){r.update(e.data)}),e.on(`open`,function(){r.$selection.attr(`aria-expanded`,`true`),r.$selection.attr(`aria-owns`,i),r._attachCloseHandler(e)}),e.on(`close`,function(){r.$selection.attr(`aria-expanded`,`false`),r.$selection.removeAttr(`aria-activedescendant`),r.$selection.removeAttr(`aria-owns`),r.$selection.trigger(`focus`),r._detachCloseHandler(e)}),e.on(`enable`,function(){r.$selection.attr(`tabindex`,r._tabindex),r.$selection.attr(`aria-disabled`,`false`)}),e.on(`disable`,function(){r.$selection.attr(`tabindex`,`-1`),r.$selection.attr(`aria-disabled`,`true`)})},r.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger(`blur`,t)},1)},r.prototype._attachCloseHandler=function(n){e(document.body).on(`mousedown.select2.`+n.id,function(n){var r=e(n.target).closest(`.select2`);e(`.select2.select2-container--open`).each(function(){this!=r[0]&&t.GetData(this,`element`).select2(`close`)})})},r.prototype._detachCloseHandler=function(t){e(document.body).off(`mousedown.select2.`+t.id)},r.prototype.position=function(e,t){t.find(`.selection`).append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get(`disabled`)},r}),t.define(`select2/selection/single`,[`jquery`,`./base`,`../utils`,`../keys`],function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add(`select2-selection--single`),e.html(`<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>`),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var r=e.id+`-container`;this.$selection.find(`.select2-selection__rendered`).attr(`id`,r).attr(`role`,`textbox`).attr(`aria-readonly`,`true`),this.$selection.attr(`aria-labelledby`,r),this.$selection.attr(`aria-controls`,r),this.$selection.on(`mousedown`,function(e){e.which===1&&n.trigger(`toggle`,{originalEvent:e})}),this.$selection.on(`focus`,function(e){}),this.$selection.on(`blur`,function(e){}),e.on(`focus`,function(t){e.isOpen()||n.$selection.trigger(`focus`)})},i.prototype.clear=function(){var e=this.$selection.find(`.select2-selection__rendered`);e.empty(),e.removeAttr(`title`)},i.prototype.display=function(e,t){var n=this.options.get(`templateSelection`);return this.options.get(`escapeMarkup`)(n(e,t))},i.prototype.selectionContainer=function(){return e(`<span></span>`)},i.prototype.update=function(e){if(e.length===0){this.clear();return}var t=e[0],n=this.$selection.find(`.select2-selection__rendered`),r=this.display(t,n);n.empty().append(r);var i=t.title||t.text;i?n.attr(`title`,i):n.removeAttr(`title`)},i}),t.define(`select2/selection/multiple`,[`jquery`,`./base`,`../utils`],function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add(`select2-selection--multiple`),e.html(`<ul class="select2-selection__rendered"></ul>`),e},r.prototype.bind=function(t,i){var a=this;r.__super__.bind.apply(this,arguments);var o=t.id+`-container`;this.$selection.find(`.select2-selection__rendered`).attr(`id`,o),this.$selection.on(`click`,function(e){a.trigger(`toggle`,{originalEvent:e})}),this.$selection.on(`click`,`.select2-selection__choice__remove`,function(t){if(!a.isDisabled()){var r=e(this).parent(),i=n.GetData(r[0],`data`);a.trigger(`unselect`,{originalEvent:t,data:i})}}),this.$selection.on(`keydown`,`.select2-selection__choice__remove`,function(e){a.isDisabled()||e.stopPropagation()})},r.prototype.clear=function(){var e=this.$selection.find(`.select2-selection__rendered`);e.empty(),e.removeAttr(`title`)},r.prototype.display=function(e,t){var n=this.options.get(`templateSelection`);return this.options.get(`escapeMarkup`)(n(e,t))},r.prototype.selectionContainer=function(){return e(`<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>`)},r.prototype.update=function(e){if(this.clear(),e.length!==0){for(var t=[],r=this.$selection.find(`.select2-selection__rendered`).attr(`id`)+`-choice-`,i=0;i<e.length;i++){var a=e[i],o=this.selectionContainer(),s=this.display(a,o),c=r+n.generateChars(4)+`-`;a.id?c+=a.id:c+=n.generateChars(4),o.find(`.select2-selection__choice__display`).append(s).attr(`id`,c);var l=a.title||a.text;l&&o.attr(`title`,l);var u=this.options.get(`translations`).get(`removeItem`),d=o.find(`.select2-selection__choice__remove`);d.attr(`title`,u()),d.attr(`aria-label`,u()),d.attr(`aria-describedby`,c),n.StoreData(o[0],`data`,a),t.push(o)}this.$selection.find(`.select2-selection__rendered`).append(t)}},r}),t.define(`select2/selection/placeholder`,[],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get(`placeholder`)),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return typeof t==`string`&&(t={id:``,text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();n.html(this.display(t)),n[0].classList.add(`select2-selection__placeholder`),n[0].classList.remove(`select2-selection__choice`);var r=t.title||t.text||n.text();return this.$selection.find(`.select2-selection__rendered`).attr(`title`,r),n},e.prototype.update=function(e,t){var n=t.length==1&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(`.select2-selection__rendered`).append(r)},e}),t.define(`select2/selection/allowClear`,[`jquery`,`../keys`,`../utils`],function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),this.placeholder==null&&this.options.get(`debug`)&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on(`mousedown`,`.select2-selection__clear`,function(e){r._handleClear(e)}),t.on(`keypress`,function(e){r._handleKeyboardClear(e,t)})},r.prototype._handleClear=function(e,t){if(!this.isDisabled()){var r=this.$selection.find(`.select2-selection__clear`);if(r.length!==0){t.stopPropagation();var i=n.GetData(r[0],`data`),a=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger(`clear`,o),o.prevented){this.$element.val(a);return}for(var s=0;s<i.length;s++)if(o={data:i[s]},this.trigger(`unselect`,o),o.prevented){this.$element.val(a);return}this.$element.trigger(`input`).trigger(`change`),this.trigger(`toggle`,{})}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||(n.which==t.DELETE||n.which==t.BACKSPACE)&&this._handleClear(n)},r.prototype.update=function(t,r){if(t.call(this,r),this.$selection.find(`.select2-selection__clear`).remove(),this.$selection[0].classList.remove(`select2-selection--clearable`),!(this.$selection.find(`.select2-selection__placeholder`).length>0||r.length===0)){var i=this.$selection.find(`.select2-selection__rendered`).attr(`id`),a=this.options.get(`translations`).get(`removeAllItems`),o=e(`<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>`);o.attr(`title`,a()),o.attr(`aria-label`,a()),o.attr(`aria-describedby`,i),n.StoreData(o[0],`data`,r),this.$selection.prepend(o),this.$selection[0].classList.add(`select2-selection--clearable`)}},r}),t.define(`select2/selection/search`,[`jquery`,`../utils`,`../keys`],function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=this.options.get(`translations`).get(`search`),r=e(`<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>`);this.$searchContainer=r,this.$search=r.find(`textarea`),this.$search.prop(`autocomplete`,this.options.get(`autocomplete`)),this.$search.attr(`aria-label`,n());var i=t.call(this);return this._transferTabIndex(),i.append(this.$searchContainer),i},r.prototype.bind=function(e,r,i){var a=this,o=r.id+`-results`,s=r.id+`-container`;e.call(this,r,i),a.$search.attr(`aria-describedby`,s),r.on(`open`,function(){a.$search.attr(`aria-controls`,o),a.$search.trigger(`focus`)}),r.on(`close`,function(){a.$search.val(``),a.resizeSearch(),a.$search.removeAttr(`aria-controls`),a.$search.removeAttr(`aria-activedescendant`),a.$search.trigger(`focus`)}),r.on(`enable`,function(){a.$search.prop(`disabled`,!1),a._transferTabIndex()}),r.on(`disable`,function(){a.$search.prop(`disabled`,!0)}),r.on(`focus`,function(e){a.$search.trigger(`focus`)}),r.on(`results:focus`,function(e){e.data._resultId?a.$search.attr(`aria-activedescendant`,e.data._resultId):a.$search.removeAttr(`aria-activedescendant`)}),this.$selection.on(`focusin`,`.select2-search--inline`,function(e){a.trigger(`focus`,e)}),this.$selection.on(`focusout`,`.select2-search--inline`,function(e){a._handleBlur(e)}),this.$selection.on(`keydown`,`.select2-search--inline`,function(e){if(e.stopPropagation(),a.trigger(`keypress`,e),a._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&a.$search.val()===``){var r=a.$selection.find(`.select2-selection__choice`).last();if(r.length>0){var i=t.GetData(r[0],`data`);a.searchRemoveChoice(i),e.preventDefault()}}}),this.$selection.on(`click`,`.select2-search--inline`,function(e){a.$search.val()&&e.stopPropagation()});var c=document.documentMode,l=c&&c<=11;this.$selection.on(`input.searchcheck`,`.select2-search--inline`,function(e){if(l){a.$selection.off(`input.search input.searchcheck`);return}
2a.$selection.off(`keyup.search`)}),this.$selection.on(`keyup.search input.search`,`.select2-search--inline`,function(e){if(l&&e.type===`input`){a.$selection.off(`input.search input.searchcheck`);return}var t=e.which;t==n.SHIFT||t==n.CTRL||t==n.ALT||t!=n.TAB&&a.handleSearch(e)})},r.prototype._transferTabIndex=function(e){this.$search.attr(`tabindex`,this.$selection.attr(`tabindex`)),this.$selection.attr(`tabindex`,`-1`)},r.prototype.createPlaceholder=function(e,t){this.$search.attr(`placeholder`,t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr(`placeholder`,``),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger(`focus`)},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger(`query`,{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger(`unselect`,{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css(`width`,`25px`);var e=`100%`;this.$search.attr(`placeholder`)===``&&(e=(this.$search.val().length+1)*.75+`em`),this.$search.css(`width`,e)},r}),t.define(`select2/selection/selectionCss`,[`../utils`],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get(`selectionCssClass`)||``;return r.indexOf(`:all:`)!==-1&&(r=r.replace(`:all:`,``),e.copyNonInternalCssClasses(n[0],this.$element[0])),n.addClass(r),n},t}),t.define(`select2/selection/eventRelay`,[`jquery`],function(e){function t(){}return t.prototype.bind=function(t,n,r){var i=this,a=[`open`,`opening`,`close`,`closing`,`select`,`selecting`,`unselect`,`unselecting`,`clear`,`clearing`],o=[`opening`,`closing`,`selecting`,`unselecting`,`clearing`];t.call(this,n,r),n.on(`*`,function(t,n){if(a.indexOf(t)!==-1){n||={};var r=e.Event(`select2:`+t,{params:n});i.$element.trigger(r),o.indexOf(t)!==-1&&(n.prevented=r.isDefaultPrevented())}})},t}),t.define(`select2/translation`,[`jquery`,`require`],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={}
2,n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r}return new n(n._cache[e])},n}),t.define(`select2/diacritics`,[],function(){return{"â¶":`A`,A:`A`,Ã:`A`,Ã:`A`,Ã:`A`,Ầ:`A`,Ấ:`A`,Ẫ:`A`,Ẩ:`A`,Ã:`A`,Ä:`A`,Ä:`A`,Ằ:`A`,Ắ:`A`,Ẵ:`A`,Ẳ:`A`,Ȧ:`A`,Ç :`A`,Ã:`A`,Ç:`A`,Ả:`A`,Ã
:`A`,Ǻ:`A`,Ç:`A`,È:`A`,È:`A`,Ạ:`A`,Ậ:`A`,Ặ:`A`,á¸:`A`,Ä:`A`,Ⱥ:`A`,Ɐ:`A`,ê²:`AA`,Ã:`AE`,Ǽ:`AE`,Ç¢:`AE`,ê´:`AO`,ê¶:`AU`,ê¸:`AV`,êº:`AV`,ê¼:`AY`,"â·":`B`,ï¼¢:`B`,á¸:`B`,á¸:`B`,á¸:`B`,É:`B`,Æ:`B`,Æ:`B`,"â¸":`C`,ï¼£:`C`,Ä:`C`,Ä:`C`,Ä:`C`,Ä:`C`,Ã:`C`,á¸:`C`,Æ:`C`,È»:`C`,ê¾:`C`,"â¹":`D`,D:`D`,á¸:`D`,Ä:`D`,á¸:`D`,á¸:`D`,á¸:`D`,á¸:`D`,Ä:`D`,Æ:`D`,Æ:`D`,Æ:`D`,ê¹:`D`,DZ:`DZ`,Ç:`DZ`,Dz:`Dz`,Ç
:`Dz`,"âº":`E`,ï¼¥:`E`,Ã:`E`,Ã:`E`,Ã:`E`,á»:`E`,Ế:`E`,á»:`E`,á»:`E`,Ẽ:`E`,Ä:`E`,á¸:`E`,á¸:`E`,Ä:`E`,Ä:`E`,Ã:`E`,Ẻ:`E`,Ä:`E`,È:`E`,È:`E`,Ẹ:`E`,á»:`E`,Ȩ:`E`,á¸:`E`,Ä:`E`,á¸:`E`,á¸:`E`,Æ:`E`,Æ:`E`,"â»":`F`,F:`F`,á¸:`F`,Æ:`F`,ê»:`F`,"â¼":`G`,ï¼§:`G`,Ç´:`G`,Ä:`G`,Ḡ:`G`,Ä:`G`,Ä :`G`,Ǧ:`G`,Ä¢:`G`,Ǥ:`G`,Æ:`G`,ê :`G`,ê½:`G`,ê¾:`G`,"â½":`H`,H:`H`,Ĥ:`H`,Ḣ:`H`,Ḧ:`H`,È:`H`,Ḥ:`H`,Ḩ:`H`,Ḫ:`H`,Ħ:`H`,â±§:`H`,â±µ:`H`,ê:`H`,"â¾":`I`,I:`I`,Ã:`I`,Ã:`I`,Ã:`I`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,İ:`I`,Ã:`I`,Ḯ:`I`,á»:`I`,Ç:`I`,È:`I`,È:`I`,á»:`I`,Ä®:`I`,Ḭ:`I`,Æ:`I`,"â¿":`J`,J:`J`,Ä´:`J`,É:`J`,"â":`K`,K:`K`,Ḱ:`K`,Ǩ:`K`,Ḳ:`K`,Ķ:`K`,Ḵ:`K`,Æ:`K`,Ⱪ:`K`,ê:`K`,ê:`K`,ê:`K`,ê¢:`K`,"â":`L`,L:`L`,Ä¿:`L`,Ĺ:`L`,Ľ:`L`,Ḷ:`L`,Ḹ:`L`,Ä»:`L`,Ḽ:`L`,Ḻ:`L`,Å:`L`,Ƚ:`L`,â±¢:`L`,â± :`L`,ê:`L`,ê:`L`,ê:`L`,Ç:`LJ`,Ç:`Lj`,"â":`M`,ï¼:`M`,Ḿ:`M`,á¹:`M`,á¹:`M`,â±®:`M`,Æ:`M`,"â":`N`,ï¼®:`N`,Ǹ:`N`,Å:`N`,Ã:`N`,á¹:`N`,Å:`N`,á¹:`N`,Å
:`N`,á¹:`N`,á¹:`N`,È :`N`,Æ:`N`,ê:`N`,ê¤:`N`,Ç:`NJ`,Ç:`Nj`,"â":`O`,O:`O`,Ã:`O`,Ã:`O`,Ã:`O`,á»:`O`,á»:`O`,á»:`O`,á»:`O`,Ã:`O`,á¹:`O`,Ȭ:`O`,á¹:`O`,Å:`O`,á¹:`O`,á¹:`O`,Å:`O`,È®:`O`,Ȱ:`O`,Ã:`O`,Ȫ:`O`,á»:`O`,Å:`O`,Ç:`O`,È:`O`,È:`O`,Æ :`O`,á»:`O`,á»:`O`,á» :`O`,á»:`O`,Ợ:`O`,á»:`O`,á»:`O`,Ǫ:`O`,Ǭ:`O`,Ã:`O`,Ǿ:`O`,Æ:`O`,Æ:`O`,ê:`O`,ê:`O`,Å:`OE`,Æ¢:`OI`,ê:`OO`,È¢:`OU`,"â
":`P`,ï¼°:`P`,á¹:`P`,á¹:`P`,Ƥ:`P`,â±£:`P`,ê:`P`,ê:`P`,ê:`P`,"â":`Q`,ï¼±:`Q`,ê:`Q`,ê:`Q`,É:`Q`,"â":`R`,ï¼²:`R`,Å:`R`,á¹:`R`,Å:`R`,È:`R`,È:`R`,á¹:`R`,á¹:`R`,Å:`R`,á¹:`R`,É:`R`,Ɽ:`R`,ê:`R`,ê¦:`R`,ê:`R`,"â":`S`,ï¼³:`S`,áº:`S`,Å:`S`,Ṥ:`S`,Å:`S`,á¹ :`S`,Å :`S`,Ṧ:`S`,á¹¢:`S`,Ṩ:`
2S`,È:`S`,Å:`S`,â±¾:`S`,ê¨:`S`,ê:`S`,"â":`T`,ï¼´:`T`,Ṫ:`T`,Ť:`T`,Ṭ:`T`,È:`T`,Å¢:`T`,á¹°:`T`,á¹®:`T`,Ŧ:`T`,Ƭ:`T`,Æ®:`T`,Ⱦ:`T`,ê:`T`,ê¨:`TZ`,"â":`U`,ï¼µ:`U`,Ã:`U`,Ã:`U`,Ã:`U`,Ũ:`U`,Ṹ:`U`,Ū:`U`,Ṻ:`U`,Ŭ:`U`,Ã:`U`,Ç:`U`,Ç:`U`,Ç:`U`,Ç:`U`,Ủ:`U`,Å®:`U`,Ű:`U`,Ç:`U`,È:`U`,È:`U`,Ư:`U`,Ừ:`U`,Ứ:`U`,á»®:`U`,Ử:`U`,á»°:`U`,Ụ:`U`,á¹²:`U`,Ų:`U`,á¹¶:`U`,á¹´:`U`,É:`U`,"â":`V`,ï¼¶:`V`,á¹¼:`V`,á¹¾:`V`,Ʋ:`V`,ê:`V`,É
:`V`,ê :`VY`,"â":`W`,ï¼·:`W`,áº:`W`,áº:`W`,Å´:`W`,áº:`W`,áº:`W`,áº:`W`,â±²:`W`,"â":`X`,X:`X`,áº:`X`,áº:`X`,"â":`Y`,ï¼¹:`Y`,Ỳ:`Y`,Ã:`Y`,Ŷ:`Y`,Ỹ:`Y`,Ȳ:`Y`,áº:`Y`,Ÿ:`Y`,á»¶:`Y`,á»´:`Y`,Ƴ:`Y`,É:`Y`,Ỿ:`Y`,"â":`Z`,Z:`Z`,Ź:`Z`,áº:`Z`,Å»:`Z`,Ž:`Z`,áº:`Z`,áº:`Z`,Ƶ:`Z`,Ȥ:`Z`,Ɀ:`Z`,Ⱬ:`Z`,ê¢:`Z`,"â":`a`,ï½:`a`,áº:`a`,à :`a`,á:`a`,â:`a`,ầ:`a`,ấ:`a`,ẫ:`a`,ẩ:`a`,ã:`a`,Ä:`a`,Ä:`a`,ằ:`a`,ắ:`a`,ẵ:`a`,ẳ:`a`,ȧ:`a`,Ç¡:`a`,ä:`a`,Ç:`a`,ả:`a`,Ã¥:`a`,Ç»:`a`,Ç:`a`,È:`a`,È:`a`,ạ:`a`,áº:`a`,ặ:`a`,á¸:`a`,Ä
:`a`,â±¥:`a`,É:`a`,ê³:`aa`,æ:`ae`,ǽ:`ae`,Ç£:`ae`,êµ:`ao`,ê·:`au`,ê¹:`av`,ê»:`av`,ê½:`ay`,"â":`b`,ï½:`b`,á¸:`b`,á¸
:`b`,á¸:`b`,Æ:`b`,Æ:`b`,É:`b`,"â":`c`,ï½:`c`,Ä:`c`,Ä:`c`,Ä:`c`,Ä:`c`,ç:`c`,á¸:`c`,Æ:`c`,ȼ:`c`,ê¿:`c`,â:`c`,"â":`d`,ï½:`d`,á¸:`d`,Ä:`d`,á¸:`d`,á¸:`d`,á¸:`d`,á¸:`d`,Ä:`d`,Æ:`d`,É:`d`,É:`d`,êº:`d`,dz:`dz`,Ç:`dz`,"â":`e`,ï½
:`e`,è:`e`,é:`e`,ê:`e`,á»:`e`,ế:`e`,á»
:`e`,á»:`e`,ẽ:`e`,Ä:`e`,á¸:`e`,á¸:`e`,Ä:`e`,Ä:`e`,ë:`e`,ẻ:`e`,Ä:`e`,È
:`e`,È:`e`,ẹ:`e`,á»:`e`,È©:`e`,á¸:`e`,Ä:`e`,á¸:`e`,á¸:`e`,É:`e`,É:`e`,Ç:`e`,"â":`f`,ï½:`f`,á¸:`f`,Æ:`f`,ê¼:`f`,"â":`g`,ï½:`g`,ǵ:`g`,Ä:`g`,ḡ:`g`,Ä:`g`,Ä¡:`g`,ǧ:`g`,Ä£:`g`,Ç¥:`g`,É :`g`,ê¡:`g`,áµ¹:`g`,ê¿:`g`,"â":`h`,ï½:`h`,Ä¥:`h`,ḣ:`h`,ḧ:`h`,È:`h`,ḥ:`h`,ḩ:`h`,ḫ:`h`,áº:`h`,ħ:`h`,ⱨ:`h`,â±¶:`h`,É¥:`h`,Æ:`hv`,"â":`i`,ï½:`i`,ì:`i`,Ã:`i`,î:`i`,Ä©:`i`,Ä«:`i`,Ä:`i`,ï:`i`,ḯ:`i`,á»:`i`,Ç:`i`,È:`i`,È:`i`,á»:`i`,į:`i`,á¸:`i`,ɨ:`i`,ı:`i`,"â":`j`,ï½:`j`,ĵ:`j`,ǰ:`j`,É:`j`,"â":`k`,ï½:`k`,ḱ:`k`,Ç©:`k`,ḳ:`k`,Ä·:`k`,ḵ:`k`,Æ:`k`,ⱪ:`k`,ê:`k`,ê:`k`,ê
:`k`,ê£:`k`,"â":`l`,ï½:`l`,Å:`l`,ĺ:`l`,ľ:`l`,ḷ:`l`,ḹ:`l`,ļ:`l`,ḽ:`l`,ḻ:`l`,Å¿:`l`,Å:`l`,Æ:`l`,É«:`l`,ⱡ:`l`,ê:`l`,ê:`l`,ê:`l`,Ç:`lj`,"â":`m`,ï½:`m`,ḿ:`m`,á¹:`m`,á¹:`m`,ɱ:`m`,ɯ:`m`,"â":`n`,ï½:`n`,ǹ:`n`,Å:`n`,ñ:`n`,á¹
:`n`,Å:`n`,á¹:`n`,Å:`n`,á¹:`n`,á¹:`n`,Æ:`n`,ɲ:`n`,Å:`n`,ê:`n`,ê¥:`n`,Ç:`nj`,"â":`o`,ï½:`o`,ò:`o`,ó:`o`,ô:`o`,á»:`o`,á»:`o`,á»:`o`,á»:`o`,õ:`o`,á¹:`o`,È:`o`,á¹:`o`,Å:`o`,á¹:`o`,á¹:`o`,Å:`o`,ȯ:`o`,ȱ:`o`,ö:`o`,È«:`o`,á»:`o`,Å:`o`,Ç:`o`,È:`o`,È:`o`,Æ¡:`o`,á»:`o`,á»:`o`,ỡ:`o`,á»:`o`,ợ:`o`,á»:`o`,á»:`o`,Ç«:`o`,Ç:`o`,ø:`o`,Ç¿:`o`,É:`o`,ê:`o`,ê:`o`,ɵ:`o`,Å:`oe`,Æ£:`oi`,È£:`ou`,ê:`oo`,"â":`p`,ï½
2:`p`,á¹:`p`,á¹:`p`,Æ¥:`p`,áµ½:`p`,ê:`p`,ê:`p`,ê:`p`,"â ":`q`,ï½:`q`,É:`q`,ê:`q`,ê:`q`,"â¡":`r`,ï½:`r`,Å:`r`,á¹:`r`,Å:`r`,È:`r`,È:`r`,á¹:`r`,á¹:`r`,Å:`r`,á¹:`r`,É:`r`,ɽ:`r`,ê:`r`,ê§:`r`,ê:`r`,"â¢":`s`,ï½:`s`,Ã:`s`,Å:`s`,á¹¥:`s`,Å:`s`,ṡ:`s`,Å¡:`s`,á¹§:`s`,á¹£:`s`,ṩ:`s`,È:`s`,Å:`s`,È¿:`s`,ê©:`s`,ê
:`s`,áº:`s`,"â£":`t`,ï½:`t`,ṫ:`t`,áº:`t`,Å¥:`t`,á¹:`t`,È:`t`,Å£:`t`,á¹±:`t`,ṯ:`t`,ŧ:`t`,Æ:`t`,Ê:`t`,ⱦ:`t`,ê:`t`,ê©:`tz`,"â¤":`u`,ï½:`u`,ù:`u`,ú:`u`,û:`u`,Å©:`u`,á¹¹:`u`,Å«:`u`,á¹»:`u`,Å:`u`,ü:`u`,Ç:`u`,Ç:`u`,Ç:`u`,Ç:`u`,á»§:`u`,ů:`u`,ű:`u`,Ç:`u`,È:`u`,È:`u`,ư:`u`,ừ:`u`,ứ:`u`,ữ:`u`,á»:`u`,á»±:`u`,ụ:`u`,á¹³:`u`,ų:`u`,á¹·:`u`,á¹µ:`u`,Ê:`u`,"â¥":`v`,ï½:`v`,á¹½:`v`,ṿ:`v`,Ê:`v`,ê:`v`,Ê:`v`,ê¡:`vy`,"â¦":`w`,ï½:`w`,áº:`w`,áº:`w`,ŵ:`w`,áº:`w`,áº
:`w`,áº:`w`,áº:`w`,â±³:`w`,"â§":`x`,ï½:`x`,áº:`x`,áº:`x`,"â¨":`y`,ï½:`y`,ỳ:`y`,ý:`y`,Å·:`y`,ỹ:`y`,ȳ:`y`,áº:`y`,ÿ:`y`,á»·:`y`,áº:`y`,ỵ:`y`,Æ´:`y`,É:`y`,ỿ:`y`,"â©":`z`,ï½:`z`,ź:`z`,áº:`z`,ż:`z`,ž:`z`,áº:`z`,áº:`z`,ƶ:`z`,È¥:`z`,É:`z`,ⱬ:`z`,ê£:`z`,Î:`Î`,Î:`Î`,Î:`Î`,Î:`Î`,Ϊ:`Î`,Î:`Î`,Î:`Î¥`,Ϋ:`Î¥`,Î:`Ω`,ά:`α`,Î:`ε`,ή:`η`,ί:`ι`,Ï:`ι`,Î:`ι`,Ï:`ο`,Ï:`Ï
`,Ï:`Ï
`,ΰ:`Ï
`,Ï:`Ï`,Ï:`Ï`,"â":`'`}}),t.define(`select2/data/base`,[`../utils`],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+`-result-`;return r+=e.generateChars(4),n.id==null?r+=`-`+e.generateChars(4):r+=`-`+n.id.toString(),r},t}),t.define(`select2/data/select`,[`./base`,`../utils`,`jquery`],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(`:checked`),function(e){return t.item(n(e))}))},r.prototype.select=function(e){var t=this;if(e.selected=!0,e.element!=null&&e.element.tagName.toLowerCase()===`option`){e.element.selected=!0,this.$element.trigger(`input`).trigger(`change`);return}if(this.$element.prop(`multiple`))this.current(function(n){var r=[];e=[e],e.push.apply(e,n);for(var i=0;i<e.length;i++){var a=e[i].id;r.indexOf(a)===-1&&r.push(a)}t.$element.val(r),t.$element.trigger(`input`).trigger(`change`)});else{var n=e.id;this.$element.val(n),this.$element.trigger(`input`).trigger(`change`)}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop(`multiple`)){if(e.selected=!1,e.element!=null&&e.element.tagName.toLowerCase()===`option`){e.element.selected=!1,this.$element.trigger(`input`).trigger(`change`);return}this.current(function(n){for(var r=[],i=0;i<n.length;i++){var a=n[i].id;a!==e.id&&r.indexOf(a)===-1&&r.push(a)}t.$element.val(r),t.$element.trigger(`input`).trigger(`change`)})}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on(`select`,function(e){n.select(e.data)}),e.on(`unselect`,function(e){n.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find(`*`).each(function(){t.RemoveData(this)})},r.prototype.query=function(e,t){var r=[],i=this;this.$element.children().each(function(){if(!(this.tagName.toLowerCase()!==`option`&&this.tagName.toLowerCase()!==`optgroup`)){var t=n(this),a=i.item(t),o=i.matches(e,a);o!==null&&r.push(o)}}),t({results:r})},r.prototype.addOptions=function(e){this.$element.append(e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement(`optgroup`),r.label=e.text):(r=document.createElement(`option`),r.textContent===void 0?r.innerText=e.text:r.textContent=e.text),e.id!==void 0&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var i=this._normalizeItem(e);return i.element=r,t.StoreData(r,`data`,i),n(r)},r.prototype.item=function(e){var r={};if(r=t.GetData(e[0],`data`),r!=null)return r;var i=e[0];if(i.tagName.toLowerCase()===`option`)r={id:e.val(),text:e.text(),disabled:e.prop(`disabled`),selected:e.prop(`selected`),title:e.prop(`title`)};else if(i.tagName.toLowerCase()===`optgroup`){r={text:e.prop(`label`),children:[],title:e.prop(`title`)};for(var a=e.children(`option`),o=[],s=0;s<a.length;s++){var c=n(a[s]),l=this.item(c);o.push(l)}r.children=o}return r=this._normalizeItem(r),r.element=e[0],t.StoreData(e[0],`data`,r),r},r.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),e=n.extend({},{text:``},e),e.id!=null&&(e.id=e.id.toString()),e.text!=null&&(e.text=e.text.toString()),e._resultId==null&&e.id&&this.container!=null&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},r.prototype.matches=function(e,t){return this.options.get(`matcher`)(e,t)},r}),t.define(`select2/data/array`,[`./select`,`../utils`,`jquery`],function(e,t,n){function r(e,t){this._dataToConvert=t.get(`data`)||[],r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(e){var t=this.$element.find(`option`).filter(function(t,n){return n.value==e.id.toString()});t.length===0&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var t=this,r=this.$element.find(`option`),i=r.map(function(){return t.item(n(this)).id}).get(),a=[];function o(e){return function(){return n(this).val()==e.id}}for(var s=0;s<e.length;s++){var c=this._normalizeItem(e[s]);if(i.indexOf(c.id)>=0){var l=r.filter(o(c)),u=this.item(l),d=n.extend(!0,{},c,u),f=this.option(d);l.replaceWith(f);continue}var p=this.option(c);if(c.children){var m=this.convertToOptions(c.children);p.append(m)}a.push(p)}return a},r}),t.define(`select2/data/ajax`,[`./array`,`../utils`,`jquery`],function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get(`ajax`)),this.ajaxOptions.processResults!=null&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){return n.extend({},{data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var i=n.ajax(e);return i.then(t),i.fail(r),i}},e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){var r=this;this._request!=null&&(typeof this._request.abort==`function`&&this._request.abort(),this._request=null);var i=n.extend({type:`GET`},this.ajaxOptions);typeof i.url==`function`&&(i.url=i.url.call(this.$element,e)),typeof i.data==`function`&&(i.data=i.data.call(this.$element,e));function a(){var n=i.transport(i,function(n){var i=r.processResults(n,e);r.options.get(`debug`)&&window.console&&console.error&&(!i||!i.results||!Array.isArray(i.results))&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),t(i)},function(){`status`in n&&(n.status===0||n.status===`0`)||r.trigger(`results:message`,{message:`errorLoading`})});r._request=n}this.ajaxOptions.delay&&e.term!=null?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(a,this.ajaxOptions.delay)):a()},r}),t.define(`select2/data/tags`,[`jquery`],function(e){function t(e,t,n){var r=n.get(`tags`),i=n.get(`createTag`);i!==void 0&&(this.createTag=i);var a=n.get(`insertTag`);if(a!==void 0&&(this.insertTag=a),e.call(this,t,n),Array.isArray(r))for(var o=0;o<r.length;o++){var s=r[o],c=this._normalizeItem(s),l=this.option(c);this.$element.append(l)}}return t.prototype.query=function(e,t,n){var r=this;if(this._removeOldTags(),t.term==null||t.page!=null){e.call(this,t,n);return}function i(e,a){for(var o=e.results,s=0;s<o.length;s++){var c=o[s],l=c.children!=null&&!i({results:c.children},!0);if((c.text||``).toUpperCase()===(t.term||``).toUpperCase()||l){if(a)return!1;e.data=o,n(e);return}}if(a)return!0;var u=r.createTag(t);if(u!=null){var d=r.option(u);d.attr(`data-select2-tag`,`true`),r.addOptions([d]),r.insertTag(o,u)}e.results=o,n(e)}e.call(this,t,i)},t.prototype.createTag=function(e,t){if(t.term==null)return null;var n=t.term.trim();return n===``?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find(`option[data-select2-tag]`).each(function(){this.selected||e(this).remove()})},t}),t.define(`select2/data/tokenizer`,[`jquery`],function(e){function t(e,t,n){var r=n.get(`tokenizer`);r!==void 0&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(`.select2-search__field`)},t.prototype.query=function(t,n,r){var i=this;function a(t){var n=i._normalizeItem(t);if(!i.$element.find(`option`).filter(function(){return e(this).val()===n.id}).length){var r=i.option(n);r.attr(`data-select2-tag`,!0),i._removeOldTags(),i.addOptions([r])}o(n)}function o(e){i.trigger(`select`,{data:e})}n.term=n.term||``;var s=this.tokenizer(n,this.options,a);s.term!==n.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.trigger(`focus`)),n.term=s.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,i){for(var a=r.get(`tokenSeparators`)||[],o=n.term,s=0,c=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(a.indexOf(l)===-1){s++;continue}var u=o.substr(0,s),d=c(e.extend({},n,{term:u}));if(d==null){s++;continue}i(d),o=o.substr(s+1)||``,s=0}return{term:o}},t}),t.define(`select2/data/minimumInputLength`,[],function(){function e(e,t,n){this.minimumInputLength=n.get(`minimumInputLength`),e.call(this,t,n)}return e.prototype.query=function(e,t,n){if(t.term=t.term||``,t.term.length<this.minimumInputLength){this.trigger(`results:message`,{message:`inputTooShort`,args:{minimum:this.minimumInputLength,input:t.term,params:t}});return}e.call(this,t,n)},e}),t.define(`select2/data/maximumInputLength`,[],function(){function e(e,t,n){this.maximumInputLength=n.get(`maximumInputLength`),e.call(this,t,n)}return e.prototype.query=function(e,t,n){if(t.term=t.term||``,this.maximumInputLength>0&&t.term.length>this.maximumInputLength){this.trigger(`results:message`,{message:`inputTooLong`,args:{maximum:this.maximumInputLength,input:t.term,params:t}});return}e.call(this,t,n)},e}),t.define(`select2/data/maximumSelectionLength`,[],function(){function e(e,t,n){this.maximumSelectionLength=n.get(`maximumSelectionLength`),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`select`,function(){r._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected(function(){e.call(r,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){var r=e==null?0:e.length;if(n.maximumSelectionLength>0&&r>=n.maximumSelectionLength){n.trigger(`results:message`,{message:`maximumSelected`,args:{maximum:n.maximumSelectionLength}});return}t&&t()})},e}),t.define(`select2/dropdown`,[`jquery`,`./utils`],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e(`<span class="select2-dropdown"><span class="select2-results"></span></span>`);return t.attr(`dir`,this.options.get(`dir`)),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define(`select2/dropdown/search`,[`jquery`],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get(`translations`).get(`search`),i=e(`<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>`);return this.$searchContainer=i,this.$search=i.find(`input`),this.$search.prop(`autocomplete`,this.options.get(`autocomplete`)),this.$search.attr(`aria-label`,r()),n.prepend(i),n},t.prototype.bind=function(t,n,r){var i=this,a=n.id+`-results`;t.call(this,n,r),this.$search.on(`keydown`,function(e){i.trigger(`keypress`,e),i._keyUpPrevented=e.isDefaultPrevented()}
vendor: 5,468 bytes, line 2
2),this.$search.on(`input`,function(t){e(this).off(`keyup`)}),this.$search.on(`keyup input`,function(e){i.handleSearch(e)}),n.on(`open`,function(){i.$search.attr(`tabindex`,0),i.$search.attr(`aria-controls`,a),i.$search.trigger(`focus`),window.setTimeout(function(){i.$search.trigger(`focus`)},0)}),n.on(`close`,function(){i.$search.attr(`tabindex`,-1),i.$search.removeAttr(`aria-controls`),i.$search.removeAttr(`aria-activedescendant`),i.$search.val(``),i.$search.trigger(`blur`)}),n.on(`focus`,function(){n.isOpen()||i.$search.trigger(`focus`)}),n.on(`results:all`,function(e){(e.query.term==null||e.query.term===``)&&(i.showSearch(e)?i.$searchContainer[0].classList.remove(`select2-search--hide`):i.$searchContainer[0].classList.add(`select2-search--hide`))}),n.on(`results:focus`,function(e){e.data._resultId?i.$search.attr(`aria-activedescendant`,e.data._resultId):i.$search.removeAttr(`aria-activedescendant`)})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger(`query`,{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),t.define(`select2/dropdown/hidePlaceholder`,[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get(`placeholder`)),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return typeof t==`string`&&(t={id:``,text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),t.define(`select2/dropdown/infiniteScroll`,[`jquery`],function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`query`,function(e){r.lastParams=e,r.loading=!0}),t.on(`query:append`,function(e){r.lastParams=e,r.loading=!0}),this.$results.on(`scroll`,this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);if(!(this.loading||!t)){var n=this.$results.offset().top+this.$results.outerHeight(!1),r=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1);n+50>=r&&this.loadMore()}},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger(`query:append`,t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e(`<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>`),n=this.options.get(`translations`).get(`loadingMore`);return t.html(n(this.lastParams)),t},t}),t.define(`select2/dropdown/attachBody`,[`jquery`,`../utils`],function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get(`dropdownParent`)||document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`open`,function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)}),t.on(`close`,function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on(`mousedown`,function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr(`class`,n.attr(`class`)),t[0].classList.remove(`select2`),t[0].classList.add(`select2-container--open`),t.css({position:`absolute`,top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e(`<span></span>`),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on(`results:all`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`results:append`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`results:message`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`select`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`unselect`,function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,a=`scroll.select2.`+r.id,o=`resize.select2.`+r.id,s=`orientationchange.select2.`+r.id,c=this.$container.parents().filter(t.hasScroll);c.each(function(){t.StoreData(this,`select2-scroll-position`,{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),c.on(a,function(n){var r=t.GetData(this,`select2-scroll-position`);e(this).scrollTop(r.y)}),e(window).on(a+` `+o+` `+s,function(e){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,r){var i=`scroll.select2.`+r.id,a=`resize.select2.`+r.id,o=`orientationchange.select2.`+r.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+` `+a+` `+o)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown[0].classList.contains(`select2-dropdown--above`),r=this.$dropdown[0].classList.contains(`select2-dropdown--below`),i=null,a=this.$container.offset();a.bottom=a.top+this.$container.outerHeight(!1);
2var o={height:this.$container.outerHeight(!1)};o.top=a.top,o.bottom=a.top+o.height;var s={height:this.$dropdown.outerHeight(!1)},c={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},l=c.top<a.top-s.height,u=c.bottom>a.bottom+s.height,d={left:a.left,top:o.bottom},f=this.$dropdownParent;f.css(`position`)===`static`&&(f=f.offsetParent());var p={top:0,left:0};(e.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),d.top-=p.top,d.left-=p.left,!n&&!r&&(i=`below`),!u&&l&&!n?i=`above`:!l&&u&&n&&(i=`below`),(i==`above`||n&&i!==`below`)&&(d.top=o.top-p.top-s.height),i!=null&&(this.$dropdown[0].classList.remove(`select2-dropdown--below`),this.$dropdown[0].classList.remove(`select2-dropdown--above`),this.$dropdown[0].classList.add(`select2-dropdown--`+i),this.$container[0].classList.remove(`select2-container--below`),this.$container[0].classList.remove(`select2-container--above`),this.$container[0].classList.add(`select2-container--`+i)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+`px`};this.options.get(`dropdownAutoWidth`)&&(e.minWidth=e.width,e.position=`relative`,e.width=`auto`),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define(`select2/dropdown/minimumResultsForSearch`,[],function(){function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++}return n}function t(e,t,n,r){this.minimumResultsForSearch=n.get(`minimumResultsForSearch`),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return t.prototype.showSearch=function(t,n){return e(n.data.results)<this.minimumResultsForSearch?!1:t.call(this,n)},t}),t.define(`select2/dropdown/selectOnClose`,[`../utils`],function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`close`,function(e){r._handleSelectOnClose(e)})},t.prototype._handleSelectOnClose=function(t,n){if(n&&n.originalSelect2Event!=null){var r=n.originalSelect2Event;if(r._type===`select`||r._type===`unselect`)return}var i=this.getHighlightedResults();if(!(i.length<1)){var a=e.GetData(i[0],`data`);a.element!=null&&a.element.selected||a.element==null&&a.selected||this.trigger(`select`,{data:a})}},t}),t.define(`select2/dropdown/closeOnSelect`,[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`select`,function(e){r._selectTriggered(e)}),t.on(`unselect`,function(e){r._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger(`close`,{originalEvent:n,originalSelect2Event:t})},e}),t.define(`select2/dropdown/dropdownCss`,[`../utils`],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get(`dropdownCssClass`)||``;return r.indexOf(`:all:`)!==-1&&(r=r.replace(`:all:`,``),e.copyNonInternalCssClasses(n[0],this.$element[0])),n.addClass(r),n},t}),t.define(`select2/dropdown/tagsSearchHighlight`,[`../utils`],function(e){function t(){}return t.prototype.highlightFirstItem=function(t){var n=this.$results.find(`.select2-results__option--selectable:not(.select2-results__option--selected)`);if(n.length>0){var r=n.first(),i=e.GetData(r[0],`data`).element;if(i&&i.getAttribute&&i.getAttribute(`data-select2-tag`)===`true`){r.trigger(`mouseenter`);return}}t.call(this)},t}),t.define(`select2/i18n/en`,[],function(){return{errorLoading:function(){return`The results could not be loaded.`},inputTooLong:function(e){var t=e.input.length-e.maximum,n=`Please delete `+t+` character`;return t!=1&&(n+=`s`),n},inputTooShort:function(e){return`Please enter `+(e.minimum-e.input.length)+` or more characters`},loadingMore:function(){return`Loading more resultsâ¦`},maximumSelected:function(e){var t=`You can only select `+e.maximum+` item`;return e.maximum!=1&&(t+=`s`),t},noResults:function(){return`No results found`},searching:function(){return`Searchingâ¦`},removeAllItems:function(){return`Remove all items`},removeItem:function(){return`Remove item`},search:function(){return`Search`}}}),t.define(`select2/defaults`,`jquery,./results,./selection/single,./selection/multiple,./selection/placeholder,./selection/allowClear,./selection/search,./selection/selectionCss,./selection/eventRelay,./utils,./translation,./diacritics,./data/select,./data/array,./data/ajax,./data/tags,./data/tokenizer,./data/minimumInputLength,./data/maximumInputLength,./data/maximumSelectionLength,./dropdown,./dropdown/search,./dropdown/hidePlaceholder,./dropdown/infiniteScroll,./dropdown/attachBody,./dropdown/minimumResultsForSearch,./dropdown/selectOnClose,./dropdown/closeOnSelect,./dropdown/dropdownCss,./dropdown/tagsSearchHighlight,./i18n/en`.split(`,`),function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,ee,te,ne,re,E){function D(){this.reset()}return D.prototype.apply=function(u){if(u=e.extend(!0,{},this.defaults,u),u.dataAdapter??(u.ajax==null?u.data==null?u.dataAdapter=f:u.dataAdapter=p:u.dataAdapter=m,u.minimumInputLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,_)),u.maximumInputLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,v)),u.maximumSelectionLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,y)),u.tags&&(u.dataAdapter=l.Decorate(u.dataAdapter,h)),(u.tokenSeparators!=null||u.tokenizer!=null)&&(u.dataAdapter=l.Decorate(u.dataAdapter,g))),u.resultsAdapter??(u.resultsAdapter=t,u.ajax!=null&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,C)),u.placeholder!=null&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,S)),u.selectOnClose&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,ee)),u.tags&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,re))),u.dropdownAdapter==null){if(u.multiple)u.dropdownAdapter=b;else{var d=l.Decorate(b,x);u.dropdownAdapter=d}u.minimumResultsForSearch!==0&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,T)),u.closeOnSelect&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,te)),u.dropdownCssClass!=null&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,ne)),u.dropdownAdapter=l.Decorate(u.dropdownAdapter,w)}u.selectionAdapter??(u.multiple?u.selectionAdapter=r:u.selectionAdapter=n,u.placeholder!=null&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,i)),u.allowClear&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,a)),u.multiple&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,o)),u.selectionCssClass!=null&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,s
2)),u.selectionAdapter=l.Decorate(u.selectionAdapter,c)),u.language=this._resolveLanguage(u.language),u.language.push(`en`);for(var E=[],D=0;D<u.language.length;D++){var ie=u.language[D];E.indexOf(ie)===-1&&E.push(ie)}return u.language=E,u.translations=this._processTranslations(u.language,u.debug),u},D.prototype.reset=function(){function t(e){function t(e){return d[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(r,i){if(r.term==null||r.term.trim()===``)return i;if(i.children&&i.children.length>0){for(var a=e.extend(!0,{},i),o=i.children.length-1;o>=0;o--){var s=i.children[o];n(r,s)??a.children.splice(o,1)}return a.children.length>0?a:n(r,a)}var c=t(i.text).toUpperCase(),l=t(r.term).toUpperCase();return c.indexOf(l)>-1?i:null}this.defaults={amdLanguageBase:`./i18n/`,autocomplete:`off`,closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:`default`,width:`resolve`}},D.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,i=t.prop(`lang`),a=t.closest(`[lang]`).prop(`lang`);return e.language=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(a)),e},D.prototype._resolveLanguage=function(t){if(!t||e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];for(var n=Array.isArray(t)?t:[t],r=[],i=0;i<n.length;i++)if(r.push(n[i]),typeof n[i]==`string`&&n[i].indexOf(`-`)>0){var a=n[i].split(`-`)[0];r.push(a)}return r},D.prototype._processTranslations=function(t,n){for(var r=new u,i=0;i<t.length;i++){var a=new u,o=t[i];if(typeof o==`string`)try{a=u.loadPath(o)}catch{try{o=this.defaults.amdLanguageBase+o,a=u.loadPath(o)}catch{n&&window.console&&console.warn&&console.warn(`Select2: The language file for "`+o+`" could not be automatically loaded. A fallback will be used instead.`)}}else a=e.isPlainObject(o)?new u(o):o;r.extend(a)}return r},D.prototype.set=function(t,n){var r=e.camelCase(t),i={};i[r]=n;var a=l._convertData(i);e.extend(!0,this.defaults,a)},new D}),t.define(`select2/options`,[`jquery`,`./defaults`,`./utils`],function(e,t,n){function r(e,n){this.options=e,n!=null&&this.fromElement(n),n!=null&&(this.options=t.applyFromElement(this.options,n)),this.options=t.apply(this.options)}return r.prototype.fromElement=function(t){var r=[`select2`];this.options.multiple??(this.options.multiple=t.prop(`multiple`)),this.options.disabled??(this.options.disabled=t.prop(`disabled`)),this.options.autocomplete==null&&t.prop(`autocomplete`)&&(this.options.autocomplete=t.prop(`autocomplete`)),this.options.dir??(t.prop(`dir`)?this.options.dir=t.prop(`dir`):t.closest(`[dir]`).prop(`dir`)?this.options.dir=t.closest(`[dir]`).prop(`dir`):this.options.dir=`ltr`),t.prop(`disabled`,this.options.disabled),t.prop(`multiple`,this.options.multiple),n.GetData(t[0],`select2Tags`)&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(t[0],`data`,n.GetData(t[0],`select2Tags`)),n.StoreData(t[0],`tags`,!0)),n.GetData(t[0],`ajaxUrl`)&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr(`ajax--url`,n.GetData(t[0],`ajaxUrl`)),n.StoreData(t[0],`ajax-Url`,n.GetData(t[0],`ajaxUrl`)));var i={};function a(e,t){return t.toUpperCase()}for(var o=0;o<t[0].attributes.length;o++){var s=t[0].attributes[o].name,c=`data-`;if(s.substr(0,c.length)==c){var l=s.substring(c.length),u=n.GetData(t[0],l),d=l.replace(/-([a-z])/g,a);i[d]=u}}e.fn.jquery&&e.fn.jquery.substr(0,2)==`1.`&&t[0].dataset&&(i=e.extend(!0,{},t[0].dataset,i));var f=e.extend(!0,{},n.GetData(t[0]),i);for(var p in f=n._convertData(f),f)r.indexOf(p)>-1||(e.isPlainObject(this.options[p])?e.extend(this.options[p],f[p]):this.options[p]=f[p]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r}),t.define(`select2/core`,[`jquery`,`./options`,`./utils`,`./keys`],function(e,t,n,r){var i=function(e,r){n.GetData(e[0],`select2`)!=null&&n.GetData(e[0],`select2`).destroy(),this.$element=e,this.id=this._generateId(e),r||={},this.options=new t(r,e),i.__super__.constructor.call(this);var a=e.attr(`tabindex`)||0;n.StoreData(e[0],`old-tabindex`,a),e.attr(`tabindex`,`-1`);var o=this.options.get(`dataAdapter`);this.dataAdapter=new o(e,this.options);var s=this.render();this._placeContainer(s);var c=this.options.get(`selectionAdapter`);this.selection=new c(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get(`dropdownAdapter`);this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get(`resultsAdapter`);this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){d.trigger(`selection:update`,{data:e})}),e[0].classList.add(`select2-hidden-accessible`),e.attr(`aria-hidden`,`true`),this._syncAttributes(),n.StoreData(e[0],`select2`,this),e.data(`select2`,this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){var t=``;return t=e.attr(`id`)==null?e.attr(`name`)==null?n.generateChars(4):e.attr(`name`)+`-`+n.generateChars(2):e.attr(`id`),t=t.replace(/(:|\.|\[|\]|,)/g,``),t=`select2-`+t,t},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get(`width`));t!=null&&e.css(`width`,t)},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(t==`resolve`)return this._resolveWidth(e,`style`)??this._resolveWidth(e,`element`);if(t==`element`){var r=e.outerWidth(!1);return r<=0?`auto`:r+`px`}if(t==`style`){var i=e.attr(`style`);if(typeof i!=`string`)return null;for(var a=i.split(`;`),o=0,s=a.length;o<s;o+=1){var c=a[o].replace(/\s/g,``).match(n);if(c!==null&&c.length>=1)return c[1]}return null}return t==`computedstyle`?window.getComputedStyle(e[0]).width:t},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var e=this;this.$element.on(`change.select2`,function(){e.dataAdapter.current(function(t){e.trigger(`selection:update`,{data:t})})}),this.$element.on(`focus.select2`,function(t){e.trigger(`focus`,t)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(t){e._syncA(),e._syncS(t)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on(`*`,function(t,n){e.trigger(t,n)})},i.prototype._registerSelectionEvents=function(){var e=this,t=[`toggle`,`focus`];this.selection.on(`toggle`,function(){e.toggleDropdown()}),this.selection.on(`focus`,function(t){e.focus(t)}),this.selection.on(`*`,function(n,r){t.indexOf(n)===-1&&e.trigger(n,r)})},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on(`*`,function(t,n){e.trigger(t,n)})},i.prototype._registerResultsEvents=function(){var e=this;this.results.on(`*`,function(t,n){e.trigger(t,n)})},i.prototype._registerEvents=function(){var e=this;this.on(`open`,function(){e.$container[0].classList.add(`select2-container--open`)}),this.on(`close`,function(){e.$container[0].classList.remove(`select2-container--open`)}),this.on(`enable`,function(){e.$container[0].classList.remove(`select2-container--disabled`)}),this.on(`disable`,function(){e.$container[0].classList.add(`select2-container--disabled`)}),this.on(`blur`,function(){e.$container[0].classList.remove(`select2-container--focus`)}
2),this.on(`query`,function(t){e.isOpen()||e.trigger(`open`,{}),this.dataAdapter.query(t,function(n){e.trigger(`results:all`,{data:n,query:t})})}),this.on(`query:append`,function(t){this.dataAdapter.query(t,function(n){e.trigger(`results:append`,{data:n,query:t})})}),this.on(`keypress`,function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.UP&&t.altKey?(e.close(t),t.preventDefault()):n===r.ENTER||n===r.TAB?(e.trigger(`results:select`,{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger(`results:toggle`,{}),t.preventDefault()):n===r.UP?(e.trigger(`results:previous`,{}),t.preventDefault()):n===r.DOWN&&(e.trigger(`results:next`,{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set(`disabled`,this.$element.prop(`disabled`)),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger(`disable`,{})):this.trigger(`enable`,{})},i.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&e.addedNodes.length>0){for(var n=0;n<e.addedNodes.length;n++)if(e.addedNodes[n].selected)return!0}else if(e.removedNodes&&e.removedNodes.length>0)return!0;else if(Array.isArray(e))return e.some(function(e){return t._isChangeMutation(e)});return!1},i.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),n=this;t&&this.dataAdapter.current(function(e){n.trigger(`selection:update`,{data:e})})},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:`opening`,close:`closing`,select:`selecting`,unselect:`unselecting`,clear:`clearing`};if(t===void 0&&(t={}),e in r){var a=r[e],o={prevented:!1,name:e,args:t};if(n.call(this,a,o),o.prevented){t.prevented=!0;return}}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger(`query`,{})},i.prototype.close=function(e){this.isOpen()&&this.trigger(`close`,{originalEvent:e})},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get(`disabled`)},i.prototype.isOpen=function(){return this.$container[0].classList.contains(`select2-container--open`)},i.prototype.hasFocus=function(){return this.$container[0].classList.contains(`select2-container--focus`)},i.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add(`select2-container--focus`),this.trigger(`focus`,{}))},i.prototype.enable=function(e){this.options.get(`debug`)&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(e==null||e.length===0)&&(e=[!0]);var t=!e[0];this.$element.prop(`disabled`,t)},i.prototype.data=function(){this.options.get(`debug`)&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},i.prototype.val=function(e){if(this.options.get(`debug`)&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),e==null||e.length===0)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map(function(e){return e.toString()})),this.$element.val(t).trigger(`input`).trigger(`change`)},i.prototype.destroy=function(){n.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(`.select2`),this.$element.attr(`tabindex`,n.GetData(this.$element[0],`old-tabindex`)),this.$element[0].classList.remove(`select2-hidden-accessible`),this.$element.attr(`aria-hidden`,`false`),n.RemoveData(this.$element[0]),this.$element.removeData(`select2`),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var t=e(`<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>`);return t.attr(`dir`,this.options.get(`dir`)),this.$container=t,this.$container[0].classList.add(`select2-container--`+this.options.get(`theme`)),n.StoreData(t[0],`element`,this.$element),t},i}),t.define(`jquery-mousewheel`,[`jquery`],function(e){return e}),t.define(`jquery.select2`,[`jquery`,`jquery-mousewheel`,`./select2/core`,`./select2/defaults`,`./select2/utils`],function(e,t,n,r,i){if(e.fn.select2==null){var a=[`open`,`close`,`destroy`];e.fn.select2=function(t){if(t||={},typeof t==`object`)return this.each(function(){var r=e.extend(!0,{},t);new n(e(this),r)}),this;if(typeof t==`string`){var r,o=Array.prototype.slice.call(arguments,1
2);return this.each(function(){var e=i.GetData(this,`select2`);e==null&&window.console&&console.error&&console.error(`The select2('`+t+`') method was called on an element that is not using Select2.`),r=e[t].apply(e,o)}),a.indexOf(t)>-1?this:r}else throw Error(`Invalid arguments for Select2: `+t)}}return e.fn.select2.defaults??(e.fn.select2.defaults=r),n}),{define:t.define,require:t.require}}(),n=t.require(`jquery.select2`);return e.fn.select2.amd=t,n})}))(),1).default)(p.default);var b={multiselect:`.js-example-basic-multiple`,actionPanel:`.js-action-panel`};(0,p.default)(function(){(0,p.default)(b.multiselect).each(function(){x((0,p.default)(this))}),(0,p.default)(b.actionPanel).each(function(){S((0,p.default)(this))})});var x=function(e){e.select2({width:`resolve`})},S=function(e){var t=(0,p.default)(`.site-footer`),n=e.outerHeight(),r=(0,p.default)(e).parents(`.enrollment`),i=function(){var n=document.documentElement.scrollTop,r=document.documentElement.scrollTop+(0,p.default)(window).height(),i=t.offset().top,a=i+t.height();i>n?i<r&&e.css(`bottom`,r-i+`px`):a>n&&e.css(`bottom`,a-n+`px`)};r.length&&r.css(`padding-bottom`,n+`px`),C(t[0])&&i();function a(){C(t[0])?i():e.css(`bottom`,`0px`)}window.addEventListener(`scroll`,a),window.addEventListener(`resize`,a)};function C(e){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth,i=t.top<=n&&t.top+t.height>=0,a=t.left<=r&&t.left+t.width>=0;return i&&a}var w=e(t(((e,t)=>{(function(e,n,r){if(!e)return;for(var i={8:`backspace`,9:`tab`,13:`enter`,16:`shift`,17:`ctrl`,18:`alt`,20:`capslock`,27:`esc`,32:`space`,33:`pageup`,34:`pagedown`,35:`end`,36:`home`,37:`left`,38:`up`,39:`right`,40:`down`,45:`ins`,46:`del`,91:`meta`,93:`meta`,224:`meta`},a={106:`*`,107:`+`,109:`-`,110:`.`,111:`/`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},o={"~":"`","!":`1`,"@":`2`,"#":`3`,$:`4`,"%":`5`,"^":`6`,"&":`7`,"*":`8`,"(":`9`,")":`0`,_:`-`,"+":`=`,":":`;`,'"':`'`,"<":`,`,">":`.`,"?":`/`,"|":`\\`},s={option:`alt`,command:`meta`,return:`enter`,escape:`esc`,plus:`+`,mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?`meta`:`ctrl`},c,l=1;l<20;++l)i[111+l]=`f`+l;for(l=0;l<=9;++l)i[l+96]=l.toString();function u(e,t,n){if(e.addEventListener){e.addEventListener(t,n,!1);return}e.attachEvent(`on`+t,n)}function d(e){if(e.type==`keypress`){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return i[e.which]?i[e.which]:a[e.which]?a[e.which]:String.fromCharCode(e.which).toLowerCase()}function f(e,t){return e.sort().join(`,`)===t.sort().join(`,`)}function p(e){var t=[];return e.shiftKey&&t.push(`shift`),e.altKey&&t.push(`alt`),e.ctrlKey&&t.push(`ctrl`),e.metaKey&&t.push(`meta`),t}function m(e){if(e.preventDefault){e.preventDefault();return}e.returnValue=!1}function h(e){if(e.stopPropagation){e.stopPropagation();return}e.cancelBubble=!0}function g(e){return e==`shift`||e==`ctrl`||e==`alt`||e==`meta`}function _(){if(!c)for(var e in c={},i)e>95&&e<112||i.hasOwnProperty(e)&&(c[i[e]]=e);return c}function v(e,t,n){return n||=_()[e]?`keydown`:`keypress`,n==`keypress`&&t.length&&(n=`keydown`),n}function y(e){return e===`+`?[`+`]:(e=e.replace(/\+{2}/g,`+plus`),e.split(`+`))}function b(e,t){var n,r,i,a=[];for(n=y(e),i=0;i<n.length;++i)r=n[i],s[r]&&(r=s[r]),t&&t!=`keypress`&&o[r]&&(r=o[r],a.push(`shift`)),g(r)&&a.push(r);return t=v(r,a,t),{key:r,modifiers:a,action:t}}function x(e,t){return e===null||e===n?!1:e===t?!0:x(e.parentNode,t)}function S(e){var t=this;if(e||=n,!(t instanceof S))return new S(e);t.target=e,t._callbacks={},t._directMap={};var r={},i,a=!1,o=!1,s=!1;function c(e){e||={};var t=!1,n;for(n in r){if(e[n]){t=!0;continue}r[n]=0}t||(s=!1)}function l(e,n,i,a,o,s){var c,l,u=[],d=i.type;if(!t._callbacks[e])return[];for(d==`keyup`&&g(e)&&(n=[e]),c=0;c<t._callbacks[e].length;++c)if(l=t._callbacks[e][c],!(!a&&l.seq&&r[l.seq]!=l.level)&&d==l.action&&(d==`keypress`&&!i.metaKey&&!i.ctrlKey||f(n,l.modifiers))){var p=!a&&l.combo==o,m=a&&l.seq==a&&l.level==s;(p||m)&&t._callbacks[e].splice(c,1),u.push(l)}return u}function _(e,n,r,i){t.stopCallback(n,n.target||n.srcElement,r,i)||e(n,r)===!1&&(m(n),h(n))}t._handleKey=function(e,t,n){var r=l(e,t,n),i,a={},u=0,d=!1;for(i=0;i<r.length;++i)r[i].seq&&(u=Math.max(u,r[i].level));for(i=0;i<r.length;++i){if(r[i].seq){if(r[i].level!=u)continue;d=!0,a[r[i].seq]=1,_(r[i].callback,n,r[i].combo,r[i].seq);continue}d||_(r[i].callback,n,r[i].combo)}var f=n.type==`keypress`&&o;n.type==s&&!g(e)&&!f&&c(a),o=d&&n.type==`keydown`};function v(e){typeof e.which!=`number`&&(e.which=e.keyCode);var n=d(e);if(n){if(e.type==`keyup`&&a===n){a=!1;return}t.handleKey(n,p(e),e)}}function y(){clearTimeout(i),i=setTimeout(c,1e3)}function x(e,t,n,i){r[e]=0;function o(t){return function(){s=t,++r[e],y()}}function l(t){_(n,t,e),i!==`keyup`&&(a=d(t)),setTimeout(c,10)}for(var u=0;u<t.length;++u){var f=u+1===t.length?l:o(i||b(t[u+1]).action);C(t[u],f,i,e,u)}}function C(e,n,r,i,a){t._directMap[e+`:`+r]=n,e=e.replace(/\s+/g,` `);var o=e.split(` `),s;if(o.length>1){x(e,o,n,r);return}s=b(e,r),t._callbacks[s.key]=t._callbacks[s.key]||[],l(s.key,s.modifiers,{type:s.action},i,e,a),t._callbacks[s.key][i?`unshift`:`push`]({callback:n,modifiers:s.modifiers,action:s.action,seq:i,level:a,combo:e})}t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)C(e[r],t,n)},u(e,`keypress`,v),u(e,`keydown`,v),u(e,`keyup`,v)}S.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},S.prototype.unbind=function(e,t){var n=this;return n.bind.call(n,e,function(){},t)},S.prototype.trigger=function(e,t){var n=this;return n._directMap[e+`:`+t]&&n._directMap[e+`:`+t]({},e),n},S.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},S.prototype.stopCallback=function(e,t){var n=this;if((` `+t.className+` `).indexOf(` mousetrap `)>-1||x(t,n.target))return!1;if(`composedPath`in e&&typeof e.composedPath==`function`){var r=e.composedPath()[0];r!==e.target&&(t=r)}return t.tagName==`INPUT`||t.tagName==`SELECT`||t.tagName==`TEXTAREA`||t.isContentEditable},S.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},S.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(i[t]=e[t]);c=null},S.init=function(){var e=S(n);for(var t in e)t.charAt(0)!==`_`&&(S[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},S.init(),e.Mousetrap=S,t!==void 0&&t.exports&&(t.exports=S),typeof define==`function`&&define.amd&&define(function(){return S})})(typeof window<`u`?window:null,typeof window<`u`?document:null)}))(),1),T={block:`.block-find[data-js-find], .new-find[data-js-find], .site-header__searchwrap[data-js-find]`,input:`input[type=search]`,suggestions:`.block-find-suggestions ol, .new-find-suggestions ol, .site-header__search-suggestions ol`},ee={item:`<li></li>`,link:`<a></a>`};(0,p.default)(function(){(0,p.default)(T.block).each(function(){te((0,p.default)(this))})});var te=function(e){var t=e.get(0),n=p.default.query(`q`)||``;e.find(T.input).val(n).on(`input`,function(){let e=(0,p.default)(this).next(`.new-search-button`);e&&e.addClass(`new-search-button--spinner`)}),e.find(T.input).val(n).on(`input`,o(function(){ne(e,(0,p.default)(this).val())},100)),e.find(T.suggestions).on(`click`,`a`,function(t){t.preventDefault(),(0,p.default)(this).parent().addClass(`on`),A(e)}
2),e.find(`form`).on(`submit`,function(t){A(e,!0)&&t.preventDefault()}),e.find(T.suggestions).on(`mouseenter`,`a`,function(){(0,p.default)(this).parent().addClass(`on`)}),e.find(T.suggestions).on(`mouseleave`,`a`,function(){(0,p.default)(this).parent().removeClass(`on`)}),(0,w.default)(t).unbind(`up`),(0,w.default)(t).unbind(`down`),(0,w.default)(t).unbind(`enter`),(0,w.default)(t).bind(`up`,r(ie,e)),(0,w.default)(t).bind(`down`,r(ae,e));var i=(0,p.default)(T.block)[0];(0,p.default)(i).hasClass(`site-header__searchwrap`)||(0,w.default)(t).bind(`enter`,r(A,e))},ne=function(e,t){t&&t.length>1?re(t,r(E,e)):E(e,[])},re=function(e,t){p.default.ajax({url:`/api/search/autocomplete`,data:{q:encodeURIComponent(e),c:encodeURIComponent((0,p.default)(`.js-campaign-id`).val()||``)},dataType:`json`,success:function(e){t(e.hits)}})},E=function(e,t){var n=e.find(T.suggestions).empty(),r=document.querySelector(`.site-header__search-suggestions-anchor`);r&&(r.style.display=`none`),i(t,function(e){var t=se(e);(0,p.default)(ee.item).append((0,p.default)(ee.link).attr(`href`,t.url).attr(`data-title`,t.plainTitle).attr(`data-source`,t.source).html(t.title)).appendTo(n)}),n.children().length&&r&&(r.style.display=`flex`,r.href=`/sok/?q=`+encodeURIComponent(e.find(T.input).val()));let a=e.find(`.new-search-button`);a&&a.removeClass(`new-search-button--spinner`)},D=function(e){return e.find(T.suggestions).find(`li`)},ie=function(e){var t=oe(e),n=D(e);if(t===-1||t===0){O(e,n.length-1);return}O(e,t-1),k(e)},ae=function(e){var t=oe(e),n=D(e);if(t===-1||t===n.length-1){O(e,0);return}O(e,t+1),k(e)},oe=function(e){return D(e).filter(`.on`).first().index()},O=function(e,t){D(e).removeClass(`on`).eq(t).addClass(`on`)},k=function(e){var t=D(e).filter(`.on`).first().find(`a`).attr(`data-title`),n=e.find(T.input);t&&(n.focus(),n.val(t),n.val(``),n.val(t),n.focus())},A=function(e,t){var n=D(e).filter(`.on`).first().find(`a`).attr(`href`);return n&&n!==`#`?(window.location.assign(n),!0):t?!1:(k(e),e.find(`form`).trigger(`submit`),!0)},se=function(e){return typeof e==`string`?{title:e,plainTitle:(0,p.default)(`<div></div>`).html(e).text(),url:`#`,source:`site`}:{title:e.title||``,plainTitle:e.plainTitle||(0,p.default)(`<div></div>`).html(e.title||``).text(),url:e.url||`#`,source:e.source||`site`}},ce={source:`[data-modal]`,block:`.block-modal`,close:`.block-modal-close`};(0,p.default)(function(){(0,p.default)(ce.source).each(function(){le((0,p.default)(this))})});var le=function(e){e.on(`click`,function(t){t.preventDefault(),p.default.get(e.data(`modal`),ue)})},ue=function(e){var t=(0,p.default)(e);w.default.unbind(`esc`),w.default.bind(`esc`,de),t.find(ce.close).on(`click`,function(e){e.preventDefault(),de()}),(0,p.default)(`body`).append(t)},de=function(){(0,p.default)(ce.block).remove()},fe=`block-newsletter--all-exist`,j={block:`.block-newsletter`,inputs:`.block-newsletter-list input`,summary:`.block-newsletter-summary input`,letters:`.block-newsletter-each input`,thanks:`.block-newsletter-thanks`,all:`.block-newsletter-all`,none:`.block-newsletter-none`,count:`.block-newsletter-count`,counter:`.block-newsletter-count strong`,email:`input[type=email]`,mobilenumber:`#mobilenumber`,form:`form`,submit:`.submit`,errorClass:`block-newsletter-error`,emailErrorText:`Noe mangler i denne epostadressen.`,mobileErrorText:`Vennligst oppgi et gyldig telefonnummer`,popups:`.block-promotion-popup-content-popup > [data-content-id]`,contentHost:`.block-promotion-popup-content-host`,closepopup:`.block-popup-close`,mobilebanner:`.block-promotion-popup-mobile-banner`,mobileshowpopup:`.block-promotion-popup-mobile-banner-show`,mobilehidepopup:`.block-promotion-popup-mobile-banner-hide`,captcha:`.recaptcha-container`,captchaError:`.block-feedback-error`,captchaDiv:`.recaptcha-element`,telephone:`input[type=tel]`,ajaxElement:`block-ajax-error`,ajaxErrorClass:`block-feedback-error`,ajaxErrorText:`Det oppstod en feil, vennligst prøv igjen.`,subscribeButton:`#subscribe`,unsubscribeButton:`#unsubscribe`},M={$elements:null,localstorageKey:`newsletterSubscriptionPopupCloseDate`,contentId:`content-id`,duration:4e4,successDuration:2e3,oneDay:864e5,resurrectionDays:90,resurrection:864e5*90,initialized:!1,nextPopup:[]};M.resurrection=M.oneDay*M.resurrectionDays,await u;var N={text:``,loadingText:``,el:null},P={text:``,loadingText:``,el:null},pe=function(e){_e()&&F(e),N={text:e.find(j.subscribeButton).html(),loadingText:`Melder pÃ¥â¦`,el:e.find(j.subscribeButton)},P={text:e.find(j.unsubscribeButton).html(),loadingText:`Melder avâ¦`,el:e.find(j.unsubscribeButton)},e.find(j.email).on(`blur`,function(){be(e)}
2),e.find(j.mobilenumber).on(`invalid`,function(e){e.target.setCustomValidity(j.mobileErrorText)}),e.find(j.mobilenumber).on(`input`,function(e){e.target.setCustomValidity(``),e.target.checkValidity(),e.target.validity.valid||e.target.setCustomValidity(j.mobileErrorText)}),e.find(j.email).on(`focus click`,function(){F(e)}),e.find(j.telephone).on(`focus click`,function(){F(e)}),e.find(j.summary).on(`change`,function(){xe(e,this,I,Se),ke(e)}),e.find(j.letters).on(`change`,function(){xe(e,this,Ce,we),ke(e)}),e.find(j.form).find(`button`).on(`click`,function(e){(0,p.default)(`button[type=submit]`,(0,p.default)(this).parents(`form`)).removeAttr(`clicked`),(0,p.default)(this).attr(`clicked`,`true`),e.target.id===`subscribe`?(0,p.default)(this).html(N.loadingText):(0,p.default)(this).html(P.loadingText)}),e.find(j.form).on(`submit`,function(t){return me(N.el),me(P.el),Ae(e,(0,p.default)(this)),t.preventDefault(),!1})},me=function(e){(0,p.default)(e).addClass(`disabled`).attr(`disabled`,!0)},he=function(e,t=null){(0,p.default)(e).removeClass(`disabled`).attr(`disabled`,!1),t&&(0,p.default)(e).html(t)},ge=function(){he(N.el,N.text),he(P.el,P.text)},_e=function(){var e=`email`,t=window.location.href;return t.indexOf(`?`+e+`=`)==-1?t.indexOf(`&`+e+`=`)!=-1:!0},F=function(e){e.find(j.captcha).fadeIn(500)},ve=function(e){var t=window.grecaptcha?.enterprise,n=e.find(j.captcha);return t&&n.length&&n.is(`:visible`)},ye=function(e){return e.find(j.captcha).length>0},be=function(e){var t=e.find(j.email),n=t.val();n&&n.length&&!/(.+)@(.+){2,}\.(.+){2,}/.test(n)?(De(e),t.addClass(`invalid`).attr(`aria-invalid`,``)):(Oe(e),t.removeClass(`invalid`).removeAttr(`aria-invalid`))},xe=function(e,t,n,r){(0,p.default)(t).is(`:checked`)?n(e,t):r(e,t)},I=function(e){e.hasClass(fe)&&e.addClass(`ui-summary`),e.find(j.summary).prop(`checked`,!0),e.find(j.letters).prop(`checked`,!0),e.find(j.none).hide(),e.hasClass(fe)?(e.find(j.count).hide(),e.find(j.all).show()):(e.find(j.count).show(),e.find(j.all).hide())},Se=function(e){e.removeClass(`ui-summary`),e.find(j.summary).prop(`checked`,!1),e.find(j.letters).prop(`checked`,!1),e.find(j.all).hide(),e.find(j.none).show(),e.find(j.count).hide()},Ce=function(e){if(Te(e)){I(e);return}e.find(j.all).hide(),e.find(j.none).hide(),e.find(j.count).show()}
2,we=function(e,t){e.find(j.summary).prop(`checked`)&&(Se(e),(0,p.default)(t).prop(`checked`,!0),Ce(e)),Ee(e)&&(e.find(j.all).hide(),e.find(j.none).show(),e.find(j.count).hide())},Te=function(e){return e.find(j.letters).not(`:checked`).length===0},Ee=function(e){return e.find(j.letters).filter(`:checked`).length===0},De=function(e){Oe(e),e.find(j.email).after((0,p.default)(`<p>`).addClass(j.errorClass).text(j.emailErrorText))},Oe=function(e){e.find(`.`+j.errorClass).remove()},ke=function(e){var t=e.find(j.letters).filter(`:checked`).length,n=e.find(j.inputs).filter(`:checked`).length;e.find(j.counter).text(t),e.find(j.submit).toggleClass(`off`,n===0)},Ae=function(e,t){var n=ye(e),r=n?e.find(j.captchaDiv).attr(`data-recaptcha-id`):``;if(!je(e,r)){ge();return}var i=n?window.grecaptcha?.enterprise?.getResponse?.(r)??``:``,a=n?`&RecaptchaResponse=`+i:``,o=t.serialize()+a,s=t.find(`button[type=submit][clicked=true]`),c=s.attr(`name`),l=s.val(),u=``;l&&(o+=`&`+c+`=`+l,u+=`.`+l);var d=Ne(t,o,function(){e.find(j.form).hide(),e.find(j.thanks+u).show(),Ge(),Je(e)},function(){ge(),Me(e,r),qe(e),Ke()},function(){ge(),Me(e,r),Ke()});p.default.ajax(d)},je=function(e,t){if(!ye(e))return!0;F(e);var n=window.grecaptcha?.enterprise?.getResponse?.(t);if(n&&n.length!==0)return!0;if(e.find(j.captchaError).length===0){var r=e.find(j.captchaDiv);(0,p.default)(`<p>`).addClass(`block-feedback-error`).text(`Recaptcha må avhukes.`).insertAfter(r)}return!1},Me=function(e,t){ve(e)&&window.grecaptcha?.enterprise?.reset?.(t)},Ne=function(e,t,n,r,i){var a={url:e.attr(`action`),type:e.attr(`method`),data:t,success:n,error:r,complete:i},o=e.find(`input[name="__RequestVerificationToken"]`).val();return o&&(a.headers={"X-XSRF-Token":o}),a},Pe=function(){M.$elements.length!==0&&(0,p.default)(at)},Fe=function(){var e=!0;p.default.each(M.$elements,function(){var t=(0,p.default)(this);t.hasClass(`desktop-only`)&&it()<=1160||et(t)&&(e?(e=!1,Ie(t)):M.nextPopup.push(t))}),M.initialized=!0},Ie=function(e){Le(e),Re(e),ze(e),Be(e),Ve(e)},Le=function(e){(0,p.default)(`.site-warning`).length&&e.parent().addClass(`with-warning`),e.parent().slideDown()},Re=function(e){var t=e.find(j.mobilebanner),n=e.find(j.mobileshowpopup);n.length===0&&(n=(0,p.default)(`<button/>`).attr(`type`,`button`).addClass(j.mobileshowpopup.slice(1)).html(`<i class="icon ph-light ph-caret-up"><span class="sr-only">Vis banner</span></i>`).appendTo(t)),t.click(p.default.proxy(Ue,e))},ze=function(e){var t=e.find(j.mobilehidepopup);t.length===0&&(t=(0,p.default)(`<button/>`).attr(`type`,`button`).addClass(j.mobilehidepopup.slice(1)).html(`<i class="icon ph-light ph-caret-down"><span class="sr-only">Skjul banner</span></i>`).prependTo(e.find(j.contentHost)),e.find(`.block-promotion-popup-image`).length&&t.addClass(`with-image`)),t.click(p.default.proxy(We,e))},Be=function(e){var t=e.find(j.closepopup);t.length===0&&(t=(0,p.default)(`<button/>`).attr(`type`,`button`).addClass(j.closepopup.slice(1)).html(`<span class="iconbox"><i class="icon ph-light ph-x"><span class="sr-only">Lukk</span></i></icon>`).prependTo(e.find(j.contentHost)),e.find(`.block-promotion-popup-image`).length&&t.addClass(`with-image`)),t.click(p.default.proxy(He,e))},L=[],Ve=function(e){var t=e.data(M.contentId),n=!(t in L);L[t]=setTimeout(p.default.proxy(R,this,e),M.duration),n&&(e.click(p.default.proxy(nt,this,e)),e.find(`*`).focus(p.default.proxy(nt,this,e)))},He=function(e){return e.preventDefault(),R(this),Ye(this),!1},Ue=function(){var e=this;e.find(j.mobilebanner).addClass(`hide-mobile`),e.find(j.contentHost).slideDown()},We=function(e){e.preventDefault();var t=this;return t.find(j.mobilebanner).removeClass(`hide-mobile`),t.find(j.contentHost).slide
2Up(),Ve(t),!1},R=function(e){!e||!e.length||e.parent().slideUp(function(){var e=M.nextPopup.pop();e&&setTimeout(function(){Ie(e)},1e3)})},Ge=function(){M.initialized!==!1&&(M.$elements.addClass(`success`),Ye(),setTimeout(function(){R()},M.successDuration))},Ke=function(){M.$elements.addClass(`color-error`)},qe=function(e){if(e.find(`.`+j.ajaxElement).length===0){var t=(0,p.default)(`<p>`).addClass(j.ajaxElement).addClass(j.ajaxErrorClass).text(j.ajaxErrorText);e.find(j.form).append(t)}},Je=function(e){e.find(`.`+j.ajaxElement).first().hide()},Ye=function(e){!e||!e.length||Xe(tt(e),new Date,M.resurrectionDays)},Xe=function(e,t,n){var r=``;if(n){var i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),r=`; expires=`+i.toGMTString()}document.cookie=e+`=`+t+r+`; path=/`},Ze=function(e){for(var t=e+`=`,n=document.cookie.split(`;`),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)===` `;)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null},Qe=function(e){Xe(e,``,-1)},$e=function(){return`cookie`in document&&(document.cookie.length||(document.cookie=`test`).indexOf.call(document.cookie,`test`)>-1)},et=function(e){if(!$e())return!1;var t=Ze(tt(e));return t?new Date-Date.parse(t)>=M.resurrection?(Qe(M.localstorageKey),!0):!1:!0},tt=function(e){var t=e.data(M.contentId);return M.localstorageKey+`-`+t},nt=function(e){var t=e.data(M.contentId);clearTimeout(L[t])},rt=function(){var e=document;return e.documentElement===void 0&&(e.documentElement={scrollHeight:0,offsetHeight:0,clientHeight:0}),Math.max(e.body.scrollHeight,e.documentElement.scrollHeight,e.body.offsetHeight,e.documentElement.offsetHeight,e.body.clientHeight,e.documentElement.clientHeight)},it=function(){var e=document;return e.documentElement===void 0&&(e.documentElement={scrollWidth:0,offsetWidth:0,clientWidth:0}),Math.max(e.body.scrollWidth,e.documentElement.scrollWidth,e.body.offsetWidth,e.documentElement.offsetWidth,e.body.clientWidth,e.documentElement.clientWidth)},at=function(){var e=document;(0,p.default)(e).on(`scroll.newsletterpopup`,function(){if(M.initialized){(0,p.default)(e).off(`scroll.newsletterpopup`);return}(0,p.default)(e).scrollTop()/rt()*100>=10&&Fe()})};M.$elements=(0,p.default)(j.popups),Pe(),(0,p.default)(j.block).each(function(){pe((0,p.default)(this)),I((0,p.default)(this))});function z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var ot={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function B(e,t){function n(n,r,i){if(!(typeof document>`u`)){i=z({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&=i.expires.toUTCString(),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(r[s]=e.read(o,s),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,z({},t,{expires:-1}))},withAttributes:function(e){return B(this.converter,z({},this.attributes,e))},withConverter:function(e){return B(z({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var st=B(ot,{path:`/`}),V={block:`.block-popup`,notice:`.block-popup-notice`,close:`.block-popup-close a`,cancel:`.block-popup-cancel`},ct={close:`<button type="button" class="block-popup-close" aria-label="Lukk"></button>`};(0,p.default)(function(){(0,p.default)(V.block).each(function(){lt((0,p.default)(this))}),(0,p.default)(V.notice).each(function(){ut((0,p.default)(this))})});var lt=function(e){e.append((0,p.default)(ct.close).on(`click`,function(t){t.preventDefault(),dt(e)})),e.find(V.cancel).on(`click`,function(t){t.preventDefault(),dt(e)}),(0,p.default)(e).on(`click`,function(e){e.stopPropagation()})},ut=function(e){pt(function(){ft(e,function(){e.addClass(`on`)})})},dt=function(e){e.hide().removeClass(`on`).showSoon()},ft=function(e,t){var n=e.attr(`id`);st.get(n)||(st.set(n,n),t())},pt=function(e){(0,p.default)(window).on(`scroll`,s(function(){(0,p.default)(document).scrollTop()>(0,p.default)(window).height()&&e()},100))};await u,document.getElementsByClassName(`rss-block`).length&&d(()=>import(`./rss-DXM5yqDu.js`),__vite__mapDeps([0,1,2]));var H={block:`.block-text`,content:`.block-text-content`,collapsable:`.block-text-collapsable, .block-text-collapsed`,toggle:`<div class="block-text-toggle"></div>`,show:`<i class="icon ph-light ph-caret-down"></i>`,hide:`<i class="icon ph-light ph-caret-up"></i>`},mt=e=>{let t=document.createElement(`div`);return t.innerHTML=e.trim(),t.firstChild};
2await u,document.querySelectorAll(H.collapsable).forEach(e=>{let t=mt(H.toggle);t.innerHTML=H.show,t.addEventListener(`click`,()=>{e.classList.toggle(`on`),t.innerHTML=e.classList.contains(`on`)?H.hide:H.show}),e.querySelector(H.content).appendChild(t)});var U={parentContainer:`.js-media-parent-container`,container:`.js-video-container`,video:`.js-video-player`,play:`.js-play-button`,playPauseIcon:`.js-playpause-icon`,description:`.js-button-description`};(0,p.default)(function(){ht(),(0,p.default)(U.play).on(`click`,function(){var e=(0,p.default)(this).closest(U.container),t=e.find(U.video).get(0),n=e.find(U.playPauseIcon),r=e.find(U.description);t.paused?(t.play(),r.html(`Pause`),n.removeClass(`ph-play is-paused`).addClass(`ph-pause`)):(t.pause(),r.html(`Spill av`),n.removeClass(`ph-pause`).addClass(`ph-play is-paused`))})});function ht(){p.default.each((0,p.default)(U.video),function(e,t){var n=setInterval(function(){t.readyState===4&&((0,p.default)(t).closest(U.parentContainer).find(U.container).addClass(`is-loaded`),clearInterval(n))},100)})}var W={el:`.nav`,first:`.nav-first`,last:`.nav-last`,lastSplit:`.nav-split-search`,close:`.nav-close`,dockFirst:`.nav-dock-first`,dockLast:`.nav-dock-last`,content:`.nav-dock-content`,heading:`.nav-dock-heading`,submenu:`.nav-dock-submenu`,submenuLink:`a.nav-parent`,searchIcon:`a.nav-mobile-search`},G={first:`ui-nav-first`,last:`ui-nav-last`},K={duration:350,easing:`easeOutExpo`};(0,p.default)(function(){(0,p.default)(W.el).each(function(){gt((0,p.default)(this))})});var gt=function(e){e.find(W.close).on(`click`,q(e,vt)),e.find(W.first).on(`click`,q(e,yt)),e.find(W.last).on(`click`,q(e,bt)),e.find(W.lastSplit).on(`click`,q(e,bt)),e.find(W.heading).on(`click`,q(e,xt)),e.find(W.submenuLink).on(`click`,q(e,St));let t=new w.default(e.get(0));t.unbind(`esc`),t.bind(`esc`,r(vt,e)),t.unbind(`esc`),_t()},_t=function(){w.default.bind(`backspace`,function(e){e.target.tagName.toUpperCase()!==`INPUT`&&window.history.back()})},q=function(e,t){return function(n){n.preventDefault(),t.call(this,e)}},vt=function(e){(0,p.default)(`html`).removeClass([G.first,G.last].join(` `)),e.find(W.dockFirst).slideUp(K),e.find(W.dockLast).slide
2Up(K),e.find(`input`).blur(),wt(e)},yt=function(e){(0,p.default)(`html`).toggleClass(G.first),(0,p.default)(`html`).removeClass(G.last),e.find(W.dockFirst).slideToggle(K),e.find(W.dockLast).slideUp(K),e.find(W.dockFirst).find(`a`).first().focus(),wt(e)},bt=function(e){e.find(W.searchIcon).toggleClass(`nav-mobile-search--active`),(0,p.default)(`html`).removeClass(G.first),(0,p.default)(`html`).addClass(G.last),e.find(W.dockLast).slideToggle(K),e.find(W.dockFirst).slideUp(K),e.find(`input`).focus(),wt(e)},xt=function(e){e.find(`.on`).removeClass(`on`)},St=function(e){Ct(e,(0,p.default)(this),(0,p.default)(this).attr(`href`))},Ct=function(e,t,n){var r=e.find(n),i=e.find(W.content),a=e.find(W.submenuLink),o=e.find(W.submenu),s=e.find(r),c=r.hasClass(`on`);if(o.removeClass(`on`),a.removeClass(`on`),c){e.find(`a`).first().focus(),o.find(`a`).attr(`tabindex`,`-1`),i.removeClass(`on`);return}s.find(`a`).attr(`tabindex`,`0`).first().focus(),i.addClass(`on`),t.addClass(`on`),s.addClass(`on`)},wt=function(e){setTimeout(function(){e.find(`.on`).removeClass(`on`)},500)};l(),p.default.easing.jswing=p.default.easing.swing,p.default.extend(p.default.easing,{def:`easeOutQuad`,swing:function(e,t,n,r,i){return p.default.easing[p.default.easing.def](e,t,n,r,i)},easeInQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},easeOutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},easeOutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+n},easeOutSine:function(e,t,n,r,i){return r*Math.sin(t/i*(Math.PI/2))+n},easeInOutSine:function(e,t,n,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+n},easeInExpo:function(e,t,n,r,i){return t==0?n:r*2**(10*(t/i-1))+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(-(2**(-10*t/i))+1)+n},easeInOutExpo:function(e,t,n,r,i){return t==0?n:t==i?n+r:(t/=i/2)<1?r/2*2**(10*(t-1))+n:r/2*(-(2**(-10*--t))+2)+n},easeInCirc:function(e,t,n,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+n},easeOutCirc:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n},easeInOutCirc:function(e,t,n,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+n:r/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,r,i){var a=1.70158,o=0,s=r;if(t==0)return n;if((t/=i)==1)return n+r;if(o||=i*.3,s<Math.abs(r)){s=r;var a=o/4}else var a=o/(2*Math.PI)*Math.asin(r/s);return-(s*2**(10*--t)*Math.sin((t*i-a)*(2*Math.PI)/o))+n},easeOutElastic:function(e,t,n,r,i){var a=1.70158,o=0,s=r;if(t==0)return n;if((t/=i)==1)return n+r;if(o||=i*.3,s<Math.abs(r)){s=r;var a=o/4}else var a=o/(2*Math.PI)*Math.asin(r/s);return s*2**(-10*t)*Math.sin((t*i-a)*(2*Math.PI)/o)+r+n},easeInOutElastic:function(e,t,n,r,i){var a=1.70158,o=0,s=r;if(t==0)return n;if((t/=i/2)==2)return n+r;if(o||=.3*1.5*i,s<Math.abs(r)){s=r;var a=o/4}else var a=o/(2*Math.PI)*Math.asin(r/s);return t<1?-.5*(s*2**(10*--t)*Math.sin((t*i-a)*(2*Math.PI)/o))+n:s*2**(-10*--t)*Math.sin((t*i-a)*(2*Math.PI)/o)*.5+r+n},easeInBack:function(e,t,n,r,i,a){return a??=1.70158,r*(t/=i)*t*((a+1)*t-a)+n},easeOutBack:function(e,t,n,r,i,a){return a??=1.70158,r*((t=t/i-1)*t*((a+1)*t+a)+1)+n},easeInOutBack:function(e,t,n,r,i,a){return a??=1.70158,(t/=i/2)<1?r/2*(t*t*(((a*=1.525)+1)*t-a))+n:r/2*((t-=2)*t*(((a*=1.525)+1)*t+a)+2)+n},easeInBounce:function(e,t,n,r,i){return r-p.default.easing.easeOutBounce(e,i-t,0,r,i)+n},easeOutBounce:function(e,t,n,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,r,i){return t<i/2?p.default.easing.easeInBounce(e,t*2,0,r,i)*.5+n:p.default.easing.easeOutBounce(e,t*2-i,0,r,i)*.5+r*.5+n}});var J={submit:`a.submit`,form:`form[data-validate]`,input:`.js-input-with-overlay`},Tt={"input[data-format=amount]":function(e){e.on(`input`,function(){e.val(e.val().replace(/[^0-9]/g,``).replace(/^[0]+/g,``))})},"input[data-api-postcode]":function(e){e.on(`input`,function(){jt(e)})}},Et={"input[data-required]":function(e){var t=e.val();return t&&t.length},"input[data-validate=email]":function(e){var t=e.val();return!t||/(.+)@(.+){2,}\.(.+){2,}/.test(t)},"input[data-validate=postcode]":function(e){var t=e.val();return!t||/\d{4}/.test(t)}};(0,p.default)(function(){(0,p.default)(J.submit).on(`click`,function(e){(0,p.default)(this).closest(`form`).submit(),e.preventDefault()}),(0,p.default)(J.form).on(`submit`,function(e){if(!Dt((0,p.default)(this)))return e.preventDefault(),!1}),i(Tt,function(e,t){(0,p.default)(t).each(function(){e((0,p.default)(this))})}),(0,p.default)(J.input).change(function(){var e=(0,p.default)(this);e.val()?e.addClass(`is-not-empty`):e.removeClass(`is-not-empty`)})});var Dt=function(e){var t=[];return i(Et,function(n,r){e.find(r).filter(`:visible`).each(function(){n((0,p.default)(this))||t.pu
2sh((0,p.default)(this))})}),i(t,function(e){Ot(e)}),At(e),t.length===0},Ot=function(e){kt(e),e.addClass(`form-invalid`).on(`input change blur`,function(){kt(e)});var t=e.data(`error`);(!t||e.val().length===0)&&(t=`Feltet må fylles ut.`),(0,p.default)(`<p>`).addClass(`form-error`).text(t).insertAfter(e)},kt=function(e){e.parent().find(`.form-error`).remove(),e.removeClass(`form-invalid`)},At=function(e){var t=e.find(`.form-invalid`).first();if(t.length!==0){var n=t.offset().top-250;(0,p.default)(`html, body`).animate({scrollTop:n},500,`easeInOutQuad`),t.select()}},jt=function(e){var t=e.parents(`label`).find(`.result`),n=e.parents(`label`).find(`.city`);if(!/\d{4}/.test(e.val())){t.text(``),n.val(``);return}Mt(e.val()).then(function(e){t.text(e||``),n.val(e||``)})},Mt=function(e){return p.default.get((0,p.default)(J.form).attr(`postcode-lookup-url`)+e)};document.querySelectorAll(`iframe[data-iframe-resizer]`).forEach(function(t){d(()=>import(`./iframe-resizer-UWNgSExk.js`).then(t=>e(t.default,1)).then(function(e){return e.default}),__vite__mapDeps([3,1]))({inPageLinks:!0},t.id)}),p.default.query=function(e){var t=RegExp(`[\\?&]`+e+`=([^&#]*)`).exec(location.search);return t===null?``:decodeURIComponent(t[1].replace(/\+/g,` `))},p.default.getCSS=function(e){return(0,p.default)(`<link>`,{rel:`stylesheet`,href:e}).appendTo(`head`),p.default.Deferred().resolve()},p.default.fn.activate=function(){return this.each(function(){(0,p.default)(this).addClass(`on`).removeClass(`off`)})},p.default.fn.deactivate=function(){return this.each(function(){(0,p.default)(this).addClass(`off`).removeClass(`on`)})},p.default.fn.showSoon=function(){return this.each(function(){var e=(0,p.default)(this);setTimeout(function(){e.show()},250)})},p.default.fn.deorphan=function(){return this.each(function(){if(!((0,p.default)(window).width()<700)){var e=(0,p.default)(this),t=e.text().split(` `);if(!(t.length<4)){var n=a(t,t.length-2),r=c(t,2),i=n.join(` `)+` `+r.join(` `);e.html(i)}}})},p.default.fn.toggleText=function(){return this.each(function(){if((0,p.default)(this).data(`alt`)){var e=(0,p.default)(this).text(),t=(0,p.default)(this).data(`alt`);(0,p.default)(this).text(t).data(`alt`,e)}})},p.default.fn.resetText=function(){return this.each(function(){(0,p.default)(this).data(`text`)&&(0,p.default)(this).text((0,p.default)(this).data(`text`))})},await u,document.getElementsByClassName(`jsMapContainer`).length&&d(()=>import(`./leaflet-map-tbrXOgdq.js`),__vite__mapDeps([4,1,2,5,6,7])).then(e=>{(0,p.default)(`.jsMapContainer`).each(function(t,n){var r={autoZoom:!0,geoJsonUrl:(0,p.default)(n).data(`geojson-url`)};e.create(r)})});var Y={searchTogglerDesktop:`.new-navigation-primary-item__link--search`,searchCloserDesktop:`.new-header-search__close-button`,searchTogglerMobile:`.new-header-mobile-search-toggler`,searchContainer:`.new-header-search-container`,navTogglerMobile:`.new-header-mobile-nav-toggler`,navigationMobile:`.new-navigation-mobile`,headerContainer:`.new-header-container`,submenuLink:`.has-submenu`,submenu:`.new-navigation-mobile-submenu`,submenuHeading:`.new-navigation-mobile-submenu h3`},X=`new-navigation-primary-item__link--active`,Nt=`new-header-mobile-search-toggler--active`,Pt=`new-header-mobile-nav-toggler--active`,Ft=`new-header-container--navigation-mobile-open`,It=`new-header-search-container--open`;(0,p.default)(function(){(0,p.default)(Y.searchTogglerDesktop).on(`click`,function(){(0,p.default)(this).toggleClass(X),(0,p.default)(Y.searchContainer).slideToggle(150),(0,p.default)(this).attr(`aria-expanded`,(0,p.default)(this).attr(`aria-expanded`)==`false`?`true`:`false`),(0,p.default)(Y.searchContainer).toggleClass(It),(0,p.default)(Y.searchTogglerMobile).toggleClass(Nt),Lt((0,p.default)(this).attr(`aria-expanded`),(0,p.default)(this))}),(0,p.default)(Y.searchCloserDesktop).on(`click`,function(){(0,p.default)(Y.searchTogglerDesktop).removeClass(X),(0,p.default)(Y.searchContainer).slideUp(150),(0,p.default)(Y.searchTogglerDesktop).attr(`aria-expanded`,`false`),(0,p.default)(Y.searchTogglerMobile).attr(`aria-expanded`,`false`),(0,p.default)(Y.searchContainer).removeClass(It),(0,p.default)(Y.searchTogglerMobile).toggleClass(Nt),(0,p.default)(Y.searchTogglerDesktop).is(`:visible`)&&(0,p.default)(Y.searchTogglerDesktop).focus(),(0,p.default)(Y.searchTogglerMobile).is(`:visible`)&&(0,p.default)(Y.searchTogglerMobile).focus()}),(0,p.default)(Y.navTogglerMobile).on(`click`,function(){(0,p.default)(this).toggleClass(Pt),(0,p.default)(Y.headerContainer).toggleClass(Ft),(0,p.default)(this).attr(`aria-expanded`,(0,p.default)(this).attr(`aria-expanded`)==`false`?`true`:`false`),Lt((0,p.default)(this).attr(`aria-expanded`),(0,p.default)(this))}),(0,p.default)(Y.searchTogglerMobile).on(`click`,function(){(0,p.default)(this).toggleClass(Nt),(0,p.default)(Y.searchContainer).slideToggle(150),(0,p.default)(this).attr(`aria-expanded`,(0,p.default)(this).attr(`aria-expanded`)==`false`?`true`:`false`),(0,p.default)(Y.searchContainer).toggleClass(It),(0,p.default)(Y.searchTogglerDesktop).toggleClass(X),Lt((0,p.default)(this).attr(`aria-expanded`),(0,p.default)(this))}),(0,p.default)(Y.submenuHeading).on(`click keypress`,function(t){(t.which===13||t.type===`click`)&&e((0,p.default)(Y.navigationMobile))}),(0,p.default)(Y.submenuLink).on(`click keypress`,function(e){(e.which===13||e.type===`click`)&&(e.preventDefault(),t((0,p.default)(this)))});var e=function(e){e.removeClass(`on`),e.find(`.on`).removeClass(`on`)},t=function(e){n((0,p.default)(Y.navigationMobile),e)},n=function(e,t){var n=t.attr(`data-submenu-id`),r=e.find(Y.submenuLink),i=e.find(Y.submenu),a=e.find(`#`+n),o=a.hasClass(`on`);if(i.removeClass(`on`),r.removeClass(`on`),o){e.removeClass(`on`);return}e.addClass(`on`),a.addClass(`on`),t.addClass(`on`)}});var Lt=function(e,t){e===`true`?(0,p.default)(Y.searchContainer).find(`.new-input`).focus():t.focus()};function Rt(){let e=document.createElement(`div`);e.style.visibility=`hidden`,e.style.overflow=`scroll`,document.body.appendChild(e);let t=document.createElement(`div`);e.appendChild(t);let n=e.offsetWidth-t.offsetWidth;return e.parentNode?.removeChild(e),n}function zt(e){let t=Rt();return e?document.documentElement.setAttribute(`data-scroll-lock`,`true`):document.documentElement.removeAttribute(`data-scroll-lock`),document.body.setAttribute(`style`,e?`margin-right: ${t}px;`:``),t}zt(),((e=`--scrollbar-width`)=>{let t=window.getComputedStyle(document.documentElement).getPropertyValue(e),n=`${window.innerWidth-document.body.clientWidth}px`;n!==t&&document.documentElement.style.setProperty(e,n)})(),`serviceWorker`in navigator&&window.addEventListener(`load`,()=>{navigator.serviceWorker.register(`/service-worker.js`)});var Z={toggle:`[data-toggle]`,toggleStop:`[data-toggle-stop]`,toggleShow:`[data-toggle-show]`,toggleHide:`[data-toggle-hide]`,toggleRoot:`[data-toggle-root]`,toggleRootOn:`[data-toggle-root-on]`,toggleRootOff:`[data-toggle-root-off]`};(0,p.default)(function(){(0,p.default)(Z.toggleStop).on(`click`,function(e){e.preventDefault()}),(0,p.default)(Z.toggle).on(`click`,function(){(0,p.default)((0,p.default)(this).data(`toggle`)).toggle()}),(0,p.default)(Z.toggleShow).on(`click`,function(){(0,p.default)((0,p.default)(this).data(`toggle-show`)).show()}),(0,p.default)(Z.toggleHide).on(`click`,function(){(0,p.default)((0,p.default)(this).data(`toggle-hide`)).hide()}),(0,p.default)(Z.toggleRoot).on(`click`,function(){(0,p.default)(`html`).toggleClass((0,p.default)(this).data(`toggle-root`))}),(0,p.default)(Z.toggleRootOn).on(`click`,function(){(0,p.default)(`html`).addClass((0,p.default)(this).data(`toggle-root-on`))}),(0,p.default)(Z.toggleRootOff).on(`click`,function(){(0,p.default)(`html`).removeClass((0,p.default)(this).data(`toggle-root-off`))})});var Q={tooltip:`.js-tooltip`,tooltipTrigger:`.js-tooltip-trigger`,tooltipContent:`.js-tooltip-content`};(0,p.default)(function(){f(Q.tooltip,{theme:`light-border`,hideOnClick:`toggle`,interactive:!0,duration:0,arrow:!0}),f(Q.tooltipTrigger,{theme:`light-border`,hideOnClick:!0,interactive:!0,trigger:`click`,aria:null,duration:0,arrow:!0,offset:[0,-6],appendTo:`parent`,placement:`bottom-end`,zIndex:99999,content:document.querySelector(Q.tooltipContent),onMount:function(e){e.reference.setAttribute(`aria-expanded`,`true`)},onHide:function(e){e.reference.setAttribute(`aria-expanded`,`false`)}})});var Bt={container:`.user-dropdown-container`,trigger:`.user-dropdown-trigger`},Vt=`user-dropdown-container--open`;(0,p.default)(function(){(0,p.default)(Bt.trigger).on(`click`,function(){(0,p.default)(Bt.container).toggleClass(Vt)})}),p.default.belowthefold=function(e,t){return(0,p.default)(window).height()+(0,p.default)(window).scrollTop()<=(0,p.default)(e).offset().top-t.threshold},p.default.abovethetop=function(e,t){return(0,p.default)(window).scrollTop()>=(0,p.default)(e).offset().top+(0,p.default)(e).height()-t.threshold},p.default.rightofscreen=function(e,t){return(0,p.default)(window).width()+(0,p.default)(window).scrollLeft()<=(0,p.default)(e).offset().left-t.threshold},p.default.leftofscreen=function(e,t){return(0,p.default)(window).scrollLeft()>=(0,p.default)(e).offset().left+(0,p.default)(e).width()-t.threshold},p.default.inviewport=function(e,t){return!p.default.rightofscreen(e,t)&&!p.default.leftofscreen(e,t)&&!p.default.belowthefold(e,t)&&!p.default.abovethetop(e,t)},p.default.extend(p.default.expr[`:`],{"below-the-fold":function(e,t,n){return p.default.belowthefold(e,{threshold:0})},"above-the-top":function(e,t,n){return p.default.abovethetop(e,{threshold:0})},"left-of-screen":function(e,t,n){return p.default.leftofscreen(e,{threshold:0})},"right-of-screen":function(e,t,n){return p.default.rightofscreen(e,{threshold:0})},"in-viewport":function(e,t,n){return p.default.inviewport(e,{threshold:0})}});var Ht={"afp-calculator":()=>d(()=>import(`./form-C6p-A6lI.js`),__vite__mapDeps([8,9,10])),"afp-calculator-card":()=>d(()=>import(`./card-uRWj8kQy.js`),__vite__mapDeps([11,9,12])),"afp-calculator-summary":()=>d(()=>import(`./summary-CzrVSeen.js`),__vite__mapDeps([13,9,12,10]))};await u;var Ut=document.querySelectorAll(`:not(:defined)`);for(let e of Ut){let t=e.tagName.toLowerCase();t in Ht&&Ht[t]()}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.