1(function(){var na,ia="Expected a function",ra="__lodash_hash_undefined__",oa="__lodash_placeholder__",aa=16,sa=32,la=64,ua=128,ca=256,da=1/0,fa=9007199254740991,pa=NaN,ha=4294967295,ma=[["ary",ua],["bind",1],["bindKey",2],["curry",8],["curryRight",aa],["flip",512],["partial",sa],["partialRight",la],["rearg",ca]],ga="[object Arguments]",va="[object Array]",ya="[object Boolean]",ba="[object Date]",wa="[object Error]",ka="[object Function]",Sa="[object GeneratorFunction]",Ta="[object Map]",xa="[object Number]",Ca="[object Object]",_a="[object Promise]",Ea="[object RegExp]",Aa="[object Set]",Ia="[object String]",Pa="[object Symbol]",Oa="[object WeakMap]",La="[object ArrayBuffer]",Ma="[object DataView]",ja="[object Float32Array]",Na="[object Float64Array]",Ra="[object Int8Array]",Da="[object Int16Array]",za="[object Int32Array]",Fa="[object Uint8Array]",$a="[object Uint8ClampedArray]",Ha="[object Uint16Array]",qa="[object Uint32Array]",Ba=/\b__p \+= '';/g,Ua=/\b(__p \+=) '' \+/g,Wa=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Va=/&(?:amp|lt|gt|quot|#39);/g,Ka=/[&<>"']/g,Ya=RegExp(Va.source),Za=RegExp(Ka.source),Ga=/<%-([\s\S]+?)%>/g,Xa=/<%([\s\S]+?)%>/g,Qa=/<%=([\s\S]+?)%>/g,Ja=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,es=/^\w*$/,ts=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ns=/[\\^$.*+?()[\]{}|]/g,is=RegExp(ns.source),rs=/^\s+/,n=/\s/,os=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,as=/\{\n\/\* \[wrapped with (.+)\] \*/,ss=/,? & /,ls=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,us=/[()=,{}\[\]\/\s]/,cs=/\\(\\)?/g,ds=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fs=/\w*$/,ps=/^[-+]0x[0-9a-f]+$/i,hs=/^0b[01]+$/i,ms=/^\[object .+?Constructor\]$/,gs=/^0o[0-7]+$/i,vs=/^(?:0|[1-9]\d*)$/,ys=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 3,228 bytes, line 1
17f]/g,bs=/($^)/,ws=/['\n\r\u2028\u2029\\]/g,e="\\ud800-\\udfff",t="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",i="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\ufe0e\\ufe0f",s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",l="['â]",u="["+e+"]",c="["+s+"]",d="["+t+"]",f="\\d+",p="["+i+"]",h="["+r+"]",m="[^"+e+s+f+i+r+o+"]",g="\\ud83c[\\udffb-\\udfff]",v="[^"+e+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",w="["+o+"]",k="\\u200d",S="(?:"+h+"|"+m+")",T="(?:"+w+"|"+m+")",x="(?:['â](?:d|ll|m|re|s|t|ve))?",C="(?:['â](?:D|LL|M|RE|S|T|VE))?",_="(?:"+d+"|"+g+")"+"?",E="["+a+"]?",A=E+_+("(?:"+k+"(?:"+[v,y,b].join("|")+")"+E+_+")*"),I="(?:"+[p,y,b].join("|")+")"+A,P="(?:"+[v+d+"?",d,y,b,u].join("|")+")",ks=RegExp(l,"g"),Ss=RegExp(d,"g"),O=RegExp(g+"(?="+g+")|"+P+A,"g"),Ts=RegExp([w+"?"+h+"+"+x+"(?="+[c,w,"$"].join("|")+")",T+"+"+C+"(?="+[c,w+S,"$"].join("|")+")",w+"?"+S+"+"+x,w+"+"+C,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",f,I].join("|"),"g"),L=RegExp("["+k+e+t+a+"]"),xs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Cs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_s=-1,Es={};Es[ja]=Es[Na]=Es[Ra]=Es[Da]=Es[za]=Es[Fa]=Es[$a]=Es[Ha]=Es[qa]=!0,Es[ga]=Es[va]=Es[La]=Es[ya]=Es[Ma]=Es[ba]=Es[wa]=Es[ka]=Es[Ta]=Es[xa]=Es[Ca]=Es[Ea]=Es[Aa]=Es[Ia]=Es[Oa]=!1;var As={};As[ga]=As[va]=As[La]=As[Ma]=As[ya]=As[ba]=As[ja]=As[Na]=As[Ra]=As[Da]=As[za]=As[Ta]=As[xa]=As[Ca]=As[Ea]=As[Aa]=As[Ia]=As[Pa]=As[Fa]=As[$a]=As[Ha]=As[qa]=!0,As[wa]=As[ka]=As[Oa]=!1;var M={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Is=parseFloat,Ps=parseInt,j="object"==typeof global&&global&&global.Object===Object&&global,N="object"==typeof self&&self&&self.Object===Object&&self,Os=j||N||Function("return this")(),R="object"==typeof exports&&exports&&!exports.nodeType&&exports,D=R&&"object"==typeof module&&module&&!module.nodeType&&module,Ls=D&&D.exports===R,z=Ls&&j.process,F=function(){try{var e=D&&D.require&&D.require("util").types;return e||z&&z.binding&&z.binding("util")}catch(e){}}(),Ms=F&&F.isArrayBuffer,js=F&&F.isDate,Ns=F&&F.isMap,Rs=F&&F.isRegExp,Ds=F&&F.isSet,zs=F&&F.isTypedArray;function Fs(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $s(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}function Hs(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function qs(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Bs(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;
vendor: 4,799 bytes, line 1
1)if(!t(e[n],n,e))return!1;return!0}function Us(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function Ws(e,t){return!!(null==e?0:e.length)&&-1<el(e,t,0)}function Vs(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function Ks(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function Ys(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function Zs(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function Gs(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function Xs(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var $=rl("length");function Qs(e,i,t){var r;return t(e,function(e,t,n){if(i(e,t,n))return r=t,!1}),r}function Js(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function el(e,t,n){return t==t?function(e,t,n){var i=n-1,r=e.length;for(;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):Js(e,nl,n)}function tl(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function nl(e){return e!=e}function il(e,t){var n=null==e?0:e.length;return n?al(e,t)/n:pa}function rl(t){return function(e){return null==e?na:e[t]}}function H(t){return function(e){return null==t?na:t[e]}}function ol(e,i,r,o,t){return t(e,function(e,t,n){r=o?(o=!1,e):i(r,e,t,n)}),r}function al(e,t){for(var n,i=-1,r=e.length;++i<r;){var o=t(e[i]);o!==na&&(n=n===na?o:n+o)}return n}function sl(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function ll(e){return e?e.slice(0,xl(e)+1).replace(rs,""):e}function ul(t){return function(e){return t(e)}}function cl(t,e){return Ks(e,function(e){return t[e]})}function dl(e,t){return e.has(t)}function fl(e,t){for(var n=-1,i=e.length;++n<i&&-1<el(t,e[n],0););return n}function pl(e,t){for(var n=e.length;n--&&-1<el(t,e[n],0););return n}var hl=H({"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}),ml=H({"&":"&","<":"<",">":">",'"':""","'":"'"});function gl(e){return"\\"+M[e]}function vl(e){return L.test(e)}function yl(e){var n=-1,i=Array(e.size);return e.forEach(function(e,t){i[++n]=[t,e]}),i}function bl(t,n){return function(e){return t(n(e))}}function wl(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n];a!==t&&a!==oa||(e[n]=oa,o[r++]=n)}return o}function kl(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Sl(e){return vl(e)?function(e){var t=O.lastIndex=0;for(;O.test(e);)++t;return t}(e):$(e)}function Tl(e){return vl(e)?e.match(O)||[]:e.split("")}function xl(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}var Cl=H({"&":"&","<":"<",">":">",""":'"',"'":"'"});var _l=function e(t){var n,A=(t=null==t?Os:_l.defaults(Os.Object(),t,_l.pick(Os,Cs))).Array,i=t.Date,g=t.Error,v=t.Function,r=t.Math,x=t.Object,y=t.RegExp,c=t.String,I=t.TypeError,o=A.prototype,a=v.prototype,d=x.prototype,s=t["__core-js_shared__"],l=a.toString,C=d.hasOwnProperty,u=0,f=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(sr
1c)_1."+n:"",p=d.toString,h=l.call(x),m=Os._,b=y("^"+l.call(C).replace(ns,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=Ls?t.Buffer:na,k=t.Symbol,S=t.Uint8Array,T=w?w.allocUnsafe:na,_=bl(x.getPrototypeOf,x),E=x.create,P=d.propertyIsEnumerable,O=o.splice,L=k?k.isConcatSpreadable:na,M=k?k.iterator:na,j=k?k.toStringTag:na,N=function(){try{var e=$n(x,"defineProperty");return e({},"",{}),e}catch(e){}}(),R=t.clearTimeout!==Os.clearTimeout&&t.clearTimeout,D=i&&i.now!==Os.Date.now&&i.now,z=t.setTimeout!==Os.setTimeout&&t.setTimeout,F=r.ceil,$=r.floor,H=x.getOwnPropertySymbols,q=w?w.isBuffer:na,B=t.isFinite,U=o.join,W=bl(x.keys,x),V=r.max,K=r.min,Y=i.now,Z=t.parseInt,G=r.random,X=o.reverse,Q=$n(t,"DataView"),J=$n(t,"Map"),ee=$n(t,"Promise"),te=$n(t,"Set"),ne=$n(t,"WeakMap"),ie=$n(x,"create"),re=ne&&new ne,oe={},ae=hi(Q),se=hi(J),le=hi(ee),ue=hi(te),ce=hi(ne),de=k?k.prototype:na,fe=de?de.valueOf:na,pe=de?de.toString:na;function he(e){if(Or(e)&&!wr(e)&&!(e instanceof ye)){if(e instanceof ve)return e;if(C.call(e,"__wrapped__"))return mi(e)}return new ve(e)}var me=function(){function n(){}return function(e){if(!Pr(e))return{};if(E)return E(e);n.prototype=e;var t=new n;return n.prototype=na,t}}();function ge(){}function ve(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=na}function ye(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ha,this.__views__=[]}function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function we(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ke(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Se(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ke;++t<n;)this.add(e[t])}function Te(e){var t=this.__data__=new we(e);this.size=t.size}function xe(e,t){var n=wr(e),i=!n&&br(e),r=!n&&!i&&xr(e),o=!n&&!i&&!r&&Fr(e),a=n||i||r||o,s=a?sl(e.length,c):[],l=s.length;for(var u in e)!t&&!C.call(e,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Kn(u,l))||s.push(u);return s}function Ce(e){var t=e.length;return t?e[St(0,t-1)]:na}function _e(e,t){return ui(rn(e),Ne(t,0,e.length))}function Ee(e){return ui(rn(e))}function Ae(e,t,n){(n===na||gr(e[t],n))&&(n!==na||t in e)||Me(e,t,n)}function Ie(e,t,n){var i=e[t];C.call(e,t)&&gr(i,n)&&(n!==na||t in e)||Me(e,t,n)}function Pe(e,t){for(var n=e.length;n--;)if(gr(e[n][0],t))return n;return-1}function Oe(e,i,r,o){return $e(e,function(e,t,n){i(o,e,r(e),n)}),o}function Le(e,t){return e&&on(t,so(t),e)}function Me(e,t,n){"__proto__"==t&&N?N(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function je(e,t){for(var n=-1,i=t.length,r=A(i),o=null==e;++n<i;)r[n]=o?na:no(e,t[n]);return r}function Ne(e,t,n){return e==e&&(n!==na&&(e=e<=n?e:n),t!==na&&(e=t<=e?e:t)),e}function Re(n,i,r,e,t,o){var a,s=1&i,l=2&i,u=4&i;if(r&&(a=t?r(n,e,t,o):r(n)),a!==na)return a;if(!Pr(n))return n;var c,d,f,p,h,m,g,v,y,b=wr(n);if(b){if(v=(g=n).length,y=new g.constructor(v),v&&"string"==typeof g[0]&&C.call(g,"index")&&(y.index=g.index,y.input=g.input),a=y,!s)return rn(n,a)}else{var w=Bn(n),k=w==ka||w==Sa;if(xr(n))return Xt(n,s);if(w==Ca||w==ga||k&&!t){if(a=l||k?{}:Wn(n),!s)return l?(m=f=n,p=(h=a)&&on(m,lo(m),h),on(f,qn(f),p)):(d=Le(a,c=n),on(c,Hn(c),d))}else{if(!As[w])return t?n:{};a=function(e,t,n){var i,r,o,a,s,l=e.constructor;switch(t){case La:return Qt(e);case ya:case ba:return new l(+e);case Ma:return a=e,s=n?Qt(a.buffer):a.buffer,new a.constructor(s,a.byteOffset,a.byteLength);case ja:case Na:case Ra:case Da:case za:case Fa:case $a:case Ha:case qa:return Jt(e,n);case Ta:return new l;case xa:case Ia:return new l(e);case Ea:return(o=new(r=e).constructor(r.source,fs.exec(r))).lastIndex=r.lastIndex,o;case Aa:return new l;case Pa:return i=e,fe?x(fe.call(i)):{}}}(n,w,s)}}o||(o=new Te);var S=o.get(n);if(S)return S;o.set(n,a),Rr(n)?n.forEach(function(e){a.add(Re(e,i,r,e,n,o))}
vendor: 4,396 bytes, line 1
1):Lr(n)&&n.forEach(function(e,t){a.set(t,Re(e,i,r,t,n,o))});var T=b?na:(u?l?Mn:Ln:l?lo:so)(n);return Hs(T||n,function(e,t){T&&(e=n[t=e]),Ie(a,t,Re(e,i,r,t,n,o))}),a}function De(e,t,n){var i=n.length;if(null==e)return!i;for(e=x(e);i--;){var r=n[i],o=t[r],a=e[r];if(a===na&&!(r in e)||!o(a))return!1}return!0}function ze(e,t,n){if("function"!=typeof e)throw new I(ia);return oi(function(){e.apply(na,n)},t)}function Fe(e,t,n,i){var r=-1,o=Ws,a=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=Ks(t,ul(n))),i?(o=Vs,a=!1):200<=t.length&&(o=dl,a=!1,t=new Se(t));e:for(;++r<s;){var c=e[r],d=null==n?c:n(c);if(c=i||0!==c?c:0,a&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;l.push(c)}else o(t,d,i)||l.push(c)}return l}he.templateSettings={escape:Ga,evaluate:Xa,interpolate:Qa,variable:"",imports:{_:he}},(he.prototype=ge.prototype).constructor=he,(ve.prototype=me(ge.prototype)).constructor=ve,(ye.prototype=me(ge.prototype)).constructor=ye,be.prototype.clear=function(){this.__data__=ie?ie(null):{},this.size=0},be.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},be.prototype.get=function(e){var t=this.__data__;if(ie){var n=t[e];return n===ra?na:n}return C.call(t,e)?t[e]:na},be.prototype.has=function(e){var t=this.__data__;return ie?t[e]!==na:C.call(t,e)},be.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ie&&t===na?ra:t,this},we.prototype.clear=function(){this.__data__=[],this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=Pe(t,e);return!(n<0||(n==t.length-1?t.pop():O.call(t,n,1),--this.size,0))},we.prototype.get=function(e){var t=this.__data__,n=Pe(t,e);return n<0?na:t[n][1]},we.prototype.has=function(e){return-1<Pe(this.__data__,e)},we.prototype.set=function(e,t){var n=this.__data__,i=Pe(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},ke.prototype.clear=function(){this.size=0,this.__data__={hash:new be,map:new(J||we),string:new be}},ke.prototype.delete=function(e){var t=zn(this,e).delete(e);return this.size-=t?1:0,t},ke.prototype.get=function(e){return zn(this,e).get(e)},ke.prototype.has=function(e){return zn(this,e).has(e)},ke.prototype.set=function(e,t){var n=zn(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Se.prototype.add=Se.prototype.push=function(e){return this.__data__.set(e,ra),this},Se.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.clear=function(){this.__data__=new we,this.size=0},Te.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Te.prototype.get=function(e){return this.__data__.get(e)},Te.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.set=function(e,t){var n=this.__data__;if(n instanceof we){var i=n.__data__;if(!J||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new ke(i)}return n.set(e,t),this.size=n.size,this};var $e=ln(Ye),He=ln(Ze,!0);function qe(e,i){var r=!0;return $e(e,function(e,t,n){return r=!!i(e,t,n)}),r}function Be(e,t,n){for(var i=-1,r=e.length;++i<r;){var o=e[i],a=t(o);if(null!=a&&(s===na?a==a&&!zr(a):n(a,s)))var s=a,l=o}return l}function Ue(e,i){var r=[];return $e(e,function(e,t,n){i(e,t,n)&&r.push(e)}),r}function We(e,t,n,i,r){var o=-1,a=e.length;for(n||(n=Vn),r||(r=[]);++o<a;){var s=e[o];0<t&&n(s)?1<t?We(s,t-1,n,i,r):Ys(r,s):i||(r[r.length]=s)}return r}var Ve=un(),Ke=un(!0);function Ye(e,t){return e&&Ve(e,t,so)}function Ze(e,t){return e&&Ke(e,t,so)}function Ge(t,e){return Us(e,function(e){return Er(t[e])})}function Xe(e,t){for(var n=0,i=(t=Kt(t,e)).length;null!=e&&n<i;)e=e[pi(t[n++])];return n&&n==i?e:na}function Qe(e,t,n){var i=t(e);return wr(e)?i:Ys(i,n(e))}function Je(e){return null==e?e===na?"[object Undefined]":"[object Null]":j&&j in x(e)?function(e){var t=C.call(e,j),n=e[j];try{e[j]=na;var i=!0}catch(e){}var r=p.call(e);return i&&(t?e[j]=n:delete e[j]),r}(e):(t=e,p.call(t));var t}function et(e,t){return t<e}function tt(e,t){return null!=e&&C.call(e,t)}function nt(e,t){return null!=e&&t in x(e)}function it(e,t,n){for(var i=n?Vs:Ws,r=e[0].length,o=e.length,a=o,s=A(o),l=1/0,u=[];a--;){var c=e[a];a&&t&&(c=Ks(c,ul(t))),l=K(c.length,l),s[a]=!n&&(t||120<=r&&120<=c.length)?new Se(a&&c):na}c=e[0];var d=-1,f=s[0];e:for(;++d<r&&u.length<l;){var p=c[d],h=t?t(p):p;if(p=n||0!==p?p:0,!(f?dl(f,h):i(u,h,n))){for(a=o;--a;){var m=s[a];if(!(m?dl(m,h):i(e[a],h,n)))continue e}
vendor: 1,099 bytes, line 1
1f&&f.push(h),u.push(p)}}return u}function rt(e,t,n){var i=null==(e=ni(e,t=Kt(t,e)))?e:e[pi(_i(t))];return null==i?na:Fs(i,e,n)}function ot(e){return Or(e)&&Je(e)==ga}function at(e,t,n,i,r){return e===t||(null==e||null==t||!Or(e)&&!Or(t)?e!=e&&t!=t:function(e,t,n,i,r,o){var a=wr(e),s=wr(t),l=a?va:Bn(e),u=s?va:Bn(t),c=(l=l==ga?Ca:l)==Ca,d=(u=u==ga?Ca:u)==Ca,f=l==u;if(f&&xr(e)){if(!xr(t))return!1;c=!(a=!0)}if(f&&!c)return o||(o=new Te),a||Fr(e)?Pn(e,t,n,i,r,o):function(e,t,n,i,r,o,a){switch(n){case Ma:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case La:return!(e.byteLength!=t.byteLength||!o(new S(e),new S(t)));case ya:case ba:case xa:return gr(+e,+t);case wa:return e.name==t.name&&e.message==t.message;case Ea:case Ia:return e==t+"";case Ta:var s=yl;case Aa:var l=1&i;if(s||(s=kl),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;i|=2,a.set(e,t);var c=Pn(s(e),s(t),i,r,o,a);return a.delete(e),c;case Pa:if(fe)return fe.call(e)==fe.call(t)}return!1}(e,t,l,n,i,r,o);if(!(1&n)){var p=c&&C.call(e,"__wrapped__"),h=d&&C.call(t,"__wrapped__");
1if(p||h){var m=p?e.value():e,g=h?t.value():t;return o||(o=new Te),r(m,g,n,i,o)}}return!!f&&(o||(o=new Te),function(e,t,n,i,r,o){var a=1&n,s=Ln(e),l=s.length,u=Ln(t).length;if(l!=u&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:C.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var h=!0;o.set(e,t),o.set(t,e);for(var m=a;++c<l;){d=s[c];var g=e[d],v=t[d];if(i)var y=a?i(v,g,d,t,e,o):i(g,v,d,e,t,o);if(!(y===na?g===v||r(g,v,n,i,o):y)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(h=!1)}return o.delete(e),o.delete(t),h}(e,t,n,i,r,o))}(e,t,n,i,at,r))}function st(e,t,n,i){var r=n.length,o=r,a=!i;if(null==e)return!o;for(e=x(e);r--;){var s=n[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<o;){var l=(s=n[r])[0],u=e[l],c=s[1];if(a&&s[2]){if(u===na&&!(l in e))return!1}else{var d=new Te;if(i)var f=i(u,c,l,e,t,d);if(!(f===na?at(c,u,3,i,d):f))return!1}}return!0}function lt(e){return!(!Pr(e)||(t=e,f&&f in t))&&(Er(e)?b:ms).test(hi(e));var t}function ut(e){return"function"==typeof e?e:null==e?jo:"object"==typeof e?wr(e)?mt(e[0],e[1]):ht(e):Bo(e)}function ct(e){if(!Qn(e))return W(e);var t=[];for(var n in x(e))C.call(e,n)&&"constructor"!=n&&t.push(n);return t}function dt(e){if(!Pr(e))return function(e){var t=[];if(null!=e)for(var n in x(e))t.push(n);return t}(e);var t=Qn(e),n=[];for(var i in e)("constructor"!=i||!t&&C.call(e,i))&&n.push(i);return n}function ft(e,t){return e<t}function pt(e,i){var r=-1,o=Sr(e)?A(e.length):[];return $e(e,function(e,t,n){o[++r]=i(e,t,n)}),o}function ht(t){var n=Fn(t);return 1==n.length&&n[0][2]?ei(n[0][0],n[0][1]):function(e){return e===t||st(e,t,n)}}function mt(n,i){return Zn(n)&&Jn(i)?ei(pi(n),i):function(e){var t=no(e,n);return t===na&&t===i?io(e,n):at(i,t,3)}}function gt(i,r,o,a,s){i!==r&&Ve(r,function(e,t){if(s||(s=new Te),Pr(e))!function(e,t,n,i,r,o,a){var s=ii(e,n),l=ii(t,n),u=a.get(l);if(u)return Ae(e,n,u);var c=o?o(s,l,n+"",e,t,a):na,d=c===na;if(d){var f=wr(l),p=!f&&xr(l),h=!f&&!p&&Fr(l);c=l,f||p||h?c=wr(s)?s:Tr(s)?rn(s):p?Xt(l,!(d=!1)):h?Jt(l,!(d=!1)):[]:jr(l)||br(l)?br(c=s)?c=Kr(s):Pr(s)&&!Er(s)||(c=Wn(l)):d=!1}d&&(a.set(l,c),r(c,l,i,o,a),a.delete(l)),Ae(e,n,c)}(i,r,t,o,gt,a,s);
vendor: 38,729 bytes, line 1
1else{var n=a?a(ii(i,t),e,t+"",i,r,s):na;n===na&&(n=e),Ae(i,t,n)}},lo)}function vt(e,t){var n=e.length;if(n)return Kn(t+=t<0?n:0,n)?e[t]:na}function yt(e,i,n){i=i.length?Ks(i,function(t){return wr(t)?function(e){return Xe(e,1===t.length?t[0]:t)}:t}):[jo];var r=-1;return i=Ks(i,ul(Dn())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(pt(e,function(t,e,n){return{criteria:Ks(i,function(e){return e(t)}),index:++r,value:t}}),function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;++i<a;){var l=en(r[i],o[i]);if(l){if(s<=i)return l;var u=n[i];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)})}function bt(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var a=t[i],s=Xe(e,a);n(s,a)&&Et(o,Kt(a,e),s)}return o}function wt(e,t,n,i){var r=i?tl:el,o=-1,a=t.length,s=e;for(e===t&&(t=rn(t)),n&&(s=Ks(e,ul(n)));++o<a;)for(var l=0,u=t[o],c=n?n(u):u;-1<(l=r(s,c,l,i));)s!==e&&O.call(s,l,1),O.call(e,l,1);return e}function kt(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;Kn(r)?O.call(e,r,1):Ft(e,r)}}return e}function St(e,t){return e+$(G()*(t-e+1))}function Tt(e,t){var n="";if(!e||t<1||fa<t)return n;for(;t%2&&(n+=e),(t=$(t/2))&&(e+=e),t;);return n}function xt(e,t){return ai(ti(e,t,jo),e+"")}function Ct(e){return Ce(vo(e))}function _t(e,t){var n=vo(e);return ui(n,Ne(t,0,n.length))}function Et(e,t,n,i){if(!Pr(e))return e;for(var r=-1,o=(t=Kt(t,e)).length,a=o-1,s=e;null!=s&&++r<o;){var l=pi(t[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=a){var c=s[l];(u=i?i(c,l,s):na)===na&&(u=Pr(c)?c:Kn(t[r+1])?[]:{})}Ie(s,l,u),s=s[l]}return e}var At=re?function(e,t){return re.set(e,t),e}:jo,It=N?function(e,t){return N(e,"toString",{configurable:!0,enumerable:!1,value:Oo(t),writable:!0})}:jo;function Pt(e){return ui(vo(e))}function Ot(e,t,n){var i=-1,r=e.length;t<0&&(t=r<-t?0:r+t),(n=r<n?r:n)<0&&(n+=r),r=n<t?0:n-t>>>0,t>>>=0;for(var o=A(r);++i<r;)o[i]=e[i+t];return o}function Lt(e,i){var r;return $e(e,function(e,t,n){return!(r=i(e,t,n))}),!!r}function Mt(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=e[o];null!==a&&!zr(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return jt(e,t,jo,n)}function jt(e,t,n,i){var r=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,s=null===t,l=zr(t),u=t===na;r<o;){var c=$((r+o)/2),d=n(e[c]),f=d!==na,p=null===d,h=d==d,m=zr(d);if(a)var g=i||h;else g=u?h&&(i||f):s?h&&f&&(i||!p):l?h&&f&&!p&&(i||!m):!p&&!m&&(i?d<=t:d<t);g?r=c+1:o=c}return K(o,4294967294)}function Nt(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n],s=t?t(a):a;if(!n||!gr(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Rt(e){return"number"==typeof e?e:zr(e)?pa:+e}function Dt(e){if("string"==typeof e)return e;if(wr(e))return Ks(e,Dt)+"";if(zr(e))return pe?pe.call(e):"";var t=e+"";return"0"==t&&1/e==-da?"-0":t}function zt(e,t,n){var i=-1,r=Ws,o=e.length,a=!0,s=[],l=s;if(n)a=!1,r=Vs;else if(200<=o){var u=t?null:xn(e);if(u)return kl(u);a=!1,r=dl,l=new Se}else l=t?[]:s;e:for(;++i<o;){var c=e[i],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(c)}else r(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}function Ft(e,t){return null==(e=ni(e,t=Kt(t,e)))||delete e[pi(_i(t))]}function $t(e,t,n,i){return Et(e,t,n(Xe(e,t)),i)}function Ht(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?Ot(e,i?0:o,i?o+1:r):Ot(e,i?o+1:0,i?r:o)}function qt(e,t){var n=e;return n instanceof ye&&(n=n.value()),Zs(t,function(e,t){return t.func.apply(t.thisArg,Ys([e],t.args))},n)}function Bt(e,t,n){var i=e.length;if(i<2)return i?zt(e[0]):[];for(var r=-1,o=A(i);++r<i;)for(var a=e[r],s=-1;++s<i;)s!=r&&(o[r]=Fe(o[r]||a,e[s],t,n));return zt(We(o,1),t,n)}function Ut(e,t,n){for(var i=-1,r=e.length,o=t.length,a={};++i<r;){var s=i<o?t[i]:na;n(a,e[i],s)}return a}function Wt(e){return Tr(e)?e:[]}function Vt(e){return"function"==typeof e?e:jo}function Kt(e,t){return wr(e)?e:Zn(e,t)?[e]:fi(Yr(e))}var Yt=xt;function Zt(e,t,n){var i=e.length;return n=n===na?i:n,!t&&i<=n?e:Ot(e,t,n)}var Gt=R||function(e){return Os.clearTimeout(e)};function Xt(e,t){if(t)return e.slice();var n=e.length,i=T?T(n):new e.constructor(n);return e.copy(i),i}function Qt(e){var t=new e.constructor(e.byteLength);return new S(t).set(new S(e)),t}function Jt(e,t){var n=t?Qt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function en(e,t){if(e!==t){var n=e!==na,i=null===e,r=e==e,o=zr(e),a=t!==na,s=null===t,l=t==t,u=zr(t);if(!s&&!u&&!o&&t<e||o&&a&&l&&!s&&!u||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!u&&e<t||u&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function tn(e,t,n,i){for(var r=-1,o=e.length,a=n.length,s=-1,l=t.length,u=V(o-a,0),c=A(l+u),d=!i;++s<l;)c[s]=t[s];for(;++r<a;)(d||r<o)&&(c[n[r]]=e[r]);for(;u--;)c[s++]=e[r++];return c}function nn(e,t,n,i){for(var r=-1,o=e.length,a=-1,s=n.length,l=-1,u=t.length,c=V(o-s,0),d=A(c+u),f=!i;++r<c;)d[r]=e[r];for(var p=r;++l<u;)d[p+l]=t[l];for(;++a<s;)(f||r<o)&&(d[p+n[a]]=e[r++]);return d}function rn(e,t){var n=-1,i=e.length;for(t||(t=A(i));++n<i;)t[n]=e[n];return t}function on(e,t,n,i){var r=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=i?i(n[s],e[s],s,n,e):na;l===na&&(l=e[s]),r?Me(n,s,l):Ie(n,s,l)}return n}function an(r,o){return function(e,t){var n=wr(e)?$s:Oe,i=o?o():{};return n(e,r,Dn(t,2),i)}}function sn(s){return xt(function(e,t){var n=-1,i=t.length,r=1<i?t[i-1]:na,o=2<i?t[2]:na;for(r=3<s.length&&"function"==typeof r?(i--,r):na,o&&Yn(t[0],t[1],o)&&(r=i<3?na:r,i=1),e=x(e);++n<i;){var a=t[n];a&&s(e,a,n,r)}return e})}function ln(o,a){return function(e,t){if(null==e)return e;if(!Sr(e))return o(e,t);for(var n=e.length,i=a?n:-1,r=x(e);(a?i--:++i<n)&&!1!==t(r[i],i,r););return e}}function un(l){return function(e,t,n){for(var i=-1,r=x(e),o=n(e),a=o.length;a--;){var s=o[l?a:++i];if(!1===t(r[s],s,r))break}return e}}function cn(r){return function(e){var t=vl(e=Yr(e))?Tl(e):na,n=t?t[0]:e.charAt(0),i=t?Zt(t,1).join(""):e.slice(1);return n[r]()+i}}function dn(t){return function(e){return Zs(Ao(wo(e).replace(ks,"")),t,"")}}function fn(i){return function(){var e=arguments;switch(e.length){case 0:return new i;case 1:return new i(e[0]);case 2:return new i(e[0],e[1]);case 3:return new i(e[0],e[1],e[2]);case 4:return new i(e[0],e[1],e[2],e[3]);case 5:return new i(e[0],e[1],e[2],e[3],e[4]);case 6:return new i(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new i(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=me(i.prototype),n=i.apply(t,e);return Pr(n)?n:t}}function pn(a){return function(e,t,n){var i=x(e);if(!Sr(e)){var r=Dn(t,3);e=so(e),t=function(e){return r(i[e],e,i)}}var o=a(e,t,n);return-1<o?i[r?e[o]:o]:na}}function hn(l){return On(function(r){var o=r.length,e=o,t=ve.prototype.thru;for(l&&r.reverse();e--;){var n=r[e];if("function"!=typeof n)throw new I(ia);if(t&&!a&&"wrapper"==Nn(n))var a=new ve([],!0)}for(e=a?e:o;++e<o;){var i=Nn(n=r[e]),s="wrapper"==i?jn(n):na;a=s&&Gn(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?a[Nn(s[0])].apply(a,s[3]):1==n.length&&Gn(n)?a[i]():a.thru(n)}return function(){var e=arguments,t=e[0];if(a&&1==e.length&&wr(t))return a.plant(t).value();for(var n=0,i=o?r[n].apply(this,e):t;++n<o;)i=r[n].call(this,i);return i}})}function mn(u,c,d,f,p,h,m,g,v,y){var b=c&ua,w=1&c,k=2&c,S=24&c,T=512&c,x=k?na:fn(u);return function e(){for(var t=arguments.length,n=A(t),i=t;i--;)n[i]=arguments[i];if(S)var r=Rn(e),o=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(n,r);if(f&&(n=tn(n,f,p,S)),h&&(n=nn(n,h,m,S)),t-=o,S&&t<y){var a=wl(n,r);return Sn(u,c,mn,e.placeholder,d,n,a,g,v,y-t)}var s=w?d:this,l=k?s[u]:u;return t=n.length,g?n=function(e,t){for(var n=e.length,i=K(t.length,n),r=rn(e);i--;){var o=t[i];e[i]=Kn(o,n)?r[o]:na}return e}(n,g):T&&1<t&&n.reverse(),b&&v<t&&(n.length=v),this&&this!==Os&&this instanceof e&&(l=x||fn(l)),l.apply(s,n)}}function gn(a,s){return function(e,t){return n=e,i=a,r=s(t),o={},Ye(n,function(e,t,n){i(o,r(e),t,n)}),o;var n,i,r,o}}function vn(i,r){return function(e,t){var n;if(e===na&&t===na)return r;if(e!==na&&(n=e),t!==na){if(n===na)return t;t="string"==typeof e||"string"==typeof t?(e=Dt(e),Dt(t)):(e=Rt(e),Rt(t)),n=i(e,t)}return n}}function yn(i){return On(function(e){return e=Ks(e,ul(Dn())),xt(function(t){var n=this;return i(e,function(e){return Fs(e,n,t)})})})}function bn(e,t){var n=(t=t===na?" ":Dt(t)).length;if(n<2)return n?Tt(t,e):t;var i=Tt(t,F(e/Sl(t)));return vl(t)?Zt(Tl(i),0,e).join(""):i.slice(0,e)}function wn(i){return function(e,t,n){return n&&"number"!=typeof n&&Yn(e,t,n)&&(t=n=na),e=Br(e),t===na?(t=e,e=0):t=Br(t),function(e,t,n,i){for(var r=-1,o=V(F((t-e)/(n||1)),0),a=A(o);o--;)a[i?o:++r]=e,e+=n;return a}(e,t,n=n===na?e<t?1:-1:Br(n),i)}}function kn(n){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=Vr(e),t=Vr(t)),n(e,t)}}function Sn(e,t,n,i,r,o,a,s,l,u){var c=8&t;t|=c?sa:la,4&(t&=~(c?la:sa))||(t&=-4);var d=[e,t,r,c?o:na,c?a:na,c?na:o,c?na:a,s,l,u],f=n.apply(na,d);return Gn(e)&&ri(f,d),f.placeholder=i,si(f,e,t)}function Tn(e){var i=r[e];return function(e,t){if(e=Vr(e),(t=null==t?0:K(Ur(t),292))&&B(e)){var n=(Yr(e)+"e").split("e");return+((n=(Yr(i(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return i(e)}}var xn=te&&1/kl(new te([,-0]))[1]==da?function(e){return new te(e)}:Fo;function Cn(a){return function(e){var t,n,i,r,o=Bn(e);return o==Ta?yl(e):o==Aa?(t=e,n=-1,i=Array(t.size),t.forEach(function(e){i[++n]=[e,e]}),i):Ks(a(r=e),function(e){return[e,r[e]]})}}function _n(e,t,n,i,r,o,a,s){var l=2&t;if(!l&&"function"!=typeof e)throw new I(ia);var u=i?i.length:0;if(u||(t&=-97,i=r=na),a=a===na?a:V(Ur(a),0),s=s===na?s:Ur(s),u-=r?r.length:0,t&la){var c=i,d=r;i=r=na}var f,p,h,m,g,v,y,b,w,k,S,T,x,C=l?na:jn(e),_=[e,t,n,i,r,c,d,o,a,s];if(C&&function(e,t){var n=e[1],i=t[1],r=n|i,o=r<131,a=i==ua&&8==n||i==ua&&n==ca&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(o||a){1&i&&(e[2]=t[2],r|=1&n?0:4);var s=t[3];if(s){var l=e[3];e[3]=l?tn(l,s,t[4]):s,e[4]=l?wl(e[3],oa):t[4]}(s=t[5])&&(l=e[5],e[5]=l?nn(l,s,t[6]):s,e[6]=l?wl(e[5],oa):t[6]),(s=t[7])&&(e[7]=s),i&ua&&(e[8]=null==e[8]?t[8]:K(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}}(_,C),e=_[0],t=_[1],n=_[2],i=_[3],r=_[4],!(s=_[9]=_[9]===na?l?0:e.length:V(_[9]-u,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==aa?(y=t,b=s,w=fn(v=e),function e(){for(var t=arguments.length,n=A(t),i=t,r=Rn(e);i--;)n[i]=arguments[i];var o=t<3&&n[0]!==r&&n[t-1]!==r?[]:wl(n,r);return(t-=o.length)<b?Sn(v,y,mn,e.placeholder,na,n,o,na,na,b-t):Fs(this&&this!==Os&&this instanceof e?w:v,this,n)}):t!=sa&&33!=t||r.length?mn.apply(na,_):(p=n,h=i,m=1&t,g=fn(f=e),function e(){for(var t=-1,n=arguments.length,i=-1,r=h.length,o=A(r+n),a=this&&this!==Os&&this instanceof e?g:f;++i<r;)o[i]=h[i];for(;n--;)o[i++]=arguments[++t];return Fs(a,m?p:this,o)});else var E=(S=n,T=1&t,x=fn(k=e),function e(){return(this&&this!==Os&&this instanceof e?x:k).apply(T?S:this,arguments)});return si((C?At:ri)(E,_),e,t)}function En(e,t,n,i){return e===na||gr(e,d[n])&&!C.call(i,n)?t:e}function An(e,t,n,i,r,o){return Pr(e)&&Pr(t)&&(o.set(t,e),gt(e,t,na,An,o),o.delete(t)),e}function In(e){return jr(e)?na:e}function Pn(e,t,n,i,r,o){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&s<l))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,p=2&n?new Se:na;for(o.set(e,t),o.set(t,e);++d<s;){var h=e[d],m=t[d];if(i)var g=a?i(m,h,d,t,e,o):i(h,m,d,e,t,o);if(g!==na){if(g)continue;f=!1;break}if(p){if(!Xs(t,function(e,t){if(!dl(p,t)&&(h===e||r(h,e,n,i,o)))return p.push(t)})){f=!1;break}}else if(h!==m&&!r(h,m,n,i,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function On(e){return ai(ti(e,na,ki),e+"")}function Ln(e){return Qe(e,so,Hn)}function Mn(e){return Qe(e,lo,qn)}var jn=re?function(e){return re.get(e)}:Fo;function Nn(e){for(var t=e.name+"",n=oe[t],i=C.call(oe,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function Rn(e){return(C.call(he,"placeholder")?he:e).placeholder}function Dn(){var e=he.iteratee||No;return e=e===No?ut:e,arguments.length?e(arguments[0],arguments[1]):e}function zn(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Fn(e){for(var t=so(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,Jn(r)]}return t}function $n(e,t){var n,i,r=(i=t,null==(n=e)?na:n[i]);return lt(r)?r:na}var Hn=H?function(t){return null==t?[]:(t=x(t),Us(H(t),function(e){return P.call(t,e)}))}:Vo,qn=H?function(e){for(var t=[];e;)Ys(t,Hn(e)),e=_(e);return t}:Vo,Bn=Je;function Un(e,t,n){for(var i=-1,r=(t=Kt(t,e)).length,o=!1;++i<r;){var a=pi(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&Ir(r)&&Kn(a,r)&&(wr(e)||br(e))}function Wn(e){return"function"!=typeof e.constructor||Qn(e)?{}:me(_(e))}function Vn(e){return wr(e)||br(e)||!!(L&&e&&e[L])}function Kn(e,t){var n=typeof e;return!!(t=null==t?fa:t)&&("number"==n||"symbol"!=n&&vs.test(e))&&-1<e&&e%1==0&&e<t}function Yn(e,t,n){if(!Pr(n))return!1;var i=typeof t;return!!("number"==i?Sr(n)&&Kn(t,n.length):"string"==i&&t in n)&&gr(n[t],e)}function Zn(e,t){if(wr(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!zr(e))||es.test(e)||!Ja.test(e)||null!=t&&e in x(t)}function Gn(e){var t=Nn(e),n=he[t];if("function"!=typeof n||!(t in ye.prototype))return!1;if(e===n)return!0;var i=jn(n);return!!i&&e===i[0]}(Q&&Bn(new Q(new ArrayBuffer(1)))!=Ma||J&&Bn(new J)!=Ta||ee&&Bn(ee.resolve())!=_a||te&&Bn(new te)!=Aa||ne&&Bn(new ne)!=Oa)&&(Bn=function(e){var t=Je(e),n=t==Ca?e.constructor:na,i=n?hi(n):"";if(i)switch(i){case ae:return Ma;case se:return Ta;case le:return _a;case ue:return Aa;case ce:return Oa}return t});var Xn=s?Er:Ko;function Qn(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||d)}function Jn(e){return e==e&&!Pr(e)}function ei(t,n){return function(e){return null!=e&&e[t]===n&&(n!==na||t in x(e))}}function ti(o,a,s){return a=V(a===na?o.length-1:a,0),function(){for(var e=arguments,t=-1,n=V(e.length-a,0),i=A(n);++t<n;)i[t]=e[a+t];t=-1;for(var r=A(a+1);++t<a;)r[t]=e[t];return r[a]=s(i),Fs(o,this,r)}}function ni(e,t){return t.length<2?e:Xe(e,Ot(t,0,-1))}function ii(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ri=li(At),oi=z||function(e,t){return Os.setTimeout(e,t)},ai=li(It);function si(e,t,n){var i,r,o,a=t+"";return ai(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(1<n?"& ":"")+t[i],t=t.join(2<n?", ":" "),e.replace(os,"{\n/* [wrapped with "+t+"] */\n")}(a,(o=a.match(as),i=o?o[1].split(ss):[],r=n,Hs(ma,function(e){var t="_."+e[0];r&e[1]&&!Ws(i,t)&&i.push(t)}),i.sort())))}function li(n){var i=0,r=0;return function(){var e=Y(),t=16-(e-r);if(r=e,0<t){if(800<=++i)return arguments[0]}else i=0;return n.apply(na,arguments)}}function ui(e,t){var n=-1,i=e.length,r=i-1;for(t=t===na?i:t;++n<t;){var o=St(n,r),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var ci,di,fi=(di=(ci=cr(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(ts,function(e,t,n,i){r.push(n?i.replace(cs,"$1"):t||e)}),r},function(e){return 500===di.size&&di.clear(),e})).cache,ci);function pi(e){if("string"==typeof e||zr(e))return e;var t=e+"";return"0"==t&&1/e==-da?"-0":t}function hi(e){if(null!=e){try{return l.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function mi(e){if(e instanceof ye)return e.clone();var t=new ve(e.__wrapped__,e.__chain__);return t.__actions__=rn(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var gi=xt(function(e,t){return Tr(e)?Fe(e,We(t,1,Tr,!0)):[]}),vi=xt(function(e,t){var n=_i(t);return Tr(n)&&(n=na),Tr(e)?Fe(e,We(t,1,Tr,!0),Dn(n,2)):[]}),yi=xt(function(e,t){var n=_i(t);return Tr(n)&&(n=na),Tr(e)?Fe(e,We(t,1,Tr,!0),na,n):[]});function bi(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Ur(n);return r<0&&(r=V(i+r,0)),Js(e,Dn(t,3),r)}function wi(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i-1;return n!==na&&(r=Ur(n),r=n<0?V(i+r,0):K(r,i-1)),Js(e,Dn(t,3),r,!0)}function ki(e){return null!=e&&e.length?We(e,1):[]}function Si(e){return e&&e.length?e[0]:na}var Ti=xt(function(e){var t=Ks(e,Wt);return t.length&&t[0]===e[0]?it(t):[]}),xi=xt(function(e){var t=_i(e),n=Ks(e,Wt);return t===_i(n)?t=na:n.pop(),n.length&&n[0]===e[0]?it(n,Dn(t,2)):[]}),Ci=xt(function(e){var t=_i(e),n=Ks(e,Wt);return(t="function"==typeof t?t:na)&&n.pop(),n.length&&n[0]===e[0]?it(n,na,t):[]});function _i(e){var t=null==e?0:e.length;return t?e[t-1]:na}var Ei=xt(Ai);function Ai(e,t){return e&&e.length&&t&&t.length?wt(e,t):e}var Ii=On(function(e,t){var n=null==e?0:e.length,i=je(e,t);return kt(e,Ks(t,function(e){return Kn(e,n)?+e:e}).sort(en)),i});function Pi(e){return null==e?e:X.call(e)}var Oi=xt(function(e){return zt(We(e,1,Tr,!0))}),Li=xt(function(e){var t=_i(e);return Tr(t)&&(t=na),zt(We(e,1,Tr,!0),Dn(t,2))}),Mi=xt(function(e){var t=_i(e);return t="function"==typeof t?t:na,zt(We(e,1,Tr,!0),na,t)});function ji(t){if(!t||!t.length)return[];var n=0;return t=Us(t,function(e){if(Tr(e))return n=V(e.length,n),!0}),sl(n,function(e){return Ks(t,rl(e))})}function Ni(e,t){if(!e||!e.length)return[];var n=ji(e);return null==t?n:Ks(n,function(e){return Fs(t,na,e)})}var Ri=xt(function(e,t){return Tr(e)?Fe(e,t):[]}),Di=xt(function(e){return Bt(Us(e,Tr))}),zi=xt(function(e){var t=_i(e);return Tr(t)&&(t=na),Bt(Us(e,Tr),Dn(t,2))}),Fi=xt(function(e){var t=_i(e);return t="function"==typeof t?t:na,Bt(Us(e,Tr),na,t)}),$i=xt(ji);var Hi=xt(function(e){var t=e.length,n=1<t?e[t-1]:na;return n="function"==typeof n?(e.pop(),n):na,Ni(e,n)});function qi(e){var t=he(e);return t.__chain__=!0,t}function Bi(e,t){return t(e)}var Ui=On(function(t){var n=t.length,e=n?t[0]:0,i=this.__wrapped__,r=function(e){return je(e,t)};return!(1<n||this.__actions__.length)&&i instanceof ye&&Kn(e)?((i=i.slice(e,+e+(n?1:0))).__actions__.push({func:Bi,args:[r],thisArg:na}),new ve(i,this.__chain__).thru(function(e){return n&&!e.length&&e.push(na),e})):this.thru(r)});var Wi=an(function(e,t,n){C.call(e,n)?++e[n]:Me(e,n,1)});var Vi=pn(bi),Ki=pn(wi);function Yi(e,t){return(wr(e)?Hs:$e)(e,Dn(t,3))}function Zi(e,t){return(wr(e)?qs:He)(e,Dn(t,3))}var Gi=an(function(e,t,n){C.call(e,n)?e[n].push(t):Me(e,n,[t])});var Xi=xt(function(e,t,n){var i=-1,r="function"==typeof t,o=Sr(e)?A(e.length):[];return $e(e,function(e){o[++i]=r?Fs(t,e,n):rt(e,t,n)}),o}),Qi=an(function(e,t,n){Me(e,n,t)});function Ji(e,t){return(wr(e)?Ks:pt)(e,Dn(t,3))}var er=an(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var tr=xt(function(e,t){if(null==e)return[];var n=t.length;return 1<n&&Yn(e,t[0],t[1])?t=[]:2<n&&Yn(t[0],t[1],t[2])&&(t=[t[0]]),yt(e,We(t,1),[])}),nr=D||function(){return Os.Date.now()};function ir(e,t,n){return t=n?na:t,t=e&&null==t?e.length:t,_n(e,ua,na,na,na,na,t)}function rr(e,t){var n;if("function"!=typeof t)throw new I(ia);return e=Ur(e),function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=na),n}}var or=xt(function(e,t,n){var i=1;if(n.length){var r=wl(n,Rn(or));i|=sa}return _n(e,i,t,n,r)}),ar=xt(function(e,t,n){var i=3;if(n.length){var r=wl(n,Rn(ar));i|=sa}return _n(t,i,e,n,r)});function sr(i,r,e){var o,a,s,l,u,c,d=0,f=!1,p=!1,t=!0;if("function"!=typeof i)throw new I(ia);function h(e){var t=o,n=a;return o=a=na,d=e,l=i.apply(n,t)}function m(e){var t=e-c;return c===na||r<=t||t<0||p&&s<=e-d}function g(){var e,t,n=nr();if(m(n))return v(n);u=oi(g,(t=r-((e=n)-c),p?K(t,s-(e-d)):t))}function v(e){return u=na,t&&o?h(e):(o=a=na,l)}function n(){var e,t=nr(),n=m(t);if(o=arguments,a=this,c=t,n){if(u===na)return d=e=c,u=oi(g,r),f?h(e):l;if(p)return Gt(u),u=oi(g,r),h(c)}return u===na&&(u=oi(g,r)),l}return r=Vr(r)||0,Pr(e)&&(f=!!e.leading,s=(p="maxWait"in e)?V(Vr(e.maxWait)||0,r):s,t="trailing"in e?!!e.trailing:t),n.cancel=function(){u!==na&&Gt(u),d=0,o=c=a=u=na},n.flush=function(){return u===na?l:v(nr())},n}var lr=xt(function(e,t){return ze(e,1,t)}),ur=xt(function(e,t,n){return ze(e,Vr(t)||0,n)});function cr(r,o){if("function"!=typeof r||null!=o&&"function"!=typeof o)throw new I(ia);var a=function(){var e=arguments,t=o?o.apply(this,e):e[0],n=a.cache;if(n.has(t))return n.get(t);var i=r.apply(this,e);return a.cache=n.set(t,i)||n,i};return a.cache=new(cr.Cache||ke),a}function dr(t){if("function"!=typeof t)throw new I(ia);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}cr.Cache=ke;var fr=Yt(function(i,r){var o=(r=1==r.length&&wr(r[0])?Ks(r[0],ul(Dn())):Ks(We(r,1),ul(Dn()))).length;return xt(function(e){for(var t=-1,n=K(e.length,o);++t<n;)e[t]=r[t].call(this,e[t]);return Fs(i,this,e)})}),pr=xt(function(e,t){var n=wl(t,Rn(pr));return _n(e,sa,na,t,n)}),hr=xt(function(e,t){var n=wl(t,Rn(hr));return _n(e,la,na,t,n)}),mr=On(function(e,t){return _n(e,ca,na,na,na,t)});function gr(e,t){return e===t||e!=e&&t!=t}var vr=kn(et),yr=kn(function(e,t){return t<=e}),br=ot(function(){return arguments}())?ot:function(e){return Or(e)&&C.call(e,"callee")&&!P.call(e,"callee")},wr=A.isArray,kr=Ms?ul(Ms):function(e){return Or(e)&&Je(e)==La};function Sr(e){return null!=e&&Ir(e.length)&&!Er(e)}function Tr(e){return Or(e)&&Sr(e)}var xr=q||Ko,Cr=js?ul(js):function(e){return Or(e)&&Je(e)==ba};function _r(e){if(!Or(e))return!1;var t=Je(e);return t==wa||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!jr(e)}function Er(e){if(!Pr(e))return!1;var t=Je(e);return t==ka||t==Sa||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ar(e){return"number"==typeof e&&e==Ur(e)}function Ir(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=fa}function Pr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Or(e){return null!=e&&"object"==typeof e}var Lr=Ns?ul(Ns):function(e){return Or(e)&&Bn(e)==Ta};function Mr(e){return"number"==typeof e||Or(e)&&Je(e)==xa}function jr(e){if(!Or(e)||Je(e)!=Ca)return!1;var t=_(e);if(null===t)return!0;var n=C.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==h}var Nr=Rs?ul(Rs):function(e){return Or(e)&&Je(e)==Ea};var Rr=Ds?ul(Ds):function(e){return Or(e)&&Bn(e)==Aa};function Dr(e){return"string"==typeof e||!wr(e)&&Or(e)&&Je(e)==Ia}function zr(e){return"symbol"==typeof e||Or(e)&&Je(e)==Pa}var Fr=zs?ul(zs):function(e){return Or(e)&&Ir(e.length)&&!!Es[Je(e)]};var $r=kn(ft),Hr=kn(function(e,t){return e<=t});function qr(e){if(!e)return[];if(Sr(e))return Dr(e)?Tl(e):rn(e);if(M&&e[M])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[M]());var t=Bn(e);return(t==Ta?yl:t==Aa?kl:vo)(e)}function Br(e){return e?(e=Vr(e))!==da&&e!==-da?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}function Ur(e){var t=Br(e),n=t%1;return t==t?n?t-n:t:0}function Wr(e){return e?Ne(Ur(e),0,ha):0}function Vr(e){if("number"==typeof e)return e;if(zr(e))return pa;if(Pr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Pr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=ll(e);var n=hs.test(e);return n||gs.test(e)?Ps(e.slice(2),n?2:8):ps.test(e)?pa:+e}function Kr(e){return on(e,lo(e))}function Yr(e){return null==e?"":Dt(e)}var Zr=sn(function(e,t){if(Qn(t)||Sr(t))on(t,so(t),e);else for(var n in t)C.call(t,n)&&Ie(e,n,t[n])}),Gr=sn(function(e,t){on(t,lo(t),e)}),Xr=sn(function(e,t,n,i){on(t,lo(t),e,i)}),Qr=sn(function(e,t,n,i){on(t,so(t),e,i)}),Jr=On(je);var eo=xt(function(e,t){e=x(e);var n=-1,i=t.length,r=2<i?t[2]:na;for(r&&Yn(t[0],t[1],r)&&(i=1);++n<i;)for(var o=t[n],a=lo(o),s=-1,l=a.length;++s<l;){var u=a[s],c=e[u];(c===na||gr(c,d[u])&&!C.call(e,u))&&(e[u]=o[u])}return e}),to=xt(function(e){return e.push(na,An),Fs(co,na,e)});function no(e,t,n){var i=null==e?na:Xe(e,t);return i===na?n:i}function io(e,t){return null!=e&&Un(e,t,nt)}var ro=gn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=p.call(t)),e[t]=n},Oo(jo)),oo=gn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=p.call(t)),C.call(e,t)?e[t].push(n):e[t]=[n]},Dn),ao=xt(rt);function so(e){return Sr(e)?xe(e):ct(e)}function lo(e){return Sr(e)?xe(e,!0):dt(e)}var uo=sn(function(e,t,n){gt(e,t,n)}),co=sn(function(e,t,n,i){gt(e,t,n,i)}),fo=On(function(t,e){var n={};if(null==t)return n;var i=!1;e=Ks(e,function(e){return e=Kt(e,t),i||(i=1<e.length),e}),on(t,Mn(t),n),i&&(n=Re(n,7,In));for(var r=e.length;r--;)Ft(n,e[r]);return n});var po=On(function(e,t){return null==e?{}:bt(n=e,t,function(e,t){return io(n,t)});var n});function ho(e,n){if(null==e)return{};var t=Ks(Mn(e),function(e){return[e]});return n=Dn(n),bt(e,t,function(e,t){return n(e,t[0])})}var mo=Cn(so),go=Cn(lo);function vo(e){return null==e?[]:cl(e,so(e))}var yo=dn(function(e,t,n){return t=t.toLowerCase(),e+(n?bo(t):t)});function bo(e){return Eo(Yr(e).toLowerCase())}function wo(e){return(e=Yr(e))&&e.replace(ys,hl).replace(Ss,"")}var ko=dn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),So=dn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),To=cn("toLowerCase");var xo=dn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Co=dn(function(e,t,n){return e+(n?" ":"")+Eo(t)});var _o=dn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Eo=cn("toUpperCase");function Ao(e,t,n){return e=Yr(e),(t=n?na:t)===na?(i=e,xs.test(i)?e.match(Ts)||[]:e.match(ls)||[]):e.match(t)||[];var i}var Io=xt(function(e,t){try{return Fs(e,na,t)}catch(e){return _r(e)?e:new g(e)}}),Po=On(function(t,e){return Hs(e,function(e){e=pi(e),Me(t,e,or(t[e],t))}),t});function Oo(e){return function(){return e}}var Lo=hn(),Mo=hn(!0);function jo(e){return e}function No(e){return ut("function"==typeof e?e:Re(e,1))}var Ro=xt(function(t,n){return function(e){return rt(e,t,n)}}),Do=xt(function(t,n){return function(e){return rt(t,e,n)}});function zo(i,t,e){var n=so(t),r=Ge(t,n);null!=e||Pr(t)&&(r.length||!n.length)||(e=t,t=i,i=this,r=Ge(t,so(t)));var o=!(Pr(e)&&"chain"in e&&!e.chain),a=Er(i);return Hs(r,function(e){var n=t[e];i[e]=n,a&&(i.prototype[e]=function(){var e=this.__chain__;if(o||e){var t=i(this.__wrapped__);return(t.__actions__=rn(this.__actions__)).push({func:n,args:arguments,thisArg:i}),t.__chain__=e,t}return n.apply(i,Ys([this.value()],arguments))})}),i}function Fo(){}var $o=yn(Ks),Ho=yn(Bs),qo=yn(Xs);function Bo(e){return Zn(e)?rl(pi(e)):(t=e,function(e){return Xe(e,t)});var t}var Uo=wn(),Wo=wn(!0);function Vo(){return[]}function Ko(){return!1}var Yo=vn(function(e,t){return e+t},0),Zo=Tn("ceil"),Go=vn(function(e,t){return e/t},1),Xo=Tn("floor");var Qo,Jo=vn(function(e,t){return e*t},1),ea=Tn("round"),ta=vn(function(e,t){return e-t},0);return he.after=function(e,t){if("function"!=typeof t)throw new I(ia);return e=Ur(e),function(){if(--e<1)return t.apply(this,arguments)}},he.ary=ir,he.assign=Zr,he.assignIn=Gr,he.assignInWith=Xr,he.assignWith=Qr,he.at=Jr,he.before=rr,he.bind=or,he.bindAll=Po,he.bindKey=ar,he.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return wr(e)?e:[e]},he.chain=qi,he.chunk=function(e,t,n){t=(n?Yn(e,t,n):t===na)?1:V(Ur(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var r=0,o=0,a=A(F(i/t));r<i;)a[o++]=Ot(e,r,r+=t);return a},he.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},he.concat=function(){var e=arguments.length;if(!e)return[];for(var t=A(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Ys(wr(n)?rn(n):[n],We(t,1))},he.cond=function(i){var r=null==i?0:i.length,t=Dn();return i=r?Ks(i,function(e){if("function"!=typeof e[1])throw new I(ia);return[t(e[0]),e[1]]}):[],xt(function(e){for(var t=-1;++t<r;){var n=i[t];if(Fs(n[0],this,e))return Fs(n[1],this,e)}})},he.conforms=function(e){return t=Re(e,1),n=so(t),function(e){return De(e,t,n)};var t,n},he.constant=Oo,he.countBy=Wi,he.create=function(e,t){var n=me(e);return null==t?n:Le(n,t)},he.curry=function e(t,n,i){var r=_n(t,8,na,na,na,na,na,n=i?na:n);return r.placeholder=e.placeholder,r},he.curryRight=function e(t,n,i){var r=_n(t,aa,na,na,na,na,na,n=i?na:n);return r.placeholder=e.placeholder,r},he.debounce=sr,he.defaults=eo,he.defaultsDeep=to,he.defer=lr,he.delay=ur,he.difference=gi,he.differenceBy=vi,he.differenceWith=yi,he.drop=function(e,t,n){var i=null==e?0:e.length;return i?Ot(e,(t=n||t===na?1:Ur(t))<0?0:t,i):[]},he.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?Ot(e,0,(t=i-(t=n||t===na?1:Ur(t)))<0?0:t):[]},he.dropRightWhile=function(e,t){return e&&e.length?Ht(e,Dn(t,3),!0,!0):[]},he.dropWhile=function(e,t){return e&&e.length?Ht(e,Dn(t,3),!0):[]},he.fill=function(e,t,n,i){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Yn(e,t,n)&&(n=0,i=r),function(e,t,n,i){var r=e.length;for((n=Ur(n))<0&&(n=r<-n?0:r+n),(i=i===na||r<i?r:Ur(i))<0&&(i+=r),i=i<n?0:Wr(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},he.filter=function(e,t){return(wr(e)?Us:Ue)(e,Dn(t,3))},he.flatMap=function(e,t){return We(Ji(e,t),1)},he.flatMapDeep=function(e,t){return We(Ji(e,t),da)},he.flatMapDepth=function(e,t,n){return n=n===na?1:Ur(n),We(Ji(e,t),n)},he.flatten=ki,he.flattenDeep=function(e){return null!=e&&e.length?We(e,da):[]},he.flattenDepth=function(e,t){return null!=e&&e.length?We(e,t=t===na?1:Ur(t)):[]},he.flip=function(e){return _n(e,512)},he.flow=Lo,he.flowRight=Mo,he.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},he.functions=function(e){return null==e?[]:Ge(e,so(e))},he.functionsIn=function(e){return null==e?[]:Ge(e,lo(e))},he.groupBy=Gi,he.initial=function(e){return null!=e&&e.length?Ot(e,0,-1):[]},he.intersection=Ti,he.intersectionBy=xi,he.intersectionWith=Ci,he.invert=ro,he.invertBy=oo,he.invokeMap=Xi,he.iteratee=No,he.keyBy=Qi,he.keys=so,he.keysIn=lo,he.map=Ji,he.mapKeys=function(e,i){var r={};return i=Dn(i,3),Ye(e,function(e,t,n){Me(r,i(e,t,n),e)}),r},he.mapValues=function(e,i){var r={};return i=Dn(i,3),Ye(e,function(e,t,n){Me(r,t,i(e,t,n))}),r},he.matches=function(e){return ht(Re(e,1))},he.matchesProperty=function(e,t){return mt(e,Re(t,1))},he.memoize=cr,he.merge=uo,he.mergeWith=co,he.method=Ro,he.methodOf=Do,he.mixin=zo,he.negate=dr,he.nthArg=function(t){return t=Ur(t),xt(function(e){return vt(e,t)})},he.omit=fo,he.omitBy=function(e,t){return ho(e,dr(Dn(t)))},he.once=function(e){return rr(2,e)},he.orderBy=function(e,t,n,i){return null==e?[]:(wr(t)||(t=null==t?[]:[t]),wr(n=i?na:n)||(n=null==n?[]:[n]),yt(e,t,n))},he.over=$o,he.overArgs=fr,he.overEvery=Ho,he.overSome=qo,he.partial=pr,he.partialRight=hr,he.partition=er,he.pick=po,he.pickBy=ho,he.property=Bo,he.propertyOf=function(t){return function(e){return null==t?na:Xe(t,e)}},he.pull=Ei,he.pullAll=Ai,he.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?wt(e,t,Dn(n,2)):e},he.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?wt(e,t,na,n):e},he.pullAt=Ii,he.range=Uo,he.rangeRight=Wo,he.rearg=mr,he.reject=function(e,t){return(wr(e)?Us:Ue)(e,dr(Dn(t,3)))},he.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;for(t=Dn(t,3);++i<o;){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return kt(e,r),n},he.rest=function(e,t){if("function"!=typeof e)throw new I(ia);return xt(e,t=t===na?t:Ur(t))},he.reverse=Pi,he.sampleSize=function(e,t,n){return t=(n?Yn(e,t,n):t===na)?1:Ur(t),(wr(e)?_e:_t)(e,t)},he.set=function(e,t,n){return null==e?e:Et(e,t,n)},he.setWith=function(e,t,n,i){return i="function"==typeof i?i:na,null==e?e:Et(e,t,n,i)},he.shuffle=function(e){return(wr(e)?Ee:Pt)(e)},he.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n=n&&"number"!=typeof n&&Yn(e,t,n)?(t=0,i):(t=null==t?0:Ur(t),n===na?i:Ur(n)),Ot(e,t,n)):[]},he.sortBy=tr,he.sortedUniq=function(e){return e&&e.length?Nt(e):[]},he.sortedUniqBy=function(e,t){return e&&e.length?Nt(e,Dn(t,2)):[]},he.split=function(e,t,n){return n&&"number"!=typeof n&&Yn(e,t,n)&&(t=n=na),(n=n===na?ha:n>>>0)?(e=Yr(e))&&("string"==typeof t||null!=t&&!Nr(t))&&!(t=Dt(t))&&vl(e)?Zt(Tl(e),0,n):e.split(t,n):[]},he.spread=function(i,r){if("function"!=typeof i)throw new I(ia);return r=null==r?0:V(Ur(r),0),xt(function(e){var t=e[r],n=Zt(e,0,r);return t&&Ys(n,t),Fs(i,this,n)})},he.tail=function(e){var t=null==e?0:e.length;return t?Ot(e,1,t):[]},he.take=function(e,t,n){return e&&e.length?Ot(e,0,(t=n||t===na?1:Ur(t))<0?0:t):[]},he.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?Ot(e,(t=i-(t=n||t===na?1:Ur(t)))<0?0:t,i):[]},he.takeRightWhile=function(e,t){return e&&e.length?Ht(e,Dn(t,3),!1,!0):[]},he.takeWhile=function(e,t){return e&&e.length?Ht(e,Dn(t,3)):[]},he.tap=function(e,t){return t(e),e},he.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new I(ia);return Pr(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),sr(e,t,{leading:i,maxWait:t,trailing:r})},he.thru=Bi,he.toArray=qr,he.toPairs=mo,he.toPairsIn=go,he.toPath=function(e){return wr(e)?Ks(e,pi):zr(e)?[e]:rn(fi(Yr(e)))},he.toPlainObject=Kr,he.transform=function(e,i,r){var t=wr(e),n=t||xr(e)||Fr(e);if(i=Dn(i,4),null==r){var o=e&&e.constructor;r=n?t?new o:[]:Pr(e)&&Er(o)?me(_(e)):{}}return(n?Hs:Ye)(e,function(e,t,n){return i(r,e,t,n)}),r},he.unary=function(e){return ir(e,1)},he.union=Oi,he.unionBy=Li,he.unionWith=Mi,he.uniq=function(e){return e&&e.length?zt(e):[]},he.uniqBy=function(e,t){return e&&e.length?zt(e,Dn(t,2)):[]},he.uniqWith=function(e,t){return t="function"==typeof t?t:na,e&&e.length?zt(e,na,t):[]},he.unset=function(e,t){return null==e||Ft(e,t)},he.unzip=ji,he.unzipWith=Ni,he.update=function(e,t,n){return null==e?e:$t(e,t,Vt(n))},he.updateWith=function(e,t,n,i){return i="function"==typeof i?i:na,null==e?e:$t(e,t,Vt(n),i)},he.values=vo,he.valuesIn=function(e){return null==e?[]:cl(e,lo(e))},he.without=Ri,he.words=Ao,he.wrap=function(e,t){return pr(Vt(t),e)},he.xor=Di,he.xorBy=zi,he.xorWith=Fi,he.zip=$i,he.zipObject=function(e,t){return Ut(e||[],t||[],Ie)},he.zipObjectDeep=function(e,t){return Ut(e||[],t||[],Et)},he.zipWith=Hi,he.entries=mo,he.entriesIn=go,he.extend=Gr,he.extendWith=Xr,zo(he,he),he.add=Yo,he.attempt=Io,he.camelCase=yo,he.capitalize=bo,he.ceil=Zo,he.clamp=function(e,t,n){return n===na&&(n=t,t=na),n!==na&&(n=(n=Vr(n))==n?n:0),t!==na&&(t=(t=Vr(t))==t?t:0),Ne(Vr(e),t,n)},he.clone=function(e){return Re(e,4)},he.cloneDeep=function(e){return Re(e,5)},he.cloneDeepWith=function(e,t){return Re(e,5,t="function"==typeof t?t:na)},he.cloneWith=function(e,t){return Re(e,4,t="function"==typeof t?t:na)},he.conformsTo=function(e,t){return null==t||De(e,t,so(t))},he.deburr=wo,he.defaultTo=function(e,t){return null==e||e!=e?t:e},he.divide=Go,he.endsWith=function(e,t,n){e=Yr(e),t=Dt(t);var i=e.length,r=n=n===na?i:Ne(Ur(n),0,i);return 0<=(n-=t.length)&&e.slice(n,r)==t},he.eq=gr,he.escape=function(e){return(e=Yr(e))&&Za.test(e)?e.replace(Ka,ml):e},he.escapeRegExp=function(e){return(e=Yr(e))&&is.test(e)?e.replace(ns,"\\$&"):e},he.every=function(e,t,n){var i=wr(e)?Bs:qe;return n&&Yn(e,t,n)&&(t=na),i(e,Dn(t,3))},he.find=Vi,he.findIndex=bi,he.findKey=function(e,t){return Qs(e,Dn(t,3),Ye)},he.findLast=Ki,he.findLastIndex=wi,he.findLastKey=function(e,t){return Qs(e,Dn(t,3),Ze)},he.floor=Xo,he.forEach=Yi,he.forEachRight=Zi,he.forIn=function(e,t){return null==e?e:Ve(e,Dn(t,3),lo)},he.forInRight=function(e,t){return null==e?e:Ke(e,Dn(t,3),lo)},he.forOwn=function(e,t){return e&&Ye(e,Dn(t,3))},he.forOwnRight=function(e,t){return e&&Ze(e,Dn(t,3))},he.get=no,he.gt=vr,he.gte=yr,he.has=function(e,t){return null!=e&&Un(e,t,tt)},he.hasIn=io,he.head=Si,he.identity=jo,he.includes=function(e,t,n,i){e=Sr(e)?e:vo(e),n=n&&!i?Ur(n):0;var r=e.length;return n<0&&(n=V(r+n,0)),Dr(e)?n<=r&&-1<e.indexOf(t,n):!!r&&-1<el(e,t,n)},he.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:Ur(n);return r<0&&(r=V(i+r,0)),el(e,t,r)},he.inRange=function(e,t,n){return t=Br(t),n===na?(n=t,t=0):n=Br(n),e=Vr(e),(i=e)>=K(r=t,o=n)&&i<V(r,o);var i,r,o},he.invoke=ao,he.isArguments=br,he.isArray=wr,he.isArrayBuffer=kr,he.isArrayLike=Sr,he.isArrayLikeObject=Tr,he.isBoolean=function(e){return!0===e||!1===e||Or(e)&&Je(e)==ya},he.isBuffer=xr,he.isDate=Cr,he.isElement=function(e){return Or(e)&&1===e.nodeType&&!jr(e)},he.isEmpty=function(e){if(null==e)return!0;if(Sr(e)&&(wr(e)||"string"==typeof e||"function"==typeof e.splice||xr(e)||Fr(e)||br(e)))return!e.length;var t=Bn(e);if(t==Ta||t==Aa)return!e.size;if(Qn(e))return!ct(e).length;for(var n in e)if(C.call(e,n))return!1;return!0},he.isEqual=function(e,t){return at(e,t)},he.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:na)?n(e,t):na;return i===na?at(e,t,na,n):!!i},he.isError=_r,he.isFinite=function(e){return"number"==typeof e&&B(e)},he.isFunction=Er,he.isInteger=Ar,he.isLength=Ir,he.isMap=Lr,he.isMatch=function(e,t){return e===t||st(e,t,Fn(t))},he.isMatchWith=function(e,t,n){return n="function"==typeof n?n:na,st(e,t,Fn(t),n)},he.isNaN=function(e){return Mr(e)&&e!=+e},he.isNative=function(e){if(Xn(e))throw new g("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return lt(e)},he.isNil=function(e){return null==e},he.isNull=function(e){return null===e},he.isNumber=Mr,he.isObject=Pr,he.isObjectLike=Or,he.isPlainObject=jr,he.isRegExp=Nr,he.isSafeInteger=function(e){return Ar(e)&&-fa<=e&&e<=fa},he.isSet=Rr,he.isString=Dr,he.isSymbol=zr,he.isTypedArray=Fr,he.isUndefined=function(e){return e===na},he.isWeakMap=function(e){return Or(e)&&Bn(e)==Oa},he.isWeakSet=function(e){return Or(e)&&"[object WeakSet]"==Je(e)},he.join=function(e,t){return null==e?"":U.call(e,t)},he.kebabCase=ko,he.last=_i,he.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=i;return n!==na&&(r=(r=Ur(n))<0?V(i+r,0):K(r,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):Js(e,nl,r,!0)},he.lowerCase=So,he.lowerFirst=To,he.lt=$r,he.lte=Hr,he.max=function(e){return e&&e.length?Be(e,jo,et):na},he.maxBy=function(e,t){return e&&e.length?Be(e,Dn(t,2),et):na},he.mean=function(e){return il(e,jo)},he.meanBy=function(e,t){return il(e,Dn(t,2))},he.min=function(e){return e&&e.length?Be(e,jo,ft):na},he.minBy=function(e,t){return e&&e.length?Be(e,Dn(t,2),ft):na},he.stubArray=Vo,he.stubFalse=Ko,he.stubObject=function(){return{}},he.stubString=function(){return""},he.stubTrue=function(){return!0},he.multiply=Jo,he.nth=function(e,t){return e&&e.length?vt(e,Ur(t)):na},he.noConflict=function(){return Os._===this&&(Os._=m),this},he.noop=Fo,he.now=nr,he.pad=function(e,t,n){e=Yr(e);var i=(t=Ur(t))?Sl(e):0;if(!t||t<=i)return e;var r=(t-i)/2;return bn($(r),n)+e+bn(F(r),n)},he.padEnd=function(e,t,n){e=Yr(e);var i=(t=Ur(t))?Sl(e):0;return t&&i<t?e+bn(t-i,n):e},he.padStart=function(e,t,n){e=Yr(e);var i=(t=Ur(t))?Sl(e):0;return t&&i<t?bn(t-i,n)+e:e},he.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Z(Yr(e).replace(rs,""),t||0)}
vendor: 4,180 bytes, line 1
1,he.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Yn(e,t,n)&&(t=n=na),n===na&&("boolean"==typeof t?(n=t,t=na):"boolean"==typeof e&&(n=e,e=na)),e===na&&t===na?(e=0,t=1):(e=Br(e),t===na?(t=e,e=0):t=Br(t)),t<e){var i=e;e=t,t=i}if(n||e%1||t%1){var r=G();return K(e+r*(t-e+Is("1e-"+((r+"").length-1))),t)}return St(e,t)},he.reduce=function(e,t,n){var i=wr(e)?Zs:ol,r=arguments.length<3;return i(e,Dn(t,4),n,r,$e)},he.reduceRight=function(e,t,n){var i=wr(e)?Gs:ol,r=arguments.length<3;return i(e,Dn(t,4),n,r,He)},he.repeat=function(e,t,n){return t=(n?Yn(e,t,n):t===na)?1:Ur(t),Tt(Yr(e),t)},he.replace=function(){var e=arguments,t=Yr(e[0]);return e.length<3?t:t.replace(e[1],e[2])},he.result=function(e,t,n){var i=-1,r=(t=Kt(t,e)).length;for(r||(r=1,e=na);++i<r;){var o=null==e?na:e[pi(t[i])];o===na&&(i=r,o=n),e=Er(o)?o.call(e):o}return e},he.round=ea,he.runInContext=e,he.sample=function(e){return(wr(e)?Ce:Ct)(e)},he.size=function(e){if(null==e)return 0;if(Sr(e))return Dr(e)?Sl(e):e.length;var t=Bn(e);return t==Ta||t==Aa?e.size:ct(e).length},he.snakeCase=xo,he.some=function(e,t,n){var i=wr(e)?Xs:Lt;return n&&Yn(e,t,n)&&(t=na),i(e,Dn(t,3))},he.sortedIndex=function(e,t){return Mt(e,t)},he.sortedIndexBy=function(e,t,n){return jt(e,t,Dn(n,2))},he.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=Mt(e,t);if(i<n&&gr(e[i],t))return i}return-1},he.sortedLastIndex=function(e,t){return Mt(e,t,!0)},he.sortedLastIndexBy=function(e,t,n){return jt(e,t,Dn(n,2),!0)},he.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Mt(e,t,!0)-1;if(gr(e[n],t))return n}return-1},he.startCase=Co,he.startsWith=function(e,t,n){return e=Yr(e),n=null==n?0:Ne(Ur(n),0,e.length),t=Dt(t),e.slice(n,n+t.length)==t},he.subtract=ta,he.sum=function(e){return e&&e.length?al(e,jo):0},he.sumBy=function(e,t){return e&&e.length?al(e,Dn(t,2)):0},he.template=function(a,e,t){var n=he.templateSettings;t&&Yn(a,e,t)&&(e=na),a=Yr(a),e=Xr({},e,n,En);var s,l,i=Xr({},e.imports,n.imports,En),r=so(i),o=cl(i,r),u=0,c=e.interpolate||bs,d="__p += '",f=y((e.escape||bs).source+"|"+c.source+"|"+(c===Qa?ds:bs).source+"|"+(e.evaluate||bs).source+"|$","g"),p="//# sourceURL="+(C.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_s+"]")+"\n";a.replace(f,function(e,t,n,i,r,o){return n||(n=i),d+=a.slice(u,o).replace(ws,gl),t&&(s=!0,d+="' +\n__e("+t+") +\n'"),r&&(l=!0,d+="';\n"+r+";\n__p += '"),n&&(d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=o+e.length,e}),d+="';\n";var h=C.call(e,"variable")&&e.variable;if(h){if(us.test(h))throw new g("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(l?d.replace(Ba,""):d).replace(Ua,"$1").replace(Wa,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(l?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Io(function(){return v(r,p+"return "+d).apply(na,o)});if(m.source=d,_r(m))throw m;return m},he.times=function(e,t){if((e=Ur(e))<1||fa<e)return[];var n=ha,i=K(e,ha);t=Dn(t),e-=ha;for(var r=sl(i,t);++n<e;)t(n);return r},he.toFinite=Br,he.toInteger=Ur,he.toLength=Wr,he.toLower=function(e){return Yr(e).toLowerCase()},he.toNumber=Vr,he.toSafeInteger=function(e){return e?Ne(Ur(e),-fa,fa):0===e?e:0},he.toString=Yr,he.toUpper=function(e){return Yr(e).toUpperCase()},he.trim=function(e,t,n){if((e=Yr(e))&&(n||t===na))return ll(e);if(!e||!(t=Dt(t)))return e;var i=Tl(e),r=Tl(t);return Zt(i,fl(i,r),pl(i,r)+1).join("")},he.trimEnd=function(e,t,n){if((e=Yr(e))&&(n||t===na))return e.slice(0,xl(e)+1);if(!e||!(t=Dt(t)))return e;var i=Tl(e);return Zt(i,0,pl(i,Tl(t))+1).join("")},he.trimStart=function(e,t,n){if((e=Yr(e))&&(n||t===na))return e.replace(rs,"");if(!e||!(t=Dt(t)))return e;var i=Tl(e);return Zt(i,fl(i,Tl(t))).join("")},he.truncate=function(e,t){var n=30,i="...";if(Pr(t)){var r="separator"in t?t.separator:r;n="length"in t?Ur(t.length):n,i="omission"in t?Dt(t.omission):i}var o=(e=Yr(e)).length;if(vl(e)){var a=Tl(e);o=a.length}if(o<=n)return e;var s=n-Sl(i);if(s<1)return i;var l=a?Zt(a,0,s).join(""):e.slice(0,s);if(r===na)return l+i;
vendor: 6,071 bytes, line 1
1if(a&&(s+=l.length-s),Nr(r)){if(e.slice(s).search(r)){var u,c=l;for(r.global||(r=y(r.source,Yr(fs.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var d=u.index;l=l.slice(0,d===na?s:d)}}else if(e.indexOf(Dt(r),s)!=s){var f=l.lastIndexOf(r);-1<f&&(l=l.slice(0,f))}return l+i},he.unescape=function(e){return(e=Yr(e))&&Ya.test(e)?e.replace(Va,Cl):e},he.uniqueId=function(e){var t=++u;return Yr(e)+t},he.upperCase=_o,he.upperFirst=Eo,he.each=Yi,he.eachRight=Zi,he.first=Si,zo(he,(Qo={},Ye(he,function(e,t){C.call(he.prototype,t)||(Qo[t]=e)}),Qo),{chain:!1}),he.VERSION="4.17.21",Hs(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){he[e].placeholder=he}),Hs(["drop","take"],function(n,i){ye.prototype[n]=function(e){e=e===na?1:V(Ur(e),0);var t=this.__filtered__&&!i?new ye(this):this.clone();return t.__filtered__?t.__takeCount__=K(e,t.__takeCount__):t.__views__.push({size:K(e,ha),type:n+(t.__dir__<0?"Right":"")}),t},ye.prototype[n+"Right"]=function(e){return this.reverse()[n](e).reverse()}}),Hs(["filter","map","takeWhile"],function(e,t){var n=t+1,i=1==n||3==n;ye.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Dn(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),Hs(["head","last"],function(e,t){var n="take"+(t?"Right":"");ye.prototype[e]=function(){return this[n](1).value()[0]}}),Hs(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");ye.prototype[e]=function(){return this.__filtered__?new ye(this):this[n](1)}}),ye.prototype.compact=function(){return this.filter(jo)},ye.prototype.find=function(e){return this.filter(e).head()},ye.prototype.findLast=function(e){return this.reverse().find(e)},ye.prototype.invokeMap=xt(function(t,n){return"function"==typeof t?new ye(this):this.map(function(e){return rt(e,t,n)})}),ye.prototype.reject=function(e){return this.filter(dr(Dn(e)))},ye.prototype.slice=function(e,t){e=Ur(e);var n=this;return n.__filtered__&&(0<e||t<0)?new ye(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==na&&(n=(t=Ur(t))<0?n.dropRight(-t):n.take(t-e)),n)},ye.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ye.prototype.toArray=function(){return this.take(ha)},Ye(ye.prototype,function(d,e){var f=/^(?:filter|find|map|reject)|While$/.test(e),p=/^(?:head|last)$/.test(e),h=he[p?"take"+("last"==e?"Right":""):e],m=p||/^find/.test(e);h&&(he.prototype[e]=function(){var e=this.__wrapped__,n=p?[1]:arguments,t=e instanceof ye,i=n[0],r=t||wr(e),o=function(e){var t=h.apply(he,Ys([e],n));return p&&a?t[0]:t};r&&f&&"function"==typeof i&&1!=i.length&&(t=r=!1);var a=this.__chain__,s=!!this.__actions__.length,l=m&&!a,u=t&&!s;if(m||!r)return l&&u?d.apply(this,n):(c=this.thru(o),l?p?c.value()[0]:c.value():c);e=u?e:new ye(this);var c=d.apply(e,n);return c.__actions__.push({func:Bi,args:[o],thisArg:na}),new ve(c,a)})}),Hs(["pop","push","shift","sort","splice","unshift"],function(e){var n=o[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);he.prototype[e]=function(){var t=arguments;if(!r||this.__chain__)return this[i](function(e){return n.apply(wr(e)?e:[],t)});var e=this.value();return n.apply(wr(e)?e:[],t)}}),Ye(ye.prototype,function(e,t){var n=he[t];if(n){var i=n.name+"";C.call(oe,i)||(oe[i]=[]),oe[i].push({name:t,func:n})}}),oe[mn(na,2).name]=[{name:"wrapper",func:na}],ye.prototype.clone=function(){var e=new ye(this.__wrapped__);return e.__actions__=rn(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rn(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rn(this.__views__),e},ye.prototype.reverse=function(){if(this.__filtered__){var e=new ye(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},ye.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=wr(e),i=t<0,r=n?e.length:0,o=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=K(t,e+a);break;case"takeRight":e=V(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,d=c.length,f=0,p=K(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return qt(e,this.__actions__);var h=[];e:for(;l--&&f<p;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],y=v.iteratee,b=v.type,w=y(g);if(2==b)g=w;else if(!w){if(1==b)continue e;break e}}h[f++]=g}return h},he.prototype.at=Ui,he.prototype.chain=function(){return qi(this)},he.prototype.commit=function(){return new ve(this.value(),this.__chain__)},he.prototype.next=function(){this.__values__===na&&(this.__values__=qr(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?na:this.__values__[this.__index__++]}},he.prototype.plant=function(e){for(var t,n=this;n instanceof ge;){var i=mi(n);i.__index__=0,i.__values__=na,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t},he.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof ye){var t=e;return this.__actions__.length&&(t=new ye(this)),(t=t.reverse()).__actions__.push({func:Bi,args:[Pi],thisArg:na}),new ve(t,this.__chain__)}return this.thru(Pi)},he.prototype.toJSON=he.prototype.valueOf=he.prototype.value=function(){return qt(this.__wrapped__,this.__actions__)},he.prototype.first=he.prototype.head,M&&(he.prototype[M]=function(){return this}),he}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Os._=_l,define(function(){return _l})):D?((D.exports=_l)._=_l,R._=_l):Os._=_l}).call(this),function(e,t){var n=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",n,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?n():e.addEventListener("lazyunveilread",n,!0)}(window,function(d,r,f){"use strict";var i,o,a,s,t,n,l,p,h,u,c,m,g,v,e,y,b=f&&f.cfg,w=r.createElement("img"),k="sizes"in w&&"srcset"in w,S=/\s+\d+h/g,T=(o=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,a=Array.prototype.forEach,function(){var e=r.createElement("img"),n=function(e){var t,n,i=e.getAttribute(lazySizesConfig.srcsetAttr);
1i&&(n=i.match(o))&&((t="w"==n[2]?n[1]/n[3]:n[3]/n[1])&&e.setAttribute("data-aspectratio",t),e.setAttribute(lazySizesConfig.srcsetAttr,i.replace(S,"")))},t=function(e){if(e.detail.instance==f){var t=e.target.parentNode;t&&"PICTURE"==t.nodeName&&a.call(t.getElementsByTagName("source"),n),n(e.target)}},i=function(){e.currentSrc&&r.removeEventListener("lazybeforeunveil",t)};r.addEventListener("lazybeforeunveil",t),e.onload=i,e.onerror=i,e.srcset="data:,a 1w 1h",e.complete&&i()});(b.supportsType||(b.supportsType=function(e){return!e}),d.HTMLPictureElement&&k)?!f.hasHDescriptorFix&&r.msElementsFromPoint&&(f.hasHDescriptorFix=!0,T()):d.picturefill||b.pf||(b.pf=function(e){var t,n;if(!d.picturefill)for(t=0,n=e.elements.length;t<n;t++)i(e.elements[t])},p=function(e,t){return e.w-t.w},h=/^\s*\d+\.*\d*px\s*$/,t=/(([^,\s].[^\s]+)\s+(\d+)w)/g,n=/\s/,l=function(e,t,n,i){s.push({c:t,u:n,w:1*i})},c=function(){var e,n,t;c.init||(c.init=!0,addEventListener("resize",(n=r.getElementsByClassName("lazymatchmedia"),t=function(){var e,t;for(e=0,t=n.length;e<t;e++)i(n[e])},function(){clearTimeout(e),e=setTimeout(t,66)})))},m=function(e,t){var n,i=e.getAttribute("srcset")||e.getAttribute(b.srcsetAttr);!i&&t&&(i=e._lazypolyfill?e._lazypolyfill._set:e.getAttribute(b.srcAttr)||e.getAttribute("src")),e._lazypolyfill&&e._lazypolyfill._set==i||(n=u(i||""),t&&e.parentNode&&(n.isPicture="PICTURE"==e.parentNode.nodeName.toUpperCase(),n.isPicture&&d.matchMedia&&(f.aC(e,"lazymatchmedia"),c())),n._set=i,Object.defineProperty(e,"_lazypolyfill",{value:n,writable:!0}))},g=function(e){return d.matchMedia?(g=function(e){return!e||(matchMedia(e)||{}).matches})(e):!e},v=function(e){var t,n,i,r,o,a,s,l,u,c;if(m(r=e,!0),(o=r._lazypolyfill).isPicture)for(n=0,i=(t=e.parentNode.getElementsByTagName("source")).length;n<i;n++)if(b.supportsType(t[n].getAttribute("type"),e)&&g(t[n].getAttribute("media"))){r=t[n],m(r),o=r._lazypolyfill;break}return 1<o.length?(s=r.getAttribute("sizes")||"",s=h.test(s)&&parseInt(s,10)||f.gW(e,e.parentNode),o.d=(l=e,u=d.devicePixelRatio||1,c=f.getX&&f.getX(l),Math.min(c||u,2.5,u)),!o.src||!o.w||o.w<s?(o.w=s,a=function(e){for(var t,n,i=e.length,r=e[i-1],o=0;o<i;o++)if((r=e[o]).d=r.w/e.w,r.d>=e.d){!r.cached&&(t=e[o-1])&&t.d>e.d-.13*Math.pow(e.d,2.2)&&(n=Math.pow(t.d-.6,1.6),t.cached&&(t.d+=.15*n),t.d+(r.d-e.d)*n>e.d&&(r=t));break}return r}(o.sort(p)),o.src=a):a=o.src):a=o[0],a},(e=function(e){if(!k||!e.parentNode||"PICTURE"==e.parentNode.nodeName.toUpperCase()){var t=v(e);t&&t.u&&e._lazypolyfill.cur!=t.u&&(e._lazypolyfill.cur=t.u,t.cached=!0,e.setAttribute(b.srcAttr,t.u),e.setAttribute("src",t.u))}}).parse=u=function(e){return s=[],(e=e.trim()).replace(S,"").replace(t,l),s.length||!e||n.test(e)||s.push({c:e,u:e,w:99}),s},i=e,b.loadedClass&&b.loadingClass&&(y=[],['img[sizes$="px"][srcset].',"picture > img:not([srcset])."].forEach(function(e){y.push(e+b.loadedClass),y.push(e+b.loadingClass)}),b.pf({elements:r.querySelectorAll(y.join(", "))})))}),function(e,t){var n=function(i,p){"use strict";if(!p.getElementsByClassName)return;var h,m,g=p.documentElement,o=i.Date,r=i.HTMLPictureElement,a="addEventListener",v="getAttribute",t=i[a],d=i.setTimeout,n=i.requestAnimationFrame||d,s=i.requestIdleCallback,f=/^picture$/i,l=["load","error","lazyincluded","_lazyloaded"],u={},y=Array.prototype.forEach,c=function(e,t){return u[t]||(u[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),u[t].test(e[v]("class")||"")&&u[t]},b=function(e,t){c(e,t)||e.setAttribute("class",(e[v]("class")||"").trim()+" "+t)},w=function(e,t){var n;(n=c(e,t))&&e.setAttribute("class",(e[v]("class")||"").replace(n," "))},k=function(t,n,e){var i=e?a:"removeEventListener";e&&k(t,n),l.forEach(function(e){t[i](e,n)})},S=function(e,t,n,i,r){var o=p.createEvent("Event");return n||(n={}),n.instance=h,o.initEvent(t,!i,!r),o.detail=n,e.dispatchEvent(o),o},T=function(e,t){var n;!r&&(n=i.picturefill||m.pf)?(t&&t.src&&!e[v]("srcset")&&e.setAttribute("srcset",t.src),n({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)},x=function(e,t){return(getComputedStyle(e,null)||{})[t]},C=function(e,t,n){for(n=n||e.offsetWidth;n<m.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},_=(P=[],O=[],L=P,M=function(){var e=L;for(L=P.length?O:P,I=!(A=!0);e.length;)e.shift()();A=!1},j=function(e,t){A&&!t?e.apply(this,arguments):(L.push(e),I||(I=!0,(p.hidden?d:n)(M)))},j._lsFlush=M,j),e=function(n,e){return e?function(){_(n)}:function(){var e=this,t=arguments;_(function(){n.apply(e,t)})}},E=function(e){var t,n,i=function(){t=null,e()},r=function(){var e=o.now()-n;e<99?d(r,99-e):(s||i)(i)};return function(){n=o.now(),t||(t=d(r,99))}};var A,I,P,O,L,M,j;!function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in m=i.lazySizesConfig||i.lazysizesConfig||{},t)e in m||(m[e]=t[e]);i.lazySizesConfig=m,d(function(){m.init&&D()})}();var N=(se=/^img$/i,le=/^iframe$/i,ue="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),ce=0,de=0,fe=-1,pe=function(e){de--,(!e||de<0||!e.target)&&(de=0)}
1,he=function(e){return null==J&&(J="hidden"==x(p.body,"visibility")),J||"hidden"!=x(e.parentNode,"visibility")&&"hidden"!=x(e,"visibility")},me=function(e,t){var n,i=e,r=he(e);for(Z-=t,Q+=t,G-=t,X+=t;r&&(i=i.offsetParent)&&i!=p.body&&i!=g;)(r=0<(x(i,"opacity")||1))&&"visible"!=x(i,"overflow")&&(n=i.getBoundingClientRect(),r=X>n.left&&G<n.right&&Q>n.top-1&&Z<n.bottom+1);return r},ge=function(){var e,t,n,i,r,o,a,s,l,u,c,d,f=h.elements;if((W=m.loadMode)&&de<8&&(e=f.length)){for(t=0,fe++,u=!m.expand||m.expand<1?500<g.clientHeight&&500<g.clientWidth?500:370:m.expand,h._defEx=u,c=u*m.expFactor,d=m.hFac,J=null,ce<c&&de<1&&2<fe&&2<W&&!p.hidden?(ce=c,fe=0):ce=1<W&&1<fe&&de<6?u:0;t<e;t++)if(f[t]&&!f[t]._lazyRace)if(ue)if((s=f[t][v]("data-expand"))&&(o=1*s)||(o=ce),l!==o&&(K=innerWidth+o*d,Y=innerHeight+o,a=-1*o,l=o),n=f[t].getBoundingClientRect(),(Q=n.bottom)>=a&&(Z=n.top)<=Y&&(X=n.right)>=a*d&&(G=n.left)<=K&&(Q||X||G||Z)&&(m.loadHidden||he(f[t]))&&(B&&de<3&&!s&&(W<3||fe<4)||me(f[t],o))){if(Te(f[t]),r=!0,9<de)break}else!r&&B&&!i&&de<4&&fe<4&&2<W&&(q[0]||m.preloadAfterLoad)&&(q[0]||!s&&(Q||X||G||Z||"auto"!=f[t][v](m.sizesAttr)))&&(i=q[0]||f[t]);else Te(f[t]);i&&!r&&Te(i)}},ee=ge,ne=0,ie=m.throttleDelay,re=m.ricTimeout,oe=function(){te=!1,ne=o.now(),ee()},ae=s&&49<re?function(){s(oe,{timeout:re}),re!==m.ricTimeout&&(re=m.ricTimeout)}:e(function(){d(oe)},!0),ve=function(e){var t;(e=!0===e)&&(re=33),te||(te=!0,(t=ie-(o.now()-ne))<0&&(t=0),e||t<9?ae():d(ae,t))},ye=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(pe(e),b(t,m.loadedClass),w(t,m.loadingClass),k(t,we),S(t,"lazyloaded"))},be=e(ye),we=function(e){be({target:e.target})},ke=function(e){var t,n=e[v](m.srcsetAttr);(t=m.customMedia[e[v]("data-media")||e[v]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},Se=e(function(t,e,n,i,r){var o,a,s,l,u,c;(u=S(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?b(t,m.autosizesClass):t.setAttribute("sizes",i)),a=t[v](m.srcsetAttr),o=t[v](m.srcAttr),r&&(s=t.parentNode,l=s&&f.test(s.nodeName||"")),c=e.firesLoad||"src"in t&&(a||o||l),u={target:t},b(t,m.loadingClass),c&&(clearTimeout(U),U=d(pe,2500),k(t,we,!0)),l&&y.call(s.getElementsByTagName("source"),ke),a?t.setAttribute("srcset",a):o&&!l&&(le.test(t.nodeName)?function(t,n){try{t.contentWindow.location.replace(n)}catch(e){t.src=n}}(t,o):t.src=o),r&&(a||l)&&T(t,{src:o})),t._lazyRace&&delete t._lazyRace,w(t,m.lazyClass),_(function(){var e=t.complete&&1<t.naturalWidth;c&&!e||(e&&b(t,"ls-is-cached"),ye(u),t._lazyCache=!0,d(function(){"_lazyCache"in t&&delete t._lazyCache},9))},!0)}),Te=function(e){var t,n=se.test(e.nodeName),i=n&&(e[v](m.sizesAttr)||e[v]("sizes")),r="auto"==i;(!r&&B||!n||!e[v]("src")&&!e.srcset||e.complete||c(e,m.errorClass)||!c(e,m.lazyClass))&&(t=S(e,"lazyunveilread").detail,r&&R.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,de++,Se(e,t,r,i,n))},xe=function(){if(!B)if(o.now()-V<999)d(xe,999);else{var e=E(function(){m.loadMode=3,ve()});B=!0,m.loadMode=3,ve(),t("scroll",function(){3==m.loadMode&&(m.loadMode=2),e()},!0)}},{_:function(){V=o.now(),h.elements=p.getElementsByClassName(m.lazyClass),q=p.getElementsByClassName(m.lazyClass+" "+m.preloadClass),t("scroll",ve,!0),t("resize",ve,!0),i.MutationObserver?new MutationObserver(ve).observe(g,{childList:!0,subtree:!0,attributes:!0}):(g[a]("DOMNodeInserted",ve,!0),g[a]("DOMAttrModified",ve,!0),setInterval(ve,999)),t("hashchange",ve,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(e){p[a](e,ve,!0)}),/d$|^c/.test(p.readyState)?xe():(t("load",xe),p[a]("DOMContentLoaded",ve),d(xe,2e4)),h.elements.length?(ge(),_._lsFlush()):ve()},checkElems:ve,unveil:Te}),R=(F=e(function(e,t,n,i){var r,o,a;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),f.test(t.nodeName||""))for(r=t.getElementsByTagName("source"),o=0,a=r.length;o<a;o++)r[o].setAttribute("sizes",i);n.detail.dataAttr||T(e,n.detail)}),$=function(e,t,n){var i,r=e.parentNode;r&&(n=C(e,r,n),(i=S(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=i.detail.width)&&n!==e._lazysizesWidth&&F(e,r,i,n))},H=E(function(){var e,t=z.length;if(t)for(e=0;e<t;e++)$(z[e])}),{_:function(){z=p.getElementsByClassName(m.autosizesClass),t("resize",H)},checkElems:H,updateElem:$}),D=function(){D.i||(D.i=!0,R._(),N._())};var z,F,$,H;var q,B,U,W,V,K,Y,Z,G,X,Q,J,ee,te,ne,ie,re,oe,ae,se,le,ue,ce,de,fe,pe,he,me,ge,ve,ye,be,we,ke,Se,Te,xe;return h={cfg:m,autoSizer:R,loader:N,init:D,uP:T,aC:b,rC:w,hC:c,fire:S,gW:C,rAF:_}}(e,e.document);e.lazySizes=n,"object"==typeof module&&module.exports&&(module.exports=n)}(window),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):void 0!==exports?module.exports=e(require("jquery")):e(jQuery)}(function(u){"use strict";var r,a=window.Slick||{};r=0,(a=function(e,t){var n,i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:u(e),appendDots:u(e),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return u('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 7,654 bytes, line 1
1sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},u.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=u(e),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,n=u(e).data("slick")||{},i.options=u.extend({},i.defaults,t,n),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=u.proxy(i.autoPlay,i),i.autoPlayClear=u.proxy(i.autoPlayClear,i),i.autoPlayIterator=u.proxy(i.autoPlayIterator,i),i.changeSlide=u.proxy(i.changeSlide,i),i.clickHandler=u.proxy(i.clickHandler,i),i.selectHandler=u.proxy(i.selectHandler,i),i.setPosition=u.proxy(i.setPosition,i),i.swipeHandler=u.proxy(i.swipeHandler,i),i.dragHandler=u.proxy(i.dragHandler,i),i.keyHandler=u.proxy(i.keyHandler,i),i.instanceUid=r++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},a.prototype.addSlide=a.prototype.slickAdd=function(e,t,n){var i=this;if("boolean"==typeof t)n=t,t=null;else if(t<0||t>=i.slideCount)return!1;i.unload(),"number"==typeof t?0===t&&0===i.$slides.length?u(e).appendTo(i.$slideTrack):n?u(e).insertBefore(i.$slides.eq(t)):u(e).insertAfter(i.$slides.eq(t)):!0===n?u(e).prependTo(i.$slideTrack):u(e).appendTo(i.$slideTrack),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slides.each(function(e,t){u(t).attr("data-slick-index",e)}),i.$slidesCache=i.$slides,i.reinit()},a.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},a.prototype.animateSlide=function(e,t){var n={},i=this;i.animateHeight(),!0===i.options.rtl&&!1===i.options.vertical&&(e=-e),!1===i.transformsEnabled?!1===i.options.vertical?i.$slideTrack.animate({left:e},i.options.speed,i.options.easing,t):i.$slideTrack.animate({top:e},i.options.speed,i.options.easing,t):!1===i.cssTransitions?(!0===i.options.rtl&&(i.currentLeft=-i.currentLeft),u({animStart:i.currentLeft}).animate({animStart:e},{duration:i.options.speed,easing:i.options.easing,step:function(e){e=Math.ceil(e),!1===i.options.vertical?n[i.animType]="translate("+e+"px, 0px)":n[i.animType]="translate(0px,"+e+"px)",i.$slideTrack.css(n)},complete:function(){t&&t.call()}})):(i.applyTransition(),e=Math.ceil(e),!1===i.options.vertical?n[i.animType]="translate3d("+e+"px, 0px, 0px)":n[i.animType]="translate3d(0px,"+e+"px, 0px)",i.$slideTrack.css(n),t&&setTimeout(function(){i.disableTransition(),t.call()},i.options.speed))},a.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=u(e).not(this.$slider)),e},a.prototype.asNavFor=function(t){var e=this.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var e=u(this).slick("getSlick");e.unslicked||e.slideHandler(t,!0)})},a.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},a.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},a.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},a.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},a.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=u(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=u(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},a.prototype.buildDots=function(){var e,t,n=this;if(!0===n.options.dots&&n.slideCount>n.options.slidesToShow){for(n.$slider.addClass("slick-dotted"),t=u("<ul />").addClass(n.options.dotsClass),e=0;e<=n.getDotCount();e+=1)t.append(u("<li />").append(n.options.customPaging.call(this,n,e)));n.$dots=t.appendTo(n.options.appendDots),n.$dots.find("li").first().addClass("slick-active")}},a.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){u(t).attr("data-slick-index",e).data("originalStyling",u(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?u('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),u("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},a.prototype.buildRows=function(){var e,t,n,i,r,o,a,s=this;if(i=document.createDocumentFragment(),o=s.$slider.children(),0<s.options.rows){for(a=s.options.slidesPerRow*s.options.rows,r=Math.ceil(o.length/a),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<s.options.rows;t++){var u=document.createElement("div");for(n=0;n<s.options.slidesPerRow;n++){var c=e*a+(t*s.options.slidesPerRow+n);o.get(c)&&u.appendChild(o.get(c))}l.appendChild(u)}i.appendChild(l)}s.$slider.empty().append(i),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},a.prototype.checkResponsive=function(e,t){var n,i,r,o=this,a=!1,s=o.$slider.width(),l=window.innerWidth||u(window).width();if("window"===o.respondTo?r=l:"slider"===o.respondTo?r=s:"min"===o.respondTo&&(r=Math.min(l,s)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(n in i=null,o.breakpoints)o.breakpoints.hasOwnProperty(n)&&(!1===o.originalSettings.mobileFirst?r<o.breakpoints[n]&&(i=o.breakpoints[n]):r>o.breakpoints[n]&&(i=o.breakpoints[n]));null!==i?null!==o.activeBreakpoint?(i!==o.activeBreakpoint||t)&&(o.activeBreakpoint=i,"unsl
1ick"===o.breakpointSettings[i]?o.unslick(i):(o.options=u.extend({},o.originalSettings,o.breakpointSettings[i]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=i):(o.activeBreakpoint=i,"unslick"===o.breakpointSettings[i]?o.unslick(i):(o.options=u.extend({},o.originalSettings,o.breakpointSettings[i]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=i):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e),a=i),e||!1===a||o.$slider.trigger("breakpoint",[o,a])}},a.prototype.changeSlide=function(e,t){var n,i,r=this,o=u(e.currentTarget);switch(o.is("a")&&e.preventDefault(),o.is("li")||(o=o.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":i=0===n?r.options.slidesToScroll:r.options.slidesToShow-n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-i,!1,t);break;case"next":i=0===n?r.options.slidesToScroll:n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+i,!1,t);break;case"index":var a=0===e.data.index?0:e.data.index||o.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(a),!1,t),o.children().trigger("focus");break;default:return}},a.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},a.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(u("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",u.proxy(e.interrupt,e,!0)).off("mouseleave.slick",u.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
1slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),u(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&u(e.$slideTrack).children().off("click.slick",e.selectHandler),u(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),u(window).off("resize.slick.slick-"+e.instanceUid,e.resize),u("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),u(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},a.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",u.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",u.proxy(e.interrupt,e,!1))},a.prototype.cleanUpRows=function(){var e;0<this.options.rows&&((e=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(e))},a.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},a.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),u(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){u(this).attr("style",u(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},a.prototype.disableTransition=function(e){var t={};t[this.transitionType]="",!1===this.options.fade?this.$slideTrack.css(t):this.$slides.eq(e).css(t)},a.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},a.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},a.prototype.filterSlides=a.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},a.prototype.focusHandler=function(){var n=this;n.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(e){e.stopImmediatePropagation();var t=u(this);setTimeout(function(){n.options.pauseOnFocus&&(n.focussed=t.is(":focus"),n.autoPlay())},0)})},a.prototype.getCurrent=a.prototype.slickCurrentSlide=function(){return this.currentSlide},a.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++i;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},a.prototype.getLeft=function(e){var t,n,i,r,o=this,a=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(!0),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,r=-1,!0===o.options.vertical&&!0===o.options.centerMode&&(2===o.options.slidesToShow?r=-1.5:1===o.options.slidesToShow&&(r=-2)),a=n*o.options.slidesToShow*r),o.slideCount%o.options.slidesToScroll!=0&&e+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(a=e>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(e-o.slideCount))*o.slideWidth*-1,(o.options.slidesToShow-(e-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,o.slideCount%o.options.slidesToScroll*n*-1))):e+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(e+o.options.slidesToShow-o.slideCount)*o.slideWidth,a=(e+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(a=o.slideOffset=0),!0===o.options.centerMode&&o.slideCount<=o.options.slidesToShow?o.slideOffset=o.slideWidth*Math.floor(o.options.slidesToShow)/2-o.slideWidth*o.slideCount/2:!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),t=!1===o.options.vertical?e*o.slideWidth*-1+o.slideOffset:e*n*-1+a,!0===o.options.variableWidth&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===o.options.centerMode&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow+1),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(o.$list.width()-i.outerWidth())/2)),t},a.prototype.getOption=a.prototype.slickGetOption=function(e){return this.options[e]},a.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,r=[];for(e=!1===t.options.infinite?t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);n<e;)r.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},a.prototype.getSlick=function(){return this},a.prototype.getSlideCount=function(){var n,i,r=this;return i=!0===r.options.centerMode?r.slideWidth*Math.floor(r.options.slidesToShow/2):0,!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each(function(e,t){if(t.offsetLeft-i+u(t).outerWidth()/2>-1*r.swipeLeft)return n=t,!1}),Math.abs(u(n).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},a.prototype.goTo=a.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
1parseInt(e)}},t)},a.prototype.init=function(e){var t=this;u(t.$slider).hasClass("slick-initialized")||(u(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},a.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),r=i.getNavigableIndexes().filter(function(e){return 0<=e&&e<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(e){var t=r.indexOf(e);if(u(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+e,tabindex:-1}),-1!==t){var n="slick-slide-control"+i.instanceUid+t;u("#"+n).length&&u(this).attr({"aria-describedby":n})}}),i.$dots.attr("role","tablist").find("li").each(function(e){var t=r[e];u(this).attr({role:"presentation"}),u(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+e,"aria-controls":"slick-slide"+i.instanceUid+t,"aria-label":e+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var e=i.currentSlide,t=e+i.options.slidesToShow;e<t;e++)i.options.focusOnChange?i.$slides.eq(e).attr({tabindex:"0"}):i.$slides.eq(e).removeAttr("tabindex");i.activateADA()},a.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},a.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(u("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&u("li",e.$dots).on("mouseenter.slick",u.proxy(e.interrupt,e,!0)).on("mouseleave.slick",u.proxy(e.interrupt,e,!1))},a.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",u.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",u.proxy(e.interrupt,e,!1)))},a.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
1,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),u(document).on(e.visibilityChange,u.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&u(e.$slideTrack).children().on("click.slick",e.selectHandler),u(window).on("orientationchange.slick.slick-"+e.instanceUid,u.proxy(e.orientationChange,e)),u(window).on("resize.slick.slick-"+e.instanceUid,u.proxy(e.resize,e)),u("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),u(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),u(e.setPosition)},a.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},a.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},a.prototype.lazyLoad=function(){var e,t,n,o=this;function i(e){u("img[data-lazy]",e).each(function(){var e=u(this),t=u(this).attr("data-lazy"),n=u(this).attr("data-srcset"),i=u(this).attr("data-sizes")||o.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
vendor: 7,038 bytes, line 1
1,100,function(){n&&(e.attr("srcset",n),i&&e.attr("sizes",i)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),o.$slider.trigger("lazyLoaded",[o,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,e,t])},r.src=t})}if(!0===o.options.centerMode?n=!0===o.options.infinite?(t=o.currentSlide+(o.options.slidesToShow/2+1))+o.options.slidesToShow+2:(t=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),o.options.slidesToShow/2+1+2+o.currentSlide):(t=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,n=Math.ceil(t+o.options.slidesToShow),!0===o.options.fade&&(0<t&&t--,n<=o.slideCount&&n++)),e=o.$slider.find(".slick-slide").slice(t,n),"anticipated"===o.options.lazyLoad)for(var r=t-1,a=n,s=o.$slider.find(".slick-slide"),l=0;l<o.options.slidesToScroll;l++)r<0&&(r=o.slideCount-1),e=(e=e.add(s.eq(r))).add(s.eq(a)),r--,a++;i(e),o.slideCount<=o.options.slidesToShow?i(o.$slider.find(".slick-slide")):o.currentSlide>=o.slideCount-o.options.slidesToShow?i(o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow)):0===o.currentSlide&&i(o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow))},a.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},a.prototype.next=a.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},a.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},a.prototype.pause=a.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},a.prototype.play=a.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},a.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&u(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},a.prototype.prev=a.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},a.prototype.preventDefault=function(e){e.preventDefault()},a.prototype.progressiveLazyLoad=function(e){e=e||1;var t,n,i,r,o,a=this,s=u("img[data-lazy]",a.$slider);s.length?(t=s.first(),n=t.attr("data-lazy"),i=t.attr("data-srcset"),r=t.attr("data-sizes")||a.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){i&&(t.attr("srcset",i),r&&t.attr("sizes",r)),t.attr("src",n).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,t,n]),a.progressiveLazyLoad()},o.onerror=function(){e<3?setTimeout(function(){a.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,t,n]),a.progressiveLazyLoad())},o.src=n):a.$slider.trigger("allImagesLoaded",[a])},a.prototype.refresh=function(e){var t,n,i=this;n=i.slideCount-i.options.slidesToShow,!i.options.infinite&&i.currentSlide>n&&(i.currentSlide=n),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),t=i.currentSlide,i.destroy(!0),u.extend(i,i.initials,{currentSlide:t}),i.init(),e||i.changeSlide({data:{message:"index",index:t}},!1)},a.prototype.registerBreakpoints=function(){var e,t,n,i=this,r=i.options.responsive||null;if("array"===u.type(r)&&r.length){for(e in i.respondTo=i.options.respondTo||"window",r)if(n=i.breakpoints.length-1,r.hasOwnProperty(e)){for(t=r[e].breakpoint;0<=n;)i.breakpoints[n]&&i.breakpoints[n]===t&&i.breakpoints.splice(n,1),n--;i.breakpoints.push(t),i.breakpointSettings[t]=r[e].settings}i.breakpoints.sort(function(e,t){return i.options.mobileFirst?e-t:t-e})}},a.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&u(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},a.prototype.resize=function(){var e=this;u(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=u(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},a.prototype.removeSlide=a.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},a.prototype.setCSS=function(e){var t,n,i=this,r={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",r[i.positionProp]=e,!1===i.transformsEnabled||(!(r={})===i.cssTransitions?r[i.animType]="translate("+t+", "+n+")":r[i.animType]="translate3d("+t+", "+n+", 0px)"),i.$slideTrack.css(r)},a.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},a.prototype.setFade=function(){var n,i=this;i.$slides.each(function(e,t){n=i.slideWidth*e*-1,!0===i.options.rtl?u(t).css({position:"relative",right:n,top:0,zIndex:i.options.zIndex-2,opacity:0}
1):u(t).css({position:"relative",left:n,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},a.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},a.prototype.setOption=a.prototype.slickSetOption=function(){var e,t,n,i,r,o=this,a=!1;if("object"===u.type(arguments[0])?(n=arguments[0],a=arguments[1],r="multiple"):"string"===u.type(arguments[0])&&(n=arguments[0],i=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===u.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)o.options[n]=i;else if("multiple"===r)u.each(n,function(e,t){o.options[e]=t});else if("responsive"===r)for(t in i)if("array"!==u.type(o.options.responsive))o.options.responsive=[i[t]];else{for(e=o.options.responsive.length-1;0<=e;)o.options.responsive[e].breakpoint===i[t].breakpoint&&o.options.responsive.splice(e,1),e--;o.options.responsive.push(i[t])}a&&(o.unload(),o.reinit())},a.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},a.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},a.prototype.setSlideClasses=function(e){var t,n,i,r,o=this;if(n=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(e).addClass("slick-current"),!0===o.options.centerMode){var a=o.options.slidesToShow%2==0?1:0;t=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(t<=e&&e<=o.slideCount-1-t?o.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=o.options.slidesToShow+e,n.slice(i-t+1+a,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")}else 0<=e&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=o.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(r=o.slideCount%o.options.slidesToShow,i=!0===o.options.infinite?o.options.slidesToShow+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<o.options.slidesToShow?n.slice(i-(o.options.slidesToShow-r),i+r).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},a.prototype.setupInfinite=function(){var e,t,n,i=this;if(!0===i.options.fade&&(i.options.centerMode=!1),!0===i.options.infinite&&!1===i.options.fade&&(t=null,i.slideCount>i.options.slidesToShow)){for(n=!0===i.options.centerMode?i.options.slidesToShow+1:i.options.slidesToShow,e=i.slideCount;e>i.slideCount-n;e-=1)t=e-1,u(i.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-i.slideCount).prependTo(i.$slideTrack).addClass("slick-cloned");for(e=0;e<n+i.slideCount;e+=1)t=e,u(i.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+i.slideCount).appendTo(i.$slideTrack).addClass("slick-cloned");i.$slideTrack.find(".slick-cloned").find("[id]").each(function(){u(this).attr("id","")})}},a.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},a.prototype.selectHandler=function(e){var t=u(e.target).is(".slick-slide")?u(e.target):u(e.target).parents(".slick-slide"),n=parseInt(t.attr("data-slick-index"));
vendor: 6,142 bytes, line 1
1n||(n=0),this.slideCount<=this.options.slidesToShow?this.slideHandler(n,!1,!0):this.slideHandler(n)},a.prototype.slideHandler=function(e,t,n){var i,r,o,a,s,l,u=this;if(t=t||!1,!(!0===u.animating&&!0===u.options.waitForAnimate||!0===u.options.fade&&u.currentSlide===e))if(!1===t&&u.asNavFor(e),i=e,s=u.getLeft(i),a=u.getLeft(u.currentSlide),u.currentLeft=null===u.swipeLeft?a:u.swipeLeft,!1===u.options.infinite&&!1===u.options.centerMode&&(e<0||e>u.getDotCount()*u.options.slidesToScroll))!1===u.options.fade&&(i=u.currentSlide,!0!==n&&u.slideCount>u.options.slidesToShow?u.animateSlide(a,function(){u.postSlide(i)}):u.postSlide(i));else if(!1===u.options.infinite&&!0===u.options.centerMode&&(e<0||e>u.slideCount-u.options.slidesToScroll))!1===u.options.fade&&(i=u.currentSlide,!0!==n&&u.slideCount>u.options.slidesToShow?u.animateSlide(a,function(){u.postSlide(i)}):u.postSlide(i));else{if(u.options.autoplay&&clearInterval(u.autoPlayTimer),r=i<0?u.slideCount%u.options.slidesToScroll!=0?u.slideCount-u.slideCount%u.options.slidesToScroll:u.slideCount+i:i>=u.slideCount?u.slideCount%u.options.slidesToScroll!=0?0:i-u.slideCount:i,u.animating=!0,u.$slider.trigger("beforeChange",[u,u.currentSlide,r]),o=u.currentSlide,u.currentSlide=r,u.setSlideClasses(u.currentSlide),u.options.asNavFor&&(l=(l=u.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(u.currentSlide),u.updateDots(),u.updateArrows(),!0===u.options.fade)return!0!==n?(u.fadeSlideOut(o),u.fadeSlide(r,function(){u.postSlide(r)})):u.postSlide(r),void u.animateHeight();!0!==n&&u.slideCount>u.options.slidesToShow?u.animateSlide(s,function(){u.postSlide(r)}):u.postSlide(r)}},a.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},a.prototype.swipeDirection=function(){var e,t,n,i,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(t,e),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&0<=i?!1===r.options.rtl?"left":"right":i<=360&&315<=i?!1===r.options.rtl?"left":"right":135<=i&&i<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?35<=i&&i<=135?"down":"up":"vertical"},a.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1;if(i.interrupted=!1,i.shouldClick=!(10<i.touchObject.swipeLength),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},a.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},a.prototype.swipeMove=function(e){var t,n,i,r,o,a,s=this;return o=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!s.dragging||s.scrolling||o&&1!==o.length)&&(t=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,s.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2))),!s.options.verticalSwiping&&!s.swiping&&4<a?!(s.scrolling=!0):(!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=a),n=s.swipeDirection(),void 0!==e.originalEvent&&4<s.touchObject.swipeLength&&(s.swiping=!0,e.preventDefault()),r=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(r=s.touchObject.curY>s.touchObject.startY?1:-1),i=s.touchObject.swipeLength,(s.touchObject.edgeHit=!1)===s.options.infinite&&(0===s.currentSlide&&"right"===n||s.currentSlide>=s.getDotCount()&&"left"===n)&&(i=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=t+i*r:s.swipeLeft=t+i*(s.$list.height()/s.listWidth)*r,!0===s.options.verticalSwiping&&(s.swipeLeft=t+i*r),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))))},a.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return!(n.touchObject={});void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},a.prototype.unfilterSlides=a.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},a.prototype.unload=function(){var e=this;u(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,a.prototype.unslick=function(e){this.$slider.trigger("unslick",[this,e]),this.destroy()},a.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},a.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},a.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},u.fn.slick=function(){var e,t,n=this,i=arguments[0],r=Array.prototype.slice.call(arguments,1),o=n.length;for(e=0;e<o;e++)if("object"==typeof i||void 0===i?n[e].slick=new a(n[e],i):t=n[e].slick[i].apply(n[e].slick,r),void 0!==t)return t;return n}}),function(e,t){"use strict";"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.Headroom=t()}(this,function(){"use strict";var e={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};function t(e){this.callback=e,this.ticking=!1}function i(e,t){var n;t=function e(t){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var n,i,r,o=t||{};for(i=1;i<arguments.length;i++){var a=arguments[i]||{};for(n in a)"object"!=typeof o[n]||(r=o[n])&&"undefined"!=typeof window&&(r===window||r.nodeType)?o[n]=o[n]||a[n]:o[n]=e(o[n],a[n])}return o}(t,i.options),this.lastKnownScrollY=0,this.elem=e,this.tolerance=(n=t.tolerance)===Object(n)?n:{down:n,up:n},this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop,this.onBottom=t.onBottom,this.onNotBottom=t.onNotBottom}return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},i.prototype={constructor:i,init:function(){if(i.cutsTheMustard)return this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var e=this.classes;for(var t in this.initialised=!1,e)e.hasOwnProperty(t)&&this.elem.classList.remove(e[t]);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.bottom)||(e.add(t.bottom),e.remove(t.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notBottom)||(e.add(t.notBottom),e.remove(t.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
1,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(e){return Math.max(e.offsetHeight,e.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=e<0,n=e+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,i=e>=this.offset;return n&&i&&t},shouldPin:function(e,t){var n=e<this.lastKnownScrollY,i=e<=this.offset;return n&&t||i},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},i.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},i.cutsTheMustard=void 0!==e&&e.rAF&&e.bind&&e.classList,i}),function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function r(t,n,e){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(e,i),t.apply(n,e)}}return function(){return t.apply(n,arguments)}}function h(e,t,n){return(h=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:r).apply(null,arguments)}var s=Date.now||function(){return+new Date};function t(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var l=!!window.FontFace;function u(e,t,n,i){if(t=e.c.createElement(t),n)for(var r in n)n.hasOwnProperty(r)&&("style"==r?t.style.cssText=n[r]:t.setAttribute(r,n[r]));return i&&t.appendChild(e.c.createTextNode(i)),t}function c(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function n(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t,n){t=t||[],n=n||[];for(var i=e.className.split(/\s+/),r=0;r<t.length;r+=1){for(var o=!1,a=0;a<i.length;a+=1)if(t[r]===i[a]){o=!0;break}o||i.push(t[r])}for(t=[],r=0;r<i.length;r+=1){for(o=!1,a=0;a<n.length;a+=1)if(i[r]===n[a]){o=!0;break}o||t.push(i[r])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function o(e,t){for(var n=e.className.split(/\s+/),i=0,r=n.length;i<r;i++)if(n[i]==t)return!0;return!1}function d(e,t,n){function i(){a&&r&&(a(o),a=null)}t=u(e,"link",{rel:"stylesheet",href:t,media:"all"});var r=!1,o=null,a=n||null;l?(t.onload=function(){r=!0,i()},t.onerror=function(){r=!0,o=Error("Stylesheet failed to load"),i()}):setTimeout(function(){r=!0,i()},0),c(e,"head",t)}function f(e,t,n,i){var r=e.c.getElementsByTagName("head")[0];if(r){var o=u(e,"script",{src:t}),a=!1;return o.onload=o.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&r.removeChild(o))},r.appendChild(o),setTimeout(function(){a||(a=!0,n&&n(Error("Script load timeout")))},i||5e3),o}return null}function p(){this.a=0,this.c=null}function g(e){return e.a++,function(){e.a--,a(e)}}function v(e,t){e.c=t,a(e)}function a(e){0==e.a&&e.c&&(e.c(),e.c=null)}function y(e){this.a=e||"-"}function b(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function w(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var i=e[n].replace(/['"]/g,"");-1!=i.indexOf(" ")||/^\d/.test(i)?t.push("'"+i+"'"):t.push(i)}return t.join(",")}function k(e){return e.a+e.f}function S(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function T(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new y("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function x(e){if(e.g){var t=o(e.f,e.a.c("wf","active")),n=[],i=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),m(e.f,n,i)}C(e,"inactive")}
vendor: 7,476 bytes, line 1
1function C(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,k(n)):e.h[t]())}function _(){this.c={}}function E(e,t){this.c=e,this.f=t,this.a=u(this.c,"span",{"aria-hidden":"true"},this.f)}function A(e){c(e.c,"body",e.a)}function I(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+w(e.c)+";font-style:"+S(e)+";font-weight:"+e.f+"00;"}function P(e,t,n,i,r,o){this.g=e,this.j=t,this.a=i,this.c=n,this.f=r||3e3,this.h=o||void 0}function O(e,t,n,i,r,o,a){this.v=e,this.B=t,this.c=n,this.a=i,this.s=a||"BESbswy",this.f={},this.w=r||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new E(this.c,this.s),this.h=new E(this.c,this.s),this.j=new E(this.c,this.s),this.m=new E(this.c,this.s),e=I(e=new b(this.a.c+",serif",k(this.a))),this.g.a.style.cssText=e,e=I(e=new b(this.a.c+",sans-serif",k(this.a))),this.h.a.style.cssText=e,e=I(e=new b("serif",k(this.a))),this.j.a.style.cssText=e,e=I(e=new b("sans-serif",k(this.a))),this.m.a.style.cssText=e,A(this.g),A(this.h),A(this.j),A(this.m)}y.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},P.prototype.start=function(){var r=this.c.o.document,o=this,a=s(),e=new Promise(function(n,i){!function t(){var e;s()-a>=o.f?i():r.fonts.load((e=o.a,S(e)+" "+e.f+"00 300px "+w(e.c)),o.h).then(function(e){1<=e.length?n():setTimeout(t,25)},function(){i()})}()}),n=null,t=new Promise(function(e,t){n=setTimeout(t,o.f)});Promise.race([t,e]).then(function(){n&&(clearTimeout(n),n=null),o.g(o.a)},function(){o.j(o.a)})};var L={D:"serif",C:"sans-serif"},M=null;function j(){if(null===M){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);M=!!e&&(parseInt(e[1],10)<536||536===parseInt(e[1],10)&&parseInt(e[2],10)<=11)}return M}function N(e,t,n){for(var i in L)if(L.hasOwnProperty(i)&&t===e.f[L[i]]&&n===e.f[L[i]])return!0;return!1}function R(e){var t,n=e.g.a.offsetWidth,i=e.h.a.offsetWidth;(t=n===e.f.serif&&i===e.f["sans-serif"])||(t=j()&&N(e,n,i)),t?s()-e.A>=e.w?j()&&N(e,n,i)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?D(e,e.v):D(e,e.B):setTimeout(h(function(){R(this)},e),50):D(e,e.v)}function D(e,t){setTimeout(h(function(){n(this.g.a),n(this.h.a),n(this.j.a),n(this.m.a),t(this.a)},e),0)}function z(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}O.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),R(this)};var F=null;function $(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&m(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),C(e,"active")):x(e.a))}function e(e){this.j=e,this.a=new _,this.h=0,this.f=this.g=!0}function H(e,t){this.c=e,this.a=t}function q(e,t){this.c=e,this.a=t}function B(e,t){this.c=e||"https://fonts.googleapis.com/css",this.a=[],this.f=[],this.g=t||""}z.prototype.g=function(e){var t=this.a;t.g&&m(t.f,[t.a.c("wf",e.c,k(e).toString(),"active")],[t.a.c("wf",e.c,k(e).toString(),"loading"),t.a.c("wf",e.c,k(e).toString(),"inactive")]),C(t,"fontactive",e),this.m=!0,$(this)},z.prototype.h=function(e){var t=this.a;if(t.g){var n=o(t.f,t.a.c("wf",e.c,k(e).toString(),"active")),i=[],r=[t.a.c("wf",e.c,k(e).toString(),"loading")];n||i.push(t.a.c("wf",e.c,k(e).toString(),"inactive")),m(t.f,i,r)}C(t,"fontinactive",e),$(this)},e.prototype.load=function(e){this.c=new t(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(r,e,t){var n=[],i=t.timeout;o=e,o.g&&m(o.f,[o.a.c("wf","loading")]),C(o,"loading");var o;var n=function(e,t,n){var i,r=[];for(i in t)if(t.hasOwnProperty(i)){var o=e.c[i];o&&r.push(o(t[i],n))}return r}(r.a,t,r.c),a=new z(r.c,e,i);for(r.h=n.length,e=0,t=n.length;e<t;e++)n[e].load(function(e,t,n){var i,u,c,d,f,p;u=a,c=e,d=t,f=n,p=0==--(i=r).h,(i.f||i.g)&&setTimeout(function(){var e=f||null,t=d||{};if(0===c.length&&p)x(u.a);else{u.f+=c.length,p&&(u.j=p);var n,i=[];for(n=0;n<c.length;n++){var r=c[n],o=t[r.c],a=u.a,s=r;if(a.g&&m(a.f,[a.a.c("wf",s.c,k(s).toString(),"loading")]),C(a,"fontloading",s),(a=null)===F)if(window.FontFace){var s=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),l=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);F=s?42<parseInt(s[1],10):!l}else F=!1;a=F?new P(h(u.g,u),h(u.h,u),u.c,r,u.s,o):new O(h(u.g,u),h(u.h,u),u.c,r,u.s,e,o),i.push(a)}for(n=0;n<i.length;n++)i[n].start()}},0)})}(this,new T(this.c,e),e)},H.prototype.load=function(a){var t=this,s=t.a.projectId,e=t.a.version;if(s){var l=t.c.o;f(this.c,(t.a.api||"https://fast.fonts.net/jsapi")+"/"+s+".js"+(e?"?v="+e:""),function(e){e?a([]):(l["__MonotypeConfiguration__"+s]=function(){return t.a},function e(){if(l["__mti_fntLst"+s]){var t,n=l["__mti_fntLst"+s](),i=[];if(n)for(var r=0;r<n.length;r++){var o=n[r].fontfamily;null!=n[r].fontStyle&&null!=n[r].fontWeight?(t=n[r].fontStyle+n[r].fontWeight,i.push(new b(o,t))):i.push(new b(o))}a(i)}else setTimeout(function(){e()},50)}())}).id="__MonotypeAPIScript__"+s}else a([])},q.prototype.load=function(e){var t,n,i=this.a.urls||[],r=this.a.families||[],o=this.a.testStrings||{},a=new p;for(t=0,n=i.length;t<n;t++)d(this.c,i[t],g(a));var s=[];for(t=0,n=r.length;t<n;t++)if((i=r[t].split(":"))[1])for(var l=i[1].split(","),u=0;u<l.length;u+=1)s.push(new b(i[0],l[u]));else s.push(new b(i[0]));v(a,function(){e(s,o)})};function U(e){this.f=e,this.a=[],this.c={}}var W={latin:"BESbswy","latin-ext":"çöüÄÅ",cyrillic:"йÑÐ",greek:"αβΣ",khmer:"ááá",Hanuman:"ááá"},V={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},K={i:"i",italic:"i",n:"n",normal:"n"},Y=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function Z(e,t){this.c=e,this.a=t}var G={Arimo:!0,Cousine:!0,Tinos:!0};function X(e,t){this.c=e,this.a=t}function Q(e,t){this.c=e,this.f=t,this.a=[]}Z.prototype.load=function(e){var t=new p,n=this.c,i=new B(this.a.api,this.a.text),r=this.a.families;!function(e,t){for(var n=t.length,i=0;i<n;i++){var r=t[i].split(":");3==r.length&&e.f.push(r.pop());var o="";2==r.length&&""!=r[1]&&(o=":"),e.a.push(r.join(o))}}(i,r);var o=new U(r);!function(e){for(var t=e.f.length,n=0;n<t;n++){var i=e.f[n].split(":"),r=i[0].replace(/\+/g," "),o=["n4"];if(2<=i.length){var a;if(a=[],s=i[1])for(var s,l=(s=s.split(",")).length,u=0;u<l;u++){var c;if((c=s[u]).match(/^[\w-]+$/))if(null==(f=Y.exec(c.toLowerCase())))c="";else{if(c=null==(c=f[2])||""==c?"n":K[c],null==(f=f[1])||""==f)f="4";else var d=V[f],f=d||(isNaN(f)?"4":f.substr(0,1));c=[c,f].join("")}else c="";c&&a.push(c)}0<a.length&&(o=a),3==i.length&&(a=[],0<(i=(i=i[2])?i.split(","):a).length&&(i=W[i[0]])&&(e.c[r]=i))}for(e.c[r]||(i=W[r])&&(e.c[r]=i),i=0;i<o.length;i+=1)e.a.push(new b(r,o[i]))}}(o),d(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],i=0;i<t;i++)n.push(e.a[i].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(i),g(t)),v(t,function(){e(o.a,o.c,G)}
1)},X.prototype.load=function(a){var e=this.a.id,s=this.c.o;e?f(this.c,(this.a.api||"https://use.typekit.net")+"/"+e+".js",function(e){if(e)a([]);else if(s.Typekit&&s.Typekit.config&&s.Typekit.config.fn){e=s.Typekit.config.fn;for(var t=[],n=0;n<e.length;n+=2)for(var i=e[n],r=e[n+1],o=0;o<r.length;o++)t.push(new b(i,r[o]));try{s.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}a(t)}},2e3):a([])},Q.prototype.load=function(u){var e,t=this.f.id,n=this.c.o,c=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(e,t){for(var n=0,i=t.fonts.length;n<i;++n){var r=t.fonts[n];c.a.push(new b(r.name,(o="font-weight:"+r.weight+";font-style:"+r.style,l=s=a=void 0,a=4,s="n",l=null,o&&((l=o.match(/(normal|oblique|italic)/i))&&l[1]&&(s=l[1].substr(0,1).toLowerCase()),(l=o.match(/([1-9]00|normal|bold)/i))&&l[1]&&(/bold/i.test(l[1])?a=7:/[1-9]00/.test(l[1])&&(a=parseInt(l[1].substr(0,1),10)))),s+a)))}var o,a,s,l;u(c.a)},f(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+((e=this.c).o.location.hostname||e.a.location.hostname)+"/"+t+".js",function(e){e&&u([])})):u([])};var J=new e(window);J.a.c.custom=function(e,t){return new q(t,e)},J.a.c.fontdeck=function(e,t){return new Q(t,e)},J.a.c.monotype=function(e,t){return new H(t,e)},J.a.c.typekit=function(e,t){return new X(t,e)},J.a.c.google=function(e,t){return new Z(t,e)};var ee={load:h(J.load,J)};"function"==typeof define&&define.amd?define(function(){return ee}):"undefined"!=typeof module&&module.exports?module.exports=ee:(window.WebFont=ee,window.WebFontConfig&&J.load(window.WebFontConfig))}(),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipe=t()}(this,function(){"use strict";return function(p,i,e,t){var h={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[r](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){h.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){h.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(h.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(h.features)return h.features;var e=h.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&0<r.length&&1<=(r=parseInt(r[1],10))&&r<8&&(n.isOldIOSPhone=!0)}var o=i.match(/Android\s([0-9\.]*)/),a=o?o[1]:0;1<=(a=parseFloat(a))&&(a<4.4&&(n.isOldAndroid=!0),n.androidVersion=a),n.isMobileOpera=/opera mini|o
1pera mobi/i.test(i)}for(var s,l,u=["transform","perspective","animationName"],c=["","webkit","Moz","ms","O"],d=0;d<4;d++){t=c[d];for(var f=0;f<3;f++)s=u[f],l=t+(t?s.charAt(0).toUpperCase()+s.slice(1):s),!n[s]&&l in e&&(n[s]=l);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var p=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-p)),i=window.setTimeout(function(){e(t+n)},n);return p=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,h.features=n}};h.detectFeatures(),h.features.oldIE&&(h.bind=function(e,t,n,i){t=t.split(" ");for(var r,o=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=a;e[o]("on"+r,n["oldIE"+r])}else e[o]("on"+r,n)});var m=this,g={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e?1:t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};h.extend(g,t);var l,r,o,v,a,s,u,c,d,y,f,b,w,k,S,T,x,C,_,E,A,I,P,O,L,M,j,N,R,D,z,F,$,H,q,B,U,W,V,K,Y,Z,n,G,X,Q,J,ee,te,ne,ie,re,oe,ae,se,le,ue={x:0,y:0},ce={x:0,y:0},de={x:0,y:0},fe={},pe=0,he={},me={x:0,y:0},ge=0,ve=!0,ye=[],be={},we=!1,ke=function(e,t){h.extend(m,t.publicMethods),ye.push(e)},Se=function(e){var t=Ht();return t-1<e?e-t:e<0?t+e:e},Te={},xe=function(e,t){return Te[e]||(Te[e]=[]),Te[e].push(t)},Ce=function(e){var t=Te[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(m,n)}},_e=function(){return(new Date).getTime()},Ee=function(e){ae=e,m.bg.style.opacity=e*g.bgOpacity},Ae=function(e,t,n,i,r){(!we||r&&r!==m.currItem)&&(i/=r?r.fitRatio:m.currItem.fitRatio),e[I]=b+t+"px, "+n+"px"+w+" scale("+i+")"},Ie=function(e){te&&(e&&(y>m.currItem.fitRatio?we||(Gt(m.currItem,!1,!0),we=!0):we&&(Gt(m.currItem),we=!1)),Ae(te,de.x,de.y,y))},Pe=function(e){e.container&&Ae(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Oe=function(e,t){t[I]=b+e+"px, 0px"+w},Le=function(e,t){if(!g.loop&&t){var n=v+(me.x*pe-e)/me.x,i=Math.round(e-ct.x);(n<0&&0<i||n>=Ht()-1&&i<0)&&(e=ct.x+i*g.mainScrollEndFriction)}ct.x=e,Oe(e,a)},Me=function(e,t){var n=dt[e]-he[e];return ce[e]+ue[e]+n-n*(t/f)},je=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Ne=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Re=null,De=function(){Re&&(h.unbind(document,"mousemove",De),h.addClass(p,"pswp--has_mouse"),g.mouseUsed=!0,Ce("mouseUsed")),Re=setTimeout(function(){Re=null},100)},ze=function(e,t){var n=Vt(m.currItem,fe,e);return t&&(ee=n),n},Fe=function(e){return e||(e=m.currItem),e.initialZoomLevel},$e=function(e){return e||(e=m.currItem),0<e.w?g.maxSpreadZoom:1},He=function(e,t,n,i){return i===m.currItem.initialZoomLevel?(n[e]=m.currItem.initialPosition[e],!0):(n[e]=Me(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},qe=function(e){var t="";g.escKey&&27===e.keyCode?t="close":g.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,m[t]()))},Be=function(e){e&&(Z||Y||ne||U)&&(e.preventDefault(),e.stopPropagation())},Ue=function(){m.setScrollOffset(0,h.getScrollY())},We={},Ve=0,Ke=function(e){We[e]&&(We[e].raf&&M(We[e].raf),Ve--,delete We[e])},Ye=function(e){We[e]&&Ke(e),We[e]||(Ve++,We[e]={})},Ze=function(){for(var e in We)We.hasOwnProperty(e)&&Ke(e)},Ge=function(e,t,n,i,r,o,a){var s,l=_e();Ye(e);var u=function(){if(We[e]){if(s=_e()-l,i<=s)return Ke(e),o(n),void(a&&a());o((n-t)*r(s/i)+t),We[e].raf=L(u)}};u()},Xe={shout:Ce,listen:xe,viewportSize:fe,options:g,isMainScrollAnimating:function(){return ne},getZoomLevel:function(){return y},getCurrentIndex:function(){return v},isDragging:function(){return V},isZooming:function(){return Q},setScrollOffset:function(e,t){he.x=e,D=he.y=t,Ce("updateScrollOffset",he)},applyZoomPan:function(e,t,n,i){de.x=t,de.y=n,y=e,Ie(i)},init:function(){if(!l&&!r){var e;m.framework=h,m.template=p,m.bg=h.getChildByClass(p,"pswp__bg"),j=p.className,l=!0,z=h.detectFeatures(),L=z.raf,M=z.caf,I=z.transform,R=z.oldIE,m.scrollWrap=h.getChildByClass(p,"pswp__scroll-wrap"),m.container=h.getChildByClass(m.scrollWrap,"pswp__container"),a=m.container.style,m.itemHolders=T=[{el:m.container.children[0],wrap:0,index:-1},{el:m.container.children[1],wrap:0,index:-1},{el:m.container.children[2],wrap:0,index:-1}],T[0].el.style.display=T[2].el.style.display="none",function(){if(I){var e=z.perspective&&!O;return b="translate"+(e?"3d(":"("),w=z.perspective?", 0px)":")"}I="left",h.addClass(p,"pswp--ie"),Oe=function(e,t){t.left=e+"px"},Pe=function(e){var t=1<e.fitRatio?1:e.fitRatio,n=e.container.style,i=t*e.w,r=t*e.h;n.width=i+"px",n.height=r+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"}
1,Ie=function(){if(te){var e=te,t=m.currItem,n=1<t.fitRatio?1:t.fitRatio,i=n*t.w,r=n*t.h;e.width=i+"px",e.height=r+"px",e.left=de.x+"px",e.top=de.y+"px"}}}(),d={resize:m.updateSize,orientationchange:function(){clearTimeout(F),F=setTimeout(function(){fe.x!==m.scrollWrap.clientWidth&&m.updateSize()},500)},scroll:Ue,keydown:qe,click:Be};var t=z.isOldIOSPhone||z.isOldAndroid||z.isMobileOpera;for(z.animationName&&z.transform&&!t||(g.showAnimationDuration=g.hideAnimationDuration=0),e=0;e<ye.length;e++)m["init"+ye[e]]();i&&(m.ui=new i(m,h)).init(),Ce("firstUpdate"),v=v||g.index||0,(isNaN(v)||v<0||v>=Ht())&&(v=0),m.currItem=$t(v),(z.isOldIOSPhone||z.isOldAndroid)&&(ve=!1),p.setAttribute("aria-hidden","false"),g.modal&&(ve?p.style.position="fixed":(p.style.position="absolute",p.style.top=h.getScrollY()+"px")),void 0===D&&(Ce("initialLayout"),D=N=h.getScrollY());var n="pswp--open ";for(g.mainClass&&(n+=g.mainClass+" "),g.showHideOpacity&&(n+="pswp--animate_opacity "),n+=O?"pswp--touch":"pswp--notouch",n+=z.animationName?" pswp--css_animation":"",n+=z.svg?" pswp--svg":"",h.addClass(p,n),m.updateSize(),s=-1,ge=null,e=0;e<3;e++)Oe((e+s)*me.x,T[e].el.style);R||h.bind(m.scrollWrap,c,m),xe("initialZoomInEnd",function(){m.setContent(T[0],v-1),m.setContent(T[2],v+1),T[0].el.style.display=T[2].el.style.display="block",g.focus&&p.focus(),h.bind(document,"keydown",m),z.transform&&h.bind(m.scrollWrap,"click",m),g.mouseUsed||h.bind(document,"mousemove",De),h.bind(window,"resize scroll orientationchange",m),Ce("bindEvents")}),m.setContent(T[1],v),m.updateCurrItem(),Ce("afterInit"),ve||(k=setInterval(function(){Ve||V||Q||y!==m.currItem.initialZoomLevel||m.updateSize()},1e3)),h.addClass(p,"pswp--visible")}},close:function(){l&&(r=!(l=!1),Ce("close"),h.unbind(window,"resize scroll orientationchange",m),h.unbind(window,"scroll",d.scroll),h.unbind(document,"keydown",m),h.unbind(document,"mousemove",De),z.transform&&h.unbind(m.scrollWrap,"click",m),V&&h.unbind(window,u,m),clearTimeout(F),Ce("unbindEvents"),qt(m.currItem,null,!0,m.destroy))},destroy:function(){Ce("destroy"),Rt&&clearTimeout(Rt),p.setAttribute("aria-hidden","true"),p.className=j,k&&clearInterval(k),h.unbind(m.scrollWrap,c,m),h.unbind(window,"scroll",m),ht(),Ze(),Te=null},panTo:function(e,t,n){n||(e>ee.min.x?e=ee.min.x:e<ee.max.x&&(e=ee.max.x),t>ee.min.y?t=ee.min.y:t<ee.max.y&&(t=ee.max.y)),de.x=e,de.y=t,Ie()},handleEvent:function(e){e=e||window.event,d[e.type]&&d[e.type](e)},goTo:function(e){var t=(e=Se(e))-v;ge=t,v=e,m.currItem=$t(v),pe-=t,Le(me.x*pe),Ze(),ne=!1,m.updateCurrItem()},next:function(){m.goTo(v+1)},prev:function(){m.goTo(v-1)},updateCurrZoomItem:function(e){if(e&&Ce("beforeChange",0),T[1].el.children.length){var t=T[1].el.children[0];te=h.hasClass(t,"pswp__zoom-wrap")?t.style:null}else te=null;ee=m.currItem.bounds,f=y=m.currItem.initialZoomLevel,de.x=ee.center.x,de.y=ee.center.y,e&&Ce("afterChange")},invalidateCurrItems:function(){S=!0;for(var e=0;e<3;e++)T[e].item&&(T[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ge){var t,n=Math.abs(ge);if(!(e&&n<2)){m.currItem=$t(v),we=!1,Ce("beforeChange",ge),3<=n&&(s+=ge+(0<ge?-3:3),n=3);for(var i=0;i<n;i++)0<ge?(t=T.shift(),T[2]=t,Oe((++s+2)*me.x,t.el.style),m.setContent(t,v-n+i+1+1)):(t=T.pop(),T.unshift(t),Oe(--s*me.x,t.el.style),m.setContent(t,v+n-i-1-1));if(te&&1===Math.abs(ge)){var r=$t(x);r.initialZoomLevel!==y&&(Vt(r,fe),Gt(r),Pe(r))}ge=0,m.updateCurrZoomItem(),x=v,Ce("afterChange")}}},updateSize:function(e){if(!ve&&g.modal){var t=h.getScrollY();if(D!==t&&(p.style.top=t+"px",D=t),!e&&be.x===window.innerWidth&&be.y===window.innerHeight)return;be.x=window.innerWidth,be.y=window.innerHeight,p.style.height=be.y+"px"}if(fe.x=m.scrollWrap.clientWidth,fe.y=m.scrollWrap.clientHeight,Ue(),me.x=fe.x+Math.round(fe.x*g.spacing),me.y=fe.y,Le(me.x*pe),Ce("beforeResize"),void 0!==s){for(var n,i,r,o=0;o<3;o++)n=T[o],Oe((o+s)*me.x,n.el.style),r=v+o-1,g.loop&&2<Ht()&&(r=Se(r)),(i=$t(r))&&(S||i.needsUpdate||!i.bounds)?(m.cleanSlide(i),m.setContent(n,r),1===o&&(m.currItem=i,m.updateCurrZoomItem(!0)),i.needsUpdate=!1):-1===n.index&&0<=r&&m.setContent(n,r),i&&i.container&&(Vt(i,fe),Gt(i),Pe(i));S=!1}f=y=m.currItem.initialZoomLevel,(ee=m.currItem.bounds)&&(de.x=ee.center.x,de.y=ee.center.y,Ie(!0)),Ce("resize")},zoomTo:function(t,e,n,i,r){e&&(f=y,dt.x=Math.abs(e.x)-de.x,dt.y=Math.abs(e.y)-de.y,je(ce,de));var o=ze(t,!1),a={};He("x",o,a,t),He("y",o,a,t);var s=y,l=de.x,u=de.y;Ne(a);var c=function(e){1===e?(y=t,de.x=a.x,de.y=a.y):(y=(t-s)*e+s,de.x=(a.x-l)*e+l,de.y=(a.y-u)*e+u),r&&r(e),Ie(1===e)};n?Ge("customZoomTo",0,1,n,i||h.easing.sine.inOut,c):c(1)}},Qe={},Je={},et={},tt={},nt={},it=[],rt={},ot=[],at={},st=0,lt={x:0,y:0},ut=0,ct={x:0,y:0},dt={x:0,y:0},ft={x:0,y:0},pt=function(e,t){return at.x=Math.abs(e.x-t.x),at.y=Math.abs(e.y-t.y),Math.sqrt(at.x*at.x+at.y*at.y)},ht=function(){n&&(M(n),n=null)},mt=function(){V&&(n=L(mt),It())},gt=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&-1<e.getAttribute("class").indexOf("pswp__scroll-wrap"))&&(t(e)?e:gt(e.parentNode,t))},vt={},yt=function(e,t){return vt.prevent=!gt(e.target,g.isClickableElement),Ce("preventDragEvent",e,t,vt),vt.prevent},bt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},wt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},kt=function(){var e=de.y-m.currItem.initialPosition.y;return 1-Math.abs(e/(fe.y/2))},St={},Tt={},xt=[],Ct=function(e){for(;0<xt.length;)xt.pop();return P?(le=0,it.forEach(function(e){0===le?xt[0]=e:1===le&&(xt[1]=e),le++})):-1<e.type.indexOf("touch")?e.touches&&0<e.touches.length&&(xt[0]=bt(e.touches[0],St),1<e.touches.length&&(xt[1]=bt(e.touches[1],Tt))):(St.x=e.pageX,St.y=e.pageY,St.id="",xt[0]=St),xt},_t=function(e,t){var n,i,r,o,a=de[e]+t[e],s=0<t[e],l=ct.x+t.x,u=ct.x-rt.x;if(n=a>ee.min[e]||a<ee.max[e]?g.panEndFriction:1,a=de[e]+t[e]*n,(g.allowPanToNext||y===m.currItem.initialZoomLevel)&&(te?"h"!==ie||"x"!==e||Y||(s?(a>ee.min[e]&&(n=g.panEndFriction,ee.min[e],i=ee.min[e]-ce[e]),(i<=0||u<0)&&1<Ht()?(o=l,u<0&&l>rt.x&&(o=rt.x)):ee.min.x!==ee.max.x&&(r=a)):(a<ee.max[e]&&(n=g.panEndFriction,ee.max[e],i=ce[e]-ee.max[e]),(i<=0||0<u)&&1<Ht()?(o=l,0<u&&l<rt.x&&(o=rt.x)):ee.min.x!==ee.max.x&&(r=a))):o=l,"x"===e))return void 0!==o&&(Le(o,!0),G=o!==rt.x),ee.min.x!==ee.max.x&&(void 0!==r?de.x=r:G||(de.x+=t.x*n)),void 0!==o;ne||G||y>m.currItem.fitRatio&&(de[e]+=t[e]*n)},Et=function(e){if(!("mousedown"===e.type&&0<e.button))if(Ft)e.preventDefault();else if(!W||"mousedown"!==e.type){if(yt(e,!0)&&e.preventDefault(),Ce("pointerDown"),P){var t=h.arraySearch(it,e.pointerId,"id");t<0&&(t=it.length),it[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Ct(e),i=n.length;X=null,Ze(),V&&1!==i||(V=re=!0,h.bind(window,u,m),B=se=oe=U=G=Z=K=Y=!1,ie=null,Ce("firstTouchStart",n),je(ce,de),ue.x=ue.y=0,je(tt,n[0]),je(nt,tt),rt.x=me.x*pe,ot=[{x:tt.x,y:tt.y}],H=$=_e(),ze(y,!0),ht(),mt()),!Q&&1<i&&!ne&&!G&&(f=y,Q=K=!(Y=!1),ue.y=ue.x=0,je(ce,de),je(Qe,n[0]),je(Je,n[1]),wt(Qe,Je,ft),dt.x=Math.abs(ft.x)-de.x,dt.y=Math.abs(ft.y)-de.y,J=pt
1(Qe,Je))}},At=function(e){if(e.preventDefault(),P){var t=h.arraySearch(it,e.pointerId,"id");if(-1<t){var n=it[t];n.x=e.pageX,n.y=e.pageY}}if(V){var i=Ct(e);if(ie||Z||Q)X=i;else if(ct.x!==me.x*pe)ie="h";else{var r=Math.abs(i[0].x-tt.x)-Math.abs(i[0].y-tt.y);10<=Math.abs(r)&&(ie=0<r?"h":"v",X=i)}}},It=function(){if(X){var e,t,n=X.length;if(0!==n)if(je(Qe,X[0]),et.x=Qe.x-tt.x,et.y=Qe.y-tt.y,Q&&1<n){if(tt.x=Qe.x,tt.y=Qe.y,!et.x&&!et.y&&(e=X[1],t=Je,e.x===t.x&&e.y===t.y))return;je(Je,X[1]),Y||(Y=!0,Ce("zoomGestureStarted"));var i=pt(Qe,Je),r=jt(i);r>m.currItem.initialZoomLevel+m.currItem.initialZoomLevel/15&&(se=!0);var o=1,a=Fe(),s=$e();if(r<a)if(g.pinchToClose&&!se&&f<=m.currItem.initialZoomLevel){var l=1-(a-r)/(a/1.2);Ee(l),Ce("onPinchClose",l),oe=!0}else 1<(o=(a-r)/a)&&(o=1),r=a-o*(a/3);else s<r&&(1<(o=(r-s)/(6*a))&&(o=1),r=s+o*a);o<0&&(o=0),wt(Qe,Je,lt),ue.x+=lt.x-ft.x,ue.y+=lt.y-ft.y,je(ft,lt),de.x=Me("x",r),de.y=Me("y",r),B=y<r,y=r,Ie()}else{if(!ie)return;if(re&&(re=!1,10<=Math.abs(et.x)&&(et.x-=X[0].x-nt.x),10<=Math.abs(et.y)&&(et.y-=X[0].y-nt.y)),tt.x=Qe.x,tt.y=Qe.y,0===et.x&&0===et.y)return;if("v"===ie&&g.closeOnVerticalDrag&&"fit"===g.scaleMode&&y===m.currItem.initialZoomLevel){ue.y+=et.y,de.y+=et.y;var u=kt();return U=!0,Ce("onVerticalDrag",u),Ee(u),void Ie()}!function(e,t,n){if(50<e-H){var i=2<ot.length?ot.shift():{};i.x=t,i.y=n,ot.push(i),H=e}}(_e(),Qe.x,Qe.y),Z=!0,ee=m.currItem.bounds,_t("x",et)||(_t("y",et),Ne(de),Ie())}}},Pt=function(e){if(z.isOldAndroid){if(W&&"mouseup"===e.type)return;-1<e.type.indexOf("touch")&&(clearTimeout(W),W=setTimeout(function(){W=0},600))}var t;if(Ce("pointerUp"),yt(e,!1)&&e.preventDefault(),P){var n=h.arraySearch(it,e.pointerId,"id");-1<n&&(t=it.splice(n,1)[0],navigator.msPointerEnabled?(t.type={4:"mouse",2:"touch",3:"pen"}[e.pointerType],t.type||(t.type=e.pointerType||"mouse")):t.type=e.pointerType||"mouse")}var i,r=Ct(e),o=r.length;if("mouseup"===e.type&&(o=0),2===o)return!(X=null);1===o&&je(nt,r[0]),0!==o||ie||ne||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Ce("touchRelease",e,t));var a=-1;if(0===o&&(V=!1,h.unbind(window,u,m),ht(),Q?a=0:-1!==ut&&(a=_e()-ut)),ut=1===o?_e():-1,i=-1!==a&&a<150?"zoom":"swipe",Q&&o<2&&(Q=!1,1===o&&(i="zoomPointerUp"),Ce("zoomGestureEnded")),X=null,Z||Y||ne||U)if(Ze(),q||(q=Ot()),q.calculateSwipeSpeed("x"),U)if(kt()<g.verticalDragRange)m.close();else{var s=de.y,l=ae;Ge("verticalDrag",0,1,300,h.easing.cubic.out,function(e){de.y=(m.currItem.initialPosition.y-s)*e+s,Ee((1-l)*e+l),Ie()}),Ce("onVerticalDrag",1)}else{if((G||ne)&&0===o){if(Mt(i,q))return;i="zoomPointerUp"}ne||("swipe"===i?!G&&y>m.currItem.fitRatio&&Lt(q):Nt())}},Ot=function(){var t,n,i={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(e){n=1<ot.length?(t=_e()-H+50,ot[ot.length-2][e]):(t=_e()-$,nt[e]),i.lastFlickOffset[e]=tt[e]-n,i.lastFlickDist[e]=Math.abs(i.lastFlickOffset[e]),20<i.lastFlickDist[e]?i.lastFlickSpeed[e]=i.lastFlickOffset[e]/t:i.lastFlickSpeed[e]=0,Math.abs(i.lastFlickSpeed[e])<.1&&(i.lastFlickSpeed[e]=0),i.slowDownRatio[e]=.95,i.slowDownRatioReverse[e]=1-i.slowDownRatio[e],i.speedDecelerationRatio[e]=1},calculateOverBoundsAnimOffset:function(t,e){i.backAnimStarted[t]||(de[t]>ee.min[t]?i.backAnimDestination[t]=ee.min[t]:de[t]<ee.max[t]&&(i.backAnimDestination[t]=ee.max[t]),void 0!==i.backAnimDestination[t]&&(i.slowDownRatio[t]=.7,i.slowDownRatioReverse[t]=1-i.slowDownRatio[t],i.speedDecelerationRatioAbs[t]<.05&&(i.lastFlickSpeed[t]=0,i.backAnimStarted[t]=!0,Ge("bounceZoomPan"+t,de[t],i.backAnimDestination[t],e||300,h.easing.sine.out,function(e){de[t]=e,Ie()}))))},calculateAnimOffset:function(e){i.backAnimStarted[e]||(i.speedDecelerationRatio[e]=i.speedDecelerationRatio[e]*(i.slowDownRatio[e]+i.slowDownRatioReverse[e]-i.slowDownRatioReverse[e]*i.timeDiff/10),i.speedDecelerationRatioAbs[e]=Math.abs(i.lastFlickSpeed[e]*i.speedDecelerationRatio[e]),i.distanceOffset[e]=i.lastFlickSpeed[e]*i.speedDecelerationRatio[e]*i.timeDiff,de[e]+=i.distanceOffset[e])},panAnimLoop:function(){if(We.zoomPan&&(We.zoomPan.raf=L(i.panAnimLoop),i.now=_e(),i.timeDiff=i.now-i.lastNow,i.lastNow=i.now,i.calculateAnimOffset("x"),i.calculateAnimOffset("y"),Ie(),i.calculateOverBoundsAnimOffset("x"),i.calculateOverBoundsAnimOffset("y"),i.speedDecelerationRatioAbs.x<.05&&i.speedDecelerationRatioAbs.y<.05))return de.x=Math.round(de.x),de.y=Math.round(de.y),Ie(),void Ke("zoomPan")}};return i},Lt=function(e){if(e.calculateSwipeSpeed("y"),ee=m.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;Ye("zoomPan"),e.lastNow=_e(),e.panAnimLoop()},Mt=function(e,t){var n,i,r;if(ne||(st=v),"swipe"===e){var o=tt.x-nt.x,a=t.lastFlickDist.x<10;30<o&&(a||20<t.lastFlickOffset.x)?i=-1:o<-30&&(a||t.lastFlickOffset.x<-20)&&(i=1)}i&&((v+=i)<0?(v=g.loop?Ht()-1:0,r=!0):v>=Ht()&&(v=g.loop?0:Ht()-1,r=!0),r&&!g.loop||(ge+=i,pe-=i,n=!0));var s,l=me.x*pe,u=Math.abs(l-ct.x);return s=n||l>ct.x==0<t.lastFlickSpeed.x?(s=0<Math.abs(t.lastFlickSpeed.x)?u/Math.abs(t.lastFlickSpeed.x):333,s=Math.min(s,400),Math.max(s,250)):333,st===v&&(n=!1),ne=!0,Ce("mainScrollAnimStart"),Ge("mainScroll",ct.x,l,s,h.easing.cubic.out,Le,function(){Ze(),ne=!1,st=-1,(n||st!==v)&&m.updateCurrItem(),Ce("mainScrollAnimComplete")}
1),n&&m.updateCurrItem(!0),n},jt=function(e){return 1/J*e*f},Nt=function(){var e=y,t=Fe(),n=$e();y<t?e=t:n<y&&(e=n);var i,r=ae;return oe&&!B&&!se&&y<t?m.close():(oe&&(i=function(e){Ee((1-r)*e+r)}),m.zoomTo(e,0,200,h.easing.cubic.out,i)),!0};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,r){C=e+t,_=e+n,E=e+i,A=r?e+r:""};(P=z.pointerEvent)&&z.touch&&(z.touch=!1),P?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):z.touch?(e("touch","start","move","end","cancel"),O=!0):e("mouse","down","move","up"),u=_+" "+E+" "+A,c=C,P&&!O&&(O=1<navigator.maxTouchPoints||1<navigator.msMaxTouchPoints),m.likelyTouchDevice=O,d[C]=Et,d[_]=At,d[E]=Pt,A&&(d[A]=d[E]),z.touch&&(c+=" mousedown",u+=" mousemove mouseup",d.mousedown=d[C],d.mousemove=d[_],d.mouseup=d[E]),O||(g.allowPanToNext=!1)}}});var Rt,Dt,zt,Ft,$t,Ht,qt=function(a,e,s,t){var l;Rt&&clearTimeout(Rt),zt=Ft=!0,a.initialLayout?(l=a.initialLayout,a.initialLayout=null):l=g.getThumbBoundsFn&&g.getThumbBoundsFn(v);var u,c,d=s?g.hideAnimationDuration:g.showAnimationDuration,f=function(){Ke("initialZoom"),s?(m.template.removeAttribute("style"),m.bg.removeAttribute("style")):(Ee(1),e&&(e.style.display="block"),h.addClass(p,"pswp--animated-in"),Ce("initialZoom"+(s?"OutEnd":"InEnd"))),t&&t(),Ft=!1};if(!d||!l||void 0===l.x)return Ce("initialZoom"+(s?"Out":"In")),y=a.initialZoomLevel,je(de,a.initialPosition),Ie(),p.style.opacity=s?0:1,Ee(1),void(d?setTimeout(function(){f()},d):f());u=o,c=!m.currItem.src||m.currItem.loadError||g.showHideOpacity,a.miniImg&&(a.miniImg.style.webkitBackfaceVisibility="hidden"),s||(y=l.w/a.w,de.x=l.x,de.y=l.y-N,m[c?"template":"bg"].style.opacity=.001,Ie()),Ye("initialZoom"),s&&!u&&h.removeClass(p,"pswp--animated-in"),c&&(s?h[(u?"remove":"add")+"Class"](p,"pswp--animate_opacity"):setTimeout(function(){h.addClass(p,"pswp--animate_opacity")},30)),Rt=setTimeout(function(){if(Ce("initialZoom"+(s?"Out":"In")),s){var t=l.w/a.w,n=de.x,i=de.y,r=y,o=ae,e=function(e){1===e?(y=t,de.x=l.x,de.y=l.y-D):(y=(t-r)*e+r,de.x=(l.x-n)*e+n,de.y=(l.y-D-i)*e+i),Ie(),c?p.style.opacity=1-e:Ee(o-e*o)};u?Ge("initialZoom",0,1,d,h.easing.cubic.out,e,f):(e(1),Rt=setTimeout(f,d+20))}else y=a.initialZoomLevel,je(de,a.initialPosition),Ie(),Ee(1),c?p.style.opacity=1:Ee(1),Rt=setTimeout(f,d+20)},s?25:90)},Bt={},Ut=[],Wt={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Dt.length}},Vt=function(e,t,n){if(!e.src||e.loadError)return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},e.initialPosition=e.bounds.center,e.bounds;var i,r,o,a,s=!n;if(s&&(e.vGap||(e.vGap={top:0,bottom:0}),Ce("parseVerticalMargin",e)),Bt.x=t.x,Bt.y=t.y-e.vGap.top-e.vGap.bottom,s){var l=Bt.x/e.w,u=Bt.y/e.h;e.fitRatio=l<u?l:u;var c=g.scaleMode;"orig"===c?n=1:"fit"===c&&(n=e.fitRatio),1<n&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}return n?(r=(i=e).w*n,o=e.h*n,(a=i.bounds).center.x=Math.round((Bt.x-r)/2),a.center.y=Math.round((Bt.y-o)/2)+i.vGap.top,a.max.x=r>Bt.x?Math.round(Bt.x-r):a.center.x,a.max.y=o>Bt.y?Math.round(Bt.y-o)+i.vGap.top:a.center.y,a.min.x=r>Bt.x?0:a.center.x,a.min.y=o>Bt.y?i.vGap.top:a.center.y,s&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds):void 0},Kt=function(e,t,n,i,r,o){t.loadError||i&&(t.imageAppended=!0,Gt(t,i,t===m.currItem&&we),n.appendChild(i),o&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},Yt=function(e){e.loading=!0,e.loaded=!1;var t=e.img=h.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},Zt=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=g.errorMsg.replace("%url%",e.
1src),!0},Gt=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),r=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=r+"px"),t.style.width=i+"px",t.style.height=r+"px"}},Xt=function(){if(Ut.length){for(var e,t=0;t<Ut.length;t++)(e=Ut[t]).holder.index===e.index&&Kt(e.index,e.item,e.baseDiv,e.img,0,e.clearPlaceholder);Ut=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Se(e);var t=$t(e);t&&(!t.loaded&&!t.loading||S)&&(Ce("gettingData",e,t),t.src&&Yt(t))},initController:function(){h.extend(g,Wt,!0),m.items=Dt=e,$t=m.getItemAt,Ht=g.getNumItemsFn,g.loop,Ht()<3&&(g.loop=!1),xe("beforeChange",function(e){var t,n=g.preload,i=null===e||0<=e,r=Math.min(n[0],Ht()),o=Math.min(n[1],Ht());for(t=1;t<=(i?o:r);t++)m.lazyLoadItem(v+t);for(t=1;t<=(i?r:o);t++)m.lazyLoadItem(v-t)}),xe("initialLayout",function(){m.currItem.initialLayout=g.getThumbBoundsFn&&g.getThumbBoundsFn(v)}),xe("mainScrollAnimComplete",Xt),xe("initialZoomInEnd",Xt),xe("destroy",function(){for(var e,t=0;t<Dt.length;t++)(e=Dt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);Ut=null})},getItemAt:function(e){return 0<=e&&void 0!==Dt[e]&&Dt[e]},allowProgressiveImg:function(){return g.forceProgressiveLoading||!O||g.mouseUsed||1200<screen.width},setContent:function(t,n){g.loop&&(n=Se(n));var e=m.getItemAt(t.index);e&&(e.container=null);var i,r=m.getItemAt(n);if(r){Ce("gettingData",n,r),t.index=n;var o=(t.item=r).container=h.createEl("pswp__zoom-wrap");if(!r.src&&r.html&&(r.html.tagName?o.appendChild(r.html):o.innerHTML=r.html),Zt(r),Vt(r,fe),!r.src||r.loadError||r.loaded)r.src&&!r.loadError&&((i=h.createEl("pswp__img","img")).style.opacity=1,i.src=r.src,Gt(r,i),Kt(0,r,o,i));else{if(r.loadComplete=function(e){if(l){if(t&&t.index===n){if(Zt(e,!0))return e.loadComplete=e.img=null,Vt(e,fe),Pe(e),void(t.index===v&&m.updateCurrZoomItem());e.imageAppended?!Ft&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null):z.transform&&(ne||Ft)?Ut.push({item:e,baseDiv:o,img:e.img,index:n,holder:t,clearPlaceholder:!0}):Kt(0,e,o,e.img,0,!0)}e.loadComplete=null,e.img=null,Ce("imageLoadComplete",n,e)}},h.features.transform){var a="pswp__img pswp__img--placeholder";a+=r.msrc?"":" pswp__img--placeholder--blank";var s=h.createEl(a,r.msrc?"img":"");r.msrc&&(s.src=r.msrc),Gt(r,s),o.appendChild(s),r.placeholder=s}r.loading||Yt(r),m.allowProgressiveImg()&&(!zt&&z.transform?Ut.push({item:r,baseDiv:o,img:r.img,index:n,holder:t}):Kt(0,r,o,r.img,0,!0))}zt||n!==v?Pe(r):(te=o.style,qt(r,i||r.img)),t.el.innerHTML="",t.el.appendChild(o)}else t.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var Qt,Jt,en={},tn=function(e,t,n){var i=document.createEvent("CustomEvent"),r={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),e.target.dispatchEvent(i)};ke("Tap",{publicMethods:{initTap:function(){xe("firstTouchStart",m.onTapStart),xe("touchRelease",m.onTapRelease),xe("destroy",function(){en={},Qt=null})},onTapStart:function(e){1<e.length&&(clearTimeout(Qt),Qt=null)},onTapRelease:function(e,t){var n,i;if(t&&!Z&&!K&&!Ve){var r=t;if(Qt&&(clearTimeout(Qt),Qt=null,n=r,i=en,Math.abs(n.x-i.x)<25&&Math.abs(n.y-i.y)<25))return void Ce("doubleTap",r);if("mouse"===t.type)return void tn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||h.hasClass(e.target,"pswp__single-tap"))return void tn(e,t);je(en,r),Qt=setTimeout(function(){tn(e,t),Qt=null},300)}}}}),ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){R||(O?xe("mouseUsed",function(){m.setupDesktopZoom()}):m.setupDesktopZoom(!0))},setupDesktopZoom:function(e){Jt={};var t="wheel mousewheel DOMMouseScroll";xe("bindEvents",function(){h.bind(p,t,m.handleMouseWheel)}),xe("unbindEvents",function(){Jt&&h.unbind(p,t,m.handleMouseWheel)}),m.mouseZoomedIn=!1;var n,i=function(){m.mouseZoomedIn&&(h.removeClass(p,"pswp--zoomed-in"),m.mouseZoomedIn=!1),y<1?h.addClass(p,"pswp--zoom-allowed"):h.removeClass(p,"pswp--zoom-allowed"),r()},r=function(){n&&(h.removeClass(p,"pswp--dragging"),n=!1)};
1xe("resize",i),xe("afterChange",i),xe("pointerDown",function(){m.mouseZoomedIn&&(n=!0,h.addClass(p,"pswp--dragging"))}),xe("pointerUp",r),e||i()},handleMouseWheel:function(e){if(y<=m.currItem.fitRatio)return g.modal&&(!g.closeOnScroll||Ve||V?e.preventDefault():I&&2<Math.abs(e.deltaY)&&(o=!0,m.close())),!0;if(e.stopPropagation(),Jt.x=0,"deltaX"in e)1===e.deltaMode?(Jt.x=18*e.deltaX,Jt.y=18*e.deltaY):(Jt.x=e.deltaX,Jt.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(Jt.x=-.16*e.wheelDeltaX),e.wheelDeltaY?Jt.y=-.16*e.wheelDeltaY:Jt.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;Jt.y=e.detail}ze(y,!0);var t=de.x-Jt.x,n=de.y-Jt.y;(g.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),m.panTo(t,n)},toggleDesktopZoom:function(e){e=e||{x:fe.x/2+he.x,y:fe.y/2+he.y};var t=g.getDoubleTapZoom(!0,m.currItem),n=y===t;m.mouseZoomedIn=!n,m.zoomTo(n?m.currItem.initialZoomLevel:t,e,333),h[(n?"remove":"add")+"Class"](p,"pswp--zoomed-in")}}});var nn,rn,on,an,sn,ln,un,cn,dn,fn,pn,hn,mn={history:!0,galleryUID:1},gn=function(){return pn.hash.substring(1)},vn=function(){nn&&clearTimeout(nn),on&&clearTimeout(on)},yn=function(){var e=gn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var r=i[n].split("=");r.length<2||(t[r[0]]=r[1])}if(g.galleryPIDs){var o=t.pid;for(n=t.pid=0;n<Dt.length;n++)if(Dt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},bn=function(){if(on&&clearTimeout(on),Ve||V)on=setTimeout(bn,500);else{an?clearTimeout(rn):an=!0;var e=v+1,t=$t(v);t.hasOwnProperty("pid")&&(e=t.pid);var n=un+"&gid="+g.galleryUID+"&pid="+e;cn||-1===pn.hash.indexOf(n)&&(fn=!0);var i=pn.href.split("#")[0]+"#"+n;hn?"#"+n!==window.location.hash&&history[cn?"replaceState":"pushState"]("",document.title,i):cn?pn.replace(i):pn.hash=n,cn=!0,rn=setTimeout(function(){an=!1},60)}};ke("History",{publicMethods:{initHistory:function(){if(h.extend(g,mn,!0),g.history){pn=window.location,cn=dn=fn=!1,un=gn(),hn="pushState"in history,-1<un.indexOf("gid=")&&(un=(un=un.split("&gid=")[0]).split("?gid=")[0]),xe("afterChange",m.updateURL),xe("unbindEvents",function(){h.unbind(window,"hashchange",m.onHashChange)});var e=function(){ln=!0,dn||(fn?history.back():un?pn.hash=un:hn?history.pushState("",document.title,pn.pathname+pn.search):pn.hash=""),vn()};xe("unbindEvents",function(){o&&e()}),xe("destroy",function(){ln||e()}),xe("firstUpdate",function(){v=yn().pid});var t=un.indexOf("pid=");-1<t&&"&"===(un=un.substring(0,t)).slice(-1)&&(un=un.slice(0,-1)),setTimeout(function(){l&&h.bind(window,"hashchange",m.onHashChange)},40)}},onHashChange:function(){if(gn()===un)return dn=!0,void m.close();an||(sn=!0,m.goTo(yn().pid),sn=!1)},updateURL:function(){vn(),sn||(cn?nn=setTimeout(bn,800):bn())}}}),h.extend(m,Xe)}}),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipeUI_Default=t()}(this,function(){"use strict";return function(r,s){var n,l,o,a,t,i,u,c,d,e,f,p,h,m,g,v,y,b,w=this,k=!1,S=!0,T=!0,x={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return r.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return r.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!d&&j();for(var t,n,i=(e.target||e.srcElement).getAttribute("class")||"",r=0;r<z.length;r++)(t=z[r]).onTap&&-1<i.indexOf("pswp__"+t.name)&&(t.onTap(),n=!0);if(n){e.stopPropagation&&e.stopPropagation(),v=!0;var o=s.features.isOldAndroid?600:30;setTimeout(function(){v=!1},o)}},_=function(e,t,n){s[(n?"add":"remove")+"Class"](e,"pswp__"+t)},E=function(){var e=1===g.getNumItemsFn();e!==m&&(_(l,"ui--one-slide",e),m=e)},A=function(){_(u,"share-modal--hidden",T)},I=function(){return(T=!T)?(s.removeClass(u,"pswp__share-modal--fade-in"),setTimeout(function(){T&&A()},300)):(A(),setTimeout(function(){T||s.addClass(u,"pswp__share-modal--fade-in")},30)),T||O(),!1},P=function(e){var t=(e=e||window.event).target||e.srcElement;return r.shout("shareLinkClick",e,t),!(!t.href||!t.hasAttribute("download")&&(window.open(t.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),T||I(),1))},O=function(){for(var e,t,n,i,r="",o=0;o<g.shareButtons.length;o++)e=g.shareButtons[o],t=g.getImageURLForShare(e),n=g.getPageURLForShare(e),i=g.getTextForShare(e),r+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(i))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(r=g.parseShareButtonOut(e,r));u.children[0].innerHTML=r,u.children[0].onclick=P},L=function(e){for(var t=0;t<g.closeElClasses.length;t++)if(s.hasClass(e,"pswp__"+g.closeElClasses[t]))return!0},M=0,j=function(){clearTimeout(b),M=0,d&&w.setIdle(!1)},N=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout(function(){w.setIdle(!0)},g.timeToIdleOutside))},R=function(e){p!==e&&(_(f,"preloader--active",!e),p=e)},D=function(e){var t=e.vGap;if(!r.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth){var n=g.barsSize;if(g.captionEl&&"auto"===n.bottom)if(a||((a=s.createEl("pswp__caption pswp__caption--fake")).appendChild(s.createEl("pswp__caption__center")),l.insertBefore(a,o),s.addClass(l,"pswp__ui--fit")),g.addCaptionHTMLFn(e,a,!0)){var i=a.clientHeight;t.bottom=parseInt(i,10)||44}else t.bottom=n.top;else t.bottom="auto"===n.bottom?0:n.bottom;t.top=n.top}else t.top=t.bottom=0},z=[{name:"caption",option:"captionEl",onInit:function(e){o=e}},{name:"share-modal",option:"shareEl",onInit:function(e){u=e},onTap:function(){I()}},{name:"button--share",option:"shareEl",onInit:function(e){i=e},onTap:function(){I()}}
1,{name:"button--zoom",option:"zoomEl",onTap:r.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){t=e}},{name:"button--close",option:"closeEl",onTap:r.close},{name:"button--arrow--left",option:"arrowEl",onTap:r.prev},{name:"button--arrow--right",option:"arrowEl",onTap:r.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}];w.init=function(){var t;s.extend(r.options,x,!0),g=r.options,l=s.getChildByClass(r.scrollWrap,"pswp__ui"),(e=r.listen)("onVerticalDrag",function(e){S&&e<.95?w.hideControls():!S&&.95<=e&&w.showControls()}),e("onPinchClose",function(e){S&&e<.9?(w.hideControls(),t=!0):t&&!S&&.9<e&&w.showControls()}),e("zoomGestureEnded",function(){(t=!1)&&!S&&w.showControls()}),e("beforeChange",w.update),e("doubleTap",function(e){var t=r.currItem.initialZoomLevel;r.getZoomLevel()!==t?r.zoomTo(t,e,333):r.zoomTo(g.getDoubleTapZoom(!1,r.currItem),e,333)}),e("preventDragEvent",function(e,t,n){var i=e.target||e.srcElement;i&&i.getAttribute("class")&&-1<e.type.indexOf("mouse")&&(0<i.getAttribute("class").indexOf("__caption")||/(SMALL|STRONG|EM)/i.test(i.tagName))&&(n.prevent=!1)}),e("bindEvents",function(){s.bind(l,"pswpTap click",C),s.bind(r.scrollWrap,"pswpTap",w.onGlobalTap),r.likelyTouchDevice||s.bind(r.scrollWrap,"mouseover",w.onMouseOver)}),e("unbindEvents",function(){T||I(),y&&clearInterval(y),s.unbind(document,"mouseout",N),s.unbind(document,"mousemove",j),s.unbind(l,"pswpTap click",C),s.unbind(r.scrollWrap,"pswpTap",w.onGlobalTap),s.unbind(r.scrollWrap,"mouseover",w.onMouseOver),n&&(s.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)}),e("destroy",function(){g.captionEl&&(a&&l.removeChild(a),s.removeClass(o,"pswp__caption--empty")),u&&(u.children[0].onclick=null),s.removeClass(l,"pswp__ui--over-close"),s.addClass(l,"pswp__ui--hidden"),w.setIdle(!1)}),g.showAnimationDuration||s.removeClass(l,"pswp__ui--hidden"),e("initialZoomIn",function(){g.showAnimationDuration&&s.removeClass(l,"pswp__ui--hidden")}),e("initialZoomOut",function(){s.addClass(l,"pswp__ui--hidden")}),e("parseVerticalMargin",D),function(){var r,o,a,e=function(e){if(e)for(var t=e.length,n=0;n<t;n++){r=e[n],o=r.className;for(var i=0;i<z.length;i++)a=z[i],-1<o.indexOf("pswp__"+a.name)&&(g[a.option]?(s.removeClass(r,"pswp__element--disabled"),a.onInit&&a.onInit(r)):s.addClass(r,"pswp__element--disabled"))}};e(l.children);var t=s.getChildByClass(l,"pswp__top-bar");t&&e(t.children)}(),g.shareEl&&i&&u&&(T=!0),E(),g.timeToIdle&&e("mouseUsed",function(){s.bind(document,"mousemove",j),s.bind(document,"mouseout",N),y=setInterval(function(){2==++M&&w.setIdle(!0)},g.timeToIdle/2)}),g.fullscreenEl&&!s.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(s.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),s.addClass(r.template,"pswp--supports-fs")):s.removeClass(r.template,"pswp--supports-fs")),g.preloaderEl&&(R(!0),e("beforeChange",function(){clearTimeout(h),h=setTimeout(function(){r.currItem&&r.currItem.loading?(!r.allowProgressiveImg()||r.currItem.img&&!r.currItem.img.naturalWidth)&&R(!1):R(!0)},g.loadingIndicatorDelay)}),e("imageLoadComplete",function(e,t){r.currItem===t&&R(!0)}))},w.setIdle=function(e){_(l,"ui--idle",d=e)},w.update=function(){k=!(!S||!r.currItem||(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(r.currItem,o),_(o,"caption--empty",!r.currItem.title)),0)),T||I(),E()},w.updateFullscreen=function(e){e&&setTimeout(function(){r.setScrollOffset(0,s.getScrollY())},50),s[(n.isFullscreen()?"add":"remove")+"Class"](r.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(t.innerHTML=r.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(e){var t=(e=e||window.event).target||e.srcElement;if(!v)if(e.detail&&"mouse"===e.detail.pointerType){if(L(t))return void r.close();s.hasClass(t,"pswp__img")&&(1===r.getZoomLevel()&&r.getZoomLevel()<=r.currItem.fitRatio?g.clickToCloseNonZoomable&&r.close():r.toggleDesktopZoom(e.detail.releasePoint))}else if(g.tapToToggleControls&&(S?w.hideControls():w.showControls()),g.tapToClose&&(s.hasClass(t,"pswp__img")||L(t)))return void r.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;_(l,"ui--over-close",L(t))},w.hideControls=function(){s.addClass(l,"pswp__ui--hidden"),S=!1},w.showControls=function(){S=!0,k||w.update(),s.removeClass(l,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var e,t=document.documentElement,n="fullscreenchange";return t.requestFullscreen?e={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:n}:t.mozRequestFullScreen?e={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+n}:t.webkitRequestFullscreen?e={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+n}:t.msRequestFullscreen&&(e={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),e&&(e.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return r.template[this.enterK]();r.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},e.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},e.isFullscreen=function(){return document[this.elementK]}),e}}}),"object"==typeof navigator&&function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Plyr",t):(e="undefined"!=typeof globalThis?globalThis:e||self).Plyr=t()}(this,function(){"use strict";!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var n,i;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}();var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=function(e){return e&&e.Math==Math&&e},g=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),v=function(e){try{return!!e()}catch(e){return!0}},f=!v(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
1)[1]}),i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,p={f:r&&!i.call({1:2},1)?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},o=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},a={}.toString,h=function(e){return a.call(e).slice(8,-1)},s="".split,w=v(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==h(e)?s.call(e,""):Object(e)}:Object,d=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},u=function(e){return w(d(e))},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},c=function(e,t){if(!y(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!y(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!y(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!y(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},l={}.hasOwnProperty,k=function(e,t){return l.call(e,t)},m=g.document,b=y(m)&&y(m.createElement),S=function(e){return b?m.createElement(e):{}},T=!f&&!v(function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a}),x=Object.getOwnPropertyDescriptor,C={f:f?x:function(e,t){if(e=u(e),t=c(t,!0),T)try{return x(e,t)}catch(e){}if(k(e,t))return o(!p.f.call(e,t),e[t])}},E=function(e){if(!y(e))throw TypeError(String(e)+" is not an object");return e},_=Object.defineProperty,A={f:f?_:function(e,t,n){if(E(e),t=c(t,!0),E(n),T)try{return _(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}},I=f?function(e,t,n){return A.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e},P=function(t,n){try{I(g,t,n)}catch(e){g[t]=n}return n},O="__core-js_shared__",L=g[O]||P(O,{}),M=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(e){return M.call(e)});var j,N,R,D=L.inspectSource,z=g.WeakMap,F="function"==typeof z&&/native code/.test(D(z)),$=t(function(e){(e.exports=function(e,t){return L[e]||(L[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.7.0",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),H=0,q=Math.random(),B=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+q).toString(36)},U=$("keys"),W=function(e){return U[e]||(U[e]=B(e))},V={},K=g.WeakMap;if(F){var Y=L.state||(L.state=new K),Z=Y.get,G=Y.has,X=Y.set;j=function(e,t){return t.facade=e,X.call(Y,e,t),t},N=function(e){return Z.call(Y,e)||{}},R=function(e){return G.call(Y,e)}}else{var Q=W("state");V[Q]=!0,j=function(e,t){return t.facade=e,I(e,Q,t),t},N=function(e){return k(e,Q)?e[Q]:{}},R=function(e){return k(e,Q)}}var J,ee={set:j,get:N,has:R,enforce:function(e){return R(e)?N(e):j(e,{})},getterFor:function(n){return function(e){var t;if(!y(e)||(t=N(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}},te=t(function(e){var t=ee.get,l=ee.enforce,u=String(String).split("String");(e.exports=function(e,t,n,i){var r,o=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,s=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||k(n,"name")||I(n,"name",t),(r=l(n)).source||(r.source=u.join("string"==typeof t?t:""))),e!==g?(o?!s&&e[t]&&(a=!0):delete e[t],a?e[t]=n:I(e,t,n)):a?e[t]=n:P(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||D(this)})}),ne=g,ie=function(e){return"function"==typeof e?e:void 0},re=function(e,t){return arguments.length<2?ie(ne[e])||ie(g[e]):ne[e]&&ne[e][t]||g[e]&&g[e][t]},oe=Math.ceil,ae=Math.floor,se=function(e){return isNaN(e=+e)?0:(0<e?ae:oe)(e)},le=Math.min,ue=function(e){return 0<e?le(se(e),9007199254740991):0},ce=Math.max,de=Math.min,fe=function(e,t){var n=se(e);return n<0?ce(n+t,0):de(n,t)},pe=function(s){return function(e,t,n){var i,r=u(e),o=ue(r.length),a=fe(n,o);if(s&&t!=t){for(;a<o;)if((i=r[a++])!=i)return!0}else for(;a<o;a++)if((s||a in r)&&r[a]===t)return s||a||0;return!s&&-1}},he={includes:pe(!0),indexOf:pe(!1)},me=he.indexOf,ge=function(e,t){var n,i=u(e),r=0,o=[];for(n in i)!k(V,n)&&k(i,n)&&o.push(n);for(;t.length>r;)k(i,n=t[r++])&&(~me(o,n)||o.push(n));return o},ve=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"],ye=ve.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(e){return ge(e,ye)}},we={f:Object.getOwnPropertySymbols},ke=re("Reflect","ownKeys")||function(e){var t=be.f(E(e)),n=we.f;return n?t.concat(n(e)):t},Se=function(e,t){for(var n=ke(t),i=A.f,r=C.f,o=0;o<n.length;o++){var a=n[o];k(e,a)||i(e,a,r(t,a))}},Te=/#|\.prototype\./,xe=function(e,t){var n=_e[Ce(e)];return n==Ae||n!=Ee&&("function"==typeof t?v(t):!!t)},Ce=xe.normalize=function(e){return String(e).replace(Te,".").toLowerCase()},_e=xe.data={},Ee=xe.NATIVE="N",Ae=xe.POLYFILL="P",Ie=xe,Pe=C.f,Oe=function(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?g:u?g[s]||P(s,{}):(g[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=Pe(n,i))&&a.value:n[i],!Ie(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Se(o,r)}(e.sham||r&&r.sham)&&I(o,"sham",!0),te(n,i,o,e)}},Le=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())}),Me=Le&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,je=Array.isArray||function(e){return"Array"==h(e)},Ne=function(e){return Object(d(e))},Re=Object.keys||function(e){return ge(e,ve)},De=f?Object.defineProperties:function(e,t){E(e);for(var n,i=Re(t),r=i.length,o=0;o<r;)A.f(e,n=i[o++],t[n]);return e},ze=re("document","documentElement"),Fe="prototype",$e="script",He=W("IE_PROTO"),qe=function(){},Be=function(e){return"<script>"+e+"</"+$e+">"},Ue=function(){try{J=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Ue=J?function(e){e.write(Be("")),e.close();var t=e.parentWindow.Object;return e=null,t}(J):((t=S("iframe")).style.display="none",ze.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Be("document.F=Object")),e.close(),e.F);for(var n=ve.length;n--;)delete Ue[Fe][ve[n]];return Ue()};V[He]=!0;var We=Object.create||function(e,t){var n;return null!==e?(qe[Fe]=E(e),n=new qe,qe[Fe]=null,n[He]=e):n=Ue(),void 0===t?n:De(n,t)},Ve=be.f,Ke={}.toString,Ye="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ze={f:function(e){return Ye&&"[object Window]"==Ke.call(e)?function(e){try{return Ve(e)}catch(e){return Ye.slice()}}(e):Ve(u(e))}},Ge=$("wks"),Xe=g.Symbol,Qe=Me?Xe:Xe&&Xe.withoutSetter||B,Je=function(e){return k(Ge,e)||(Le&&k(Xe,e)?Ge[e]=Xe[e]:Ge[e]=Qe("Symbol."+e)),Ge[e]},et={f:Je},tt=A.f,nt=function(e){var t=ne.Symbol||(ne.Symbol={});k(t,e)||tt(t,e,{value:et.f(e)})},it=A.f,rt=Je("toStringTag"),ot=function(e,t,n){e&&!k(e=n?e:e.prototype,rt)&&it(e,rt,{configurable:!0,value:t})},at=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},st=function(i,r,e){if(at(i),void 0===r)return i;switch(e){case 0:return function(){return i.call(r)};case 1:return function(e){return i.call(r,e)};case 2:return function(e,t){return i.call(r,e,t)};case 3:return function(e,t,n){return i.call(r,e,t,n)}}return function(){return i.apply(r,arguments)}},lt=Je("species"),ut=function(e,t){var n;return je(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!je(n.prototype)?y(n)&&null===(n=n[lt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},ct=[].push,dt=function(p){var h=1==p,m=2==p,g=3==p,v=4==p,y=6==p,b=5==p||y;return function(e,t,n,i){for(var r,o,a=Ne(e),s=w(a),l=st(t,n,3),u=ue(s.length),c=0,d=i||ut,f=h?d(e,u):m?d(e,0):void 0;c<u;c++)if((b||c in s)&&(o=l(r=s[c],c,a),p))if(h)f[c]=o;else if(o)switch(p){case 3:return!0;case 5:return r;case 6:return c;case 2:ct.call(f,r)}else if(v)return!1;return y?-1:g||v?v:f}},ft={forEach:dt(0),map:dt(1),filter:dt(2),some:dt(3),every:dt(4),find:dt(5),findIndex:dt(6)},pt=ft.forEach,ht=W("hidden"),mt="Symbol",gt="prototype",vt=Je("toPrimitive"),yt=ee.set,bt=ee.getterFor(mt),wt=Object[gt],kt=g.Symbol,St=re("JSON","stringify"),Tt=C.f,xt=A.f,Ct=Ze.f,_t=p.f,Et=$("symbols"),At=$("op-symbol
1s"),It=$("string-to-symbol-registry"),Pt=$("symbol-to-string-registry"),Ot=$("wks"),Lt=g.QObject,Mt=!Lt||!Lt[gt]||!Lt[gt].findChild,jt=f&&v(function(){return 7!=We(xt({},"a",{get:function(){return xt(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=Tt(wt,t);i&&delete wt[t],xt(e,t,n),i&&e!==wt&&xt(wt,t,i)}:xt,Nt=function(e,t){var n=Et[e]=We(kt[gt]);return yt(n,{type:mt,tag:e,description:t}),f||(n.description=t),n},Rt=Me?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof kt},Dt=function(e,t,n){e===wt&&Dt(At,t,n),E(e);var i=c(t,!0);return E(n),k(Et,i)?(n.enumerable?(k(e,ht)&&e[ht][i]&&(e[ht][i]=!1),n=We(n,{enumerable:o(0,!1)})):(k(e,ht)||xt(e,ht,o(1,{})),e[ht][i]=!0),jt(e,i,n)):xt(e,i,n)},zt=function(t,e){E(t);var n=u(e),i=Re(n).concat(qt(n));return pt(i,function(e){f&&!Ft.call(n,e)||Dt(t,e,n[e])}),t},Ft=function(e){var t=c(e,!0),n=_t.call(this,t);return!(this===wt&&k(Et,t)&&!k(At,t))&&(!(n||!k(this,t)||!k(Et,t)||k(this,ht)&&this[ht][t])||n)},$t=function(e,t){var n=u(e),i=c(t,!0);if(n!==wt||!k(Et,i)||k(At,i)){var r=Tt(n,i);return!r||!k(Et,i)||k(n,ht)&&n[ht][i]||(r.enumerable=!0),r}},Ht=function(e){var t=Ct(u(e)),n=[];return pt(t,function(e){k(Et,e)||k(V,e)||n.push(e)}),n},qt=function(e){var t=e===wt,n=Ct(t?At:u(e)),i=[];return pt(n,function(e){!k(Et,e)||t&&!k(wt,e)||i.push(Et[e])}),i};if(Le||(te((kt=function(){if(this instanceof kt)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=B(e),n=function(e){this===wt&&n.call(At,e),k(this,ht)&&k(this[ht],t)&&(this[ht][t]=!1),jt(this,t,o(1,e))};return f&&Mt&&jt(wt,t,{configurable:!0,set:n}),Nt(t,e)})[gt],"toString",function(){return bt(this).tag}),te(kt,"withoutSetter",function(e){return Nt(B(e),e)}),p.f=Ft,A.f=Dt,C.f=$t,be.f=Ze.f=Ht,we.f=qt,et.f=function(e){return Nt(Je(e),e)},f&&(xt(kt[gt],"description",{configurable:!0,get:function(){return bt(this).description}}),te(wt,"propertyIsEnumerable",Ft,{unsafe:!0}))),Oe({global:!0,wrap:!0,forced:!Le,sham:!Le},{Symbol:kt}),pt(Re(Ot),function(e){nt(e)}),Oe({target:mt,stat:!0,forced:!Le},{for:function(e){var t=String(e);if(k(It,t))return It[t];var n=kt(t);return It[t]=n,Pt[n]=t,n},keyFor:function(e){if(!Rt(e))throw TypeError(e+" is not a symbol");if(k(Pt,e))return Pt[e]},useSetter:function(){Mt=!0},useSimple:function(){Mt=!1}}),Oe({target:"Object",stat:!0,forced:!Le,sham:!f},{create:function(e,t){return void 0===t?We(e):zt(We(e),t)},defineProperty:Dt,defineProperties:zt,getOwnPropertyDescriptor:$t}),Oe({target:"Object",stat:!0,forced:!Le},{getOwnPropertyNames:Ht,getOwnPropertySymbols:qt}),Oe({target:"Object",stat:!0,forced:v(function(){we.f(1)})},{getOwnPropertySymbols:function(e){return we.f(Ne(e))}}),St){var Bt=!Le||v(function(){var e=kt();return"[null]"!=St([e])||"{}"!=St({a:e})||"{}"!=St(Object(e))});Oe({target:"JSON",stat:!0,forced:Bt},{stringify:function(e,t,n){for(var i,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if((y(i=t)||void 0!==e)&&!Rt(e))return je(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!Rt(t))return t}),r[1]=t,St.apply(null,r)}})}kt[gt][vt]||I(kt[gt],vt,kt[gt].valueOf),ot(kt,mt),V[ht]=!0;var Ut=A.f,Wt=g.Symbol;if(f&&"function"==typeof Wt&&(!("description"in Wt.prototype)||void 0!==Wt().description)){var Vt={},Kt=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Kt?new Wt(e):void 0===e?Wt():Wt(e);return""===e&&(Vt[t]=!0),t};Se(Kt,Wt);var Yt=Kt.prototype=Wt.prototype;Yt.constructor=Kt;var Zt=Yt.toString,Gt="Symbol(test)"==String(Wt("test")),Xt=/^Symbol\((.*)\)[^)]+$/;Ut(Yt,"description",{configurable:!0,get:function(){var e=y(this)?this.valueOf():this,t=Zt.call(e);if(k(Vt,e))return"";var n=Gt?t.slice(7,-1):t.replace(Xt,"$1");return""===n?void 0:n}}),Oe({global:!0,forced:!0},{Symbol:Kt})}nt("iterator");var Qt=function(e,t){var n=[][e];return!!n&&v(function(){n.call(null,t||function(){throw 1},1)})},Jt=Object.defineProperty,en={},tn=function(e){throw e},nn=function(e,t){if(k(en,e))return en[e];t||(t={});var n=[][e],i=!!k(t,"ACCESSORS")&&t.ACCESSORS,r=k(t,0)?t[0]:tn,o=k(t,1)?t[1]:void 0;return en[e]=!!n&&!v(function(){if(i&&!f)return!0;var e={length:-1};i?Jt(e,1,{enumerable:!0,get:tn}):e[1]=1,n.call(e,r,o)})}
1,rn=ft.forEach,on=Qt("forEach"),an=nn("forEach"),sn=on&&an?[].forEach:function(e){return rn(this,e,1<arguments.length?arguments[1]:void 0)};Oe({target:"Array",proto:!0,forced:[].forEach!=sn},{forEach:sn});var ln=he.indexOf,un=[].indexOf,cn=!!un&&1/[1].indexOf(1,-0)<0,dn=Qt("indexOf"),fn=nn("indexOf",{ACCESSORS:!0,1:0});Oe({target:"Array",proto:!0,forced:cn||!dn||!fn},{indexOf:function(e){return cn?un.apply(this,arguments)||0:ln(this,e,1<arguments.length?arguments[1]:void 0)}});var pn=Je("unscopables"),hn=Array.prototype;null==hn[pn]&&A.f(hn,pn,{configurable:!0,value:We(null)});var mn,gn,vn,yn=function(e){hn[pn][e]=!0},bn={},wn=!v(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),kn=W("IE_PROTO"),Sn=Object.prototype,Tn=wn?Object.getPrototypeOf:function(e){return e=Ne(e),k(e,kn)?e[kn]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Sn:null},xn=Je("iterator"),Cn=!1;[].keys&&("next"in(vn=[].keys())?(gn=Tn(Tn(vn)))!==Object.prototype&&(mn=gn):Cn=!0),null==mn&&(mn={}),k(mn,xn)||I(mn,xn,function(){return this});var _n={IteratorPrototype:mn,BUGGY_SAFARI_ITERATORS:Cn},En=_n.IteratorPrototype,An=function(){return this},In=function(e,t,n){var i=t+" Iterator";return e.prototype=We(En,{next:o(1,n)}),ot(e,i,!1),bn[i]=An,e},Pn=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),i=e instanceof Array}catch(e){}return function(e,t){return E(e),function(e){if(!y(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(t),i?n.call(e,t):e.__proto__=t,e}}():void 0),On=_n.IteratorPrototype,Ln=_n.BUGGY_SAFARI_ITERATORS,Mn=Je("iterator"),jn="values",Nn=function(){return this},Rn=function(e,t,n,i,r,o,a){In(n,t,i);var s,l,u,c=function(e){if(e===r&&m)return m;if(!Ln&&e in p)return p[e];switch(e){case"keys":case jn:case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,h=p[Mn]||p["@@iterator"]||r&&p[r],m=!Ln&&h||c(r),g="Array"==t&&p.entries||h;if(g&&(s=Tn(g.call(new e)),On!==Object.prototype&&s.next&&(Tn(s)!==On&&(Pn?Pn(s,On):"function"!=typeof s[Mn]&&I(s,Mn,Nn)),ot(s,d,!0))),r==jn&&h&&h.name!==jn&&(f=!0,m=function(){return h.call(this)}),p[Mn]!==m&&I(p,Mn,m),bn[t]=m,r)if(l={values:c(jn),keys:o?m:c("keys"),entries:c("entries")},a)for(u in l)!Ln&&!f&&u in p||te(p,u,l[u]);else Oe({target:t,proto:!0,forced:Ln||f},l);return l},Dn="Array Iterator",zn=ee.set,Fn=ee.getterFor(Dn),$n=Rn(Array,"Array",function(e,t){zn(this,{type:Dn,target:u(e),index:0,kind:t})},function(){var e=Fn(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}},"values");bn.Arguments=bn.Array,yn("keys"),yn("values"),yn("entries");var Hn=[].join,qn=w!=Object,Bn=Qt("join",",");Oe({target:"Array",proto:!0,forced:qn||!Bn},{join:function(e){return Hn.call(u(this),void 0===e?",":e)}});var Un,Wn,Vn=function(e,t,n){var i=c(t);i in e?A.f(e,i,o(0,n)):e[i]=n},Kn=re("navigator","userAgent")||"",Yn=g.process,Zn=Yn&&Yn.versions,Gn=Zn&&Zn.v8;Gn?Wn=(Un=Gn.split("."))[0]+Un[1]:Kn&&(!(Un=Kn.match(/Edge\/(\d+)/))||74<=Un[1])&&(Un=Kn.match(/Chrome\/(\d+)/))&&(Wn=Un[1]);var Xn=Wn&&+Wn,Qn=Je("species"),Jn=function(t){return 51<=Xn||!v(function(){var e=[];return(e.constructor={})[Qn]=function(){return{foo:1}},1!==e[t](Boolean).foo})},ei=Jn("slice"),ti=nn("slice",{ACCESSORS:!0,0:0,1:2}),ni=Je("species"),ii=[].slice,ri=Math.max;Oe({target:"Array",proto:!0,forced:!ei||!ti},{slice:function(e,t){var n,i,r,o=u(this),a=ue(o.length),s=fe(e,a),l=fe(void 0===t?a:t,a);if(je(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!je(n.prototype)?y(n)&&null===(n=n[ni])&&(n=void 0):n=void 0,n===Array||void 0===n))return ii.call(o,s,l);for(i=new(void 0===n?Array:n)(ri(l-s,0)),r=0;s<l;s++,r++)s in o&&Vn(i,r,o[s]);return i.length=r,i}});var oi={};oi[Je("toStringTag")]="z";var ai="[object z]"===String(oi),si=Je("toStringTag"),li="Arguments"==h(function(){return arguments}()),ui=ai?h:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),si))?n:li?h(t):"Object"==(i=h(t))&&"function"==typeof t.callee?"Arguments":i},ci=ai?{}.toString:function(){return"[object "+ui(this)+"]"};ai||te(Object.prototype,"toString",ci,{unsafe:!0});var di=function(){var e=E(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function fi(e,t){return RegExp(e,t)}var pi,hi,mi={UNSUPPORTED_Y:v(function(){var e=fi("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),BROKEN_CARET:v(function(){var e=fi("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},gi=RegExp.prototype.exec,vi=String.prototype.replace,yi=gi,bi=(pi=/a/,hi=/b*/g,gi.call(pi,"a"),gi.call(hi,"a"),0!==pi.lastIndex||0!==hi.lastIndex),wi=mi.UNSUPPORTED_Y||mi.BROKEN_CARET,ki=void 0!==/()??/.exec("")[1];(bi||ki||wi)&&(yi=function(e){var t,n,i,r,o=this,a=wi&&o.sticky,s=di.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),0<o.lastIndex&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),ki&&(n=new RegExp("^"+l+"$(?!\\s)",s)),bi&&(t=o.lastIndex),i=gi.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:bi&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),ki&&i&&1<i.length&&vi.call(i[0],n,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)}),i});var Si=yi;Oe({target:"RegExp",proto:!0,forced:/./.exec!==Si},{exec:Si});var Ti="toString",xi=RegExp.prototype,Ci=xi[Ti],_i=v(function(){return"/a/b"!=Ci.call({source:"a",flags:"b"})}),Ei=Ci.name!=Ti;(_i||Ei)&&te(RegExp.prototype,Ti,function(){var e=E(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in xi)?di.call(e):n)},{unsafe:!0});var Ai=function(s){return function(e,t){var n,i,r=String(d(e)),o=se(t),a=r.length;return o<0||a<=o?s?"":void 0:(n=r.charCodeAt(o))<55296||56319<n||o+1===a||(i=r.charCodeAt(o+1))<56320||57343<i?s?r.charAt(o):n:s?r.slice(o,o+2):i-56320+(n-55296<<10)+65536}},Ii={codeAt:Ai(!1),charAt:Ai(!0)},Pi=Ii.charAt,Oi="String Iterator",Li=ee.set,Mi=ee.getterFor(Oi);Rn(String,"String",function(e){Li(this,{type:Oi,string:String(e),index:0})},function(){var e,t=Mi(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=Pi(n,i),t.index+=e.length,{value:e,done:!1})});var ji=Je("species"),Ni=!v(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Ri="$0"==="a".replace(/./,"$0"),Di=Je("replace"),zi=!!/./[Di]&&""===/./[Di]("a","$0"),Fi=!v(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]}),$i=function(n,e,t,i){var r=Je(n),o=!v(function(){var e={};return e[r]=function(){return 7},7!=""[n](e)}),a=o&&!v(function(){var e=!1,t=/a/;return"split"===n&&((t={constructor:{}}).constructor[ji]=function(){return t},t.flags="",t[r]=/./[r]),t.exec=function(){return e=!0,null},t[r](""),!e});
1if(!o||!a||"replace"===n&&(!Ni||!Ri||zi)||"split"===n&&!Fi){var s=/./[r],l=t(r,""[n],function(e,t,n,i,r){return t.exec===Si?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}},{REPLACE_KEEPS_$0:Ri,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:zi}),u=l[0],c=l[1];te(String.prototype,n,u),te(RegExp.prototype,r,2==e?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&I(RegExp.prototype[r],"sham",!0)},Hi=Ii.charAt,qi=function(e,t,n){return t+(n?Hi(e,t).length:1)},Bi=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==h(e))throw TypeError("RegExp#exec called on incompatible receiver");return Si.call(e,t)},Ui=Math.max,Wi=Math.min,Vi=Math.floor,Ki=/\$([$&'`]|\d\d?|<[^>]*>)/g,Yi=/\$([$&'`]|\d\d?)/g;$i("replace",2,function(r,k,S,e){var T=e.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,x=e.REPLACE_KEEPS_$0,C=T?"$":"$0";return[function(e,t){var n=d(this),i=null==e?void 0:e[r];return void 0!==i?i.call(e,n,t):k.call(String(n),e,t)},function(e,t){if(!T&&x||"string"==typeof t&&-1===t.indexOf(C)){var n=S(k,e,this,t);if(n.done)return n.value}var i=E(e),r=String(this),o="function"==typeof t;o||(t=String(t));var a=i.global;if(a){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var u=Bi(i,r);if(null===u)break;if(l.push(u),!a)break;""===String(u[0])&&(i.lastIndex=qi(r,ue(i.lastIndex),s))}for(var c,d="",f=0,p=0;p<l.length;p++){u=l[p];for(var h=String(u[0]),m=Ui(Wi(se(u.index),r.length),0),g=[],v=1;v<u.length;v++)g.push(void 0===(c=u[v])?c:String(c));var y=u.groups;if(o){var b=[h].concat(g,m,r);void 0!==y&&b.push(y);var w=String(t.apply(void 0,b))}else w=_(h,r,m,g,y,t);f<=m&&(d+=r.slice(f,m)+w,f=m+h.length)}return d+r.slice(f)}];function _(o,a,s,l,u,e){var c=s+o.length,d=l.length,t=Yi;return void 0!==u&&(u=Ne(u),t=Ki),k.call(e,t,function(e,t){var n;switch(t.charAt(0)){case"$":return"$";case"&":return o;case"`":return a.slice(0,s);case"'":return a.slice(c);case"<":n=u[t.slice(1,-1)];break;default:var i=+t;if(0===i)return e;if(d<i){var r=Vi(i/10);return 0===r?e:r<=d?void 0===l[r-1]?t.charAt(1):l[r-1]+t.charAt(1):e}n=l[i-1]}return void 0===n?"":n})}});var Zi=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};$i("search",1,function(i,a,s){return[function(e){var t=d(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},function(e){var t=s(a,e,this);if(t.done)return t.value;var n=E(e),i=String(this),r=n.lastIndex;Zi(r,0)||(n.lastIndex=0);var o=Bi(n,i);return Zi(n.lastIndex,r)||(n.lastIndex=r),null===o?-1:o.index}]});var Gi=Je("match"),Xi=function(e){var t;return y(e)&&(void 0!==(t=e[Gi])?!!t:"RegExp"==h(e))},Qi=Je("species"),Ji=function(e,t){var n,i=E(e).constructor;return void 0===i||null==(n=E(i)[Qi])?t:at(n)},er=[].push,tr=Math.min,nr=4294967295,ir=!v(function(){return!RegExp(nr,"y")});$i("split",2,function(r,g,v){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,t){var n=String(d(this)),i=void 0===t?nr:t>>>0;if(0===i)return[];if(void 0===e)return[n];if(!Xi(e))return g.call(n,e,i);for(var r,o,a,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,c=new RegExp(e.source,l+"g");(r=Si.call(c,n))&&!(u<(o=c.lastIndex)&&(s.push(n.slice(u,r.index)),1<r.length&&r.index<n.length&&er.apply(s,r.slice(1)),a=r[0].length,u=o,s.length>=i));)c.lastIndex===r.index&&c.lastIndex++;return u===n.length?!a&&c.test("")||s.push(""):s.push(n.slice(u)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:g.call(this,e,t)}:g,[function(e,t){var n=d(this),i=null==e?void 0:e[r];return void 0!==i?i.call(e,n,t):y.call(String(n),e,t)},function(e,t){var n=v(y,e,this,t,y!==g);if(n.done)return n.value;var i=E(e),r=String(this),o=Ji(i,RegExp),a=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(ir?"y":"g"),l=new o(ir?i:"^(?:"+i.source+")",
1s),u=void 0===t?nr:t>>>0;if(0===u)return[];if(0===r.length)return null===Bi(l,r)?[r]:[];for(var c=0,d=0,f=[];d<r.length;){l.lastIndex=ir?d:0;var p,h=Bi(l,ir?r:r.slice(d));if(null===h||(p=tr(ue(l.lastIndex+(ir?0:d)),r.length))===c)d=qi(r,d,a);else{if(f.push(r.slice(c,d)),f.length===u)return f;for(var m=1;m<=h.length-1;m++)if(f.push(h[m]),f.length===u)return f;d=c=p}}return f.push(r.slice(c)),f}]},!ir);var rr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var or in rr){var ar=g[or],sr=ar&&ar.prototype;if(sr&&sr.forEach!==sn)try{I(sr,"forEach",sn)}catch(e){sr.forEach=sn}}var lr=Je("iterator"),ur=Je("toStringTag"),cr=$n.values;for(var dr in rr){var fr=g[dr],pr=fr&&fr.prototype;if(pr){if(pr[lr]!==cr)try{I(pr,lr,cr)}catch(e){pr[lr]=cr}if(pr[ur]||I(pr,ur,dr),rr[dr])for(var hr in $n)if(pr[hr]!==$n[hr])try{I(pr,hr,$n[hr])}catch(e){pr[hr]=$n[hr]}}}var mr=Je("iterator"),gr=!v(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),n=e.searchParams,i="";return e.pathname="c%20d",n.forEach(function(e,t){n.delete("b"),i+=t+e}),!n.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==n.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!n[mr]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://ÑеÑÑ").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host}),vr=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},yr=Object.assign,br=Object.defineProperty,wr=!yr||v(function(){if(f&&1!==yr({b:1},yr(br({},"a",{enumerable:!0,get:function(){br(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=yr({},e)[n]||Re(yr({},t)).join("")!=i})?function(e,t){for(var n=Ne(e),i=arguments.length,r=1,o=we.f,a=p.f;r<i;)for(var s,l=w(arguments[r++]),u=o?Re(l).concat(o(l)):Re(l),c=u.length,d=0;d<c;)s=u[d++],f&&!a.call(l,s)||(n[s]=l[s]);return n}:yr,kr=function(e){var t=e.return;if(void 0!==t)return E(t.call(e)).value},Sr=function(t,e,n,i){try{return i?e(E(n)[0],n[1]):e(n)}catch(e){throw kr(t),e}},Tr=Je("iterator"),xr=Array.prototype,Cr=function(e){return void 0!==e&&(bn.Array===e||xr[Tr]===e)},_r=Je("iterator"),Er=function(e){if(null!=e)return e[_r]||e["@@iterator"]||bn[ui(e)]},Ar=function(e){var t,n,i,r,o,a,s=Ne(e),l="function"==typeof this?this:Array,u=arguments.length,c=1<u?arguments[1]:void 0,d=void 0!==c,f=Er(s),p=0;if(d&&(c=st(c,2<u?arguments[2]:void 0,2)),null==f||l==Array&&Cr(f))for(n=new l(t=ue(s.length));p<t;p++)a=d?c(s[p],p):s[p],Vn(n,p,a);else for(o=(r=f.call(s)).next,n=new l;!(i=o.call(r)).done;p++)a=d?Sr(r,c,[i.value,p],!0):i.value,Vn(n,p,a);return n.length=p,n},Ir=2147483647,Pr=/[^\0-\u007E]/,Or=/[.\u3002\uFF0E\uFF61]/g,Lr="Overflow: input needs wider integers to process",Mr=Math.floor,jr=String.fromCharCode,Nr=function(e){return e+22+75*(e<26)},Rr=function(e,t,n){var i=0;for(e=n?Mr(e/700):e>>1,e+=Mr(e/t);455<e;i+=36)e=Mr(e/35);return Mr(i+36*e/(e+38))},Dr=function(e){var t,n,i=[],r=(e=function(e){for(var t=[],n=0,i=e.length;n<i;){var r=e.charCodeAt(n++);if(55296<=r&&r<=56319&&n<i){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&r)<<10)+(1023&o)+65536):(t.push(r),n--)}else t.push(r)}return t}(e)).length,o=128,a=0,s=72;for(t=0;t<e.length;t++)(n=e[t])<128&&i.push(jr(n));var l=i.length,u=l;for(l&&i.push("-");u<r;){var c=Ir;for(t=0;t<e.length;t++)o<=(n=e[t])&&n<c&&(c=n);var d=u+1;if(c-o>Mr((Ir-a)/d))throw RangeError(Lr);for(a+=(c-o)*d,o=c,t=0;t<e.length;t++){if((n=e[t])<o&&++a>Ir)throw RangeError(Lr);if(n==o){for(var f=a,p=36;;p+=36){var h=p<=s?1:s+26<=p?26:p-s;if(f<h)break;var m=f-h,g=36-h;i.push(jr(Nr(h+m%g))),f=Mr(m/g)}i.push(jr(Nr(f))),s=Rr(a,d,u==l),a=0,++u}}++a,++o}return i.join("")},zr=function(e,t,n){for(var i in t)te(e,i,t[i],n);return e},Fr=function(e){var t=Er(e);
1if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return E(t.call(e))},$r=re("fetch"),Hr=re("Headers"),qr=Je("iterator"),Br="URLSearchParams",Ur=Br+"Iterator",Wr=ee.set,Vr=ee.getterFor(Br),Kr=ee.getterFor(Ur),Yr=/\+/g,Zr=Array(4),Gr=function(t){try{return decodeURIComponent(t)}catch(e){return t}},Xr=function(e){var t,n=e.replace(Yr," "),i=4;try{return decodeURIComponent(n)}catch(e){for(;i;)n=n.replace((t=i--,Zr[t-1]||(Zr[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))),Gr);return n}},Qr=/[!'()~]|%20/g,Jr={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},eo=function(e){return Jr[e]},to=function(e){return encodeURIComponent(e).replace(Qr,eo)},no=function(e,t){if(t)for(var n,i,r=t.split("&"),o=0;o<r.length;)(n=r[o++]).length&&(i=n.split("="),e.push({key:Xr(i.shift()),value:Xr(i.join("="))}))},io=function(e){this.entries.length=0,no(this.entries,e)},ro=function(e,t){if(e<t)throw TypeError("Not enough arguments")},oo=In(function(e,t){Wr(this,{type:Ur,iterator:Fr(Vr(e).entries),kind:t})},"Iterator",function(){var e=Kr(this),t=e.kind,n=e.iterator.next(),i=n.value;return n.done||(n.value="keys"===t?i.key:"values"===t?i.value:[i.key,i.value]),n}),ao=function(){vr(this,ao,Br);var e,t,n,i,r,o,a,s,l,u=0<arguments.length?arguments[0]:void 0,c=[];if(Wr(this,{type:Br,entries:c,updateURL:function(){},updateSearchParams:io}),void 0!==u)if(y(u))if("function"==typeof(e=Er(u)))for(n=(t=e.call(u)).next;!(i=n.call(t)).done;){if((a=(o=(r=Fr(E(i.value))).next).call(r)).done||(s=o.call(r)).done||!o.call(r).done)throw TypeError("Expected sequence with length 2");c.push({key:a.value+"",value:s.value+""})}else for(l in u)k(u,l)&&c.push({key:l,value:u[l]+""});else no(c,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},so=ao.prototype;zr(so,{append:function(e,t){ro(arguments.length,2);var n=Vr(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){ro(arguments.length,1);for(var t=Vr(this),n=t.entries,i=e+"",r=0;r<n.length;)n[r].key===i?n.splice(r,1):r++;t.updateURL()},get:function(e){ro(arguments.length,1);for(var t=Vr(this).entries,n=e+"",i=0;i<t.length;i++)if(t[i].key===n)return t[i].value;return null},getAll:function(e){ro(arguments.length,1);for(var t=Vr(this).entries,n=e+"",i=[],r=0;r<t.length;r++)t[r].key===n&&i.push(t[r].value);return i},has:function(e){ro(arguments.length,1);for(var t=Vr(this).entries,n=e+"",i=0;i<t.length;)if(t[i++].key===n)return!0;return!1},set:function(e,t){ro(arguments.length,1);for(var n,i=Vr(this),r=i.entries,o=!1,a=e+"",s=t+"",l=0;l<r.length;l++)(n=r[l]).key===a&&(o?r.splice(l--,1):(o=!0,n.value=s));o||r.push({key:a,value:s}),i.updateURL()},sort:function(){var e,t,n,i=Vr(this),r=i.entries,o=r.slice();for(n=r.length=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(r[t].key>e.key){r.splice(t,0,e);break}t===n&&r.push(e)}i.updateURL()},forEach:function(e){for(var t,n=Vr(this).entries,i=st(e,1<arguments.length?arguments[1]:void 0,3),r=0;r<n.length;)i((t=n[r++]).value,t.key,this)},keys:function(){return new oo(this,"keys")},values:function(){return new oo(this,"values")},entries:function(){return new oo(this,"entries")}},{enumerable:!0}),te(so,qr,so.entries),te(so,"toString",function(){for(var e,t=Vr(this).entries,n=[],i=0;i<t.length;)e=t[i++],n.push(to(e.key)+"="+to(e.value));return n.join("&")},{enumerable:!0}),ot(ao,Br),Oe({global:!0,forced:!gr},{URLSearchParams:ao}),gr||"function"!=typeof $r||"function"!=typeof Hr||Oe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,i,r=[e];return 1<arguments.length&&(t=arguments[1],y(t)&&(n=t.body,ui(n)===Br&&((i=t.headers?new Hr(t.headers):new Hr).has("content-type")||i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=We(t,{body:o(0,String(n)),headers:o(0,i)}))),r.push(t)),$r.apply(this,r)}});var lo,uo={URLSearchParams:ao,getState:Vr},co=Ii.codeAt,fo=g.URL,po=uo.URLSearchParams,ho=uo.getState,mo=ee.set,go=ee.getterFor("URL"),vo=Math.floor,yo=Math.pow,bo="Invalid scheme",wo="Invalid host",ko="Invalid port",So=/[A-Za-z]/,To=/[\d+-.A-Za-z]/,xo=/\d/,Co=/^(0x|0X)/,_o=/^[0-7]+$/,Eo=/^\d+$/,Ao=/^[\dA-Fa-f]+$/,Io=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,Po=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,Oo=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Lo=/[\u0009\u000A\u000D]/g,Mo=function(e,t){var n,i,r;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return wo;if(!(n=No(t.slice(1,-1))))return wo;e.host=n}else if(Bo(e)){if(t=function(e){var t,n,i=[],r=e.toLowerCase().replace(Or,".").split(".");for(t=0;t<r.length;t++)n=r[t],i.push(Pr.test(n)?"xn--"+Dr(n):n);return i.join(".")}(t),Io.test(t))return wo;if(null===(n=jo(t)))return wo;e.host=n}else{if(Po.test(t))return wo;for(n="",i=Ar(t),r=0;r<i.length;r++)n+=Ho(i[r],Do);e.host=n}},jo=function(e){var t,n,i,r,o,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),4<(t=l.length))return e;for(n=[],i=0;i<t;i++){if(""==(r=l[i]))return e;if(o=10,1<r.length&&"0"==r.charAt(0)&&(o=Co.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)a=0;else{if(!(10==o?Eo:8==o?_o:Ao).test(r))return e;a=parseInt(r,o)}n.push(a)}for(i=0;i<t;i++)if(a=n[i],i==t-1){if(a>=yo(256,5-t))return null}else if(255<a)return null;for(s=n.pop(),i=0;i<n.length;i++)s+=n[i]*yo(256,3-i);return s},No=function(e){var t,n,i,r,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,f=function(){return e.charAt(d)};
vendor: 4,653 bytes, line 1
1if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=n=0;n<4&&Ao.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,6<u)return;for(i=0;f();){if(r=null,0<i){if(!("."==f()&&i<4))return;d++}if(!xo.test(f()))return;for(;xo.test(f());){if(o=parseInt(f(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(255<r)return;d++}l[u]=256*l[u]+r,2!=++i&&4!=i||u++}if(4!=i)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(a=u-c,u=7;0!=u&&0<a;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l},Ro=function(e){var t,n,i,r;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=vo(e/256);return t.join(".")}if("object"!=typeof e)return e;for(t="",i=function(e){for(var t=null,n=1,i=null,r=0,o=0;o<8;o++)0!==e[o]?(n<r&&(t=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return n<r&&(t=i,n=r),t}(e),n=0;n<8;n++)r&&0===e[n]||(r&&(r=!1),i===n?(t+=n?":":"::",r=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"},Do={},zo=wr({},Do,{" ":1,'"':1,"<":1,">":1,"`":1}),Fo=wr({},zo,{"#":1,"?":1,"{":1,"}":1}),$o=wr({},Fo,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ho=function(e,t){var n=co(e,0);return 32<n&&n<127&&!k(t,e)?e:encodeURIComponent(e)},qo={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Bo=function(e){return k(qo,e.scheme)},Uo=function(e){return""!=e.username||""!=e.password},Wo=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Vo=function(e,t){var n;return 2==e.length&&So.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Ko=function(e){var t;return 1<e.length&&Vo(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Yo=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Vo(t[0],!0)||t.pop()},Zo={},Go={},Xo={},Qo={},Jo={},ea={},ta={},na={},ia={},ra={},oa={},aa={},sa={},la={},ua={},ca={},da={},fa={},pa={},ha={},ma={},ga=function(e,t,n,i){var r,o,a,s,l,u,c=n||Zo,d=0,f="",p=!1,h=!1,m=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(Oo,"")),t=t.replace(Lo,""),r=Ar(t);d<=r.length;){switch(o=r[d],c){case Zo:if(!o||!So.test(o)){if(n)return bo;c=Xo;continue}f+=o.toLowerCase(),c=Go;break;case Go:if(o&&(To.test(o)||"+"==o||"-"==o||"."==o))f+=o.toLowerCase();else{if(":"!=o){if(n)return bo;f="",c=Xo,d=0;continue}if(n&&(Bo(e)!=k(qo,f)||"file"==f&&(Uo(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(Bo(e)&&qo[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?c=la:Bo(e)&&i&&i.scheme==e.scheme?c=Qo:Bo(e)?c=na:"/"==r[d+1]?(c=Jo,d++):(e.cannotBeABaseURL=!0,e.path.push(""),c=pa)}break;case Xo:if(!i||i.cannotBeABaseURL&&"#"!=o)return bo;if(i.cannotBeABaseURL&&"#"==o){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,c=ma;break}c="file"==i.scheme?la:ea;continue;case Qo:if("/"!=o||"/"!=r[d+1]){c=ea;continue}c=ia,d++;break;case Jo:if("/"==o){c=ra;break}c=fa;continue;case ea:if(e.scheme=i.scheme,o==lo)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==o||"\\"==o&&Bo(e))c=ta;else if("?"==o)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",c=ha;else{if("#"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),c=fa;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=ma}break;case ta:if(!Bo(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,c=fa;continue}c=ra}else c=ia;break;case na:if(c=ia,"/"!=o||"/"!=f.charAt(d+1))continue;d++;break;case ia:if("/"==o||"\\"==o)break;c=ra;continue;case ra:if("@"==o){p&&(f="%40"+f),p=!0,a=Ar(f);for(var g=0;g<a.length;g++){var v=a[g];if(":"!=v||m){var y=Ho(v,$o);m?e.password+=y:e.username+=y}else m=!0}f=""}else if(o==lo||"/"==o||"?"==o||"#"==o||"\\"==o&&Bo(e)){if(p&&""==f)return"Invalid authority";d-=Ar(f).length+1,f="",c=oa}else f+=o;break;case oa:case aa:if(n&&"file"==e.scheme){c=ca;continue}if(":"!=o||h){if(o==lo||"/"==o||"?"==o||"#"==o||"\\"==o&&Bo(e)){if(Bo(e)&&""==f)return wo;if(n&&""==f&&(Uo(e)||null!==e.port))return;if(s=Mo(e,f))return s;if(f="",c=da,n)return;continue}"["==o?h=!0:"]"==o&&(h=!1),f+=o}else{if(""==f)return wo;if(s=Mo(e,f))return s;if(f="",c=sa,n==aa)return}break;case sa:if(!xo.test(o)){if(o==lo||"/"==o||"?"==o||"#"==o||"\\"==o&&Bo(e)||n){if
vendor: 5,673 bytes, line 1
1(""!=f){var b=parseInt(f,10);if(65535<b)return ko;e.port=Bo(e)&&b===qo[e.scheme]?null:b,f=""}if(n)return;c=da;continue}return ko}f+=o;break;case la:if(e.scheme="file","/"==o||"\\"==o)c=ua;else{if(!i||"file"!=i.scheme){c=fa;continue}if(o==lo)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==o)e.host=i.host,e.path=i.path.slice(),e.query="",c=ha;else{if("#"!=o){Ko(r.slice(d).join(""))||(e.host=i.host,e.path=i.path.slice(),Yo(e)),c=fa;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",c=ma}}break;case ua:if("/"==o||"\\"==o){c=ca;break}i&&"file"==i.scheme&&!Ko(r.slice(d).join(""))&&(Vo(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),c=fa;continue;case ca:if(o==lo||"/"==o||"\\"==o||"?"==o||"#"==o){if(!n&&Vo(f))c=fa;else if(""==f){if(e.host="",n)return;c=da}else{if(s=Mo(e,f))return s;if("localhost"==e.host&&(e.host=""),n)return;f="",c=da}continue}f+=o;break;case da:if(Bo(e)){if(c=fa,"/"!=o&&"\\"!=o)continue}else if(n||"?"!=o)if(n||"#"!=o){if(o!=lo&&(c=fa,"/"!=o))continue}else e.fragment="",c=ma;else e.query="",c=ha;break;case fa:if(o==lo||"/"==o||"\\"==o&&Bo(e)||!n&&("?"==o||"#"==o)){if(".."===(u=(u=f).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(Yo(e),"/"==o||"\\"==o&&Bo(e)||e.path.push("")):"."===(l=f)||"%2e"===l.toLowerCase()?"/"==o||"\\"==o&&Bo(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Vo(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(o==lo||"?"==o||"#"==o))for(;1<e.path.length&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",c=ha):"#"==o&&(e.fragment="",c=ma)}else f+=Ho(o,Fo);break;case pa:"?"==o?(e.query="",c=ha):"#"==o?(e.fragment="",c=ma):o!=lo&&(e.path[0]+=Ho(o,Do));break;case ha:n||"#"!=o?o!=lo&&("'"==o&&Bo(e)?e.query+="%27":e.query+="#"==o?"%23":Ho(o,Do)):(e.fragment="",c=ma);break;case ma:o!=lo&&(e.fragment+=Ho(o,zo))}d++}},va=function(e){var t,n,i=vr(this,va,"URL"),r=1<arguments.length?arguments[1]:void 0,o=String(e),a=mo(i,{type:"URL"});if(void 0!==r)if(r instanceof va)t=go(r);else if(n=ga(t={},String(r)))throw TypeError(n);if(n=ga(a,o,null,t))throw TypeError(n);var s=a.searchParams=new po,l=ho(s);l.updateSearchParams(a.query),l.updateURL=function(){a.query=String(s)||null},f||(i.href=ba.call(i),i.origin=wa.call(i),i.protocol=ka.call(i),i.username=Sa.call(i),i.password=Ta.call(i),i.host=xa.call(i),i.hostname=Ca.call(i),i.port=_a.call(i),i.pathname=Ea.call(i),i.search=Aa.call(i),i.searchParams=Ia.call(i),i.hash=Pa.call(i))},ya=va.prototype,ba=function(){var e=go(this),t=e.scheme,n=e.username,i=e.password,r=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==r?(u+="//",Uo(e)&&(u+=n+(i?":"+i:"")+"@"),u+=Ro(r),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},wa=function(){var e=go(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Bo(e)?t+"://"+Ro(e.host)+(null!==n?":"+n:""):"null"},ka=function(){return go(this).scheme+":"},Sa=function(){return go(this).username},Ta=function(){return go(this).password},xa=function(){var e=go(this),t=e.host,n=e.port;return null===t?"":null===n?Ro(t):Ro(t)+":"+n},Ca=function(){var e=go(this).host;return null===e?"":Ro(e)},_a=function(){var e=go(this).port;return null===e?"":String(e)},Ea=function(){var e=go(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Aa=function(){var e=go(this).query;return e?"?"+e:""},Ia=function(){return go(this).searchParams},Pa=function(){var e=go(this).fragment;return e?"#"+e:""},Oa=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(f&&De(ya,{href:Oa(ba,function(e){var t=go(this),n=String(e),i=ga(t,n);if(i)throw TypeError(i);ho(t.searchParams).updateSearchParams(t.query)}),origin:Oa(wa),protocol:Oa(ka,function(e){var t=go(this);ga(t,String(e)+":",Zo)}),username:Oa(Sa,function(e){var t=go(this),n=Ar(String(e));if(!Wo(t)){t.username="";for(var i=0;i<n.length;i++)t.username+=Ho(n[i],$o)}}),password:Oa(Ta,function(e){var t=go(this),n=Ar(String(e));if(!Wo(t)){t.password="";for(var i=0;i<n.length;i++)t.password+=Ho(n[i],$o)}}),host:Oa(xa,function(e){var t=go(this);t.cannotBeABaseURL||ga(t,String(e),oa)}),hostname:Oa(Ca,function(e){var t=go(this);t.cannotBeABaseURL||ga(t,String(e),aa)}),port:Oa(_a,function(e){var t=go(this);Wo(t)||(""==(e=String(e))?t.port=null:ga(t,e,sa))}),pathname:Oa(Ea,function(e){var t=go(this);t.cannotBeABaseURL||(t.path=[],ga(t,e+"",da))}),search:Oa(Aa,function(e){var t=go(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",ga(t,e,ha)),ho(t.searchParams).updateSearchParams(t.query)}),searchParams:Oa(Ia),hash:Oa(Pa,function(e){var t=go(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",ga(t,e,ma)):t.fragment=null})}),te(ya,"toJSON",function(){return ba.call(this)},{enumerable:!0}),te(ya,"toString",function(){return ba.call(this)},{enumerable:!0}),fo){var La=fo.createObjectURL,Ma=fo.revokeObjectURL;La&&te(va,"createObjectURL",function(e){return La.apply(fo,arguments)}),Ma&&te(va,"revokeObjectURL",function(e){return Ma.apply(fo,arguments)})}function ja(e){return(ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Na(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ra(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function Da(e,t,n){return t&&Ra(e.prototype,t),n&&Ra(e,n),e}function za(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function $a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fa(Object(n),!0).forEach(function(e){za(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fa(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ha(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function qa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}(e,t)||Ua(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ba(e){return function(e){if(Array.isArray(e))return Wa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ua(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ua(e,t){if(e){if("string"==typeof e)return Wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wa(e,t):void 0}}function Wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}ot(va,"URL"),Oe({global:!0,forced:!gr,sham:!f},{URL:va}),function(t){var e,n,i=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),r=function(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e},o=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var e=t.URLSearchParams;return"a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set&&"function"==typeof e.prototype.entries}catch(e){return!1}})()||((n=(e=function e(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var n=ja(t);if("undefined"===n);else if("string"===n)""!==t&&this._fromString(t);else if(t instanceof e){var i=this;t.forEach(function(e,t){i.append(t,e)})}else{if(null===t||"object"!==n)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++){var o=t[r];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var a in t)t.hasOwnProperty(a)&&this.append(a,t[a])}}).prototype).append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},n.delete=function(e){delete this._entries[e]},n.get=function(e){return e in this._entries?this._entries[e][0]:null},n.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},n.has=function(e){return e in this._entries},n.set=function(e,t){this._entries[e]=[String(t)]}
1,n.forEach=function(e,t){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)e.call(t,n[r],i,this)}},n.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),r(n)},n.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),r(t)},n.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),r(n)},i&&(n[Symbol.iterator]=n.entries),n.toString=function(){var n=[];return this.forEach(function(e,t){n.push(o(t)+"="+o(e))}),n.join("&")},t.URLSearchParams=e);var s=t.URLSearchParams.prototype;"function"!=typeof s.sort&&(s.sort=function(){var n=this,i=[];this.forEach(function(e,t){i.push([t,e]),n._entries||n.delete(t)}),i.sort(function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0}),n._entries&&(n._entries={});for(var e=0;e<i.length;e++)this.append(i[e][0],i[e][1])}),"function"!=typeof s._fromString&&Object.defineProperty(s,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var n=[];this.forEach(function(e,t){n.push(t)});for(var t=0;t<n.length;t++)this.delete(n[t])}var i,r=(e=e.replace(/^\?/,"")).split("&");for(t=0;t<r.length;t++)i=r[t].split("="),this.append(a(i[0]),1<i.length?a(i[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e),function(d){var t,e,n;if(function(){try{var e=new d.URL("b","http://a");return e.pathname="c d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||(t=d.URL,n=(e=function(e,t){"string"!=typeof e&&(e=String(e)),t&&"string"!=typeof t&&(t=String(t));var n,i=document;if(t&&(void 0===d.location||t!==d.location.href)){t=t.toLowerCase(),(n=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=t,i.head.appendChild(n);try{if(0!==n.href.indexOf(t))throw new Error(n.href)}catch(e){throw new Error("URL unable to set base "+t+" due to "+e)}}var r=i.createElement("a");r.href=e,n&&(i.body.appendChild(r),r.href=r.href);var o=i.createElement("input");if(o.type="url",o.value=e,":"===r.protocol||!/:/.test(r.href)||!o.checkValidity()&&!t)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:r});var a=new d.URLSearchParams(this.search),s=!0,l=!0,u=this;["append","delete","set"].forEach(function(e){var t=a[e];a[e]=function(){t.apply(a,arguments),s&&(l=!1,u.search=a.toString(),l=!0)}}),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var c=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==c&&(c=this.search,l&&(s=!1,this.searchParams._fromString(this.search),s=!0))}})}).prototype,["hash","host","hostname","port","protocol"].forEach(function(e){var t;t=e,Object.defineProperty(n,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}),Object.defineProperty(n,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(n,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),e.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},e.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},d.URL=e),void 0!==d.location&&!("origin"in d.location)){var i=function(){return d.location.protocol+"//"+d.location.hostname+(d.location.port?":"+d.location.port:"")};try{Object.defineProperty(d.location,"origin",{get:i,enumerable:!0})}catch(e){setInterval(function(){d.location.origin=i()},100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e);var Va=Je("isConcatSpreadable"),Ka=9007199254740991,Ya="Maximum allowed index exceeded",Za=51<=Xn||!v(function(){var e=[];return e[Va]=!1,e.concat()[0]!==e}),Ga=Jn("concat"),Xa=function(e){if(!y(e))return!1;var t=e[Va];return void 0!==t?!!t:je(e)};Oe({target:"Array",proto:!0,forced:!Za||!Ga},{concat:function(e){var t,n,i,r,o,a=Ne(this),s=ut(a,0),l=0;for(t=-1,i=arguments.length;t<i;t++)if(o=-1===t?a:arguments[t],Xa(o)){if(r=ue(o.length),Ka<l+r)throw TypeError(Ya);for(n=0;n<r;n++,l++)n in o&&Vn(s,l,o[n])}else{if(Ka<=l)throw TypeError(Ya);Vn(s,l++,o)}return s.length=l,s}});var Qa=ft.filter,Ja=Jn("filter"),es=nn("filter");Oe({target:"Array",proto:!0,forced:!Ja||!es},{filter:function(e){return Qa(this,e,1<arguments.length?arguments[1]:void 0)}});var ts=ft.find,ns="find",is=!0,rs=nn(ns);ns in[]&&Array(1).find(function(){is=!1}),Oe({target:"Array",proto:!0,forced:is||!rs},{find:function(e){return ts(this,e,1<arguments.length?arguments[1]:void 0)}}),yn(ns);var os=Je("iterator"),as=!1;try{var ss=0,ls={next:function(){return{done:!!ss++}},return:function(){as=!0}};ls[os]=function(){return this},Array.from(ls,function(){throw 2})}catch(e){}var us=function(e,t){if(!t&&!as)return!1;var n=!1;try{var i={};i[os]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},cs=!us(function(e){Array.from(e)});Oe({target:"Array",stat:!0,forced:cs},{from:Ar});var ds=he.includes,fs=nn("indexOf",{ACCESSORS:!0,1:0});Oe({target:"Array",proto:!0,forced:!fs},{includes:function(e){return ds(this,e,1<arguments.length?arguments[1]:void 0)}}),yn("includes");var ps=ft.map,hs=Jn("map"),ms=nn("map");Oe({target:"Array",proto:!0,forced:!hs||!ms},{map:function(e){return ps(this,e,1<arguments.length?arguments[1]:void 0)}});var gs=function(e,t,n){var i,r;return Pn&&"function"==typeof(i=t.constructor)&&i!==n&&y(r=i.prototype)&&r!==n.prototype&&Pn(e,r),e},vs="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff",ys="["+vs+"]",bs=RegExp("^"+ys+ys+"*"),ws=RegExp(ys+ys+"*$"),ks=function(n){return function(e){var t=String(d(e));return 1&n&&(t=t.replace(bs,"")),2&n&&(t=t.replace(ws,"")),t}},Ss={start:ks(1),end:ks(2),trim:ks(3)},Ts=be.f,xs=C.f,Cs=A.f,_s=Ss.trim,Es="Number",As=g[Es],Is=As.prototype,Ps=h(We(Is))==Es,Os=function(e){var t,n,i,r,o,a,s,l,u=c(e,!1);
1if("string"==typeof u&&2<u.length)if(43===(t=(u=_s(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||r<l)return NaN;return parseInt(o,i)}return+u};if(Ie(Es,!As(" 0o1")||!As("0b1")||As("+0x1"))){for(var Ls,Ms=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof Ms&&(Ps?v(function(){Is.valueOf.call(n)}):h(n)!=Es)?gs(new As(Os(t)),n,Ms):Os(t)},js=f?Ts(As):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Ns=0;js.length>Ns;Ns++)k(As,Ls=js[Ns])&&!k(Ms,Ls)&&Cs(Ms,Ls,xs(As,Ls));(Ms.prototype=Is).constructor=Ms,te(g,Es,Ms)}var Rs=v(function(){Re(1)});Oe({target:"Object",stat:!0,forced:Rs},{keys:function(e){return Re(Ne(e))}});var Ds=p.f,zs=function(s){return function(e){for(var t,n=u(e),i=Re(n),r=i.length,o=0,a=[];o<r;)t=i[o++],f&&!Ds.call(n,t)||a.push(s?[t,n[t]]:n[t]);return a}},Fs={entries:zs(!0),values:zs(!1)},$s=Fs.values;Oe({target:"Object",stat:!0},{values:function(e){return $s(e)}});var Hs=function(e){if(Xi(e))throw TypeError("The method doesn't accept regular expressions");return e},qs=Je("match"),Bs=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[qs]=!1,"/./"[t](n)}catch(e){}}return!1};Oe({target:"String",proto:!0,forced:!Bs("includes")},{includes:function(e){return!!~String(d(this)).indexOf(Hs(e),1<arguments.length?arguments[1]:void 0)}});var Us=!v(function(){return Object.isExtensible(Object.preventExtensions({}))}),Ws=t(function(e){var t=A.f,n=B("meta"),i=0,r=Object.isExtensible||function(){return!0},o=function(e){t(e,n,{value:{objectID:"O"+ ++i,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!k(e,n)){if(!r(e))return"F";if(!t)return"E";o(e)}return e[n].objectID},getWeakData:function(e,t){if(!k(e,n)){if(!r(e))return!0;if(!t)return!1;o(e)}return e[n].weakData},onFreeze:function(e){return Us&&a.REQUIRED&&r(e)&&!k(e,n)&&o(e),e}};V[n]=!0}),Vs=(Ws.REQUIRED,Ws.fastKey,Ws.getWeakData,Ws.onFreeze,function(e,t){this.stopped=e,this.result=t}),Ks=function(e,t,n){var i,r,o,a,s,l,u,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=st(t,c,1+d+p),m=function(e){return i&&kr(i),new Vs(!0,e)},g=function(e){return d?(E(e),p?h(e[0],e[1],m):h(e[0],e[1])):p?h(e,m):h(e)};if(f)i=e;else{if("function"!=typeof(r=Er(e)))throw TypeError("Target is not iterable");if(Cr(r)){for(o=0,a=ue(e.length);o<a;o++)if((s=g(e[o]))&&s instanceof Vs)return s;return new Vs(!1)}i=r.call(e)}for(l=i.next;!(u=l.call(i)).done;){try{s=g(u.value)}catch(e){throw kr(i),e}if("object"==typeof s&&s&&s instanceof Vs)return s}return new Vs(!1)},Ys=Ws.getWeakData,Zs=ee.set,Gs=ee.getterFor,Xs=ft.find,Qs=ft.findIndex,Js=0,el=function(e){return e.frozen||(e.frozen=new tl)},tl=function(){this.entries=[]},nl=function(e,t){return Xs(e.entries,function(e){return e[0]===t})};tl.prototype={get:function(e){var t=nl(this,e);if(t)return t[1]},has:function(e){return!!nl(this,e)},set:function(e,t){var n=nl(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(t){var e=Qs(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var il={getConstructor:function(e,n,i,r){var o=e(function(e,t){vr(e,o,n),Zs(e,{type:n,id:Js++,frozen:void 0}),null!=t&&Ks(t,e[r],{that:e,AS_ENTRIES:i})}),a=Gs(n),s=function(e,t,n){var i=a(e),r=Ys(E(t),!0);return!0===r?el(i).set(t,n):r[i.id]=n,e};return zr(o.prototype,{delete:function(e){var t=a(this);if(!y(e))return!1;var n=Ys(e);return!0===n?el(t).delete(e):n&&k(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!y(e))return!1;var n=Ys(e);return!0===n?el(t).has(e):n&&k(n,t.id)}}),zr(o.prototype,i?{get:function(e){var t=a(this);if(y(e)){var n=Ys(e);return!0===n?el(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),o}},rl=(t(function(e){var i,r=ee.enforce,t=!g.ActiveXObject&&"ActiveXObject"in g,o=Object.isExtensible,n=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},a=e.exports=function(i,e,t){var r=-1!==i.indexOf("Map"),o=-1!==i.indexOf("Weak"),a=r?"set":"add",s=g[i],l=s&&s.prototype,u=s,n={},c=function(e){var n=l[e];te(l,e,"add"==e?function(e){return n.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!y(e))&&n.call(this,0===e?0:e)}:"get"==e?function(e){return o&&!y(e)?void 0:n.call(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!y(e))&&n.call(this,0===e?0:e)}:function(e,t){return n.call(this,0===e?0:e,t),this})};if(Ie(i,"function"!=typeof s||!(o||l.forEach&&!v(function(){(new s).entr
1ies().next()}))))u=t.getConstructor(e,i,r,a),Ws.REQUIRED=!0;else if(Ie(i,!0)){var d=new u,f=d[a](o?{}:-0,1)!=d,p=v(function(){d.has(1)}),h=us(function(e){new s(e)}),m=!o&&v(function(){for(var e=new s,t=5;t--;)e[a](t,t);return!e.has(-0)});h||(((u=e(function(e,t){vr(e,u,i);var n=gs(new s,e,u);return null!=t&&Ks(t,n[a],{that:n,AS_ENTRIES:r}),n})).prototype=l).constructor=u),(p||m)&&(c("delete"),c("has"),r&&c("get")),(m||f)&&c(a),o&&l.clear&&delete l.clear}return n[i]=u,Oe({global:!0,forced:u!=s},n),ot(u,i),o||t.setStrong(u,i,r),u}("WeakMap",n,il);if(F&&t){i=il.getConstructor(n,"WeakMap",!0),Ws.REQUIRED=!0;var s=a.prototype,l=s.delete,u=s.has,c=s.get,d=s.set;zr(s,{delete:function(e){if(!y(e)||o(e))return l.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),l.call(this,e)||t.frozen.delete(e)},has:function(e){if(!y(e)||o(e))return u.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),u.call(this,e)||t.frozen.has(e)},get:function(e){if(!y(e)||o(e))return c.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),u.call(this,e)?c.call(this,e):t.frozen.get(e)},set:function(e,t){if(y(e)&&!o(e)){var n=r(this);n.frozen||(n.frozen=new i),u.call(this,e)?d.call(this,e,t):n.frozen.set(e,t)}else d.call(this,e,t);return this}})}}),ft.every),ol=Qt("every"),al=nn("every");Oe({target:"Array",proto:!0,forced:!ol||!al},{every:function(e){return rl(this,e,1<arguments.length?arguments[1]:void 0)}}),Oe({target:"Object",stat:!0,forced:Object.assign!==wr},{assign:wr});var sl,ll=Ss.trim;Oe({target:"String",proto:!0,forced:(sl="trim",v(function(){return!!vs[sl]()||"âÂ
á "!="âÂ
á "[sl]()||vs[sl].name!==sl}))},{trim:function(){return ll(this)}});var ul=ft.some,cl=Qt("some"),dl=nn("some");Oe({target:"Array",proto:!0,forced:!cl||!dl},{some:function(e){return ul(this,e,1<arguments.length?arguments[1]:void 0)}});var fl="".repeat||function(e){var t=String(d(this)),n="",i=se(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;0<i;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n},pl=1..toFixed,hl=Math.floor,ml=function(e,t,n){return 0===t?n:t%2==1?ml(e,t-1,n*e):ml(e*e,t/2,n)},gl=pl&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!v(function(){pl.call({})});Oe({target:"Number",proto:!0,forced:gl},{toFixed:function(e){var t,n,i,r,o=function(e){if("number"!=typeof e&&"Number"!=h(e))throw TypeError("Incorrect invocation");return+e}(this),a=se(e),s=[0,0,0,0,0,0],l="",u="0",c=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*s[n],s[n]=i%1e7,i=hl(i/1e7)},d=function(e){for(var t=6,n=0;0<=--t;)n+=s[t],s[t]=hl(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";0<=--e;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+fl.call("0",7-n.length)+n}return t};if(a<0||20<a)throw RangeError("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return String(o);if(o<0&&(l="-",o=-o),1e-21<o)if(n=(t=function(e){for(var t=0,n=e;4096<=n;)t+=12,n/=4096;for(;2<=n;)t+=1,n/=2;return t}(o*ml(2,69,1))-69)<0?o*ml(2,-t,1):o/ml(2,t,1),n*=4503599627370496,0<(t=52-t)){for(c(0,n),i=a;7<=i;)c(1e7,0),i-=7;for(c(ml(10,i,1),0),i=t-1;23<=i;)d(1<<23),i-=23;d(1<<i),c(1,1),d(2),u=f()}else c(0,n),c(1<<-t,0),u=f()+fl.call("0",a);return u=0<a?l+((r=u.length)<=a?"0."+fl.call("0",a-r)+u:u.slice(0,r-a)+"."+u.slice(r-a)):l+u}});var vl=Fs.entries;Oe({target:"Object",stat:!0},{entries:function(e){return vl(e)}}),Oe({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var yl=C.f,bl=v(function(){yl(1)});function wl(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function kl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function Sl(r){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?kl(Object(o),!0).forEach(function(e){var t,n,i;t=r,i=o[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):kl(Object(o)).forEac
1h(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))})}return r}Oe({target:"Object",stat:!0,forced:!f||bl,sham:!f},{getOwnPropertyDescriptor:function(e,t){return yl(u(e),t)}}),Oe({target:"Object",stat:!0,sham:!f},{getOwnPropertyDescriptors:function(e){for(var t,n,i=u(e),r=C.f,o=ke(i),a={},s=0;o.length>s;)void 0!==(n=r(i,t=o[s++]))&&Vn(a,t,n);return a}}),$i("match",1,function(i,u,c){return[function(e){var t=d(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},function(e){var t=c(u,e,this);if(t.done)return t.value;var n=E(e),i=String(this);if(!n.global)return Bi(n,i);for(var r,o=n.unicode,a=[],s=n.lastIndex=0;null!==(r=Bi(n,i));){var l=String(r[0]);""===(a[s]=l)&&(n.lastIndex=qi(i,ue(n.lastIndex),o)),s++}return 0===s?null:a}]});var Tl={addCSS:!0,thumbWidth:15,watch:!0};var xl=function(e){return null!=e?e.constructor:null},Cl=function(e,t){return!!(e&&t&&e instanceof t)},_l=function(e){return null==e},El=function(e){return xl(e)===Object},Al=function(e){return xl(e)===String},Il=function(e){return Array.isArray(e)},Pl=function(e){return Cl(e,NodeList)},Ol=Al,Ll=Il,Ml=Pl,jl=function(e){return Cl(e,Element)},Nl=function(e){return Cl(e,Event)},Rl=function(e){return _l(e)||(Al(e)||Il(e)||Pl(e))&&!e.length||El(e)&&!Object.keys(e).length};function Dl(e,t){if(t<1){var n=(i="".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?Math.max(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0;return parseFloat(e.toFixed(n))}var i;return Math.round(e/t)*t}var zl,Fl,$l,Hl=function(){function u(e,t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,u),jl(e)?this.element=e:Ol(e)&&(this.element=document.querySelector(e)),jl(this.element)&&Rl(this.element.rangeTouch)&&(this.config=Sl({},Tl,{},t),this.init())}return e=u,n=[{key:"setup",value:function(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=null;if(Rl(n)||Ol(n)?e=Array.from(document.querySelectorAll(Ol(n)?n:'input[type="range"]')):jl(n)?e=[n]:Ml(n)?e=Array.from(n):Ll(n)&&(e=n.filter(jl)),Rl(e))return null;var i=Sl({},Tl,{},t);Ol(n)&&i.watch&&new MutationObserver(function(e){Array.from(e).forEach(function(e){Array.from(e.addedNodes).forEach(function(e){var t;jl(e)&&function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t=n)&&new u(e,i)})})}).observe(document.body,{childList:!0,subtree:!0});return e.map(function(e){return new u(e,t)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}],(t=[{key:"init",value:function(){u.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){u.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(e){t.element[n](e,function(e){return t.set(e)},!1)})}},{key:"get",value:function(e){if(!u.enabled||!Nl(e))return null;var t,n=e.target,i=e.changedTouches[0],r=parseFloat(n.getAttribute("min"))||0,o=parseFloat(n.getAttribute("max"))||100,a=parseFloat(n.getAttribute("step"))||1,s=n.getBoundingClientRect(),l=100/s.width*(this.config.thumbWidth/2)/100;return(t=100/s.width*(i.clientX-s.left))<0?t=0:100<t&&(t=100),t<50?t-=(100-2*t)*l:50<t&&(t+=2*(t-50)*l),r+Dl(t/100*(o-r),a)}},{key:"set",value:function(e){u.enabled&&Nl(e)&&!e.target.disabled&&(e.preventDefault(),e.target.value=this.get(e),function(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}(e.target,"touchend"===e.type?"change":"input"))}}])&&wl(e.prototype,t),n&&wl(e,n),u;var e,t,n}(),ql=g.Promise,Bl=Je("species"),Ul=function(e){var t=re(e),n=A.f;f&&t&&!t[Bl]&&n(t,Bl,{configurable:!0,get:function(){return this}})},Wl=/(iphone|ipod|ipad).*applewebkit/i.test(Kn),Vl="process"==h(g.process),Kl=g.location,Yl=g.setImmediate,Zl=g.clearImmediate,Gl=g.process,Xl=g.MessageChannel,Ql=g.Dispatch,Jl=0,eu={},tu="onreadystatechange",nu=function(e){if(eu.hasOwnProperty(e)){var t=eu[e];delete eu[e],t()}},iu=function(e){return function(){nu(e)}},ru=function(e){nu(e.data)},ou=function(e){g.postMessage(e+"",Kl.protocol+"//"+Kl.host)};Yl&&Zl||(Yl=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return eu[++Jl]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},zl(Jl),Jl},Zl=function(e){delete eu[e]},Vl?zl=function(e){Gl.nextTick(iu(e))}:Ql&&Ql.now?zl=function(e){Ql.now(iu(e))}:Xl&&!Wl?($l=(Fl=new Xl).port2,Fl.port1.onmessage=ru,zl=st($l.postMessage,$l,1)):g.addEventListener&&"function"==typeof postMessage&&!g.importScripts&&Kl&&"file:"!==Kl.protocol&&!v(ou)?(zl=ou,g.addEventListener("message",ru,!1)):zl=tu in S("script")?function(e){ze.appendChild(S("script"))[tu]=function(){ze.removeChild(this),nu(e)}}:function(e){setTimeout(iu(e),0)});
1var au,su,lu,uu,cu,du,fu,pu,hu={set:Yl,clear:Zl},mu=C.f,gu=hu.set,vu=g.MutationObserver||g.WebKitMutationObserver,yu=g.document,bu=g.process,wu=g.Promise,ku=mu(g,"queueMicrotask"),Su=ku&&ku.value;Su||(au=function(){var e,t;for(Vl&&(e=bu.domain)&&e.exit();su;){t=su.fn,su=su.next;try{t()}catch(e){throw su?uu():lu=void 0,e}}lu=void 0,e&&e.enter()},uu=!Wl&&!Vl&&vu&&yu?(cu=!0,du=yu.createTextNode(""),new vu(au).observe(du,{characterData:!0}),function(){du.data=cu=!cu}):wu&&wu.resolve?(fu=wu.resolve(void 0),pu=fu.then,function(){pu.call(fu,au)}):Vl?function(){bu.nextTick(au)}:function(){gu.call(g,au)});var Tu,xu,Cu,_u,Eu=Su||function(e){var t={fn:e,next:void 0};lu&&(lu.next=t),su||(su=t,uu()),lu=t},Au=function(e){var n,i;this.promise=new e(function(e,t){if(void 0!==n||void 0!==i)throw TypeError("Bad Promise constructor");n=e,i=t}),this.resolve=at(n),this.reject=at(i)},Iu={f:function(e){return new Au(e)}},Pu=function(e,t){if(E(e),y(t)&&t.constructor===e)return t;var n=Iu.f(e);return(0,n.resolve)(t),n.promise},Ou=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Lu=hu.set,Mu=Je("species"),ju="Promise",Nu=ee.get,Ru=ee.set,Du=ee.getterFor(ju),zu=ql,Fu=g.TypeError,$u=g.document,Hu=g.process,qu=re("fetch"),Bu=Iu.f,Uu=Bu,Wu=!!($u&&$u.createEvent&&g.dispatchEvent),Vu="function"==typeof PromiseRejectionEvent,Ku="unhandledrejection",Yu=Ie(ju,function(){if(!(D(zu)!==String(zu))){if(66===Xn)return!0;if(!Vl&&!Vu)return!0}if(51<=Xn&&/native code/.test(zu))return!1;var e=zu.resolve(1),t=function(e){e(function(){},function(){})};return(e.constructor={})[Mu]=t,!(e.then(function(){})instanceof t)}),Zu=Yu||!us(function(e){zu.all(e).catch(function(){})}),Gu=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},Xu=function(d,f){if(!d.notified){d.notified=!0;var p=d.reactions;Eu(function(){for(var e=d.value,t=1==d.state,n=0;p.length>n;){var i,r,o,a=p[n++],s=t?a.ok:a.fail,l=a.resolve,u=a.reject,c=a.domain;try{s?(t||(2===d.rejection&&tc(d),d.rejection=1),!0===s?i=e:(c&&c.enter(),i=s(e),c&&(c.exit(),o=!0)),i===a.promise?u(Fu("Promise-chain cycle")):(r=Gu(i))?r.call(i,l,u):l(i)):u(e)}catch(e){c&&!o&&c.exit(),u(e)}}d.reactions=[],d.notified=!1,f&&!d.rejection&&Ju(d)})}},Qu=function(e,t,n){var i,r;Wu?((i=$u.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),g.dispatchEvent(i)):i={promise:t,reason:n},!Vu&&(r=g["on"+e])?r(i):e===Ku&&function(e,t){var n=g.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Ju=function(i){Lu.call(g,function(){var e,t=i.facade,n=i.value;if(ec(i)&&(e=Ou(function(){Vl?Hu.emit("unhandledRejection",n,t):Qu(Ku,t,n)}),i.rejection=Vl||ec(i)?2:1,e.error))throw e.value})},ec=function(e){return 1!==e.rejection&&!e.parent},tc=function(t){Lu.call(g,function(){var e=t.facade;Vl?Hu.emit("rejectionHandled",e):Qu("rejectionhandled",e,t.value)})},nc=function(t,n,i){return function(e){t(n,e,i)}},ic=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Xu(e,!0))},rc=function(n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(n.facade===e)throw Fu("Promise can't be resolved itself");var i=Gu(e);i?Eu(function(){var t={done:!1};try{i.call(e,nc(rc,t,n),nc(ic,t,n))}catch(e){ic(t,e,n)}}):(n.value=e,n.state=1,Xu(n,!1))}catch(e){ic({done:!1},e,n)}}};Yu&&(zu=function(e){vr(this,zu,ju),at(e),Tu.call(this);var t=Nu(this);try{e(nc(rc,t),nc(ic,t))}catch(e){ic(t,e)}},(Tu=function(e){Ru(this,{type:ju,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=zr(zu.prototype,{then:function(e,t){var n=Du(this),i=Bu(Ji(this,zu));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=Vl?Hu.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&Xu(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),xu=function(){var e=new Tu,t=Nu(e);this.promise=e,this.resolve=nc(rc,t),this.reject=nc(ic,t)},Iu.f=Bu=function(e){return e===zu||e===Cu?new xu(e):Uu(e)},"function"==typeof ql&&(_u=ql.prototype.then,te(ql.prototype,"then",function(e,t){var n=this;return new zu(function(e,t){_u.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof qu&&Oe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Pu(zu,qu.apply(g,arguments))}}))),Oe({global:!0,wrap:!0,forced:Yu},{Promise:zu}),ot(zu,ju,!1),Ul(ju),Cu=re(ju),Oe({target:ju,stat:!0,forced:Yu},{reject:function(e){var t=Bu(this);return t.reject.call(void 0,e),t.promise}}),Oe({target:ju,stat:!0,forced:Yu},{resolve:function(e){return Pu(this,e)}}),Oe({target:ju,stat:!0,forced:Zu},{all:function(e){var s=this,t=Bu(s),l=t.resolve,u=t.reject,n=Ou(function(){var i=at(s.resolve),r=[],o=0,a=1;Ks(e,function(e){var t=o++,n=!1;r.push(void 0),a++,i.call(s,e).then(function(e){n||(n=!0,r[t]=e,--a||l(r))},u)}),--a||l(r)});return n.error&&u(n.value),t.promise},race:function(e){var n=this,i=Bu(n),r=i.reject,t=Ou(function(){var t=at(n.resolve);Ks(e,function(e){t.call(n,e).then(i.resolve,r)})});return t.error&&r(t.value),i.promise}});var oc,ac=C.f,sc="".startsWith,lc=Math.min,uc=Bs("startsWith"),cc=!(uc||(!(oc=ac(String.prototype,"startsWith"))||oc.writable));Oe({target:"String",proto:!0,forced:!cc&&!uc},{startsWith:function(e){var t=String(d(this));Hs(e);var n=ue(lc(1<arguments.length?arguments[1]:void 0,t.length)),i=String(e);return sc?sc.call(t,i,n):t.slice(n,n+i.length)===i}});var dc,fc,pc,hc=function(e){return null!=e?e.constructor:null},mc=function(e,t){return Boolean(e&&t&&e instanceof t)},gc=function(e){return null==e},vc=function(e){return hc(e)===Object},yc=function(e){return hc(e)===String},bc=function(e){return hc(e)===Function},wc=function(e){return Array.isArray(e)},kc=function(e){return mc(e,NodeList)},Sc=function(e){return gc(e)||(yc(e)||wc(e)||kc(e))&&!e.length||vc(e)&&!Object.keys(e).length},Tc={nullOrUndefined:gc,object:vc,number:function(e){return hc(e)===Number&&!Number.isNaN(e)},string:yc,boolean:function(e){return hc(e)===Boolean},function:bc,array:wc,weakMap:function(e){return mc(e,WeakMap)},nodeList:kc,element:function(e){return null!==e&&"object"===ja(e)&&1===e.nodeType&&"object"===ja(e.style)&&"object"===ja(e.ownerDocument)},textNode:function(e){return hc(e)===Text},event:function(e){return mc(e,Event)},keyboardEvent:function(e){return mc(e,KeyboardEvent)},cue:function(e){return mc(e,window.TextTrackCue)||mc(e,window.VTTCue)},track:function(e){return mc(e,TextTrack)||!gc(e)&&yc(e.kind)},promise:function(e){return mc(e,Promise)&&bc(e.then)},url:function(e){if(mc(e,window.URL))return!0;
1if(!yc(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!Sc(new URL(t).hostname)}catch(e){return!1}},empty:Sc},xc=(dc=document.createElement("span"),fc={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},pc=Object.keys(fc).find(function(e){return void 0!==dc.style[e]}),!!Tc.string(pc)&&fc[pc]);function Cc(e,t){setTimeout(function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}},t)}var _c={isIE:!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},Ec=function(u){return function(e,t,n,i){at(t);var r=Ne(e),o=w(r),a=ue(r.length),s=u?a-1:0,l=u?-1:1;if(n<2)for(;;){if(s in o){i=o[s],s+=l;break}if(s+=l,u?s<0:a<=s)throw TypeError("Reduce of empty array with no initial value")}for(;u?0<=s:s<a;s+=l)s in o&&(i=t(i,o[s],s,r));return i}},Ac={left:Ec(!1),right:Ec(!0)}.left,Ic=Qt("reduce"),Pc=nn("reduce",{1:0});function Oc(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)}function Lc(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!n.length)return t;var r=n.shift();return Tc.object(r)?(Object.keys(r).forEach(function(e){Tc.object(r[e])?(Object.keys(t).includes(e)||Object.assign(t,za({},e,{})),Lc(t[e],r[e])):Object.assign(t,za({},e,r[e]))}),Lc.apply(void 0,[t].concat(n))):t}function Mc(e,o){var t=e.length?e:[e];Array.from(t).reverse().forEach(function(e,t){var n=0<t?o.cloneNode(!0):o,i=e.parentNode,r=e.nextSibling;n.appendChild(e),r?i.insertBefore(n,r):i.appendChild(n)})}function jc(r,e){Tc.element(r)&&!Tc.empty(e)&&Object.entries(e).filter(function(e){var t=qa(e,2)[1];return!Tc.nullOrUndefined(t)}).forEach(function(e){var t=qa(e,2),n=t[0],i=t[1];return r.setAttribute(n,i)})}function Nc(e,t,n){var i=document.createElement(e);return Tc.object(t)&&jc(i,t),Tc.string(n)&&(i.innerText=n),i}function Rc(e,t,n,i){Tc.element(t)&&t.appendChild(Nc(e,n,i))}function Dc(e){Tc.nodeList(e)||Tc.array(e)?Array.from(e).forEach(Dc):Tc.element(e)&&Tc.element
1(e.parentNode)&&e.parentNode.removeChild(e)}function zc(e){if(Tc.element(e))for(var t=e.childNodes.length;0<t;)e.removeChild(e.lastChild),t-=1}function Fc(e,t){return Tc.element(t)&&Tc.element(t.parentNode)&&Tc.element(e)?(t.parentNode.replaceChild(e,t),e):null}function $c(e,t){if(!Tc.string(e)||Tc.empty(e))return{};var a={},s=Lc({},t);return e.split(",").forEach(function(e){var t=e.trim(),n=t.replace(".",""),i=t.replace(/[[\]]/g,"").split("="),r=qa(i,1)[0],o=1<i.length?i[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":Tc.string(s.class)?a.class="".concat(s.class," ").concat(n):a.class=n;break;case"#":a.id=t.replace("#","");break;case"[":a[r]=o}}),Lc(s,a)}function Hc(e,t){if(Tc.element(e)){var n=t;Tc.boolean(n)||(n=!e.hidden),e.hidden=n}}function qc(e,t,n){if(Tc.nodeList(e))return Array.from(e).map(function(e){return qc(e,t,n)});if(Tc.element(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function Bc(e,t){return Tc.element(e)&&e.classList.contains(t)}function Uc(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function Wc(e){return this.elements.container.querySelectorAll(e)}function Vc(e){return this.elements.container.querySelector(e)}function Kc(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];Tc.element(e)&&(e.focus({preventScroll:!0}),t&&qc(e,this.config.classNames.tabFocus))}Oe({target:"Array",proto:!0,forced:!Ic||!Pc||!Vl&&79<Xn&&Xn<83},{reduce:function(e){return Ac(this,e,arguments.length,1<arguments.length?arguments[1]:void 0)}});var Yc,Zc={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},Gc={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=_c.isIPhone&&n&&Gc.playsinline,r=Gc[e]||"html5"!==t;return{api:r,ui:r&&Gc.rangeInput&&("video"!==e||!_c.isIPhone||i)}},pip:!(_c.isIPhone||!Tc.function(Nc("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||Nc("video").disablePictureInPicture)),airplay:Tc.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(Tc.empty(e))return!1;var t=qa(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(Zc).includes(n)&&(n+='; codecs="'.concat(Zc[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(Yc=document.createElement("input"),(Yc.type="range")===Yc.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==xc,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},Xc=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function Qc(t,e,n){var i=this,r=3<arguments.length&&void 0!==arguments[3]&&arguments[3],o=!(4<arguments.length&&void 0!==arguments[4])||arguments[4],a=5<arguments.length&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!Tc.empty(e)&&Tc.function(n)){var s=e.split(" "),l=a;Xc&&(l={passive:o,capture:a}),s.forEach(function(e){i&&i.eventListeners&&r&&i.eventListeners.push({element:t,type:e,callback:n,options:l}),t[r?"addEventListener":"removeEventListener"](e,n,l)})}}function Jc(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length?arguments[2]:void 0,i=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],r=4<arguments.length&&void 0!==arguments[4]&&arguments[4];Qc.call(this,e,t,n,!0,i,r)}function ed(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length?arguments[2]:void 0,i=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],r=4<arguments.length&&void 0!==arguments[4]&&arguments[4];Qc.call(this,e,t,n,!1,i,r)}function td(r){var o=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",s=2<arguments.length?arguments[2]:void 0,l=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],u=4<arguments.length&&void 0!==arguments[4]&&arguments[4];Qc.call(this,r,a,function e(){ed(r,a,e,l,u);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];s.apply(o,n)},!0,l,u)}
1function nd(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};if(Tc.element(e)&&!Tc.empty(t)){var r=new CustomEvent(t,{bubbles:n,detail:$a($a({},i),{},{plyr:this})});e.dispatchEvent(r)}}function id(e){Tc.promise(e)&&e.then(null,function(){})}function rd(e){return!!(Tc.array(e)||Tc.string(e)&&e.includes(":"))&&(Tc.array(e)?e:e.split(":")).map(Number).every(Tc.number)}function od(e){if(!Tc.array(e)||!e.every(Tc.number))return null;var t=qa(e,2),n=t[0],i=t[1],r=function e(t,n){return 0===n?t:e(n,t%n)}(n,i);return[n/r,i/r]}function ad(e){var t=function(e){return rd(e)?e.split(":").map(Number):null},n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!Tc.empty(this.embed)&&Tc.array(this.embed.ratio)&&(n=this.embed.ratio),null===n&&this.isHTML5){var i=this.media;n=od([i.videoWidth,i.videoHeight])}return n}function sd(e){if(!this.isVideo)return{};var t=this.elements.wrapper,n=ad.call(this,e),i=qa(Tc.array(n)?n:[0,0],2),r=100/i[0]*i[1];if(t.style.paddingBottom="".concat(r,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var o=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),a=(o-r)/(o/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform="translateY(-".concat(a,"%)")}else this.isHTML5&&t.classList.toggle(this.config.classNames.videoFixedRatio,null!==n);return{padding:r,ratio:n}}var ld={getSources:function(){var n=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(e){var t=e.getAttribute("type");return!!Tc.empty(t)||Gc.mime.call(n,t)}):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:ld.getSources.call(this).map(function(e){return Number(e.getAttribute("size"))}).filter(Boolean)},setup:function(){if(this.isHTML5){var l=this;l.options.speed=l.config.speed.options,Tc.empty(this.config.ratio)||sd.call(l),Object.defineProperty(l.media,"quality",{get:function(){var e=ld.getSources.call(l).find(function(e){return e.getAttribute("src")===l.source});return e&&Number(e.getAttribute("size"))},set:function(t){if(l.quality!==t){if(l.config.quality.forced&&Tc.function(l.config.quality.onChange))l.config.quality.onChange(t);else{var e=ld.getSources.call(l).find(function(e){return Number(e.getAttribute("size"))===t});if(!e)return;var n=l.media,i=n.currentTime,r=n.paused,o=n.preload,a=n.readyState,s=n.playbackRate;l.media.src=e.getAttribute("src"),("none"!==o||a)&&(l.once("loadedmetadata",function(){l.speed=s,l.currentTime=i,r||id(l.play())}),l.media.load())}nd.call(l,l.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(Dc(ld.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function ud(n){return Tc.array(n)?n.filter(function(e,t){return n.indexOf(e)===t}):n}var cd=A.f,dd=be.f,fd=ee.set,pd=Je("match"),hd=g.RegExp,md=hd.prototype,gd=/a/g,vd=/a/g,yd=new hd(gd)!==gd,bd=mi.UNSUPPORTED_Y;if(f&&Ie("RegExp",!yd||bd||v(function(){return vd[pd]=!1,hd(gd)!=gd||hd(vd)==vd||"/a/i"!=hd(gd,"i")}))){for(var wd=function(e,t){var n,i=this instanceof wd,r=Xi(e),o=void 0===t;if(!i&&r&&e.constructor===wd&&o)return e;yd?r&&!o&&(e=e.source):e instanceof wd&&(o&&(t=di.call(e)),e=e.source),bd&&(n=!!t&&-1<t.indexOf("y"))&&(t=t.replace(/y/g,""));var a=gs(yd?new hd(e,t):hd(e,t),i?this:md,wd);return bd&&n&&fd(a,{sticky:n}),a},kd=function(t){t in wd||cd(wd,t,{configurable:!0,get:function(){return hd[t]},set:function(e){hd[t]=e}})},Sd=dd(hd),Td=0;Sd.length>Td;)kd(Sd[Td++]);(md.constructor=wd).prototype=md,te(g,"RegExp",wd)}function xd(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Tc.empty(e)?e:e.toString().replace(/{(\d+)}/g,function(e,t){return n[t].toString()})}Ul("RegExp");var Cd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString())},_d=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})};function Ed(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString();return e=Cd(e,"-"," "),e=Cd(e,"_"," "),e=_d(e),Cd(e," ","")}(e)).charAt(0).toLowerCase()+e.slice(1)}function Ad(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var Id={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Pd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(Tc.empty(e)||Tc.empty(t))return"";var r=Oc(t.i18n,e);if(Tc.empty(r))return Object.keys(Id).includes(e)?Id[e]:"";var n={"{seektime}":t.seekTime,"{title}":t.title};
1return Object.entries(n).forEach(function(e){var t=qa(e,2),n=t[0],i=t[1];r=Cd(r,n,i)}),r},Od=function(){function r(e){var i=this;Na(this,r),za(this,"get",function(e){if(!r.supported||!i.enabled)return null;var t=window.localStorage.getItem(i.key);if(Tc.empty(t))return null;var n=JSON.parse(t);return Tc.string(e)&&e.length?n[e]:n}),za(this,"set",function(e){if(r.supported&&i.enabled&&Tc.object(e)){var t=i.get();Tc.empty(t)&&(t={}),Lc(t,e),window.localStorage.setItem(i.key,JSON.stringify(t))}}),this.enabled=e.config.storage.enabled,this.key=e.config.storage.key}return Da(r,null,[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;var e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}]),r}();function Ld(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(t,n){try{var i=new XMLHttpRequest;if(!("withCredentials"in i))return;i.addEventListener("load",function(){if("text"===r)try{t(JSON.parse(i.responseText))}catch(e){t(i.responseText)}else t(i.response)}),i.addEventListener("error",function(){throw new Error(i.status)}),i.open("GET",e,!0),i.responseType=r,i.send()}catch(e){n(e)}})}function Md(e,t){if(Tc.string(e)){var n=Tc.string(t),i=function(){return null!==document.getElementById(t)},r=function(e,t){e.innerHTML=t,n&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!i()){var o=Od.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",t),o){var s=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==s){var l=JSON.parse(s);r(a,l.content)}}Ld(e).then(function(e){Tc.empty(e)||(o&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),r(a,e))}).catch(function(){})}}}var jd=Math.ceil,Nd=Math.floor;Oe({target:"Math",stat:!0},{trunc:function(e){return(0<e?Nd:jd)(e)}});var Rd=function(e){return Math.trunc(e/60/60%60,10)},Dd=function(e){return Math.trunc(e/60%60,10)},zd=function(e){return Math.trunc(e%60,10)};function Fd(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(!Tc.number(e))return Fd(void 0,t,n);var i=function(e){return"0".concat(e).slice(-2)},r=Rd(e),o=Dd(e),a=zd(e);return r=t||0<r?"".concat(r,":"):"","".concat(n&&0<e?"-":"").concat(r).concat(i(o),":").concat(i(a))}var $d={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||_c.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=Vc.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:Wc.call(this,this.config.selectors.buttons.play),pause:Vc.call(this,this.config.selectors.buttons.pause),restart:Vc.call(this,this.config.selectors.buttons.restart),rewind:Vc.call(this,this.config.selectors.buttons.rewind),fastForward:Vc.call(this,this.config.selectors.buttons.fastForward),mute:Vc.call(this,this.config.selectors.buttons.mute),pip:Vc.call(this,this.config.selectors.buttons.pip),airplay:Vc.call(this,this.config.selectors.buttons.airplay),settings:Vc.call(this,this.config.selectors.buttons.settings),captions:Vc.call(this,this.config.selectors.buttons.captions),fullscreen:Vc.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=Vc.call(this,this.config.selectors.progress),this.elements.inputs={seek:Vc.call(this,this.config.selectors.inputs.seek),volume:Vc.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:Vc.call(this,this.config.selectors.display.buffer),currentTime:Vc.call(this,this.config.selectors.display.currentTime),duration:Vc.call(this,this.config.selectors.display.duration)},Tc.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n="http://www.w3.org/2000/svg",i=$d.getIconUrl.call(this),r="".concat(i.cors?"":i.url,"#").concat(this.config.iconPrefix),o=document.createElementNS(n,"svg");jc(o,Lc(t,{"aria-hidden":"true",focusable:"false"}));var a=document.createElementNS(n,"use"),s="".concat(r,"-").concat(e);return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",s),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s),o.appendChild(a),o},createLabel:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=Pd(e,this.config);return Nc("span",$a($a({},t),{}
1,{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(e){if(Tc.empty(e))return null;var t=Nc("span",{class:this.config.classNames.menu.value});return t.appendChild(Nc("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=this,i=Lc({},t),r=Ed(e),o={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(e){Object.keys(i).includes(e)&&(o[e]=i[e],delete i[e])}),"button"!==o.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some(function(e){return e===n.config.classNames.control})||Lc(i,{class:"".concat(i.class," ").concat(this.config.classNames.control)}):i.class=this.config.classNames.control,e){case"play":o.toggle=!0,o.label="play",o.labelPressed="pause",o.icon="play",o.iconPressed="pause";break;case"mute":o.toggle=!0,o.label="mute",o.labelPressed="unmute",o.icon="volume",o.iconPressed="muted";break;case"captions":o.toggle=!0,o.label="enableCaptions",o.labelPressed="disableCaptions",o.icon="captions-off",o.iconPressed="captions-on";break;case"fullscreen":o.toggle=!0,o.label="enterFullscreen",o.labelPressed="exitFullscreen",o.icon="enter-fullscreen",o.iconPressed="exit-fullscreen";break;case"play-large":i.class+=" ".concat(this.config.classNames.control,"--overlaid"),r="play",o.label="play",o.icon="play";break;default:Tc.empty(o.label)&&(o.label=r),Tc.empty(o.icon)&&(o.icon=e)}var a=Nc(o.element);return o.toggle?(a.appendChild($d.createIcon.call(this,o.iconPressed,{class:"icon--pressed"})),a.appendChild($d.createIcon.call(this,o.icon,{class:"icon--not-pressed"})),a.appendChild($d.createLabel.call(this,o.labelPressed,{class:"label--pressed"})),a.appendChild($d.createLabel.call(this,o.label,{class:"label--not-pressed"}))):(a.appendChild($d.createIcon.call(this,o.icon)),a.appendChild($d.createLabel.call(this,o.label))),Lc(i,$c(this.config.selectors.buttons[r],i)),jc(a,i),"play"===r?(Tc.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(a)):this.elements.buttons[r]=a,a},createRange:function(e,t){var n=Nc("input",Lc($c(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Pd(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,$d.updateRangeFill.call(this,n),Hl.setup(n),n},createProgress:function(e,t){var n=Nc("progress",Lc($c(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(Nc("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],r=i?Pd(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[e]=n},createTime:function(e,t){var n=$c(this.config.selectors.display[e],t),i=Nc("div",Lc(n,{class:"".concat(n.class?n.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":Pd(e,this.config)}),"00:00");return this.elements.display[e]=i},bindMenuItemShortcuts:function(i,r){var o=this;Jc.call(this,i,"keydown keyup",function(e){if([32,38,39,40].includes(e.which)&&(e.preventDefault(),e.stopPropagation(),"keydown"!==e.type)){var t,n=Uc(i,'[role="menuitemradio"]');if(!n&&[32,39].includes(e.which))$d.showMenuPanel.call(o,r,!0);else 32!==e.which&&(40===e.which||n&&39===e.which?(t=i.nextElementSibling,Tc.element(t)||(t=i.parentNode.firstElementChild)):(t=i.previousElementSibling,Tc.element(t)||(t=i.parentNode.lastElementChild)),Kc.call(o,t,!0))}},!1),Jc.call(this,i,"keyup",function(e){13===e.which&&$d.focusFirstMenuItem.call(o,null,!0)})},createMenuItem:function(e){var t=this,n=e.value,i=e.list,r=e.type,o=e.title,a=e.badge,s=void 0===a?null:a,l=e.checked,u=void 0!==l&&l,c=$c(this.config.selectors.inputs[r]),d=Nc("button",Lc(c,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(c.class?c.class:"").trim(),"aria-checked":u,value:n})),f=Nc("span");f.innerHTML=o,Tc.element(s)&&f.appendChild(s),d.appendChild(f),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter(function(e){return Uc(e,'[role="menuitemradio"]')}
1).forEach(function(e){return e.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",function(e){if(!Tc.keyboardEvent(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,r){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}$d.showMenuPanel.call(t,"home",Tc.keyboardEvent(e))}},r,!1),$d.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return Tc.number(e)?Fd(e,0<Rd(this.duration),t):e},updateTimeDisplay:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];Tc.element(e)&&Tc.number(t)&&(e.innerText=$d.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(Tc.element(this.elements.inputs.volume)&&$d.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),Tc.element
1(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;Tc.element(e)&&(e.value=t,$d.updateRangeFill.call(this,e))},updateProgress:function(e){var o=this;if(this.supported.ui&&Tc.event(e)){var t,n,i=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":t=this.currentTime,n=this.duration,i=0===t||0===n||Number.isNaN(t)||Number.isNaN(n)?0:(t/n*100).toFixed(2),"timeupdate"===e.type&&$d.setRange.call(this,this.elements.inputs.seek,i);break;case"playing":case"progress":!function(e,t){var n=Tc.number(t)?t:0,i=Tc.element(e)?e:o.elements.display.buffer;if(Tc.element(i)){i.value=n;var r=i.getElementsByTagName("span")[0];Tc.element(r)&&(r.childNodes[0].nodeValue=n)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=Tc.event(e)?e.target:e;if(Tc.element(t)&&"range"===t.getAttribute("type")){if(Uc(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=$d.formatTime(this.currentTime),i=$d.formatTime(this.duration),r=Pd("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(Uc(t,this.config.selectors.inputs.volume)){var o=100*t.value;t.setAttribute("aria-valuenow",o),t.setAttribute("aria-valuetext","".concat(o.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);_c.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;
1if(this.config.tooltips.seek&&Tc.element(this.elements.inputs.seek)&&Tc.element(this.elements.display.seekTooltip)&&0!==this.duration){var n="".concat(this.config.classNames.tooltip,"--visible"),i=function(e){return qc(t.elements.display.seekTooltip,n,e)};if(this.touch)i(!1);else{var r=0,o=this.elements.progress.getBoundingClientRect();if(Tc.event(e))r=100/o.width*(e.pageX-o.left);else{if(!Bc(this.elements.display.seekTooltip,n))return;r=parseFloat(this.elements.display.seekTooltip.style.left,10)}r<0?r=0:100<r&&(r=100),$d.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*r),this.elements.display.seekTooltip.style.left="".concat(r,"%"),Tc.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!Tc.element(this.elements.display.duration)&&this.config.invertTime;$d.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||$d.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return Hc(this.elements.display.currentTime,!0),void Hc(this.elements.progress,!0);Tc.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=Tc.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&$d.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&$d.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),$d.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){Hc(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],r=null,o=t;if("captions"===e)r=this.currentTrack;else{if(r=Tc.empty(n)?this[e]:n,Tc.empty(r)&&(r=this.config[e].default),!Tc.empty(this.options[e])&&!this.options[e].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(e));if(!this.config[e].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(e))}if(Tc.element(o)||(o=i&&i.querySelector('[role="menu"]')),Tc.element(o)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=$d.getLabel.call(this,e,r);var a=o&&o.querySelector('[value="'.concat(r,'"]'));Tc.element(a)&&(a.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?Pd("normal",this.config):"".concat(t,"×");case"quality":if(Tc.number(t)){var n=Pd("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return _d(t);case"captions":return Bd.getLabel.call(this);default:return null}},setQualityMenu:function(e){var i=this;if(Tc.element(this.elements.settings.panels.quality)){var r="quality",o=this.elements.settings.panels.quality.querySelector('[role="menu"]');Tc.array(e)&&(this.options.quality=ud(e).filter(function(e){return i.config.quality.options.includes(e)}));var t=!Tc.empty(this.options.quality)&&1<this.options.quality.length;if($d.toggleMenuButton.call(this,r,t),zc(o),$d.checkMenu.call(this),t){this.options.quality.sort(function(e,t){var n=i.config.quality.options;return n.indexOf(e)>n.indexOf(t)?1:-1}).forEach(function(e){var t,n;$d.createMenuItem.call(i,{value:e,list:o,type:r,title:$d.getLabel.call(i,"quality",e),badge:(t=e,n=Pd("qualityBadge.".concat(t),i.config),n.length?$d.createBadge.call(i,n):null)})}),$d.updateSetting.call(this,r,o)}}},setCaptionsMenu:function(){var n=this;if(Tc.element(this.elements.settings.panels.captions)){var i=this.elements.settings.panels.captions.querySelector('[role="menu"]'),e=Bd.getTracks.call(this),t=Boolean(e.length);if($d.toggleMenuButton.call(this,"captions",t),zc(i),$d.checkMenu.call(this),t){var r=e.map(function(e,t){return{value:t,checked:n.captions.toggled&&n.currentTrack===t,title:Bd.getLabel.call(n,e),badge:e.language&&$d.createBadge.call(n,e.language.toUpperCase()),list:i,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:Pd("disabled",this.config),list:i,type:"language"}),r.forEach($d.createMenuItem.bind(this)),$d.updateSetting.call(this,"captions",i)}}},setSpeedMenu:function(){var t=this;
1if(Tc.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(function(e){return e>=t.minimumSpeed&&e<=t.maximumSpeed});var e=!Tc.empty(this.options.speed)&&1<this.options.speed.length;$d.toggleMenuButton.call(this,"speed",e),zc(n),$d.checkMenu.call(this),e&&(this.options.speed.forEach(function(e){$d.createMenuItem.call(t,{value:e,list:n,type:"speed",title:$d.getLabel.call(t,"speed",e)})}),$d.updateSetting.call(this,"speed",n))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!Tc.empty(e)&&Object.values(e).some(function(e){return!e.hidden});Hc(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;Tc.element(n)||(n=Object.values(this.elements.settings.panels).find(function(e){return!e.hidden}));var i=n.querySelector('[role^="menuitem"]');Kc.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;
1if(Tc.element(t)&&Tc.element(n)){var i=t.hidden,r=i;if(Tc.boolean(e))r=e;else if(Tc.keyboardEvent(e)&&27===e.which)r=!1;else if(Tc.event(e)){var o=Tc.function(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(o);if(a||!a&&e.target!==n&&r)return}n.setAttribute("aria-expanded",r),Hc(t,!r),qc(this.elements.container,this.config.classNames.menu.open,r),r&&Tc.keyboardEvent(e)?$d.focusFirstMenuItem.call(this,null,!0):r||i||Kc.call(this,n,Tc.keyboardEvent(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return Dc(t),{width:n,height:i}},showMenuPanel:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(e));if(Tc.element(i)){var r=i.parentNode,o=Array.from(r.children).find(function(e){return!e.hidden});if(Gc.transitions&&!Gc.reducedMotion){r.style.width="".concat(o.scrollWidth,"px"),r.style.height="".concat(o.scrollHeight,"px");var a=$d.getMenuSize.call(this,i);Jc.call(this,r,xc,function e(t){t.target===r&&["width","height"].includes(t.propertyName)&&(r.style.width="",r.style.height="",ed.call(n,r,xc,e))}),r.style.width="".concat(a.width,"px"),r.style.height="".concat(a.height,"px")}Hc(o,!0),Hc(i,!1),$d.focusFirstMenuItem.call(this,i,t)}},setDownloadUrl:function(){var e=this.elements.buttons.download;Tc.element(e)&&e.setAttribute("href",this.download)},create:function(p){var h=this,m=$d.bindMenuItemShortcuts,g=$d.createButton,v=$d.createProgress,y=$d.createRange,b=$d.createTime,e=$d.setQualityMenu,t=$d.setSpeedMenu,w=$d.showMenuPanel;this.elements.controls=null,Tc.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(g.call(this,"play-large"));var k=Nc("div",$c(this.config.selectors.controls.wrapper));this.elements.controls=k;var S={class:"plyr__controls__item"};return ud(Tc.array(this.config.controls)?this.config.controls:[]).forEach(function(e){if("restart"===e&&k.appendChild(g.call(h,"restart",S)),"rewind"===e&&k.appendChild(g.call(h,"rewind",S)),"play"===e&&k.appendChild(g.call(h,"play",S)),"fast-forward"===e&&k.appendChild(g.call(h,"fast-forward",S)),"progress"===e){var t=Nc("div",{class:"".concat(S.class," plyr__progress__container")}),n=Nc("div",$c(h.config.selectors.progress));if(n.appendChild(y.call(h,"seek",{id:"plyr-seek-".concat(p.id)})),n.appendChild(v.call(h,"buffer")),h.config.tooltips.seek){var i=Nc("span",{class:h.config.classNames.tooltip},"00:00");n.appendChild(i),h.elements.display.seekTooltip=i}h.elements.progress=n,t.appendChild(h.elements.progress),k.appendChild(t)}if("current-time"===e&&k.appendChild(b.call(h,"currentTime",S)),"duration"===e&&k.appendChild(b.call(h,"duration",S)),"mute"===e||"volume"===e){var r=h.elements.volume;if(Tc.element(r)&&k.contains(r)||(r=Nc("div",Lc({},S,{class:"".concat(S.class," plyr__volume").trim()})),h.elements.volume=r,k.appendChild(r)),"mute"===e&&r.appendChild(g.call(h,"mute")),"volume"===e&&!_c.isIos){var o={max:1,step:.05,value:h.config.volume};r.appendChild(y.call(h,"volume",Lc(o,{id:"plyr-volume-".concat(p.id)})))}}if("captions"===e&&k.appendChild(g.call(h,"captions",S)),"settings"===e&&!Tc.empty(h.config.settings)){var a=Nc("div",Lc({},S,{class:"".concat(S.class," plyr__menu").trim(),hidden:""}));a.appendChild(g.call(h,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(p.id),"aria-expanded":!1}));var s=Nc("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(p.id),hidden:""}),l=Nc("div"),u=Nc("div",{id:"plyr-settings-".concat(p.id,"-home")}),c=Nc("div",{role:"menu"});u.appendChild(c),l.appendChild(u),h.elements.settings.panels.home=u,h.config.settings.forEach(function(e){var t=Nc("button",Lc($c(h.config.selectors.buttons.settings),{type:"button",class:"".concat(h.config.classNames.control," ").concat(h.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));m.call(h,t,e),Jc.call(h,t,"click",function(){w.call(h,e,!1)});var n=Nc("span",null,Pd(e,h.config)),i=Nc("span",{class:h.config.classNames.menu.value});i.innerHTML=p[e],n.appendChild(i),t.appendChild(n),c.appendChild(t);var r=Nc("div",{id:"plyr-settings-".concat(p.id,"-").concat(e),hidden:""}),o=Nc("button",{type:"button",class:"".concat(h.config.classNames.c
1ontrol," ").concat(h.config.classNames.control,"--back")});o.appendChild(Nc("span",{"aria-hidden":!0},Pd(e,h.config))),o.appendChild(Nc("span",{class:h.config.classNames.hidden},Pd("menuBack",h.config))),Jc.call(h,r,"keydown",function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),w.call(h,"home",!0))},!1),Jc.call(h,o,"click",function(){w.call(h,"home",!1)}),r.appendChild(o),r.appendChild(Nc("div",{role:"menu"})),l.appendChild(r),h.elements.settings.buttons[e]=t,h.elements.settings.panels[e]=r}),s.appendChild(l),a.appendChild(s),k.appendChild(a),h.elements.settings.popup=s,h.elements.settings.menu=a}if("pip"===e&&Gc.pip&&k.appendChild(g.call(h,"pip",S)),"airplay"===e&&Gc.airplay&&k.appendChild(g.call(h,"airplay",S)),"download"===e){var d=Lc({},S,{element:"a",href:h.download,target:"_blank"});h.isHTML5&&(d.download="");var f=h.config.urls.download;!Tc.url(f)&&h.isEmbed&&Lc(d,{icon:"logo-".concat(h.provider),label:h.provider}),k.appendChild(g.call(h,"download",d))}"fullscreen"===e&&k.appendChild(g.call(h,"fullscreen",S))}),this.isHTML5&&e.call(this,ld.getQualityOptions.call(this)),t.call(this),k},inject:function(){var i=this;if(this.config.loadSprite){var e=$d.getIconUrl.call(this);e.cors&&Md(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var t=null;this.elements.controls=null;var n={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;Tc.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,n)),this.config.controls||(this.config.controls=[]),Tc.element(this.config.controls)||Tc.string(this.config.controls)?t=this.config.controls:(t=$d.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Bd.getLabel.call(this)}),r=!1);var o,a;if(r&&Tc.string(this.config.controls)&&(o=t,Object.entries(n).forEach(function(e){var t=qa(e,2),n=t[0],i=t[1];o=Cd(o,"{".concat(n,"}"),i)}),t=o),Tc.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),Tc.element(a)||(a=this.elements.container),a[Tc.element(t)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",t),Tc.element
1(this.elements.controls)||$d.findElements.call(this),!Tc.empty(this.elements.buttons)){var s=function(t){var n=i.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return Bc(t,n)},set:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];qc(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(e){Tc.array(e)||Tc.nodeList(e)?Array.from(e).filter(Boolean).forEach(s):s(e)})}if(_c.isEdge&&Cc(a),this.config.tooltips.controls){var l=this.config,u=l.classNames,c=l.selectors,d="".concat(c.controls.wrapper," ").concat(c.labels," .").concat(u.hidden),f=Wc.call(this,d);Array.from(f).forEach(function(e){qc(e,i.config.classNames.hidden,!1),qc(e,i.config.classNames.tooltip,!0)})}}};function Hd(e){var t=e;if(!(1<arguments.length&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=t,t=n.href}try{return new URL(t)}catch(e){return null}}function qd(e){var r=new URLSearchParams;return Tc.object(e)&&Object.entries(e).forEach(function(e){var t=qa(e,2),n=t[0],i=t[1];r.set(n,i)}),r}var Bd={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!Gc.textTracks)Tc.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&$d.setCaptionsMenu.call(this);else{var e,t;if(Tc.element(this.elements.captions)||(this.elements.captions=Nc("div",$c(this.config.selectors.captions)),e=this.elements.captions,t=this.elements.wrapper,Tc.element(e)&&Tc.element
1(t)&&t.parentNode.insertBefore(e,t.nextSibling)),_c.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach(function(t){var e=t.getAttribute("src"),n=Hd(e);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&Ld(e,"blob").then(function(e){t.setAttribute("src",window.URL.createObjectURL(e))}).catch(function(){Dc(t)})})}var i=ud((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(e){return e.split("-")[0]})),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();if("auto"===r)r=qa(i,1)[0];var o=this.storage.get("captions");if(Tc.boolean(o)||(o=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:o,language:r,languages:i}),this.isHTML5){var a=this.config.captions.update?"addtrack removetrack":"removetrack";Jc.call(this,this.media.textTracks,a,Bd.update.bind(this))}setTimeout(Bd.update.bind(this),0)}},update:function(){var t=this,e=Bd.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(e.find(function(e){return e.language===r}));this.isHTML5&&this.isVideo&&e.filter(function(e){return!o.get(e)}).forEach(function(e){t.debug.log("Track added",e),o.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),Jc.call(t,e,"cuechange",function(){return Bd.updateCues.call(t)})}),(s&&this.language!==r||!e.includes(a))&&(Bd.setLanguage.call(this,r),Bd.toggle.call(this,i&&s)),qc(this.elements.container,this.config.classNames.captions.enabled,!Tc.empty(e)),Tc.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&$d.setCaptionsMenu.call(this)},toggle:function(e){var t=this,n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var i=this.captions.toggled,r=this.config.classNames.captions.active,o=Tc.nullOrUndefined(e)?!i:e;if(o!==i){if(n||(this.captions.active=o,this.storage.set({captions:o})),!this.language&&o&&!n){var a=Bd.getTracks.call(this),s=Bd.findTrack.call(this,[this.captions.language].concat(Ba(this.captions.languages)),!0);return this.captions.language=s.language,void Bd.set.call(this,a.indexOf(s))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=o),qc(this.elements.container,r,o),this.captions.toggled=o,$d.updateSetting.call(this,"captions"),nd.call(this,this.media,o?"captionsenabled":"captionsdisabled")}setTimeout(function(){o&&t.captions.toggled&&(t.captions.currentTrackNode.mode="hidden")})}},set:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=Bd.getTracks.call(this);if(-1!==e)if(Tc.number(e))if(e in n){if(this.captions.currentTrack!==e){var i=n[this.captions.currentTrack=e],r=(i||{}).language;this.captions.currentTrackNode=i,$d.updateSetting.call(this,"captions"),t||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),nd.call(this,this.media,"languagechange")}Bd.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Bd.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Bd.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(Tc.string(e)){var n=e.toLowerCase();this.captions.language=n;var i=Bd.getTracks.call(this),r=Bd.findTrack.call(this,[n]);Bd.set.call(this,i.indexOf(r),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var t=this,n=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(e){return!t.isHTML5||n||t.captions.meta.has(e)}).filter(function(e){return["captions","subtitles"].includes(e.kind)})},findTrack:function(e){var n,t=this,i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=Bd.getTracks.call(this),o=function(e){return Number((t.captions.meta.get(e)||{}).default)},a=Array.from(r).sort(function(e,t){return o(t)-o(e)});return e.every(function(t){return!(n=a.find(function(e){return e.language===t}))}),n||(i?a[0]:void 0)},getCurrentTrack:function(){return Bd.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!Tc.track(t)&&Gc.textTracks&&this.captions.toggled&&(t=Bd.getCurrentTrack.call(this)),Tc.track(t)?Tc.empty(t.label)?Tc.empty(t.language)?Pd("enabled",this.config):e.language.toUpperCase():t.label:Pd("disabled",this.config)}
1,updateCues:function(e){if(this.supported.ui)if(Tc.element(this.elements.captions))if(Tc.nullOrUndefined(e)||Array.isArray(e)){var t=e;if(!t){var n=Bd.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map(function(e){return e.getCueAsHTML()}).map(Ad)}var i=t.map(function(e){return e.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){zc(this.elements.captions);var r=Nc("span",$c(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),nd.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},Ud={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.4/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="qual
1ity"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},Wd="picture-in-picture",Vd="inline",Kd={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Yd="audio",Zd="video";var Gd=function(){},Xd=function(){function t(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];Na(this,t),this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}return Da(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):Gd}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):Gd}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):Gd}}]),t}(),Qd=function(){function i(e){var t,n,o=this;Na(this,i),za(this,"onChange",function(){if(o.enabled){var e=o.player.elements.buttons.fullscreen;Tc.element(e)&&(e.pressed=o.active);var t=o.target===o.player.media?o.target:o.player.elements.container;nd.call(o.player,t,o.active?"enterfullscreen":"exitfullscreen",!0)}}),za(this,"toggleFallback",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];if(e?o.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(o.scrollPosition.x,o.scrollPosition.y),document.body.style.overflow=e?"hidden":"",qc(o.target,o.player.config.classNames.fullscreen.fallback,e),_c.isIos){var t=document.head.querySelector('meta[name="viewport"]'),n="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=Tc.string(t.content)&&t.content.includes(n);e?(o.cleanupViewport=!i,i||(t.content+=",".concat(n))):o.cleanupViewport&&(t.content=t.content.split(",").filter(function(e){return e.trim()!==n}).join(","))}o.onChange()}),za(this,"trapFocus",function(e){if(!_c.isIos&&o.active&&"Tab"===e.key&&9===e.keyCode){var t=document.activeElement,n=Wc.call(o.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),i=qa(n,1)[0],r=n[n.length-1];t!==r||e.shiftKey?t===i&&e.shiftKey&&(r.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}}),za(this,"update",function(){var e;o.enabled?(e=o.forceFallback?"Fallback (forced)":i.native?"Native":"Fallback",o.player.debug.log("".concat(e," fullscreen enabled"))):o.player.debug.log("Fullscreen not supported and fallback disabled");qc(o.player.elements.container,o.player.config.classNames.fullscreen.enabled,o.enabled)}),za(this,"enter",function(){o.enabled&&(_c.isIos&&o.player.config.fullscreen.iosNative?o.player.isVimeo?o.player.embed.requestFullscreen():o.target.webkitEnterFullscreen():!i.native||o.forceFallback?o.toggleFallback(!0):o.prefix?Tc.empty(o.prefix)||o.target["".concat(o.prefix,"Request").concat(o.property)]():o.target.requestFullscreen({navigationUI:"hide"}))}),za(this,"exit",function(){if(o.enabled)if(_c.isIos&&o.player.config.fullscreen.iosNative)o.target.webkitExitFullscreen(),id(o.player.play());else if(!i.native||o.forceFallback)o.toggleFallback(!1);else if(o.prefix){if(!Tc.empty(o.prefix)){var e="moz"===o.prefix?"Cancel":"Exit";document["".concat(o.prefix).concat(e).concat(o.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}),za(this,"toggle",function(){o.active?o.exit():o.enter()}),this.player=e,this.prefix=i.prefix,this.property=i.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===e.config.fullscreen.fallback,this.player.elements.fullscreen=e.config.fullscreen.container&&(t=this.player.elements.container,n=e.config.fullscreen.container,(Element.prototype.closest||function(){var e=this;do{if(Uc.matches(e,n))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(t,n)),Jc.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){o.onChange()}),Jc.call(this.player,this.player.elements.container,"dblclick",function(e){Tc.element
1(o.player.elements.controls)&&o.player.elements.controls.contains(e.target)||o.player.listeners.proxy(e,o.toggle,"fullscreen")}),Jc.call(this,this.player.elements.container,"keydown",function(e){return o.trapFocus(e)}),this.update()}return Da(i,[{key:"usingNative",get:function(){return i.native&&!this.forceFallback}},{key:"enabled",get:function(){return(i.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!i.native||this.forceFallback)return Bc(this.target,this.player.config.classNames.fullscreen.fallback);var e=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}},{key:"target",get:function(){return _c.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(Tc.function(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some(function(e){return!(!Tc.function(document["".concat(e,"ExitFullscreen")])&&!Tc.function(document["".concat(e,"CancelFullScreen")]))&&(t=e,!0)}),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),i}(),Jd=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1};function ef(r){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(e,t){var n=new Image,i=function(){delete n.onload,delete n.onerror,(n.naturalWidth>=o?e:t)(n)};Object.assign(n,{onload:i,onerror:i,src:r})})}Oe({target:"Math",stat:!0},{sign:Jd});var tf={addStyleHook:function(){qc(this.elements.container,this.config.selectors.container.replace(".",""),!0),qc(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){0<arguments.length&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void tf.toggleNativeControls.call(this,!0);Tc.element(this.elements.controls)||($d.inject.call(this),this.listeners.controls()),tf.toggleNativeControls.call(this),this.isHTML5&&Bd.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,$d.updateVolume.call(this),$d.timeUpdate.call(this),tf.checkPlaying.call(this),qc(this.elements.container,this.config.classNames.pip.supported,Gc.pip&&this.isHTML5&&this.isVideo),qc(this.elements.container,this.config.classNames.airplay.supported,Gc.airplay&&this.isHTML5),qc(this.elements.container,this.config.classNames.isIos,_c.isIos),qc(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){nd.call(e,e.media,"ready")},0),tf.setTitle.call(this),this.poster&&tf.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&$d.durationUpdate.call(this)},setTitle:function(){var t=Pd("play",this.config);if(Tc.string(this.config.title)&&!Tc.empty(this.config.title)&&(t+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.setAttribute("aria-label",t)}),this.isEmbed){var e=Vc.call(this,"iframe");if(!Tc.element(e))return;var n=Tc.empty(this.config.title)?"video":this.config.title,i=Pd("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){qc(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(t){var n=this;
1return 1<arguments.length&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("data-poster",t),this.elements.poster.removeAttribute("hidden"),function(){var t=this;return new Promise(function(e){return t.ready?setTimeout(e,0):Jc.call(t,t.elements.container,"ready",e)}).then(function(){})}.call(this).then(function(){return ef(t)}).catch(function(e){throw t===n.poster&&tf.togglePoster.call(n,!1),e}).then(function(){if(t!==n.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(n.elements.poster.style,{backgroundImage:"url('".concat(t,"')"),backgroundSize:""}),tf.togglePoster.call(n,!0),t})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(e){var t=this;qc(this.elements.container,this.config.classNames.playing,this.playing),qc(this.elements.container,this.config.classNames.paused,this.paused),qc(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute("aria-label",Pd(t.playing?"pause":"play",t.config))}),Tc.event(e)&&"timeupdate"===e.type||tf.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){qc(t.elements.container,t.config.classNames.loading,t.loading),tf.toggleControls.call(t)},this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles:function(){var t=this;Object.values($a({},this.media.style)).filter(function(e){return!Tc.empty(e)&&Tc.string(e)&&e.startsWith("--plyr")}).forEach(function(e){t.elements.container.style.setProperty(e,t.media.style.getPropertyValue(e)),t.media.style.removeProperty(e)}),Tc.empty(this.media.style)&&this.media.removeAttribute("style")}},nf=function(){function t(e){var c=this;Na(this,t),za(this,"firstTouch",function(){var e=c.player,t=e.elements;e.touch=!0,qc(t.container,e.config.classNames.isTouch,!0)}),za(this,"setTabFocus",function(e){var t=c.player,n=t.elements;if(clearTimeout(c.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(c.lastKeyDown=e.timeStamp);var i,r=e.timeStamp-c.lastKeyDown<=20;
1if("focus"!==e.type||r)i=t.config.classNames.tabFocus,qc(Wc.call(t,".".concat(i)),i,!1),"focusout"!==e.type&&(c.focusTimer=setTimeout(function(){var e=document.activeElement;n.container.contains(e)&&qc(document.activeElement,t.config.classNames.tabFocus,!0)},10))}}),za(this,"global",function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=c.player;t.config.keyboard.global&&Qc.call(t,window,"keydown keyup",c.handleKey,e,!1),Qc.call(t,document.body,"click",c.toggleMenu,e),td.call(t,document.body,"touchstart",c.firstTouch),Qc.call(t,document.body,"keydown focus blur focusout",c.setTabFocus,e,!1,!0)}),za(this,"container",function(){var l=c.player,e=l.config,a=l.elements,i=l.timers;!e.keyboard.global&&e.keyboard.focused&&Jc.call(l,a.container,"keydown keyup",c.handleKey,!1),Jc.call(l,a.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(e){var t=a.controls;t&&"enterfullscreen"===e.type&&(t.pressed=!1,t.hover=!1);var n=0;["touchstart","touchmove","mousemove"].includes(e.type)&&(tf.toggleControls.call(l,!0),n=l.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return tf.toggleControls.call(l,!1)},n)});var s=function(e){if(!e)return sd.call(l);var t=a.container.getBoundingClientRect(),n=t.width,i=t.height;return sd.call(l,"".concat(n,":").concat(i))},u=function(){clearTimeout(i.resized),i.resized=setTimeout(s,50)};Jc.call(l,a.container,"enterfullscreen exitfullscreen",function(e){var t=l.fullscreen,n=t.target,i=t.usingNative;if(n===a.container&&(l.isEmbed||!Tc.empty(l.config.ratio))){var r="enterfullscreen"===e.type,o=s(r);o.padding;!function(e,t,n){if(l.isVimeo&&!l.config.vimeo.premium){var i=l.elements.wrapper.firstChild,r=qa(e,2)[1],o=qa(ad.call(l),2),a=o[0],s=o[1];i.style.maxWidth=n?"".concat(r/s*a,"px"):null,i.style.margin=n?"0 auto":null}}(o.ratio,0,r),r&&setTimeout(function(){return Cc(a.container)},100),i||(r?Jc.call(l,window,"resize",u):ed.call(l,window,"resize",u))}})}),za(this,"media",function(){var i=c.player,r=i.elements;if(Jc.call(i,i.media,"timeupdate seeking seeked",function(e){return $d.timeUpdate.call(i,e)}),Jc.call(i,i.media,"durationchange loadeddata loadedmetadata",function(e){return $d.durationUpdate.call(i,e)}),Jc.call(i,i.media,"ended",function(){i.isHTML5&&i.isVideo&&i.config.resetOnEnd&&(i.restart(),i.pause())}),Jc.call(i,i.media,"progress playing seeking seeked",function(e){return $d.updateProgress.call(i,e)}),Jc.call(i,i.media,"volumechange",function(e){return $d.updateVolume.call(i,e)}),Jc.call(i,i.media,"playing play pause ended emptied timeupdate",function(e){return tf.checkPlaying.call(i,e)}),Jc.call(i,i.media,"waiting canplay seeked playing",function(e){return tf.checkLoading.call(i,e)}),i.supported.ui&&i.config.clickToPlay&&!i.isAudio){var t=Vc.call(i,".".concat(i.config.classNames.video));if(!Tc.element(t))return;Jc.call(i,r.container,"click",function(e){([r.container,t].includes(e.target)||t.contains(e.target))&&(i.touch&&i.config.hideControls||(i.ended?(c.proxy(e,i.restart,"restart"),c.proxy(e,function(){id(i.play())},"play")):c.proxy(e,function(){id(i.togglePlay())},"play")))})}i.supported.ui&&i.config.disableContextMenu&&Jc.call(i,r.wrapper,"contextmenu",function(e){e.preventDefault()},!1),Jc.call(i,i.media,"volumechange",function(){i.storage.set({volume:i.volume,muted:i.muted})}),Jc.call(i,i.media,"ratechange",function(){$d.updateSetting.call(i,"speed"),i.storage.set({speed:i.speed})}),Jc.call(i,i.media,"qualitychange",function(e){$d.updateSetting.call(i,"quality",null,e.detail.quality)}),Jc.call(i,i.media,"ready qualitychange",function(){$d.setDownloadUrl.call(i)});var e=i.config.events.concat(["keyup","keydown"]).join(" ");Jc.call(i,i.media,e,function(e){var t=e.detail,n=void 0===t?{}:t;"error"===e.type&&(n=i.media.error),nd.call(i,r.container,e.type,!0,n)})}),za(this,"proxy",function(e,t,n){var i=c.player,r=i.config.listeners[n],o=!0;Tc.function(r)&&(o=r.call(i,e)),!1!==o&&Tc.function(t)&&t.call(i,e)}),za(this,"bind",function(e,t,n,i){var r=!(4<arguments.length&&void 0!==arguments[4])||arguments[4],o=c.player,a=o.config.listeners[i],s=Tc.function(a);Jc.call(o,e,t,function(e){return c.proxy(e,n,i)},r&&!s)}),za(this,"controls",function(){var s=c.player,i=s.elements,t=_c.isIE?"change":"input";
1if(i.buttons.play&&Array.from(i.buttons.play).forEach(function(e){c.bind(e,"click",function(){id(s.togglePlay())},"play")}),c.bind(i.buttons.restart,"click",s.restart,"restart"),c.bind(i.buttons.rewind,"click",function(){s.lastSeekTime=Date.now(),s.rewind()},"rewind"),c.bind(i.buttons.fastForward,"click",function(){s.lastSeekTime=Date.now(),s.forward()},"fastForward"),c.bind(i.buttons.mute,"click",function(){s.muted=!s.muted},"mute"),c.bind(i.buttons.captions,"click",function(){return s.toggleCaptions()}),c.bind(i.buttons.download,"click",function(){nd.call(s,s.media,"download")},"download"),c.bind(i.buttons.fullscreen,"click",function(){s.fullscreen.toggle()},"fullscreen"),c.bind(i.buttons.pip,"click",function(){s.pip="toggle"},"pip"),c.bind(i.buttons.airplay,"click",s.airplay,"airplay"),c.bind(i.buttons.settings,"click",function(e){e.stopPropagation(),e.preventDefault(),$d.toggleMenu.call(s,e)},null,!1),c.bind(i.buttons.settings,"keyup",function(e){var t=e.which;[13,32].includes(t)&&(13!==t?(e.preventDefault(),e.stopPropagation(),$d.toggleMenu.call(s,e)):$d.focusFirstMenuItem.call(s,null,!0))},null,!1),c.bind(i.settings.menu,"keydown",function(e){27===e.which&&$d.toggleMenu.call(s,e)}),c.bind(i.inputs.seek,"mousedown mousemove",function(e){var t=i.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",n)}),c.bind(i.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(e){var t=e.currentTarget,n=e.keyCode?e.keyCode:e.which,i="play-on-seeked";if(!Tc.keyboardEvent(e)||39===n||37===n){s.lastSeekTime=Date.now();var r=t.hasAttribute(i),o=["mouseup","touchend","keyup"].includes(e.type);r&&o?(t.removeAttribute(i),id(s.play())):!o&&s.playing&&(t.setAttribute(i,""),s.pause())}}),_c.isIos){var e=Wc.call(s,'input[type="range"]');Array.from(e).forEach(function(e){return c.bind(e,t,function(e){return Cc(e.target)})})}c.bind(i.inputs.seek,t,function(e){var t=e.currentTarget,n=t.getAttribute("seek-value");Tc.empty(n)&&(n=t.value),t.removeAttribute("seek-value"),s.currentTime=n/t.max*s.duration},"seek"),c.bind(i.progress,"mouseenter mouseleave mousemove",function(e){return $d.updateSeekTooltip.call(s,e)}),c.bind(i.progress,"mousemove touchmove",function(e){var t=s.previewThumbnails;t&&t.loaded&&t.startMove(e)}),c.bind(i.progress,"mouseleave touchend click",function(){var e=s.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)}),c.bind(i.progress,"mousedown touchstart",function(e){var t=s.previewThumbnails;t&&t.loaded&&t.startScrubbing(e)}),c.bind(i.progress,"mouseup touchend",function(e){var t=s.previewThumbnails;t&&t.loaded&&t.endScrubbing(e)}),_c.isWebkit&&Array.from(Wc.call(s,'input[type="range"]')).forEach(function(e){c.bind(e,"input",function(e){return $d.updateRangeFill.call(s,e.target)})}),s.config.toggleInvert&&!Tc.element(i.display.duration)&&c.bind(i.display.currentTime,"click",function(){0!==s.currentTime&&(s.config.invertTime=!s.config.invertTime,$d.timeUpdate.call(s))}),c.bind(i.inputs.volume,t,function(e){s.volume=e.target.value},"volume"),c.bind(i.controls,"mouseenter mouseleave",function(e){i.controls.hover=!s.touch&&"mouseenter"===e.type}),i.fullscreen&&Array.from(i.fullscreen.children).filter(function(e){return!e.contains(i.container)}).forEach(function(e){c.bind(e,"mouseenter mouseleave",function(e){i.controls.hover=!s.touch&&"mouseenter"===e.type})}),c.bind(i.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){i.controls.pressed=["mousedown","touchstart"].includes(e.type)}),c.bind(i.controls,"focusin",function(){var e=s.config,t=s.timers;qc(i.controls,e.classNames.noTransition,!0),tf.toggleControls.call(s,!0),setTimeout(function(){qc(i.controls,e.classNames.noTransition,!1)},0);var n=c.touch?3e3:4e3;clearTimeout(t.controls),t.controls=setTimeout(function(){return tf.toggleControls.call(s,!1)},n)}),c.bind(i.inputs.volume,"wheel",function(e){var t=e.webkitDirectionInvertedFromDevice,n=qa([e.deltaX,-e.deltaY].map(function(e){return t?-e:e}),2),i=n[0],r=n[1],o=Math.sign(Math.abs(i)>Math.abs(r)?i:r);s.increaseVolume(o/50);var a=s.media.volume;(1===o&&a<1||-1===o&&0<a)&&e.preventDefault()},"volume",!1)}),this.player=e,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return Da(t,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,r="keydown"===e.type,o=r&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&Tc.number(i)){if(r){var a=document.activeElement;
1if(Tc.element(a)){var s=t.config.selectors.editable;if(a!==n.inputs.seek&&Uc(a,s))return;if(32===e.which&&Uc(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:o||id(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:o||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:o||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===i&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}}},{key:"toggleMenu",value:function(e){$d.toggleMenu.call(this.player,e)}}]),t}(),rf=Jn("splice"),of=nn("splice",{ACCESSORS:!0,0:0,1:2}),af=Math.max,sf=Math.min;Oe({target:"Array",proto:!0,forced:!rf||!of},{splice:function(e,t){var n,i,r,o,a,s,l=Ne(this),u=ue(l.length),c=fe(e,u),d=arguments.length;if(0===d?n=i=0:i=1===d?(n=0,u-c):(n=d-2,sf(af(se(t),0),u-c)),9007199254740991<u+n-i)throw TypeError("Maximum allowed length exceeded");for(r=ut(l,i),o=0;o<i;o++)(a=c+o)in l&&Vn(r,o,l[a]);if(n<(r.length=i)){for(o=c;o<u-i;o++)s=o+n,(a=o+i)in l?l[s]=l[a]:delete l[s];for(o=u;u-i+n<o;o--)delete l[o-1]}else if(i<n)for(o=u-i;c<o;o--)s=o+n-1,(a=o+i-1)in l?l[s]=l[a]:delete l[s];for(o=0;o<n;o++)l[o+c]=arguments[o+2];return l.length=u-i+n,r}});var lf=t(function(e,t){e.exports=function(){var f=function(){},a={},l={},u={};function s(e,t){if(e){var n=u[e];if(l[e]=t,n)for(;n.length;)n[0](e,t),n.splice(0,1)}}function c(e,t){e.call&&(e={success:e}),t.length?(e.error||f)(t):(e.success||f)(e)}function p(n,i,r,o){var a,s,e=document,t=r.async,l=(r.numRetries||0)+1,u=r.before||f,c=n.replace(/[\?|#].*$/,""),d=n.replace(/^(css|img)!/,"");o=o||0,/(^css!|\.css$)/.test(c)?((s=e.createElement("link")).rel="stylesheet",s.href=d,(a="hideFocus"in s)&&s.relList&&(a=0,s.rel="preload",s.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(c)?(s=e.createElement("img")).src=d:((s=e.createElement("script")).src=n,s.async=void 0===t||t),!(s.onload=s.onerror=s.onbeforeload=function(e){var t=e.type[0];if(a)try{s.sheet.cssText.length||(t="e")}catch(e){18!=e.code&&(t="e")}if("e"==t){if((o+=1)<l)return p(n,i,r,o)}else if("preload"==s.rel&&"style"==s.as)return s.rel="stylesheet";i(n,t,e.defaultPrevented)})!==u(n,s)&&e.head.appendChild(s)}function n(e,t,n){var i,r;if(t&&t.trim&&(i=t),r=(i?n:t)||{},i){if(i in a)throw"LoadJS";a[i]=!0}function o(t,n){!function(e,i,t){var n,r,o=(e=e.push?e:[e]).length,a=o,s=[];for(n=function(e,t,n){if("e"==t&&s.push(e),"b"==t){if(!n)return;s.push(e)}--o||i(s)},r=0;r<a;r++)p(e[r],n,t)}(e,function(e){c(r,e),t&&c({success:t,error:n},e),s(i,e)},r)}if(r.returnPromise)return new Promise(o);o()}return n.ready=function(e,t){return function(e,n){e=e.push?e:[e];var t,i,r,o=[],a=e.length,s=a;for(t=function(e,t){t.length&&o.push(e),--s||n(o)};a--;)i=e[a],(r=l[i])?t(i,r):(u[i]=u[i]||[]).push(t)}(e,function(e){c(t,e)}),n},n.done=function(e){s(e,[])},n.reset=function(){a={},l={},u={}},n.isDefined=function(e){return e in a},n}()});function uf(n){return new Promise(function(e,t){lf(n,{success:e,error:t})})}function cf(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,nd.call(this,this.media,e?"play":"pause"))}var df={setup:function(){var t=this;qc(t.elements.wrapper,t.config.classNames.embed,!0),t.options.speed=t.config.speed.options,sd.call(t),Tc.object(window.Vimeo)?df.ready.call(t):uf(t.config.urls.vimeo.sdk).then(function(){df.ready.call(t)}).catch(function(e){t.debug.warn("Vimeo SDK (player.js) failed to load",e)})},ready:function(){var r=this,a=this,e=a.config.vimeo,t=e.premium,n=e.referrerPolicy,i=Ha(e,["premium","referrerPolicy"]);t&&Object.assign(i,{controls:!1,sidedock:!1});var o=qd($a({loop:a.config.loop.active,autoplay:a.autoplay,muted:a.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},i)),s=a.media.getAttribute("src");Tc.empty(s)&&(s=a.media.getAttribute(a.config.attributes.embed.id));var l,u=(l=s,Tc.empty(l)?null:Tc.number(Number(l))?l:l.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:l),c=Nc("iframe"),d=xd(a.config.urls.vimeo.iframe,u,o);if(c.setAttribute("src",d),c.setAttribute("allowfullscreen",""),c.setAttribute("allow",["auto
1play","fullscreen","picture-in-picture"].join("; ")),Tc.empty(n)||c.setAttribute("referrerPolicy",n),t||!e.customControls)c.setAttribute("data-poster",a.poster),a.media=Fc(c,a.media);else{var f=Nc("div",{class:a.config.classNames.embedContainer,"data-poster":a.poster});f.appendChild(c),a.media=Fc(f,a.media)}e.customControls||Ld(xd(a.config.urls.vimeo.api,d)).then(function(e){!Tc.empty(e)&&e.thumbnail_url&&tf.setPoster.call(a,e.thumbnail_url).catch(function(){})}),a.embed=new window.Vimeo.Player(c,{autopause:a.config.autopause,muted:a.muted}),a.media.paused=!0,a.media.currentTime=0,a.supported.ui&&a.embed.disableTextTrack(),a.media.play=function(){return cf.call(a,!0),a.embed.play()},a.media.pause=function(){return cf.call(a,!1),a.embed.pause()},a.media.stop=function(){a.pause(),a.currentTime=0};var p=a.media.currentTime;Object.defineProperty(a.media,"currentTime",{get:function(){return p},set:function(e){var t=a.embed,n=a.media,i=a.paused,r=a.volume,o=i&&!t.hasPlayed;n.seeking=!0,nd.call(a,n,"seeking"),Promise.resolve(o&&t.setVolume(0)).then(function(){return t.setCurrentTime(e)}).then(function(){return o&&t.pause()}).then(function(){return o&&t.setVolume(r)}).catch(function(){})}});var h=a.config.speed.selected;Object.defineProperty(a.media,"playbackRate",{get:function(){return h},set:function(e){a.embed.setPlaybackRate(e).then(function(){h=e,nd.call(a,a.media,"ratechange")}).catch(function(){a.options.speed=[1]})}});var m=a.config.volume;Object.defineProperty(a.media,"volume",{get:function(){return m},set:function(e){a.embed.setVolume(e).then(function(){m=e,nd.call(a,a.media,"volumechange")})}});var g=a.config.muted;Object.defineProperty(a.media,"muted",{get:function(){return g},set:function(e){var t=!!Tc.boolean(e)&&e;a.embed.setVolume(t?0:a.config.volume).then(function(){g=t,nd.call(a,a.media,"volumechange")})}});var v,y=a.config.loop;Object.defineProperty(a.media,"loop",{get:function(){return y},set:function(e){var t=Tc.boolean(e)?e:a.config.loop.active;a.embed.setLoop(t).then(function(){y=t})}}),a.embed.getVideoUrl().then(function(e){v=e,$d.setDownloadUrl.call(a)}).catch(function(e){r.debug.warn(e)}),Object.defineProperty(a.media,"currentSrc",{get:function(){return v}}),Object.defineProperty(a.media,"ended",{get:function(){return a.currentTime===a.duration}}),Promise.all([a.embed.getVideoWidth(),a.embed.getVideoHeight()]).then(function(e){var t=qa(e,2),n=t[0],i=t[1];a.embed.ratio=[n,i],sd.call(r)}),a.embed.setAutopause(a.config.autopause).then(function(e){a.config.autopause=e}),a.embed.getVideoTitle().then(function(e){a.config.title=e,tf.setTitle.call(r)}),a.embed.getCurrentTime().then(function(e){p=e,nd.call(a,a.media,"timeupdate")}),a.embed.getDuration().then(function(e){a.media.duration=e,nd.call(a,a.media,"durationchange")}),a.embed.getTextTracks().then(function(e){a.media.textTracks=e,Bd.setup.call(a)}),a.embed.on("cuechange",function(e){var t=e.cues,n=(void 0===t?[]:t).map(function(e){return t=e.text,n=document.createDocumentFragment(),i=document.createElement("div"),n.appendChild(i),i.innerHTML=t,n.firstChild.innerText;var t,n,i});Bd.updateCues.call(a,n)}),a.embed.on("loaded",function(){(a.embed.getPaused().then(function(e){cf.call(a,!e),e||nd.call(a,a.media,"playing")}),Tc.element(a.embed.element)&&a.supported.ui)&&a.embed.element.setAttribute("tabindex",-1)}),a.embed.on("bufferstart",function(){nd.call(a,a.media,"waiting")}),a.embed.on("bufferend",function(){nd.call(a,a.media,"playing")}),a.embed.on("play",function(){cf.call(a,!0),nd.call(a,a.media,"playing")}),a.embed.on("pause",function(){cf.call(a,!1)}),a.embed.on("timeupdate",function(e){a.media.seeking=!1,p=e.seconds,nd.call(a,a.media,"timeupdate")}),a.embed.on("progress",function(e){a.media.buffered=e.percent,nd.call(a,a.media,"progress"),1===parseInt(e.percent,10)&&nd.call(a,a.media,"canplaythrough"),a.embed.getDuration().then(function(e){e!==a.media.duration&&(a.media.duration=e,nd.call(a,a.media,"durationchange"))})}),a.embed.on("seeked",function(){a.media.seeking=!1,nd.call(a,a.media,"seeked")}),a.embed.on("ended",function(){a.media.paused=!0,nd.call(a,a.media,"ended")}
1),a.embed.on("error",function(e){a.media.error=e,nd.call(a,a.media,"error")}),e.customControls&&setTimeout(function(){return tf.build.call(a)},0)}};function ff(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,nd.call(this,this.media,e?"play":"pause"))}var pf={setup:function(){var t=this;if(qc(this.elements.wrapper,this.config.classNames.embed,!0),Tc.object(window.YT)&&Tc.function(window.YT.Player))pf.ready.call(this);else{var e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){Tc.function(e)&&e(),pf.ready.call(t)},uf(this.config.urls.youtube.sdk).catch(function(e){t.debug.warn("YouTube API failed to load",e)})}},getTitle:function(e){var r=this;Ld(xd(this.config.urls.youtube.api,e)).then(function(e){if(Tc.object(e)){var t=e.title,n=e.height,i=e.width;r.config.title=t,tf.setTitle.call(r),r.embed.ratio=[i,n]}sd.call(r)}).catch(function(){sd.call(r)})},ready:function(){var o=this,a=o.config.youtube,e=o.media&&o.media.getAttribute("id");if(Tc.empty(e)||!e.startsWith("youtube-")){var t=o.media.getAttribute("src");Tc.empty(t)&&(t=o.media.getAttribute(this.config.attributes.embed.id));var n,i,r,s=(n=t,Tc.empty(n)?null:n.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:n),l=Nc("div",{id:(i=o.provider,"".concat(i,"-").concat(Math.floor(1e4*Math.random()))),"data-poster":a.customControls?o.poster:void 0});if(o.media=Fc(l,o.media),a.customControls){var u=function(e){return"https://i.ytimg.com/vi/".concat(s,"/").concat(e,"default.jpg")};ef(u("maxres"),121).catch(function(){return ef(u("sd"),121)}).catch(function(){return ef(u("hq"))}).then(function(e){return tf.setPoster.call(o,e.src)}).then(function(e){e.includes("maxres")||(o.elements.poster.style.backgroundSize="cover")}).catch(function(){})}o.embed=new window.YT.Player(o.media,{videoId:s,host:(r=a,r.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0),playerVars:Lc({},{autoplay:o.config.autoplay?1:0,hl:o.config.hl,controls:o.supported.ui&&a.customControls?0:1,disablekb:1,playsinline:o.config.fullscreen.iosNative?0:1,cc_load_policy:o.captions.active?1:0,cc_lang_pref:o.config.captions.language,widget_referrer:window?window.location.href:null},a),events:{onError:function(e){if(!o.media.error){var t=e.data,n={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[t]||"An unknown error occured";o.media.error={code:t,message:n},nd.call(o,o.media,"error")}},onPlaybackRateChange:function(e){var t=e.target;o.media.playbackRate=t.getPlaybackRate(),nd.call(o,o.media,"ratechange")},onReady:function(e){if(!Tc.function(o.media.play)){var n=e.target;pf.getTitle.call(o,s),o.media.play=function(){ff.call(o,!0),n.playVideo()},o.media.pause=function(){ff.call(o,!1),n.pauseVideo()},o.media.stop=function(){n.stopVideo()},o.media.duration=n.getDuration(),o.media.paused=!0,o.media.currentTime=0,Object.defineProperty(o.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(e){o.paused&&!o.embed.hasPlayed&&o.embed.mute(),o.media.seeking=!0,nd.call(o,o.media,"seeking"),n.seekTo(e)}}),Object.defineProperty(o.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(e){n.setPlaybackRate(e)}});var i=o.config.volume;Object.defineProperty(o.media,"volume",{get:function(){return i},set:function(e){i=e,n.setVolume(100*i),nd.call(o,o.media,"volumechange")}});var r=o.config.muted;Object.defineProperty(o.media,"muted",{get:function(){return r},set:function(e){var t=Tc.boolean(e)?e:r;n[(r=t)?"mute":"unMute"](),n.setVolume(100*i),nd.call(o,o.media,"volumechange")}}),Object.defineProperty(o.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(o.media,"ended",{get:function(){return o.currentTime===o.duration}});var t=n.getAvailablePlaybackRates();o.options.speed=t.filter(function(e){return o.config.speed.options.includes(e)}),o.supported.ui&&a.customControls&&o.media.setAttribute("tabindex",-1),nd.call(o,o.media,"timeupdate"),nd.call(o,o.media,"durationchange"),clearInterval(o.timers.buffering),o.timers.buffering=setInterval(function(){o.media.buffered=n.getVideoLoadedFraction(),(null===o.media.lastBuffered||o.media.lastBuffered<o.media.buffered)&&nd.call(o,o.media,"progress"),o.media.lastBuffered=o.media.buffered,1===o.media.buffered&&(clearInterval(o.timers.buffering),nd.call(o,o.media,"canplaythrough"))},200),a.customControls&&setTimeout(function(){return tf.build.call(o)},50)}},onStateChange:function(e){var t=e.target;switch(clearInterval(o.timers.playing),o.media.seeking&&[1,2].includes(e.data)&&(o.media.seeking=!1,nd.call(o,o.media,"seeked")),e.data){case-1:nd.call(o,o.media,"timeupdate"),o.media.buffered=t.getVideoLoadedFraction(),nd.call(o,o.media,"progress");break;case 0:ff.call(o,!1),o.media.loop?(t.stopVideo(),t.playVideo()):nd.call(o,o.media,"ended");break;
1case 1:a.customControls&&!o.config.autoplay&&o.media.paused&&!o.embed.hasPlayed?o.media.pause():(ff.call(o,!0),nd.call(o,o.media,"playing"),o.timers.playing=setInterval(function(){nd.call(o,o.media,"timeupdate")},50),o.media.duration!==t.getDuration()&&(o.media.duration=t.getDuration(),nd.call(o,o.media,"durationchange")));break;case 2:o.muted||o.embed.unMute(),ff.call(o,!1);break;case 3:nd.call(o,o.media,"waiting")}nd.call(o,o.elements.container,"statechange",!1,{code:e.data})}}})}}},hf={setup:function(){this.media?(qc(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),qc(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&qc(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=Nc("div",{class:this.config.classNames.video}),Mc(this.media,this.elements.wrapper),this.elements.poster=Nc("div",{class:this.config.classNames.poster,hidden:""}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?ld.setup.call(this):this.isYouTube?pf.setup.call(this):this.isVimeo&&df.setup.call(this)):this.debug.warn("No media element found!")}},mf=function(){function t(e){var o=this;Na(this,t),za(this,"load",function(){o.enabled&&(Tc.object(window.google)&&Tc.object(window.google.ima)?o.ready():uf(o.player.config.urls.googleIMA.sdk).then(function(){o.ready()}).catch(function(){o.trigger("error",new Error("Google IMA SDK failed to load"))}))}),za(this,"ready",function(){var e;o.enabled||((e=o).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),o.startSafetyTimer(12e3,"ready()"),o.managerPromise.then(function(){o.clearSafetyTimer("onAdsManagerLoaded()")}),o.listeners(),o.setupIMA()}),za(this,"setupIMA",function(){o.elements.container=Nc("div",{class:o.player.config.classNames.ads}),o.player.elements.container.appendChild(o.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(o.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(o.player.config.playsinline),o.elements.displayContainer=new google.ima.AdDisplayContainer(o.elements.container,o.player.media),o.loader=new google.ima.AdsLoader(o.elements.displayContainer),o.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(e){return o.onAdsManagerLoaded(e)},!1),o.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return o.onAdError(e)},!1),o.requestAds()}),za(this,"requestAds",function(){var e=o.player.elements.container;try{var t=new google.ima.AdsRequest;t.adTagUrl=o.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!o.player.muted),o.loader.requestAds(t)}catch(e){o.onAdError(e)}}),za(this,"pollCountdown",function(){if(!(0<arguments.length&&void 0!==arguments[0]&&arguments[0]))return clearInterval(o.countdownTimer),void o.elements.container.removeAttribute("data-badge-text");o.countdownTimer=setInterval(function(){var e=Fd(Math.max(o.manager.getRemainingTime(),0)),t="".concat(Pd("advertisement",o.player.config)," - ").concat(e);o.elements.container.setAttribute("data-badge-text",t)},100)}),za(this,"onAdsManagerLoaded",function(e){if(o.enabled){var t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,o.manager=e.getAdsManager(o.player,t),o.cuePoints=o.manager.getCuePoints(),o.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return o.onAdError(e)}),Object.keys(google.ima.AdEvent.Type).forEach(function(e){o.manager.addEventListener(google.ima.AdEvent.Type[e],function(e){return o.onAdEvent(e)})}),o.trigger("loaded")}}),za(this,"addCuePoints",function(){Tc.empty(o.cuePoints)||o.cuePoints.forEach(function(e){if(0!==e&&-1!==e&&e<o.player.duration){var t=o.player.elements.progress;
1if(Tc.element(t)){var n=100/o.player.duration*e,i=Nc("span",{class:o.player.config.classNames.cues});i.style.left="".concat(n.toString(),"%"),t.appendChild(i)}}})}),za(this,"onAdEvent",function(e){var t,n=o.player.elements.container,i=e.getAd(),r=e.getAdData();switch(t=e.type,nd.call(o.player,o.player.media,"ads".concat(t.replace(/_/g,"").toLowerCase())),e.type){case google.ima.AdEvent.Type.LOADED:o.trigger("loaded"),o.pollCountdown(!0),i.isLinear()||(i.width=n.offsetWidth,i.height=n.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:o.manager.setVolume(o.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:o.player.ended?o.loadAds():o.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:o.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:o.pollCountdown(),o.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&o.player.debug.warn("Non-fatal ad error: ".concat(r.adError.getMessage()))}}),za(this,"onAdError",function(e){o.cancel(),o.player.debug.warn("Ads error",e)}),za(this,"listeners",function(){var i,e=o.player.elements.container;o.player.on("canplay",function(){o.addCuePoints()}),o.player.on("ended",function(){o.loader.contentComplete()}),o.player.on("timeupdate",function(){i=o.player.currentTime}),o.player.on("seeked",function(){var n=o.player.currentTime;Tc.empty(o.cuePoints)||o.cuePoints.forEach(function(e,t){i<e&&e<n&&(o.manager.discardAdBreak(),o.cuePoints.splice(t,1))})}),window.addEventListener("resize",function(){o.manager&&o.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)})}),za(this,"play",function(){var e=o.player.elements.container;o.managerPromise||o.resumeContent(),o.managerPromise.then(function(){o.manager.setVolume(o.player.volume),o.elements.displayContainer.initialize();try{o.initialized||(o.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),o.manager.start()),o.initialized=!0}catch(e){o.onAdError(e)}}).catch(function(){})}),za(this,"resumeContent",function(){o.elements.container.style.zIndex="",o.playing=!1,id(o.player.media.play())}),za(this,"pauseContent",function(){o.elements.container.style.zIndex=3,o.playing=!0,o.player.media.pause()}),za(this,"cancel",function(){o.initialized&&o.resumeContent(),o.trigger("error"),o.loadAds()}),za(this,"loadAds",function(){o.managerPromise.then(function(){o.manager&&o.manager.destroy(),o.managerPromise=new Promise(function(e){o.on("loaded",e),o.player.debug.log(o.manager)}),o.initialized=!1,o.requestAds()}).catch(function(){})}),za(this,"trigger",function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=o.events[e];Tc.array(r)&&r.forEach(function(e){Tc.function(e)&&e.apply(o,n)})}),za(this,"on",function(e,t){return Tc.array(o.events[e])||(o.events[e]=[]),o.events[e].push(t),o}),za(this,"startSafetyTimer",function(e,t){o.player.debug.log("Safety timer invoked from: ".concat(t)),o.safetyTimer=setTimeout(function(){o.cancel(),o.clearSafetyTimer("startSafetyTimer()")},e)}),za(this,"clearSafetyTimer",function(e){Tc.nullOrUndefined(o.safetyTimer)||(o.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(o.safetyTimer),o.safetyTimer=null)}),this.player=e,this.config=e.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(function(e,t){o.on("loaded",e),o.on("error",t)}),this.load()}return Da(t,[{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!Tc.empty(e.publisherId)||Tc.url(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;if(Tc.url(e.tagUrl))return e.tagUrl;var t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(qd(t))}}]),t}(),gf=ft.findIndex,vf="findIndex",yf=!0,bf=nn(vf);vf in[]&&Array(1)[vf](function(){yf=!1}),Oe({target:"Array",proto:!0,forced:yf||!bf},{findIndex:function(e){return gf(this,e,1<arguments.length?arguments[1]:void 0)}}),yn(vf);var wf=Math.min,kf=[].lastIndexOf,Sf=!!kf&&1/[1].lastIndexOf(1,-0)<0,Tf=Qt("lastIndexOf"),xf=nn("indexOf",{ACCESSORS:!0,1:0}),Cf=Sf||!Tf||!xf?function(e){if(Sf)return kf.apply(this,arguments)||0;
1var t=u(this),n=ue(t.length),i=n-1;for(1<arguments.length&&(i=wf(i,se(arguments[1]))),i<0&&(i=n+i);0<=i;i--)if(i in t&&t[i]===e)return i||0;return-1}:kf;Oe({target:"Array",proto:!0,forced:Cf!==[].lastIndexOf},{lastIndexOf:Cf});var _f=function(e,t){var n={};return t.width/t.height<e?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n},Ef=function(){function t(e){var l=this;Na(this,t),za(this,"load",function(){l.player.elements.display.seekTooltip&&(l.player.elements.display.seekTooltip.hidden=l.enabled),l.enabled&&l.getThumbnails().then(function(){l.enabled&&(l.render(),l.determineContainerAutoSizing(),l.loaded=!0)})}),za(this,"getThumbnails",function(){return new Promise(function(e){var t=l.player.config.previewThumbnails.src;if(Tc.empty(t))throw new Error("Missing previewThumbnails.src config attribute");var n=function(){l.thumbnails.sort(function(e,t){return e.height-t.height}),l.player.debug.log("Preview thumbnails",l.thumbnails),e()};if(Tc.function(t))t(function(e){l.thumbnails=e,n()});else{var i=(Tc.string(t)?[t]:t).map(function(e){return l.getThumbnail(e)});Promise.all(i).then(n)}})}),za(this,"getThumbnail",function(a){return new Promise(function(o){Ld(a).then(function(e){var t,n,i={frames:(t=e,n=[],t.split(/\r\n\r\n|\n\n|\r\r/).forEac
1h(function(e){var o={};e.split(/\r\n|\n|\r/).forEach(function(e){if(Tc.number(o.startTime)){if(!Tc.empty(e.trim())&&Tc.empty(o.text)){var t=e.trim().split("#xywh="),n=qa(t,1);if(o.text=n[0],t[1]){var i=qa(t[1].split(","),4);o.x=i[0],o.y=i[1],o.w=i[2],o.h=i[3]}}}else{var r=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);r&&(o.startTime=60*Number(r[1]||0)*60+60*Number(r[2])+Number(r[3])+Number("0.".concat(r[4])),o.endTime=60*Number(r[6]||0)*60+60*Number(r[7])+Number(r[8])+Number("0.".concat(r[9])))}}),o.text&&n.push(o)}),n),height:null,urlPrefix:""};i.frames[0].text.startsWith("/")||i.frames[0].text.startsWith("http://")||i.frames[0].text.startsWith("https://")||(i.urlPrefix=a.substring(0,a.lastIndexOf("/")+1));var r=new Image;r.onload=function(){i.height=r.naturalHeight,i.width=r.naturalWidth,l.thumbnails.push(i),o()},r.src=i.urlPrefix+i.frames[0].text})})}),za(this,"startMove",function(e){if(l.loaded&&Tc.event(e)&&["touchmove","mousemove"].includes(e.type)&&l.player.media.duration){if("touchmove"===e.type)l.seekTime=l.player.media.duration*(l.player.elements.inputs.seek.value/100);else{var t=l.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);l.seekTime=l.player.media.duration*(n/100),l.seekTime<0&&(l.seekTime=0),l.seekTime>l.player.media.duration-1&&(l.seekTime=l.player.media.duration-1),l.mousePosX=e.pageX,l.elements.thumb.time.innerText=Fd(l.seekTime)}l.showImageAtCurrentTime()}}),za(this,"endMove",function(){l.toggleThumbContainer(!1,!0)}),za(this,"startScrubbing",function(e){(Tc.nullOrUndefined(e.button)||!1===e.button||0===e.button)&&(l.mouseDown=!0,l.player.media.duration&&(l.toggleScrubbingContainer(!0),l.toggleThumbContainer(!1,!0),l.showImageAtCurrentTime()))}),za(this,"endScrubbing",function(){l.mouseDown=!1,Math.ceil(l.lastTime)===Math.ceil(l.player.media.currentTime)?l.toggleScrubbingContainer(!1):td.call(l.player,l.player.media,"timeupdate",function(){l.mouseDown||l.toggleScrubbingContainer(!1)})}),za(this,"listeners",function(){l.player.on("play",function(){l.toggleThumbContainer(!1,!0)}),l.player.on("seeked",function(){l.toggleThumbContainer(!1)}),l.player.on("timeupdate",function(){l.lastTime=l.player.media.currentTime})}),za(this,"render",function(){l.elements.thumb.container=Nc("div",{class:l.player.config.classNames.previewThumbnails.thumbContainer}),l.elements.thumb.imageContainer=Nc("div",{class:l.player.config.classNames.previewThumbnails.imageContainer}),l.elements.thumb.container.appendChild(l.elements.thumb.imageContainer);var e=Nc("div",{class:l.player.config.classNames.previewThumbnails.timeContainer});l.elements.thumb.time=Nc("span",{},"00:00"),e.appendChild(l.elements.thumb.time),l.elements.thumb.container.appendChild(e),Tc.element
1(l.player.elements.progress)&&l.player.elements.progress.appendChild(l.elements.thumb.container),l.elements.scrubbing.container=Nc("div",{class:l.player.config.classNames.previewThumbnails.scrubbingContainer}),l.player.elements.wrapper.appendChild(l.elements.scrubbing.container)}),za(this,"destroy",function(){l.elements.thumb.container&&l.elements.thumb.container.remove(),l.elements.scrubbing.container&&l.elements.scrubbing.container.remove()}),za(this,"showImageAtCurrentTime",function(){l.mouseDown?l.setScrubbingContainerSize():l.setThumbContainerSizeAndPos();var n=l.thumbnails[0].frames.findIndex(function(e){return l.seekTime>=e.startTime&&l.seekTime<=e.endTime}),e=0<=n,i=0;l.mouseDown||l.toggleThumbContainer(e),e&&(l.thumbnails.forEach(function(e,t){l.loadedImages.includes(e.frames[n].text)&&(i=t)}),n!==l.showingThumb&&(l.showingThumb=n,l.loadImage(i)))}),za(this,"loadImage",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=l.showingThumb,n=l.thumbnails[e],i=n.urlPrefix,r=n.frames[t],o=n.frames[t].text,a=i+o;if(l.currentImageElement&&l.currentImageElement.dataset.filename===o)l.showImage(l.currentImageElement,r,e,t,o,!1),l.currentImageElement.dataset.index=t,l.removeOldImages(l.currentImageElement);else{l.loadingImage&&l.usingSprites&&(l.loadingImage.onload=null);var s=new Image;
1s.src=a,s.dataset.index=t,s.dataset.filename=o,l.showingThumbFilename=o,l.player.debug.log("Loading image: ".concat(a)),s.onload=function(){return l.showImage(s,r,e,t,o,!0)},l.loadingImage=s,l.removeOldImages(s)}}),za(this,"showImage",function(e,t,n,i,r){var o=!(5<arguments.length&&void 0!==arguments[5])||arguments[5];l.player.debug.log("Showing thumb: ".concat(r,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(o)),l.setImageSizeAndOffset(e,t),o&&(l.currentImageContainer.appendChild(e),l.currentImageElement=e,l.loadedImages.includes(r)||l.loadedImages.push(r)),l.preloadNearby(i,!0).then(l.preloadNearby(i,!1)).then(l.getHigherQuality(n,e,t,r))}),za(this,"removeOldImages",function(i){Array.from(l.currentImageContainer.children).forEach(function(e){if("img"===e.tagName.toLowerCase()){var t=l.usingSprites?500:1e3;if(e.dataset.index!==i.dataset.index&&!e.dataset.deleting){e.dataset.deleting=!0;var n=l.currentImageContainer;setTimeout(function(){n.removeChild(e),l.player.debug.log("Removing thumb: ".concat(e.dataset.filename))},t)}}})}),za(this,"preloadNearby",function(t){var n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return new Promise(function(a){setTimeout(function(){var r=l.thumbnails[0].frames[t].text;if(l.showingThumbFilename===r){var e;e=n?l.thumbnails[0].frames.slice(t):l.thumbnails[0].frames.slice(0,t).reverse();var o=!1;e.forEach(function(e){var t=e.text;if(t!==r&&!l.loadedImages.includes(t)){o=!0,l.player.debug.log("Preloading thumb filename: ".concat(t));var n=l.thumbnails[0].urlPrefix+t,i=new Image;i.src=n,i.onload=function(){l.player.debug.log("Preloaded thumb filename: ".concat(t)),l.loadedImages.includes(t)||l.loadedImages.push(t),a()}}}),o||a()}},300)})}),za(this,"getHigherQuality",function(e,t,n,i){if(e<l.thumbnails.length-1){var r=t.naturalHeight;l.usingSprites&&(r=n.h),r<l.thumbContainerHeight&&setTimeout(function(){l.showingThumbFilename===i&&(l.player.debug.log("Showing higher quality thumb for: ".concat(i)),l.loadImage(e+1))},300)}}),za(this,"toggleThumbContainer",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=l.player.config.classNames.previewThumbnails.thumbContainerShown;l.elements.thumb.container.classList.toggle(n,e),!e&&t&&(l.showingThumb=null,l.showingThumbFilename=null)}),za(this,"toggleScrubbingContainer",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=l.player.config.classNames.previewThumbnails.scrubbingContainerShown;l.elements.scrubbing.container.classList.toggle(t,e),e||(l.showingThumb=null,l.showingThumbFilename=null)}),za(this,"determineContainerAutoSizing",function(){(20<l.elements.thumb.imageContainer.clientHeight||20<l.elements.thumb.imageContainer.clientWidth)&&(l.sizeSpecifiedInCSS=!0)}),za(this,"setThumbContainerSizeAndPos",function(){if(l.sizeSpecifiedInCSS){if(20<l.elements.thumb.imageContainer.clientHeight&&l.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(l.elements.thumb.imageContainer.clientHeight*l.thumbAspectRatio);l.elements.thumb.imageContainer.style.width="".concat(e,"px")}else if(l.elements.thumb.imageContainer.clientHeight<20&&20<l.elements.thumb.imageContainer.clientWidth){var t=Math.floor(l.elements.thumb.imageContainer.clientWidth/l.thumbAspectRatio);l.elements.thumb.imageContainer.style.height="".concat(t,"px")}}else{var n=Math.floor(l.thumbContainerHeight*l.thumbAspectRatio);l.elements.thumb.imageContainer.style.height="".concat(l.thumbContainerHeight,"px"),l.elements.thumb.imageContainer.style.width="".concat(n,"px")}l.setThumbContainerPos()}),za(this,"setThumbContainerPos",function(){var e=l.player.elements.progress.getBoundingClientRect(),t=l.player.elements.container.getBoundingClientRect(),n=l.elements.thumb.container,i=t.left-e.left+10,r=t.right-e.left-n.clientWidth-10,o=l.mousePosX-e.left-n.clientWidth/2;o<i&&(o=i),r<o&&(o=r),n.style.left="".concat(o,"px")}),za(this,"setScrubbingContainerSize",function(){var e=_f(l.thumbAspectRatio,{width:l.player.media.clientWidth,height:l.player.media.clientHeight}
1),t=e.width,n=e.height;l.elements.scrubbing.container.style.width="".concat(t,"px"),l.elements.scrubbing.container.style.height="".concat(n,"px")}),za(this,"setImageSizeAndOffset",function(e,t){if(l.usingSprites){var n=l.thumbContainerHeight/t.h;e.style.height="".concat(e.naturalHeight*n,"px"),e.style.width="".concat(e.naturalWidth*n,"px"),e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}}),this.player=e,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return Da(t,[{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?_f(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),t}(),Af={insertElements:function(t,e){var n=this;Tc.string(e)?Rc(t,this.media,{src:e}):Tc.array(e)&&e.forEach(function(e){Rc(t,n.media,e)})},change:function(l){var u=this;Oc(l,"sources.length")?(ld.cancelRequests.call(this),this.destroy.call(this,function(){u.options.quality=[],Dc(u.media),u.media=null,Tc.element(u.elements.container)&&u.elements.container.removeAttribute("class");var e=l.sources,t=l.type,n=qa(e,1)[0],i=n.provider,r=void 0===i?Kd.html5:i,o=n.src,a="html5"===r?t:"div",s="html5"===r?{}:{src:o};Object.assign(u,{provider:r,type:t,supported:Gc.check(t,r,u.config.playsinline),media:Nc(a,s)}),u.elements.container.appendChild(u.media),Tc.boolean(l.autoplay)&&(u.config.autoplay=l.autoplay),u.isHTML5&&(u.config.crossorigin&&u.media.setAttribute("crossorigin",""),u.config.autoplay&&u.media.setAttribute("autoplay",""),Tc.empty(l.poster)||(u.poster=l.poster),u.config.loop.active&&u.media.setAttribute("loop",""),u.config.muted&&u.media.setAttribute("muted",""),u.config.playsinline&&u.media.setAttribute("playsinline","")),tf.addStyleHook.call(u),u.isHTML5&&Af.insertElements.call(u,"source",e),u.config.title=l.title,hf.setup.call(u),u.isHTML5&&Object.keys(l).includes("tracks")&&Af.insertElements.call(u,"track",l.tracks),(u.isHTML5||u.isEmbed&&!u.supported.ui)&&tf.build.call(u),u.isHTML5&&u.media.load(),Tc.empty(l.previewThumbnails)||(Object.assign(u.config.previewThumbnails,l.previewThumbnails),u.previewThumbnails&&u.previewThumbnails.loaded&&(u.previewThumbnails.destroy(),u.previewThumbnails=null),u.config.previewThumbnails.enabled&&(u.previewThumbnails=new Ef(u))),u.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}};var If,Pf=function(){function u(e,t){var o=this;if(Na(this,u),za(this,"play",function(){return Tc.function(o.media.play)?(o.ads&&o.ads.enabled&&o.ads.managerPromise.then(function(){return o.ads.play()}).catch(function(){return id(o.media.play())}),o.media.play()):null}),za(this,"pause",function(){return o.playing&&Tc.function(o.media.pause)?o.media.pause():null}),za(this,"togglePlay",function(e){return(Tc.boolean(e)?e:!o.playing)?o.play():o.pause()}),za(this,"stop",function(){o.isHTML5?(o.pause(),o.restart()):Tc.function(o.media.stop)&&o.media.stop()}),za(this,"restart",function(){o.currentTime=0}),za(this,"rewind",function(e){o.currentTime-=Tc.number(e)?e:o.config.seekTime}),za(this,"forward",function(e){o.currentTime+=Tc.number(e)?e:o.config.seekTime}),za(this,"increaseVolume",function(e){var t=o.media.muted?0:o.volume;o.volume=t+(Tc.number(e)?e:0)}),za(this,"decreaseVolume",function(e){o.increaseVolume(-e)}),za(this,"airplay",function(){Gc.airplay&&o.media.webkitShowPlaybackTargetPicker()}),za(this,"toggleControls",function(e){if(!o.supported.ui||o.isAudio)return!1;var t=Bc(o.elements.container,o.config.classNames.hideControls),n=void 0===e?void 0:!e,i=qc(o.elements.container,o.config.classNames.hideControls,n);if(i&&Tc.array(o.config.controls)&&o.config.controls.includes("settings")&&!Tc.empty(o.config.settings)&&$d.toggleMenu.call(o,!1),i!==t){var r=i?"controlshidden":"controlsshown";nd.call(o,o.media,r)}return!i}),za(this,"on",function(e,t){Jc.call(o,o.elements.container,e,t)}),za(this,"once",function(e,t){td.call(o,o.elements.container,e,t)}),za(this,"off",function(e,t){ed(o.elements.container,e,t)}),za(this,"destroy",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(o.ready){var n=function(){document.body.style.overflow="",o.embed=null,t?(Object.keys(o.elements).length&&(Dc(o.elements.buttons.play),Dc(o.elements.captions),Dc(o.elements.controls),Dc(o.elements.wrapper),o.elements.buttons.play=null,o.elements.captions=null,o.elements.controls=null,o.elements.wrapper=null),Tc.function(e)&&e()):(function(){this&&this.eventListeners&&(this.eventListeners.forEac
1h(function(e){var t=e.element,n=e.type,i=e.callback,r=e.options;t.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(o),ld.cancelRequests.call(o),Fc(o.elements.original,o.elements.container),nd.call(o,o.elements.original,"destroyed",!0),Tc.function(e)&&e.call(o.elements.original),o.ready=!1,setTimeout(function(){o.elements=null,o.media=null},200))};o.stop(),clearTimeout(o.timers.loading),clearTimeout(o.timers.controls),clearTimeout(o.timers.resized),o.isHTML5?(tf.toggleNativeControls.call(o,!0),n()):o.isYouTube?(clearInterval(o.timers.buffering),clearInterval(o.timers.playing),null!==o.embed&&Tc.function(o.embed.destroy)&&o.embed.destroy(),n()):o.isVimeo&&(null!==o.embed&&o.embed.unload().then(n),setTimeout(n,200))}}),za(this,"supports",function(e){return Gc.mime.call(o,e)}),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=Gc.touch,this.media=e,Tc.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||Tc.nodeList(this.media)||Tc.array(this.media))&&(this.media=this.media[0]),this.config=Lc({},Ud,u.defaults,t||{},function(){try{return JSON.parse(o.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Xd(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",Gc),!Tc.nullOrUndefined(this.media)&&Tc.element
1(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(Gc.check().api){var n=this.media.cloneNode(!0);n.autoplay=!1,this.elements.original=n;var i,r=this.media.tagName.toLowerCase(),a=null,s=null;switch(r){case"div":if(a=this.media.querySelector("iframe"),Tc.element(a)){if(s=Hd(a.getAttribute("src")),this.provider=(i=s.toString(),/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(i)?Kd.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(i)?Kd.vimeo:null),this.elements.container=this.media,this.media=a,this.elements.container.className="",s.search.length){var l=["1","true"];l.includes(s.searchParams.get("autoplay"))&&(this.config.autoplay=!0),l.includes(s.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=l.includes(s.searchParams.get("playsinline")),this.config.youtube.hl=s.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(Tc.empty(this.provider)||!Object.values(Kd).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Zd;break;case"video":case"audio":this.type=r,this.provider=Kd.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=Gc.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new nf(this),this.storage=new Od(this),this.media.plyr=this,Tc.element
1(this.elements.container)||(this.elements.container=Nc("div",{tabindex:0}),Mc(this.media,this.elements.container)),tf.migrateStyles.call(this),tf.addStyleHook.call(this),hf.setup.call(this),this.config.debug&&Jc.call(this,this.elements.container,this.config.events.join(" "),function(e){o.debug.log("event: ".concat(e.type))}),this.fullscreen=new Qd(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&tf.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new mf(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",function(){return id(o.play())}),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Ef(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return Da(u,[{key:"toggleCaptions",value:function(e){Bd.toggle.call(this,e,!1)}},{key:"isHTML5",get:function(){return this.provider===Kd.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===Kd.youtube}},{key:"isVimeo",get:function(){return this.provider===Kd.vimeo}},{key:"isVideo",get:function(){return this.type===Zd}},{key:"isAudio",get:function(){return this.type===Yd}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=Tc.number(e)&&0<e;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return Tc.number(e)?e:e&&e.length&&0<this.duration?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=Tc.number(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;Tc.string(t)&&(t=Number(t)),Tc.number(t)||(t=this.storage.get("volume")),Tc.number(t)||(t=this.config.volume),1<t&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!Tc.empty(e)&&this.muted&&0<t&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;Tc.boolean(t)||(t=this.storage.get("muted")),Tc.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||(!!this.isAudio||(Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)))}},{key:"speed",set:function(e){var t=this,n=null;Tc.number(e)&&(n=e),Tc.number(n)||(n=this.storage.get("speed")),Tc.number(n)||(n=this.config.speed.selected);var i=this.minimumSpeed,r=this.maximumSpeed;n=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),n)}(n,i,r),this.config.speed.selected=n,setTimeout(function(){t.media.playbackRate=n},0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,Ba(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,Ba(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i,r,o=[!Tc.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(Tc.number),a=!0;if(!n.includes(o)){var s=(i=n,r=o,Tc.array(i)&&i.length?i.reduce(function(e,t){return Math.abs(t-r)<Math.abs(e-r)?t:e}):null);this.debug.warn("Unsupported quality option: ".concat(o,", using ").concat(s," instead")),o=s,a=!1}t.selected=o,this.media.quality=o,a&&this.storage.set({quality:o})}},get:function(){return this.media.quality}},{key:"loop",set:function(e){var t=Tc.boolean(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(e){Af.change.call(this,e)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var e=this.config.urls.download;return Tc.url(e)?e:this.source},set:function(e){Tc.url(e)&&(this.config.urls.download=e,$d.setDownloadUrl.call(this))}},{key:"poster",set:function(e){this.isVideo?tf.setPoster.call(this,e,!1).catch(function(){}):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=od(ad.call(this));return Tc.array(e)?e.join(":"):e}
1,set:function(e){this.isVideo?Tc.string(e)&&rd(e)?(this.config.ratio=e,sd.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}},{key:"autoplay",set:function(e){var t=Tc.boolean(e)?e:this.config.autoplay;this.config.autoplay=t},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(e){Bd.set.call(this,e,!1)},get:function(){var e=this.captions,t=e.toggled,n=e.currentTrack;return t?n:-1}},{key:"language",set:function(e){Bd.setLanguage.call(this,e,!1)},get:function(){return(Bd.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(e){if(Gc.pip){var t=Tc.boolean(e)?e:!this.pip;Tc.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Wd:Vd),Tc.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}},get:function(){return Gc.pip?Tc.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Wd:null}}],[{key:"supported",value:function(e,t,n){return Gc.check(e,t,n)}},{key:"loadSprite",value:function(e,t){return Md(e,t)}},{key:"setup",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;return Tc.string(e)?n=Array.from(document.querySelectorAll(e)):Tc.nodeList(e)?n=Array.from(e):Tc.array(e)&&(n=e.filter(Tc.element)),Tc.empty(n)?null:n.map(function(e){return new u(e,t)})}}]),u}();return Pf.defaults=(If=Ud,JSON.parse(JSON.stringify(If))),Pf});var DES,exports={};Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}),Object.defineProperty(exports,"__esModule",{value:!0}),function(e){var t=function(){function e(){this.pageHeader=document.querySelector("header#page-header"),this.pageHeader&&(this.headroom=new Headroom(this.pageHeader,{offset:170}),this.headroom.init()),this.reflow()}return e.prototype.shiftContent=function(){if(this.isAContentPage())for(var e=0;e<this.contentElements.length;e++)if(null!=this.contentElements[e]&&this.contentElements[e].querySelectorAll("*").length){var t=document.getElementById("main"),n=this.contentElements[e].parentElement.querySelector(".intro").clientHeight,i=Math.max(0,n-this.contentElements[e].parentElement.querySelector(".intro > .right > #intro-text-wrapper").clientHeight);Foundation.MediaQuery.atLeast("xlarge")?(this.contentElements[e].setAttribute("style","margin-top: -"+i+"px;"),t.setAttribute("style","min-height:"+n+"px;")):(this.contentElements[e].setAttribute("style","margin-top: 0;"),t.removeAttribute("style"))}},e.prototype.adjustCarousel=function(){if(this.hasCarousel()){var e=document.querySelector("#newsportalStartpage")?"#newsportalStartpage":"#startpage";if(document.querySelector(e+" .slick-current")){var t=document.querySelector(e+" #tabs-wrapper");Foundation.MediaQuery.atLeast("xxlarge")?t.setAttribute("style","height:"+document.querySelector(e+" .slick-current figure img").clientHeight+"px;overflow-y:hidden"):t.removeAttribute("style")}for(var n=document.querySelector("#topslider .slick-current"),i=document.getElementById("page-header").getBoundingClientRect().width,r=0;r<this.carouselElements.length;r++){var o=this.carouselElements[r].querySelectorAll("button.slick-arrow"),a=this.carouselElements[r].querySelector(".slick-active figure"),s=this.carouselElements[r].querySelector("ul.slick-dots");if(s){if(s.style.top=a.clientHeight-s.clientHeight+"px",n){var l=n.querySelector(".text");l&&(s.style.right=i-l.getBoundingClientRect().right+"px")}}for(var u=0;u<o.length;u++)o[u].style.height=a.clientHeight+"px"}this.adjustTopslider()}},e.prototype.adjustTopslider=function(){var e=document.getElementById("topslider");if(e){var t=document.getElementById("page-header").getBoundingClientRect().width,n=e.querySelectorAll(".slick-slide"),i=t-document.getElementById("top-bar").getBoundingClientRect().right;if(n.length)for(var r=0;r<n.length;r++){var o=n[r].querySelector("figure figcaption");if(o){var a=n[r].querySelector(".text small");a&&(o.style.bottom=window.innerHeight-a.getBoundingClientRect().bottom-window.scrollY+"px"),o.style.right=i+"px"}}}},e.prototype.reflow=function(e){switch(void 0===e&&(e="all"),e){case"content":this.reflowContent();break;case"carousel":this.reflowCarousel();break;default:this.reflowContent(),this.reflowCarousel()}},e.prototype.reflowContent=function(){this.isAContentPage()&&(this.contentElements=document.querySelectorAll("#contentpage > #content > #main > .intro ~ .content"),this.shiftContent())},e.prototype.reflowCarousel=function(){this.hasCarousel()&&(this.carouselElements=document.querySelectorAll(".carousel"),this.adjustCarousel())},e.prototype.isAContentPage=function(){return!!document.getElementById("contentpage")},e.prototype.hasCarousel=function(){return!!document.getElementsByClassName("carousel")},e}();e.Layout=t}(DES||(DES={})),function(e){var t=function(){function t(){var o=this;if(this.topBarHighlightClass="active",this.bodyHideOverflowClass="hide-overflow",this.smallSidebarElement=document.getElementById("small-sidebar"),this.hasArticleNavigation=!1,this.openMainMenu=function(e){e.preventDefault();for(var t="page-search-wrapper",n=e.srcElement||e.target,i=0;i<o.topBarColorToggleElements.length;i++)o.getClosestListItem(o.topBarColorToggleElements[i]).classList.remove("clk");o.getClosestListItem(n).classList.add("clk");var r=n.parentElement.parentElement.id===t||n.parentElement.id===t||n.id===t;(r?Foundation.MediaQuery.atLeast("xxlarge")||(Foundation.MediaQuery.atLeast("large")?(o.pageHeader.classList.add("active"),o.pageHeader.classList.add("open"),o.mobileMenuToggle.classList.add("open")):(o.pageSearchCloseButton.classList.remove("hide"),o.mobileMenuToggle.classList.add("hide"))):Foundation.MediaQuery.atLeast("xxlarge")||(o.pageSearchCloseButton.classList.add("hide"),o.mobileMenuToggle.classList.remove("hide")),o.closeButton.classList.remove("hide"),o.showSubmenus(),r)&&document.querySelector("#"+t+" input.tx-solr-q").focus()},this.closePageSearch=function(){o.pageSearchButton.classList.remove("clk"),(!F
1oundation.MediaQuery.atLeast("large")&&!o.mobileMenuToggle.classList.contains("open")||Foundation.MediaQuery.atLeast("large"))&&o.closeMainMenu(),o.pageSearchCloseButton.classList.add("hide"),o.mobileMenuToggle.classList.remove("hide")},this.closeMainMenu=function(){if(o.closeButton){o.hideSubmenus(),o.closeButton.classList.add("hide");for(var e=0;e<o.topBarColorToggleElements.length;e++)o.getClosestListItem(o.topBarColorToggleElements[e]).classList.remove("clk")}},this.body=document.getElementsByTagName("body")[0],this.pageHeader=document.getElementById("page-header"),this.scrollbarWidth=t.getScrollbarWidth(),this.closeButton=document.getElementById("close-menu"),this.pageSearchButton=document.getElementById("page-search-wrapper"),this.pageSearchCloseButton=document.getElementById("page-search-close"),this.mobileMenuToggle=document.getElementById("mobile-menu-toggle"),this.closeButton&&this.closeButton.addEventListener("click",this.closeMainMenu),this.pageSearchButton&&this.pageSearchCloseButton.addEventListener("click",this.closePageSearch),this.pageHeader&&(this.addFakeScrollbarWidthElements(),this.topBarColorToggleElements=this.pageHeader.querySelectorAll("ul.top-level > li.open-submenu > a, #page-search-wrapper > .square"),this.topBarColorToggleElements))for(var e=0;e<this.topBarColorToggleElements.length;e++)this.topBarColorToggleElements[e].addEventListener("click",this.openMainMenu);this.createWaiContentNav(),this.createStickyPageContentNav()}return t.prototype.createBackLink=function(){0===document.referrer.indexOf(location.protocol+"//"+location.host)&&document.referrer!==location.href&&_.forEach(document.querySelectorAll(".backlink-wrapper"),function(e){if(0==e.childNodes.length){var t=document.createElement("a");t.setAttribute("href",document.referrer),t.setAttribute("onclick","history.back();return false;");var n=document.createElement("i");if(n.setAttribute("class","icon icon-arrow-left"),n.setAttribute("aria-hidden","true"),e.hasAttribute("data-type")&&"button"==e.getAttribute("data-type"))t.setAttribute("class","button secondary"),t.appendChild(n);else{t.setAttribute("class","back");var i=document.createTextNode(" Zurück");t.appendChild(n),t.appendChild(i)}e.appendChild(t)}})},t.prototype.getCookie=function(e){var t=("; "+document.cookie).split("; "+e+"=");return 2==t.length?t.pop().split(";").shift():""},t.prototype.createWaiContentNav=function(){var e=document.getElementById("content-menu");if(Modernizr.focuswithin){var t=document.querySelectorAll("#contentpage > #content > #main > .content > section[aria-label], #contentpage.two-cols > #content > #main > .intro.two-cols > .right > section[aria-label]");if(t&&t.length&&e){e.setAttribute("aria-label","Inhalt dieser Seite");var n=document.createElement("ul");n.classList.add("menu","simple","show-for-sr","wai-focus");var i=document.createElement("li"),r=document.createElement("em");r.appendChild(document.createTextNode("Sprungmarken auf dieser Seite:")),i.appendChild(r),n.appendChild(i);for(var o=0;o<t.length;o++){var a=t[o].id,s=document.createElement("li"),l=document.createElement("a");l.setAttribute("href","#"+a),l.setAttribute("title",'Springe zu Abschnitt "'+t[o].getAttribute("aria-label")+'" auf dieser Seite'),l.appendChild(document.createTextNode(t[o].getAttribute("aria-label"))),s.appendChild(l),n.appendChild(s)}e.appendChild(n)}else e&&e.remove()}else e.remove()},t.prototype.createStickyPageContentNav=function(){var e=document.querySelectorAll("#contentpage > #content > #main > .content > section[data-magellan-title], #contentpage.two-cols > #content > #main > .intro.two-cols > .right > section[data-magellan-title]"),t=document.querySelector("#contentpage > #content #sidebar #menu-wrapper"),n=document.querySelector("#contentpage > #content > #sidebar > #large-sidebar #backlink-wrapper a.back");if(e&&e.length&&t){var i=document.createElement("div");i.setAttribute("data-sticky-container","true");var r=document.createElement("div");r.setAttribute("class","sticky"),r.setAttribute("data-sticky","true"),r.setAttribute("data-stick-to","bottom"),r.innerHTML=t.innerHTML,t.innerHTML="";var o=document.createElement("ul");if(o.setAttribute("class","clean"),o.setAttribute("data-magellan","true"),o.setAttribute("data-deep-link","true"),o.setAttribute("data-active-class","active"),0<e.length&&n){var a=document.createElement("li");a.appendChild(n),o.appendChild(a),document.getElementById("backlink-wrapper").remove()}for(var s=0;s<e.length;s++){var l=e[s].id;e[s].setAttribute("data-magellan-target",l);var u=document.createElement("li"),c=document.createElement("a");c.setAttribute("href","#"+l),Modernizr.focuswithin&&c.setAttribute("tabindex","-1"),c.setAttribute("aria-label","Springe zum Abschnitt "+e[s].getAttribute("data-magellan-title")),c.appendChild(document.createTextNode(e[s].getAttribute("data-magellan-title"))),u.appendChild(c),o.appendChild(u),e.length-1==s&&(r.setAttribute("data-top-anchor","content:top"),r.setAttribute("data-btm-anchor","main:bottom"),r.setAttribute("data-margin-bottom","5"))}if(o.childElementCount){var d=this;this.hasArticleNavigation=!0,r.appendChild(o),i.appendChild(r),document.querySelector("#contentpage #sidebar #menu-wrapper").appendChild(i);var f=document.createElement("button");f.setAttribute("type","button"),f.className="button secondary",f.setAttribute("aria-label","Artikelnavigation öffnen");var p=document.createElement("i");p.className="icon icon-dots",p.setAttribute("aria-hidden","true"),f.appendChild(p),f.addEventListener("click",function(){d.scrollPosition=d.getScroll();
1var e="article-navigation-overlay",t=document.getElementById(e);if(t)t.classList.remove("hide");else{(t=document.createElement("div")).id=e;var n=document.createElement("header");n.innerHTML=document.querySelector("#main > .intro > .right h1").innerHTML;var i=document.createElement("i");i.className="icon icon-times",i.setAttribute("aria-hidden","true"),i.addEventListener("click",function(){t.className="hide",window.scrollTo(d.scrollPosition.x,d.scrollPosition.y)}),n.appendChild(i),t.appendChild(n),t.appendChild(o.cloneNode(!0)),_.forEach(t.querySelectorAll("ul[data-magellan] > li > a"),function(e){e.addEventListener("click",function(){t.className="hide"})}),document.body.appendChild(t)}window.scrollTo(0,0)}),this.smallSidebarElement.querySelector("li.articles-wrapper").appendChild(f)}}},t.prototype.getScroll=function(){var e={};if(null!=window.pageYOffset)return e.x=pageXOffset,e.y=pageYOffset,e;var t=document,n=t.documentElement,i=t.body;return e.x=n.scrollLeft||i.scrollLeft||0,e.y=n.scrollTop||i.scrollTop||0,e},t.prototype.addFakeScrollbarWidthElements=function(){var e=document.querySelectorAll('[data-add-scrollbar-width="true"]'),t=document.createElement("div");if(t.classList.add("scrollbar-width"),t.style.width=this.scrollbarWidth+"px",e)for(var n=0;n<e.length;n++)e[n].appendChild(t.cloneNode(!0))},t.prototype.getClosestListItem=function(e){return e.closest("li")},t.getScrollbarWidth=function(){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var i=n.offsetWidth;return e.parentNode.removeChild(e),t-i},t.prototype.showSubmenus=function(){this.body.classList.add(this.bodyHideOverflowClass),this.pageHeader.classList.add(this.topBarHighlightClass)},t.prototype.hideSubmenus=function(){this.body.classList.remove(this.bodyHideOverflowClass),this.pageHeader.classList.remove(this.topBarHighlightClass)},t}();e.Navigation=t}(DES||(DES={})),function(e){var t=function(){function e(e,t){this.menusArray=[],this.breadCrumbs=!1,this.isAnimating=!1,this.support={animations:Modernizr.cssanimations},this.animEndEventNames={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",animation:"animationend"},this.animEndEventName=this.animEndEventNames[Modernizr.prefixed("animation")],this.options={breadcrumbsCtrl:!0,initialBreadcrumb:"all",backCtrl:!0,itemsDelayInterval:60,direction:"r2l",onItemClick:function(e,t){return!1}},this.element=e,_.assign(this.options,t),this.element&&(this.menus=[].slice.call(this.element.querySelectorAll(".menu__level")),this.currentMenu=0,this.calculateCurrentMenu(),this.init())}return e.prototype.reflow=function(){this.backCtrlTitle.innerHTML=" ",this.menus.forEach(function(e,t){e.classList.remove("menu__level--current")}),this.calculateCurrentMenu(),this.menuIn(this.menusArray[this.currentMenu].menuEl)},e.prototype.calculateCurrentMenu=function(){var i;this.menus.forEach(function(e,n){[].slice.call(e.querySelectorAll(".menu__item")).forEach(function(e,t){e.querySelector(".menu__link--current")&&(i=n)})}),i&&(this.currentMenu=i)},e.prototype.init=function(){var o=this,a=[];this.menus.forEach(function(e,r){var t={menuEl:e,menuItems:[].slice.call(e.querySelectorAll(".menu__item"))};o.menusArray.push(t),r===o.currentMenu&&e.classList.add("menu__level--current");e.getAttribute("data-menu");[].slice.call(e.querySelectorAll(".menu__link")).forEach(function(e,t){var n=e.getAttribute("data-submenu");if(n){var i={menu:n,name:e.innerHTML,backName:e.querySelector("em").innerHTML};a[r]||(a[r]=[]),a[r].push(i)}})}),this.menus.forEach(function(e,i){var r=e.getAttribute("data-menu");a.forEach(function(e,n){e.forEach(function(e,t){e.menu==r&&(o.menusArray[i].backIdx=n,o.menusArray[i].name=e.name,o.menusArray[i].backName=e.backName)})})}),o.options.breadcrumbsCtrl&&(this.breadcrumbsCtrl=document.createElement("nav"),this.breadcrumbsCtrl.className="menu__breadcrumbs",this.breadcrumbsCtrl.setAttribute("aria-label","Sie sind hier"),this.element.insertBefore(this.breadcrumbsCtrl,this.element.firstChild),this.addBreadcrumb(0),0!=o.menusArray[o.currentMenu].backIdx&&0!=o.currentMenu&&(this.crawlCrumbs(o.menusArray[o.currentMenu].backIdx,o.menusArray),this.breadCrumbs=!0),0!=o.currentMenu&&(this.addBreadcrumb(o.currentMenu),this.breadCrumbs=!0)),this.options.backCtrl&&(this.backCtrl=document.createElement("button"),this.breadCrumbs||0<this.currentMenu?this.backCtrl.className="menu__back":this.backCtrl.className="menu__back menu__back--hidden",this.backCtrl.setAttribute("aria-label","Zurück"),this.backCtrl.innerHTML='<span class="menu__back--title"> </span>',this.element.insertBefore(this.backCtrl,this.element.firstChild),this.backCtrlTitle=this.backCtrl.querySelector("span.menu__back--title"),0<this.currentMenu&&(this.backCtrlTitle.innerText=this.menusArray[this.currentMenu].backName)),this.initEvents()},e.prototype.initEvents=function(){for(var a=this,e=0,t=this.menusArray.length;e<t;
1++e)this.menusArray[e].menuItems.forEach(function(e,o){var t=e.querySelector("a");t&&t.addEventListener("click",function(e){var t="EM"==(e.srcElement||e.target).tagName.toUpperCase()?(e.srcElement||e.target).parentElement:e.srcElement||e.target,n=t.getAttribute("data-submenu"),i=t.innerHTML,r=a.element.querySelector('ul[data-menu="'+n+'"]');n&&r?(e.preventDefault(),a.openSubMenu(r,o,i)):(a.element.querySelector(".menu__link--current")&&a.element.querySelector(".menu__link--current").classList.remove("menu__link--current"),t.classList.add("menu__link--current"),a.options.onItemClick(e,i))})});this.options.backCtrl&&this.backCtrl.addEventListener("click",function(){a.back()})},e.prototype.back=function(){if(this.isAnimating)return!1;this.isAnimating=!0,this.menuOut();var e=this.menusArray[this.menusArray[this.currentMenu].backIdx].menuEl;this.menuIn(e),this.options.breadcrumbsCtrl&&this.breadcrumbsCtrl.removeChild(this.breadcrumbsCtrl.lastElementChild)},e.prototype.openSubMenu=function(e,t,n){if(this.isAnimating)return!1;this.isAnimating=!0,this.menusArray[this.menus.indexOf(e)].backIdx=this.currentMenu,this.menusArray[this.menus.indexOf(e)].name=n,this.menuIn(e,t)},e.prototype.addBreadcrumb=function(i){if(!this.options.breadcrumbsCtrl)return!1;var r=document.createElement("a");r.href="#",r.innerHTML=i?this.menusArray[i].name:this.options.initialBreadcrumb,this.breadcrumbsCtrl.appendChild(r);var o=this;r.addEventListener("click",function(e){if(e.preventDefault(),!r.nextSibling||o.isAnimating)return!1;o.isAnimating=!0;var t,n=o.menusArray[i].menuEl;for(o.menuIn(n);t=r.nextSibling;)o.breadcrumbsCtrl.removeChild(t)})},e.prototype.menuIn=function(e,n){var i=this,r=this.menusArray[this.currentMenu].menuEl,o=void 0===n,a=this.menus.indexOf(e),s=this.menusArray[a],l=s.menuEl,t=s.menuItems,u=t.length;this.menuOut(n),t.forEach(function(e,t){e.style.webkitAnimationDelay=e.style.animationDelay=o?t*i.options.itemsDelayInterval+"ms":Math.abs(n-t)*i.options.itemsDelayInterval+"ms",t===(n<=u/2||o?u-1:0)&&i.onEndAnimation(e,function(){"r2l"===i.options.direction?(r.classList.remove(o?"animate-outToRight":"animate-outToLeft"),l.classList.remove(o?"animate-inFromLeft":"animate-inFromRight")):(r.classList.remove(o?"animate-outToLeft":"animate-outToRight"),l.classList.remove(o?"animate-inFromRight":"animate-inFromLeft")),r.classList.remove("menu__level--current"),l.classList.add("menu__level--current"),i.currentMenu=a,o?0===i.currentMenu&&i.options.backCtrl&&i.backCtrl.classList.add("menu__back--hidden"):(i.options.backCtrl&&i.backCtrl.classList.remove("menu__back--hidden"),i.addBreadcrumb(a)),i.backCtrlTitle.innerHTML=s.backName,i.isAnimating=!1,l.focus()})}),"r2l"===this.options.direction?l.classList.add(o?"animate-inFromLeft":"animate-inFromRight"):l.classList.add(o?"animate-inFromRight":"animate-inFromLeft")},e.prototype.menuOut=function(n){var i=this,e=this.menusArray[this.currentMenu].menuEl,r=void 0===n;this.menusArray[this.currentMenu].menuItems.forEach(function(e,t){e.style.webkitAnimationDelay=e.style.animationDelay=r?t*i.options.itemsDelayInterval+"ms":Math.abs(n-t)*i.options.itemsDelayInterval+"ms"}),"r2l"===this.options.direction?e.classList.add(r?"animate-outToRight":"animate-outToLeft"):e.classList.add(r?"animate-outToLeft":"animate-outToRight")},e.prototype.onEndAnimation=function(e,t){var n=this,i=function(e){if(n.support.animations){if((e.target||e.srcElement)!=this)return;this.removeEventListener(n.animEndEventName,i)}t&&"function"==typeof t&&t.call(this)};n.support.animations?e.addEventListener(n.animEndEventName,i):i()},e.prototype.crawlCrumbs=function(e,t){0!=t[e].backIdx&&this.crawlCrumbs(t[e].backIdx,t),this.addBreadcrumb(e)},e}();e.SlidingNavigation=t}(DES||(DES={})),function(o){var e=function(){function e(){var r=this;this.fonts=["Dornbirn Icon:n4,n7","Manuale","Titillium Web:400,600,700"],this.galleries=[],this.updateWebcamImage=function(t){var n=r;if(t.getAttribute("data-webcam")){var i=new XMLHttpRequest;n.webcamXhr=i;var e="/?type=1579961457&tx_dornbirncommon_json_webcam[source]="+t.getAttribute("data-webcam");i.onload=function(){if(200==i.status&&i.status<300){var e=JSON.parse(i.responseText);1==e.success&&t.setAttribute("src",e.data)}n.webcamTimeout=setTimeout(function(){n.updateWebcamImage(t)},2e3)},i.open("GET",e),i.setRequestHeader("cache-control","no-cache, must-revalidate, post-check=0, pre-check=0"),i.setRequestHeader("cache-control","max-age=0"),i.setRequestHeader("cache-control","no-store"),i.setRequestHeader("expires","0"),i.setRequestHeader("expires","Tue, 01 Jan 1980 1:00:00 GMT"),i.setRequestHeader("pragma","no-cache"),i.send()}},this.fontLoaded=function(){r.layout.reflow()},this.resizeThrottler=function(){r.resizeTimeout||(r.resizeTimeout=window.setTimeout(function(){r.resizeTimeout=0,r.handle()},100))},this.toggleMobileMenu=function(){if(!Foundation.MediaQuery.atLeast("xxlarge")){if(r.mobileMenuToggleElement.classList.toggle("open"),r.navigation.pageHeader.classList.toggle("open"),Foundation.MediaQuery.atLeast("large")){if(r.mobileMenuToggleElement.classList.contains("open")){if(!r.navigation.pageHeader.querySelector("li.clk")){var e=r.navigation.pageHeader.querySelector("li.act");e||(e=r.navigation.pageHeader.querySelector("nav.main-menu.show-for-large > ul.menu.simple.top-level > li"))&&e.classList.add("act"),e.classList.add("clk")}r.tabletNavigation.forEach(function(e,t){e.reflow()}),r.navigation.showSubmenus()}else r.navigation.hideSubmenus();return}r.mobileMenuToggleElement.classList.contains("open")?(r.mobileNavigation.reflow(),r.navigation.showSubmenus()):r.navigation.hideSubmenus()}},this.closeMenu=function(){!Foundation.MediaQuery.atLeast("xxlarge")&&r.mobileMenuToggleElement.classList.contains("open")?r.toggleMobileMenu():r.navigation.closeMainMenu()},this.breakpointSwitched=function(e,t,n){r.navigation&&(r.navigation.hideSubmenus(),r.navigation.pageHeader.classList.remove("open")),r.mobileMenuToggleElement&&r.mobileMenuToggleElement.classList.remove("open"),r.layout.adjustCarousel(),r.masonries.forEac
1h(function(e){return e.reflow()})},this.timestamp=Date.now(),this.layout=new o.Layout,this.navigation=new o.Navigation,this.allAudioPlayer=new o.AllAudioPlayer,this.mobileNavigation=new o.SlidingNavigation(document.getElementById("mobile-menu"),{breadcrumbsCtrl:!1,backCtrl:!0}),this.masonries=[],Array.from(document.querySelectorAll("[data-masonry]")).forEach(function(e){r.masonries.push(new o.Masonry(e.id))}),this.tabletNavigation=[];var i=this;[].slice.call(document.querySelectorAll(".tablet-menu")).forEach(function(e,t){var n=new o.SlidingNavigation(e,{breadcrumbsCtrl:!1,backCtrl:!0});i.tabletNavigation.push(n)}),window.addEventListener("resize",this.resizeThrottler,!1);var t=this;jQuery(".webcam-modal").on("open.zf.reveal",function(){var e=jQuery(this);t.updateWebcamImage(e[0].querySelector("img"))}).on("closed.zf.reveal",function(){t.webcamTimeout&&clearTimeout(t.webcamTimeout),t.webcamXhr&&t.webcamXhr.abort()}),[].slice.call(document.querySelectorAll("[data-linked-page-image]")).forEach(function(e,t){switch(e.dataset.linkedPageImage){case"panotour":var n=document.querySelectorAll(".pswp")[0],i=[{html:'<iframe frameborder="0" src="'+e.getAttribute("href")+'" width="100%" height="100%" style="padding:50px 25px 25px;"></iframe>'}],r={index:0};e.addEventListener("click",function(e){e.preventDefault(),new PhotoSwipe(n,PhotoSwipeUI_Default,i,r).init()})}}),document.addEventListener("keydown",function(e){"Escape"===e.key&&t.closeMenu()}),this.mobileMenuToggleElement=document.getElementById("mobile-menu-toggle"),this.mobileMenuToggleElement&&this.mobileMenuToggleElement.querySelector("span.square").addEventListener("click",this.toggleMobileMenu),WebFont.load({custom:{families:this.fonts},active:this.fontLoaded})}return e.prototype.handle=function(){window.innerWidth==this.width&&window.innerHeight==this.height||(this.layout.adjustCarousel(),window.innerWidth!=this.width&&(this.width=window.innerWidth,this.layout.shiftContent(),this.navigation&&(this.navigation.closeMainMenu(),this.navigation.hideSubmenus(),this.navigation.pageHeader.classList.remove("open")),this.mobileMenuToggleElement&&this.mobileMenuToggleElement.classList.remove("open")),window.innerHeight!=this.height&&(this.height=window.innerHeight))},e.prototype.addGallery=function(e){if(this.navigation.smallSidebarElement){this.galleries.push(e);var t=document.createElement("button");t.className="secondary button",t.setAttribute("type","button");var n=document.createElement("i");n.className="icon icon-image",n.setAttribute("aria-hidden","true"),t.appendChild(n.cloneNode(!0)),t.addEventListener("click",function(){e.open()}),this.navigation.smallSidebarElement.querySelector("li.galleries-wrapper").appendChild(t)}},e}();o.Page=e}(DES||(DES={})),function(t){var e=function(){function e(e){var r=this;if(this.defaultOptions={index:0},this.destroy=function(e,t){r.destroyVideo();var n=document.createEvent("Event");n.initEvent("destroy",!0,!0),r.pswpElement.dispatchEvent(n)},this.beforeChange=function(){r.destroyVideo();var e=document.createEvent("Event");e.pswp=r.pswp,e.initEvent("beforeChange",!0,!0),r.pswpElement.dispatchEvent(e)},this.afterChange=function(){r.checkForVideo();var e=document.createEvent("Event");e.pswp=r.pswp,e.initEvent("afterChange",!0,!0),r.pswpElement.dispatchEvent(e)},this.getThumbBounds=function(e){var t=r.items[e].element.getElementsByTagName("img")[0],n=window.pageYOffset||document.documentElement.scrollTop,i=t.getBoundingClientRect();return{x:i.left,y:i.top+n,w:i.width}},this.onThumbnailsClick=function(e){var t=(e=e||window.event).target||e.srcElement,n=r.closest(t,function(e){return e});if("A"!=n.tagName.toUpperCase()||!n.classList.contains("download")){e.preventDefault?e.preventDefault():e.returnValue=!1;var i=r.closest(t,function(e){return e.tagName&&"FIGURE"===e.tagName.toUpperCase()});i&&r.open(parseInt(i.dataset.galleryItemIndex,10))}},null!=e){this.options={},this.options.galleryUID=e.dataset.id,this.options.getThumbBoundsFn=this.getThumbBounds,this.pswpElement=document.getElementById("pswp"),this.items=this.parseThumbnails(e),e.onclick=this.onThumbnailsClick;var t=this.parseHash();t.pid&&this.options.galleryUID==t.gid&&this.open(t.pid,!0,!0)}}return e.prototype.open=function(e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=!1),void 0===n&&(n=!1),n)if(this.options.galleryPIDs){for(var i=0;i<this.items.length;i++)if(this.items[i].pid==e){this.options.index=i;break}}else this.options.index=e-1;else this.options.index=e;isNaN(this.options.index)||(t&&(this.options.showAnimationDuration=0),this.pswp=new PhotoSwipe(this.pswpElement,PhotoSwipeUI_Default,this.items,this.options),this.pswp.listen("beforeChange",this.beforeChange),this.pswp.listen("afterChange",this.afterChange),this.pswp.listen("destroy",this.destroy),this.pswp.init())},e.prototype.parseThumbnails=function(e){var t=e.querySelectorAll("figure figure"),r=[],o=0;return _.forEach(t,function(e){var t=e.querySelector("a"),n=e.querySelector("figcaption");if(t){e.setAttribute("data-gallery-item-index",String(o++));var i=new a(e);i.type=t.dataset.type||"image","video"==i.type?i.html=t.dataset.video:"iframe"==i.type?i.html=t.dataset.src:(i.src=t.href,i.h=parseInt(t.dataset.height,10),i.w=parseInt(t.dataset.width,10)),n&&(i.title=n.innerHTML),t.children.length&&(i.thumbnail=t.children[0].getAttribute("src")),r.push(i)}}),r},e.prototype.destroyVideo=function(){this.video&&(this.video.player.stop(),this.video.destroy(),delete this.video)},e.prototype.checkForVideo=function(){"video"==this.pswp.currItem.type&&(this.video=new t.Video("#player"),this.video.player.autoplay=!0)},e.prototype.closest=function(e,t){return e&&(t(e)?e:this.closest(e.parentNode,t))},e.prototype.parseHash=function(){var e=window.location.hash.substring(1),t={};if(e.length<5)return t;for(var n=e.split("&"),i=0;i<n.length;i++)if(n[i]){var r=n[i].split("=");r.length<2||(t[r[0]]=r[1])}return t},e}();t.Gallery=e;var a=function(e){this.element=e};t.GalleryItem=a}(DES||(DES={})),function(r){var e=function(){function e(){this.defaultOptions={controls:["play-large"]},this.audioFiles=[],this.lsIdentifierLastAudioFile="lastPlayedAudioFile",this.lsIdentifierPlayAll="playAll",this.findAudioFiles(),this.setLastPlayedAudiFileIndex(-1)}return e.prototype.setCurrentPlyr=function(e){this.currentPlayer!=e&&(this.stopCurrentPlayer(),this.currentPlayer=e)},e.prototype.addAudioFile=function(e){this.audioFiles.push(e),e.setIndex(this.audioFiles.length-1)},e.prototype.clearAudioFiles=function(){this.audioFiles=[],this.setLastPlayedAudiFileIndex(-1),sessionStorage.removeItem(this.lsIdentifierLastAudioFile)},e.prototype.findAudioFiles=function(){var i=this;this.clearAudioFiles(),[].slice.call(document.querySelectorAll("audio")).forEac
1h(function(e,t){var n=new r.Audio("#"+e.getAttribute("id"),i);i.addAudioFile(n)})},e.prototype.play=function(){var t=this,e=this.getLastPlayedAudiFileIndex();if(e+1>=this.audioFiles.length)return this.setLastPlayedAudiFileIndex(-1),void this.stop();sessionStorage.setItem(this.lsIdentifierPlayAll,"1"),this.setCurrentPlyr(this.audioFiles[e+1].player),this.currentPlayer.on("ended",function(e){"1"==sessionStorage.getItem(t.lsIdentifierPlayAll)&&t.play()}),this.currentPlayer.play()},e.prototype.stop=function(){sessionStorage.removeItem(this.lsIdentifierPlayAll)},e.prototype.stopCurrentPlayer=function(){null!=this.currentPlayer&&this.currentPlayer.playing&&this.currentPlayer.stop()},e.prototype.setLastPlayedAudiFileIndex=function(e){sessionStorage.setItem(this.lsIdentifierLastAudioFile,String(e))},e.prototype.getLastPlayedAudiFileIndex=function(){return sessionStorage.getItem(this.lsIdentifierLastAudioFile)?Number(sessionStorage.getItem(this.lsIdentifierLastAudioFile)):-1},e}();r.AllAudioPlayer=e}(DES||(DES={})),function(e){var t=function(){function e(e,t){var n=this;this.defaultOptions={controls:["play-large"]},this.indexInGlobalArray=-1,this.allAudioPlayer=t,null!=e&&(this.player=new Plyr(e,this.defaultOptions),this.player.on("playing",function(e){t.setCurrentPlyr(n.player)}),this.player.on("ended",function(e){n.allAudioPlayer.setLastPlayedAudiFileIndex(n.indexInGlobalArray)}))}return e.prototype.destroy=function(){this.player&&this.player.destroy()},e.prototype.setIndex=function(e){this.indexInGlobalArray=e},e}();e.Audio=t}(DES||(DES={})),function(e){var t=function(){function e(e){this.defaultOptions={controls:["play","progress","volume","captions","fullscreen"],youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1}},null!=e&&(this.player=new Plyr(e,this.defaultOptions))}return e.prototype.destroy=function(){this.player&&this.player.destroy()},e}();e.Video=t}(DES||(DES={})),function(e){var t=function(){function e(){this.init()}return e.prototype.init=function(){jQuery("form[data-suggest]").each(function(){var a=$(this),t=a.find(".tx-solr-suggest");jQuery.ajaxSetup({jsonp:"tx_solr[callback]"}),0===t.length&&(t=a),t.css("position","relative"),a.on("submit",function(e){""===a.find(".tx-solr-suggest").val()&&(e.preventDefault(),a.find(".tx-solr-suggest").focus())}),a.find(".tx-solr-suggest").devbridgeAutocomplete({serviceUrl:a.data("suggest"),dataType:"jsonp",paramName:"tx_solr[queryString]",groupBy:"category",maxHeight:1e3,autoSelectFirst:!1,triggerSelectOnValidInput:!1,appendTo:t.parent(),onSelect:function(e){e.data.link?location.href=e.data.link:a.trigger("submit")},transformResult:function(e){if(!e.suggestions)return{suggestions:[]};var r,o={suggestions:$.map(e.suggestions,function(e,t){return r||(r=t),{value:t,data:{category:"suggestion",count:e}}})};return $.each(e.documents,function(e,t){var n=t;if(n.link){var i=a.data("suggest-header")?a.data("suggest-header"):"Top results";n.category=i,n.group&&(n.category=a.data("suggest-header-"+n.group)?a.data("suggest-header-"+n.group):n.group),o.suggestions.push({value:r,data:n})}}),o},beforeRender:function(e){e.find(".autocomplete-group:first").remove(),e.addClass("tx-solr-autosuggest"),t.parent().addClass("autocomplete-active").fadeIn()},formatResult:function(e,t){if(!t)return e.value;var n="("+$.Autocomplete.utils.escapeRegExChars(t.trim())+")";if("suggestion"===e.data.category)return e.value.replace(new RegExp(n,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>");var i=e.data.title.replace(new RegExp(n,"gi"),"<em>$1</em>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?em)>/g,"<$1>");return'<div class="'+e.data.type+'">'+(e.data.previewImage?"<figure "+(e.data.hasVideo?'class="hasVideo"':"")+'><img src="'+e.data.previewImage+'" /></figure>':"")+'<a href="'+e.data.link+'" class="internal-link">'+i+"</a></div>"}}).on("blur",function(){t.parent().removeClass("autocomplete-active");var e=$(this);setTimeout(function(){e.devbridgeAutocomplete("hide")},200)}),a.removeAttr("data-suggest")})},e}();e.SearchSuggest=t}(DES||(DES={})),function(e){var t=function(){function e(e){this.id=e,this.reinit()}return e.prototype.reinit=function(){this.masonryContainer=document.getElementById(this.id),this.masonryContainer&&(this.masonryColumns=this.masonryContainer.querySelectorAll("[data-column]"),this.masonryColumns&&(this.masonryContent=document.querySelectorAll('[data-masonry-content="'+this.id+'"] [data-masonry-content-item]'))),this.reflow()},e.prototype.reflow=function(){if(this.masonryColumns){var t=Array.from(this.masonryColumns).filter(function(e){return"none"!==window.getComputedStyle(e).display}),n=0;Array.from(this.masonryContent).forEach(function(e){t[n].appendChild(e),n===t.length-1?n=0:n++})}},e}();e.Masonry=t}(DES||(DES={}));var page=new DES.Page;jQuery(document).foundation(),jQuery(window).on("changed.zf.mediaquery",page.breakpointSwitched),document.addEventListener("lazyloaded",function(e){var t=(e.srcElement||e.target).parentNode.querySelector(".loader");t&&t.remove()}),jQuery(document).ready(function(e){var t=document.querySelectorAll(".video");if(t)for(var n=0;n<t.length;n++)if(page.navigation.smallSidebarElement){var i=document.createElement("a");i.className="secondary button",i.setAttribute("href",t[n].getAttribute("href")),i.setAttribute("target","_blank");var r=document.createElement("i");r.className="icon icon-play-circle",r.setAttribute("aria-hidden","true"),i.appendChild(r.cloneNode()),page.navigation.smallSidebarElement.querySelector("li.videos-wrapper").appendChild(i)}}),jQuery(".carousel").slick({adaptiveHeight:!0,autoplay:!0,autoplaySpeed:3750,cssEase:"ease-out",dots:!0,easing:"linear",infinite:!0,prevArrow:'<button type="button" class="slick-prev"><span class="show-for-sr">Vorigen Eintrag anzeigen</span></button>',nextArrow:'<button type="button" class="slick-next"><span class="show-for-sr">Nächsten Eintrag anzeigen</span></button>'}).on("init",function(){page.layout.adjustCarousel()}); 2
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.