https://www.viborgstift.dk/_Resources/Static/Packages/FIT.FolkekirkenDk/Scripts/new.js?bust=c41d5c43
1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=64)}({0:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Vn}));var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function i(e,t){return e(t={exports:{}},t.exports),t.exports}var s=i((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),o=i((function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)})),a=(o.version,function(e){return"object"==typeof e?null!==e:"function"==typeof e}),l=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e},c=function(e){try{return!!e()}catch(e){return!0}},d=!c((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u=s.document,p=a(u)&&a(u.createElement),f=function(e){return p?u.createElement(e):{}},h=!d&&!c((function(){return 7!=Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a})),m=Object.defineProperty,v={f:d?Object.defineProperty:function(e,t,n){if(l(e),t=function(e,t){if(!a(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!a(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!a(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(t,!0),l(n),h)try{return m(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},g=d?function(e,t,n){return v.f(e,t,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}(1,n))}:function(e,t,n){return e[t]=n,e},y={}.hasOwnProperty,b=function(e,t){return y.call(e,t)},w=0,S=Math.random(),x=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++w+S).toString(36))},T=i((function(e){var t=s["__core-js_shared__"]||(s["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:o.version,mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),E=T("native-function-to-string",Function.toString),I=i((function(e){var t=x("src"),n=(""+E).split("toString");o.inspectSource=function(e){return E.call(e)},(e.exports=function(e,r,i,o){var a="function"==typeof i;a&&(b(i,"name")||g(i,"name",r)),e[r]!==i&&(a&&(b(i,t)||g(i,t,e[r]?""+e[r]:n.join(String(r)))),e===s?e[r]=i:o?e[r]?e[r]=i:g(e,r,i):(delete e[r],g(e,r,i)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[t]||E.call(this)}))})),C=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},P=function(e,t,n){if(C(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},k=function e(t,n,r){var i,a,l,c,d=t&e.F,u=t&e.G,p=t&e.P,f=t&e.B,h=u?s:t&e.S?s[n]||(s[n]={}):(s[n]||{}).prototype,m=u?o:o[n]||(o[n]={}),v=m.prototype||(m.prototype={});for(i in u&&(r=n),r)l=((a=!d&&h&&void 0!==h[i])?h:r)[i],c=f&&a?P(l,s):p&&"function"==typeof l?P(Function.call,l):l,h&&I(h,i,l,t&e.U),m[i]!=l&&g(m,i,c),p&&v[i]!=l&&(v[i]=l)};s.core=o,k.F=1,k.G=2,k.S=4,k.P=8,k.B=16,k.W=32,k.U=64,k.R=128;var _,M,L=k,j={}.toString,A=function(e){return j.call(e).slice(8,-1)},O=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==A(e)?e.split(""):Object(e)},G=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},R=function(e){return O(G(e))},z=Math.ceil,D=Math.floor,Z=function(e){return isNaN(e=+e)?0:(e>0?D:z)(e)},W=Math.min,F=function(e){return e>0?W(Z(e),9007199254740991):0},N=Math.max,B=Math.min,V=T("keys"),q=(_=!1,function(e,t,n){var r,i=R(e),s=F(i.length),o=function(e,t){return(e=Z(e))<0?N(e+t,0):B(e,t)}(n,s);if(_&&t!=t){for(;s>o;)if((r=i[o++])!=r)return!0}else for(;s>o;o++)if((_||o in i)&&i[o]===t)return _||o||0;return!_&&-1}
1),Y=V[M="IE_PROTO"]||(V[M]=x(M)),H="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),X=Object.keys||function(e){return function(e,t){var n,r=R(e),i=0,s=[];for(n in r)n!=Y&&b(r,n)&&s.push(n);for(;t.length>i;)b(r,n=t[i++])&&(~q(s,n)||s.push(n));return s}(e,H)},J={f:Object.getOwnPropertySymbols},U={f:{}.propertyIsEnumerable},$=function(e){return Object(G(e))},K=Object.assign,Q=!K||c((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=K({},e)[n]||Object.keys(K({},t)).join("")!=r}))?function(e,t){for(var n=$(e),r=arguments.length,i=1,s=J.f,o=U.f;r>i;)for(var a,l=O(arguments[i++]),c=s?X(l).concat(s(l)):X(l),u=c.length,p=0;u>p;)a=c[p++],d&&!o.call(l,a)||(n[a]=l[a]);return n}:K;L(L.S+L.F,"Object",{assign:Q});var ee,te,ne,re=i((function(e){var t=T("wks"),n=s.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:x)("Symbol."+e))}).store=t})),ie=re("match"),se=re("species"),oe=function(e,t){var n,r=l(e).constructor;return void 0===r||null==(n=l(r)[se])?t:C(n)},ae=(ee=!0,function(e,t){var n,r,i=String(G(e)),s=Z(t),o=i.length;return s<0||s>=o?ee?"":void 0:(n=i.charCodeAt(s))<55296||n>56319||s+1===o||(r=i.charCodeAt(s+1))<56320||r>57343?ee?i.charAt(s):n:ee?i.slice(s,s+2):r-56320+(n-55296<<10)+65536}),le=function(e,t,n){return t+(n?ae(e,t).length:1)},ce=re("toStringTag"),de="Arguments"==A(function(){return arguments}()),ue=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ce))?n:de?A(t):"Object"==(r=A(t))&&"function"==typeof t.callee?"Arguments":r},pe=RegExp.prototype.exec,fe=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==ue(e))throw new TypeError("RegExp#exec called on incompatible receiver");return pe.call(e,t)},he=function(){var e=l(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},me=RegExp.prototype.exec,ve=String.prototype.replace,ge=me,ye=(te=/a/,ne=/b*/g,me.call(te,"a"),me.call(ne,"a"),0!==te.lastIndex||0!==ne.lastIndex),be=void 0!==/()??/.exec("")[1];(ye||be)&&(ge=function(e){var t,n,r,i,s=this;return be&&(n=new RegExp("^"+s.source+"$(?!\\s)",he.call(s))),ye&&(t=s.lastIndex),r=me.call(s,e),ye&&r&&(s.lastIndex=s.global?r.index+r[0].length:t),be&&r&&r.length>1&&ve.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var we=ge;L({target:"RegExp",proto:!0,forced:we!==/./.exec},{exec:we});var Se=re("species"),xe=!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Te=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}(),Ee=function(e,t,n){var r=re(e),i=!c((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),s=i?!c((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[Se]=function(){return n}),n[r](""),!t})):void 0;if(!i||!s||"replace"===e&&!xe||"split"===e&&!Te){var o=/./[r],a=n(G,r,""[e],(function(e,t,n,r,s){return t.exec===we?i&&!s?{done:!0,value:o.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),l=a[0],d=a[1];I(String.prototype,e,l),g(RegExp.prototype,r,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}},Ie=Math.min,Ce=[].push,Pe=!c((function(){RegExp(4294967295,"y")}));Ee("split",2,(function(e,t,n,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var r,i,s=String(this);if(void 0===e&&0===t)return[];if(!a(r=e)||(void 0!==(i=r[ie])?!i:"RegExp"!=A(r)))return n.call(s,e,t);for(var o,l,c,d=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,f=void 0===t?4294967295:t>>>0,h=new RegExp(e.source,u+"g");(o=we.call(h,s))&&!((l=h.lastIndex)>p&&(d.push(s.slice(p,o.index)),o.length>1&&o.index<s.length&&Ce.apply(d,o.slice(1)),c=o[0].length,p=l,d.length>=f));)h.lastIndex===o.index&&h.lastIndex++;return p===s.length?!c&&h.test("")||d.push(""):d.push(s.slice(p)),d.length>f?d.slice(0,f):d}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var s=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,s,r):i.call(String(s),n,r)},function(e,t){var s=r(i,e,this,t,i!==n);if(s.done)return s.value;var o=l(e),a=String(this),c=oe(o,RegExp),d=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Pe?"y":"g"),p=new c(Pe?o:"^(?:"+o.source+")",u),f=void 0===t?4294967295:t>>>0;if(0===f)return[];if(0===a.length)return null===fe(p,a)?[a]:[];for(var h=0,m=0,v=[];m<a.length;){p.lastIndex=Pe?m:0;var g,y=fe(p,Pe?a:a.slice(m));if(null===y||(g=Ie(F(p.lastIndex+(Pe?0:m)),a.length))===h)m=le(a,m,d);else{if(v.push(a.slice(h,m)),v.length===f)return v;for(var b=1;b<=y.length-1;b++)if(v.push(y[b]),v.length===f)return v;m=h=g}}return v.push(a.slice(h)),v}]}));var ke,_e,Me,Le,je,Ae,Oe,Ge,Re,ze,De,Ze=Array.isArray||function(e){return"Array"==A(e)},We=re("species"),Fe=(Me=1==(ke=1),Le=2==ke,je=3==ke,Ae=4==ke,Oe=6==ke,Ge=5==ke||Oe,Re=_e||function(e,t){return new(function(e){var t;return Ze(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!Ze(t.prototype)||(t=void 0),a(t)&&null===(t=t[We])&&(t=void 0)),void 0===t?Array:t}(e))(t)},function(e,t,n){for(var r,i,s=$(e),o=O(s),a=P(t,n,3),l=F(o.length),c=0,d=Me?Re(e,l):Le?Re(e,0):void 0;l>c;c++)if((Ge||c in o)&&(i=a(r=o[c],c,s),ke))if(Me)d[c]=i;else if(i)switch(ke){case 3:return!0;case 5:return r;case 6:return c;case 2:d.push(r)}else if(Ae)return!1;return Oe?-1:je||Ae?Ae:d});L(L.P+L.F*(De=!0,!((ze=[].map)&&c((function(){De?ze.call(null,(function(){}),1):ze.call(null)})))),"Array",{map:function(e){return Fe(this,e,arguments[1])}});var Ne=Math.max,Be=Math.min,Ve=Math.floor,qe=/\$([$&`']|\d\d?|<[^>]*>)/g,Ye=/\$([$&`']|\d\d?)/g;Ee("replace",2,(function(e,t,n,r){return[function(r,i){var s=e(this),o=null==r?void 0:r[t];return void 0!==o?o.call(r,s,i):n.call(String(s),r,i)},function(e,t){var s=r(n,e,this,t);if(s.done)return s.value;var o=l(e),a=String(this),c="function"==typeof t;c||(t=String(t));var d=o.global;if(d){var u=o.unicode;o.lastIndex=0}for(var p=[];;){var f=fe(o,a);if(null===f)break;
1if(p.push(f),!d)break;""===String(f[0])&&(o.lastIndex=le(a,F(o.lastIndex),u))}for(var h,m="",v=0,g=0;g<p.length;g++){f=p[g];for(var y=String(f[0]),b=Ne(Be(Z(f.index),a.length),0),w=[],S=1;S<f.length;S++)w.push(void 0===(h=f[S])?h:String(h));var x=f.groups;if(c){var T=[y].concat(w,b,a);void 0!==x&&T.push(x);var E=String(t.apply(void 0,T))}else E=i(y,a,b,w,x,t);b>=v&&(m+=a.slice(v,b)+E,v=b+y.length)}return m+a.slice(v)}];function i(e,t,r,i,s,o){var a=r+e.length,l=i.length,c=Ye;return void 0!==s&&(s=$(s),c=qe),n.call(o,c,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(a);case"<":c=s[o.slice(1,-1)];break;default:var d=+o;if(0===d)return n;if(d>l){var u=Ve(d/10);return 0===u?n:u<=l?void 0===i[u-1]?o.charAt(1):i[u-1]+o.charAt(1):n}c=i[d-1]}return void 0===c?"":c}))}}));var He,Xe=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="key";var r=!1,i=!1,s=!1;function o(e){if(!e)throw new Error("Expected value to be defined");return e}function a(e){if(!s)throw new Error("Cannot call "+e+"() unless in patch.")}function l(e){if(r)throw new Error(e+"() can not be called between elementOpenStart() and elementOpenEnd().")}function c(e){if(i)throw new Error(e+"() may not be called inside an element that has called skip().")}function d(e){if(!r)throw new Error(e+"() can only be called after calling elementOpenStart().")}function u(e){s=null!=e}function p(e){var t=r;return r=e,t}function f(e){var t=i;return i=e,t}var h=Object.prototype.hasOwnProperty;function m(){}function v(){return new m}function g(e,t){for(;e.length>t;)e.pop()}m.prototype=Object.create(null);var y={default:"__default"};function b(e,t,n){if(null==n)e.removeAttribute(t);else{var r=function(e){return 0===e.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===e.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":null}(t);r?e.setAttributeNS(r,t,String(n)):e.setAttribute(t,String(n))}}function w(e,t,n){e[t]=n}function S(e,t,n){t.indexOf("-")>=0?e.setProperty(t,n):e[t]=n}var x=v();function T(e,t,n){(x[t]||x[y.default])(e,t,n)}x[y.default]=function(e,t,n){var r=typeof n;"object"===r||"function"===r?w(e,t,n):b(e,t,n)},x.style=function(e,t,n){o("style"in e);var r,i,s=e.style;if("string"==typeof n)s.cssText=n;else for(var a in s.cssText="",n)r=n,i=a,h.call(r,i)&&S(s,a,n[a])};var E={nodesCreated:null,nodesDeleted:null};class I{constructor(){this.created=[],this.deleted=[]}markCreated(e){this.created.push(e)}markDeleted(e){this.deleted.push(e)}notifyChanges(){E.nodesCreated&&this.created.length>0&&E.nodesCreated(this.created),E.nodesDeleted&&this.deleted.length>0&&E.nodesDeleted(this.deleted)}}function C(e){return 1===e.nodeType}var P="undefined"!=typeof Node&&Node.prototype.getRootNode||function(){for(var e=this,t=e;e;)t=e,e=e.parentNode;return t};function k(e,t){var n=function(e){var t=P.call(e);return function(e){return 11===e.nodeType||9===e.nodeType}(t)?t.activeElement:null}(e);return n&&e.contains(n)?function(e,t){for(var n=[],r=e;r!==t;){var i=o(r);n.push(i),r=i.parentNode}return n}(n,t):[]}class _{constructor(e,t,n){this._attrsArr=null,this.staticsApplied=!1,this.nameOrCtor=e,this.key=t,this.text=n}hasEmptyAttrsArr(){var e=this._attrsArr;return!e||!e.length}getAttrsArr(e){return this._attrsArr||(this._attrsArr=(g(t=new Array(e),0),t));var t}}function M(e,t,n,r){var i=new _(t,n,r);return e.__incrementalDOMData=i,i}function L(e,t){if(e.__incrementalDOMData)return e.__incrementalDOMData;var r=C(e)?e.localName:e.nodeName,i=n,s=C(e)&&null!=i?e.getAttribute(i):null,o=M(e,r,C(e)?s||t:null);return C(e)&&function(e,t){var n=e.attributes,r=n.length;if(r)for(var i=t.getAttrsArr(r),s=0,o=0;s<r;s+=1,o+=2){var a=n[s],l=a.name,c=a.value;i[o]=l,i[o+1]=c}}(e,o),o}function j(e,t){return L(e,t)}function A(e,t,n,r){var i;if("function"==typeof n)i=new n;else{var s=function(e,t){return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/Math/MathML":null==t?null:"foreignObject"===j(t).nameOrCtor?null:t.namespaceURI}(n,t);i=s?e.createElementNS(s,n):e.createElement(n)}return M(i,n,r),i}function O(e,t,n,r,i){return t==n&&r==i}var G=null,R=null,z=null,D=null,Z=[],W=O,F=[],N=[];function B(){return F}function V(){return N}function q(e,t,n){var r=j(e,n);return W(e,t,r.nameOrCtor,n,r.key)}function Y(e,t,n){for(var r=e,i=t;i!==n;){var s=i.nextSibling;r.removeChild(i),G.markDeleted(i),i=s}}function H(){return R?R.nextSibling:z.firstChild}function X(){z=R,R=null}function J(){Y(z,H(),null),R=z,z=z.parentNode}function U(){R=H()}function $(e,t){var n;return n="#text"===e?function(e){var t=e.createTextNode("");return M(t,"#text",null),t}(D):A(D,z,e,t),G.markCreated(n),n}function K(e,t){U();var n=function(e,t,n){if(!e)return null;var r=e;do{if(q(r,t,n))return r}while(n&&(r=r.nextSibling));return null}(R,e,t)||$(e,t);n!==R&&(Z.indexOf(n)>=0?function(e,t,n){for(var r=t.nextSibling,i=n;null!==i&&i!==t;){var s=i.nextSibling;e.insertBefore(i,r),i=s}}(z,n,R):z.insertBefore(n,R),R=n)}function Q(e,t){return K(e,t),X(),z}function ee(){return f(!1),J(),R}function te(){return a("currentElement"),l("currentElement"),z}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:n=O}=t;return(t,i,s)=>{var o,a,l=G,c=D,d=Z,h=F,m=N,v=R,g=z,y=W;D=t.ownerDocument,G=new I,W=n,F=[],N=[],R=null,z=t.parentNode,Z=k(t,z),o=p(!1),a=f(!1),u(G);try{var b=e(t,i,s);return function(){if(r)throw new Error("elementOpenEnd() must be called after calling elementOpenStart().")}(),b}finally{G.notifyChanges(),D=c,G=l,W=y,F=h,N=m,R=v,z=g,Z=d,p(o),f(a),u(G)}}}
1function re(e){return ne((e,t,n)=>(R=e,X(),t(n),J(),function(e,t){if(e!==t){for(var n=e,r=[];n&&n!==t;)r.push(n.nodeName.toLowerCase()),n=n.parentNode;throw new Error("One or more tags were not closed:\n"+r.join("\n"))}}(R,e),e),e)}function ie(e){return ne((e,t,n)=>{var r,i,s={nextSibling:e};return r=e.nextSibling,i=e.previousSibling,R=s,t(n),function(e){e||console.warn("patchOuter requires the node have a parent if there is a key.")}(z),function(e,t,n,r){var i=o(e),s=o(t),a=s.nextSibling===n&&s.previousSibling===r,l=s.nextSibling===i.nextSibling&&s.previousSibling===r;if(!a&&!l&&!(s===i))throw new Error("There must be exactly one top level call corresponding to the patched element.")}(s,R,r,i),z&&Y(z,H(),e.nextSibling),s===R?null:R},e)}var se=re(),oe=ie(),ae=[],le=0;function ce(e,t,n,r){ae.push(e),ae.push(t),ae.push(n),ae.push(r)}var de=v();function ue(e,t,n,r){for(var i=!e.length,s=0;s<t.length;s+=2){var o=t[s];if(i)e[s]=o;else if(e[s]!==o)break;var a=t[s+1];(i||e[s+1]!==a)&&(e[s+1]=a,ce(r,n,o,a))}if(s<t.length||s<e.length){var l=s;for(s=l;s<e.length;s+=2)de[e[s]]=e[s+1];for(s=l;s<t.length;s+=2){var c=t[s],d=t[s+1];de[c]!==d&&ce(r,n,c,d),e[s]=c,e[s+1]=d,delete de[c]}for(var u in g(e,t.length),de)ce(r,n,u,void 0),delete de[u]}!function(){var e=le,t=ae.length;le=t;for(var n=e;n<t;n+=4){(0,ae[n])(ae[n+1],ae[n+2],ae[n+3])}le=e,g(ae,e)}()}var pe=3,fe=v();function he(e,t){var n=V();ue(t.getAttrsArr(n.length),n,e,T),g(n,0)}function me(e,t,n){if(!t.staticsApplied&&(t.staticsApplied=!0,n&&n.length))if(t.hasEmptyAttrsArr())for(var r=0;r<n.length;r+=2)T(e,n[r],n[r+1]);else{for(var i=0;i<n.length;i+=2)fe[n[i]]=i+1;for(var s=t.getAttrsArr(0),o=0,a=0;a<s.length;a+=2){var l=s[a],c=s[a+1],d=fe[l];d?n[d]===c&&delete fe[l]:(s[o]=l,s[o+1]=c,o+=2)}for(var u in g(s,o),fe)T(e,u,n[fe[u]]),delete fe[u]}}function ve(e,t,n){var r=B();l("elementOpenStart"),p(!0),r[0]=e,r[1]=t,r[2]=n}function ge(e,t){var n=V();a("attr"),n.push(e),n.push(t)}function ye(){var e=B();d("elementOpenEnd"),p(!1);var t=Q(e[0],e[1]),n=j(t);return me(t,n,e[2]),he(t,n),g(e,0),t}function be(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),s=3;s<r;s++)i[s-3]=arguments[s];l("elementOpen"),c("elementOpen"),ve(e,t,n);for(var o=pe;o<arguments.length;o+=2)ge(arguments[o],arguments[o+1]);return ye()}function we(e){l("elementClose");var t=ee();return function(e,t){if(e!==t)throw new Error('Received a call to close "'+t+'" but "'+e+'" was open.')}(j(t).nameOrCtor,e),t}t.applyAttr=b,t.applyProp=w,t.attributes=x,t.alignWithDOM=K,t.close=ee,t.createPatchInner=re,t.createPatchOuter=ie,t.currentElement=te,t.currentPointer=function(){return a("currentPointer"),l("currentPointer"),H()},t.open=Q,t.patch=se,t.patchInner=se,t.patchOuter=oe,t.skip=function(){!function(e,t){if(null!==t)throw new Error(e+"() must come before any child declarations inside the current element.")}("skip",R),f(!0),R=z.lastChild},t.skipNode=U,t.setKeyAttributeName=function(e){n=e},t.clearCache=function e(t){t.__incrementalDOMData=null;for(var n=t.firstChild;n;n=n.nextSibling)e(n)},t.getKey=function(e){return o(e.__incrementalDOMData),j(e).key},t.importNode=function e(t){L(t);for(var n=t.firstChild;n;n=n.nextSibling)e(n)},t.isDataInitialized=function(e){return Boolean(e.__incrementalDOMData)},t.notifications=E,t.symbols=y,t.applyAttrs=function(){var e=te();he(e,j(e))},t.applyStatics=function(e){var t=te();me(t,j(t),e)},t.attr=ge,t.elementClose=we,t.elementOpen=be,t.elementOpenEnd=ye,t.elementOpenStart=ve,t.elementVoid=function(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),s=3;s<r;s++)i[s-3]=arguments[s];return be.apply(null,arguments),we(e)},t.key=function(e){var t=B();d("key"),o(t),t[1]=e},t.text=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];l("text"),c("text");var i=(K("#text",null),R),s=j(i);if(s.text!==e){s.text=e;for(var o=e,a=1;a<arguments.length;a+=1){o=(0,arguments[a])(o)}i.data!==o&&(i.data=o)}return i}}));(He=Xe)&&He.__esModule&&Object.prototype.hasOwnProperty.call(He,"default")&&He.default;Xe.applyAttr;var Je=Xe.applyProp,Ue=Xe.attributes,$e=(Xe.alignWithDOM,Xe.close,Xe.createPatchInner,Xe.createPatchOuter,Xe.currentElement,Xe.currentPointer,Xe.open,Xe.patch),Ke=(Xe.patchInner,Xe.patchOuter,Xe.skip,Xe.skipNode,Xe.setKeyAttributeName,Xe.clearCache,Xe.getKey,Xe.importNode,Xe.isDataInitialized,Xe.notifications,Xe.symbols,Xe.applyAttrs,Xe.applyStatics,Xe.attr,Xe.elementClose),Qe=Xe.elementOpen,et=(Xe.elementOpenEnd,Xe.elementOpenStart,Xe.elementVoid),tt=(Xe.key,Xe.text);Ue.caretpos=function(e,t,n){e.setSelectionRange(n,n)},Ue.value=Je;var nt=function(e,t,n,r){$e(e,(function(){!function(e,t,n){if(e.suggestions.length>0&&e.focused){Qe("ul","",["class","dawa-autocomplete-suggestions","role","listbox","unselectable","on"]);for(var r=function(r){var i=e.suggestions[r],s="dawa-autocomplete-suggestion";e.selected===r&&(s+=" dawa-selected"),Qe("li","",["role","option"],"class",s,"onmousedown",(function(e){t(r),e.preventDefault()}));var o=i.forslagstekst.split("\n");if(o=o.map((function(e){return e.replace(/ /g,"Â ")})),n){tt(o[0]);for(var a=1;a<o.length;++a)et("br"),tt(o[a])}else tt(o.join(", "));Ke("li")},i=0;i<e.suggestions.length;++i)r(i);Ke("ul")}}(t,n,r)}))},rt=function(e,t){var n=t.onSelect,r=t.onTextChange,i=t.render||nt,s=!1,o="",a=0,l=d
1ocument.createElement("div");e.parentNode.insertBefore(l,e.nextSibling);var c,d={caretpos:2,inputText:"",selected:0,focused:document.activeElement===e,suggestions:[]},u=function(e){var t=e.value,n=e.selectionStart;d.caretpos=n,d.inputText=t,function(e,t){o===e&&a===t||(r(e,t),o=e,a=t)}(t,n)},p=function(e){var t=d.suggestions[e];d.inputText=t.tekst,d.caretpos=t.caretpos,d.suggestions=[],n(t),c(!0)},f=function(e){var t=window.event?e.keyCode:e.which;if(d.suggestions.length>0&&d.focused){if(40===t)d.selected=(d.selected+1)%d.suggestions.length,c();else if(38===t)d.selected=(d.selected-1+d.suggestions.length)%d.suggestions.length,c();else{if(13!==t&&9!==t)return!0;p(d.selected)}return e.preventDefault(),!1}},h=function(){d.focused=!0,c()},m=function(){return d.focused=!1,c(),!1},v=function(e){u(e.target)},g=function(e){return u(e.target)},y=!1,b=!1;(c=function(n){n&&(b=!0),y||(y=!0,requestAnimationFrame((function(){s||(y=!1,b&&(e.value=d.inputText,e.setSelectionRange(d.caretpos,d.caretpos)),b=!1,i(l,d,(function(e){return p(e)}),t.multiline))})))})();return e.addEventListener("keydown",f),e.addEventListener("blur",m),e.addEventListener("focus",h),e.addEventListener("input",v),e.addEventListener("mouseup",g),e.setAttribute("aria-autocomplete","list"),e.setAttribute("autocomplete","off"),{destroy:function(){s=!0,e.removeEventListener("keydown",f),e.removeEventListener("blur",m),e.removeEventListener("focus",h),e.removeEventListener("input",v),e.removeEventListener("mouseup",g),$e(l,(function(){})),l.remove()},setSuggestions:function(e){d.suggestions=e,d.selected=0,c()},selectAndClose:function(e){d.inputText=e,d.caretpos=e.length,d.suggestions=[],d.selected=0,c(!0)}}};function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,st(r.key),r)}}function st(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var ot,at,lt,ct;ot="keys",at=function(){return function(e){return X($(e))}},lt=(o.Object||{})[ot]||Object[ot],(ct={})[ot]=at(lt),L(L.S+L.F*c((function(){lt(1)})),"Object",ct);var dt={};dt[re("toStringTag")]="z",dt+""!="[object z]"&&I(Object.prototype,"toString",(function(){return"[object "+ue(this)+"]"}),!0);var ut,pt,ft,ht=function(e,t,n,r){try{return r?t(l(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&l(i.call(e)),t}},mt={},vt=re("iterator"),gt=Array.prototype,yt=function(e){return void 0!==e&&(mt.Array===e||gt[vt]===e)},bt=re("iterator"),wt=o.getIteratorMethod=function(e){if(null!=e)return e[bt]||e["@@iterator"]||mt[ue(e)]},St=i((function(e){var t={},n={},r=e.exports=function(e,r,i,s,o){var a,c,d,u,p=o?function(){return e}:wt(e),f=P(i,s,r?2:1),h=0;if("function"!=typeof p)throw TypeError(e+" is not iterable!");if(yt(p)){for(a=F(e.length);a>h;h++)if((u=r?f(l(c=e[h])[0],c[1]):f(e[h]))===t||u===n)return u}else for(d=p.call(e);!(c=d.next()).done;)if((u=ht(d,f,c.value,r))===t||u===n)return u};r.BREAK=t,r.RETURN=n})),xt=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},Tt=s.document,Et=Tt&&Tt.documentElement,It=s.process,Ct=s.setImmediate,Pt=s.clearImmediate,kt=s.MessageChannel,_t=s.Dispatch,Mt=0,Lt={},jt=function(){var e=+this;if(Lt.hasOwnProperty(e)){var t=Lt[e];delete Lt[e],t()}},At=function(e){jt.call(e.data)};Ct&&Pt||(Ct=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Lt[++Mt]=function(){xt("function"==typeof e?e:Function(e),t)},ut(Mt),Mt},Pt=function(e){delete Lt[e]},"process"==A(It)?ut=function(e){It.nextTick(P(jt,e,1))}:_t&&_t.now?ut=function(e){_t.now(P(jt,e,1))}:kt?(ft=(pt=new kt).port2,pt.port1.onmessage=At,ut=P(ft.postMessage,ft,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(ut=function(e){s.postMessage(e+"","*")},s.addEventListener("message",At,!1)):ut="onreadystatechange"in f("script")?function(e){Et.appendChild(f("script")).onreadystatechange=function(){Et.removeChild(this),jt.call(e)}}:function(e){setTimeout(P(jt,e,1),0)});var Ot={set:Ct,clear:Pt},Gt=Ot.set,Rt=s.MutationObserver||s.WebKitMutationObserver,zt=s.process,Dt=s.Promise,Zt="process"==A(zt);function Wt(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=C(t),this.reject=C(n)}var Ft={f:function(e){return new Wt(e)}},Nt=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},Bt=s.navigator,Vt=Bt&&Bt.userAgent||"",qt=v.f,Yt=re("toStringTag"),Ht=re("species"),Xt=re("iterator"),Jt=!1;try{var Ut=[7][Xt]();Ut.return=function(){Jt=!0},Array.from(Ut,(function(){throw 2}))}catch(e){}var $t,Kt,Qt,en,tn,nn,rn,sn=Ot.set,on=function(){var e,t,n,r=function(){var r,i;for(Zt&&(r=zt.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(Zt)n=function(){zt.nextTick(r)};else if(!Rt||s.navigator&&s.navigator.standalone)if(Dt&&Dt.resolve){var i=Dt.resolve(void 0);n=function(){i.then(r)}}else n=function(){Gt.call(s,r)};else{var o=!0,a=document.createTextNode("");new Rt(r).observe(a,{characterData:!0}
1),n=function(){a.data=o=!o}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}(),an=s.TypeError,ln=s.process,cn=ln&&ln.versions,dn=cn&&cn.v8||"",un=s.Promise,pn="process"==ue(ln),fn=function(){},hn=Kt=Ft.f,mn=!!function(){try{var e=un.resolve(1),t=(e.constructor={})[re("species")]=function(e){e(fn,fn)};return(pn||"function"==typeof PromiseRejectionEvent)&&e.then(fn)instanceof t&&0!==dn.indexOf("6.6")&&-1===Vt.indexOf("Chrome/66")}catch(e){}}(),vn=function(e){var t;return!(!a(e)||"function"!=typeof(t=e.then))&&t},gn=function(e,t){if(!e._n){e._n=!0;var n=e._c;on((function(){for(var r=e._v,i=1==e._s,s=0,o=function(t){var n,s,o,a=i?t.ok:t.fail,l=t.resolve,c=t.reject,d=t.domain;try{a?(i||(2==e._h&&wn(e),e._h=1),!0===a?n=r:(d&&d.enter(),n=a(r),d&&(d.exit(),o=!0)),n===t.promise?c(an("Promise-chain cycle")):(s=vn(n))?s.call(n,l,c):l(n)):c(r)}catch(e){d&&!o&&d.exit(),c(e)}};n.length>s;)o(n[s++]);e._c=[],e._n=!1,t&&!e._h&&yn(e)}))}},yn=function(e){sn.call(s,(function(){var t,n,r,i=e._v,o=bn(e);if(o&&(t=Nt((function(){pn?ln.emit("unhandledRejection",i,e):(n=s.onunhandledrejection)?n({promise:e,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=pn||bn(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},bn=function(e){return 1!==e._h&&0===(e._a||e._c).length},wn=function(e){sn.call(s,(function(){var t;pn?ln.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})}))},Sn=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),gn(t,!0))},xn=function e(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw an("Promise can't be resolved itself");(n=vn(t))?on((function(){var i={_w:r,_d:!1};try{n.call(t,P(e,i,1),P(Sn,i,1))}catch(e){Sn.call(i,e)}})):(r._v=t,r._s=1,gn(r,!1))}catch(e){Sn.call({_w:r,_d:!1},e)}}};function Tn(e,t){return t=t||{},new Promise((function(n,r){var i=new XMLHttpRequest,s=[],o=[],a={};for(var l in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){s.push(t=t.toLowerCase()),o.push([t,n]),a[t]=a[t]?a[t]+","+n:n})),n(function e(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:e,headers:{keys:function(){return s},entries:function(){return o},get:function(e){return a[e.toLowerCase()]},has:function(e){return e.toLowerCase()in a}}}}())},i.onerror=r,i.withCredentials="include"==t.credentials,t.headers)i.setRequestHeader(l,t.headers[l]);i.send(t.body||null)}))}mn||(un=function(e){!function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")}(this,un,"Promise","_h"),C(e),$t.call(this);try{e(P(xn,this,1),P(Sn,this,1))}catch(e){Sn.call(this,e)}},($t=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)I(e,r,t[r],n);return e}(un.prototype,{then:function(e,t){var n=hn(oe(this,un));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=pn?ln.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&gn(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),Qt=function(){var e=new $t;this.promise=e,this.resolve=P(xn,e,1),this.reject=P(Sn,e,1)},Ft.f=hn=function(e){return e===un||e===en?new Qt(e):Kt(e)}),L(L.G+L.W+L.F*!mn,{Promise:un}),nn="Promise",(tn=un)&&!b(tn=rn?tn:tn.prototype,Yt)&&qt(tn,Yt,{configurable:!0,value:nn}),function(e){var t=s[e];d&&t&&!t[Ht]&&v.f(t,Ht,{configurable:!0,get:function(){return this}})}("Promise"),en=o.Promise,L(L.S+L.F*!mn,"Promise",{reject:function(e){var t=hn(this);return(0,t.reject)(e),t.promise}}),L(L.S+L.F*!mn,"Promise",{resolve:function(e){return function(e,t){if(l(e),a(t)&&t.constructor===e)return t;var n=Ft.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),L(L.S+L.F*!(mn&&function(e,t){if(!t&&!Jt)return!1;var n=!1;try{var r=[7],i=r[Xt]();i.next=function(){return{done:n=!0}},r[Xt]=function(){return i},e(r)}catch(e){}return n}((function(e){un.all(e).catch(fn)}))),"Promise",{all:function(e){var t=this,n=hn(t),r=n.resolve,i=n.reject,s=Nt((function(){var n=[],s=0,o=1;St(e,!1,(function(e){var a=s++,l=!1;n.push(void 0),o++,t.resolve(e).then((function(e){l||(l=!0,n[a]=e,--o||r(n))}),i)})),--o||r(n)}));return s.e&&i(s.v),n.promise},race:function(e){var t=this,n=hn(t),r=n.reject,i=Nt((function(){St(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}});var En={params:{},minLength:2,retryDelay:500,renderCallback:function(){console.error("No renderCallback supplied")},initialRenderCallback:function(){console.error("No initialRenderCallback supplied")},type:"adresse",baseUrl:"https://dawa.aws.dk",adgangsadresserOnly:!1,stormodtagerpostnumre:!0,supplerendebynavn:!0,fuzzy:!0,fetchImpl:function(e,t){return Tn("".concat(e,"?").concat(function(e){return Object.keys(e).map((function(t){var n=e[t];return"".concat(t,"=").concat(encodeURIComponent(n))})).join("&")}(t)),{mode:"cors"}).then((function(e){return e.json()}))}},In=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=Object.assign({},En,t||{}),this.options=t,this.state={currentRequest:null,pendingRequest:null},this.selected=null}var t,n,r;return t=e,(n=[{key:"_getAutocompleteResponse",value:function(e,t,n,r,i,s){var o=Object.assign({},this.options.params,{q:e,type:this.options.type,caretpos:t,supplerendebynavn:i,stormodtagerpostnumre:s,multilinje:!0});return this.options.fuzzy&&(o.fuzzy=""),r&&(o.adgangsadresseid=r),n&&(o.startfra="adgangsadresse"),this.options.fetchImpl("".concat(this.options.baseUrl,"/autocomplete"),o)}},{key:"_scheduleRequest",value:function(e){null!==this.state.currentRequest?this.state.pendingRequest=e:(this.state.currentRequest=e,this._executeRequest())}},{key:"_executeRequest",value:function(){var e,t,n=this,r=this.state.currentRequest,i=null,
1s=!1;if(r.selected){var o=r.selected;if(o.type===this.options.type)return this.options.selectCallback(o),this.selected=o,void this._requestCompleted();i="adgangsadresse"===o.type?o.data.id:null,s="vejnavn"===o.type,e=o.tekst,t=o.caretpos}else e=r.text,t=r.caretpos;if(r.selectedId){var a={id:r.selectedId,type:this.options.type};return this.options.fetchImpl("".concat(this.options.baseUrl,"/autocomplete"),a).then((function(e){return n._handleResponse(r,e)}),(function(e){return n._handleFailedRequest(r,e)}))}r.selected||r.text.length>=this.options.minLength?this._getAutocompleteResponse(e,t,s,i,this.options.supplerendebynavn,this.options.stormodtagerpostnumre).then((function(e){return n._handleResponse(r,e)}),(function(e){return n._handleFailedRequest(r,e)})):this._handleResponse(r,[])}},{key:"_handleFailedRequest",value:function(e,t){var n,r=this;return console.error("DAWA request failed",t),(n=this.options.retryDelay,new Promise((function(e){return setTimeout(e,n)}))).then((function(){r.state.pendingRequest||r._scheduleRequest(e),r._requestCompleted()}))}},{key:"_handleResponse",value:function(e,t){if(e.selected)if(1===t.length){var n=t[0];n.type===this.options.type?this.options.selectCallback(n):this.state.pendingRequest||(this.state.pendingRequest={selected:n})}else this.options.renderCallback&&this.options.renderCallback(t);else e.selectedId?1===t.length&&(this.selected=t[0],this.options.initialRenderCallback(t[0].tekst)):this.options.renderCallback&&this.options.renderCallback(t);this._requestCompleted()}},{key:"_requestCompleted",value:function(){this.state.currentRequest=this.state.pendingRequest,this.state.pendingRequest=null,this.state.currentRequest&&this._executeRequest()}},{key:"setRenderCallback",value:function(e){this.options.renderCallback=e}},{key:"setInitialRenderCallback",value:function(e){this.options.initialRenderCallback=e}},{key:"setSelectCallback",value:function(e){this.options.selectCallback=e}},{key:"update",value:function(e,t){var n={text:e,caretpos:t};this._scheduleRequest(n)}},{key:"select",value:function(e){var t={selected:e};this._scheduleRequest(t)}},{key:"selectInitial",value:function(e){var t={selectedId:e};this._scheduleRequest(t)}},{key:"destroy",value:function(){}}])&&it(t.prototype,n),r&&it(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Cn="Expected a function",Pn=NaN,kn="[object Symbol]",_n=/^\s+|\s+$/g,Mn=/^[-+]0x[0-9a-f]+$/i,Ln=/^0b[01]+$/i,jn=/^0o[0-7]+$/i,An=parseInt,On="object"==typeof r&&r&&r.Object===Object&&r,Gn="object"==typeof self&&self&&self.Object===Object&&self,Rn=On||Gn||Function("return this")(),zn=Object.prototype.toString,Dn=Math.max,Zn=Math.min,Wn=function(){return Rn.Date.now()};function Fn(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Nn(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&zn.call(e)==kn}(e))return Pn;if(Fn(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Fn(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(_n,"");var n=Ln.test(e);return n||jn.test(e)?An(e.slice(2),n?2:8):Mn.test(e)?Pn:+e}var Bn=function(e,t,n){var r,i,s,o,a,l,c=0,d=!1,u=!1,p=!0;if("function"!=typeof e)throw new TypeError(Cn);function f(t){var n=r,s=i;return r=i=void 0,c=t,o=e.apply(s,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||u&&e-c>=s}function m(){var e=Wn();if(h(e))return v(e);a=setTimeout(m,function(e){var n=t-(e-l);return u?Zn(n,s-(e-c)):n}(e))}function v(e){return a=void 0,p&&r?f(e):(r=i=void 0,o)}function g(){var e=Wn(),n=h(e);if(r=arguments,i=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(m,t),d?f(e):o}(l);if(u)return a=setTimeout(m,t),f(l)}return void 0===a&&(a=setTimeout(m,t)),o}return t=Nn(t)||0,Fn(n)&&(d=!!n.leading,s=(u="maxWait"in n)?Dn(Nn(n.maxWait)||0,t):s,p="trailing"in n?!!n.trailing:p),g.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=i=a=void 0},g.flush=function(){return void 0===a?o:v(Wn())},g};function Vn(e,t){t=Object.assign({select:function(){return null}},t);var n=["baseUrl","minLength","params","fuzzy","stormodtagerpostnumre","supplerendebynavn","type"].reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{});n.type||(t.adgangsadresserOnly?n.type="adgangsadresse":n.type="adresse");var r=new In(n),i=function(e,t){return r.update(e,t)};i=t.debounce?Bn(i,t.debounce,{maxWait:500}):i;var s=rt(e,{onSelect:function(e){r.select(e)},onTextChange:i,render:t.render,multiline:t.multiline||!1});return r.setRenderCallback((function(e){return s.setSuggestions(e)})),r.setSelectCallback((function(e){s.selectAndClose(e.tekst),t.select(e)})),r.setInitialRenderCallback((function(e){return s.selectAndClose(e)})),t.id&&r.selectInitial(t.id),{id:function(e){return r.selectInitial(e)},destroy:function(){return s.destroy()},selected:function(){return r.selected}}}}).call(this,n(48))},1:function(e,t,n){function r(){var e=o(['\n <div class="','">\n </div>\n ']);return r=function(){return e},e}function i(){var e=o(['\n <canvas class="','" width="0" height="0">\n </canvas>\n ']);return i=function(){return e},e}function s(){var e=o(['\n <div class="'," ",'">\n </div>\n ']);return s=function(){return e},e}function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="examples",n(n.s=4)}([function(e,t,n){var r,i;!function(s,o){"use strict";r=[n(2)],void 0===(i=function(e){return function(e,t){var n=e.jQuery,r=e.console;function i(e,t){for(var n in t)e[n]=t[n];return e}var s=Array.prototype.slice;function o(e,t,a){if(!(this instanceof o))return new o(e,t,a);var l,c=e;"string"==typeof e&&(c=document.querySelectorAll(e)),c?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?s.call(l):[l]),this.options=i({},this.options),"function"==typeof t?a=t:i(this.options,t),a&&this.on("always",a),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(c||e))}o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&a[t]){for(var n=e.querySelectorAll("img"),r=0;r<n.length;r++){var i=n[r];this.addImage(i)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(r=0;r<s.length;r++){var o=s[r];this.addElementBackgroundImages(o)}}}};var a={1:!0,9:!0,11:!0};function l(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(t.backgroundImage);null!==r;){var i=r&&r[2];i&&this.addBackground(i,e),r=n.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},o.prototype.check=function(){var e=this;function t(t,n,r){setTimeout((function(){e.progress(t,n,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},l.prototype=Object.create(t.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWi
1dth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(n(this))})},o.makeJQueryPlugin(),o}(s,e)}.apply(t,r))||(e.exports=i)}("undefined"!=typeof window?window:this)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,'.ff-container{display:inline-block;position:relative}.ff-container .ff-image{z-index:0;vertical-align:top;opacity:0}.ff-container .ff-canvas{display:inline-block;position:absolute;top:0;left:0;pointer-events:none;z-index:1;vertical-align:top;opacity:0}.ff-container .ff-canvas.ff-canvas-ready{-webkit-transition:opacity 300ms;-o-transition:opacity 300ms;-moz-transition:opacity 300ms;transition:opacity 300ms;opacity:1}.ff-container.ff-active .ff-image{opacity:1}.ff-container.ff-active .ff-canvas.ff-canvas-ready{-webkit-transition:none;-o-transition:none;-moz-transition:none;transition:none;opacity:0}.ff-container.ff-active .ff-overlay{display:none}.ff-container.ff-inactive .ff-canvas.ff-canvas-ready{-webkit-transition:opacity 300ms;-o-transition:opacity 300ms;-moz-transition:opacity 300ms;transition:opacity 300ms;opacity:1}.ff-container.ff-inactive .ff-image{-webkit-transition:opacity 300ms;-o-transition:opacity 300ms;-moz-transition:opacity 300ms;transition:opacity 300ms;-webkit-transition-delay:170ms;-moz-transition-delay:170ms;-o-transition-delay:170ms;transition-delay:170ms;opacity:0}.ff-container.ff-responsive{width:100%}.ff-container.ff-responsive .ff-image,.ff-container.ff-responsive .ff-canvas{width:100%}.ff-container.ff-loading-icon:before{content:"";position:absolute;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHdpZHRoPSc1MHB4JyBoZWlnaHQ9JzUwcHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIiBjbGFzcz0idWlsLXNwaW4iPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJub25lIiBjbGFzcz0iYmsiPjwvcmVjdD48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCA1MCkiPjxnIHRyYW5zZm9ybT0icm90YXRlKDApIHRyYW5zbGF0ZSgzNCAwKSI+PGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjgiIGZpbGw9IiNmZmZmZmYiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGZyb209IjEiIHRvPSIwLjEiIGJlZ2luPSIwcyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBmcm9tPSIxLjUiIHRvPSIxIiBiZWdpbj0iMHMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGVUcmFuc2Zvcm0+PC9jaXJjbGU+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDQ1KSB0cmFuc2xhdGUoMzQgMCkiPjxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSI4IiBmaWxsPSIjZmZmZmZmIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBmcm9tPSIxIiB0bz0iMC4xIiBiZWdpbj0iMC4xMnMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgZnJvbT0iMS41IiB0bz0iMSIgYmVnaW49IjAuMTJzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSg5MCkgdHJhbnNsYXRlKDM0IDApIj48Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iOCIgZmlsbD0iI2ZmZmZmZiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgZnJvbT0iMSIgdG89IjAuMSIgYmVnaW49IjAuMjVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGZyb209IjEuNSIgdG89IjEiIGJlZ2luPSIwLjI1cyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZVRyYW5zZm9ybT48L2NpcmNsZT48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMTM1KSB0cmFuc2xhdGUoMzQgMCkiPjxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSI4IiBmaWxsPSIjZmZmZmZmIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBmcm9tPSIxIiB0bz0iMC4xIiBiZWdpbj0iMC4zN3MiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgZnJvbT0iMS41IiB0bz0iMSIgYmVnaW49IjAuMzdzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgxODApIHRyYW5zbGF0ZSgzNCA
1wKSI+PGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjgiIGZpbGw9IiNmZmZmZmYiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGZyb209IjEiIHRvPSIwLjEiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGZyb209IjEuNSIgdG89IjEiIGJlZ2luPSIwLjVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgyMjUpIHRyYW5zbGF0ZSgzNCAwKSI+PGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjgiIGZpbGw9IiNmZmZmZmYiPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIGZyb209IjEiIHRvPSIwLjEiIGJlZ2luPSIwLjYycyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZT48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBmcm9tPSIxLjUiIHRvPSIxIiBiZWdpbj0iMC42MnMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGVUcmFuc2Zvcm0+PC9jaXJjbGU+PC9nPjxnIHRyYW5zZm9ybT0icm90YXRlKDI3MCkgdHJhbnNsYXRlKDM0IDApIj48Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iOCIgZmlsbD0iI2ZmZmZmZiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgZnJvbT0iMSIgdG89IjAuMSIgYmVnaW49IjAuNzVzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGZyb209IjEuNSIgdG89IjEiIGJlZ2luPSIwLjc1cyIgZHVyPSIxcyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiPjwvYW5pbWF0ZVRyYW5zZm9ybT48L2NpcmNsZT48L2c+PGcgdHJhbnNmb3JtPSJyb3RhdGUoMzE1KSB0cmFuc2xhdGUoMzQgMCkiPjxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSI4IiBmaWxsPSIjZmZmZmZmIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBmcm9tPSIxIiB0bz0iMC4xIiBiZWdpbj0iMC44N3MiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGU+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgZnJvbT0iMS41IiB0bz0iMSIgYmVnaW49IjAuODdzIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvZz48L2c+PC9zdmc+");background-position:center center;background-repeat:no-repeat;height:46px;width:46px;z-index:3;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.ff-container .ff-overlay{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAABeCAQAAAAA22vlAAAGFklEQVR42t2ce0yVdRjHP9zlKnfQAwoqV80bImCR90tGhJmShVOxVFJBrdSWVmvmnJlSm2ZbWwunlc4ZOf5IV7NJ84KmFpmZioiKigoKyPWct72vJ4dj0Lm8t9Nz/jt/fd73/L6/5/v8fs9z4H8VTjjhjAuu5o8LLtJ3DoEuYnvghS89pY8PnrjjgrPeH0BEd8fbEHRpaVOZqVUQ2m/cLfomGX+8pAfQ8S8gonvglx/TeEToEKbW69vnD6Annrjp9QEevnU/Q0RDmdAp2m6ffSs0DD964KrHBeSEK96EnlgtdBGN5T9kEYQPHvp7AGc8CCCq7ozQTdzdv2U4AXjrTQEueBFGorFN6DaMzZWFU/t2UIAuwhVfIkkSLIiW6lOLfULx1Y8C3PAnmjTBwmg4UTyFQLzx0MMCcieQAaQLlofp1u73B+sjB7gTRCyjBavCWF+xPs2gvQJE+DjGCFZH8+WjuQRrqwB3gm2DF+P+4Z1jJQVotIDsghcEk7H6q4I4/M02TuUHsBNejPa6c2sTemlhImSAF6Pp/M/ZkgJUNREywYtRe3B7mroKkBFetNFXP5vTXz0bLSu8ZKNr/nhDLRstO7xko39Tx0YrAi/G7e+Vt9GKwYs2uqowK0pJE6EgvKSAG7/nK2ejFYaXbPSpkgxlFKACvKSAfR8Pk18BKsELgrGpcovchaRq8IJUSJ5eIqcCVIWXFHBy/1QC5VGA6vCii7i9d+NQOQpJLeBFBTy4vMl+BWgELyng2q95hNijAA3hJQWUPTpKcbV+AWkMLylgzwdDbFOA9vCiAhovb5zQx3oF6AJeUkDVyQXWHqXoBl5SwLF9k6w5TNQVvHSY+K3lh4l6gxcV0FCxIc1gSSGpQ3hJAZWl2QTghVt3+DqFF3+AMwUE4SXt/w4HL5hatoonoZ5db546hheEq3sQ1767Q8I33yKGYOndOx68IDCE3vg4JLypnWRE2+DqgPC3K0glGn+HhC8pIpUoh3zzd24aZpJEJL4OB3+vNnMlExlEON4OJViTUFqWsJwsUulHID1wdhj4C1XZn7KA6aSTQDg+XRsEncHX3lu323k5c3medAYiXlR7OIQ9aG3bfSjobRaQzWRSiMeAv2SL9W/MjpWnrOd1csggnSH049+rIb37+crq3M/JZw7TGEcScRgsu1XUHL6+cfN3riuYzwwmkkIifSw/iNIUvt1Y/EvkWhbxEs/wJE8QTZg1ByAawp/+a9xHLGY2mYxmGAPoZe31g0bw1TUFX5LPPGmVjyCOCFsufjSAf9C0vcTzTV5lJpNJJZG+hNh26awyvNF08PiA91jEyzzLUwyWtkR/W6/7VYX/81JmIUukVT6GYcTQ275GC9Xga2rX7GQZuUxnAsnEE2l/k5cq8M0tRQd7rmKBtMrTGEQUoXK0VigObxIOnxq8jjxeMSf+/oTL1dioMPzFqllbWcocshhDErGWJn7N4evurxftbS4vMpGRJNBH7lZGheDb2vYcChHtrZj4R0mrPEz+/g9F4MvOjtpgtrdPM5T+9FKmfVd2+Gs3874gn7mP7G3Eo/tuJ123rDQ2bdvvISb+GUyy1t5qCm80HTje710WMYuptthbDeHPVTxK/KPNiV+FMQ0Z4O/Urdn1WOKPIFidARk74Vtbd/0YsPqxxB+iXlexXfBHy0d82CnxezpAO+6V6nnbzYl/rPyJX0H4hsbC4g4VvwKJXyF4o7HkSF87Kn4N4csvTNncqeL30m7swuKBl5q7q3ZQwDxeYLztFb/c8LGM/q/xuuaWogO+K3nNXPEPtL3ilxdeGvK6fr479NLTUi0kVvwPD0HDba/45QzzeN2ObV2BV1zL2dahForRYkvsKsyDjZ7TrvzdGfxe/aa9zuKWqFgtZF+YR0oZH7/w4oWO4O3txaWGd1iobC1kX5iHeUkmwy33k68vXWlvF4S6+p/Kxm0gjxyeU7YWsi/MY9TEkUYGOeSxjBXks4jZZHU6BNXZGLt5gJ1exJLMeDKZwUymk8E4RipfC8mB74EfoUSRyHBSSGUkQ4nX4yrv6u17E0AYEUQRTV8MhDjCnzbgaH+X8Q8RGKy7dFBuqQAAAABJRU5ErkJggg==");background-repeat:no-repeat;max-width:94px;max-height:94px;position:absolute;
1left:0%;right:0%;top:0%;bottom:0%;margin:auto;-webkit-background-size:contain;-moz-background-size:contain;background-size:contain;background-position:center;pointer-events:none;z-index:100}',""])},function(e,t,n){var r,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(r=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],i=0;i<n.length;i++){var s=n[i];r&&r[s]&&(this.off(e,s),delete r[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var s=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[r].concat(o).concat([s]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var s=this[i][0];null!=s&&(r[s]=!0)}for(i=0;i<e.length;i++){var o=e[i];null!=o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){"use strict";n.r(t);var o,a=n(0),l=n.n(a);!function(e){e.START="start",e.STOP="stop",e.TOGGLE="toggle"}(o||(o={}));var c,d,u=e=>"â¨Freezeframe: ".concat(e,"â¨"),p=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.error(u(e),...n)},f=e=>"string"==typeof e?document.querySelectorAll(e):e,h=(e,t,n)=>{var r=e instanceof Element?[e]:e;return Array.from(r).reduce((e,t)=>{if(t instanceof HTMLImageElement)e.push(t),"gif"!==(e=>e.split(".").pop().toLowerCase().substring(0,3))(t.src)&&n.warnings&&function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];console.warn(u(e),...n)}("Image does not appear to be a gif",t);else{var r=t.querySelectorAll("img");r.length?e=e.concat(Array.from(r)):p("Invalid element",t)}return e},[])},m=e=>[...new Set(e)],v=e=>{var t=window.document.createElement("div");t.innerHTML=e;var n=t.childNodes;return n.length>1?n:n[0]},g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=(c=["",""],d=["",""],Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(d)}}))),b=function(){function e(){for(var t=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tag=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return"function"==typeof e?t.interimTag.bind(t,e):"string"==typeof e?t.transformEndResult(e):(e=e.map(t.transformString.bind(t)),t.transformEndResult(e.reduce(t.processSubstitutions.bind(t,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map((function(e){return"function"==typeof e?e():e})),this.tag}return g(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return this.tag(y,e.apply(void 0,[t].concat(r)))}},{key:"processSubstitutions",value:function(e,t,n){var r=this.transformSubstitution(e.shift(),t);return"".concat(t,r,n)}},{key:"transformString",value:function(e){return this.transformers.reduce((function(e,t){return t.onString?t.onString(e):e}),e)}},{key:"transformSubstitution",value:function(e,t){return this.transformers.reduce((function(e,n){return n.onSubstitution?n.onSubstitution(e,t):e}),e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce((function(e,t){return t.onEndResult?t.onEndResult(e):e}),e)}}]),e}(),w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(t){if(""===e)return t.trim();if("start"===(e=e.toLowerCase())||"left"===e)return t.replace(/^\s*/,"");if("end"===e||"right"===e)return t.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}};function S(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?
1=\S)/gm),r=n&&Math.min.apply(Math,S(n.map((function(e){return e.length}))));if(r){var i=new RegExp("^.{"+r+"}","gm");return t.replace(i,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}},T=function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}},E=function(e,t){return{onSubstitution:function(n,r){if(null==e||null==t)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(e,t)}}},I={separator:"",conjunction:"",serial:!1},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;return{onSubstitution:function(t,n){if(Array.isArray(t)){var r=t.length,i=e.separator,s=e.conjunction,o=e.serial,a=n.match(/(\n?[^\S\n]+)$/);if(t=a?t.join(i+a[1]):t.join(i+" "),s&&r>1){var l=t.lastIndexOf(i);t=t.slice(0,l)+(o?i:"")+" "+s+t.slice(l+1)}}return t}}},P=function(e){return{onSubstitution:function(t,n){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof t&&t.includes(e)&&(t=t.split(e)),t}}},k=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e},_=(new b(C({separator:","}),x,w),new b(C({separator:",",conjunction:"and"}),x,w),new b(C({separator:",",conjunction:"or"}),x,w),new b(P("\n"),(function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(k):k(e)?e:""}}}),C,x,w));new b(P("\n"),C,x,w,E(/&/g,"&"),E(/</g,"<"),E(/>/g,">"),E(/"/g,"""),E(/'/g,"'"),E(/`/g,"`")),new b(T(/(?:\n(?:\s*))+/g," "),w),new b(T(/(?:\n\s*)/g,""),w),new b(C({separator:","}),T(/(?:\s+)/g," "),w),new b(C({separator:",",conjunction:"or"}),T(/(?:\s+)/g," "),w),new b(C({separator:",",conjunction:"and"}),T(/(?:\s+)/g," "),w),new b(C,x,w),new b(C,T(/(?:\s+)/g," "),w),new b(x,w),new b(x("all"),w);var M,L,j,A=".freezeframe",O="ff-loading-icon",G="ff-ready",R="ff-inactive",z="ff-active",D={selector:A,responsive:!0,trigger:"hover",overlay:!1,warnings:!0},Z=n(1),W=n.n(Z),F=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n},N=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)};M=new WeakMap,L=new WeakMap,j=new WeakMap,t.default=class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=arguments.length>1?arguments[1]:void 0;this.items=[],this.$images=[],M.set(this,void 0),L.set(this,void 0),this._eventListeners=Object.assign({},Object.values(o).reduce((e,t)=>(e[t]=[],e),{})),j.set(this,[]),"string"==typeof e||e instanceof Element||e instanceof HTMLCollection||e instanceof NodeList?(this.options=Object.assign(Object.assign({},D),t),F(this,M,e)):"object"!=typeof e||t?p("Invalid Freezeframe.js configuration:",...[e,t].filter(e=>void 0!==e)):(this.options=Object.assign(Object.assign({},D),e),F(this,M,this.options.selector)),this._init(N(this,M))}get _stylesInjected(){return!!document.querySelector("style#ff-styles")}_init(e){this._injectStylesheet(),F(this,L,"ontouchstart"in window||"onmsgesturechange"in window),this._capture(e),this._load(this.$images)}_capture(e){this.$images=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.reduceRight((e,t)=>(function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return e(t(...i,...n))}))()}}(f,h,m)(e,this.options)}_load(e){l()(e).on("progress",(e,t)=>{var{img:n}=t;this._setup(n)})}_setup(e){return function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{l(r.next(e))}catch(e){s(e)}}function a(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}l((r=r.apply(e,t||[])).next())}))}(this,void 0,void 0,(function*(){var t=this._wrap(e);this.items.push(t),yield this._process(t),this._attach(t)}))}_wrap(e){var t,n,o=v(_(s(),"ff-container",O)),a=v(_(i(),"ff-canvas"));return this.options.responsive&&o.classList.add("ff-responsive"),this.options.overlay&&o.appendChild(v(_(r(),"ff-overlay"))),e.classList.add("ff-image"),o.appendChild(a),n=o,(t=e).parentNode.insertBefore(n,t),n.appendChild(t),{$container:o,$canvas:a,$image:e}}_process(e){return new Promise(t=>{var{$canvas:n,$image:r,$container:i}=e,{clientWidth:s,clientHeight:o}=r;n.setAttribute("width",s.toString()),n.setAttribute("height",o.toString()),n.getContext("2d").drawImage(r,0,0,s,o),n.classList.add("ff-canvas-ready"),n.addEventListener("transitionend",()=>{this._ready(i),t(e)},{once:!0})})}_ready(e){e.classList.add(G),e.classList.add(R),e.classList.remove(O)}_attach(e){var{$image:t}=e;N(this,L)||"hover"!==this.options.trigger||(this._addEventListener(t,"mouseleave",()=>{this._toggleOff(e),this._emit(o.START,e,!1),this._emit(o.TOGGLE,e,!1)}),this._addEventListener(t,"mouseenter",()=>{this._toggleOn(e),this._emit(o.START,e,!0),this._emit(o.TOGGLE,e,!0)})),(N(this,L)||"click"===this.options.trigger)&&this._addEventListener(t,"click",()=>{this._toggle(e)})}_addEventListener(e,t,n){N(this,j).push({$image:e,event:t,listener:n}),e.addEventListener(t,n)}_removeEventListener(e,t,n){e.removeEventListener(t,n)}_injectStylesheet(){this._stylesInjected||document.head.appendChild(v(_('\n <style id="ff-styles">\n '.concat(W.a.toString(),"\n </style>\n "))))}
1_emit(e,t,n){this._eventListeners[e].forEach(e=>{e(Array.isArray(t)&&1===t.length?t[0]:t,n)})}_toggleOn(e){var{$container:t,$image:n}=e;t.classList.contains(G)&&(n.setAttribute("src",n.src),t.classList.remove(R),t.classList.add(z))}_toggleOff(e){var{$container:t}=e;t.classList.contains(G)&&(t.classList.add(R),t.classList.remove(z))}_toggle(e){var{$container:t}=e,n=t.classList.contains(z);return n?this._toggleOff(e):this._toggleOn(e),!n}start(){return this.items.forEach(e=>{this._toggleOn(e)}),this._emit(o.START,this.items,!0),this._emit(o.TOGGLE,this.items,!0),this}stop(){return this.items.forEach(e=>{this._toggleOff(e)}),this._emit(o.STOP,this.items,!1),this._emit(o.TOGGLE,this.items,!1),this}toggle(){return this.items.forEach(e=>{var t=this._toggle(e);t?this._emit(o.START,this.items,!1):this._emit(o.STOP,this.items,!1),this._emit(o.TOGGLE,this.items,t)}),this}on(e,t){return this._eventListeners[e].push(t),this}destroy(){N(this,j).forEach(e=>{var{$image:t,event:n,listener:r}=e;this._removeEventListener(t,n,r)})}}}]).default},48:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},49:function(e,t){var n=document.querySelector(".header-menu-collapsable");n&&n.addEventListener("click",(function(){var e=this.classList;e.contains("open")?e.remove("open"):e.add("open");var t=document.querySelector(".header-menu-mobile").classList;t.contains("visible")?t.remove("visible"):t.add("visible")})),document.querySelectorAll(".menu-item-title").forEach(e=>{e.addEventListener("click",(function(e){var t=this.parentNode.classList,n=this.parentNode.parentNode.childNodes;t.contains("visible")?t.remove("visible"):(n.forEach(e=>{e.classList.contains("visible")&&e.classList.remove("visible")}),t.add("visible"))}))}),document.querySelectorAll(".header-menu li").forEach(e=>{var t;e.classList.contains("search-icon-container")||(e.addEventListener("mouseenter",()=>{clearTimeout(t),t=setTimeout(()=>{e.querySelector(".header-submenu").style.display="flex"},700)}),e.addEventListener("mouseleave",()=>{clearTimeout(t),t=setTimeout(()=>{e.querySelector(".header-submenu").style.display="none"},700)}))});var r=window.scrollY,i=document.querySelector(".layout-top"),s=window.innerWidth<=600,o=s?10:100,a=0,l=0;window.addEventListener("scroll",()=>{var e=window.scrollY;if(0===e)return i.classList.remove("layout-top-sticky-show"),i.classList.remove("layout-top-sticky-animate"),i.classList.remove("layout-top-sticky"),!1,a=0,l=0,void(r=0);if(e>r){if(e-a>100){i.classList.add("layout-top-sticky"),i.classList.remove("layout-top-sticky-show");var t=document.querySelector("#mobile-menu");t&&(t.classList.remove("visible"),t.hidePopover()),document.querySelector(".header-menu-collapsable").classList.remove("open"),!0,l=e}}else l-e>o&&(i.classList.add("layout-top-sticky-animate"),i.classList.add("layout-top-sticky-show"),!1,a=e);r=e})},50:function(e,t){$(document).on("click",".subpage-list .view-more-link",(function(e){e.preventDefault(),fetch(window.location.href+e.target.href).then((function(e){return e.ok?e.text():Promise.reject(e)})).then((function(e){var t=document.createElement("div");t.innerHTML=e,document.querySelector(".subpage-list .view-more-link").outerHTML=t.querySelector(".articles").innerHTML})).catch((function(e){console.warn(e)}))}))},51:function(e,t){var n=document.querySelector(".share-copy a");n&&n.addEventListener("click",(function(e){e.preventDefault(),navigator.clipboard&&navigator.clipboard.writeText(n.href).then((function(){}))}))},64:function(e,t,n){"use strict";n.r(t);var r=n(0);document.querySelectorAll(".search-button").forEach(e=>{e.addEventListener("click",(function(){this.closest("form").submit()}))});var i=document.querySelector("#search-icon");i&&i.addEventListener("click",(function(){var e=document.querySelector(".search-menu");e.classList.contains("visible")?e.classList.remove("visible"):(document.querySelector(".header-submenu").style.display="none",e.classList.add("visible"),e.querySelector("input").focus())}
1)),document.querySelectorAll(".search-church").forEach(e=>{e.addEventListener("submit",(function(e){e.preventDefault()})),Object(r.a)(e.querySelector("input"),{adgangsadresserOnly:!0,select:function(t){t.data.href&&(window.location.href=e.action+"?addressUrl="+t.data.href+"#dawasearchfield")}})});n(49);function s(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function o(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(n=>{void 0===e[n]?e[n]=t[n]:s(t[n])&&s(e[n])&&Object.keys(t[n]).length>0&&o(e[n],t[n])})}const a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function l(){const e="undefined"!=typeof document?document:{};return o(e,a),e}const c={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function d(){const e="undefined"!=typeof window?window:{};return o(e,c),e}function u(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function p(){return Date.now()}function f(e,t){void 0===t&&(t="x");const n=d();let r,i,s;const o=function(e){const t=d();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?((i=o.transform||o.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix("none"===i?"":i)):r=(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=n.WebKitCSSMatrix?s.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?s.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function h(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const i=r<0||arguments.length<=r?void 0:arguments[r];if(null!=i&&(n=i,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const n=Object.keys(Object(i)).filter(e=>t.indexOf(e)<0);for(let t=0,r=n.length;t<r;t+=1){const r=n[t],s=Object.getOwnPropertyDescriptor(i,r);void 0!==s&&s.enumerable&&(h(e[r])&&h(i[r])?i[r].__swiper__?e[r]=i[r]:m(e[r],i[r]):!h(e[r])&&h(i[r])?(e[r]={},i[r].__swiper__?e[r]=i[r]:m(e[r],i[r])):e[r]=i[r])}}}var n;return e}function v(e,t,n){e.style.setProperty(t,n)}function g(e){let{swiper:t,targetPosition:n,side:r}=e;const i=d(),s=-t.translate;let o,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=n>s?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{o=(new Date).getTime(),null===a&&(a=o);const e=Math.max(Math.min((o-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let d=s+c*(n-s);if(u(d,n)&&(d=n),t.wrapperEl.scrollTo({[r]:d}),u(d,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:d})}),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(p)};p()}function y(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function b(e){try{return void console.warn(e)}catch(e){}}function w(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}(t)),n}function S(e,t){return d().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function T(e,t,n){const r=d();
1return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let E,I,C;function P(){return E||(E=function(){const e=d(),t=l();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),E}function k(e){return void 0===e&&(e={}),I||(I=function(e){let{userAgent:t}=void 0===e?{}:e;const n=P(),r=d(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let u=s.match(/(iPad).*OS\s([\d_]+)/);const p=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let m="MacIntel"===i;return!u&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&((u=s.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),c&&!h&&(o.os="android",o.android=!0),(u||f||p)&&(o.os="ios",o.ios=!0),o}(e)),I}function _(){return C||(C=function(){const e=d(),t=k();let n=!1;function r(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&r<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=r();return{isSafari:n||s,needPerspectiveFix:n,need3dFix:s||i&&t.ios,isWebView:i}}()),C}var M={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];t.apply(r,s)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];return"string"==typeof s[0]||Array.isArray(s[0])?(t=s[0],n=s.slice(1,s.length),r=e):(t=s[0].events,n=s[0].data,r=s[0].context||e),n.unshift(r),(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(r,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(r,n)})}),e}};const L=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const j=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const A=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest((()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`)());if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},O=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},G=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=i,s=[n-t];return s.push(...Array.from({length:t}).map((e,t)=>
vendor: 17,382 bytes, line 1
1n+r+t)),void e.slides.forEach((t,n)=>{s.includes(t.column)&&O(e,n)})}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=s+t;r+=1){const t=(r%n+n)%n;(t<i||t>s)&&O(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(s+t,n-1);r+=1)r!==i&&(r>s||r<i)&&O(e,r)};function R(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e;const{activeIndex:s,previousIndex:o}=t;let a=r;if(a||(a=s>o?"next":s<o?"prev":"reset"),t.emit(`transition${i}`),n&&s!==o){if("reset"===a)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===a?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}function z(e,t,n){const r=d(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return!s||!(n<=o||n>=r.innerWidth-o)||"prevent"===s&&(t.preventDefault(),!0)}function D(e){const t=this,n=l();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if("pointerdown"===r.type){if(null!==i.pointerId&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(i.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void z(t,r,r.targetTouches[0].pageX);const{params:s,touches:o,enabled:a}=t;if(!a)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let c=r.target;if("wrapper"===s.touchEventsTarget&&!t.wrapperEl.contains(c))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(i.isTouched&&i.isMoved)return;const u=!!s.noSwipingClass&&""!==s.noSwipingClass,f=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&f&&(c=f[0]);const h=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,m=!(!r.target||!r.target.shadowRoot);if(s.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===l()||n===d())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(h,c):c.closest(h)))return void(t.allowClick=!0);if(s.swipeHandler&&!c.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const v=o.currentX,g=o.currentY;if(!z(t,r,v))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=v,o.startY=g,i.touchStartTime=p(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1);let y=!0;c.matches(i.focusableElements)&&(y=!1,"SELECT"===c.nodeName&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==c&&n.activeElement.blur();const b=y&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!b||c.isContentEditable||r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function Z(e){const t=l(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,enabled:a}=n;if(!a)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let c,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==r.touchId)return;if(d.pointerId!==r.pointerId)return}if("touchmove"===d.type){if(!(c=[...d.changedTouches].filter(e=>e.identifier===r.touchId)[0])||c.identifier!==r.touchId)return}else c=d;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",d));const u=c.pageX,f=c.pageY;if(d.preventedByNestedSwiper)return s.startX=u,void(s.startY=f);if(!n.allowTouchMove)return d.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(s,{startX:u,startY:f,currentX:u,currentY:f}),r.touchStartTime=p()));if(i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(f<s.startY&&n.translate<=n.maxTranslate()||f>s.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<s.startX&&n.translate<=n.maxTranslate()||u>s.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&d.target===t.activeElement&&d.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",d),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=u,s.currentY=f;const h=s.currentX-s.startX,m=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(h**2+m**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",d),void 0===r.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===d.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&d.cancelable&&d.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&d.stopPropagation();let v=n.isHorizontal()?h:m,g=n.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(v=Math.abs(v)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),s.diff=v,v*=i.touchRatio,o&&(v=-v,g=-g);const y=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const b=n.params.loop&&!i.cssMode,w="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(b&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&b&&w&&Math.abs(v)>=1)return Object.assign(s,{startX:u,startY:f,currentX:u,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let S=!0,x=i.resistanceRatio;if(i.touchReleaseOnEdges&&(x=0),v>0?(b&&w&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(S=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**x))):v<0&&(b&&w&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===i.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(S=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**x))),S&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(v)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function W(e){const t=this,n=t.touchEventsData;let r,i=e;if(i.originalEvent&&(i=i.originalEvent),"touchend"===i.type||"touchcancel"===i.type){if(!(r=[...i.changedTouches].filter(e=>e.identifier===n.touchId)[0])||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(i.pointerId!==n.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:s,touches:o,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!s.simulateTouch&&"mouse"===i.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);s.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=p(),f=d-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=p(),u(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===o.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=s.followFinger?a?t.translate:-t.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const m=h>=-t.maxTranslate()&&!t.params.loop;let v=0,g=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){const t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==l[e+t]?(m||h>=l[e]&&h<l[e+t])&&(v=e,g=l[e+t]-l[e]):(m||h>=l[e])&&(v=e,g=l[l.length-1]-l[l.length-2])}let y=null,b=null;s.rewind&&(t.isBeginning?b=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(y=0));const w=(h-l[v])/g,S=v<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(f>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?y:v+S):t.slideTo(v)),"prev"===t.swipeDirection&&(w>1-s.longSwipesRatio?t.slideTo(v+S):null!==b&&w<0&&Math.abs(w)>s.longSwipesRatio?t.slideTo(b):t.slideTo(v))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(v+S):t.slideTo(v):("next"===t.swipeDirection&&t.slideTo(null!==y?y:v+S),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:v))}}function F(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function N(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function B(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();(i=0===s?0:(e.translate-e.minTranslate())/s)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function V(e){A(this,e.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight||this.update()}function q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Y=(e,t)=>{const n=l(),{params:r,el:i,wrapperEl:s,device:o}=e,a=!!r.nested,c="on"===t?"addEventListener":"removeEventListener",d=t;i&&"string"!=typeof i&&(n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[c]("touchstart",e.onTouchStart,{passive:!1}),i[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[c]("click",e.onClick,!0),r.cssMode&&s[c]("scroll",e.onScroll),r.updateOnWindowResize?e[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",F,!0):e[d]("observerUpdate",F,!0),i[c]("load",e.onLoad,{capture:!0}))};const H=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var X={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function J(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],i=n[r];"object"==typeof i&&null!==i?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in i?("object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),m(t,n)):m(t,n)):m(t,n)}}const U={eventsEmitter:M,update:{updateSize:function(){const e=this;let t,n;const r=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(S(r,"padding-left")||0,10)-parseInt(S(r,"padding-right")||0,10),n=n-parseInt(S(r,"padding-top")||0,10)-parseInt(S(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=y(i,`.${e.params.slideClass}, swiper-slide`),u=l?e.virtual.slides.length:d.length;let p=[];const f=[],h=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const b=e.snapGrid.length,w=e.slidesGrid.length;let x=n.spaceBetween,E=-m,I=0,C=0;if(void 0===s)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*s:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x,d.forEach(e
1=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(v(r,"--swiper-centered-offset-before",""),v(r,"--swiper-centered-offset-after",""));const P=n.grid&&n.grid.rows>1&&e.grid;let k;P?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const _="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let r=0;r<u;r+=1){let i;if(k=0,d[r]&&(i=d[r]),P&&e.grid.updateSlide(r,i,d),!d[r]||"none"!==S(i,"display")){if("auto"===n.slidesPerView){_&&(d[r].style[e.getDirectionLabel("width")]="");const s=getComputedStyle(i),o=i.style.transform,a=i.style.webkitTransform;if(o&&(i.style.transform="none"),a&&(i.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?T(i,"width",!0):T(i,"height",!0);else{const e=t(s,"width"),n=t(s,"padding-left"),r=t(s,"padding-right"),o=t(s,"margin-left"),a=t(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=e+o+a;else{const{clientWidth:t,offsetWidth:s}=i;k=e+n+r+o+a+(s-t)}}o&&(i.style.transform=o),a&&(i.style.webkitTransform=a),n.roundLengths&&(k=Math.floor(k))}else k=(s-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),d[r]&&(d[r].style[e.getDirectionLabel("width")]=`${k}px`);d[r]&&(d[r].swiperSlideSize=k),h.push(k),n.centeredSlides?(E=E+k/2+I/2+x,0===I&&0!==r&&(E=E-s/2-x),0===r&&(E=E-s/2-x),Math.abs(E)<.001&&(E=0),n.roundLengths&&(E=Math.floor(E)),C%n.slidesPerGroup==0&&p.push(E),f.push(E)):(n.roundLengths&&(E=Math.floor(E)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&p.push(E),f.push(E),E=E+k+x),e.virtualSize+=k+x,I=k,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+g,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width=`${e.virtualSize+x}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),P&&e.grid.updateWrapperSize(k,p),!n.centeredSlides){const t=[];for(let r=0;r<p.length;r+=1){let i=p[r];n.roundLengths&&(i=Math.floor(i)),p[r]<=e.virtualSize-s&&t.push(i)}p=t,Math.floor(e.virtualSize-s)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-s)}if(l&&n.loop){const t=h[0]+x;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),i=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)p.push(p[p.length-1]+i)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==x){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");d.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==d.length-1).forEach(e=>{e.style[t]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(x||0)});const t=(e-=x)-s;p=p.map(e=>e<=0?-m:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;h.forEach(t=>{e+=t+(x||0)}),e-=x;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<s){const n=(s-e-t)/2;p.forEach((e,t)=>{p[t]=e-n}),f.forEach((e,t)=>{f[t]=e+n})}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){v(r,"--swiper-centered-offset-before",`${-p[0]}px`),v(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(u!==c&&e.emit("slidesLengthChange"),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==w&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,r=e.el.classList.contains(t);u<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>
vendor: 5,335 bytes, line 1
11)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(o(e))}else n.push(o(t.activeIndex));for(i=0;i<n.length;i+=1)if(void 0!==n[i]){const e=n[i].offsetHeight;s=e>s?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:s}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;i&&(o=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<r.length;e+=1){const l=r[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const d=(o+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),u=(o-s[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),p=-(o-c),f=p+t.slidesSizesGrid[e],h=p>=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),L(l,m,n.slideVisibleClass),L(l,h,n.slideFullyVisibleClass),l.progress=i?-d:d,l.originalProgress=i?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,c=o;if(0===r)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=n||i<=0,o=a||i>=1,n&&(i=0),a&&(i=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[n],s=t.slidesGrid[r],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);(a=l>=i?(l-i)/o:(l+o-s)/o)>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=e=>y(r,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,d;if(s)if(n.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else o?(l=t.filter(e=>e.column===i)[0],d=t.filter(e=>e.column===i+1)[0],c=t.filter(e=>e.column===i-1)[0]):l=t[i];l&&(o||(d=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{j(e,e===l,n.slideActiveClass),j(e,e===d,n.slideNextClass),j(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?r>=t[e]&&r<t[e+1]-(t[e+1]-t[e])/2?i=e:r>=t[e]&&r<t[e+1]&&(i=e+1):r>=t[e]&&(i=e);return n.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(i.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/i.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&i.grid&&i.grid.rows>1;let p;if(t.virtual&&i.virtual.enabled&&i.loop)p=d(c);else if(u){const e=t.slides.filter(e=>e.column===c)[0];let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/i.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:p,previousIndex:s,activeIndex:c}),t.initialized&&G(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>
11&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)});let s,o=!1;if(i)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===i){o=!0,s=e;break}if(!i||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let s=f(i,e);return s+=this.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,wrapperEl:s,progress:o}=n;let a,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,i.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,i.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:i.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const d=n.maxTranslate()-n.minTranslate();(a=0===d?0:(e-n.minTranslate())/d)!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let d;if(d=r&&e>l?l:r&&e<c?c:e,s.updateProgress(d),o.cssMode){const e=s.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-d;else{if(!s.support.smoothScroll)return g({swiper:s,targetPosition:-d,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(d),n&&(s.emit("beforeTransitionStart",t,i),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(d),n&&(s.emit("beforeTransitionStart",t,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),R({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),R({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,r,i){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const s=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:f,enabled:h}=s;if(!h&&!r&&!i||s.destroyed||s.animating&&a.preventInteractionOnTransition)return!1;void 0===t&&(t=s.params.speed);const m=Math.min(s.params.slidesPerGroupSkip,o);let v=m+Math.floor((o-m)/s.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const y=-l[v];
1if(a.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*y),n=Math.floor(100*c[e]),r=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<r-(r-n)/2?o=e:t>=n&&t<r&&(o=e+1):t>=n&&(o=e)}if(s.initialized&&o!==u){if(!s.allowSlideNext&&(p?y>s.translate&&y>s.minTranslate():y<s.translate&&y<s.minTranslate()))return!1;if(!s.allowSlidePrev&&y>s.translate&&y>s.maxTranslate()&&(u||0)!==o)return!1}let b;if(o!==(d||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(y),b=o>u?"next":o<u?"prev":"reset",p&&-y===s.translate||!p&&y===s.translate)return s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(y),"reset"!==b&&(s.transitionStart(n,b),s.transitionEnd(n,b)),!1;if(a.cssMode){const e=s.isHorizontal(),n=p?y:-y;if(0===t){const t=s.virtual&&s.params.virtual.enabled;t&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),t&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[e?"scrollLeft":"scrollTop"]=n})):f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return g({swiper:s,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(y),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,b),0===t?s.transitionEnd(n,b):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,b))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o+=i.virtual.slidesBefore;else{let e;if(s){const t=o*i.params.grid.rows;e=i.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else e=i.getSlideIndexByData(o);const t=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params;let a=i.params.slidesPerView;"auto"===a?a=i.slidesPerViewDynamic():(a=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&a%2==0&&(a+=1));let l=t-e<a;if(n&&(l=l||e<Math.ceil(a/2)),r&&n&&"auto"!==i.params.slidesPerView&&!s&&(l=!1),l){const r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(s){const e=o*i.params.grid.rows;o=i.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i},slideNext:function(e,t,n){void 0===t&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<s.slidesPerGroupSkip?1:a,c=r.virtual&&s.virtual.enabled;if(s.loop){if(o&&!c&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=r;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);const d=r.virtual&&i.virtual.enabled;if(i.loop){if(c&&!d&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(a?r.translate:-r.translate),f=s.map(e=>u(e));let h=s[f.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;
1s.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(h=s[e>0?e-1:e])}let m=0;if(void 0!==h&&((m=o.indexOf(h))<0&&(m=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(m,e,t,n)}),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const r=this;if(!r.destroyed)return void 0===e&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===t&&(t=!0),void 0===r&&(r=.5);const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const e=i.snapGrid[a];l-e>(i.snapGrid[a+1]-e)*r&&(s+=i.params.slidesPerGroup)}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,s=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?s<e.loopedSlides-r/2||s>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),s=e.getSlideIndex(y(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),u(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-r?(e.loopFix(),s=e.getSlideIndex(y(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),u(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}},loop:{loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{y(r,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),a=t.slides.length%o!=0,l=s&&t.slides.length%n.grid.rows!=0,c=e=>{for(let r=0;r<e;r+=1){const e=t.isElement?w("swiper-slide",[n.slideBlankClass]):w("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};if(a){if(n.loopAddBlankSlides){c(o-t.slides.length%o),t.recalcSlides(),t.updateSlides()}else b("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(l){if(n.loopAddBlankSlides){c(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()}else b("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:s,byController:o,byMousewheel:a}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:u,slidesEl:p,params:f}=l,{centeredSlides:h}=f;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&f.virtual.enabled)return n&&(f.centeredSlides||0!==l.snapIndex?f.centeredSlides&&l.snapIndex<f.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=d,l.allowSlideNext=u,void l.emit("loopFix");let m=f.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(f.slidesPerView,10)),h&&m%2==0&&(m+=1));const v=f.slidesPerGroupAuto?m:f.slidesPerGroup;let g=v;g%v!=0&&(g+=v-g%v),g+=f.loopAdditionalSlides,l.loopedSlides=g;const y=l.grid&&f.grid&&f.grid.rows>1;c.length<m+g?b("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):y&&"row"===f.grid.fill&&b("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],S=[];let x=l.activeIndex;void 0===s?s=l.getSlideIndex(c.filter(e=>e.classList.contains(f.slideActiveClass))[0]):x=s;const T="next"===r||!r,E="prev"===r||!r;let I=0,C=0;const P=y?Math.ceil(c.length/f.grid.rows):c.length,k=(y?c[s].column:s)+(h&&void 0===i?-m/2+.5:0);if(k<g){I=Math.max(g-k,v);for(let e=0;e<g-k;e+=1){const t=e-Math.floor(e/P)*P;if(y){const e=P-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&w.push(t)}else w.push(P-t-1)}}else if(k+m>P-g){C=Math.max(k-(P-2*g),v);for(let e=0;e<C;e+=1){const t=e-Math.floor(e/P)*P;
vendor: 7,382 bytes, line 1
1y?c.forEach((e,n)=>{e.column===t&&S.push(n)}):S.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),E&&w.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),T&&S.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===f.slidesPerView?l.updateSlides():y&&(w.length>0&&E||S.length>0&&T)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),f.watchSlidesProgress&&l.updateSlidesOffset(),n)if(w.length>0&&E){if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x+I]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x+Math.ceil(I),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(i){const e=y?w.length/f.grid.rows:w.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(S.length>0&&T)if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x-C]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x-C,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=y?S.length/f.grid.rows:S.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!o){const e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&n})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===f.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();const n=[];this.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=D.bind(e),e.onTouchMove=Z.bind(e),e.onTouchEnd=W.bind(e),e.onDocumentTouchStart=q.bind(e),t.cssMode&&(e.onScroll=B.bind(e)),e.onClick=N.bind(e),e.onLoad=V.bind(e),Y(e,"on")},detachEvents:function(){Y(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const a=(o in s?s[o]:void 0)||e.originalParams,l=H(e,r),c=H(e,a),d=e.params.grabCursor,u=a.grabCursor,p=r.enabled;l&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(a.grid.fill&&"column"===a.grid.fill||!a.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!u?e.unsetGrabCursor():!d&&u&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===a[t])return;const n=r[t]&&r[t].enabled,i=a[t]&&a[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});const f=a.direction&&a.direction!==r.direction,h=r.loop&&(a.slidesPerView!==r.slidesPerView||f),v=r.loop;f&&n&&e.changeDirection(),m(e.params,a);const g=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),n&&(h?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!v&&y?(e.loopCreate(t),e.updateSlides()):v&&!y&&e.loopDestroy()),e.emit("breakpoint",a)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const i=d(),s="window"===t?i.innerHeight:n.clientHeight,o=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){const{point:s,value:a}=o[e];"window"===t?i.matchMedia(`(min-width: ${a}px)`).matches&&(r=s):a<=n.clientWidth&&(r=s)}return r||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:n,el:r,device:i}=this,s=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),r.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},$={};class K{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=m({},t),e&&!t.el&&(t.el=e);const s=l();if(t.el&&"string"==typeof t.el&&s.querySelectorAll(t.el).length>1){const e=[];return s.querySelectorAll(t.el).forEach(n=>{const r=m({},t,{el:n});e.push(new K(r))}),e}const o=this;o.__swiper__=!0,o.support=P(),o.device=k({userAgent:t.userAgent}),o.browser=_(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const a={};o.modules.forEach(e=>{e({params:t,swiper:o,extendParams:J(t,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const c=m({},X,a);return o.params=m({},c,$,t),o.originalParams=m({},o.params),o.passedParams=m({}
1,t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(e=>{o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=x(y(t,`.${n.slideClass}, swiper-slide`)[0]);return x(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=y(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);const n=this.minTranslate(),r=(this.maxTranslate()-n)*e+n;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[a]?Math.ceil(r[a].swiperSlideSize):0;for(let n=a+1;n<r.length;n+=1)r[n]&&!e&&(l+=1,(t+=Math.ceil(r[n].swiperSlideSize))>o&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(l+=1,(t+=r[n].swiperSlideSize)>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<r.length;e+=1){(t?i[e]+s[e]-i[a]<o:i[e]-i[a]<o)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){i[a]-i[e]<o&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&A(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e?n:(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEac
vendor: 5,255 bytes, line 1
1h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update(),n)}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return y(n,r())[0]})();return!i&&t.params.createElements&&(i=w("div",t.params.wrapperClass),n.append(i),y(n,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===S(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===S(n,"direction")),wrongRTL:"-webkit-box"===S(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?A(t,e):e.addEventListener("load",e=>{A(t,e.target)})}),G(t),t.initialized=!0,G(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:i,wrapperEl:s,slides:o}=n;return void 0===n.params||n.destroyed?null:(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0,null)}static extendDefaults(e){m($,e)}static get extendedDefaults(){return $}static get defaults(){return X}static installModule(e){K.prototype.__modules__||(K.prototype.__modules__=[]);const t=K.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>K.installModule(e)),K):(K.installModule(e),K)}}(Object.keys(U).forEach(e=>{Object.keys(U[e]).forEach(t=>{K.prototype[t]=U[e][t]})}),K.use([function(e){let{swiper:t,on:n,emit:r}=e;const i=d();let s=null,o=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{o=i.requestAnimationFrame(()=>{const{width:n,height:r}=t;let i=n,s=r;e.forEach(e=>{let{contentBoxSize:n,contentRect:r,target:o}=e;o&&o!==t.el||(i=r?r.width:(n[0]||n).inlineSize,s=r?r.height:(n[0]||n).blockSize)}),i===n&&s===r||a()})})).observe(t.el):(i.addEventListener("resize",a),i.addEventListener("orientationchange",l))}),n("destroy",()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",l)})},function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=d(),a=function(e,n){void 0===n&&(n={});const r=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);const n=function(){i("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(n):o.setTimeout(n,0)});r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),s.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=function(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}(t.hostEl);for(let t=0;t<e.length;t+=1)a(e[t])}a(t.hostEl,{childList:t.params.observeSlideChildren}),a(t.wrapperEl,{attributes:!1})}}),r("destroy",()=>
1{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]),window.innerWidth<=1024)&&document.querySelectorAll(".mosaic-container").forEach(e=>{e.classList.contains("in-backend")||new K(e,{slidesPerView:1.3,slideClass:"mosaic-grid",wrapperClass:"mosaic"})});document.querySelectorAll(".mosaic-video").forEach(e=>{e.addEventListener("click",(function(){var t=e.querySelector("video"),n=e.querySelector(".mosaic-play");t.paused?(n.classList.add("mosaic-play-hidden"),t.play()):(n.classList.remove("mosaic-play-hidden"),t.pause())}))});n(50);window.innerWidth<=768&&document.querySelectorAll(".different-size-teaser").forEach(e=>{new K(e,{slidesPerView:1.3,slideClass:"different-size-teaser-element",wrapperClass:"different-size-teaser-container",breakpoints:{480:{slidesPerView:3}}})});var Q=n(1),ee=n.n(Q);document.querySelectorAll(".freezeframe").forEach(e=>{var t=new ee.a(e,{trigger:"click",overlay:!0,responsive:!0});setTimeout(()=>{t.start()},2e3)});n(51);function te(e){return e.dataset.filterLabelDate||"Vælg dato"}var ne=["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],re=["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"],ie=["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"];function se(e,t,n){return"".concat(n,". ").concat(re[t]," ").concat(e)}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"calendar-widget";e.querySelectorAll(".".concat(t,"__filter-button")).forEach(n=>{"date"!==n.getAttribute("data-filter")&&n.addEventListener("click",(function(n){n.stopPropagation();var r=this.parentElement,i=r.classList.contains("is-open");e.querySelectorAll(".".concat(t,"__filter-dropdown, .").concat(t,"__date-picker")).forEach(e=>{e.classList.remove("is-open")}),i||r.classList.add("is-open")}))}),document.addEventListener("click",(function(){e.querySelectorAll(".".concat(t,"__filter-dropdown, .").concat(t,"__date-picker")).forEach(e=>{e.classList.remove("is-open")})})),e.querySelectorAll(".".concat(t,"__filter-dropdown__content")).forEac
1h(e=>{e.addEventListener("click",(function(e){e.stopPropagation()}))})}function ae(e,t,n){var r=e.querySelector(".".concat(t,"__date-picker"));if(r){var i=r.children[0],s=r.children[1],o=r.children[2];if(i&&s&&o){var a=i.querySelector("span"),l=s.querySelector(".".concat(t,"__date-picker__month-label")),c=s.querySelector(".".concat(t,"__date-picker__prev-month")),d=s.querySelector(".".concat(t,"__date-picker__next-month")),u=s.querySelector(".".concat(t,"__date-picker__days")),p=new Date,f=p.getMonth(),h=p.getFullYear(),m=null,v=null,g=null;if(i.addEventListener("click",(function(n){n.stopPropagation();var i=r.classList.contains("is-open");e.querySelectorAll(".".concat(t,"__filter-dropdown, .").concat(t,"__date-picker")).forEach(e=>{e.classList.remove("is-open")}),i||r.classList.add("is-open")})),document.addEventListener("click",(function(){r.classList.remove("is-open")})),s.addEventListener("click",(function(e){e.stopPropagation()})),c.addEventListener("click",(function(){--f<0&&(f=11,h--),b()})),d.addEventListener("click",(function(){++f>11&&(f=0,h++),b()})),o.value){var y=new Date(o.value);m=y.getDate(),v=y.getMonth(),g=y.getFullYear(),f=v,h=g,a.textContent=se(g,v,m)}b(),r._setDate=function(e){var t=new Date(e);m=t.getDate(),v=t.getMonth(),g=t.getFullYear(),f=v,h=g,o.value=e,a.textContent=se(g,v,m),b()}}}function b(){l.textContent="".concat(ne[f]," ").concat(h);var e=new Date(h,f,1),t=new Date(h,f+1,0),n=e.getDay()-1;if(n<0&&(n=6),u.innerHTML="",n>0)for(var r=new Date(h,f,0).getDate(),i=n-1;i>=0;i--){var s=w(r-i,"prev-month");u.appendChild(s)}for(var o=1;o<=t.getDate();o++){var a=w(o,o===p.getDate()&&f===p.getMonth()&&h===p.getFullYear()?"today":"current-month",o);u.appendChild(a)}var c=7-(n+t.getDate())%7;if(c<7)for(var d=1;d<=c;d++){var m=w(d,"next-month");u.appendChild(m)}}function w(e,i){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=document.createElement("button");if(l.type="button",l.className="".concat(t,"__date-picker__day"),l.textContent=e,"prev-month"===i||"next-month"===i?(l.classList.add("".concat(t,"__date-picker__day--other-month")),l.disabled=!0):"today"===i&&l.classList.add("".concat(t,"__date-picker__day--today")),"current-month"===i&&null!==s){var c=new Date(h,f,s),d=new Date;d.setHours(0,0,0,0),c.setHours(0,0,0,0),c<d&&(l.disabled=!0)}return null!==s&&m===s&&v===f&&g===h&&l.classList.add("".concat(t,"__date-picker__day--selected")),null===s||l.disabled||l.addEventListener("click",(function(){!function(e,t,i){m=i,v=t,g=e,o.value=function(e,t,n){var r=String(t+1).padStart(2,"0"),i=String(n).padStart(2,"0");return"".concat(e,"-").concat(r,"-").concat(i)}(e,t,i),a.textContent=se(e,t,i),b(),r.classList.remove("is-open"),n&&n()}(h,f,s)})),l}}function le(e){var t=Array.from(e.querySelectorAll('input[name="targetgroups[]"]:checked')).map(e=>e.value),n=Array.from(e.querySelectorAll('input[name="organisers[]"]:checked')).map(e=>e.value),r=Array.from(e.querySelectorAll('input[name="bydel[]"]:checked')).map(e=>e.value),i=e.querySelector('input[name="fromDate"]');return{targetgroups:t,organisers:n,bydel:r,fromDate:i?i.value:null}}function ce(e,t,n,r){var i=t.querySelector(".".concat(n,"__chips-container")),s=t.querySelector(".".concat(n,"__chips"));if(s&&i)if(e.targetgroups.length>0||e.organisers.length>0||e.bydel.length>0||e.fromDate){if(i.style.display="flex",s.innerHTML="",e.targetgroups.forEach(e=>{var i=t.querySelector('input[name="targetgroups[]"][value="'.concat(e,'"]'));if(i){var o=de(i.parentElement.textContent.trim(),n,()=>{i.checked=!1,r&&r()});s.appendChild(o)}}),e.organisers.forEach(e=>{var i=t.querySelector('input[name="organisers[]"][value="'.concat(e,'"]'));if(i){var o=de(i.parentElement.textContent.trim(),n,()=>{i.checked=!1,r&&r()});s.appendChild(o)}}),e.bydel.forEach(e=>{var i=me(t,"bydel[]",e);if(i){var o=de(i.parentElement.textContent.trim(),n,()=>{i.checked=!1,r&&r()});s.appendChild(o)}}),e.fromDate){var o=t.querySelector('input[name="fromDate"]'),a=t.querySelector('[class*="__date-picker"]'),l=new Date(e.fromDate),c=se(l.getFullYear(),l.getMonth(),l.getDate()),d=de("Fra ".concat(c),n,()=>{if(o&&(o.value="",a)){var e=a.querySelector(".".concat(n,"__filter-button span"));e&&(e.textContent=te(t))}r&&r()});s.appendChild(d)}}else i.style.display="none"}function de(e,t,n){var r=document.createElement("div");return r.className="".concat(t,"__chip"),r.innerHTML="\n <sp
1an>".concat(e,'</span>\n <button type="button" class="').concat(t,'__chip__remove">Ã</button>\n '),r.querySelector(".".concat(t,"__chip__remove")).addEventListener("click",n),r}function ue(e,t,n){var r=t.querySelector(".".concat(n,"__count"));if(r){var i=r.querySelector(".".concat(n,"__count__number"));i&&(i.textContent=e)}}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new URLSearchParams;if(t.nodeId&&n.append("nodeId",t.nodeId),void 0!==t.from&&n.append("from",t.from),e.targetgroups.forEach(e=>n.append("targetgroups[]",e)),e.organisers.forEach(e=>n.append("organisers[]",e)),e.bydel.forEach(e=>n.append("bydel[]",e)),e.fromDate){var r=new Date(e.fromDate).getTime();n.append("fromDate",r)}return n}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e._source,r=new Date(n.startdate.replace(" ","T")),i=new Date(n.enddate.replace(" ","T")),s=r.getDate(),o=ie[r.getMonth()].toUpperCase(),a=r.toLocaleTimeString("da-DK",{hour:"2-digit",minute:"2-digit"}),l=i.toLocaleTimeString("da-DK",{hour:"2-digit",minute:"2-digit"}),c=n.noenddate?"Kl. ".concat(a):"Kl. ".concat(a,"-").concat(l),d=n.online?"Online":n.locationname,u=t?"".concat(t,"/event/").concat(e._id):"#";return'\n <a href="'.concat(u,'" class="calendar-event-card">\n <div class="calendar-event-card__date">\n <div class="calendar-event-card__date__day">').concat(s,'</div>\n <div class="calendar-event-card__date__month">').concat(o,'</div>\n </div>\n <div class="calendar-event-card__meta">\n <div class="calendar-event-card__time">\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n <path d="M12 2C6.48613 2 2 6.48613 2 12C2 17.5139 6.48613 22 12 22C17.5139 22 22 17.5139 22 12C22 6.48613 17.5139 2 12 2ZM12 20.0009C7.5885 20.0009 3.99907 16.4117 3.99907 12C3.99907 7.58828 7.5885 3.99907 12 3.99907C16.4115 3.99907 20.0009 7.5885 20.0009 12C20.0009 16.4115 16.4115 20.0009 12 20.0009Z" fill="currentColor"/>\n <path d="M12.9836 11.7113C12.9916 11.6602 12.9994 11.6092 12.9994 11.5559V7.19655C12.9994 6.64459 12.5518 6.19702 11.9998 6.19702C11.4479 6.19702 11.0003 6.64459 11.0003 7.19655V11.5559C11.0003 11.6409 10.9896 12.6085 11.3035 12.8899L14.3965 15.6626C14.5873 15.8339 14.8258 15.9178 15.0633 15.9178C15.3374 15.9178 15.6106 15.8056 15.808 15.5855C16.1765 15.1744 16.1421 14.5427 15.731 14.1742L12.9836 11.7113Z" fill="currentColor"/>\n </svg>\n ').concat(c,'\n </div>\n <div class="calendar-event-card__location">\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n <path d="M21 10C21 17 12 23 12 23C12 23 3 17 3 10C3 7.61305 3.94821 5.32387 5.63604 3.63604C7.32387 1.94821 9.61305 1 12 1C14.3869 1 16.6761 1.94821 18.364 3.63604C20.0518 5.32387 21 7.61305 21 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n <path d="M12 13C13.6569 13 15 11.6569 15 10C15 8.34315 13.6569 7 12 7C10.3431 7 9 8.34315 9 10C9 11.6569 10.3431 13 12 13Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>\n ').concat(d,'\n </div>\n </div>\n <h3 class="calendar-event-card__title">').concat(n.title,'</h3>\n <div class="calendar-event-card__category">').concat(n.category,"</div>\n </a>\n ")}function he(e,t){var n=new URLSearchParams(window.location.search);n.getAll("targetgroups[]").forEach(t=>{var n=e.querySelector('input[name="targetgroups[]"][value="'.concat(t,'"]'));n&&(n.checked=!0)}),n.getAll("organisers[]").forEach(t=>{var n=e.querySelector('input[name="organisers[]"][value="'.concat(t,'"]'));n&&(n.checked=!0)}),n.getAll("bydel[]").forEach(t=>{var n=me(e,"bydel[]",t);n&&(n.checked=!0)});var r=n.get("fromDate");if(r){var i=e.querySelector(".".concat(t,"__date-picker"));i&&i._setDate&&i._setDate(r)}}function me(e,t,n){var r=e.querySelectorAll('input[name="'.concat(t,'"]'));for(var i of r)if(i.value===n)return i;return null}function ve(e){if(!e.dataset.calendarInitialized){e.dataset.calendarInitialized="true";var t=e.dataset.ajaxUrl,n=e.dataset.calendarUrl,r=(e.dataset.stiftId,e.dataset.nodeId),i=e.querySelectorAll('input[type="checkbox"]'),s=e.querySelector(".calendar-widget__clear-filters"),o=e.querySelector(".calendar-widget__cta"),a=e.querySelector(".calendar-widget__grid");
1oe(e,"calendar-widget"),ae(e,"calendar-widget",l),i.forEach(e=>{e.addEventListener("change",l)}),s&&s.addEventListener("click",(function(){i.forEach(e=>e.checked=!1);var t=e.querySelector('input[name="fromDate"]');if(t){t.value="";var n=e.querySelector(".calendar-widget__date-picker .calendar-widget__filter-button span");n&&(n.textContent=te(e))}l()})),he(e,"calendar-widget"),c(),d(),u()}function l(){c(),d(),u()}function c(){ce(le(e),e,"calendar-widget",l)}function d(){var n=le(e),i=pe(n,{nodeId:r}),s=t.includes("?")?"&":"?",o=i.toString()?"".concat(t).concat(s).concat(i.toString()):t;console.log("CalendarWidget: Fetching results",{ajaxUrl:t,nodeId:r,filters:n,params:i.toString(),finalUrl:o}),fetch(o).then(e=>e.json()).then(t=>{if(console.log("CalendarWidget: Data received",{count:t.count,itemsCount:t.items.length}),ue(t.count,e,"calendar-widget"),a)if(0===t.items.length)a.innerHTML='<div class="calendar-widget__no-results">Ingen arrangementer matcher dine filtre</div>';else{var n=e.dataset.eventDetailUrl||"";a.innerHTML=t.items.map(e=>fe(e,n)).join("")}}).catch(e=>{console.error("Error fetching calendar results:",e)})}function u(){if(o&&n){var t=le(e),r=new URLSearchParams;t.targetgroups.forEach(e=>r.append("targetgroups[]",e)),t.organisers.forEach(e=>r.append("organisers[]",e)),t.bydel.forEach(e=>r.append("bydel[]",e)),t.fromDate&&r.append("fromDate",t.fromDate);var i=r.toString();o.href=i?"".concat(n,"?").concat(i):n}}}function ge(e){if(!e.dataset.calendarInitialized){e.dataset.calendarInitialized="true";var t=e.dataset.ajaxUrl,n=(e.dataset.stiftId,e.dataset.nodeId),r=parseInt(e.dataset.perPage||"12"),i=e.querySelectorAll('input[type="checkbox"]'),s=e.querySelector(".calendar-list__clear-filters"),o=e.querySelector(".calendar-list__grid"),a=e.querySelector(".calendar-list__cta"),l=0;
1oe(e,"calendar-list"),ae(e,"calendar-list",c),i.forEach(e=>{e.addEventListener("change",c)}),s&&s.addEventListener("click",(function(){i.forEach(e=>e.checked=!1);var t=e.querySelector('input[name="fromDate"]');if(t){t.value="";var n=e.querySelector(".calendar-list__date-picker .calendar-list__filter-button span");n&&(n.textContent=te(e))}c()})),a&&a.addEventListener("click",(function(e){l+=r,u(!1),e.currentTarget.blur()})),he(e,"calendar-list"),d(),u(!0)}function c(){l=0,d(),u(!0)}function d(){ce(le(e),e,"calendar-list",c)}function u(){var r=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=le(e),s=pe(i,{nodeId:n,from:l}),c=t.includes("?")?"&":"?",d=s.toString()?"".concat(t).concat(c).concat(s.toString()):t;console.log("CalendarList: Fetching results",{ajaxUrl:t,nodeId:n,filters:i,currentOffset:l,replace:r,finalUrl:d}),fetch(d).then(e=>e.json()).then(t=>{if(console.log("CalendarList: Data received",{total:t.total,itemsCount:t.items.length,hasMore:t.hasMore}),t.total,ue(t.total,e,"calendar-list"),o){var n=e.dataset.eventDetailUrl||"";if(r)0===t.items.length?o.innerHTML='<div class="calendar-list__no-results">Ingen arrangementer matcher dine filtre</div>':o.innerHTML=t.items.map(e=>fe(e,n)).join("");else{var i=t.items.map(e=>fe(e,n)).join("");o.insertAdjacentHTML("beforeend",i)}}if(a){var s=a.parentElement;t.hasMore?s.style.display="flex":s.style.display="none"}}).catch(e=>{console.error("Error fetching calendar results:",e)})}}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-component="CalendarWidget"]').forEach(ve),new MutationObserver((function(e){for(var t of e)for(var n of t.addedNodes)1===n.nodeType&&(n.matches('[data-component="CalendarWidget"]')&&ve(n),n.querySelectorAll('[data-component="CalendarWidget"]').forEach(ve))})).observe(document.body,{childList:!0,subtree:!0})})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('[data-component="CalendarList"]').forEach(ge),new MutationObserver((function(e){for(var t of e)for(var n of t.addedNodes)1===n.nodeType&&(n.matches('[data-component="CalendarList"]')&&ge(n),n.querySelectorAll('[data-component="CalendarList"]').forEach(ge))})).observe(document.body,{childList:!0,subtree:!0})}))}}); 2//# sourceMappingURL=new.js.map
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.