PageSourceSearch

https://kompakt.fm/media/builds/20250624-173813/js/frontend-all.min.js

js kompakt.fm collected 2026-09-24 17:46:04 UTC 288,828 bytes, 1 lines download raw bytes

1var soundManager,lightbox;function Lightbox(){function n(){return window.innerHeight||document.documentElement.offsetHeight}function s(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o||!1):e.attachEvent&&e.attachEvent("on"+t,n)}function a(e,t){return e&&t&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)}function l(e,t){return e&&t&&(e.className=e.className.replace(new RegExp("(?:^|\\s)"+t+"(?!\\S)"),""),e)}function u(e,t){return e&&t&&(a(e,t)||(e.className+=" "+t),e)}function c(e){return void 0!==e}function d(e,t){return!(!e||!c(e))&&(e.getAttribute?n=e.getAttribute(t):e.getAttributeNode&&(n=e.getAttributeNode(t).value),!(!c(n)||""===n)&&n);var n}function f(t){s(t,"click",function(e){h(e),(e=e).preventDefault?e.preventDefault():e.returnValue=!1,M=d(t,T+"-group")||!1,o(N=t,!1,!1,!1)},!1)}function h(e){e.stopPropagation?e.stopPropagation():e.returnValue=!1}function p(e){for(var t=[],n=0;n<k.thumbnails.length;n++)d(k.thumbnails[n],T+"-group")===e&&t.push(k.thumbnails[n]);return t}function m(e,t){for(var n=p(t),o=0;o<n.length;o++)if(d(e,"src")===d(n[o],"src")&&d(e,T+"-index")===d(n[o],T+"-index")&&d(e,T)===d(n[o],T))return o}function g(){E||(_(),v=setTimeout(function(){var e;u(k.box,w+"-loading"),A||"number"!=typeof k.opt.loadingAnimation||(e=0,t=setInterval(function(){u(L[e],w+"-active"),setTimeout(function(){l(L[e],w+"-active")},k.opt.loadingAnimation),e=e>=L.length?0:e+1},k.opt.loadingAnimation))},500))}function _(){if(!E&&(l(k.box,w+"-loading"),!A&&"string"!=typeof k.opt.loadingAnimation&&k.opt.loadingAnimation)){clearInterval(t);for(var e=0;e<L.length;e++)l(L[e],w+"-active")}}function y(){var e;k.opt.responsive&&D&&H&&(e=n()/2-D.offsetHeight/2,D.style.top=e+"px",H.style.top=e+"px")}function o(e,t,i,r){var n,o;(e||t)&&((M=t||M||d(e,T+"-group"))&&(S=p(M),"boolean"!=typeof e||e||(e=S[0])),I.img=new Image,n="string"==typeof(N=e)?e:d(e,T)?d(e,T):d(e,"src"),j=!1,P||("number"==typeof k.opt.animation&&u(I.img,w+"-animate-transition "+w+"-animate-init"),P=!0,k.opt.onopen&&k.opt.onopen(I)),k.opt&&c(k.opt.hideOverflow)&&!k.opt.hideOverflow||C.setAttribute("style","overflow: hidden"),k.box.setAttribute("style","padding-top: 0"),k.wrapper.innerHTML="",k.wrapper.appendChild(I.img),k.opt.animation&&u(k.wrapper,w+"-animate"),(t=d(e,T+"-caption"))&&k.opt.captions&&((e=document.createElement("p")).setAttribute("class",w+"-caption"),e.innerHTML=t,k.wrapper.appendChild(e)),u(k.box,w+"-active"),E&&u(k.wrapper,w+"-active"),k.opt.controls&&1<S.length&&(D||(u(D=document.createElement("span"),w+"-next"),k.opt.nextImg?((o=document.createElement("img")).setAttribute("src",k.opt.nextImg),D.appendChild(o)):u(D,w+"-no-img"),s(D,"click",function(e){h(e),k.next()},!1),k.box.appendChild(D)),u(D,w+"-active"),H||(u(H=document.createElement("span"),w+"-prev"),k.opt.prevImg?((o=document.createElement("img")).setAttribute("src",k.opt.prevImg),H.appendChild(o)):u(H,w+"-no-img"),s(H,"click",function(e){h(e),k.prev()},!1),k.box.appendChild(H)),u(H,w+"-active"),y()),I.img.onerror=function(e){k.opt.onloaderror&&(e._happenedWhile=r||!1,k.opt.onloaderror(e))},I.img.onload=function(){var e;I.originalWidth=this.naturalWidth||this.width,I.originalHeight=this.naturalHeight||this.height,(E||A)&&((e=new Image).setAttribute("src",n),I.originalWidth=e.width,I.originalHeight=e.height);var o=setInterval(function(){var e,t,n;a(k.box,w+"-active")&&(u(k.wrapper,w+"-wrapper-active"),"number"==typeof k.opt.animation&&u(I.img,w+"-animate-transition"),i&&i(),_(),clearTimeout(v),!k.opt.preload||M&&(e=new Image,t=new Image,(n=m(N,M))===S.length-1?(e.src=d(S[S.length-1],T)||S[S.length-1].src,t.src=d(S[0].src,T)||S[0].src):0===n?(e.src=d(S[S.length-1],T)||S[S.length-1].src,t.src=d(S[1],T)||S[1].src):(e.src=d(S[n-1],T)||S[n-1].src,t.src=d(S[n+1],T)||S[n+1].src)),k.opt.nextOnClick&&(u(I.img,w+"-next-on-click"),s(I.img,"click",function(e){h(e),k.next()},!1)),k.opt.onload&&k.opt.onload(r),clearInterval(o),k.resize())},10)},I.img.setAttribute("src",n),g())}var b,t,v,i,r,e="jslghtbx",w=e,x=e,T="data-"+e,k=this,E=!1,A=!1,C=document.getElementsByTagName("body")[0],O='<div class="'+e+'-contentwrapper" id="'+e+'-contentwrapper" ></div>',j=!1,M=!1,N=!1,I={},S=[],P=!1,L=[],D=!1,H=!1;k.opt={},k.box=!1,k.wrapper=!1,k.thumbnails=[],k.load=function(e){0<navigator.appVersion.indexOf("MSIE 8")&&(E=!0),0<navigator.appVersion.indexOf("MSIE 9")&&(A=!0),function(e){function t(e){return"boolean"!=typeof e||e}var n;if(k.opt={boxId:(e=e||{}
1).boxId||!1,controls:t(e.controls),dimensions:t(e.dimensions),captions:t(e.captions),prevImg:"string"==typeof e.prevImg&&e.prevImg,nextImg:"string"==typeof e.nextImg&&e.nextImg,hideCloseBtn:e.hideCloseBtn||!1,closeOnClick:"boolean"!=typeof e.closeOnClick||e.closeOnClick,loadingAnimation:void 0===e.loadingAnimation||e.loadingAnimation,animElCount:e.animElCount||4,preload:t(e.preload),carousel:t(e.carousel),animation:"number"==typeof e.animation||!1===e.animation?e.animation:400,nextOnClick:t(e.nextOnClick),responsive:t(e.responsive),maxImgSize:e.maxImgSize||.8,keyControls:t(e.keyControls),hideOverflow:e.hideOverflow||!0,onopen:e.onopen||!1,onclose:e.onclose||!1,onload:e.onload||!1,onresize:e.onresize||!1,onloaderror:e.onloaderror||!1},k.opt.boxId?(k.box=document.getElementById(k.opt.boxId),(e=k.box.getAttribute("class")).search(w+" ")<0&&k.box.setAttribute("class",e+" "+w)):k.box||((n=(n=document.getElementById(x))||document.createElement("div")).setAttribute("id",x),n.setAttribute("class",w),k.box=n,C.appendChild(k.box)),k.box.innerHTML=O,E&&u(k.box,w+"-ie8"),k.wrapper=document.getElementById(x+"-contentwrapper"),k.opt.hideCloseBtn||((n=document.createElement("span")).setAttribute("id",x+"-close"),n.setAttribute("class",w+"-close"),n.innerHTML="X",k.box.appendChild(n),s(n,"click",function(e){h(e),k.close()},!1)),!E&&k.opt.closeOnClick&&s(k.box,"click",function(e){h(e),k.close()},!1),"string"==typeof k.opt.loadingAnimation)(b=document.createElement("img")).setAttribute("src",k.opt.loadingAnimation),u(b,w+"-loading-animation"),k.box.appendChild(b);else if(k.opt.loadingAnimation){k.opt.loadingAnimation="number"==typeof k.opt.loadingAnimation?k.opt.loadingAnimation:200,u(b=document.createElement("div"),w+"-loading-animation");for(var o=0;o<k.opt.animElCount;)L.push(b.appendChild(document.createElement("span"))),o++;k.box.appendChild(b)}k.opt.responsive?(s(window,"resize",function(){k.resize()},!1),u(k.box,w+"-nooverflow")):l(k.box,w+"-nooverflow"),k.opt.keyControls&&s(document,"keydown",function(e){P&&(h(e),39===e.keyCode?k.next():37===e.keyCode?k.prev():27===e.keyCode&&k.close())},!1)}(e);for(var t,n,o,i=document.querySelectorAll("["+T+"]"),r=0;r<i.length;r++)t=i[r],n=T,o=void 0,t&&c(t)&&(t.getAttribute?o=t.getAttribute(n):t.getAttributeNode&&(o=t.getAttributeNode(n).value),"string"==typeof o)&&(i[r].setAttribute(T+"-index",r),k.thumbnails.push(i[r]),f(i[r]))},k.open=function(e,t){o(e,t=e&&t?!1:t,!1,!1)},k.resize=function(){var e,t;I.img&&(window.innerWidth||document.documentElement.offsetWidth,n(),e=k.box.offsetWidth,t=k.box.offsetHeight,!j&&I.img&&I.img.offsetWidth&&I.img.offsetHeight&&(j=I.img.offsetWidth/I.img.offsetHeight),r=Math.floor(e/j)>t?(i=t*j,t):(i=e)/j,i=Math.floor(i*k.opt.maxImgSize),r=Math.floor(r*k.opt.maxImgSize),(k.opt.dimensions&&r>I.originalHeight||k.opt.dimensions&&i>I.originalWidth)&&(r=I.originalHeight,i=I.originalWidth),I.img.setAttribute("width",i),I.img.setAttribute("height",r),I.img.setAttribute("style","margin-top:"+(n()-r)/2+"px"),setTimeout(y,200),k.opt.onresize&&k.opt.onresize(I))},k.next=function(){if(M){var e=m(N,M)+1;if(S[e])N=S[e];else{if(!k.opt.carousel)return;N=S[0]}"number"==typeof k.opt.animation?(l(I.img,w+"-animating-next"),setTimeout(function(){o(N,!1,function(){setTimeout(function(){u(I.img,w+"-animating-next")},k.opt.animation/2)},"next")},k.opt.animation/2)):o(N,!1,!1,"next")}},k.prev=function(){if(M){var e=m(N,M)-1;if(S[e])N=S[e];else{if(!k.opt.carousel)return;N=S[S.length-1]}"number"==typeof k.opt.animation?(l(I.img,w+"-animating-prev"),setTimeout(function(){o(N,!1,function(){setTimeout(function(){u(I.img,w+"-animating-next")},k.opt.animation/2)},"prev")},k.opt.animation/2)):o(N,!1,!1,"prev")}},k.close=function(){N=M=!1;var e=I;I={},P=!(S=[]),l(k.box,w+"-active"),l(k.wrapper,w+"-wrapper-active"),l(D,w+"-active"),l(H,w+"-active"),k.box.setAttribute("style","padding-top: 0px"),_(),E&&k.box.setAttribute("style","display: none"),k.opt&&c(k.opt.hideOverflow)&&!k.opt.hideOverflow||C.setAttribute("style","overflow: auto"),k.opt.onclose&&k.opt.onclose(e)}}!function(e,t){function c(){}function n(e){for(var t in e)return 0;return 1}function p(e){return"[object Function]"==r.call(e)}function d(e){return"[object String]"==r.call(e)}function f(e){return"[object Array]"==r.call(e)}function m(e,t){if(e)for(var n=0;n<e.length;)t(e[n++])}function h(e,t){for(var n in t)e[n]=t[n];return e}function g(e,t){return h(Error(e),{src:"dojoLoader",info:t})}function _(){return"_"+s++}var o,i=function(){return void 0!==a&&"function"!=typeof a?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}(),r={}.toString,s=1,y=function(e,t,n){return Q(e,t,n,0,y)},a=i,l=a.document,u=l&&l.createElement("DiV"),b=y.has=function(e){return p(v[e])?v[e]=v[e](a,l,u):v[e]},v=b.cache=t.hasCache;for(o in p(e)&&(e=e(i)),b.add=function(e,t,n,o){return void 0!==v[e]&&!o||(v[e]=t),n&&b(e)},b.add("host-webworker","undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope),b("host-webworker")&&(h(t.hasCache,{"host-browser":0,dom:0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0}),t.loaderPatch={injectUrl:function(t,e){try{importScripts(t),e()}catch(e){console.info("failed to load resource ("+t+")"),console.error(e)}}}),e.has)b.add(o,e.has[o],0,1);y.async=1;var w=b("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");y.eval=function(e,t){return w(e+"\r\n//# sourceURL="+t)};var x,T={},k=y.signal=function(e,t){e=T[e];m(e&&e.slice(0),function(e){e.apply(null,f(t)?t:[t])})},E=y.on=function(e,t){var n=T[e]||(T[e]=[]);return n.push(t),{remove:function(){for(var e=0;e<n.length;e++)if(n[e]===t){n.splice(e,1);break}}}},A=[],C={},O=[],j={},M=y.map={},N=[],I={},S="",P={},L={},D={},H=0;b("foreign-loader")||(x=function(e,t){var n,o;for(n in t=!1!==t,L){var i,r=L[n];(o=n.match(/^url:(.+)/))?P["url:"+Ce(o[1],e)]=r:"*now"==n?i=r:"*noref"!=n&&(o=de(n,e,!0),P[o.mid]=P["url:"+o.url]=r)}i&&i(K(e)),t&&(L={})});function F(e){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(e){return"\\"+e})}function R(e,t){for(var n in t.splice(0,t.length),e)t.push([n,e[n],new RegExp("^"+F(n)+"(/|$)"),n.length]);return t.sort(function(e,t){return t[3]-e[3]}),t}function q(e){var t=e.name;t||(e={name:t=e}),(e=h({main:"main"},e)).location=e.location||t,e.packageMap&&(M[t]=e.packageMap),e.main.indexOf("./")||(e.main=e.main.substring(2)),j[t]=e}function B(e,t,n){for(var o in e)"waitSeconds"==o&&(y.waitms=1e3*(e[o]||0)),"cacheBust"==o&&(S=e[o]?d(e[o])?e[o]:(new Date).getTime()+"":""),"baseUrl"!=o&&"combo"!=o||(y[o]=e[o]),e[o
1]!==v&&(y.rawConfig[o]=e[o],"has"!=o&&b.add("config-"+o,e[o],0,t));for(o in y.baseUrl||(y.baseUrl="./"),/\/$/.test(y.baseUrl)||(y.baseUrl+="/"),e.has)b.add(o,e.has[o],0,t);for(var i in m(e.packages,q),e.packagePaths)m(e.packagePaths[i],function(e){var t=i+"/"+e;(e=d(e)?{name:e}:e).location=t,q(e)});var r,s;if(R(h(M,e.map),N),m(N,function(e){e[1]=R(e[1],[]),"*"==e[0]&&(N.star=e)}),R(h(C,e.paths),O),r=e.aliases,s=A,m(r,function(e){s.push([d(e[0])?new RegExp("^"+F(e[0])+"$"):e[0],e[1]])}),!b("foreign-loader")){if(t)W.push({config:e.config});else for(o in e.config)t=le(o,n),t.config=h(t.config||{},e.config[o]);e.cache&&(x(),L=e.cache,x(0,!!e.cache["*noref"]))}k("config",[e,y.rawConfig])}var W=[];b("dojo-cdn");for(var U,z,V,X,$,Q,K,Y,G,J,Z,ee,te,ne=l.getElementsByTagName("script"),oe=0;oe<ne.length;)(V=(U=ne[oe++]).getAttribute("src"))&&(X=V.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))&&(z=X[3]||"",t.baseUrl=t.baseUrl||z,H=U),(V=U.getAttribute("data-dojo-config")||U.getAttribute("djConfig"))&&(D=y.eval("({ "+V+" })","data-dojo-config"),H=U);y.rawConfig={},B(t,1),b("dojo-cdn")&&((j.dojo.location=z)&&(z+="/"),j.dijit.location=z+"../dijit/",j.dojox.location=z+"../dojox/"),B(e,1),B(D,1),b("foreign-loader")||($=function(e){ke(function(){m(e.deps,Pe)})},Q=function(e,t,n,o,i){var r;if(d(e)){if((r=le(e,o,!0))&&r.executed)return r.result;throw g("undefinedModule",e)}if(f(e)||(B(e,0,o),e=t,t=n),f(e))if(e.length){n="require*"+_();for(var s,a=[],l=0;l<e.length;)s=e[l++],a.push(le(s,o));r=h(ue("",n,0,""),{injected:2,deps:a,def:t||c,require:o?o.require:y,gc:1}),I[r.mid]=r,$(r);var u=Te&&!0;ke(function(){xe(r,u)}),r.executed||Y.push(r),Ee()}else t&&t();return i},K=function(o){if(!o)return y;var i=o.require;return i||(o.require=h(i=function(e,t,n){return Q(e,t,n,o,i)},y),i.module=o,i.toUrl=function(e){return Ce(e,o)},i.toAbsMid=function(e){return Ae(e,o)}),i},Y=[],G=[],J={},Z=function(e){e.injected=1,J[e.mid]=1,e.url&&(J[e.url]=e.pack||1),Fe()},ee=function(e){e.injected=2,delete J[e.mid],e.url&&delete J[e.url],n(J)&&He()},te=y.idle=function(){return!G.length&&n(J)&&!Y.length&&!Te});function ie(e,t){if(t)for(var n=0;n<t.length;n++)if(t[n][2].test(e))return t[n];return 0}function re(e){var t=[];for(e=e.replace(/\\/g,"/").split("/");e.length;){var n,o=e.shift();".."==o&&t.length&&".."!=n?(t.pop(),n=t[t.length-1]):"."!=o&&t.push(n=o)}return t.join("/")}var se,ae,le,ue=function(e,t,n,o){return{pid:e,mid:t,pack:n,url:o,executed:0,def:0}},ce=function(n,e,t,o,i,r,s,a,l,u){var c,d,f=/^\./.test(n);if(/(^\/)|(:)|(\.js$)/.test(n)||f&&!e)return ue(0,n,0,n);if(n=re(f?e.mid+"/../"+n:n),/^\./.test(n))throw g("irrationalPath",n);(d=!(d=!u&&!f&&r.star?ie(n,r.star[1]):d)&&e?(d=ie(e.mid,r))&&ie(n,d[1]):d)&&(n=d[1]+n.substring(d[3])),(f=t[e=(X=n.match(/^([^\/]+)(\/(.+))?$/))?X[1]:""])?n=e+"/"+(c=X[3]||f.main):e="";var h=0;return m(a,function(e){var t=n.match(e[0]);t&&0<t.length&&(h=p(e[1])?n.replace(e[0],e[1]):e[1])}),h?ce(h,0,t,o,i,r,s,a,l):(t=o[n])?l?ue(t.pid,t.mid,t.pack,t.url):o[n]:(o=(d=ie(n,s))?d[1]+n.substring(d[3]):e?("/"===f.location.slice(-1)?f.location.slice(0,-1):f.location)+"/"+c:b("config-tlmSiblingOfDojo")?"../"+n:n,/(^\/)|(:)/.test(o)||(o=i+o),ue(e,n,f,re(o+".js")))},de=function(e,t,n){return ce(e,t,j,I,y.baseUrl,N,O,A,void 0,n)};b("foreign-loader")||(se=function(e,t,n){return e.normalize?e.normalize(t,function(e){return Ae(e,n)}):Ae(t,n)},ae=0,le=function(e,t,n){var o,i;return e=(o=e.match(/^(.+?)!(.*)$/))?(5!==(i=le(o[1],t,n)).executed||i.load||ye(i),{plugin:i,mid:e=i.load?(o=se(i,o[2],t),i.mid+"!"+(i.dynamic?++ae+"!":"")+o):(o=o[2],i.mid+"!"+ ++ae+"!waitingForPlugin"),req:K(t),prid:o}):de(e,t),I[e.mid]||!n&&(I[e.mid]=e)});var fe,he,pe,me,ge,_e,ye,be,ve,we,xe,Te,ke,Ee,Ae=y.toAbsMid=function(e,t){return de(e,t).mid},Ce=y.toUrl=function(e,t){var n=de(e+"/x",t),t=n.url;return Oe(0===n.pid?e:t.substring(0,t.length-5))};b("foreign-loader")||(fe={injected:2,executed:5,def:3,result:3},he=(i=function(e){return I[e]=h({mid:e},fe)})("require"),pe=i("exports"),me=i("module"),ge={},ye=function(e){var t=e.result;return e.dynamic=t.dynamic,e.normalize=t.normalize,e.load=t.load,e},be=function(o){var i={};m(o.loadQ,function(e){var t=se(o,e.prid,e.req.module),n=o.dynamic?e.mid.replace(/waitingForPlugin$/,t):o.mid+"!"+t,t=h(h({},e),{mid:n,prid:t,injected:0});I[n]&&I[n].injected||Me(I[n]=t),i[e.mid]=I[n],ee(e),delete I[e.mid]}),o.loadQ=0;function e(e){for(var t=e.deps||[],n=0;n<t.length;n++)(e=i[t[n].mid])&&(t[n]=e)}for(var t in I)e(I[t]);m(Y,e)},ve=function(e){for(y.trace("loader-finish-exec",[e.mid]),e.executed=5,e.defOrder=_e++,e.loadQ&&(ye(e),be(e)),oe=0;oe<Y.length;)Y[oe]===e?Y.splice(oe,1):oe++;/^require\*/.test(e.mid)&&delete I[e.mid]},we=[],xe=function(t,e){if(4===t.executed)return y.trace("loader-circular-dependency",[we.concat(t.mid).join("->")]),!t.def||e?ge:t.cjs&&t.cjs.exports;if(!t.executed){if(!t.def)return ge;var n,o=t.mid,i=t.deps||[],r=[],s=0;for(t.executed=4;n=i[s++];){if((n=n===he?K(t):n===pe?t.cjs.exports:n===me?t.cjs:xe(n,e))===ge)return t.executed=0,y.trace("loader-exec-module",["abort",o]),ge;r.push(n)}if(y.trace("loader-run-factory",[t.mid]),o=t.def,b("config-dojo-loader-catches"))try{var a=p(o)?o.apply(null,r):o}catch(e){k("error",t.result=g("factoryThrew",[t,e]))}else a=p(o)?o.apply(null,r):o;t.result=void 0===a&&t.cjs?t.cjs.exports:a,ve(t)}return t.result},Te=_e=0,ke=function(e){try{Te++,e()}catch(e){throw e}finally{Te--}te()&&k("idle",[])},Ee=function(){Te||ke(function(){for(var e,t,n=0;n<Y.length;)e=_e,t=Y[n],xe(t),e!=_e?n=0:n++})});var Oe="function"==typeof e.fixupUrl?e.fixupUrl:function(e){return(e+="")+(S?(/\?/.test(e)?"&":"?")+S:"")};void 0===b("dojo-loader-eval-hint-url")&&b.add("dojo-loader-eval-hint-url",1);function je(t,e,n){if(y.trace("loader-define-module",[t.mid,e]),2===t.injected)return k("error",g("multipleDefine",t)),t;h(t,{deps:e,def:n,cjs:{id:t.mid,uri:t.url,exports:t.result={},setExports:function(e){t.cjs.exports=e},config:function(){return t.config}}});for(var o=0;e[o];o++)e[o]=le(e[o],t);return ee(t),p(n)||e.length||(t.result=n,ve(t)),t}var Me=function(t){var e=t.plugin;5!==e.executed||e.load||ye(e);e.load?e.load(t.prid,t.req,function(e){t.result=e,ee(t),ve(t),Ee()}):e.loadQ?e.loadQ.push(t):(e.loadQ=[t],Y.unshift(e),Pe(e))},Ne=0,Ie=0,Se=0,Pe=function(e){var t,n=e.mid,o=e.url;e.executed||e.injected||J[n]||e.url&&(e.pack&&J[e.url]===e.pack||1==J[e.url])||(Z(e),e.plugin?Me(e):(t=function(){if(Le(e),2!==e.injected){if(b("dojo-enforceDefine"))return void k("error",g("noDefine",e));ee(e),h(e,fe),y.trace("loader-define-nonmodule",[e.url])}Ee()},(Ne=P[n]||P["url:"+e.url])?(y.trace("loader-inject",["cache",e.mid,o]),function(e,t){if(b("config-stripStrict")&&(e=e.replace(/(["'])use strict\1/g,"")),Se=1,b("config-dojo-loader-catches"))try{e===Ne?Ne.call(null):y.eval(e,b("dojo-loader-eval-hint-url")?t.url:t.mid
1)}catch(e){k("error",g("evalModuleThrew",t))}else e===Ne?Ne.call(null):y.eval(e,b("dojo-loader-eval-hint-url")?t.url:t.mid);Se=0}(Ne,e),t()):(y.trace("loader-inject",["script",e.mid,o]),Ie=e,y.injectUrl(Oe(o),t,e),Ie=0)))},Le=function(e,t){for(var n,o,i=[];G.length;)o=G.shift(),t&&(o[0]=t.shift()),n=o[0]&&le(o[0])||e,i.push([n,o[1],o[2]]);x(e),m(i,function(e){$(je.apply(null,e))})},De=0,He=c,Fe=c,He=function(){De&&clearTimeout(De),De=0},Fe=function(){He(),y.waitms&&(De=a.setTimeout(function(){He(),k("error",g("timeout",J))},y.waitms))};b.add("ie-event-behavior",l.attachEvent&&"undefined"==typeof Windows&&("undefined"==typeof opera||"[object Opera]"!=opera.toString()));function Re(e,t,n,o){return b("ie-event-behavior")?(e.attachEvent(n,o),function(){e.detachEvent(n,o)}):(e.addEventListener(t,o,!1),function(){e.removeEventListener(t,o,!1)})}for(var qe,Be=Re(window,"load","onload",function(){y.pageLoaded=1;try{"complete"!=l.readyState&&(l.readyState="complete")}catch(e){}Be()}),ne=l.getElementsByTagName("script"),oe=0;!H;)/^dojo/.test((U=ne[oe++])&&U.type)||(H=U);y.injectUrl=function(t,n,e){e=e.node=l.createElement("script");var o=Re(e,"load","onreadystatechange",function(e){var t=(e=e||window.event).target||e.srcElement;"load"!==e.type&&!/complete|loaded/.test(t.readyState)||(o(),i(),n&&n())}),i=Re(e,"error","onerror",function(e){o(),i(),k("error",g("scriptError: "+t,[t,e]))});return e.type="text/javascript",e.charset="utf-8",e.src=t,H.parentNode.insertBefore(e,H),e},y.log=c,y.trace=c,b("foreign-loader")?qe=c:(qe=function(e,t,n){var o=arguments.length,i=["require","exports","module"],r=[0,e,t];if(1==o?r=[0,p(e)?i:[],e]:2==o&&d(e)?r=[e,p(t)?i:[],t]:3==o&&(r=[e,t,n]),y.trace("loader-define",r.slice(0,2)),(o=r[0]&&le(r[0]))&&!J[o.mid])$(je(o,r[1],r[2]));else if(!b("ie-event-behavior")||Se)G.push(r);else{if(!(o=o||Ie))for(e in J)if((i=I[e])&&i.node&&"interactive"===i.node.readyState){o=i;break}o?(x(o),$(je(o,r[1],r[2]))):k("error",g("ieDefineFailed",r[0])),Ee()}}).amd={vendor:"dojotoolkit.org"},h(h(y,t.loaderPatch),e.loaderPatch),E("error",function(e){try{if(console.error(e),e instanceof Error){for(var t in e)console.log(t+":",e[t]);console.log(".")}}catch(e){}}),h(y,{uid:_,cache:P,packs:j}),a.define||(a.define=qe,a.require=y,b("foreign-loader"))||(m(W,function(e){B(e)}),E=D.deps||e.deps||t.deps,qe=D.callback||e.callback||t.callback,y.boot=E||qe?[E||[],qe]:0)}(function(e){return e.dojoConfig||e.djConfig||e.require||{}},{async:0,hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:".",name:"dojo"},{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:"../soundManager",name:"soundManager"},{location:"../wallop",name:"wallop"},{location:"../kompakt",name:"kompakt"}]}),require({cache:{"kompakt/app":function(){define("dojo/query kompakt/nav kompakt/cart kompakt/digital-release-adders kompakt/download-cart kompakt/player kompakt/search kompakt/account/delete kompakt/addresses/index kompakt/checkout/cart kompakt/splash dojo/domReady!".split(" "),function(){})},"dojo/query":function(){define("./_base/kernel ./has ./dom ./on ./_base/array ./_base/lang ./selector/_loader ./selector/_loader!default".split(" "),function(r,s,a,i,l,u,o,e){function c(n,o){function i(e,t){return"string"!=typeof t||(t=a.byId(t))?(e="string"==typeof e?n(e,t):e?e.end&&e.on?e:[e]:[]).end&&e.on?e:new o(e):new o([])}var r;return i.matches=n.match||function(e,t,n){return 0<i.filter([e],t,n).length},i.filter=n.filter||function(t,e,n){return i(e,n).filter(function(e){return-1<l.indexOf(t,e)})},"function"!=typeof n&&(r=n.search,n=function(e,t){return r(t||document,e)}),i}s.add("array-extensible",function(){return 1==u.delegate([],{length:1}).length&&!s("bug-for-in-skips-shadowed")});function d(t,n,o){return n=[0].concat(h.call(n,0)),o=o||r.global,function(e){return n[0]=e,t.apply(o,n)}}function f(e){var t=this instanceof g&&s("array-extensible"),n=(e="number"==typeof e?Array(e):e)&&"length"in e?e:arguments;if(t||!n.sort){for(var o=t?this:[],i=o.length=n.length,r=0;r<i;r++)o[r]=n[r];if(t)return o;n=o}return u._mixin(n,_),n._NodeListCtor=function(e){return g(e)},n}var n=Array.prototype,h=n.slice,p=n.concat,m=l.forEach,g=f,_=g.prototype=s("array-extensible")?[]:{};g._wrap=_._wrap=function(e,t,n){return e=new(n||this._NodeListCtor||g)(e),t?e._stash(t):e},g._adaptAsMap=function(e,t){return function(){return this.map(d(e,arguments,t))}},g._adaptAsForEach=function(e,t){return function(){return this.forEach(d(e,arguments,t)),this}},g._adaptAsFilter=function(e,t){return function(){return this.filter(d(e,arguments,t))}},g._adaptWithCondition=function(n,o,i){return function(){var e=arguments,t=d(n,e,i);return o.call(i||r.global,e)?this.map(t):(this.forEach(t),this)}},m(["slice","splice"],function(e){var t=n[e];_[e]=function(){return this._wrap(t.apply(this,arguments),"slice"==e?this:null)}}),m(["indexOf","lastIndexOf","every","some"],function(e){var t=l[e];_[e]=function(){return t.apply(r,[this].concat(h.call(arguments,0)))}}),u.extend(f,{constructor:g,_NodeListCtor:g,toString:function(){return this.join(",")},_stash:function(e){return this._parent=e,this},on:function(t,n){var o=this.map(function(e){return i(e,t,n)});return o.remove=function(){for(var e=0;e<o.length;e++)o[e].remove()},o},end:function(){return this._parent||new this._NodeListCtor(0)},concat:function(e){var t=h.call(this,0),n=l.map(arguments,function(e){return h.call(e,0)});return this._wrap(p.apply(t,n),this)},map:function(e,t){return this._wrap(l.map(this,e,t),this)}
1,forEach:function(e,t){return m(this,e,t),this},filter:function(e){var t=arguments,n=this,o=0;if("string"==typeof e){if(n=y._filterResult(this,t[0]),1==t.length)return n._stash(this);o=1}return this._wrap(l.filter(n,t[o],t[o+1]),this)},instantiate:function(e,t){var n=u.isFunction(e)?e:u.getObject(e);return t=t||{},this.forEach(function(e){new n(t,e)})},at:function(){var t=new this._NodeListCtor(0);return m(arguments,function(e){this[e=e<0?this.length+e:e]&&t.push(this[e])},this),t._stash(this)}});var y=c(e,f);return r.query=c(e,function(e){return f(e)}),y.load=function(e,t,n){o.load(e,t,function(e){n(c(e,f))})},r._filterQueryResult=y._filterResult=function(e,t,n){return new f(y.filter(e,t,n))},r.NodeList=y.NodeList=f,y})},"dojo/_base/kernel":function(){define(["../global","../has","./config","require","module"],function(e,t,n,o,i){var r,s,a={},l={config:n,global:e,dijit:u={},dojox:a},u={dojo:["dojo",l],dijit:["dijit",u],dojox:["dojox",a]};for(r in i=o.map&&o.map[i.id.match(/[^\/]+/)[0]])u[r]?u[r][0]=i[r]:u[r]=[i[r],{}];for(r in u)i=u[r],i[1]._scopeName=i[0],n.noGlobals||(e[i[0]]=i[1]);for(l.scopeMap=u,l.baseUrl=l.config.baseUrl=o.baseUrl,l.isAsync=o.async,l.locale=n.locale,e="$Rev:$".match(/[0-9a-f]{7,}/),l.version={major:1,minor:17,patch:3,flag:"",revision:e?e[0]:NaN,toString:function(){var e=l.version;return e.major+"."+e.minor+"."+e.patch+e.flag+" ("+e.revision+")"}},t("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(l),l.exit=function(){},t("host-webworker"),t.add("console-as-object",function(){return Function.prototype.bind&&console&&"object"==typeof console.log}),"undefined"!=typeof console||(console={}),i="assert count debug dir dirxml error group groupEnd info profile profileEnd time timeEnd trace warn log".split(" "),e=0;s=i[e++];)console[s]?t("console-as-object")&&(console[s]=Function.prototype.bind.call(console[s],console)):function(){var t=s+"";console[t]="log"in console?function(){var e=Array.prototype.slice.call(arguments);e.unshift(t+":"),console.log(e.join(" "))}:function(){},console[t]._fake=!0}();if(t.add("dojo-debug-messages",!!n.isDebug),l.deprecated=l.experimental=function(){},t("dojo-debug-messages")&&(l.deprecated=function(e,t,n){e="DEPRECATED: "+e,t&&(e+=" "+t),n&&(e+=" -- will be removed in version: "+n),console.warn(e)},l.experimental=function(e,t){e="EXPERIMENTAL: "+e+" -- APIs subject to change without notice.";t&&(e+=" "+t),console.warn(e)}),n.modulePaths){for(r in l.deprecated("dojo.modulePaths","use paths configuration"),t={},n.modulePaths)t[r.replace(/\./g,"/")]=n.modulePaths[r];o({paths:t})}return l.moduleUrl=function(e,t){l.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return n=e?o.toUrl(e.replace(/\./g,"/")+(t?"/"+t:"")+"/*.*").replace(/\/\*\.\*/,"")+(t?"":"/"):n},l._hasResource={},l})},"dojo/global":function(){define(function(){return"undefined"!=typeof global&&"function"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this})},"dojo/has":function(){define(["./global","require","module"],function(e,t,n){var r=t.has||function(){};return r.add("dom-addeventlistener",!!document.addEventListener),r.add("touch","ontouchstart"in document||"onpointerdown"in document&&0<navigator.maxTouchPoints||window.navigator.msMaxTouchPoints),r.add("touch-events","ontouchstart"in document),r.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),r.add("MSPointer",window.navigator.msPointerEnabled),r.add("touch-action",r("touch")&&r("pointer-events")),r.add("device-width",screen.availWidth||innerWidth),e=document.createElement("form"),r.add("dom-attributes-explicit",0==e.attributes.length),r.add("dom-attributes-specified-flag",0<e.attributes.length&&e.attributes.length<40),r.clearElement=function(e){return e.innerHTML="",e},r.normalize=function(e,t){var n=e.match(/[\?:]|[^:\?]*/g),o=0,i=function(e){var t=n[o++];return":"==t?0:"?"==n[o++]?!e&&r(t)?i():(i(!0),i(e)):t||0};return(e=i())&&t(e)},r.load=function(e,t,n){e?t([e],n):n()},r})},"dojo/_base/config":function(){define(["../global","../has","require"],function(e,t,n){for(var o in e={},n=n.rawConfig)e[o]=n[o];return!e.locale&&"undefined"!=typeof navigator&&(o=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage)&&(e.locale=o.toLowerCase()),e})},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(e,r,t){if(e("ie")<=7)try{document.execCommand("Backgroun
1dImageCache",!1,!0)}catch(e){}var i={};e("ie")?i.byId=function(e,t){if("string"!=typeof e)return e||null;var n=t||r.doc,o=e&&n.getElementById(e);if(o&&(o.attributes.id.value==e||o.id==e))return o;(n=n.all[e])&&!n.nodeName||(n=[n]);for(var i=0;o=n[i++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==e||o.id==e)return o;return null}:i.byId=function(e,t){return("string"==typeof e?(t||r.doc).getElementById(e):e)||null},t=t.global.document||null,e.add("dom-contains",!(!t||!t.contains)),i.isDescendant=e("dom-contains")?function(e,t){return!(!(t=i.byId(t))||!t.contains(i.byId(e)))}:function(e,t){try{for(e=i.byId(e),t=i.byId(t);e;){if(e==t)return!0;e=e.parentNode}}catch(e){}return!1},e.add("css-user-select",function(e,t,n){if(!n)return!1;e=n.style,n=(t=["Khtml","O","Moz","Webkit"]).length;var o="userSelect";do{if(void 0!==e[o])return o}while(n--&&(o=t[n]+"UserSelect"));return!1});var n=e("css-user-select");return i.setSelectable=n?function(e,t){i.byId(e).style[n]=t?"":"none"}:function(e,t){var n=(e=i.byId(e)).getElementsByTagName("*"),o=n.length;if(t)for(e.removeAttribute("unselectable");o--;)n[o].removeAttribute("unselectable");else for(e.setAttribute("unselectable","on");o--;)n[o].setAttribute("unselectable","on")},i})},"dojo/sniff":function(){define(["./has"],function(e){var t,n,o=(i=navigator).userAgent,i=i.appVersion,r=parseFloat(i);return e.add("air",0<=o.indexOf("AdobeAIR")),e.add("wp",parseFloat(o.split("Windows Phone")[1])||void 0),e.add("msapp",parseFloat(o.split("MSAppHost/")[1])||void 0),e.add("khtml",0<=i.indexOf("Konqueror")?r:void 0),e.add("edge",parseFloat(o.split("Edge/")[1])||void 0),e.add("opr",parseFloat(o.split("OPR/")[1])||void 0),e.add("webkit",!e("wp")&&!e("edge")&&parseFloat(o.split("WebKit/")[1])||void 0),e.add("chrome",!e("edge")&&!e("opr")&&parseFloat(o.split("Chrome/")[1])||void 0),e.add("android",!e("wp")&&parseFloat(o.split("Android ")[1])||void 0),e.add("safari",!(0<=i.indexOf("Safari"))||e("wp")||e("chrome")||e("android")||e("edge")||e("opr")?void 0:parseFloat(i.split("Version/")[1])),e.add("mac",0<=i.indexOf("Macintosh")),e.add("quirks","BackCompat"==document.compatMode),!e("wp")&&o.match(/(iPhone|iPod|iPad)/)&&(t=RegExp.$1.replace(/P/,"p"),n=o.match(/OS ([\d_]+)/)?RegExp.$1:"1",n=parseFloat(n.replace(/_/,".").replace(/_/g,"")),e.add(t,n),e.add("ios",n)),e.add("bb",(0<=o.indexOf("BlackBerry")||0<=o.indexOf("BB10"))&&parseFloat(o.split("Version/")[1])||void 0),e.add("trident",parseFloat(i.split("Trident/")[1])||void 0),e.add("svg","undefined"!=typeof SVGAngle),e("webkit")||(0<=o.indexOf("Opera")&&e.add("opera",9.8<=r&&parseFloat(o.split("Version/")[1])||r),!(0<=o.indexOf("Gecko"))||e("wp")||e("khtml")||e("trident")||e("edge")||e.add("mozilla",r),e("mozilla")&&e.add("ff",parseFloat(o.split("Firefox/")[1]||o.split("Minefield/")[1])||void 0),document.all&&!e("opera")&&(o=parseFloat(i.split("MSIE ")[1])||void 0,(i=document.documentMode)&&5!=i&&Math.floor(o)!=i&&(o=i),e.add("ie",o)),e.add("wii","undefined"!=typeof opera&&opera.wiiremote)),e})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(c,e,d){var f={global:c.global,doc:c.global.document||null,body:function(e){return(e=e||c.doc).body||e.getElementsByTagName("body")[0]},setContext:function(e,t){c.global=f.global=e,c.doc=f.doc=t},withGlobal:function(e,t,n,o){var i=c.global;try{return c.global=f.global=e,f.withDoc.call(null,e.document,t,n,o)}finally{c.global=f.global=i}},withDoc:function(e,t,n,o){var i,r,s,a=f.doc,l=d("quirks"),u=d("ie");try{return c.doc=f.doc=e,c.isQuirks=d.add("quirks","BackCompat"==c.doc.compatMode,!0,!0),d("ie")&&(r=e.parentWindow)&&r.navigator&&(s=parseFloat(r.navigator.appVersion.split("MSIE ")[1])||void 0,(i=e.documentMode)&&5!=i&&Math.floor(s)!=i&&(s=i),c.isIE=d.add("ie",s,!0,!0)),(t=n&&"string"==typeof t?n[t]:t).apply(n,o||[])}finally{c.doc=f.doc=a,c.isQuirks=d.add("quirks",l,!0,!0),c.isIE=d.add("ie",u,!0,!0)}}};return e.mixin(c,f),f})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(s,a){a.add("bug-for-in-skips-shadowed",function(){for(var e in{toString:1})return 0;return 1});function i(e,t,n){n=n||(e[0]&&s.scopeMap[e[0]]?s.scopeMap[e.shift()][1]:s.global);try{for(var o=0;o<e.length;o++){var i=e[o];if("__proto__"===i||"constructor"===i)return;if(!(i in n)){if(!t)return;n[i]={}}n=n[i]}return n}catch(e){}}var l=a("bug-for-in-skips-shadowed")?"hasOwnProperty valueOf isPrototypeOf propertyIsEnumerable toLocaleStr
1ing toString constructor".split(" "):[],u=l.length,t=Object.prototype.toString,n=function(e,t,n){return(n||[]).concat(Array.prototype.slice.call(e,t||0))},o=/\{([^\}]+)\}/g,c={_extraNames:l,_mixin:function(e,t,n){var o,i={};for(s in t){var r=t[s];s in e&&(e[s]===r||s in i&&i[s]===r)||(e[s]=n?n(r):r)}if(a("bug-for-in-skips-shadowed")&&t)for(o=0;o<u;++o){var s=l[o],r=t[s];s in e&&(e[s]===r||s in i&&i[s]===r)||(e[s]=n?n(r):r)}return e},mixin:function(e,t){e=e||{};for(var n=1,o=arguments.length;n<o;n++)c._mixin(e,arguments[n]);return e},setObject:function(e,t,n){var o=e.split(".");return e=o.pop(),(n=i(o,!0,n))&&e?n[e]=t:void 0},getObject:function(e,t,n){return e?i(e.split("."),t,n):n},exists:function(e,t){return void 0!==c.getObject(e,!1,t)},isString:function(e){return"string"==typeof e||e instanceof String},isArray:Array.isArray||function(e){return"[object Array]"==t.call(e)},isFunction:function(e){return"[object Function]"===t.call(e)},isObject:function(e){return void 0!==e&&(null===e||"object"==typeof e||c.isArray(e)||c.isFunction(e))},isArrayLike:function(e){return!!e&&!c.isString(e)&&!c.isFunction(e)&&!(e.tagName&&"form"==e.tagName.toLowerCase())&&(c.isArray(e)||isFinite(e.length))},isAlien:function(e){return e&&!c.isFunction(e)&&/\{\s*\[native code\]\s*\}/.test(String(e))},extend:function(e,t){for(var n=1,o=arguments.length;n<o;n++)c._mixin(e.prototype,arguments[n]);return e},_hitchArgs:function(n,o){var i=c._toArray(arguments,2),r=c.isString(o);return function(){var e=c._toArray(arguments),t=r?(n||s.global)[o]:o;return t&&t.apply(n||this,i.concat(e))}},hitch:function(e,t){if(2<arguments.length)return c._hitchArgs.apply(s,arguments);if(t||(t=e,e=null),c.isString(t)){if(!(e=e||s.global)[t])throw['lang.hitch: scope["',t,'"] is null (scope="',e,'")'].join("");return function(){return e[t].apply(e,arguments||[])}}return e?function(){return t.apply(e,arguments||[])}:t},delegate:function(e,t){r.prototype=e;e=new r;return r.prototype=null,t&&c._mixin(e,t),e},_toArray:a("ie")?function(e){return(e.item?function(e,t,n){for(n=n||[],t=t||0;t<e.length;t++)n.push(e[t]);return n}:n).apply(this,arguments)}:n,partial:function(e){return c.hitch.apply(s,[null].concat(c._toArray(arguments)))},clone:function(e){if(!e||"object"!=typeof e||c.isFunction(e))return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(c.isArray(e))for(var t=[],n=0,o=e.length;n<o;++n)n in e&&(t[n]=c.clone(e[n]));else t=e.constructor?new e.constructor:{};return c._mixin(t,e,c.clone)},trim:String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(e,n,t){return e.replace(t||o,c.isFunction(n)?n:function(e,t){return c.getObject(t,!1,n)})}};function r(){}return c.mixin(s,c),c})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(s,r,a){function i(e,t,n,o,i){if(o=t.match(/(.*):(.*)/))return t=o[2],o=o[1],c.selector(o,t).call(i,e,n);if(a("touch")&&(d.test(t)&&(n=b(n)),a("event-orientationchange")||"orientationchange"!=t||(t="resize",e=window,n=b(n))),f&&(n=f(n)),e.addEventListener){var r=t in x,s=r?x[t]:t;return e.addEventListener(s,n,r),{remove:function(){e.removeEventListener(s,n,r)}}}if(m&&e.attachEvent)return m(e,"on"+t,n);throw Error("Target must be an event emitter")}function l(){this.cancelable=!1,this.defaultPrevented=!0}function u(){this.bubbles=!1}var e=window.ScriptEngineMajorVersion;a.add("jscript",e&&e()+ScriptEngineMinorVersion()/10),a.add("event-orientationchange",a("touch")&&!a("android")),a.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),a.add("event-focusin",function(e,t,n){return"onfocusin"in n}),a("touch")&&a.add("touch-can-modify-event-delegate",function(){function e(){}e.prototype=document.createEvent("MouseEvents");try{var t=new e;return(t.target=null)===t.target}catch(e){return!1}});var c=function(e,t,n,o){return"function"!=typeof e.on||"function"==typeof t||e.nodeType?c.parse(e,t,n,i,o,this):e.on(t,n)};c.pausable=function(e,t,n,o){var i;return(e=c(e,t,function(){if(!i)return n.apply(this,arguments)},o)).pause=function(){i=!0},e.resume=function(){i=!1},e},c.once=function(e,t,n,o){var i=c(e,t,function(){return i.remove(),n.apply(this,arguments)});return i},c.parse=function(e,t,n,o,i,r){var s;if(t.call)return t.call(r,e,n);if(t instanceof Array?s=t:-1<t.indexOf(",")&&(s=t.split(/\s*,\s*/)),s){var a,l=[];for(t=0;a=s[t++];)l.push(c.parse(e,a,n,o,i,r));return l.remove=function(){for(var e=0;e<l.length;e++)l[e].remove()},l}return o(e,t,n,i,r)};var d=/^touch/;c.matches=function(e,t,n,o,i){for(i=i&&"function"==typeof i.matches?i:r.query,o=!1!==o,1!=e.nodeType&&(e=e.parentNode);!i.matches(e,t,n);
1)if(e==n||!1===o||!(e=e.parentNode)||1!=e.nodeType)return!1;return e},c.selector=function(r,s,a){return function(t,n){function o(e){return c.matches(e,r,t,a,i)}var i="function"==typeof r?{matches:r}:this,e=s.bubble;return e?c(t,e(o),n):c(t,s,function(e){var t=o(e.target);if(t)return e.selectorTarget=t,n.call(t,e)})}};var n,f,h,p,m,o,g,_,y,b,v=[].slice,w=c.emit=function(e,t,n){var o=v.call(arguments,2),i="on"+t;if("parentNode"in e){var r,s=o[0]={};for(r in n)s[r]=n[r];s.preventDefault=l,s.stopPropagation=u,s.target=e,s.type=t,n=s}for(;e[i]&&e[i].apply(e,o),n&&n.bubbles&&(e=e.parentNode););return n&&n.cancelable&&n},x=a("event-focusin")?{}:{focusin:"focus",focusout:"blur"};return a("event-stopimmediatepropagation")||(n=function(){this.modified=this.immediatelyStopped=!0},f=function(t){return function(e){if(!e.immediatelyStopped)return e.stopImmediatePropagation=n,t.apply(this,arguments)}}),a("dom-addeventlistener")?c.emit=function(e,t,n){if(e.dispatchEvent&&document.createEvent){var o,i=(e.ownerDocument||document).createEvent("HTMLEvents");for(o in i.initEvent(t,!!n.bubbles,!!n.cancelable),n)o in i||(i[o]=n[o]);return e.dispatchEvent(i)&&i}return w.apply(c,arguments)}:(c._fixEvent=function(e,t){if(!(e=e||(t&&(t.ownerDocument||t.document||t).parentWindow||window).event))return e;try{h&&e.type==h.type&&e.srcElement==h.target&&(e=h)}catch(e){}return e.target||"keypress"===(e.target=e.srcElement,e.currentTarget=t||e.srcElement,"mouseover"==e.type&&(e.relatedTarget=e.fromElement),"mouseout"==e.type&&(e.relatedTarget=e.toElement),e.stopPropagation||(e.stopPropagation=o,e.preventDefault=g),e.type)&&(10==(t="charCode"in e?e.charCode:e.keyCode)?(t=0,e.keyCode=13):13==t||27==t?t=0:3==t&&(t=99),e.charCode=t,(t=e).keyChar=t.charCode?String.fromCharCode(t.charCode):"",t.charOrCode=t.keyChar||t.keyCode),e},(p=function(e){this.handle=e}).prototype.remove=function(){delete _dojoIEListeners_[this.handle]},m=function(e,t,n){var o;if(o=n,n=function(e){e=c._fixEvent(e,this);var t=o.call(this,e);return e.modified&&(h||setTimeout(function(){h=null}),h=e),t},!((e.ownerDocument?e.ownerDocument.parentWindow:e.parentWindow||e.window||window)!=top||a("jscript")<5.8)||a("config-_allow_leaks"))return s.after(e,t,n,!0);"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var i,r=e[t];return r&&r.listeners||(i=r,(r=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}")).listeners=[],(e[t]=r).global=this,i&&r.listeners.push(_dojoIEListeners_.push(i)-1)),r.listeners.push(e=r.global._dojoIEListeners_.push(n)-1),new p(e)},o=function(){this.cancelBubble=!0},g=c._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(e){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}),a("touch")&&(_=function(){},y=window.orientation,b=function(r){return function(e){var t=e.corrected;if(!t){var n=e.type;try{delete e.type}catch(e){}if(e.type){if(a("touch-can-modify-event-delegate"))_.prototype=e,t=new _;else for(var o in t={},e)t[o]=e[o];t.preventDefault=function(){e.preventDefault()},t.stopPropagation=function(){e.stopPropagation()}}else(t=e).type=n;if(e.corrected=t,"resize"==n)return y==window.orientation?null:(y=window.orientation,t.type="orientationchange",r.call(this,t));if("rotation"in t||(t.rotation=0,t.scale=1),window.TouchEvent&&e instanceof TouchEvent)for(var i in n=t.changedTouches[0])delete t[i],t[i]=n[i]}return r.call(this,t)}}),c})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(e,l,t){function n(s){var a=!s;return function(e,t,n){var o=0,i=e&&e.length||0;if(i&&"string"==typeof e&&(e=e.split("")),"string"==typeof t){if(l("csp-restrictions"))throw new TypeError("callback must be a function");t=c[t]||u(t)}if(n)for(;o<i;++o){var r=!t.call(n,e[o],o,e);if(s^r)return!r}else for(;o<i;++o)if(r=!t(e[o],o,e),s^r)return!r;return a}}function o(r){var s=1,a=0,l=0;return r||(s=a=l=-1),function(e,t,n,o){if(o&&0<s)return d.lastIndexOf(e,t,n);o=e&&e.length||0;var i=r?o+l:a;for(void 0===n?n=r?a:o+l:n<0?(n=o+n)<0&&(n=a):n=o<=n?o+l:n,o&&"string"==typeof e&&(e=e.split(""));n!=i;n+=s)if(e[n]==t)return n;return-1}}var u,c={};l("csp-restrictions")||(u=function(e){return c[e]=new Function("item","index","array",e)});var d={every:n(!1),some:n(!0),indexOf:o(!0),lastIndexOf:o(!1),forEac
1h:function(e,t,n){var o=0,i=e&&e.length||0;if(i&&"string"==typeof e&&(e=e.split("")),"string"==typeof t){if(l("csp-restrictions"))throw new TypeError("callback must be a function");t=c[t]||u(t)}if(n)for(;o<i;++o)t.call(n,e[o],o,e);else for(;o<i;++o)t(e[o],o,e)},map:function(e,t,n,o){var i=0,r=e&&e.length||0;if(o=new(o||Array)(r),r&&"string"==typeof e&&(e=e.split("")),"string"==typeof t){if(l("csp-restrictions"))throw new TypeError("callback must be a function");t=c[t]||u(t)}if(n)for(;i<r;++i)o[i]=t.call(n,e[i],i,e);else for(;i<r;++i)o[i]=t(e[i],i,e);return o},filter:function(e,t,n){var o=0,i=e&&e.length||0,r=[];if(i&&"string"==typeof e&&(e=e.split("")),"string"==typeof t){if(l("csp-restrictions"))throw new TypeError("callback must be a function");t=c[t]||u(t)}if(n)for(;o<i;++o){var s=e[o];t.call(n,s,o,e)&&r.push(s)}else for(;o<i;++o)t(s=e[o],o,e)&&r.push(s);return r},clearCache:function(){c={}}};return t.mixin(e,d),d})},"dojo/selector/_loader":function(){define(["../has","require"],function(r,s){var e,a;return"undefined"!=typeof document&&(e=document.createElement("div"),r.add("dom-qsa2.1",!!e.querySelectorAll),r.add("dom-qsa3",function(){try{return e.innerHTML="<p class='TEST'></p>",1==e.querySelectorAll(".TEST:empty").length}catch(e){}})),{load:function(t,e,n,o){if(o&&o.isBuild)n();else{var i;if(o=s,"?"==(t="css2"==(t="default"==t?r("config-selectorEngine")||"css3":t)||"lite"==t?"./lite":"css2.1"==t?r("dom-qsa2.1")?"./lite":"./acme":"css3"==t?r("dom-qsa3")?"./lite":"./acme":"acme"==t?"./acme":(o=e)&&t).charAt(t.length-1)&&(t=t.substring(0,t.length-1),i=!0),i&&(r("dom-compliant-qsa")||a))return n(a);o([t],function(e){"./lite"!=t&&(a=e),n(e)})}}}})},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(u,s,c,e,d){function f(){return!0}function a(n){function t(e,t){return k(n.slice(e,t))}function e(){var e;0<=f&&(_.id=t(f,m).replace(/\\/g,""),f=-1),0<=h&&(e=h==m?null:t(h,m),_[">~+".indexOf(e)<0?"tag":"oper"]=e,h=-1),0<=d&&(_.classes.push(t(d+1,m).replace(/\\/g,"")),d=-1)}n=0<=">~+".indexOf(n.slice(-1))?n+" * ":n+" ";for(var o,i,r,s=[],a=-1,l=-1,u=-1,c=-1,d=-1,f=-1,h=-1,p="",m=0,g=n.length,_=null,y=null;i=p,p=n.charAt(m),m<g;m++)"\\"!=i&&(_||(_={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return C?this.otag:this.tag}},h=r=m),o?p==o&&(o=null):"'"==p||'"'==p?o=p:0<=a?"]"==p?(y.attr?y.matchFor=t(u||a+1,m):y.attr=t(a+1,m),!(a=y.matchFor)||'"'!=a.charAt(0)&&"'"!=a.charAt(0)||(y.matchFor=a.slice(1,-1)),y.matchFor&&(y.matchFor=y.matchFor.replace(/\\/g,"")),_.attrs.push(y),y=null,a=u=-1):"="==p&&(u=0<="|~^$*".indexOf(i)?i:"",y.type=u+p,y.attr=t(a+1,m-u.length),u=m+1):0<=l?")"==p&&(0<=c&&(y.value=t(l+1,m)),c=l=-1):"#"==p?(e(),f=m+1):"."==p?(e(),d=m):":"==p?(e(),c=m):"["==p?(e(),a=m,y={}):"("==p?(0<=c&&(y={name:t(c+1,m),value:null},_.pseudos.push(y)),l=m):" "==p&&i!=p&&(e(),0<=c&&_.pseudos.push({name:t(c+1,m)}),_.loops=_.pseudos.length||_.attrs.length||_.classes.length,_.oquery=_.query=t(r,m),_.otag=_.tag=_.oper?null:_.tag||"*",_.tag&&(_.tag=_.tag.toUpperCase()),s.length&&s[s.length-1].oper&&(_.infixOper=s.pop(),_.query=_.infixOper.query+" "+_.query),s.push(_),_=null));return s}function r(e,t){return e?t?function(){return e.apply(window,arguments)&&t.apply(window,arguments)}:e:t}function h(e,t){return t=t||[],e&&t.push(e),t}function p(e){return 1==e.nodeType}function i(e,t){return e?"class"==t?e.className||"":"for"==t?e.htmlFor||"":"style"==t?e.style.cssText||"":(C?e.getAttribute(t):e.getAttribute(t,2))||"":""}function n(e){for(;e=e[t];)if(N(e))return!1;return!0}function o(e){for(;e=e[M];)if(N(e))return!1;return!0}function m(e){var t=e.parentNode,n=0,o=(t=7!=t.nodeType?t:t.nextSibling).children||t.childNodes,i=e._i||e.getAttribute("_i")||-1,r=t._l||(void 0!==t.getAttribute?t.getAttribute("_l"):-1);if(!o)return-1;if(r==(o=o.length)&&0<=i&&0<=r)return i;for(s("ie")&&void 0!==t.setAttribute?t.setAttribute("_l",o):t._l=o,i=-1,t=t.firstElementChild||t.firstChild;t;t=t[M])N(t)&&(s("ie")?t.setAttribute("_i",++n):t._i=++n,e===t&&(i=n));return i}function g(e){return!(m(e)%2)}function _(e){return m(e)%2}function y(r,s){function a(t){var n=[];try{n=Array.prototype.slice.call(t)}catch(e){for(var o=0,i=t.length;o<i;o++)n.push(t[o])}return n}return r=r||f,function(e,t,n){var o=0,i=[],i=a(e.children||e.childNodes);
1for(s&&c.forEach(i,function(e){1===e.nodeType&&(i=i.concat(a(e.getElementsByTagName("*"))))});e=i[o++];)N(e)&&(!n||V(e,n))&&r(e,o)&&t.push(e);return t}}function b(e,t){for(var n=e.parentNode;n&&n!=t;)n=n.parentNode;return!!n}function v(s){var e=L[s.query];if(e)return e;var a,o,i,t=(t=s.infixOper)?t.oper:"",l=P(s,{el:1}),n="*"==s.tag,r=d.doc.getElementsByClassName;return t?(r={el:1},n&&(r.tag=1),l=P(s,r),"+"==t?(i=l,e=function(e,t,n){for(;e=e[M];)if(!j||p(e)){n&&!V(e,n)||!i(e)||t.push(e);break}return t}):"~"==t?(o=l,e=function(e,t,n){for(e=e[M];e;){if(N(e)){if(n&&!V(e,n))break;o(e)&&t.push(e)}e=e[M]}return t}):">"==t&&(e=y(l))):e=s.id?(l=!s.loops&&n?f:P(s,{el:1,id:1}),function(e,t){var n=u.byId(s.id,e.ownerDocument||e);if(e.ownerDocument&&!b(e,e.ownerDocument)&&c.some(11===e.nodeType?e.childNodes:[e],function(e){if((e=y(function(e){return e.id===s.id},!0)(e,[])).length)return n=e[0],!1}),n&&l(n)&&(9==e.nodeType||b(n,e)))return h(n,t)}):r&&/\{\s*\[native code\]\s*\}/.test(String(r))&&s.classes.length&&!A?(l=P(s,{el:1,classes:1,id:1}),a=s.classes.join(" "),function(e,t,n){t=h(0,t);for(var o,i=0,r=e.getElementsByClassName(a);o=r[i++];)l(o,e)&&V(o,n)&&t.push(o);return t}):n||s.loops?(l=P(s,{el:1,tag:1,id:1}),function(e,t,n){t=h(0,t);for(var o,i=0,r=(o=s.getTag())?e.getElementsByTagName(o):[];o=r[i++];)l(o,e)&&V(o,n)&&t.push(o);return t}):function(e,t,n){t=h(0,t);for(var o=0,i=(i=s.getTag())?e.getElementsByTagName(i):[];e=i[o++];)V(e,n)&&t.push(e);return t},L[s.query]=e}function l(e){var l=a(k(e));if(1!=l.length)return function(e){e=h(e);for(var t,n,o,i=l.length,r=0;r<i;r++){o=[],t=l[r],0<(s=e.length-1)&&(n={},o.nozip=!0);for(var s=v(t),a=0;t=e[a];a++)s(t,o,n);if(!o.length)break;e=o}return o};var t=v(l[0]);return function(e){return(e=t(e,[]))&&(e.nozip=!0),e}}function w(e,t,n,o){return n?(t?t+" ":"")+n+(o?" "+o:""):e}function x(e,t,n){return t.replace(q,w)+(n||"")}function T(e,t){return t=t||d.doc,C="div"===(t.ownerDocument||t).createElement("div").tagName,(t=W(e)(t))&&t.nozip?t:function(e){if(e&&e.nozip)return e;if(!e||!e.length)return[];if(e.length<2)return[e[0]];var t,n=[];if(U++,s("ie")&&C)for(var o=U+"",i=0;i<e.length;i++)(t=e[i])&&t.getAttribute("_zipIdx")!=o&&(n.push(t),t.setAttribute("_zipIdx",o));else if(s("ie")&&e.commentStrip)try{for(i=0;i<e.length;i++)(t=e[i])&&p(t)&&n.push(t)}catch(e){}else for(i=0;i<e.length;i++)(t=e[i])&&t._zipIdx!=U&&(n.push(t),t._zipIdx=U);return n}(t)}var k=e.trim,E=c.forEach,A="BackCompat"==d.doc.compatMode,C=!1,O={"*=":function(t,n){return function(e){return 0<=i(e,t).indexOf(n)}},"^=":function(t,n){return function(e){return 0==i(e,t).indexOf(n)}},"$=":function(n,o){return function(e){var t=(e=" "+i(e,n)).lastIndexOf(o);return-1<t&&t==e.length-o.length}},"~=":function(t,e){var n=" "+e+" ";return function(e){return 0<=(" "+i(e,t)+" ").indexOf(n)}},"|=":function(t,n){var o=n+"-";return function(e){return(e=i(e,t))==n||0==e.indexOf(o)}},"=":function(t,n){return function(e){return i(e,t)==n}}},j=!((e=d.doc.documentElement).nextElementSibling||"nextElementSibling"in e),M=j?"nextSibling":"nextElementSibling",t=j?"previousSibling":"previousElementSibling",N=j?p:f,I={checked:function(e,t){return function(e){return!("checked"in e?!e.checked:!e.selected)}},disabled:function(e,t){return function(e){return e.disabled}},enabled:function(e,t){return function(e){return!e.disabled}},"first-child":function(){return n},"last-child":function(){return o},"only-child":function(e,t){return function(e){return n(e)&&o(e)}},empty:function(e,t){return function(e){var t=e.childNodes;for(e=e.childNodes.length-1;0<=e;e--){var n=t[e].nodeType;if(1===n||3==n)return!1}return!0}},contains:function(e,t){var n=t.charAt(0);return'"'!=n&&"'"!=n||(t=t.slice(1,-1)),function(e){return 0<=e.innerHTML.indexOf(t)}},not:function(e,t){var n=a(t)[0],t={el:1};"*"!=n.tag&&(t.tag=1),n.classes.length||(t.classes=1);var o=P(n,t);return function(e){return!o(e)}},"nth-child":function(e,t){var n=parseInt;if("odd"==t)return _;if("even"==t)return g;if(-1!=t.indexOf("n")){var o=t.split("n",2),i=o[0]?"-"==o[0]?-1:n(o[0]):1,r=o[1]?n(o[1]):0,s=0,a=-1;if(0<i?r<0?r=r%i&&i+r%i:0<r&&(i<=r&&(s=r-r%i),r%=i):i<0&&(i*=-1,0<r&&(a=r,r%=i)),0<i)return function(e){return e=m(e),s<=e&&(a<0||e<=a)&&e%i==r};t=r}var l=n(t);return function(e){return m(e)==l}}},S=s("ie")<9||9==s("ie")&&s("quirks")?function(t){var n=t.toLowerCase();return"class"==n&&(t="className"),function(e){return C?e.getAttribute(t):e[t]||e[n]}}:function(t){return function(e){return e&&e.getAttribute&&e.hasAttribute(t)}},P=function(t,e){if(!t)return f;var i=null;return"el"in(e=e||{})||(i=r(i,p)),"tag"in e||"*"!=t.tag&&(i=r(i,function(e){return e&&(C?e.tagName:e.tagName.toUpperCase())==t.getTag()})),"classes"in e||E(t.classes,function(e,t,n){var o=new RegExp("(?:^|\\s)"+e+"(?:\\s|$)");(i=r(i,function(e){return o.test(e.className)})).count=t}),"pseudos"in e||E(t.pseudos,function(e){var t=e.name;I[t]&&(i=r(i,I[t](t,e.value)))}),"attrs"in e||E(t.attrs,function(e){var t,n=e.attr;e.type&&O[e.type]?t=O[e.type](n,e.matchFor):n.length&&(t=S(n)),t&&(i=r(i,t))}),"id"in e||t.id&&(i=r(i,function(e){return!!e&&e.id==t.id})),i=!(i||"default"in e)?f:i},L={},D={},H={},F=s("ie")?"commentStrip":"nozip",R=!!d.doc.querySelectorAll,q=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,B=/([^[]*)([^\]]*])?/g,W=function(n,e){if(n=n.replace(B,x),R){var t=H[n];if(t&&!e)return t}if(t=D[n])return t;var t=n.charAt(0),o=-1==n.indexOf(" ");if(0<=n.indexOf("#")&&o&&(e=!0),!R||e||-1!=">~+".indexOf(t)||s("ie")&&-1!=n.indexOf(":")||A&&0<=n.indexOf(".")||-1!=n.indexOf(":contains")||-1!=n.indexOf(":checked")||-1!=n.indexOf("|=")){var i=n.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return D[n]=i.length<2?l(n):function(e){for(var t,n=0,o=[];t=i[n++];)o=o.concat(l(t)(e));return o}}var r=0<=">~+".indexOf(n.charAt(n.length-1))?n+" *":n;return H[n]=function(e){if(9==e.nodeType||o)try{var t=e.querySelectorAll(r);return t[F]=!0,t}catch(e){}return W(n,!0)(e)}},U=0,z=s("ie")?function(e){return C?e.getAttribute("_uid")||e.setAttribute("_uid",++U)||U:e.uniqueID}:function(e){return e._uid||(e._uid=++U)},V=function(e,t){if(!t)return 1;e=z(e);return t[e]?0:t[e]=1};return T.filter=function(e,t,n){for(var o,i=[],r=1!=(r=a(t)).length||/[^\w#\.]/.test(t)?function(e){return-1!=c.indexOf(T(t,u.byId(n)),e)}:P(r[0]),s=0;o=e[s];
1s++)r(o)&&i.push(o);return i},T})},"kompakt/nav":function(){define("dojo/query dojo/topic dojo/on dojo/dom-style dojo/dom-geometry kompakt/menu/Menu".split(" "),function(e,t,n,o,r,i){new i({togglerNode:e(".go-to .toggler")[0],menuNode:e(".go-to-menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"go-to"}),new i({togglerNode:e(".top-menu-subsites .b2b-nav .toggler")[0],menuNode:e(".top-menu-subsites .b2b-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"b2b"}),new i({togglerNode:e(".top-menu-subsites .mailorder-nav .toggler")[0],menuNode:e(".top-menu-subsites .mailorder-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"mailorder"}),new i({togglerNode:e(".top-menu-subsites .store-nav .toggler")[0],menuNode:e(".top-menu-subsites .store-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"store"}),new i({togglerNode:e(".top-menu-subsites .agency-nav .toggler")[0],menuNode:e(".top-menu-subsites .agency-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"agency"}),new i({togglerNode:e(".top-menu-subsites .label-nav .toggler")[0],menuNode:e(".top-menu-subsites .label-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"label"}),new i({togglerNode:e(".top-menu-subsites .distribution-nav .toggler")[0],menuNode:e(".top-menu-subsites .distribution-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"distribution"}),new i({togglerNode:e(".top-menu-subsites .blog-nav .toggler")[0],menuNode:e(".top-menu-subsites .blog-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"blog"}),new i({togglerNode:e(".top-menu-subsites .dashboard-nav .toggler")[0],menuNode:e(".top-menu-subsites .dashboard-nav .menu")[0],toggableNodes:e(".xxx"),closedIconClass:"fa-chevron-up",openIconClass:"fa-chevron-down",menuName:"dashboard"});var s=new i({togglerNode:e(".top-top .toggler")[0],menuNode:e(".top-menu-subsites-box")[0],toggableNodes:e(".xxx"),closedIconClass:"xxx",openIconClass:"xxx",menuName:"top-top"}),a=e(".top-menu-subsites")[0],l=e(".top-navbar")[0],u=e(".toggable-level-1")[0];n(document,"click",function(e){var t=r.position(a,!0),n=t.x+t.w,o=t.y,i=t.y+t.h;(e.pageX<t.x||e.pageX>n||e.pageY<o||e.pageY>i)&&s.getToggler().close()}),t.subscribe("toggler/onopen/top-top",function(){o.set(l,"opacity",".2"),o.set(u,"opacity",".6")}),t.subscribe("toggler/onclose/top-top",function(){o.set(l,"opacity","1"),o.set(u,"opacity","1")})})},"dojo/topic":function(){define(["./Evented"],function(e){var n=new e;return{publish:function(e,t){return n.emit.apply(n,arguments)},subscribe:function(e,t){return n.on.apply(n,arguments)}}})},"dojo/Evented":function(){define(["./aspect","./on"],function(e,o){function t(){}var i=e.after;return t.prototype={on:function(e,n){return o.parse(this,e,n,function(e,t){return i(e,"on"+t,n,!0)})},emit:function(e,t){var n=[this];return n.push.apply(n,arguments),o.emit.apply(o,n)}},t})},"dojo/aspect":function(){define([],function(){function e(s){return function(e,t,n,o){var r,i=e[t];return i&&i.target==e||(e[t]=r=function(){for(var e,t,n=r.nextId,o=arguments,i=r.before;i;)i.advice&&(o=i.advice.apply(this,o)||o),i=i.next;for(r.around&&(t=r.around.advice(this,o)),i=r.after;i&&i.id<n;)i.advice&&(t=i.receiveArguments?void 0===(e=i.advice.apply(this,o))?t:e:i.advice.call(this,t,o)),i=i.next;return t},i&&(r.around={advice:function(e,t){return i.apply(e,t)}}),r.target=e,r.nextId=r.nextId||0),e=function(n,o,i,e){var r,s=n[o],t="around"==o,a=t?(r=i(function(){return s.advice(this,arguments)}),{remove:function(){r=r&&(n=i=null)},advice:function(e,t){return r?r.apply(e,t):s.advice(e,t)}}):{remove:function(){var e,t;a.advice&&(e=a.previous,(t=a.next)||e?(e?e.next=t:n[o]=t,t&&(t.previous=e)):delete n[o],n=i=a.advice=null)},id:n.nextId++,advice:i,receiveArguments:e};if(s&&!t)if("after"==o){for(;s.next&&(s=s.next););(s.next=a).previous=s}else"before"==o&&(((n[o]=a).next=s).previous=a);else n[o]=a;return a}(r||i,s,n,o),n=null,e}}var t=e("after");return{before:e("before"),around:e("around"),after:t}})},"dojo/dom-style":function(){define(["./sniff","./dom","./_base/window"],function(e,a,n){var l={},t=e("webkit")?function(e){var t,n;return 1!=e.nodeType||!(n=(t=e.ownerDocument.defaultView).getComputedStyle(e,null))&&e.style&&(e.style.display="",n=t.getComputedStyle(e,null)),n||{}}:e("ie")&&(e("ie")<9||e("quirks"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1!==e.nodeType)return{};var t=e.ownerDocument.defaultView;return(t.opener?t:n.global.window).getComputedStyle(e,null)};l.getComputedStyle=t;var r=e("ie")?function(e,t){if(!t)return 0;if("medium"==t)return 4;if(t.slice&&"px"==t.slice(-2))return parseFloat(t);
1var n=e.style,o=e.runtimeStyle,i=n.left,r=o.left;o.left=e.currentStyle.left;try{n.left=t,t=n.pixelLeft}catch(e){t=0}return n.left=i,o.left=r,t}:function(e,t){return parseFloat(t)||0};l.toPixelValue=r;function o(e,t){try{return e.filters.item("DXImageTransform.Microsoft.Alpha")}catch(e){return t?{}:null}}var s=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return o(e).Opacity/100}catch(e){return 1}}:function(e){return t(e).opacity},u=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){var n=100*(t=""===t?1:t);if(1===t?(e.style.zoom="",o(e)&&(e.style.filter=e.style.filter.replace(RegExp("\\s*progid:DXImageTransform.Microsoft.Alpha\\([^\\)]+?\\)","i"),""))):(e.style.zoom=1,o(e)?o(e,1).Opacity=n:e.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+n+")",o(e,1).Enabled=!0),"tr"==e.tagName.toLowerCase())for(n=e.firstChild;n;n=n.nextSibling)"td"==n.tagName.toLowerCase()&&u(n,t);return t}:function(e,t){return e.style.opacity=t},c={left:!0,top:!0},d=/margin|padding|width|height|max|min|offset/,f={cssFloat:1,styleFloat:1,float:1};return l.get=function(e,t){var n=a.byId(e),o=arguments.length;if(2==o&&"opacity"==t)return s(n);t=f[t]?"cssFloat"in n.style?"cssFloat":"styleFloat":t;var i=l.getComputedStyle(n);return 1==o?i:function(e,t,n){if(t=t.toLowerCase(),"auto"==n){if("height"==t)return e.offsetHeight;if("width"==t)return e.offsetWidth}return"fontweight"==t?700!==n?"normal":"bold":(t in c||(c[t]=d.test(t)),c[t]?r(e,n):n)}(n,t,i[t]||n.style[t])},l.set=function(e,t,n){var o,i=a.byId(e),r=arguments.length,s="opacity"==t;if(t=f[t]?"cssFloat"in i.style?"cssFloat":"styleFloat":t,3==r)return s?u(i,n):i.style[t]=n;for(o in t)l.set(e,o,t[o]);return l.getComputedStyle(i)},l})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(l,r,u,c){function a(e,t,n,o,i,r){r=r||"px",e=e.style,isNaN(t)||(e.left=t+r),isNaN(n)||(e.top=n+r),0<=o&&(e.width=o+r),0<=i&&(e.height=i+r)}function d(e){return"button"==e.tagName.toLowerCase()||"input"==e.tagName.toLowerCase()&&"button"==(e.getAttribute("type")||"").toLowerCase()}function f(e){return"border-box"==h.boxModel||"table"==e.tagName.toLowerCase()||d(e)}function i(e){var t={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};try{var n=e.getBoundingClientRect()}catch(e){return t}return void 0===n.left?t:n}var h={boxModel:"content-box"};l("ie")&&(h.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),h.getPadExtents=function(e,t){e=u.byId(e);var n=t||c.getComputedStyle(e),o=c.toPixelValue,i=o(e,n.paddingLeft),r=o(e,n.paddingTop),t=o(e,n.paddingRight);return{l:i,t:r,r:t,b:n=o(e,n.paddingBottom),w:i+t,h:r+n}},h.getBorderExtents=function(e,t){e=u.byId(e);var n=c.toPixelValue,o=t||c.getComputedStyle(e),i="none"!=o.borderLeftStyle?n(e,o.borderLeftWidth):0,r="none"!=o.borderTopStyle?n(e,o.borderTopWidth):0,t="none"!=o.borderRightStyle?n(e,o.borderRightWidth):0;return{l:i,t:r,r:t,b:n="none"!=o.borderBottomStyle?n(e,o.borderBottomWidth):0,w:i+t,h:r+n}},h.getPadBorderExtents=function(e,t){e=u.byId(e);var n=t||c.getComputedStyle(e),t=h.getPadExtents(e,n),n=h.getBorderExtents(e,n);return{l:t.l+n.l,t:t.t+n.t,r:t.r+n.r,b:t.b+n.b,w:t.w+n.w,h:t.h+n.h}},h.getMarginExtents=function(e,t){e=u.byId(e);var n=t||c.getComputedStyle(e),o=c.toPixelValue,i=o(e,n.marginLeft),r=o(e,n.marginTop),t=o(e,n.marginRight);return{l:i,t:r,r:t,b:n=o(e,n.marginBottom),w:i+t,h:r+n}},h.getMarginBox=function(e,t){e=u.byId(e);var n=t||c.getComputedStyle(e),n=h.getMarginExtents(e,n),o=e.offsetLeft-n.l,i=e.offsetTop-n.t,r=e.parentNode,t=c.toPixelValue;return 8==l("ie")&&!l("quirks")&&r&&(o-="none"!=(r=c.getComputedStyle(r)).borderLeftStyle?t(e,r.borderLeftWidth):0,i-="none"!=r.borderTopStyle?t(e,r.borderTopWidth):0),{l:o,t:i,w:e.offsetWidth+n.w,h:e.offsetHeight+n.h}},h.getContentBox=function(e,t){e=u.byId(e);var n,o=t||c.getComputedStyle(e),i=e.clientWidth,r=h.getPadExtents(e,o),s=h.getBorderExtents(e,o),o=e.offsetLeft+r.l+s.l,a=e.offsetTop+r.t+s.t,s=i?e.clientHeight:(i=e.offsetWidth-s.w,e.offsetHeight-s.h);return 8!=l("ie")||l("quirks")||(n=e.parentNode,t=c.toPixelValue,n&&(o-="none"!=(n=c.getComputedStyle(n)).borderLeftStyle?t(e,n.borderLeftWidth):0,a-="none"!=n.borderTopStyle?t(e,n.borderTopWidth):0)),{l:o,t:a,w:i-r.w,h:s-r.h}},h.setContentSize=function(e,t,n){e=u.byId(e);var o=t.w;t=t.h,f(e)&&(n=h.getPadBorderExtents(e,n),0<=o&&(o+=n.w),0<=t&&(t+=n.h)),a(e,NaN,NaN,o,t)};var p={l:0,t:0,w:0,h:0};return h.setMarginBox=function(e,t,n){e=u.byId(e);var o=n||c.getComputedStyle(e);n=t.w;var i,r=t.h,s=f(e)?p:h.getPadBorderExtents(e,o),o=h.getMarginExtents(e,o);l("webkit")&&d(e)&&(i=e.style,0<=n&&!i.width&&(i.width="4px"),0<=r&&!i.height&&(i.height="4px")),0<=n&&(n=Math.max(n-s.w-o.w,0)),0<=r&&(r=Math.max(r-s.h-o.h,0)),a(e,t.l,t.t,n,r)},h.isBodyLtr=function(e){return e=e||r.doc,"ltr"==(r.body(e).dir||e.documentElement.dir||"ltr").toLowerCase()},h.docScroll=function(e){var t=(e=e||r.doc).parentWindow||e.defaultView;return"pageXOffset"in t?{x:t.pageXOffset,y:t.pageYOffset}:(t=l("quirks")?r.body(e):e.documentElement)&&{x:h.fixIeBiDiScrollLeft(t.scrollLeft||0,e),y:t.scrollTop||0}},h.getIeDocumentElementOffset=function(e){return{x:0,y:0}},h.fixIeBiDiScrollLeft=function(e,t){t=t||r.doc;var n=l("ie");if(!n||h.isBodyLtr(t))return e;var o=l("quirks"),i=o?r.body(t):t.documentElement,t=r.global;return 6==n&&!o&&t.frameElement&&i.scrollHeight>i.clientHeight&&(e+=i.clientLeft),n<8||o?e+i.clientWidth-i.scrollWidth:-e},h.position=function(e,t){e=u.byId(e);var n=r.body(e.ownerDocument),o={x:(o=i(e)).left,y:o.top,w:o.right-o.left,h:o.bottom-o.top};return l("ie")<9&&(o.x-=l("quirks")?n.clientLeft+n.offsetLeft:0,o.y-=l("quirks")?n.clientTop+n.offsetTop:0),t&&(n=h.docScroll(e.ownerDocument),o.x+=n.x,o.y+=n.y),o},h.getMarginSize=function(e,t){e=u.byId(e);t=h.getMarginExtents(e,t||c.getComputedStyle(e)),e=i(e);return{w:e.right-e.left+t.w,h:e.bottom-e.top+t.h}},h.normalizeEvent=function(e){var t,n;"layerX"in e||(e.layerX=e.offsetX,e.layerY=e.offsetY),"pageX"in e||(t=(t=e.target)&&t.ownerDocument||document,n=l("quirks")?t.body:t.documentElement,e.pageX=e.clientX+h.fixIeBiDiScrollLeft(n.scrollLeft||0,t),e.pageY=e.clientY+(n.scrollTop||0))},h})},"kompakt/menu/Menu":function(){define(["dojo/_base/declare","dojo/_base/array","dojo/topic","kompakt/menu/Toggler","kompakt/menu/Toggable"],function(e,a,l,u,c){return e(null,{_toggler:null,constructor:function(e){var t,n,o=e.togglerNode,i=e.menuNode,r=e.toggableNodes,s=e.menuName;o&&i&&r&&(this._toggler=new u({onOpenTopic:"toggler/onopen/"+s,onCloseTopic:"toggler/onclose/"+s,closedIconClass:e.closedIconClass,openIconClass:e.openIconClass},o),t=new c({onShowTopic:"toggable/onshow/"+s,onHideTopic:"toggable/onhide/"+s},i),n=[],r.forEach(function(e){n[n.length]=new c({onShowTopic:null,onHideTopic:null},e)}),l.subscribe("toggler/onopen/"+s,function(){l.publish("toggable/onopen",s),t.show(),a.forEach(n,function(e){e.hide()})}),l.subscribe("toggler/onclose/"+s,function(){t.hide(),a.forEach(n,function(e){e.show()})}),l.subscribe("toggable/onopen",function(e){}))},getToggler:function(){return this._toggler}})})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(e,_,y){function b(e,t){throw Error("declare"+(t?" "+t:"")+": "+e)}function v(e,t,n,o){var i,r,s=this._inherited=this._inherited||{};if("string"==typeof e&&(r=e,e=t,t=n,n=o),"function"==typeof e){var a=e;e=t,t=n}else try{a=e.callee}catch(e){if(!(e instanceof TypeError))throw e;b("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass)}(r=r||a.nom)||b("can't deduce a name to call inherited()",this.declaredClass),n=o=0,o=(u=this.constructor._meta).bases;var l=s.p;if("constructor"!=r){if(s.c!==a){var u,l=0,c=o[0];if((u=c._meta).hidden[r]!==a){(i=u.chains)&&"string"==typeof i[r]&&b("calling chained method with inherited: "+r,this.declaredClass);do{if(u=c._meta,i=c.prototype,u&&(i[r]===a&&i.hasOwnProperty(r)||u.hidden[r]===a))break}while(c=o[++l]);l=c?l:-1}}if(c=o[++l])if(i=c.prototype,c._meta&&i.hasOwnProperty(r))n=i[r];else{a=M[r];do{if((n=(i=c.prototype)[r])&&(c._meta?i.hasOwnProperty(r):n!==a))break}while(c=o[++l])}n=c&&n||M[r]}else{if(s.c!==a&&((u=o[l=0]._meta)&&u.ctor!==a)){for((i=u.chains)&&"manual"===i.constructor||b("calling chained constructor with inherited",this.declaredClass);(c=o[++l])&&(!(u=c._meta)||u.ctor!==a););l=c?l:-1}for(;(c=o[++l])&&!(n=(u=c._meta)?u.ctor:c););n=c&&n}if(s.c=n,s.p=l,n)return!0===t?n:n.apply(this,t||e)}function w(e,t,n){return"string"==typeof e?"function"==typeof t?this.__inherited(e,t,n,!0):this.__inherited(e,t,!0):"function"==typeof e?this.__inherited(e,t,!0):this.__inherited(e,!0)}function x(e){for(var t=this.constructor._meta.bases,n=0,o=t.length;n<o;++n)if(t[n]===e)return!0;return this instanceof e}function T(e,t){for(var n in t)"constructor"!=n&&t.hasOwnProperty(n)&&(e[n]=t[n]);if(_("bug-for-in-skips-shadowed"))for(var o=y._extraNames,i=o.length;i;)"constructor"!=(n=o[--i])&&t.hasOwnProperty(n)&&(e[n]=t[n])}function k(e){return O.safeMixin(this.prototype,e),this}function E(e,t){return e instanceof Array||"function"==typeof e||(t=e,e=void 0),t=t||{},O([this].concat(e=e||[]),t)}function A(e){return t.prototype=e.prototype,e=new t,t.prototype=null,e}function C(e){var t=e.callee,n=A(t);return t.apply(n,e),n}function O(e,t,n){"string"!=typeof e&&(n=t,t=e,e=""),n=n||{};var o,i,r,s,a,l,u,c,d,f,h=1,p=t;if("[object Array]"==N.call(t)?(a=(s=function(e,t){for(var n,o,i,r,s,a=[],l=[{cls:0,refs:[]}],u={},c=1,d=e.length,f=0;f<d;++f){for((n=e[f])?"[object Function]"!=N.call(n)&&b("mixin #"+f+" is not a callable constructor.",t):b("mixin #"+f+" is unknown. Did you use dojo.require to pull it in?",t),i=0,n=(o=n._meta?n._meta.bases:[n]).length-1;0<=n;--n)(r=o[n].prototype).hasOwnProperty("declaredClass")||(r.declaredClass="uniqName_"+I++),r=r.declaredClass,u.hasOwnProperty(r)||(u[r]={count:0,refs:[],cls:o[n]},++c),r=u[r],i&&i!==r&&(r.refs.push(i),++i.count),i=r;++i.count,l[0].refs.push(i)}for(;l.length;){for(i=l.pop(),a.push(i.cls),--c;1==(s=i.refs).length;){if(!(i=s[0])||--i.count){i=0;break}a.push(i.cls),--c}if(i)for(f=0,d=s.length;f<d;++f)--(i=s[f]).count||l.push(i)}return c&&b("can't build consistent linearization",t),n=e[0],a[0]=n?n._meta&&n===a[a.length-n._meta.bases.length]?n._meta.bases.length:1:0,a}(t,e))[0],t=s[h=s.length-a]):(s=[0],t?"[object Function]"==N.call(t)?(a=t._meta,s=s.concat(a?a.bases:t)):b("base class is not a callable constructor.",e):null!==t&&b("unknown base class. Did you use dojo.require to pull it in?",e)),t)for(o=h-1;;--o){var m=A(t);if(!o)break;((a=s[o])._meta?T:j)(m,a.prototype);var g=_("csp-restrictions")?function(){}:new Function;g.superclass=t,t=(g.prototype=m).constructor=g}else m={};for(O.safeMixin(m,n),(a=n.constructor)!==M.constructor&&(a.nom="constructor",m.constructor=a),o=h-1;o;--o)(a=s[o]._meta)&&a.chains&&(r=j(r||{},a.chains));
1if(m["-chains-"]&&(r=j(r||{},m["-chains-"])),a=!(r=t&&t.prototype&&t.prototype["-chains-"]?j(r||{},t.prototype["-chains-"]):r)||!r.hasOwnProperty("constructor"),s[0]=g=r&&"manual"===r.constructor?(f=s,function(){var e,t,n=arguments,o=0;if(!(this instanceof n.callee))return C(n);for(;e=f[o];++o)if(e=(t=e._meta)?t.ctor:e){e.apply(this,n);break}(e=this.postscript)&&e.apply(this,n)}):1==s.length?(c=n.constructor,d=a,function(){var e=arguments,t=e,n=e[0];if(!(this instanceof e.callee))return C(e);d&&((n=n&&n.preamble)&&(t=n.apply(this,t)||t),(n=this.preamble)&&n.apply(this,t)),c&&c.apply(this,e),(n=this.postscript)&&n.apply(this,e)}):(l=s,u=a,function(){var e,t=arguments,n=t,o=t[0],i=l.length;if(!(this instanceof t.callee))return C(t);if(u&&(o&&o.preamble||this.preamble)){var r=Array(l.length);for(r[0]=t,e=0;(o=t[0])&&(o=o.preamble)&&(t=o.apply(this,t)||t),(o=(o=l[e].prototype).hasOwnProperty("preamble")&&o.preamble)&&(t=o.apply(this,t)||t),++e!=i;)r[e]=t}for(e=i-1;0<=e;--e)(o=(i=(o=l[e])._meta)?i.ctor:o)&&o.apply(this,r?r[e]:t);(o=this.postscript)&&o.apply(this,n)}),g._meta={bases:s,hidden:n,chains:r,parents:p,ctor:n.constructor},g.superclass=t&&t.prototype,g.extend=k,g.createSubclass=E,(g.prototype=m).constructor=g,m.getInherited=w,m.isInstanceOf=x,m.inherited=S,m.__inherited=v,e&&(m.declaredClass=e,y.setObject(e,g)),r)for(i in r)m[i]&&"string"==typeof r[i]&&"constructor"!=i&&(a=m[i]=function(i,r,s){return function(){var e,t=0,n=1;for(s&&(t=r.length-1,n=-1);e=r[t];t+=n){var o=e._meta;(e=(o?o.hidden:e.prototype)[i])&&e.apply(this,arguments)}}}(i,s,"after"===r[i]),a.nom=i);return g}var j=y.mixin,M=Object.prototype,N=M.toString,I=0,t=_("csp-restrictions")?function(){}:new Function,S=e.config.isDebug?function(e,t,n,o){var i=this.getInherited(e,t,n);if(i)return i.apply(this,o||n||t||e)}:v;return e.safeMixin=O.safeMixin=function(e,t){for(r in t){var n=t[r];n===M[r]&&r in M||"constructor"==r||("[object Function]"==N.call(n)&&(n.nom=r),e[r]=n)}if(_("bug-for-in-skips-shadowed")&&t)for(var o=y._extraNames,i=o.length;i;){var r=o[--i];(n=t[r])===M[r]&&r in M||"constructor"==r||("[object Function]"==N.call(n)&&(n.nom=r),e[r]=n)}return e},e.declare=O})},"kompakt/menu/Toggler":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/on","dojo/query","dojo/topic"],function(e,o,i,r,t){return e(null,{_rootNode:null,_iconNode:null,_closedIconClass:null,_openIconClass:null,_onOpenTopic:null,_onCloseTopic:null,_isClosed:!0,constructor:function(e,t){this._rootNode=t,this._iconNode=r("i",this._rootNode)[0],this._closedIconClass=e.closedIconClass,this._openIconClass=e.openIconClass,this._onOpenTopic=e.onOpenTopic,this._onCloseTopic=e.onCloseTopic;var n=this;this._isClosed=o.contains(this._iconNode,"closed"),i(this._rootNode,"click",function(e){e.preventDefault(),e.stopPropagation(),n._isClosed?n.open():n.close()})},open:function(){this._isClosed&&(this._isClosed=!1,this._iconNode&&(o.remove(this._iconNode,"closed"),o.add(this._iconNode,"open"),this._closedIconClass!==this._openIconClass&&(o.remove(this._iconNode,this._closedIconClass),o.add(this._iconNode,this._openIconClass))),t.publish(this._onOpenTopic))},close:function(){this._isClosed||(this._isClosed=!0,this._iconNode&&(o.add(this._iconNode,"closed"),o.remove(this._iconNode,"open"),this._closedIconClass!==this._openIconClass&&(o.add(this._iconNode,this._closedIconClass),o.remove(this._iconNode,this._openIconClass))),t.publish(this._onCloseTopic))}})})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(r,t,a){function l(e){return"string"==typeof e||e instanceof String?e&&!n.test(e)?(o[0]=e,o):((e=e.split(n)).length&&!e[0]&&e.shift(),e.length&&!e[e.length-1]&&e.pop(),e):e?t.filter(e,function(e){return e}):[]}var s,n=/\s+/,o=[""],i={};return s={contains:function(e,t){return 0<=(" "+a.byId(e).className+" ").indexOf(" "+t+" ")},add:function(e,t){e=a.byId(e),t=l(t);for(var n,o=e.className,i=(o=o?" "+o+" ":" ").length,r=0,s=t.length;r<s;++r)(n=t[r])&&o.indexOf(" "+n+" ")<0&&(o+=n+" ");i<o.length&&(e.className=o.substr(1,o.length-2))},remove:function(e,t){if(e=a.byId(e),void 0!==t){t=l(t);for(var n=" "+e.className+" ",o=0,i=t.length;o<i;++o)n=n.replace(" "+t[o]+" "," ");n=r.trim(n)}else n="";e.className!=n&&(e.className=n)},replace:function(e,t,n){e=a.byId(e),i.className=e.className,s.remove(i,n),s.add(i,t),e.className!==i.className&&(e.className=i.className)},toggle:function(e,t,n){if(e=a.byId(e),void 0===n)for(var o,i=0,r=(t=l(t)).length;i<r;++i)o=t[i],s[s.contains(e,o)?"remove":"add"](e,o);else s[n?"add":"remove"](e,t);return n}}})},"kompakt/menu/Toggable":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/topic"],function(e,t,n){return e(null,{_rootNode:null,_onShowTopic:null,_onHideTopic:null,constructor:function(e,t){this._rootNode=t,this._onShowTopic=e.onShowTopic,this._onHideTopic=e.onHideTopic},isHidden:function(){return"none"===t.get(this._rootNode,"display")},show:function(){this.isHidden()&&(t.set(this._rootNode,"display","block"),n.publish(this._onShowTopic))},hide:function(){this.isHidden()||(t.set(this._rootNode,"display","none"),n.publish(this._onHideTopic))}})})},"kompakt/cart":function(){define("dojo/query dojo/topic dojo/on dojo/store/JsonRest kompakt/MicroStatusWidget dojo/domReady!".split(" "),function(r,s,a,n,l){function e(){new n({target:t}).query("").then(function(e){s.publish("cart/num-items",e)},function(e){s.publish("cart/num-items-error",data)})}var t,o,i;t=(i=r("body.b2b")[0])?"/api/b2b/carts/num-items":"/api/carts/num-items",o=i?"/api/b2b/carts/items/":"/api/carts/items/",i=r(".physical-adder-widget"),s.subscribe("cart/add-item",function(e){var t;t=e,new n({target:o}).put(t).then(function(){s.publish("cart/add-item-ok",t)},function(e){s.publish("cart/add-item-error",t)})}),s.subscribe("cart/add-item-ok",function(){e()}),s.subscribe("cart/num-items",function(e){var t;t=e,(e=r(".num-cart-items"))&&e.forEach(function(e){e.innerHTML=t})}
1),e(),i.forEach(function(e){!function(e){var t=r("button",e),n=r(".product-id",e)[0],o=r(".product-type",e)[0];e=r(".micro-status-widget",e)[0];var i=new l(e);a(t,"click",function(e){e.preventDefault(),e.stopPropagation(),s.publish("cart/add-item",{productId:n.innerHTML,productType:o.innerHTML,quantity:1}),s.subscribe("cart/add-item-ok",function(e){e.productId===n.innerHTML&&i.run("Added to your cart")}),s.subscribe("cart/add-item-error",function(e){e.productId===n.innerHTML&&i.run("Sorry, there was an error")})})}(e)})})},"dojo/store/JsonRest":function(){define(["../_base/xhr","../_base/lang","../json","../_base/declare","./util/QueryResults"],function(a,l,o,t,u){return t("dojo.store.JsonRest",null,{constructor:function(e){this.headers={},t.safeMixin(this,e)},headers:{},target:"",idProperty:"id",ascendingPrefix:"+",descendingPrefix:"-",_getTarget:function(e){var t=this.target;return t=void 0!==e?"/"==t.charAt(t.length-1)||"="==t.charAt(t.length-1)?t+e:t+"/"+e:t},get:function(e,t){var n=l.mixin({Accept:this.accepts},this.headers,(t=t||{}).headers||t);return a("GET",{url:this._getTarget(e),handleAs:"json",headers:n,timeout:t&&t.timeout})},accepts:"application/javascript, application/json",getIdentity:function(e){return e[this.idProperty]},put:function(e,t){var n="id"in(t=t||{})?t.id:this.getIdentity(e);return a(void 0===n||t.incremental?"POST":"PUT",{url:this._getTarget(n),postData:o.stringify(e),handleAs:"json",headers:l.mixin({"Content-Type":"application/json",Accept:this.accepts,"If-Match":!0===t.overwrite?"*":null,"If-None-Match":!1===t.overwrite?"*":null},this.headers,t.headers),timeout:t&&t.timeout})},add:function(e,t){return(t=t||{}).overwrite=!1,this.put(e,t)},remove:function(e,t){return t=t||{},a("DELETE",{url:this._getTarget(e),headers:l.mixin({},this.headers,t.headers),timeout:t&&t.timeout})},query:function(e,t){var n=l.mixin({Accept:this.accepts},this.headers,(t=t||{}).headers),o=-1<this.target.indexOf("?");if((e=e||"")&&"object"==typeof e&&(e=(e=a.objectToQuery(e))?(o?"&":"?")+e:""),(0<=t.start||0<=t.count)&&(n["X-Range"]="items="+(t.start||"0")+"-"+("count"in t&&1/0!=t.count?t.count+(t.start||0)-1:""),this.rangeParam?(e+=(e||o?"&":"?")+this.rangeParam+"="+n["X-Range"],o=!0):n.Range=n["X-Range"]),t&&t.sort){var i=this.sortParam;for(e+=(e||o?"&":"?")+(i?i+"=":"sort("),o=0;o<t.sort.length;o++){var r=t.sort[o];e+=(0<o?",":"")+(r.descending?this.descendingPrefix:this.ascendingPrefix)+encodeURIComponent(r.attribute)}i||(e+=")")}var s=a("GET",{url:this.target+(e||""),handleAs:"json",headers:n,timeout:t&&t.timeout});return s.total=s.then(function(){var e=s.ioArgs.xhr.getResponseHeader("Content-Range");return(e=(e=e||s.ioArgs.xhr.getResponseHeader("X-Content-Range"))&&e.match(/\/(.*)/))&&+e[1]}),u(s)}})})},"dojo/_base/xhr":function(){define("./kernel ./sniff require ../io-query ../dom ../dom-form ./Deferred ./config ./json ./lang ./array ../on ../aspect ../request/watch ../request/xhr ../request/util".split(" "),function(d,t,e,f,h,p,m,o,i,g,r,n,s,a,l,u){d._xhrObj=l._create;var _=d.config;d.objectToQuery=f.objectToQuery,d.queryToObject=f.queryToObject,d.fieldToObject=p.fieldToObject,d.formToObject=p.toObject,d.formToQuery=p.toQuery,d.formToJson=p.toJson,d._blockAsync=!1;var c=d._contentHandlers=d.contentHandlers={text:function(e){return e.responseText},json:function(e){return i.fromJson(e.responseText||null)},"json-comment-filtered":function(e){o.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var t=(e=e.responseText).indexOf("/*"),n=e.lastIndexOf("*/");if(-1==t||-1==n)throw Error("JSON was not comment filtered");return i.fromJson(e.substring(t+2,n))},javascript:function(e){return d.eval(e.responseText)},xml:function(n){var e,o=n.responseXML;return o&&t("dom-qsa2.1")&&!o.querySelectorAll&&t("dom-parser")&&(o=(new DOMParser).parseFromString(n.responseText,"application/xml")),!t("ie")||o&&o.documentElement||(e=["Microsoft.XMLDOM",(e=function(e){return"MSXML"+e+".DOMDocument"}
1)(6),e(4),e(3),e(2)],r.some(e,function(e){try{var t=new ActiveXObject(e);t.async=!1,t.loadXML(n.responseText),o=t}catch(e){return!1}return!0})),o},"json-comment-optional":function(e){return e.responseText&&/^[^{\[]*\/\*/.test(e.responseText)?c["json-comment-filtered"](e):c.json(e)}};d._ioSetArgs=function(t,n,e,o){var i,r={args:t,url:t.url},s=null;t.form&&(i=(s=h.byId(t.form)).getAttributeNode("action"),r.url=r.url||(i?i.value:d.doc?d.doc.URL:null),s=p.toObject(s)),i={},s&&g.mixin(i,s),t.content&&g.mixin(i,t.content),t.preventCache&&(i["dojo.preventCache"]=(new Date).valueOf()),r.query=f.objectToQuery(i),r.handleAs=t.handleAs||"text";var a=new m(function(e){e.canceled=!0,n&&n(e);var t=e.ioArgs.error;return t||((t=Error("request cancelled")).dojoType="cancel",e.ioArgs.error=t),t});a.addCallback(e);var l=t.load;l&&g.isFunction(l)&&a.addCallback(function(e){return l.call(t,e,r)});var u=t.error;u&&g.isFunction(u)&&a.addErrback(function(e){return u.call(t,e,r)});var c=t.handle;return c&&g.isFunction(c)&&a.addBoth(function(e){return c.call(t,e,r)}),a.addErrback(function(e){return o(e,a)}),_.ioPublish&&d.publish&&!1!==r.args.ioPublish&&(a.addCallbacks(function(e){return d.publish("/dojo/io/load",[a,e]),e},function(e){return d.publish("/dojo/io/error",[a,e]),e}),a.addBoth(function(e){return d.publish("/dojo/io/done",[a,e]),e})),a.ioArgs=r,a};function y(e){return void 0===(e=c[e.ioArgs.handleAs](e.ioArgs.xhr))?null:e}function b(e,t){return t.ioArgs.args.failOk||console.error(e),e}function v(e){w<=0&&(w=0,_.ioPublish&&d.publish&&(!e||e&&!1!==e.ioArgs.args.ioPublish)&&d.publish("/dojo/io/stop"))}var w=0;return s.after(a,"_onAction",function(){--w}),s.after(a,"_onInFlight",v),d._ioCancelAll=a.cancelAll,d._ioNotifyStart=function(e){_.ioPublish&&d.publish&&!1!==e.ioArgs.args.ioPublish&&(w||d.publish("/dojo/io/start"),w+=1,d.publish("/dojo/io/send",[e]))},d._ioWatch=function(t,n,o,i){t.ioArgs.options=t.ioArgs.args,g.mixin(t,{response:t.ioArgs,isValid:function(e){return n(t)},isReady:function(e){return o(t)},handleResponse:function(e){return i(t)}}),a(t),v(t)},d._ioAddQueryToUrl=function(e){e.query.length&&(e.url+=(-1==e.url.indexOf("?")?"?":"&")+e.query,e.query=null)},d.xhr=function(e,t,n){var o=d._ioSetArgs(t,function(e){s&&s.cancel()},y,b),i=o.ioArgs;"postData"in t?i.query=t.postData:"putData"in t?i.query=t.putData:"rawBody"in t?i.query=t.rawBody:(2<arguments.length&&!n||-1==="POST|PUT".indexOf(e.toUpperCase()))&&d._ioAddQueryToUrl(i);var r={method:e,handleAs:"text",timeout:t.timeout,withCredentials:t.withCredentials,ioArgs:i};void 0!==t.headers&&(r.headers=t.headers),void 0!==t.contentType&&(r.headers||(r.headers={}),r.headers["Content-Type"]=t.contentType),void 0!==i.query&&(r.data=i.query),void 0!==t.sync&&(r.sync=t.sync),d._ioNotifyStart(o);try{var s=l(i.url,r,!0)}catch(e){return o.cancel(),o}return o.ioArgs.xhr=s.response.xhr,s.then(function(){o.resolve(o)}).otherwise(function(e){(i.error=e).response&&(e.status=e.response.status,e.responseText=e.response.text,e.xhr=e.response.xhr),o.reject(e)}),o},d.xhrGet=function(e){return d.xhr("GET",e)},d.rawXhrPost=d.xhrPost=function(e){return d.xhr("POST",e,!0)},d.rawXhrPut=d.xhrPut=function(e){return d.xhr("PUT",e,!0)},d.xhrDelete=function(e){return d.xhr("DELETE",e)},d._isDocumentOk=function(e){return u.checkStatus(e.status)},d._getText=function(e){var t;return d.xhrGet({url:e,sync:!0,load:function(e){t=e}}),t},g.mixin(d.xhr,{_xhrObj:d._xhrObj,fieldToObject:p.fieldToObject,formToObject:p.toObject,objectToQuery:f.objectToQuery,formToQuery:p.toQuery,formToJson:p.toJson,queryToObject:f.queryToObject,contentHandlers:c,_ioSetArgs:d._ioSetArgs,_ioCancelAll:d._ioCancelAll,_ioNotifyStart:d._ioNotifyStart,_ioWatch:d._ioWatch,_ioAddQueryToUrl:d._ioAddQueryToUrl,_isDocumentOk:d._isDocumentOk,_getText:d._getText,get:d.xhrGet,post:d.xhrPost,put:d.xhrPut,del:d.xhrDelete}),d.xhr})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(e,t,n){return e._name="browser",t.mixin(e,{isBrowser:!0,isFF:n("ff"),isIE:n("ie"),isKhtml:n("khtml"),isWebKit:n("webkit"),isMozilla:n("mozilla"),isMoz:n("mozilla"),isOpera:n("opera"),isSafari:n("safari"),isChrome:n("chrome"),isMac:n("mac"),isIos:n("ios"),isAndroid:n("android"),isWii:n("wii"),isQuirks:n("quirks"),isAir:n("air")}),n})},"dojo/io-query":function(){define(["./_base/lang"],function(l){var u={};return{objectToQuery:function(e){var t,n=encodeURIComponent,o=[];for(t in e){var i=e[t];if(i!=u[t]){var r=n(t)+"=";if(l.isArray(i))for(var s=0,a=i.length;s<a;++s)o.push(r+n(i[s]));else o.push(r+n(i))}}return o.join("&")},queryToObject:function(e){for(var t,n,o,i=decodeURIComponent,r={},s=0,a=(e=e.split("&")).length;s<a;++s)(o=e[s]).length&&(o=(n=o.indexOf("="))<0?(t=i(o),""):(t=i(o.slice(0,n)),i(o.slice(n+1))),"string"==typeof r[t]&&(r[t]=[r[t]]),l.
1isArray(r[t])?r[t].push(o):r[t]=o);return r}}})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(c,d,t,n){var f={fieldToObject:function(e){var t=null;if(e=d.byId(e)){var n=e.name,o=(e.type||"").toLowerCase();if(n&&o&&!e.disabled)if("radio"==o||"checkbox"==o)e.checked&&(t=e.value);else if(e.multiple)for(t=[],e=[e.firstChild];e.length;)for(n=e.pop();n;n=n.nextSibling){if(1!=n.nodeType||"option"!=n.tagName.toLowerCase()){n.nextSibling&&e.push(n.nextSibling),n.firstChild&&e.push(n.firstChild);break}n.selected&&t.push(n.value)}else t=e.value}return t},toObject:function(e){for(var t={},n=0,o=(e=d.byId(e).elements).length;n<o;++n){var i,r,s,a=e[n],l=a.name,u=(a.type||"").toLowerCase();l&&u&&"file|submit|image|reset|button".indexOf(u)<0&&!a.disabled&&(i=t,r=l,null!==(a=f.fieldToObject(a))&&("string"==typeof(s=i[r])?i[r]=[s,a]:c.isArray(s)?s.push(a):i[r]=a),"image"==u&&(t[l+".x"]=t[l+".y"]=t[l].x=t[l].y=0))}return t},toQuery:function(e){return t.objectToQuery(f.toObject(e))},toJson:function(e,t){return n.stringify(f.toObject(e),null,t?4:0)}};return f})},"dojo/json":function(){define(["./has"],function(d){var r="undefined"!=typeof JSON;if(d.add("json-parse",r),d.add("json-stringify",r&&'{"a":1}'==JSON.stringify({a:0},function(e,t){return t||1})),d("json-stringify"))return JSON;var c=function(e){return('"'+e.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:d("json-parse")?JSON.parse:function(f,h){if(h&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(f))throw new SyntaxError("Invalid characters in JSON");return eval("("+f+")")},stringify:function(e,d,f){var h;return"string"==typeof d&&(f=d,d=null),function e(o,t,n){var i=typeof(o=d?d(n,o):o);if("number"==i)return isFinite(o)?o+"":"null";if("boolean"==i)return o+"";if(null===o)return"null";if("string"==typeof o)return c(o);if("function"==i||"undefined"==i)return h;if("function"==typeof o.toJSON)return e(o.toJSON(n),t,n);if(o instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(e,t,n){return(e=o["getUTC"+t]()+(n?1:0))<10?"0"+e:e});if(o.valueOf()!==o)return e(o.valueOf(),t,n);var r=f?t+f:"",s=f?" ":"",a=f?"\n":"";if(o instanceof Array){var s=o.length,l=[];for(n=0;n<s;n++)i=e(o[n],r,n),l.push(a+r+(i="string"!=typeof i?"null":i));return"["+l.join(",")+a+t+"]"}for(n in l=[],o)if(o.hasOwnProperty(n)){if("number"==typeof n)var u='"'+n+'"';else{if("string"!=typeof n)continue;u=c(n)}"string"==typeof(i=e(o[n],r,n))&&l.push(a+r+u+":"+s+i)}return"{"+l.join(",")+a+t+"}"}(e,"","")}}})},"dojo/_base/Deferred":function(){define("./kernel ../Deferred ../promise/Promise ../errors/CancelError ../has ./lang ../when".split(" "),function(n,h,e,p,m,g,t){function _(){}var y=Object.freeze||function(){},b=n.Deferred=function(t){function n(e){if(s)throw Error("This deferred has already been resolved");r=e,s=!0,i()}function i(){for(var e;!e&&c;){var t=c;c=c.next,(e=t.progress==_)&&(s=!1);var n=l?t.error:t.resolved;if(m("config-useDeferredInstrumentation")&&l&&h.instrumentRejected&&h.instrumentRejected(r,!!n),n)try{var o=n(r);o&&"function"==typeof o.then?o.then(g.hitch(t.deferred,"resolve"),g.hitch(t.deferred,"reject"),g.hitch(t.deferred,"progress")):(n=e&&void 0===o,e&&!n&&(l=o instanceof Error),t.deferred[n&&l?"reject":"resolve"](n?r:o))}catch(e){t.deferred.reject(e)}else l?t.deferred.reject(r):t.deferred.resolve(r)}}var r,s,o,a,l,u,c,d=this.promise=new e;this.isResolved=d.isResolved=function(){return 0==a},this.isRejected=d.isRejected=function(){return 1==a},this.isFulfilled=d.isFulfilled=function(){return 0<=a},this.isCanceled=d.isCanceled=function(){return o},this.resolve=this.callback=function(e){this.fired=a=0,this.results=[e,null],n(e)},this.reject=this.errback=function(e){l=!0,this.fired=a=1,m("config-useDeferredInstrumentation")&&h.instrumentRejected&&h.instrumentRejected(e,!!c),n(e),this.results=[null,e]},this.progress=function(e){for(var t=c;t;){var n=t.progress;n&&n(e),t=t.next}},this.addCallbacks=function(e,t){return this.then(e,t,_),this},d.then=this.then=function(e,t,n){var o=n==_?this:new b(d.cancel);return e={resolved:e,error:t,progress:n,deferred:o},c?u=u.next=e:c=u=e,s&&i(),o.promise};var f=this;d.cancel=this.cancel=function(){var e;s||(e=t&&t(f),s||((e=!(e instanceof Error)?new p(e):e).log=!1,f.reject(e))),o=!0},y(d)};return g.extend(b,{addCallback:function(e){return this.addCallbacks(g.hitch.apply(n,arguments))},addErrback:function(e){return this.addCallbacks(null,g.hitch.apply(n,arguments))},addBoth:function(e){var t=g.hitch.apply(n,arguments);return this.addCallbacks(t,t)},fired:-1}),b.when=n.when=t,b})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(e,t,d,f,n){function h(e,t,n,o,i){for(2===t&&g.instrumentRejected&&0===e.length&&g.instrumentRejected(n,!1,o,i),i=0;i<e.length;i++)m(e[i],t,n,o)}var p=Object.freeze||function(){},m=function(e,t,n,o){var i=e[t],r=e.deferred;if(i)try{var s=i(n);if(0===t)void 0!==s&&l(r,t,s);else{if(s&&"function"==typeof s.then)return e.cancel=s.cancel,void s.then(a(r,1),a(r,2),a(r,0));l(r,1,s)}}catch(e){l(r,2,e)}else l(r,t,n);2===t&&g.instrumentRejected&&g.instrumentRejected(n,!!i,o,r.promise)},a=function(t,n){return function(e){l(t,n,e)}},l=function(e,t,n){if(!e.isCanceled())switch(t){case 0:e.progress(n);break;case 1:e.resolve(n);break;case 2:e.reject(n)}},g=function(o){var i,r,s,a=this.promise=new f,n=this,l=!1,u=[];Error.captureStackTrace&&(Error.captureStackTrace(n,g),Error.captureStackTrace(a,g)),this.isResolved=a.isResolved=function(){return 1===i},this.isRejected=a.isRejected=function(){return 2===i},this.isFulfilled=a.isFulfilled=function(){return!!i},this.isCanceled=a.isCanceled=function(){return l},this.progress=function(e,t){if(i){if(!0===t)throw Error("This deferred has already been fulfilled.");return a}return h(u,0,e,null,n),a},this.resolve=function(e,t){if(i){if(!0===t)throw Error("This deferred has already been fulfilled.");return a}return h(u,i=1,r=e,null,n),u=null,a};var c=this.reject=function(e,t){if(i){if(!0===t)throw Error("This deferred has already been fulfilled.");return a}return Error.captureStackTrace&&Error.captureStackTrace(s={},c),h(u,i=2,r=e,s,n),u=null,a};this.then=a.then=function(e,t,n){var o=[n,e,t];return o.cancel=a.cancel,o.deferred=new g(function(e){return o.cancel&&o.cancel(e)}),i&&!u?m(o,i,r,s):u.push(o),o.deferred.promise},this.cancel=a.cancel=function(e,t){var n;if(!i)return o&&(e=void 0===(n=o(e))?e:n),l=!0,i?2===i&&r===e?e:void 0:(void 0===e&&(e=new d),c(e),e);if(!0===t)throw Error("This deferred has already been fulfilled.")},p(a)};return g.prototype.toString=function(){return"[object Deferred]"},n&&n(g),g})},"dojo/errors/CancelError":function(){define(["./create"],function(e){return e("CancelError",null,null,{dojoType:"cancel",log:!1})})},"dojo/errors/create":function(){define(["../_base/lang"],function(n){return function(e,o,i,t){i=i||Error;var r=function(e){if(i===Error){Error.captureStackTrace&&Error.captureStackTrace(this,r);var t,n=Error.call(this,e);for(t in n)n.hasOwnProperty(t)&&(this[t]=n[t]);this.message=e,this.stack=n.stack}else i.apply(this,arguments);o&&o.apply(this,arguments)};return r.prototype=n.delegate(i.prototype,t),r.prototype.name=e,r.prototype.constructor=r}})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(e){function o(){throw new TypeError("abstract")}return e.extend(function(){},{then:function(e,t,n){o()},cancel:function(e,t){o()},isResolved:function(){o()},isRejected:function(){o()},isFulfilled:function(){o()},isCanceled:function(){o()},finally:function(n){return this.then(function(e){var t=n();return t&&"function"==typeof t.then?t.then(function(){return e}):e},function(e){var t=n();if(t&&"function"==typeof t.then)return t.then(function(){throw e});throw e})},always:function(e){return this.then(e,e)},catch:function(e){return this.then(null,e)},otherwise:function(e){return this.then(null,e)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})})},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(o,i,r,s){function a(e,t,n){var o;e&&!1===e.log||(o="",e&&e.stack&&(o+=e.stack),t&&t.stack&&(o+="\n    ----------------------------------------\n    rejected"+t.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ")),n&&n.stack&&(o+="\n    ----------------------------------------\n"+n.stack),console.error(e,o))}function l(e,t,n,o){t||a(e,n,o)}function u(t,n,e,o){s.some(d,function(e){if(e.error===t)return n&&(e.handled=!0),!0})||d.push({error:t,rejection:e,handled:n,deferred:o,timestamp:(new Date).getTime()}),f=f||setTimeout(c,h)}function c(){var e=(new Date).getTime(),t=e-h;d=s.filter(d,function(e){return!(e.timestamp<t)||(e.handled||a(e.error,e.rejection,e.deferred),!1)}),f=!!d.length&&setTimeout(c,d[0].timestamp+h-e)}i.add("config-useDeferredInstrumentation","report-unhandled-rejections");var d=[],f=!1,h=1e3;return function(e){var t=i("config-useDeferredInstrumentation");if(t){o.on("resolved",r.hitch(console,"log","resolved")),o.on("rejected",r.hitch(console,"log","rejected")),o.on("progress",r.hitch(console,"log","progress"));var n=[];if("report-rejections"===(t="string"==typeof t?(n=t.split(",")).shift():t))e.instrumentRejected=l;else{if("report-unhandled-rejections"!==t&&!0!==t&&1!==t)throw Error("Unsupported instrumentation usage <"+t+">");e.instrumentRejected=u,h=parseInt(n[0],10)||h}}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(e,t,n){function o(e){setTimeout(function(){r.apply(i,e)},0)}var i=new n,r=i.emit;return i.emit=null,t.prototype.trace=function(){var t=e._toArray(arguments);return this.then(function(e){o(["resolved",e].concat(t))},function(e){o(["rejected",e].concat(t))},function(e){o(["progress",e].concat(t))}),this},t.prototype.traceRejected=function(){var t=e._toArray(arguments);return this.otherwise(function(e){o(["rejected",e].concat(t))}),this},i})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(r,s){return function(e,t,n,o){var i=e&&"function"==typeof e.then;return i?(i&&e instanceof s||(i=new r(e.cancel),e.then(i.resolve,i.reject,i.progress),e=i.promise),t||n||o?e.then(t,n,o):e):1<arguments.length?t?t(e):e:(new r).resolve(e)}})},"dojo/_base/json":function(){define(["./kernel","../json"],function(d,r){return d.fromJson=function(c){return eval("("+c+")")},d._escapeString=r.stringify,d.toJsonIndentStr="\t",d.toJson=function(e,t){return r.stringify(e,function(e,t){if(t){var n=t.__json__||t.json;if("function"==typeof n)return n.call(t)}return t},t&&d.toJsonIndentStr)},d})},"dojo/request/watch":function(){define("./util ../errors/RequestTimeoutError ../errors/CancelError ../_base/array ../_base/window ../has!host-browser?dom-addeventlistener?:../on:".split(" "),function(e,r,t,n,o,i){function s(){for(var e,t=+new Date,n=0;n<u.length&&(e=u[n]);n++){var o=e.response,i=o.options;e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(o)?(u.splice(n--,1),a._onAction&&a._onAction()):e.isReady&&e.isReady(o)?(u.splice(n--,1),e.handleResponse(o),a._onAction&&a._onAction()):e.startTime&&e.startTime+(i.timeout||0)<t&&(u.splice(n--,1),e.cancel(new r("Timeout exceeded",o)),a._onAction&&a._onAction())}a._onInFlight&&a._onInFlight(e),u.length||(clearInterval(l),l=null)}function a(e){e.response.options.timeout&&(e.startTime=+new Date),e.isFulfilled()||(u.push(e),l=l||setInterval(s,50),e.response.options.sync&&s())}var l=null,u=[];
1return a.cancelAll=function(){try{n.forEach(u,function(e){try{e.cancel(new t("All requests canceled."))}catch(e){}})}catch(e){}},o&&i&&o.doc.attachEvent&&i(o.global,"unload",function(){a.cancelAll()}),a})},"dojo/request/util":function(){define("exports ../errors/RequestError ../errors/CancelError ../Deferred ../io-query ../_base/array ../_base/lang ../promise/Promise ../has".split(" "),function(l,u,c,d,r,t,f,h,a){function p(e){return a("native-arraybuffer")&&e instanceof ArrayBuffer}function m(e){return a("native-blob")&&e instanceof Blob}function g(e){return y(e)}function _(e){return void 0!==e.data?e.data:e.text}l.deepCopy=function(e,t){for(var n in t){var o,i,r=e[n],s=t[n];"__proto__"!==n&&r!==s&&((i=(o=s)&&"object"==typeof o)&&(i=o,i=!(a("native-formdata")&&i instanceof FormData)),!i||("undefined"!=typeof Element?o instanceof Element:1===o.nodeType)||m(o)||p(o)?e[n]=s:"[object Date]"===Object.prototype.toString.call(s)?e[n]=new Date(s):f.isArray(s)?e[n]=l.deepCopyArray(s):r&&"object"==typeof r?l.deepCopy(r,s):e[n]=l.deepCopy({},s))}return e},l.deepCopyArray=function(e){for(var t=[],n=0,o=e.length;n<o;n++){var i=e[n];"object"==typeof i?t.push(l.deepCopy({},i)):t.push(i)}return t},l.deepCreate=function(e,t){t=t||{};var n,o,i=f.delegate(e);for(n in e)(o=e[n])&&"object"==typeof o&&(i[n]=l.deepCreate(o,t[n]));return l.deepCopy(i,t)};var y=Object.freeze||function(e){return e};l.deferred=function(t,n,e,o,i,r){var s,a=new d(function(e){return n&&n(a,t),e&&(e instanceof u||e instanceof c)?e:new c("Request canceled",t)});for(s in a.response=t,a.isValid=e,a.isReady=o,a.handleResponse=i,e=a.then(g).otherwise(function(e){throw e.response=t,e}),l.notify&&e.then(f.hitch(l.notify,"emit","load"),f.hitch(l.notify,"emit","error")),o=e.then(_),i=new h,o)o.hasOwnProperty(s)&&(i[s]=o[s]);return i.response=e,y(i),r&&a.then(function(e){r.call(a,e)},function(e){r.call(a,t,e)}),a.promise=i,a.then=i.then,a},l.addCommonMethods=function(o,e){t.forEach(e||["GET","POST","PUT","DELETE"],function(n){o[("DELETE"===n?"DEL":n).toLowerCase()]=function(e,t){return(t=f.delegate(t||{})).method=n,o(e,t)}})},l.parseArgs=function(e,t,n){var o=t.data,i=t.query;return!o||n||"object"!=typeof o||a("native-xhr2")&&(p(o)||m(o))||(t.data=r.objectToQuery(o)),i?("object"==typeof i&&(i=r.objectToQuery(i)),t.preventCache&&(i+=(i?"&":"")+"request.preventCache="+ +new Date)):t.preventCache&&(i="request.preventCache="+ +new Date),e&&i&&(e+=(~e.indexOf("?")?"&":"?")+i),{url:e,options:t,getHeader:function(e){return null}}},l.checkStatus=function(e){return 200<=(e=e||0)&&e<300||304===e||1223===e||!e}})},"dojo/errors/RequestError":function(){define(["./create"],function(e){return e("RequestError",function(e,t){this.response=t})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(e,t){return e("RequestTimeoutError",null,t,{dojoType:"timeout"})})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(p,m,i,g,_){function y(e,t){var n=e.xhr;e.status=e.xhr.status;try{e.text=n.responseText}catch(e){}if("xml"===e.options.handleAs&&(e.data=n.responseXML),t)this.reject(t);else{try{i(e)}catch(e){var o=e}g.checkStatus(n.status)?o?this.reject(o):this.resolve(e):(t=new p(o?"Unable to load "+e.url+" status: "+n.status+" and an error in handleAs: transformation of response":"Unable to load "+e.url+" status: "+n.status,e),this.reject(t))}}function b(e){return this.xhr.getResponseHeader(e)}function v(e,t,n){var o=_("native-formdata")&&t&&t.data&&t.data instanceof FormData,i=g.parseArgs(e,g.deepCreate(C,t),o);e=i.url;var r=!(t=i.options).data&&"POST"!==t.method&&"PUT"!==t.method;_("ie")<=10&&(e=e.split("#")[0]);var s,a=g.deferred(i,k,x,T,y,function(){s&&s()}),l=i.xhr=v._create();if(!l)return a.cancel(new p("XHR was not created")),n?a:a.promise;i.getHeader=b,w&&(s=w(l,a,i,t.uploadProgress));var u=void 0===t.data?null:t.data,c=!t.sync,d=t.method;try{l.open(d,e,c,t.user||A,t.password||A),t.withCredentials&&(l.withCredentials=t.withCredentials),_("native-response-type")&&t.handleAs in E&&(l.responseType=E[t.handleAs]);var f=t.headers;if(e=!o&&!r&&"application/x-www-form-urlencoded",f)for(var h in f)"content-type"===h.toLowerCase()?e=f[h]:f[h]&&l.setRequestHeader(h,f[h]);e&&!1!==e&&l.setRequestHeader("Content-Type",e),f&&"X-Requested-With"in f||l.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.notify&&g.notify.emit("send",
1i,a.promise.cancel),l.send(u)}catch(e){a.reject(e)}return m(a),l=null,n?a:a.promise}_.add("native-xhr",function(){return"undefined"!=typeof XMLHttpRequest}),_.add("dojo-force-activex-xhr",function(){return _("activex")&&"file:"===window.location.protocol}),_.add("native-xhr2",function(){if(_("native-xhr")&&!_("dojo-force-activex-xhr")){var e=new XMLHttpRequest;return void 0!==e.addEventListener&&("undefined"==typeof opera||void 0!==e.upload)}}),_.add("native-formdata",function(){return"undefined"!=typeof FormData}),_.add("native-blob",function(){return"undefined"!=typeof Blob}),_.add("native-arraybuffer",function(){return"undefined"!=typeof ArrayBuffer}),_.add("native-response-type",function(){return _("native-xhr")&&void 0!==(new XMLHttpRequest).responseType}),_.add("native-xhr2-blob",function(){if(_("native-response-type")){var e=new XMLHttpRequest;e.open("GET","https://dojotoolkit.org/",!0),e.responseType="blob";var t=e.responseType;return e.abort(),"blob"===t}});var w,x,T,k,E={blob:_("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};_("native-xhr2")?(x=function(e){return!this.isFulfilled()},k=function(e,t){t.xhr.abort()},w=function(e,n,o,t){function i(e){n.handleResponse(o)}function r(e){e=new p("Unable to load "+o.url+" status: "+e.target.status,o),n.handleResponse(o,e)}function s(e,t){o.transferType=e,t.lengthComputable?(o.loaded=t.loaded,o.total=t.total,n.progress(o)):3===o.xhr.readyState&&(o.loaded="loaded"in t?t.loaded:t.position,n.progress(o))}function a(e){return s("download",e)}function l(e){return s("upload",e)}return e.addEventListener("load",i,!1),e.addEventListener("error",r,!1),e.addEventListener("progress",a,!1),t&&e.upload&&e.upload.addEventListener("progress",l,!1),function(){e.removeEventListener("load",i,!1),e.removeEventListener("error",r,!1),e.removeEventListener("progress",a,!1),e.upload.removeEventListener("progress",l,!1),e=null}}):(x=function(e){return e.xhr.readyState},T=function(e){return 4===e.xhr.readyState},k=function(e,t){var n=t.xhr,t=typeof n.abort;"function"!=t&&"object"!=t&&"unknown"!=t||n.abort()});var A,C={data:null,query:null,sync:!1,method:"GET"};if(v._create=function(){throw Error("XMLHTTP not available")},_("native-xhr")&&!_("dojo-force-activex-xhr"))v._create=function(){return new XMLHttpRequest};else if(_("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),v._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP"),v._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(e){}}return g.addCommonMethods(v),v})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(t,n,i,r){function e(e){var t=u[e.options.handleAs];return e.data=t?t(e):e.data||e.text,e}var s,a,o;r.add("activex","undefined"!=typeof ActiveXObject),r.add("dom-parser",function(e){return"DOMParser"in e}),r("activex")&&(s=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],o=function(e){function t(e){try{var t=new ActiveXObject(e);t.async=!1,t.loadXML(o),n=t,a=e}catch(e){return!1}return!0}var n=e.data,o=e.text;return(n=n&&r("dom-qsa2.1")&&!n.querySelectorAll&&r("dom-parser")?(new DOMParser).parseFromString(o,"application/xml"):n)&&n.documentElement||a&&t(a)||i.some(s,t),n});function l(e){return r("native-xhr2-blob")||"blob"!==e.options.handleAs||"undefined"==typeof Blob?e.xhr.response:new Blob([e.xhr.response],{type:e.xhr.getResponseHeader("Content-Type")})}var u={javascript:function(e){return n.eval(e.text||"")},json:function(e){return t.parse(e.text||null)},xml:o,blob:l,arraybuffer:l,document:l};return e.register=function(e,t){u[e]=t},e})},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(r,t,s){var a=function(o){function e(n){o[n]=function(){var t=arguments,e=s(o,function(e){return Array.prototype.unshift.call(t,e),a(r[n].apply(r,t))});if("forEach"!==n||i)return e}}if(!o)return o;var i=!!o.then;return i&&(o=t.delegate(o)),e("forEach"),e("filter"),e("map"),null==o.total&&(
1o.total=s(o,function(e){return e.length})),o};return t.setObject("dojo.store.util.QueryResults",a),a})},"kompakt/MicroStatusWidget":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-geometry dojo/dom-style dojo/dom-class dojo/query".split(" "),function(i,e,r,s,a,t){return e(null,{_statusNode:null,_wipeableNode:null,_wipeBoxNode:null,constructor:function(e){this._statusNode=t(".status",e)[0],this._wipeableNode=t(".wipeable",e)[0],this._wipeBoxNode=t(".wipe-box",e)[0],this._showCartNode=t(".show-cart",e)[0],this._adderNode=t(".adder",e)[0],this._hideWhileSlideNodes=t(".hide-while-slide",e)},run:function(e){var t=this,n=r.position(t._wipeBoxNode),o=r.position(t._wipeableNode);s.set(t._wipeBoxNode,"height",n.h+"px"),s.set(t._wipeableNode,"height",o.h+"px"),setTimeout(function(){},200),setTimeout(function(){t._statusNode.innerHTML=e,i.forEach(t._hideWhileSlideNodes,function(e){s.set(e,"visibility","hidden")}),s.set(t._statusNode,"display","block"),s.set(t._wipeableNode,"height","1px"),t._adderNode&&s.set(t._adderNode,"display","none"),t._showCartNode&&s.set(t._showCartNode,"display","block"),a.remove(t._wipeableNode,"d-flex flex-column flex-1-1-auto"),setTimeout(function(){s.set(t._statusNode,"display","none"),s.set(t._wipeableNode,"height",o.h+"px"),t._adderNode&&s.set(t._adderNode,"display","block"),t._showCartNode&&s.set(t._showCartNode,"display","none"),a.add(t._wipeableNode,"d-flex flex-column flex-1-1-auto"),setTimeout(function(){i.forEach(t._hideWhileSlideNodes,function(e){s.set(e,"visibility","visible")})},1e3)},3e3)},0)}})})},"dojo/domReady":function(){define(["./global","./has"],function(t,e){function o(e){u.push(e),l&&n()}function n(){if(!i){for(i=!0;u.length;)try{u.shift()(r)}catch(e){console.error(e,"in domReady callback",e.stack)}i=!1,o._onQEmpty()}}var i,r=document,s={loaded:1,complete:1},a="string"!=typeof r.readyState,l=!!s[r.readyState],u=[];if(o.load=function(e,t,n){o(n)},o._Q=u,o._onQEmpty=function(){},a&&(r.readyState="loading"),!l){function c(e){e=e||t.event,l||"readystatechange"==e.type&&!s[r.readyState]||(a&&(r.readyState="complete"),l=1,n())}var d,f=[],h=function(e,t){e.addEventListener(t,c,!1),u.push(function(){e.removeEventListener(t,c,!1)})};if(!e("dom-addeventlistener")){var h=function(e,t){e.attachEvent(t="on"+t,c),u.push(function(){e.detachEvent(t,c)})},p=r.createElement("div");try{p.doScroll&&null===t.frameElement&&f.push(function(){try{return p.doScroll("left"),1}catch(e){}})}catch(e){}}h(r,"DOMContentLoaded"),h(t,"load"),"onreadystatechange"in r?h(r,"readystatechange"):a||f.push(function(){return s[r.readyState]}),f.length&&(d=function(){if(!l){for(var e=f.length;e--;)if(f[e]())return void c("poller");setTimeout(d,30)}})()}return o})},"kompakt/digital-release-adders":function(){define(["dojo/on","dojo/query","dojo/topic","kompakt/MicroStatusWidget","dojo/domReady!"],function(e,t,n,o){})},"kompakt/download-cart":function(){define(["dojo/dom-class","dojo/query","dojo/topic","dojo/domReady!"],function(e,t,n){var o,i;o=t(".downloads")[0],i=t(".num-download-items")[0],t=t(".do-empty-downloads-cart")[0],i=i,t&&sendOwl.emptyCart(22855,function(){}),i&&(sendOwl.cartWidget({merchantID:22855,parent:i,cartPhrase:"Downloads",customStyle:!0}),e.add(o,"d-inline"),e.remove(o,"d-none"))})},"kompakt/player":function(){define("soundManager/soundmanager2-nodebug-jsmin dojo/_base/config dojo/query dojo/topic kompakt/player/Controls kompakt/player/PlayPauser kompakt/player/CollapseExpander kompakt/player/Info kompakt/player/ReleaseEntity kompakt/player/SubscriptionManager kompakt/player/Tracklist kompakt/player/Turntable kompakt/player/TurntablePlacer kompakt/player/Playlist dojo/domReady!".split(" "),function(e,d,f,h,p,m,g,_,y,b,v,w,x,T){!function(){soundManager.url=d.soundManagerSwfUrl,soundManager.debugMode=!1,soundManager.consoleOnly=!1,soundManager.useHTML5Audio=!0,soundManager.debugFlash=!1;var e,t,n,o=f(".player-data")[0],i=f(".player-tracklist")[0],r=f(".player-controls")[0],s=f(".player-info")[0],a=f(".player-turntable")[0],l=f(".player-turntable-placer")[0],u=f(".play-pauser"),c=f(".collapse-expander");o&&(e=new T(soundManager),t=new y(o),o=new v(i,t,e,5),a=new w(a,t),l=new x(l,o,a),r=new p(r),s=new _(s),(n=new b).setTurntableSubscriptions(a),n.setTurntablePlacerSubscriptions(l),n.setControlsSubscriptions(r),n.setInfoSubscriptions(s),n.setTracklistSubscriptions(o),n.setPlaylistSubscriptions(e),u.forEach(function(e){e=new m(e),n.setPlayPauserSubscriptions(e)}
1),c.forEach(function(e){e=new g(e),n.setCollapseExpanderSubscriptions(e)}),soundManager.onready(function(e){h.publish("player/start"),t.hasTracks()&&h.publish("player/has-tracks"),t.hasPlayableTracks()&&h.publish("player/has-playable-tracks")}),soundManager.onerror=function(e){},h.subscribe("tracklist/playabletrackcount",function(e){}))}()})},"soundManager/soundmanager2-nodebug-jsmin":function(){define(["dojo","dijit","dojox"],function(e,t,n){!function(Xe,$e){function t(e,t){function i(e){return b.preferFlash&&a&&!b.ignoreFlash&&b.flash[e]!==$e&&b.flash[e]}function n(n){return function(e){var t=this._s;return t&&t._a?n.call(this,e):null}}this.setupOptions={url:e||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1e3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"},this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onerror:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,playbackRate:1,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100},this.flash9Options={onfailure:null,isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null},this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null},this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus","audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1},flac:{type:["audio/flac"],required:!1}},this.movieID="sm2-container",this.id=t||"sm2movie",this.debugID="soundmanager-debug",this.debugURLParam=/([#?&])debug=1/i,this.versionNumber="V2.97a.20170601",this.altURL=this.movieURL=this.version=null,this.enabled=this.swfLoaded=!1,this.oMC=null,this.sounds={},this.soundIDs=[],this.didFlashBlock=this.muted=!1,this.filePattern=null,this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i},this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1},this.sandbox={},this.html5={usingFlash:null},this.flash={},this.ignoreFlash=this.html5Only=!1;var _,r,o,s,y,a,l,b=this,v=null,w=null,d=navigator.userAgent,t=Xe.location.href.toString(),f=document,u=[],h=!1,p=!1,c=!1,m=!1,g=!1,x=null,T=null,k=!1,E=!1,A=0,C=null,O=[],j=null,M=Array.prototype.slice,N=!1,I=0,S=d.match(/(ipad|iphone|ipod)/i),P=d.match(/android/i),L=d.match(/msie|trident/i),D=d.match(/webkit/i),H=d.match(/safari/i)&&!d.match(/chrome/i),F=d.match(/opera/i),R=d.match(/(mobile|pre\/|xoom)/i)||S||P,q=!t.match(/usehtml5audio/i)&&!t.match(/sm2-ignorebadua/i)&&H&&!d.match(/silk/i)&&d.match(/OS\sX\s10_6_([3-7])/i),B=f.hasFocus!==$e?f.hasFocus():null,W=H&&(f.hasFocus===$e||!f.hasFocus()),U=!W,z=/(mp3|mp4|mpa|m4a|m4b)/i,V=f.location?f.location.protocol.match(/http/i):null,X=V?"":"//",$=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4|m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,Q="mpeg4 aac flv mov mp4 m4v f4v m4a m4b mp4v 3gp 3g2".split(" "),K=new RegExp("\\.("+Q.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i,this.useAltURL=!V;var Y=[null,"MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED"];try{var G=Audio!==$e&&(F&&opera!==$e&&opera.version()<10?new Audio(null):new Audio).canPlayType!==$e}catch(e){G=!1}this.hasHTML5=G,this.setup=function(e){var t=!b.url;return e!==$e&&c&&j&&b.ok(),se(e),N||(R?b.setupOptions.ignoreMobileRestrictions&&!b.setupOptions.forceUseGlobalHTML5Audio||(O.push(ve.globalHTML5),N=!0):b.setupOptions.forceUseGlobalHTML5Audio&&(O.push(ve.globalHTML5),N=!0)),!l&&R&&(b.setupOptions.ignoreMobileRestrictions?O.push(ve.ignoreMobile):(b.setupOptions.useHTML5Audio=!0,b.setupOptions.preferFlash=!1,S?b.ignoreFlash=!0:(!P||d.match(/android\s2\.3/i))&&P||(N=!0))),e&&(t&&r&&e.url!==$e&&b.beginDelayedInit(),r||e.url===$e||"complete"!==f.readyState||setTimeout(Ue,1)),l=!0,b},this.supported=this.ok=function(){return j?c&&!m:b.useHTML5Audio&&b.hasHTML5},this.getMovie=function(e){return ne(e)||f[e]||Xe[e]},this.createSound=function(e,t){function n(){return i=xe(i),b.sounds[i.id]=new te(i),b.soundIDs.push(i.id),b.sounds[i.id]}var o=null;if(!c||!b.ok())return!1;var i=oe(e=t!==$e?{id:e,url:t}:e);if(i.url=Me(i.url),i.id===$e&&(i.id=b.setupOptions.idPrefix+I++),Ee(i.id,!0))return b.sounds[i.id];if(_e(i))(o=n())._setup_html5(i);else{if(b.html5Only||b.html5.usingFlash&&i.url&&i.url.match(/data:/i))return n();8<_&&null===i.isMovieStar&&(i.isMovieStar=!!(i.serverURL||i.type&&i.type.match($)||i.url&&i.url.match(K))),i=Te
1(i,void 0),o=n(),8===_?w._createSound(i.id,i.loops||1,i.usePolicyFile):(w._createSound(i.id,i.url,i.usePeakData,i.useWaveformData,i.useEQData,i.isMovieStar,!!i.isMovieStar&&i.bufferTime,i.loops||1,i.serverURL,i.duration||null,i.autoPlay,!0,i.autoLoad,i.usePolicyFile),i.serverURL||(o.connected=!0,i.onconnect&&i.onconnect.apply(o))),i.serverURL||!i.autoLoad&&!i.autoPlay||o.load(i)}return!i.serverURL&&i.autoPlay&&o.play(),o},this.destroySound=function(e,t){if(!Ee(e))return!1;var n,o=b.sounds[e];for(o.stop(),o._iO={},o.unload(),n=0;n<b.soundIDs.length;n++)if(b.soundIDs[n]===e){b.soundIDs.splice(n,1);break}return t||o.destruct(!0),delete b.sounds[e],!0},this.load=function(e,t){return!!Ee(e)&&b.sounds[e].load(t)},this.unload=function(e){return!!Ee(e)&&b.sounds[e].unload()},this.onposition=this.onPosition=function(e,t,n,o){return!!Ee(e)&&b.sounds[e].onposition(t,n,o)},this.clearOnPosition=function(e,t,n){return!!Ee(e)&&b.sounds[e].clearOnPosition(t,n)},this.start=this.play=function(e,t){var n=null,o=t&&!(t instanceof Object);if(!c||!b.ok())return!1;if(Ee(e,o))o&&(t={url:t});else{if(!o)return!1;(t=o?{url:t}:t)&&t.url&&(t.id=e,n=b.createSound(t).play())}return n=null===n?b.sounds[e].play(t):n},this.setPlaybackRate=function(e,t,n){return!!Ee(e)&&b.sounds[e].setPlaybackRate(t,n)},this.setPosition=function(e,t){return!!Ee(e)&&b.sounds[e].setPosition(t)},this.stop=function(e){return!!Ee(e)&&b.sounds[e].stop()},this.stopAll=function(){for(var e in b.sounds)b.sounds.hasOwnProperty(e)&&b.sounds[e].stop()},this.pause=function(e){return!!Ee(e)&&b.sounds[e].pause()},this.pauseAll=function(){for(var e=b.soundIDs.length-1;0<=e;e--)b.sounds[b.soundIDs[e]].pause()},this.resume=function(e){return!!Ee(e)&&b.sounds[e].resume()},this.resumeAll=function(){for(var e=b.soundIDs.length-1;0<=e;e--)b.sounds[b.soundIDs[e]].resume()},this.togglePause=function(e){return!!Ee(e)&&b.sounds[e].togglePause()},this.setPan=function(e,t){return!!Ee(e)&&b.sounds[e].setPan(t)},this.setVolume=function(e,t){if(e===$e||isNaN(e)||t!==$e)return!!Ee(e)&&b.sounds[e].setVolume(t);for(var n=0,o=b.soundIDs.length;n<o;n++)b.sounds[b.soundIDs[n]].setVolume(e);return!1},this.mute=function(e){var t=0;if(e=e instanceof String?null:e)return!!Ee(e)&&b.sounds[e].mute();for(t=b.soundIDs.length-1;0<=t;t--)b.sounds[b.soundIDs[t]].mute();return b.muted=!0},this.muteAll=function(){b.mute()},this.unmute=function(e){if(e=e instanceof String?null:e)return!!Ee(e)&&b.sounds[e].unmute();for(e=b.soundIDs.length-1;0<=e;e--)b.sounds[b.soundIDs[e]].unmute();return!(b.muted=!1)},this.unmuteAll=function(){b.unmute()},this.toggleMute=function(e){return!!Ee(e)&&b.sounds[e].toggleMute()},this.getMemoryUse=function(){var e=0;return e=w&&8!==_?parseInt(w._getMemoryUse(),10):e},this.disable=function(e){var t;if(e===$e&&(e=!1),m)return!1;for(m=!0,t=b.soundIDs.length-1;0<=t;t--)ke(b.sounds[b.soundIDs[t]]);return ke(b),Be(e),ae.remove(Xe,"load",Oe),!0},this.canPlayMIME=function(e){var t;return t=!(t=b.hasHTML5?be({type:e}):t)&&j?e&&b.ok()?!!(8<_&&e.match($)||e.match(b.mimePattern)):null:t},this.canPlayURL=function(e){var t;return t=!(t=b.hasHTML5?be({url:e}):t)&&j?e&&b.ok()?!!e.match(b.filePattern):null:t},this.canPlayLink=function(e){return!(e.type===$e||!e.type||!b.canPlayMIME(e.type))||b.canPlayURL(e.href)},this.getSoundById=function(e,t){return e?b.sounds[e]:null},this.onready=function(e,t){if("function"!=typeof e)throw we("needFunction","onready");return Ae("onready",e,t=t||Xe),Ce(),!0},this.ontimeout=function(e,t){if("function"!=typeof e)throw we("needFunction","ontimeout");return Ae("ontimeout",e,t=t||Xe),Ce({type:"ontimeout"}),!0},this._wD=this._writeDebug=function(e,t){return!0},this._debug=function(){},this.reboot=function(e,t){for(var n=b.soundIDs.length-1;0<=n;n--)b.sounds[b.soundIDs[n]].destruct();if(w)try{L&&(T=w.innerHTML),x=w.parentNode.removeChild(w)}catch(e){}if(T=x=j=w=null,b.enabled=r=c=k=E=h=p=m=N=b.swfLoaded=!1,b.soundIDs=[],b.sounds={},I=0,l=!1,e)u=[];else for(n in u)if(u.hasOwnProperty(n))for(var o=0,i=u[n].length;o<i;o++)u[n][o].fired=!1;return b.html5={usingFlash:null},b.flash={},b.html5Only=!1,b.ignoreFlash=!1,Xe.setTimeout(function(){t||b.beginDelayedInit()},20),b},this.reset=function(){return b.reboot(!0,!0)},this.getMoviePercent=function(){return w&&"PercentLoaded"in w?w.PercentLoaded():null},this.beginDelayedInit=function(){g=!0,Ue(),setTimeout(function(){return!E&&(De(),He(),E=!0)},20),Fe()},this.destruct=function(){b.disable(!0)};function J(){return f.body||f.getElementsByTagName("div")[0]}var Z,ee,te=function(e){var i,s=this,a=!1,o=[],r=0,l=null,u=i=null;this.sID=this.id=e.id,this.url=e.url,this._iO=this.instanceOptions=this.options=oe(e),this.pan=this.options.pan,this.volume=this.options.volume,this.isHTML5=!1,this._a=null;var c=!this.url;this.id3={},this._debug=function(){},this.load=function(e){e!==$e?s._iO=oe(e,s.options):(e=s.options,s._iO=e,l&&l!==s.url&&(s._iO.url=s.url,s.url=null)),s._iO.url||(s._iO.url=s.url),s._iO.url=Me(s._iO.url);var t=s.instanceOptions=s._iO;if(!t.url&&!s.url)return s;if(t.url===s.url&&0!==s.readyState&&2!==s.readyState)return 3===s.readyState&&t.onload&&ie(s,function(){t.onload.apply(s,[!!s.duration])}),s;if(s.loaded=!1,s.readyState=1,s.playState=0,s.id3={},_e(t))s._setup_html5(t)._called_load||(s._html5_canplay=!1,s.url!==t.url&&(s._a.src=t.url,s.setPosition(0)),s._a.autobuffer="auto",s._a.preload="auto",s._a._called_load=!0);else{if(b.html5Only||s._iO.url&&s._iO.url.match(/data:/i))return s;try{s.isHTML5=!1,s._iO=Te(xe(t)),s._iO.autoPlay&&(s._iO.position||s._iO.from)&&(s._iO.autoPlay=!1),t=s._iO,8===_?w._load(s.id,t.url,t.stream,t.autoPlay,t.usePolicyFile):w._load(s.id,t.url,!!t.stream,!!t.autoPlay,t.loops||1,!!t.autoLoad,t.usePolicyFile)}catch(e){Pe({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}return s.url=t.url,s},this.unload=function(){return 0!==s.readyState&&(s.isHTML5?(p(),s._a&&(s._a.pause(),l=ye(s._a))):8===_?w._unload(s.id,"about:blank"):w._unload(s.id),m()),s},this.destruct=function(e){s.isHTML5?(p(),s._a&&(s._a.pause(),ye(s._a),N||t(),s._a._s=null,s._a=null)):(s._iO.onfailure=null,w._destroySound(s.id
1)),e||b.destroySound(s.id,!0)},this.start=this.play=function(e,t){var n,o,i,r=!0;if(t=t===$e||t,e=e||{},s.url&&(s._iO.url=s.url),s._iO=oe(s._iO,s.options),s._iO=oe(e,s._iO),s._iO.url=Me(s._iO.url),s.instanceOptions=s._iO,!s.isHTML5&&s._iO.serverURL&&!s.connected)return s.getAutoPlay()||s.setAutoPlay(!0),s;if(_e(s._iO)&&(s._setup_html5(s._iO),h()),1===s.playState&&!s.paused&&!(r=s._iO.multiShot))return s.isHTML5&&s.setPosition(s._iO.position),s;if(e.url&&e.url!==s.url&&(s.readyState||s.isHTML5||8!==_||!c?s.load(s._iO):c=!1),!s.loaded)if(0===s.readyState){if(s.isHTML5||b.html5Only){if(!s.isHTML5)return s;s.load(s._iO)}else s._iO.autoPlay=!0,s.load(s._iO);s.instanceOptions=s._iO}else if(2===s.readyState)return s;return!s.isHTML5&&9===_&&0<s.position&&s.position===s.duration&&(e.position=0),s.paused&&0<=s.position&&(!s._iO.serverURL||0<s.position)?s.resume():(s._iO=oe(e,s._iO),(!s.isHTML5&&null!==s._iO.position&&0<s._iO.position||null!==s._iO.from&&0<s._iO.from||null!==s._iO.to)&&0===s.instanceCount&&0===s.playState&&!s._iO.serverURL&&(r=function(){s._iO=oe(e,s._iO),s.play(s._iO)},s.isHTML5&&!s._html5_canplay?s.load({_oncanplay:r}):s.isHTML5||s.loaded||s.readyState&&2===s.readyState||s.load({onload:r}),s._iO=d()),(!s.instanceCount||s._iO.multiShotEvents||s.isHTML5&&s._iO.multiShot&&!N||!s.isHTML5&&8<_&&!s.getAutoPlay())&&s.instanceCount++,s._iO.onposition&&0===s.playState&&f(s),s.playState=1,s.paused=!1,s.position=s._iO.position===$e||isNaN(s._iO.position)?0:s._iO.position,s.isHTML5||(s._iO=Te(xe(s._iO))),s._iO.onplay&&t&&(s._iO.onplay.apply(s),a=!0),s.setVolume(s._iO.volume,!0),s.setPan(s._iO.pan,!0),1!==s._iO.playbackRate&&s.setPlaybackRate(s._iO.playbackRate),s.isHTML5?s.instanceCount<2?(h(),r=s._setup_html5(),s.setPosition(s._iO.position),r.play()):(n=new Audio(s._iO.url),o=function(){ae.remove(n,"ended",o),s._onfinish(s),ye(n),n=null},i=function(){ae.remove(n,"canplay",i);try{n.currentTime=s._iO.position/1e3}catch(e){}n.play()},ae.add(n,"ended",o),s._iO.volume!==$e&&(n.volume=Math.max(0,Math.min(1,s._iO.volume/100))),s.muted&&(n.muted=!0),s._iO.position?ae.add(n,"canplay",i):n.play()):(r=w._start(s.id,s._iO.loops||1,9===_?s.position:s.position/1e3,s._iO.multiShot||!1),9!==_||r||s._iO.onplayerror&&s._iO.onplayerror.apply(s))),s},this.stop=function(e){var t=s._iO;return 1===s.playState&&(s._onbufferchange(0),s._resetOnPosition(0),s.paused=!1,s.isHTML5||(s.playState=0),n(),t.to&&s.clearOnPosition(t.to),s.isHTML5?s._a&&(e=s.position,s.setPosition(0),s.position=e,s._a.pause(),s.playState=0,s._onTimer(),p()):(w._stop(s.id,e),t.serverURL&&s.unload()),s.instanceCount=0,s._iO={},t.onstop&&t.onstop.apply(s)),s},this.setAutoPlay=function(e){s._iO.autoPlay=e,s.isHTML5||(w._setAutoPlay(s.id,e),e&&(s.instanceCount||1!==s.readyState||s.instanceCount++))},this.getAutoPlay=function(){return s._iO.autoPlay},this.setPlaybackRate=function(e){if(e=Math.max(.5,Math.min(4,e)),s.isHTML5)try{s._iO.playbackRate=e,s._a.playbackRate=e}catch(e){}return s},this.setPosition=function(e){e===$e&&(e=0);var t=s.isHTML5?Math.max(e,0):Math.min(s.duration||s._iO.duration,Math.max(e,0));if(s.position=t,e=s.position/1e3,s._resetOnPosition(s.position),s._iO.position=t,s.isHTML5){if(s._a){if(s._html5_canplay){if(s._a.currentTime.toFixed(3)!==e.toFixed(3))try{s._a.currentTime=e,0!==s.playState&&!s.paused||s._a.pause()}catch(e){}}else if(e)return s;s.paused&&s._onTimer(!0)}}else e=9===_?s.position:e,s.readyState&&2!==s.readyState&&w._setPosition(s.id,e,s.paused||!s.playState,s._iO.multiShot);return s},this.pause=function(e){return s.paused||0===s.playState&&1!==s.readyState||(s.paused=!0,s.isHTML5?(s._setup_html5().pause(),p()):!e&&e!==$e||w._pause(s.id,s._iO.multiShot),s._iO.onpause&&s._iO.onpause.apply(s)),s},this.resume=function(){var e=s._iO;return s.paused&&(s.paused=!1,s.playState=1,s.isHTML5?(s._setup_html5().play(),h()):(e.isMovieStar&&!e.serverURL&&s.setPosition(s.position),w._pause(s.id,e.multiShot)),!a&&e.onplay?(e.onplay.apply(s),a=!0):e.onresume&&e.onresume.apply(s)),s},this.togglePause=function(){return 0===s.playState?s.play({position:9!==_||s.isHTML5?s.position/1e3:s.position}):s.paused?s.resume():s.pause(),s},this.setPan=function(e,t){return e===$e&&(e=0),t===$e&&(t=!1),s.isHTML5||w._setPan(s.id,e),s._iO.pan=e,t||(s.pan=e,s.options.pan=e),s},this.setVolume=function(e,t){return e===$e&&(e=100),t===$e&&(t=!1),s.isHTML5?s._a&&(b.muted&&!s.muted&&(s.muted=!0,s._a.muted=!0),s._a.volume=Math.max(0,Math.min(1,e/100))):w._setVolume(s.id,b.muted&&!s.muted||s.muted?0:e),s._iO.volume=e,t||(s.volume=e,s.options.volume=e),s},this.mute=function(){return s.muted=!0,s.isHTML5?s._a&&(s._a.muted=!0):w._setVolume(s.id,0),s},this.unmute=function(){s.muted=!1;var e=s._iO.volume!==$e;return s.isHTML5?s._a&&(s._a.muted=!1):w._setVolume(s.id,(e?s._iO:s.options).volume),s},this.toggleMute=function(){return s.muted?s.unmute():s.mute()},this.onposition=this.onPosition=function(e,t,n){return o.push({position:parseInt(e,10),method:t,scope:n!==$e?n:s,fired:!1}),s},this.clearOnPosition=function(e,t){var n;if(e=parseInt(e,10),!isNaN(e))for(n=0;n<o.length;n++)e!==o[n].position||t&&t!==o[n].method||(o[n].fired&&r--,o.splice(n,1))},this._processOnPosition=function(){var e=o.length;if(!e||!s.playState||e<=r)return!1;for(--e;0<=e;e--){var t=o[e];!t.fired&&s.position>=t.position&&(t.fired=!0,r++,t.method.apply(t.scope,[t.position]))}return!0},this._resetOnPosition=function(e){var t=o.length;if(!t)return!1;for(--t;0<=t;t--){var n=o[t];n.fired&&e<=n.position&&(n.fired=!1,r--)}return!0};var d=function(){var e=s._iO,t=e.from,n=e.to,o=function(){s.clearOnPosition(n,o),s.stop()};
1return null===t||isNaN(t)||(e.position=t,e.multiShot=!1,null===n||isNaN(n)||s.onPosition(n,o)),e},f=function(){var e,t=s._iO.onposition;if(t)for(e in t)t.hasOwnProperty(e)&&s.onPosition(parseInt(e,10),t[e])},n=function(){var e,t=s._iO.onposition;if(t)for(e in t)t.hasOwnProperty(e)&&s.clearOnPosition(parseInt(e,10))},h=function(){s.isHTML5&&Ne(s)},p=function(){s.isHTML5&&Ie(s)},m=function(e){e||(o=[],r=0),a=!1,s._hasTimer=null,s._a=null,s._html5_canplay=!1,s.bytesLoaded=null,s.bytesTotal=null,s.duration=s._iO&&s._iO.duration?s._iO.duration:null,s.durationEstimate=null,s.buffered=[],s.eqData=[],s.eqData.left=[],s.eqData.right=[],s.failures=0,s.isBuffering=!1,s.instanceOptions={},s.instanceCount=0,s.loaded=!1,s.metadata={},s.readyState=0,s.muted=!1,s.paused=!1,s.peakData={left:0,right:0},s.waveformData={left:[],right:[]},s.playState=0,s.position=null,s.id3={}};m(),this._onTimer=function(e){var t,n=!1,o={};return(s._hasTimer||e)&&s._a&&(e||(0<s.playState||1===s.readyState)&&!s.paused)&&((t=s._get_html5_duration())!==i&&(i=t,s.duration=t,n=!0),s.durationEstimate=s.duration,(t=1e3*s._a.currentTime||0)!==u&&(u=t,n=!0),(n||e)&&s._whileplaying(t,o,o,o,o)),n},this._get_html5_duration=function(){var e=s._iO;return(e=s._a&&s._a.duration?1e3*s._a.duration:e&&e.duration?e.duration:null)&&!isNaN(e)&&1/0!==e?e:null},this._apply_loop=function(e,t){e.loop=1<t?"loop":""},this._setup_html5=function(e){e=oe(s._iO,e);var t,n=N?v:s._a,o=decodeURI(e.url);if(N?o===decodeURI(y)&&(t=!0):o===decodeURI(l)&&(t=!0),n){if(n._s)if(N)n._s&&n._s.playState&&!t&&n._s.stop();else if(!N&&o===decodeURI(l))return s._apply_loop(n,e.loops),n;t||(l&&m(!1),n.src=e.url,y=l=s.url=e.url,n._called_load=!1)}else e.autoLoad||e.autoPlay?(s._a=new Audio(e.url),s._a.load()):s._a=F&&opera.version()<10?new Audio(null):new Audio,(n=s._a)._called_load=!1,N&&(v=n);return s.isHTML5=!0,(s._a=n)._s=s,g(),s._apply_loop(n,e.loops),e.autoLoad||e.autoPlay?s.load():(n.autobuffer=!1,n.preload="auto"),n};var g=function(){if(s._a._added_events)return!1;for(var e in s._a._added_events=!0,ge)ge.hasOwnProperty(e)&&s._a&&s._a.addEventListener(e,ge[e],!1);return!0},t=function(){for(var e in s._a._added_events=!1,ge)ge.hasOwnProperty(e)&&s._a&&s._a.removeEventListener(e,ge[e],!1)};this._onload=function(e){var t=!!e||!s.isHTML5&&8===_&&s.duration;return s.loaded=t,s.readyState=t?3:2,s._onbufferchange(0),t||s.isHTML5||s._onerror(),s._iO.onload&&ie(s,function(){s._iO.onload.apply(s,[t])}),!0},this._onerror=function(e,t){s._iO.onerror&&ie(s,function(){s._iO.onerror.apply(s,[e,t])})},this._onbufferchange=function(e){return!(0===s.playState||e&&s.isBuffering||!e&&!s.isBuffering)&&(s.isBuffering=1===e,s._iO.onbufferchange&&s._iO.onbufferchange.apply(s,[e]),!0)},this._onsuspend=function(){return s._iO.onsuspend&&s._iO.onsuspend.apply(s),!0},this._onfailure=function(e,t,n){s.failures++,s._iO.onfailure&&1===s.failures&&s._iO.onfailure(e,t,n)},this._onwarning=function(e,t,n){s._iO.onwarning&&s._iO.onwarning(e,t,n)},this._onfinish=function(){var e=s._iO.onfinish;s._onbufferchange(0),s._resetOnPosition(0),s.instanceCount&&(s.instanceCount--,s.instanceCount||(n(),s.playState=0,s.paused=!1,s.instanceCount=0,s.instanceOptions={},s._iO={},p(),s.isHTML5&&(s.position=0)),s.instanceCount&&!s._iO.multiShotEvents||!e||ie(s,function(){e.apply(s)}))},this._whileloading=function(e,t,n,o){var i=s._iO;s.bytesLoaded=e,s.bytesTotal=t,s.duration=Math.floor(n),s.bufferLength=o,s.durationEstimate=s.isHTML5||i.isMovieStar?s.duration:i.duration?(s.duration>i.duration?s:i).duration:parseInt(s.bytesTotal/s.bytesLoaded*s.duration,10),s.isHTML5||(s.buffered=[{start:0,end:s.duration}]),(3!==s.readyState||s.isHTML5)&&i.whileloading&&i.whileloading.apply(s)},this._whileplaying=function(e,t,n,o,i){var r=s._iO;return!isNaN(e)&&null!==e&&(s.position=Math.max(0,e),s._processOnPosition(),!s.isHTML5&&8<_&&(r.usePeakData&&t!==$e&&t&&(s.peakData={left:t.leftPeak,right:t.rightPeak}),r.useWaveformData&&n!==$e&&n&&(s.waveformData={left:n.split(","),right:o.split(",")}),r.useEQData&&i!==$e&&i&&i.leftEQ&&(e=i.leftEQ.split(","),s.eqData=e,s.eqData.left
1=e,i.rightEQ!==$e&&i.rightEQ&&(s.eqData.right=i.rightEQ.split(",")))),1===s.playState&&(s.isHTML5||8!==_||s.position||!s.isBuffering||s._onbufferchange(0),r.whileplaying&&r.whileplaying.apply(s)),!0)},this._oncaptiondata=function(e){s.captiondata=e,s._iO.oncaptiondata&&s._iO.oncaptiondata.apply(s,[e])},this._onmetadata=function(e,t){for(var n={},o=0,i=e.length;o<i;o++)n[e[o]]=t[o];s.metadata=n,s._iO.onmetadata&&s._iO.onmetadata.call(s,s.metadata)},this._onid3=function(e,t){for(var n=[],o=0,i=e.length;o<i;o++)n[e[o]]=t[o];s.id3=oe(s.id3,n),s._iO.onid3&&s._iO.onid3.apply(s)},this._onconnect=function(e){(s.connected=e=1===e)&&(s.failures=0,Ee(s.id)&&(s.getAutoPlay()?s.play($e,s.getAutoPlay()):s._iO.autoLoad&&s.load()),s._iO.onconnect&&s._iO.onconnect.apply(s,[e]))},this._ondataerror=function(e){0<s.playState&&s._iO.ondataerror&&s._iO.ondataerror.apply(s)}},ne=function(e){return f.getElementById(e)},oe=function(e,t){var n,o=e||{},i=t===$e?b.defaultOptions:t;for(n in i)i.hasOwnProperty(n)&&o[n]===$e&&(o[n]="object"!=typeof i[n]||null===i[n]?i[n]:oe(o[n],i[n]));return o},ie=function(e,t){e.isHTML5||8!==_?t():Xe.setTimeout(t,0)},re={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1},se=function(e,t){var n,o=!0,i=t!==$e,r=b.setupOptions;for(n in e)if(e.hasOwnProperty(n))if("object"!=typeof e[n]||null===e[n]||e[n]instanceof Array||e[n]instanceof RegExp)i&&re[t]!==$e?b[t][n]=e[n]:r[n]!==$e?(b.setupOptions[n]=e[n],b[n]=e[n]):re[n]===$e?o=!1:b[n]instanceof Function?b[n].apply(b,e[n]instanceof Array?e[n]:[e[n]]):b[n]=e[n];else{if(re[n]!==$e)return se(e[n],n);o=!1}return o},ae=(Z=Xe.attachEvent,ee={add:Z?"attachEvent":"addEventListener",remove:Z?"detachEvent":"removeEventListener"},{add:function(){ue(le(arguments),"add")},remove:function(){ue(le(arguments),"remove")}});function le(e){var t=(e=M.call(e)).length;return Z?(e[1]="on"+e[1],3<t&&e.pop()):3===t&&e.push(!1),e}function ue(e,t){var n=e.shift(),t=[ee[t]];Z?n[t](e[0],e[1]):n[t].apply(n,e)}function ce(){return!1}function de(e){e===$e&&(e=!1),(m||e)&&b.disable(e)}function fe(){8!==(_=parseInt(b.flashVersion,10))&&9!==_&&(b.flashVersion=_=8);var e=b.debugMode||b.debugFlash?"_debug.swf":".swf";b.useHTML5Audio&&!b.html5Only&&b.audioFormats.mp4.required&&_<9&&(b.flashVersion=_=9),b.version=b.versionNumber+(b.html5Only?" (HTML5-only mode)":9===_?" (AS3/Flash 9)":" (AS2/Flash 8)"),8<_?(b.defaultOptions=oe(b.defaultOptions,b.flash9Options),b.features.buffering=!0,b.defaultOptions=oe(b.defaultOptions,b.movieStarOptions),b.filePatterns.flash9=new RegExp("\\.(mp3|"+Q.join("|")+")(\\?.*)?$","i"),b.features.movieStar=!0):b.features.movieStar=!1,b.filePattern=b.filePatterns[8!==_?"flash9":"flash8"],b.movieURL=(8===_?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",e),b.features.peakData=b.features.waveformData=b.features.eqData=8<_}function he(){var e=[];return b.debugMode&&e.push("sm2_debug"),b.debugFlash&&e.push("flash_debug"),b.useHighPerformance&&e.push("high_performance"),e.join(" ")}function pe(){we("fbHandler");var e=b.getMoviePercent(),t={type:"FLASHBLOCK"};b.html5Only||(b.ok()?b.oMC&&(b.oMC.className=[he(),"movieContainer","swf_loaded"+(b.didFlashBlock?" swf_unblocked":"")].join(" ")):(j&&(b.oMC.className=he()+" movieContainer "+(null===e?"swf_timedout":"swf_error")),b.didFlashBlock=!0,Ce({type:"ontimeout",ignoreInit:!0,error:t}),Pe(t)))}function me(){if(a!==$e)return a;var e=!1,t=navigator,n=Xe.ActiveXObject;try{var o=t.plugins}catch(e){o=void 0}if(o&&o.length)(t=t.mimeTypes)&&t["application/x-shockwave-flash"]&&t["application/x-shockwave-flash"].enabledPlugin&&t["application/x-shockwave-flash"].enabledPlugin.description&&(e=!0);else if(n!==$e&&!d.match(/MSAppHost/i)){try{var i=new n("ShockwaveFlash.ShockwaveFlash")}catch(e){i=null}e=!!i}return a=e}var ge={abort:n(function(){}),canplay:n(function(){var e=this._s;if(!e._html5_canplay){e._html5_canplay=!0,e._onbufferchange(0);var t=e._iO.position===$e||isNaN(e._iO.position)?null:e._iO.position/1e3;if(this.currentTime!==t)try{this.currentTime=t}catch(e){}e._iO._oncanplay&&e._iO._oncanplay()}}),canplaythrough:n(function(){var e=this._s;e.loaded||(e._onbufferchange(0),e._whileloading(e.bytesLoaded,e.bytesTotal,e._get_html5_duration()),e._onload(!0))}),durationchange:n(function(){var e=this._s,t=e._get_html5_duration();isNaN(t)||t===e.duration||(e.durationEstimate=e.duration=t)}),ended:n(function(){this._s._onfinish()}),error:n(function(){var e=Y[this.error.code]||null;
1this._s._onload(!1),this._s._onerror(this.error.code,e)}),loadeddata:n(function(){var e=this._s;e._loaded||H||(e.duration=e._get_html5_duration())}),loadedmetadata:n(function(){}),loadstart:n(function(){this._s._onbufferchange(1)}),play:n(function(){this._s._onbufferchange(0)}),playing:n(function(){this._s._onbufferchange(0)}),progress:n(function(e){var t,n=this._s,o=0,o=e.target.buffered,i=e.loaded||0,r=e.total||1;if(n.buffered=[],o&&o.length){for(i=0,t=o.length;i<t;i++)n.buffered.push({start:1e3*o.start(i),end:1e3*o.end(i)});o=1e3*(o.end(0)-o.start(0)),i=Math.min(1,o/(1e3*e.target.duration))}isNaN(i)||(n._whileloading(i,r,n._get_html5_duration()),i&&r&&i===r&&ge.canplaythrough.call(this,e))}),ratechange:n(function(){}),suspend:n(function(e){var t=this._s;ge.progress.call(this,e),t._onsuspend()}),stalled:n(function(){}),timeupdate:n(function(){this._s._onTimer()}),waiting:n(function(){this._s._onbufferchange(1)})},_e=function(e){return!(!e||!(e.type||e.url||e.serverURL))&&(!(e.serverURL||e.type&&i(e.type))&&(e.type?be({type:e.type}):be({url:e.url})||b.html5Only||e.url.match(/data:/i)))},ye=function(e){var t;return e&&(t=!H&&b.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":"about:blank",e.src=t,e._called_unload!==$e&&(e._called_load=!1)),N&&(y=null),t},be=function(e){if(!b.useHTML5Audio||!b.hasHTML5)return!1;var t=e.url||null;e=e.type||null;var n,o=b.audioFormats;if(e&&b.html5[e]!==$e)return b.html5[e]&&!i(e);if(!s){for(n in s=[],o)o.hasOwnProperty(n)&&(s.push(n),o[n].related&&(s=s.concat(o[n].related)));s=new RegExp("\\.("+s.join("|")+")(\\?.*)?$","i")}return(n=t?t.toLowerCase().match(s):null)&&n.length?n=n[1]:e&&(n=(-1!==(t=e.indexOf(";"))?e.substr(0,t):e).substr(6)),t=n&&b.html5[n]!==$e?b.html5[n]&&!i(n):(t=b.html5.canPlayType({type:e="audio/"+n}),(b.html5[n]=t)&&b.html5[e]&&!i(e))},ve={},we=function(){},xe=function(e){return 8===_&&1<e.loops&&e.stream&&(e.stream=!1),e},Te=function(e,t){return e&&!e.usePolicyFile&&(e.onid3||e.usePeakData||e.useWaveformData||e.useEQData)&&(e.usePolicyFile=!0),e},ke=function(e){for(var t in e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=ce)},Ee=this.getSoundById,Ae=function(e,t,n){u[e]===$e&&(u[e]=[]),u[e].push({method:t,scope:n||null,fired:!1})},Ce=function(e){if(e=e||{type:b.ok()?"onready":"ontimeout"},!c&&e&&!e.ignoreInit||"ontimeout"===e.type&&(b.ok()||m&&!e.ignoreInit))return!1;var t,n={success:e&&e.ignoreInit?b.ok():!m},o=e&&e.type&&u[e.type]||[],i=[],n=[n],r=j&&!b.ok();for(e.error&&(n[0].error=e.error),e=0,t=o.length;e<t;e++)!0!==o[e].fired&&i.push(o[e]);if(i.length)for(e=0,t=i.length;e<t;e++)i[e].scope?i[e].method.apply(i[e].scope,n):i[e].method.apply(this,n),r||(i[e].fired=!0);return!0},Oe=function(){Xe.setTimeout(function(){b.useFlashBlock&&pe(),Ce(),"function"==typeof b.onload&&b.onload.apply(Xe),b.waitForWindowLoad&&ae.add(Xe,"load",Oe)},1)},je=function(){var e,t,n=b.audioFormats;if(S&&d.match(/os (1|2|3_0|3_1)\s/i)?(b.hasHTML5=!1,b.html5Only=!0,b.oMC&&(b.oMC.style.display="none")):!b.useHTML5Audio||b.html5&&b.html5.canPlayType||(b.hasHTML5=!1),b.useHTML5Audio&&b.hasHTML5)for(t in o=!0,n)n.hasOwnProperty(t)&&n[t].required&&(b.html5.canPlayType(n[t].type)?b.preferFlash&&(b.flash[t]||b.flash[n[t].type])&&(e=!0):(o=!1,e=!0));return b.ignoreFlash&&(o=!(e=!1)),b.html5Only=b.hasHTML5&&b.useHTML5Audio&&!e,!b.html5Only},Me=function(e){var t=0;if(e instanceof Array){for(var n=0,o=e.length;n<o;n++)if(e[n]instanceof Object){if(b.canPlayMIME(e[n].type)){t=n;break}}else if(b.canPlayURL(e[n])){t=n;break}e[t].url&&(e[t]=e[t].url),e=e[t]}return e},Ne=function(e){e._hasTimer||(e._hasTimer=!0,!R&&b.html5PollingInterval&&(null===C&&0===A&&(C=setInterval(Se,b.html5PollingInterval)),A++))},Ie=function(e){e._hasTimer&&(e._hasTimer=!1,!R&&b.html5PollingInterval&&A--)},Se=function(){var e;if(null===C||A)for(e=b.soundIDs.length-1;0<=e;e--)b.sounds[b.soundIDs[e]].isHTML5&&b.sounds[b.soundIDs[e]]._hasTimer&&b.sounds[b.soundIDs[e]]._onTimer();else clearInterval(C),C=null},Pe=function(e){e=e!==$e?e:{},"function"==typeof b.onerror&&b.onerror.apply(Xe,[{type:e.type!==$e?e.type:null}]),e.fatal!==$e&&e.fatal&&b.disable()};this._setSandboxType=function(e){}
1,this._externalInterfaceOK=function(e){b.swfLoaded||(b.swfLoaded=!0,W=!1,q&&function(){if(q&&me()){var e,t,n=b.audioFormats;for(t in n)if(n.hasOwnProperty(t)&&("mp3"===t||"mp4"===t)&&(b.html5[t]=!1,n[t]&&n[t].related))for(e=n[t].related.length-1;0<=e;e--)b.html5[n[t].related[e]]=!1}}(),setTimeout(We,L?100:1))};function Le(){Xe.setTimeout(function(){b.setup({preferFlash:!1}).reboot(),b.didFlashBlock=!0,b.beginDelayedInit()},1)}var De=function(e,t){function n(e,t){return'<param name="'+e+'" value="'+t+'" />'}if(h&&p)return!1;if(b.html5Only)return fe(),b.oMC=ne(b.movieID),We(),!(p=h=!0);var o,i=t||b.url,r=b.altURL||i,s=J(),a=he(),l=null;if(l=(l=f.getElementsByTagName("html")[0])&&l.dir&&l.dir.match(/rtl/i),e=e===$e?b.id:e,fe(),b.url=function(e){if(e)if(e.match(/\.swf(\?.*)?$/i)){if(e.substr(e.toLowerCase().lastIndexOf(".swf?")+4))return e}else e.lastIndexOf("/")!==e.length-1&&(e+="/");return e=(e&&-1!==e.lastIndexOf("/")?e.substr(0,e.lastIndexOf("/")+1):"./")+b.movieURL,b.noSWFCache&&(e+="?ts="+(new Date).getTime()),e}(V?i:r),t=b.url,b.wmode=!b.wmode&&b.useHighPerformance?"transparent":b.wmode,null!==b.wmode&&(d.match(/msie 8/i)||!L&&!b.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(O.push(ve.spcWmode),b.wmode=null),s={name:e,id:e,src:t,quality:"high",allowScriptAccess:b.allowScriptAccess,bgcolor:b.bgColor,pluginspage:X+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:b.wmode,hasPriority:"true"},b.debugFlash&&(s.FlashVars="debug=1"),b.wmode||delete s.wmode,L)var i=f.createElement("div"),u=['<object id="'+e+'" data="'+t+'" type="'+s.type+'" title="'+s.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',n("movie",t),n("AllowScriptAccess",b.allowScriptAccess),n("quality",s.quality),b.wmode?n("wmode",b.wmode):"",n("bgcolor",b.bgColor),n("hasPriority","true"),b.debugFlash?n("FlashVars",s.FlashVars):"","</object>"].join("");else for(o in i=f.createElement("embed"),s)s.hasOwnProperty(o)&&i.setAttribute(o,s[o]);if(a=he(),s=J())if(b.oMC=ne(b.movieID)||f.createElement("div"),b.oMC.id){var c=b.oMC.className;b.oMC.className=(c?c+" ":"movieContainer")+(a?" "+a:""),b.oMC.appendChild(i),L&&((o=b.oMC.appendChild(f.createElement("div"))).className="sm2-object-box",o.innerHTML=u),p=!0}else{if(b.oMC.id=b.movieID,b.oMC.className="movieContainer "+a,o=a=null,b.useFlashBlock||(b.useHighPerformance?a={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(a={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},l&&(a.left=Math.abs(parseInt(a.left,10))+"px"))),D&&(b.oMC.style.zIndex=1e4),!b.debugFlash)for(c in a)a.hasOwnProperty(c)&&(b.oMC.style[c]=a[c]);try{L||b.oMC.appendChild(i),s.appendChild(b.oMC),L&&((o=b.oMC.appendChild(f.createElement("div"))).className="sm2-object-box",o.innerHTML=u),p=!0}catch(e){throw Error(we("domError")+" \n"+e.toString())}}return h=!0},He=function(){return b.html5Only?(De(),!1):!(w||!b.url)&&((w=b.getMovie(b.id))||(x?(L?b.oMC.innerHTML=T:b.oMC.appendChild(x),h=!(x=null)):De(b.id,b.url),w=b.getMovie(b.id)),"function"==typeof b.oninitmovie&&setTimeout(b.oninitmovie,1),!0)},Fe=function(){setTimeout(Re,1e3)},Re=function(){var e,t=!1;b.url&&!k&&(k=!0,ae.remove(Xe,"load",Fe),a&&W&&!B||(c||0<(e=b.getMoviePercent())&&e<100&&(t=!0),setTimeout(function(){e=b.getMoviePercent(),t?(k=!1,Xe.setTimeout(Fe,1)):!c&&U&&(null===e?b.useFlashBlock||0===b.flashLoadTimeout?b.useFlashBlock&&pe():!b.useFlashBlock&&o?Le():Ce({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}}):0!==b.flashLoadTimeout&&(!b.useFlashBlock&&o?Le():de(!0)))},b.flashLoadTimeout)))},qe=function(){return B||!W||(B=U=!0,k=!1,Fe()),ae.remove(Xe,"focus",qe),!0},Be=function(e){if(c)return!1;if(b.html5Only)return c=!0,Oe(),!0;var t=!0;b.useFlashBlock&&b.flashLoadTimeout&&!b.getMoviePercent()||(c=!0);var n={type:!a&&j?"NO_FLASH":"INIT_TIMEOUT"};return(m||e)&&(b.useFlashBlock&&b.oMC&&(b.oMC.className=he()+" "+(null===b.getMoviePercent()?"swf_timedout":"swf_error")),Ce({type:"ontimeout",error:n,ignoreInit:!0}),Pe(n),t=!1),m||(b.waitForWindowLoad&&!g?ae.add(Xe,"load",Oe):Oe()),t},We=function(){if(c)return!1;if(b.html5Only)return c||(ae.remove(Xe,"load",b.beginDelayedInit),b.enabled=!0,Be()),!0;He();try{w._externalInterfaceTest(!1),e=!0,t=b.flashPollingInterval||(b.useHighPerformance?10:50),w&&w._setPolling(e,t),b.debugMode||w._disableDebug(),b.enabled=!0,b.html5Only||ae.add(Xe,"unload",ce)}catch(e){return Pe({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),de(!0),Be(),!1}var e,t;return Be(),ae.remove(Xe,"load",b.beginDelayedInit),!0},Ue=function(){return!r&&(r=!0,function(){var e,t=b.setupOptions;for(e in t)t.hasOwnProperty(e)&&(b[e]===$e?b[e]=t[e]:b[e]!==t[e]&&(b.setupOptions[e]=b[e]))}(),!a&&b.hasHTML5&&b.setup({useHTML5Audio:!0,preferFlash:!1}),function(){function e(e){var t,n=t=!1;if(!i||"function"!=typeof i.canPlayType)return t;if(e instanceof Array){for(o=0,t=e.length;o<t;o++)(b.html5[e[o]]||i.canPlayType(e[o]).match(b.html5Test))&&(b.html5[e[o]]=n=!0,b.flash[e[o]]=!!e[o].match(z));t=n}else t=!(!(e=!(!i||"function"!=typeof i.canPlayType)&&i.canPlayType(e))||!e.match(b.html5Test));return t}if(!b.useHTML5Audio||!b.hasHTML5)return j=b.html5.usingFlash=!0;var t,n,o,i=Audio!==$e?F&&opera.version()<10?new Audio(null):new Audio:null,r={},s=b.audioFormats;for(t in s)if(s.hasOwnProperty(t)&&(n="audio/"+t,r[t]=e(s[t].type),r[n]=r[t],t.match(z)?(b.flash[t]=!0,b.flash[n]=!0):(b.flash[t]=!1,b.flash[n]=!1),s[t]&&s[t].related))for(o=s[t].related.length-1;0<=o;o--)r["audio/"+s[t].related[o]]=r[t],b.html5[s[t].related[o]]=r[t],b.flash[s[t].related[o]]=r[t];r.canPlayType=i?e:null,b.html5=oe(b.html5,r),b.html5.usingFlash=je(),j=b.html5.usingFlash}(),!a&&j&&(O.push(ve.needFlash),b.setup({flashLoadTimeout:1})),f.removeEventListener&&f.removeEventListener("DOMContentLoaded",Ue,!1),He(),!0)},ze=function(){return"complete"===f.readyState&&(Ue(),f.detachEvent("onreadystatechange",ze)),!0},Ve=function(){g=!0,Ue(),ae.remove(Xe,"load",Ve)};me(),ae.add(Xe,"focus",qe),ae.add(Xe,"load",Fe),ae.add(Xe,"load",Ve),f.addEventListener?f.addEventListener("DOMContentLoaded",Ue,!1):f.attachEvent?f.attachEvent("onreadystatechange",ze):Pe({type:"NO_DOM2_EVENTS",fatal:!0})}if(!Xe||!Xe.document)throw Error("SoundManager requires a browser with window and document objects.");var e=null;Xe.SM2_DEFER!==$e&&SM2_DEFER||(e=new t),"object"==typeof module&&module&&"object"==typeof module.exports?(module.exports.SoundManager=t,module.exports.soundManager=e):"function"==typeof define&&define.amd&&define(function(){return{constructor:t,getInstance:function(e){return!Xe.soundManager&&e instanceof Function&&((e=e(t))instanceof t&&(Xe.s
1oundManager=e)),Xe.soundManager}}}),Xe.SoundManager=t,Xe.soundManager=e}(window)})},"dojo/main":function(){define("./_base/kernel ./has require ./sniff ./_base/lang ./_base/array ./_base/config ./ready ./_base/declare ./_base/connect ./_base/Deferred ./_base/json ./_base/Color ./has!dojo-firebug?./_firebug/firebug ./_base/browser require".split(" "),function(e,t,n,o,i,r,s,a){s.isDebug&&n(["./_firebug/firebug"]);var l=s.require;return l&&(l=r.map(i.isArray(l)?l:[l],function(e){return e.replace(/\./g,"/")}),e.isAsync?n(l):a(1,function(){n(l)})),e})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(i,e,t,n,r){var o=0,s=[],a=0;e=function(){o=1,i._postLoad=i.config.afterOnLoad=!0,l()};var l=function(){if(!a){for(a=1;o&&(!n||0==n._Q.length)&&(!t.idle||t.idle())&&s.length;){var e=s.shift();try{e()}catch(e){if(e.info=e.message,!t.signal)throw e;t.signal("error",e)}}a=0}};t.on&&t.on("idle",l),n&&(n._onQEmpty=l);var u=i.ready=i.addOnLoad=function(e,t,n){var o=r._toArray(arguments);for("number"!=typeof e?(n=t,t=e,e=1e3):o.shift(),(n=n?r.hitch.apply(i,o):function(){t()}).priority=e,o=0;o<s.length&&e>=s[o].priority;o++);s.splice(o,0,n),l()},c=i.config.addOnLoad;return c&&u[r.isArray(c)?"apply":"call"](i,c),n?n(e):e(),u})},"dojo/_base/connect":function(){define("./kernel ../on ../topic ../aspect ./event ../mouse ./sniff ./lang ../keys".split(" "),function(u,c,o,d,e,f,i,h){function n(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode}i.add("events-keypress-typed",function(){var e={charCode:0};try{((e=document.createEvent("KeyboardEvent")).initKeyboardEvent||e.initKeyEvent).call(e,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(e){}return 0==e.charCode&&!i("opera")});function r(e,t){return n(t=h.mixin({},e,t)),t.preventDefault=function(){e.preventDefault()},t.stopPropagation=function(){e.stopPropagation()},t}var s={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},t=i("mac")?"metaKey":"ctrlKey",p=i("events-keypress-typed")?function(e,o){var t=c(e,"keydown",function(e){var t=e.keyCode,n=13!=t&&32!=t&&(27!=t||!i("ie"))&&(t<48||90<t)&&(t<96||111<t)&&(t<186||192<t)&&(t<219||222<t)&&229!=t;if(n||e.ctrlKey){if(n=n?0:t,e.ctrlKey){if(3==t||13==t)return o.call(e.currentTarget,e);n=95<n&&n<106?n-48:!e.shiftKey&&65<=n&&n<=90?n+32:s[n]||n}if(t=r(e,{type:"keypress",faux:!0,charCode:n}),o.call(e.currentTarget,t),i("ie"))try{e.keyCode=t.keyCode}catch(e){}}}),n=c(e,"keypress",function(e){var t=e.charCode;return e=r(e,{charCode:32<=t?t:0,faux:!0}),o.call(this,e)});return{remove:function(){t.remove(),n.remove()}}}:i("opera")?function(e,n){return c(e,"keypress",function(e){var t=(t=3==(t=e.which)?99:t)<32&&!e.shiftKey?0:t;return e.ctrlKey&&!e.shiftKey&&65<=t&&t<=90&&(t+=32),n.call(this,r(e,{charCode:t}))})}:function(e,t){return c(e,"keypress",function(e){return n(e),t.call(this,e)})},a={_keypress:p,connect:function(e,t,n,o,i){var r=arguments,s=[],a=0;s.push("string"==typeof r[0]?null:r[a++],r[a++]);var l=r[a+1];for(s.push("string"==typeof l||"function"==typeof l?r[a++]:null,r[a++]),l=r.length;a<l;a++)s.push(r[a]);return function(e,t,n,o,i){if(o=h.hitch(n,o),!e||!e.addEventListener&&!e.attachEvent)return d.after(e||u.global,t,o,!0);if("string"==typeof t&&"on"==t.substring(0,2)&&(t=t.substring(2)),e=e||u.global,!i)switch(t){case"keypress":t=p;break;case"mouseenter":t=f.enter;break;case"mouseleave":t=f.leave}return c(e,t,o,i)}.apply(this,s)},disconnect:function(e){e&&e.remove()},subscribe:function(e,t,n){return o.subscribe(e,h.hitch(t,n))},publish:function(e,t){return o.publish.apply(o,[e].concat(t))},connectPublisher:function(e,t,n){function o(){a.publish(e,arguments)}return n?a.connect(t,n,o):a.connect(t,o)},isCopyKey:function(e){return e[t]}};return a.unsubscribe=a.disconnect,h.mixin(u,a),a})},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(e,n,t,o){var i;n._fixEvent&&(i=n._fixEvent,n._fixEvent=function(e,t){return(e=i(e,t))&&o.normalizeEvent(e),e});var r={fix:function(e,t){return n._fixEvent?n._fixEvent(e,t):e},stop:function(e){t("dom-addeventlistener")||e&&e.preventDefault?(e.preventDefault(),e.stopPropagation()):((e=e||window.event).cancelBubble=!0,n._preventDefault.call(e))}};return e.fixEvent=r.fix,e.stopEvent=r.stop,r})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(e,i,t,r,n){function s(e,o){function t(t,n){return i(t,e,function(e){return o?o(e,n):r.isDescendant(e.relatedTarget,t)?void 0:n.call(this,e)})}return t.bubble=function(i){return s(e,function(e,t){var n=i(e.target),o=e.relatedTarget;if(n&&n!=(o&&1==o.nodeType&&i(o)))return t.call(n,e)})},t}return t.add("dom-quirks",n.doc&&"BackCompat"==n.doc.compatMode),t.add("events-mouseenter",n.doc&&"onmouseenter"in n.doc.createElement("div")),t.add("events-mousewheel",n.doc&&"onmousewheel"in n.doc),n=t("dom-quirks")&&t("ie")||!t("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,t){return e.button&t},isLeft:function(e){return 1&e.button},isMiddle:function(e){return 4&e.button},isRight:function(e){return 2&e.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,t){return e.button==t},isLeft:function(e){return 0==e.button},isMiddle:function(e){return 1==e.button},isRight:function(e){return 2==e.button}},e.mouseButtons=n,e=t("events-mousewheel")?"mousewheel":function(e,t){return i(e,"DOMMouseScroll",function(e){e.wheelDelta=-e.detail,t.call(this,e)})}
1,{_eventHandler:s,enter:s("mouseover"),leave:s("mouseout"),wheel:e,isLeft:n.isLeft,isMiddle:n.isMiddle,isRight:n.isRight}})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(e,t){return e.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:t("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:t("mac")&&!t("air")?t("safari")?91:224:17}})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(e,t,s,n){var a=e.Color=function(e){e&&this.setColor(e)};return a.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:n.transparentColor||[0,0,0,0]},t.extend(a,{r:255,g:255,b:255,a:1,_set:function(e,t,n,o){this.r=e,this.g=t,this.b=n,this.a=o},setColor:function(e){return t.isString(e)?a.fromString(e,this):t.isArray(e)?a.fromArray(e,this):(this._set(e.r,e.g,e.b,e.a),e instanceof a||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){return[this.r,this.g,this.b]},toRgba:function(){return[this.r,this.g,this.b,this.a]},toHex:function(){return"#"+s.map(["r","g","b"],function(e){return(e=this[e].toString(16)).length<2?"0"+e:e},this).join("")},toCss:function(e){var t=this.r+", "+this.g+", "+this.b;return(e?"rgba("+t+", "+this.a:"rgb("+t)+")"},toString:function(){return this.toCss(!0)}}),a.blendColors=e.blendColors=function(e,t,n,o){return(o=o||new a).r=Math.round(e.r+(t.r-e.r)*n),o.g=Math.round(e.g+(t.g-e.g)*n),o.b=Math.round(e.b+(t.b-e.b)*n),o.a=e.a+(t.a-e.a)*n,o.sanitize()},a.fromRgb=e.colorFromRgb=function(e,t){e=e.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return e&&a.fromArray(e[1].split(/\s*,\s*/),t)},a.fromHex=e.colorFromHex=function(n,e){var o=e||new a,i=4==n.length?4:8,r=(1<<i)-1;return n=Number("0x"+n.substr(1)),isNaN(n)?null:(s.forEach(["b","g","r"],function(e){var t=n&r;n>>=i,o[e]=4==i?17*t:t}),o.a=1,o)},a.fromArray=e.colorFromArray=function(e,t){t=t||new a;return t._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(t.a)&&(t.a=1),t.sanitize()},a.fromString=e.colorFromString=function(e,t){var n=a.named[e];return n&&a.fromArray(n,t)||a.fromRgb(e,t)||a.fromHex(e,t)},a})},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme"),define("../ready ./kernel ./connect ./unload ./window ./event ./html ./NodeList ../query ./xhr ./fx".split(" "),function(e){return e})},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(n,o,i){var r=window,e={addOnWindowUnload:function(e,t){n.windowUnloaded||i(r,"unload",n.windowUnloaded=function(){}),i(r,"unload",o.hitch(e,t))},addOnUnload:function(e,t){i(r,"beforeunload",o.hitch(e,t))}};return n.addOnWindowUnload=e.addOnWindowUnload,n.addOnUnload=e.addOnUnload,e})},"dojo/_base/html":function(){define("./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),function(o,i,r,s,a,e,t,l){return o.byId=i.byId,o.isDescendant=i.isDescendant,o.setSelectable=i.setSelectable,o.getAttr=s.get,o.setAttr=s.set,o.hasAttr=s.has,o.removeAttr=s.remove,o.getNodeProp=s.getNodeProp,o.attr=function(e,t,n){return 2==arguments.length?s["string"==typeof t?"get":"set"](e,t):s.set(e,t,n)},o.hasClass=e.contains,o.addClass=e.add,o.removeClass=e.remove,o.toggleClass=e.toggle,o.replaceClass=e.replace,o._toDom=o.toDom=t.toDom,o.place=t.place,o.create=t.create,o.empty=function(e){t.empty(e)},o._destroyElement=o.destroy=function(e){t.destroy(e)},o._getPadExtents=o.getPadExtents=l.getPadExtents,o._getBorderExtents=o.getBorderExtents=l.getBorderExtents,o._getPadBorderExtents=o.getPadBorderExtents=l.getPadBorderExtents,o._getMarginExtents=o.getMarginExtents=l.getMarginExtents,o._getMarginSize=o.getMarginSize=l.getMarginSize,o._getMarginBox=o.getMarginBox=l.getMarginBox,o.setMarginBox=l.setMarginBox,o._getContentBox=o.getContentBox=l.getContentBox,o.setContentSize=l.setContentSize,o._isBodyLtr=o.isBodyLtr=l.isBodyLtr,o._docScroll=o.docScroll=l.docScroll,o._getIeDocumentElementOffset=o.getIeDocumentElementOffset=l.getIeDocumentElementOffset,o._fixIeBiDiScrollLeft=o.fixIeBiDiScrollLeft=l.fixIeBiDiScrollLeft,o.position=l.position,o.marginBox=function(e,t){return t?l.setMarginBox(e,t):l.getMarginBox(e)},o.contentBox=function(e,t){return t?l.setContentSize(e,t):l.getContentBox(e)},o.coords=function(e,t){o.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox()."),e=i.byId(e);var n=r.getComputedStyle(e),n=l.getMarginBox(e,n),t=l.position(e,t);return n.x=t.x,n.y=t.y,n},o.getProp=a.get,o.setProp=a.set,o.prop=function(e,t,n){return 2==arguments.length?a["string"==typeof t?"get":"set"](e,t):a.set(e,t,n)},o.getStyle=r.get,o.setStyle=r.set,o.getComputedStyle=r.getComputedStyle,o.__toPixelValue=o.toPixelValue=r.toPixelValue,o.style=function(e,t,n){switch(arguments.length){case 1:return r.get(e);case 2:return r["string"==typeof t?"get":"set"](e,t)}return r.set(e,t,n)},o})},"dojo/dom-attr":function(){define("exports ./sniff ./_base/lang ./dom ./dom-style ./dom-prop".split(" "),function(s,e,a,l,u,c){function r(e,t){t=e.getAttributeNode&&e.getAttributeNode(t);return!!t&&t.specified}var d={innerHTML:1,textContent:1,className:1,htmlFor:e("ie")?1:0,value:1}
1,f={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};s.has=function(e,t){var n=t.toLowerCase();return!!d[c.names[n]||t]||r(l.byId(e),f[n]||t)},s.get=function(e,t){e=l.byId(e);var n=t.toLowerCase(),o=c.names[n]||t,i=e[o];return d[o]&&void 0!==i?i:"textContent"==o?c.get(e,o):"href"==o||"boolean"!=typeof i&&!a.isFunction(i)?r(e,n=f[n]||t)?e.getAttribute(n):null:i},s.set=function(e,t,n){if(e=l.byId(e),2==arguments.length){for(var o in t)s.set(e,o,t[o]);return e}var o=t.toLowerCase(),i=c.names[o]||t,r=d[i];return"style"==i&&"string"!=typeof n?(u.set(e,n),e):r||"boolean"==typeof n||a.isFunction(n)?c.set(e,t,n):(e.setAttribute(f[o]||t,n),e)},s.remove=function(e,t){l.byId(e).removeAttribute(f[t.toLowerCase()]||t)},s.getNodeProp=function(e,t){e=l.byId(e);var n=t.toLowerCase(),o=c.names[n]||t;return o in e&&"href"!=o?e[o]:r(e,n=f[n]||t)?e.getAttribute(n):null}})},"dojo/dom-prop":function(){define("exports ./_base/kernel ./sniff ./_base/lang ./dom ./dom-style ./dom-construct ./_base/connect".split(" "),function(s,e,a,l,u,c,d,f){var h={},p=1,m=e._scopeName+"attrid";a.add("dom-textContent",function(e,t,n){return"textContent"in n}),s.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},s.get=function(e,t){e=u.byId(e);var n=t.toLowerCase();return"textContent"!=(n=s.names[n]||t)||a("dom-textContent")?e[n]:function e(t){var n="";t=t.childNodes;for(var o,i=0;o=t[i];i++)8!=o.nodeType&&(n=1==o.nodeType?n+e(o):n+o.nodeValue);return n}(e)},s.set=function(e,t,n){if(e=u.byId(e),2==arguments.length&&"string"!=typeof t){for(var o in t)s.set(e,o,t[o]);return e}if(o=t.toLowerCase(),"style"==(o=s.names[o]||t)&&"string"!=typeof n)return c.set(e,n),e;if("innerHTML"==o)return a("ie")&&e.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(d.empty(e),e.appendChild(d.toDom(n,e.ownerDocument))):e[o]=n,e;if("textContent"==o&&!a("dom-textContent"))return d.empty(e),e.appendChild(e.ownerDocument.createTextNode(n)),e;if(l.isFunction(n)){var i=e[m];i||(i=p++,e[m]=i),h[i]||(h[i]={});var r=h[i][o];if(r)f.disconnect(r);else try{delete e[o]}catch(e){}return n?h[i][o]=f.connect(e,o,n):e[o]=null,e}return e[o]=n,e}})},"dojo/dom-construct":function(){define("exports ./_base/kernel ./sniff ./_base/window ./dom ./dom-attr".split(" "),function(r,e,s,a,l,u){function i(e,t){var n=t.parentNode;n&&n.insertBefore(e,t)}function n(e){if("innerHTML"in e)try{return void(e.innerHTML="")}catch(e){}for(var t;t=e.lastChild;)e.removeChild(t)}var t,c,d={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},f=/<\s*([\w:]+)/,h={},p=0,m="__"+e._scopeName+"ToDomId";for(t in d)d.hasOwnProperty(t)&&(e=d[t],e.pre="option"==t?'<select multiple="multiple">':"<"+e.join("><")+">",e.post="</"+e.reverse().join("></")+">");s("ie")<=8&&(c=function(t){t.__dojo_html5_tested="yes";var e=o("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},t.body);1!==e.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(e){t.createElement(e)}),g(e)}),r.toDom=function(e,t){(i=(t=t||a.doc)[m])||(t[m]=i=++p+"",h[i]=t.createElement("div")),s("ie")<=8&&!t.__dojo_html5_tested&&t.body&&c(t);var n=(e+="").match(f),o=n?n[1].toLowerCase():"",i=h[i];if(n&&d[o])for(n=d[o],i.innerHTML=n.pre+e+n.post,n=n.length;n;--n)i=i.firstChild;else i.innerHTML=e;if(1==i.childNodes.length)return i.removeChild(i.firstChild);for(o=t.createDocumentFragment();n=i.firstChild;)o.appendChild(n);return o},r.place=function(e,t,n){if(t=l.byId(t),"string"==typeof e&&(e=/^\s*</.test(e)?r.toDom(e,t.ownerDocument):l.byId(e)),"number"==typeof n){var o=t.childNodes;!o.length||o.length<=n?t.appendChild(e):i(e,o[n<0?0:n])}else switch(n){case"before":i(e,t);break;case"after":n=e,(o=t.parentNode)&&(o.lastChild==t?o.appendChild(n):o.insertBefore(n,t.nextSibling));break;case"replace":t.parentNode.replaceChild(e,t);break;case"only":r.empty(t),t.appendChild(e);break;case"first":if(t.firstChild){i(e,t.firstChild);break}default:t.appendChild(e)}return e};var o=r.create=function(e,t,n,o){var i=a.doc;return n&&(i=(n=l.byId(n)).ownerDocument),"string"==typeof e&&(e=i.createElement(e)),t&&u.set(e,t),n&&r.place(e,n,o),e};r.empty=function(e){n(l.byId(e))};var g=r.destroy=function(e){var t;(e=l.byId(e))&&(e=(t=e).parentNode,t.firstChild&&n(t),e&&(s("ie")&&e.canHaveChildren&&"removeNode"in t?t.removeNode(!1):e.removeChild(t)))}})},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(e,t,n){var o=(t=t.NodeList).prototype;return o.connect=t._adaptAsForEach(function(){return e.connect.apply(this,arguments)}),o.coords=t._adaptAsMap(e.coords),t.events="blur focus change click error keydown keypress keyup load mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup submit".split(" "),n.forEac
1h(t.events,function(e){var n="on"+e;o[n]=function(e,t){return this.connect(n,e,t)}}),e.NodeList=t})},"dojo/NodeList-dom":function(){define("./_base/kernel ./query ./_base/array ./_base/lang ./dom-class ./dom-construct ./dom-geometry ./dom-attr ./dom-style".split(" "),function(l,i,r,s,e,u,t,n,o){function a(o){return function(e,t,n){return 2==arguments.length?o["string"==typeof t?"get":"set"](e,t):o.set(e,t,n)}}function c(e){return 1==e.length&&"string"==typeof e[0]}function d(e){var t=e.parentNode;t&&t.removeChild(e)}var f=i.NodeList,h=f._adaptWithCondition,p=f._adaptAsForEach,m=f._adaptAsMap;return s.extend(f,{_normalize:function(e,t){var n,o=!0===e.parse;return"string"==(n=typeof(e="string"==typeof e.template?(n=e.templateFunc||l.string&&l.string.substitute)?n(e.template,e):e:e))||"number"==n?e=11==(e=u.toDom(e,t&&t.ownerDocument)).nodeType?s._toArray(e.childNodes):[e]:s.isArrayLike(e)?s.isArray(e)||(e=s._toArray(e)):e=[e],o&&(e._runParse=!0),e},_cloneNode:function(e){return e.cloneNode(!0)},_place:function(e,t,n,o){if(1==t.nodeType||"only"!=n)for(var i,r=e.length,s=r-1;0<=s;s--){var a=o?this._cloneNode(e[s]):e[s];if(e._runParse&&l.parser&&l.parser.parse)for((i=i||t.ownerDocument.createElement("div")).appendChild(a),l.parser.parse(i),a=i.firstChild;i.firstChild;)i.removeChild(i.firstChild);s==r-1?u.place(a,t,n):t.parentNode.insertBefore(a,t),t=a}},position:m(t.position),attr:h(a(n),c),style:h(a(o),c),addClass:p(e.add),removeClass:p(e.remove),toggleClass:p(e.toggle),replaceClass:p(e.replace),empty:p(u.empty),removeAttr:p(n.remove),marginBox:m(t.getMarginBox),place:function(e,t){var n=i(e)[0];return this.forEach(function(e){u.place(e,n,t)})},orphan:function(e){return(e?i._filterResult(this,e):this).forEach(d)},adopt:function(e,t){return i(e).place(this[0],t)._stash(this)},query:function(t){if(!t)return this;var n=new f;return this.map(function(e){i(t,e).forEach(function(e){void 0!==e&&n.push(e)})}),n._stash(this)},filter:function(e){var t=arguments,n=this,o=0;if("string"==typeof e){if(n=i._filterResult(this,t[0]),1==t.length)return n._stash(this);o=1}return this._wrap(r.filter(n,t[o],t[o+1]),this)},addContent:function(e,t){e=this._normalize(e,this[0]);for(var n,o=0;n=this[o];o++)e.length?this._place(e,n,t,0<o):u.empty(n);return this}}),f})},"dojo/_base/fx":function(){define("./kernel ./config ./lang ../Evented ./Color ../aspect ../sniff ../dom ../dom-style".split(" "),function(t,n,s,e,a,o,i,l,u){var c=s.mixin,d={},r=d._Line=function(e,t){this.start=e,this.end=t};r.prototype.getValue=function(e){return(this.end-this.start)*e+this.start};var f=d.Animation=function(e){c(this,e),s.isArray(this.curve)&&(this.curve=new r(this.curve[0],this.curve[1]))};f.prototype=new e,s.extend(f,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var e=this._percent,t=this.easing;return t?t(e):e},_fire:function(t,e){e=e||[];if(this[t])if(n.debugAtAllCosts)this[t].apply(this,e);else try{this[t].apply(this,e)}catch(e){console.error("exception in animation handler for:",t),console.error(e)}return this},play:function(e,t){if(this._delayTimer&&this._clearTimer(),t)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",[this.node]);e=e||this.delay,t=s.hitch(this,"_play",t);return 0<e?this._delayTimer=setTimeout(t,e):t(),this},_play:function(e){return this._delayTimer&&this._clearTimer(),this._startTime=(new Date).valueOf(),this._paused&&(this._startTime-=this.duration*this._percent),this._active=!0,this._paused=!1,e=this.curve.getValue(this._getStep()),this._percent||(this._startRepeatCount||(this._startRepeatCount=this.repeat),this._fire("onBegin",[e])),this._fire("onPlay",[e]),this._cycle(),this},pause:function(){return this._delayTimer&&this._clearTimer(),this._stopTimer(),this._active&&(this._paused=!0,this._fire("onPause",[this.curve.getValue(this._getStep())])),this},gotoPercent:function(e,t){return this._stopTimer(),this._active=this._paused=!0,this._percent=e,t&&this.play(),this},stop:function(e){return this._delayTimer&&this._clearTimer(),this._timer&&(this._stopTimer(),e&&(this._percent=1),this._fire("onStop",[this.curve.getValue(this._getStep())]),this._active=this._paused=!1),this},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var e;return this._active&&(e=(new Date).valueOf(),e=0===this.duration?1:(e-this._startTime)/this.duration,this._percent=e=1<=e?1:e,this.easing&&(e=this.easing(e)),this._fire("onAnimate",[this.curve.getValue(e)]),this._percent<1?this._startTimer():(this._active=!1,0<this.repeat?(this.repeat--,this.play(null,!0)):-1==this.repeat?this.play(null,!0):this._startRepeatCount&&(this.repeat=this._startRepeatCount,this._startRepeatCount=0),this._percent=0,this._fire("onEnd",[this.node]),this.repeat||this._stopTimer())),this},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var h=0,p=null,m={run:function(){}};s.extend(f,{_startTimer:function(){this._timer||(this._timer=o.after(m,"run",s.hitch(this,"_cycle"),!0),h++),p=p||setInterval(s.hitch(m,"run"),this.rate)},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,h--),h<=0&&(clearInterval(p),p=null,h=0)}});var g=i("ie")?function(e){var t=e.style;t.width.length||"auto"!=u.get(e,"width")||(t.width="auto")}:function(){};d._fade=function(e){e.node=l.byId(e.node);var t=c({properties:{}},e);return(e=t.properties.opacity={}).start="start"in t?t.start:function(){return+u.get(t.node,"opacity")||0}
1,e.end=t.end,e=d.animateProperty(t),o.after(e,"beforeBegin",s.partial(g,t.node),!0),e},d.fadeIn=function(e){return d._fade(c({end:1},e))},d.fadeOut=function(e){return d._fade(c({end:0},e))},d._defaultEasing=function(e){return.5+Math.sin((e+1.5)*Math.PI)/2};function _(e){for(var t in this._properties=e){t=e[t];t.start instanceof a&&(t.tempColor=new a)}}return _.prototype.getValue=function(e){var t,n={};for(t in this._properties){var o=this._properties[t],i=o.start;i instanceof a?n[t]=a.blendColors(i,o.end,e,o.tempColor).toCss():s.isArray(i)||(n[t]=(o.end-i)*e+i+("opacity"!=t?o.units||"px":0))}return n},d.animateProperty=function(e){var r=e.node=l.byId(e.node);return e.easing||(e.easing=t._defaultEasing),e=new f(e),o.after(e,"beforeBegin",s.hitch(e,function(){var e,t={};for(e in this.properties){"width"!=e&&"height"!=e||(this.node.display="block");var n=this.properties[e];s.isFunction(n)&&(n=n(r)),n=t[e]=c({},s.isObject(n)?n:{end:n}),s.isFunction(n.start)&&(n.start=n.start(r)),s.isFunction(n.end)&&(n.end=n.end(r));function o(e,t){var n={height:e.offsetHeight,width:e.offsetWidth}[t];return void 0!==n?n:(n=u.get(e,t),"opacity"==t?+n:i?n:parseFloat(n))}var i=0<=e.toLowerCase().indexOf("color");"end"in n?"start"in n||(n.start=o(r,e)):n.end=o(r,e),i?(n.start=new a(n.start),n.end=new a(n.end)):n.start="opacity"==e?+n.start:parseFloat(n.start)}this.curve=new _(t)}),!0),o.after(e,"onAnimate",s.hitch(u,"set",e.node),!0),e},d.anim=function(e,t,n,o,i,r){return d.animateProperty({node:e,duration:n||f.prototype.duration,properties:t,easing:o,onEnd:i}).play(r||0)},c(t,d),t._Animation=f,d})},"dijit/main":function(){define(["dojo/_base/kernel"],function(e){return e.dijit})},"dojox/main":function(){define(["dojo/_base/kernel"],function(e){return e.dojox})},"kompakt/player/Controls":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-style dojo/on dojo/query dojo/topic".split(" "),function(e,t,n,o,i,r){return e(null,{_rootNode:null,_toggleNode:null,_nextNode:null,_prevNode:null,_toogleIconNode:null,_playing:!1,constructor:function(e){this._rootNode=e,this._toggleNode=i(".toggle",e)[0],this._nextNode=i(".next",e)[0],this._prevNode=i(".prev",e)[0],this._toogleIconNode=i(".icon",this._toggleNode)[0]},render:function(){var t=this;this.pause(),o(this._toggleNode,"click",function(e){e.preventDefault(),e.stopPropagation(),t._playing?(t.pause(),r.publish("player-controls/onpause",this)):(t.play(),r.publish("player-controls/onplay",this))}),o(this._nextNode,"click",function(e){e.preventDefault(),e.stopPropagation(),r.publish("player-controls/onplaynext",this)}),o(this._prevNode,"click",function(e){e.preventDefault(),e.stopPropagation(),r.publish("player-controls/onplayprev",this)})},show:function(){n.set(this._rootNode,"display","block")},hide:function(){n.set(this._rootNode,"display","none")},pause:function(){this._playing=!1,t.add(this._toogleIconNode,"fa-circle-play"),t.remove(this._toogleIconNode,"fa-circle-pause")},play:function(){this._playing=!0,t.add(this._toogleIconNode,"fa-circle-pause"),t.remove(this._toogleIconNode,"fa-circle-play")}})})},"kompakt/player/PlayPauser":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/on","dojo/topic"],function(e,t,n,o,i){return e(null,{_rootNode:null,_playing:!1,constructor:function(e){this._rootNode=e},render:function(){var t=this;this.pause(),o(this._rootNode,"click",function(e){e.preventDefault(),e.stopPropagation(),t._playing?(t.pause(),i.publish("play-pauser/onpause",this)):(t.play(),i.publish("play-pauser/onplay",this))})},show:function(){n.set(this._rootNode,"display","inline")},hide:function(){n.set(this._rootNode,"display","none")},pause:function(){this._playing=!1,t.add(this._rootNode,"fa-circle-play"),t.remove(this._rootNode,"fa-circle-pause")},play:function(){this._playing=!0,t.add(this._rootNode,"fa-circle-pause"),t.remove(this._rootNode,"fa-circle-play")}})})},"kompakt/player/CollapseExpander":function(){define("dojo/_base/declare dojo/dom-class dojo/dom-style dojo/on dojo/query dojo/topic".split(" "),function(e,t,n,o,i,r){return e(null,{_rootNode:null,_togglerNode:null,_collapsedMsgNode:null,_expandedMsgNode:null,_isCollapsed:!1,constructor:function(e){this._rootNode=e,this._togglerNode=i(".toggler",e)[0],this._collapsedMsgNode=i(".collapsed",this._togglerNode)[0],this._expandedMsgNode=i(".expanded",this._togglerNode)[0]},render:function(){var t=this;this.expand(),o(this._togglerNode,"click",function(e){e.preventDefault(),e.stopPropagation(),t._isCollapsed?(t.expand(),r.publish("collapse-expander/onexpand",this)):(t.collapse(),r.publish("collapse-expander/oncollapse",this))})},show:function(){n.set(this._rootNode,"display","block")},hide:function(){n.set(this._rootNode,"display","none")},expand:function(){this._isCollapsed=!1,n.set(this._collapsedMsgNode,"display","none"),n.set(this._expandedMsgNode,"display","inline")},collapse:function(){this._isCollapsed=!0,n.set(this._collapsedMsgNode,"display","inline"),n.set(this._expandedMsgNode,"display","none")}})})},"kompakt/player/Info":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/query","kompakt/player/Ticker"],function(e,t,n){return e(null,{_rootNode:null,_titleNode:null,_artistNode:null,_elapsedNode:null,constructor:function(e){this._rootNode=e,this._titleNode=n(".title",e)[0],this._artistNode=n(".artist",e)[0],this._elapsedNode=n(".elapsed",e)[0]},render:function(){},showTime:function(e){this._elapsedNode.innerHTML=e},setTrackInfo:function(e){this._titleNode.innerHTML=e.getTitle(),this._artistNode.innerHTML=e.getArtist()},clearTime:function(){this._elapsedNode.innerHTML=""},show:function(){t.set(this._rootNode,"display","block")},hide:function(){t.set(this._rootNode,"display","none")}})})},"kompakt/player/Ticker":function(){define("dojo dojo/_base/declare dojo/_base/lang dojo/dom-construct dojo/dom-style dojo/fx dojo/fx/easing dojo/on dojo/query".split(" "),function(e,t,n,o,i,r,s,a,l){})},"dojo/fx":function(){define("./_base/lang ./Evented ./_base/kernel ./_base/array ./aspect ./_base/fx ./dom ./dom-style ./dom-geometry ./ready require".split(" "),function(r,e,t,o,s,a,l,u,c,n,i){t.isAsync||n(0,function(){i(["./fx/Toggler"])}),t=t.fx={},n={_fire:function(e,t){return this[e]&&this[e].apply(this,t||[]),this}};function d(e){this._index=-1,this._animations=e||[],this._current=this._onAnimateCtx=this._onEndCtx=null,this.duration=0,o.forEach(this._animations,function(e){e&&(void 0!==e.duration&&(this.duration+=e.duration),e.delay&&(this.duration+=e.delay))},this)}d.prototype=new e,r.extend(d,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove(),this._onEndCtx.remove(),this._onAnimateCtx=this._onEndCtx=null,this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=s.after(this._current,"onAnimate",r.hitch(this,"_onAnimate"),!0),this._onEndCtx=s.after(this._current,"onEnd",r.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(e,t){if(this._current||(this._current=this._animations[this._index=0]),!t&&"playing"==this._current.status())return this;var n=s.after(this._current,"beforeBegin",r.hitch(this,function(){this._fire("beforeBegin")}),!0),o=s.after(this._current,"onBegin",r.hitch(this,function(e){this._fire("onBegin",arguments)}),!0),i=s.after(this._current,"onPlay",r.hitch(this,function(e){this._fire("onPlay",arguments),n.remove(),o.remove(),i.remove()}));return this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onAnimateCtx=s.after(this._current,"onAnimate",r.hitch(this,"_onAnimate"),!0),this._onEndCtx&&this._onEndCtx.remove(),this._onEndCtx=s.after(this._current,"onEnd",r.hitch(this,"_onEnd"),!0),this._current.play.apply(this._current,arguments),this},pause:function(){var t;return this._current&&(t=s.after(this._current,"onPause",r.hitch(this,function(e){this._fire("onPause",arguments),t.remove()}),!0),this._current.pause()),this},gotoPercent:function(e,t){this.pause();var n=this.duration*e;return this._current=null,o.some(this._animations,function(e,t){return n<=e.duration?(this._current=e,this._index=t,!0):(n-=e.duration,!1)},this),this._current&&this._current.gotoPercent(n/this._current.duration),t&&this.play(),this},stop:function(e){if(this._current){if(e){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var t=s.after(this._current,"onStop",r.hitch(this,function(e){this._fire("onStop",arguments),t.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop(),this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onEndCtx&&this._onEndCtx.remove()}}),r.extend(d,n),t.chain=function(e){return new d(r.isArray(e)?e:Array.prototype.slice.call(e,0))};function f(e){this._animations=e||[],this._connects=[],this.duration=this._finished=0,o.forEach(e,function(e){var t=e.duration;e.delay&&(t+=e.delay),this.duration<t&&(this.duration=t),this._connects.push(s.after(e,"onEnd",r.hitch(this,"_onEnd"),!0))},this),this._pseudoAnimation=new a.Animation({curve:[0,1],duration:this.duration});var t=this;o.forEach("beforeBegin onBegin onPlay onAnimate onPause onStop onEnd".split(" "),function(e){t._connects.push(s.after(t._pseudoAnimation,e,function(){t._fire(e,arguments)},!0))})}return r.extend(f,{_doAction:function(t,n){return o.forEach(this._animations,function(e){e[t].apply(e,n)}),this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(e,t){var n=this._pseudoAnimation;n[e].apply(n,t)},play:function(e,t){return this._finished=0,this._doAction("play",arguments),this._call("play",arguments),this},pause:function(){return this._doAction("pause",arguments),this._call("pause",arguments),this},gotoPercent:function(e,t){var n=this.duration*e;return o.forEach(this._animations,function(e){e.gotoPercent(e.duration<n?1:n/e.duration,t)}),this._call("gotoPercent",arguments),this},stop:function(e){return this._doAction("stop",arguments),this._call("stop",arguments),this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop(),o.forEach(this._connects,function(e){e.remove()})}}),r.extend(f,n),t.combine=function(e){return new f(r.isArray(e)?e:Array.prototype.slice.call(e,0))},t.wipeIn=function(e){var t,n=e.node=l.byId(e.node),o=n.style;e=a.animateProperty(r.mixin({properties:{height:{start:function(){if(t=o.overflow,(o.overflow="hidden")==o.visibility||"none"==o.display)return o.height="1px",o.display="",o.visibility="",1;var e=u.get(n,"height");return Math.max(e,1)},end:function(){return n.scrollHeight}}}},e));function i(){o.height="auto",o.overflow=t}return s.after(e,"onStop",i,!0),s.after(e,"onEnd",i,!0),e},t.wipeOut=function(e){var t,n=(e.node=l.byId(e.node)).style;e=a.animateProperty(r.mixin({properties:{height:{end:1}}},e)),s.after(e,"beforeBegin",function(){t=n.overflow,n.overflow="hidden",n.display=""},!0);function o(){n.overflow=t,n.height="auto",n.display="none"}return s.after(e,"onStop",o,!0),s.after(e,"onEnd",o,!0),e},t.slideTo=function(e){var n,o,i,t=(i=e.node=l.byId(e.node),function(){var e=u.getComputedStyle(i),t=e.position;"absolute"==t?i.offsetTop:parseInt(e.top),"absolute"==t?i.offsetLeft:parseInt(e.left),"absolute"!=t&&"relative"!=t&&(e=c.position(i,!0),n=e.y,o=e.x,i.style.position="absolute",i.style.top=n+"px",i.style.left=o+"px")});return t(),e=a.animateProperty(r.mixin({properties:{top:e.top||0,left
1:e.left||0}},e)),s.after(e,"beforeBegin",t,!0),e},t})},"dojo/fx/easing":function(){define(["../_base/lang"],function(e){var t={linear:function(e){return e},quadIn:function(e){return Math.pow(e,2)},quadOut:function(e){return e*(e-2)*-1},quadInOut:function(e){return(e*=2)<1?Math.pow(e,2)/2:-1*(--e*(e-2)-1)/2},cubicIn:function(e){return Math.pow(e,3)},cubicOut:function(e){return Math.pow(e-1,3)+1},cubicInOut:function(e){return(e*=2)<1?Math.pow(e,3)/2:(Math.pow(e-2,3)+2)/2},quartIn:function(e){return Math.pow(e,4)},quartOut:function(e){return-1*(Math.pow(e-1,4)-1)},quartInOut:function(e){return(e*=2)<1?Math.pow(e,4)/2:-.5*(Math.pow(e-2,4)-2)},quintIn:function(e){return Math.pow(e,5)},quintOut:function(e){return Math.pow(e-1,5)+1},quintInOut:function(e){return(e*=2)<1?Math.pow(e,5)/2:(Math.pow(e-2,5)+2)/2},sineIn:function(e){return-1*Math.cos(Math.PI/2*e)+1},sineOut:function(e){return Math.sin(Math.PI/2*e)},sineInOut:function(e){return-1*(Math.cos(Math.PI*e)-1)/2},expoIn:function(e){return 0==e?0:Math.pow(2,10*(e-1))},expoOut:function(e){return 1==e?1:-1*Math.pow(2,-10*e)+1},expoInOut:function(e){return 0==e?0:1==e?1:(e*=2)<1?Math.pow(2,10*(e-1))/2:(--e,(-1*Math.pow(2,-10*e)+2)/2)},circIn:function(e){return-1*(Math.sqrt(1-Math.pow(e,2))-1)},circOut:function(e){return Math.sqrt(1-Math.pow(e-1,2))},circInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-Math.pow(e,2))-1):.5*(Math.sqrt(1-Math.pow(e-2,2))+1)},backIn:function(e){return Math.pow(e,2)*(2.70158*e-1.70158)},backOut:function(e){return--e,Math.pow(e,2)*(2.70158*e+1.70158)+1},backInOut:function(e){return(e*=2)<1?Math.pow(e,2)*(3.5949095*e-2.5949095)/2:(e-=2,(Math.pow(e,2)*(3.5949095*e+2.5949095)+2)/2)},elasticIn:function(e){return 0==e||1==e?e:(--e,-1*Math.pow(2,10*e)*Math.sin(2*(e-.075)*Math.PI/.3))},elasticOut:function(e){return 0==e||1==e?e:Math.pow(2,-10*e)*Math.sin(2*(e-.075)*Math.PI/.3)+1},elasticInOut:function(e){if(0==e)return 0;if(2==(e*=2))return 1;var t=.3*1.5,n=t/4;return e<1?(--e,-.5*Math.pow(2,10*e)*Math.sin(2*(e-n)*Math.PI/t)):(--e,.5*Math.pow(2,-10*e)*Math.sin(2*(e-n)*Math.PI/t)+1)},bounceIn:function(e){return 1-t.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*Math.pow(e,2):e<2/2.75?7.5625*Math.pow(e-1.5/2.75,2)+.75:e<2.5/2.75?7.5625*Math.pow(e-2.25/2.75,2)+.9375:7.5625*Math.pow(e-2.625/2.75,2)+.984375},bounceInOut:function(e){return e<.5?t.bounceIn(2*e)/2:t.bounceOut(2*e-1)/2+.5}};return e.setObject("dojo.fx.easing",t),t})},"kompakt/player/ReleaseEntity":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/query","dojox/html/entities","kompakt/player/TrackEntity"],function(o,e,i,r,s){return e(null,{_id:null,_title:null,_artist:null,_artworkThumbSrc:null,_isVariousArtists:null,_tracks:[],_hasPlayableTracks:!1,_hasTracks:!1,constructor:function(e){var t=i(".release",e)[0];e=i(".tracks",e)[0],this._id=r.decode(i(".id",t)[0].innerHTML),this._title=r.decode(i(".title",t)[0].innerHTML),this._artist=r.decode(i(".artist",t)[0].innerHTML),this._artworkThumbSrc=r.decode(i(".artwork-thumb-src",t)[0].innerHTML),this._isVariousArtists=r.decode(i(".various-artists",t)[0].innerHTML),this._isVariousArtists="true"==this._isVariousArtists;var n=this;o.forEach(i(".track",e),function(e){(e=new s(e)).getAudioSrc()&&(n._hasPlayableTracks=!0),n._hasTracks=!0,n._tracks[n._tracks.length]=e})},getId:function(){return this._id},getTitle:function(){return this._title},getArtist:function(){return this._artist},getArtworkThumbSrc:function(){return this._artworkThumbSrc},getIsVariousArtists:function(){return this._isVariousArtists},getTracks:function(){return this._tracks},hasPlayableTracks:function(){return this._hasPlayableTracks},hasTracks:function(){return this._hasTracks}})})},"dojox/html/entities":function(){define(["dojo/_base/lang"],function(e){function n(e,t){if(t._encCache&&t._encCache.regexp&&t._encCache.mapper&&t.length==t._encCache.length)var n=t._encCache.mapper,o=t._encCache.regexp;else{for(var n={},o=["["],i=0;i<t.length;i++)n[t[i][0]]="&"+t[i][1]+";",o.push(t[i][0]);o.push("]"),o=new RegExp(o.join(""),"g"),t._encCache={mapper:n,regexp:o,length:t.length}}return e.replace(o,function(e){return n[e]})}function o(e,t){if(t._decCache&&t._decCache.regexp&&t._decCache.mapper&&t.length==t._decCache.length)var n=t._decCache.mapper,o=t._decCache.regexp;else{for(var n={},o=["("],i=0;i<t.length;i++){var r="&"+t[i][1]+";";i&&o.push("|"),n[r]=t[i][0],o.push(r)}o.push(")"),o=new RegExp(o.join(""),"g"),t._decCache={mapper:n,regexp:o,length:t.length}}return e.replace(o,function(e){return n[e]})}var i=e.getObject("dojox.html.entities",!0);return i.html=[["&","amp"],['"',"quot"],["<","lt"],[">","gt"],[" ","nbsp"]],i.latin=[["¡","iexcl"],["¢","cent"],["£","pound"],["€","euro"],["¤","curren"],["¥","yen"],["¦","brvbar"],["§","sect"],["¨","uml"],["©","copy"],["ª","ordf"],["«","laquo"],["¬","not"],["­","shy"],["®","reg"],["¯","macr"],["°","deg"],["±","plusmn"],["²","sup2"],["³","sup3"],["´","acute"],["µ","micro"],["¶","para"],["·","middot"],["¸","cedil"],["¹","sup1"],["º","ordm"],["»","raquo"],["¼","frac14"],["½","frac12"],["¾","frac34"],["¿","iquest"],["À","Agrave"],["Á","Aacute"],["Â","Acirc"],["Ã","Atilde"],["Ä","Auml"],["Å","Aring"],["Æ","AElig"],["Ç","Ccedil"],["È","Egrave"],["É","Eacute"],["Ê","Ecirc"],["Ë","Euml"],["Ì","Igrave"],["Í","Iacute"],["Î","Icirc"],["Ï","Iuml"],["Ð","ETH"],["Ñ","Ntilde"],["Ò","Ograve"],["Ó","Oacute"],["Ô","Ocirc"],["Õ","Otilde"],["Ö","Ouml"],["×","t
1imes"],["Ø","Oslash"],["Ù","Ugrave"],["Ú","Uacute"],["Û","Ucirc"],["Ü","Uuml"],["Ý","Yacute"],["Þ","THORN"],["ß","szlig"],["à","agrave"],["á","aacute"],["â","acirc"],["ã","atilde"],["ä","auml"],["å","aring"],["æ","aelig"],["ç","ccedil"],["è","egrave"],["é","eacute"],["ê","ecirc"],["ë","euml"],["ì","igrave"],["í","iacute"],["î","icirc"],["ï","iuml"],["ð","eth"],["ñ","ntilde"],["ò","ograve"],["ó","oacute"],["ô","ocirc"],["õ","otilde"],["ö","ouml"],["÷","divide"],["ø","oslash"],["ù","ugrave"],["ú","uacute"],["û","ucirc"],["ü","uuml"],["ý","yacute"],["þ","thorn"],["ÿ","yuml"],["ƒ","fnof"],["Α","Alpha"],["Β","Beta"],["Γ","Gamma"],["Δ","Delta"],["Ε","Epsilon"],["Ζ","Zeta"],["Η","Eta"],["Θ","Theta"],["Ι","Iota"],["Κ","Kappa"],["Λ","Lambda"],["Μ","Mu"],["Ν","Nu"],["Ξ","Xi"],["Ο","Omicron"],["Π","Pi"],["Ρ","Rho"],["Σ","Sigma"],["Τ","Tau"],["Υ","Upsilon"],["Φ","Phi"],["Χ","Chi"],["Ψ","Psi"],["Ω","Omega"],["α","alpha"],["β","beta"],["γ","gamma"],["δ","delta"],["ε","epsilon"],["ζ","zeta"],["η","eta"],["θ","theta"],["ι","iota"],["κ","kappa"],["λ","lambda"],["μ","mu"],["ν","nu"],["ξ","xi"],["ο","omicron"],["π","pi"],["ρ","rho"],["ς","sigmaf"],["σ","sigma"],["τ","tau"],["υ","upsilon"],["φ","phi"],["χ","chi"],["ψ","psi"],["ω","omega"],["ϑ","thetasym"],["ϒ","upsih"],["ϖ","piv"],["•","bull"],["…","hellip"],["′","prime"],["″","Prime"],["‾","oline"],["⁄","frasl"],["℘","weierp"],["ℑ","image"],["ℜ","real"],["™","trade"],["ℵ","alefsym"],["←","larr"],["↑","uarr"],["→","rarr"],["↓","darr"],["↔","harr"],["↵","crarr"],["⇐","lArr"],["⇑","uArr"],["⇒","rArr"],["⇓","dArr"],["⇔","hArr"],["∀","forall"],["∂","part"],["∃","exist"],["∅","empty"],["∇","nabla"],["∈","isin"],["∉","notin"],["∋","ni"],["∏","prod"],["∑","sum"],["−","minus"],["∗","lowast"],["√","radic"],["∝","prop"],["∞","infin"],["∠","ang"],["∧","and"],["∨","or"],["∩","cap"],["∪","cup"],["∫","int"],["∴","there4"],["∼","sim"],["≅","cong"],["≈","asymp"],["≠","ne"],["≡","equiv"],["≤","le"],["≥","ge"],["⊂","sub"],["⊃","sup"],["⊄","nsub"],["⊆","sube"],["⊇","supe"],["⊕","oplus"],["⊗","otimes"],["⊥","perp"],["⋅","sdot"],["⌈","lceil"],["⌉","rceil"],["⌊","lfloor"],["⌋","rfloor"],["〈","lang"],["〉","rang"],["◊","loz"],["♠","spades"],["♣","clubs"],["♥","hearts"],["♦","diams"],["Œ","OElig"],["œ","oelig"],["Š","Scaron"],["š","scaron"],["Ÿ","Yuml"],["ˆ","circ"],["˜","tilde"],[" ","ensp"],[" ","emsp"],[" ","thinsp"],["‌","zwnj"],["‍","zwj"],["‎","lrm"],["‏","rlm"],["–","ndash"],["—","mdash"],["‘","lsquo"],["’","rsquo"],["‚","sbquo"],["“","ldquo"],["”","rdquo"],["„","bdquo"],["†","dagger"],["‡","Dagger"],["‰","permil"],["‹","lsaquo"],["›","rsaquo"]],i.encode=function(e,t){return e=e&&(t?n(e,t):(e=n(e,i.html),n(e,i.latin)))},i.decode=function(e,t){return e=e&&(t?o(e,t):(e=o(e,i.html),o(e,i.latin)))},i})},"kompakt/player/TrackEntity":function(){define(["dojo/_base/declare","dojo/query","dojox/html/entities"],function(e,l,u){return e(null,{_id:null,_title:null,_artist:null,_artistReleasesUrl:null,_position:null,_duration:null,_audioSrc:null,_previouslyUnreleased:null,_hasMp3Hi:!1,_mp3HiPrice:0,_mp3HiId:null,_mp3HiKey:null,_mp3HiButtonNode:null,_hasAiff:!1,_aiffPrice:0,_aiffId:null,_aiffKey:null,_aiffButtonNode:null,constructor:function(e){this._id=u.decode(l(".id",e)[0].innerHTML),this._title=u.decode(l(".title",e)[0].innerHTML),this._artist=u.decode(l(".artist",e)[0].innerHTML),this._artistReleasesUrl=u.decode(l(".artist-releases-url",e)[0].innerHTML),this._position=u.decode(l(".position",e)[0].innerHTML),this._duration=u.decode(l(".duration",e)[0].innerHTML),this._audioSrc=u.decode(l(".audio-src",e)[0].innerHTML),this._previouslyUnreleased=u.decode(l(".previously-unreleased",e)[0].innerHTML);var t=l(".mp3-hi-price",e)[0],n=l(".mp3-hi-id",e)[0],o=l(".mp3-hi-key",e)[0],i=l(".mp3-hi-button a",e)[0],r=l(".aiff-price",e)[0],s=l(".aiff-id",e)[0],a=l(".aiff-key",e)[0];e=l(".aiff-button a",e)[0],t&&(this._hasMp3Hi=!0,this._mp3HiPrice=u.decode(t.innerHTML),this._mp3HiId=u.decode(n.innerHTML),this._mp3HiKey=u.decode(o.innerHTML),this._mp3HiButtonNode=i),r&&(this._hasAiff=!0,this._aiffPrice=u.decode(r.innerHTML),this._aiffId=u.decode(s.innerHTML),this._aiffKey=u.decode(a.innerHTML),this._aiffButtonNode=e)},getId:function(){return this._id},getTitle:function(){return this._title},getArtist:function(){return this._artist},getArtistReleasesUrl:function(){return this._artistReleasesUrl},getPosition:function(){return this._position},getDuration:function(){return this._duration},getAudioSrc:function(){return this._audioSrc},getPreviouslyUnreleased:function(){return this._previouslyUnreleased},hasMp3Hi:function(){return this._hasMp3Hi},getMp3HiPrice:function(){return this._mp3HiPrice},getMp3HiId:function(){return this._mp3HiId},getMp3HiKey:function(){return this._mp3HiKey},getMp3HiButtonNode:function(){return this._mp3HiButtonNode},hasAiff:function(){return this._hasAiff},getAiffPrice:function(){return this._aiffPrice},getAiffId:function(){return this._aiffId},getAiffKey:function(){return this._aiffKey},getAiffButtonNode:function(){return this._aiffButtonNode}})})},"kompakt/player/SubscriptionManager":function(){define(["dojo/_base/declare","dojo/topic"],function(e,n){return e(null,{setTurntableSubscriptions:function(t){n.subscribe("playlist/onpercentplayed",function(e){t.seek(e)}),n.subscribe("playlist/whileloading",function(e){t.setAudioLoadProgress(e)}),n.subscribe("playlist/onpause",function(e){t.pause()}),n.subscribe("playlist/onstop",function(e){t.stop()}),n.subscribe("playlist/onfinish",function(e){t.stop()})},setTurntablePlacerSubscriptions:function(t){n.subscribe("playlist/onplay",function(e){t.place(e)})},setTracklistSubscriptions:function(t){n.subscribe("player/start",function(){t.render()}),n.subscribe("player/has-tracks",function(){t.show()}),n.subscribe("playlist/onplay",function(e){t.getTrackWidget(e).play(),"undefined"!=typeof gtag&&null!=gtag&&(e=t.getTrackWidget(e).getTrack(),gtag("event","play",{event_category:e.getArtist()+" // "+e.getTitle()}))}),n.subscribe("playlist/onresume",function(e){t.getTrackWidget(e).play()}),n.subscribe("playlist/onpause",function(e){t.getTrackWidget(e).pause()}),n.subscribe("playlist/onstop",function(e){t.getTrackWidget(e).pause()}),n.subscribe("playlist/onfinish",function(e){t.getTrackWidget(e).pause()}),n.subscribe("playlist/ontime",function(e){}),n.subscribe("collapse-expander/onexpand",function(){t.expand()}),n.subscribe("collapse-expander/oncollapse",function(){t.collapse()})},setPlaylistSubscriptions:function(t){n.subscribe("player-control
1s/onplaynext",function(){t.playNextOrFirst()}),n.subscribe("player-controls/onplayprev",function(){t.playPreviousOrLast()}),n.subscribe("player-controls/onplay",function(e){t.play()}),n.subscribe("player-controls/onpause",function(e){t.pause()}),n.subscribe("play-pauser/onplay",function(e){t.play()}),n.subscribe("play-pauser/onpause",function(e){t.pause()}),n.subscribe("turntable/onseek",function(e){t.seek(e)}),n.subscribe("playlist/onfinish",function(e){t.playNext(e)}),n.subscribe("tracklist-item/ontoggle",function(e){t.togglePlayPause(e)})},setControlsSubscriptions:function(t){n.subscribe("player/start",function(){t.render()}),n.subscribe("player/has-playable-tracks",function(){t.show()}),n.subscribe("playlist/onplay",function(e){t.play()}),n.subscribe("playlist/onresume",function(e){t.play()}),n.subscribe("playlist/onpause",function(e){t.pause()}),n.subscribe("playlist/onstop",function(e){t.pause()}),n.subscribe("playlist/onfinish",function(e){t.pause()})},setPlayPauserSubscriptions:function(t){n.subscribe("player/start",function(){t.render()}),n.subscribe("player/has-playable-tracks",function(){t.show()}),n.subscribe("playlist/onplay",function(e){t.play()}),n.subscribe("playlist/onresume",function(e){t.play()}),n.subscribe("playlist/onpause",function(e){t.pause()}),n.subscribe("playlist/onstop",function(e){t.pause()}),n.subscribe("playlist/onfinish",function(e){t.pause()})},setCollapseExpanderSubscriptions:function(e){n.subscribe("tracklist/onstartcollapsed",function(){e.render(),e.collapse(),e.show()})},setInfoSubscriptions:function(t){n.subscribe("player/start",function(){t.render()}),n.subscribe("player/has-playable-tracks",function(){}),n.subscribe("playlist/ontime",function(e){t.showTime(e.formattedTime)}),n.subscribe("playlist/ontrackinfo",function(e){t.setTrackInfo(e)}),n.subscribe("playlist/onplay",function(e){t.show()}),n.subscribe("playlist/onresume",function(e){t.show()}),n.subscribe("playlist/onpause",function(e){t.hide()}),n.subscribe("playlist/onstop",function(e){t.clearTime(),t.hide()}),n.subscribe("playlist/onfinish",function(e){t.clearTime(),t.hide()})}})})},"kompakt/player/Tracklist":function(){define("dojo/_base/array dojo/_base/declare dojo/_base/lang dojo/dom-construct dojo/dom-style dojo/query dojo/topic kompakt/player/Track".split(" "),function(e,t,n,o,i,a,l,u){return t(null,{_rootNode:null,_templateNode:null,_release:null,_playlist:null,_trackWidgets:{},constructor:function(e,t,n,o){this._rootNode=e,this._templateNode=a("li",e)[0],this._release=t,this._playlist=n,this._maxTracksShownOnStartup=o},render:function(){var o=0,i=0,r=!1,s=this;a("li",this._rootNode).orphan(),e.forEach(s._release.getTracks(),function(e){var t="tracklist_"+s._release.getId()+"_"+e.getId(),n=new u(s._makeTrackWidgetNode(),s._release,e,e.getAudioSrc()?t:null);(s._trackWidgets[t]=n).render(),o<s._maxTracksShownOnStartup?n.show():(n.hide(),r=!0),o++,e.getAudioSrc()&&(i++,s._playlist.addSound(t,e.getAudioSrc(),e))}),r&&l.publish("tracklist/onstartcollapsed"),l.publish("tracklist/playabletrackcount",i),l.publish("tracklist/trackcount",o)},show:function(){i.set(this._rootNode,"display","block")},hide:function(){i.set(this._rootNode,"display","none")},getTrackWidget:function(e){return this._trackWidgets[e]},getTrackWidgets:function(){return this._trackWidgets},collapse:function(){var e,t=0;for(e in this._trackWidgets)this._trackWidgets.hasOwnProperty(e)&&t++>=this._maxTracksShownOnStartup&&this._trackWidgets[e].hide()},expand:function(){for(var e in this._trackWidgets)this._trackWidgets.hasOwnProperty(e)&&this._trackWidgets[e].show()},_makeTrackWidgetNode:function(){var e=o.place(n.clone(this._templateNode),this._rootNode,"last");return i.set(e,"display","block"),e}})})},"kompakt/player/Track":function(){define("dojo/_base/array dojo/_base/declare dojo/dom-geometry dojo/dom-class dojo/dom-style dojo/dom-construct dojo/on dojo/query dojo/topic dojo/window kompakt/MicroStatusWidget".split(" "),function(e,t,n,o,i,r,s,a,l,u,c){return t(null,{_rootNode:null,_release:null,_track:null,_soundId:null,_positionNode:null,_titleNode:null,_artistNode:null,_durationNode:null,_playNode:null,_pauseNode:null,_mp3HiBoxNode:null,_aiffBoxNode:null,_statusWidget:null,constructor:function(e,t,n,o){this._rootNode=e,this._release=t,this._track=n,this._soundId=o,this._positionNode=a(".position",e)[0],this._titleNode=a(".title",e)[0],this._artistNode=a(".artist",e)[0],this._durationNode=a(".duration",e)[0],this._durationBoxNode=a(".duration-box",e)[0],this._playNode=a(".play",e)[0],this._pauseNode=a(".pause",e)[0],this._mp3HiBoxNode=a("span.buy-mp3hi-box",e)[0],this._aiffBoxNode=a("span.buy-aiff-box",e)[0],this._unreleasedNodes=a(".unreleased",e),e=a(".micro-status-widget",e)[0],this._statusWidget=new c(e)},getRootNode:function(){return this._rootNode},getTrack:function(){return this._track},render:function(){var t=this;o.add(this._rootNode,"js-stopped"),this._positionNode.innerHTML=this._track.getPosition(),this._titleNode.innerHTML=this._track.getTitle(),this._artistNode.innerHTML=this._track.getArtist(),this._artistNode.href=this._track.getArtistReleasesUrl(),this._durationNode.innerHTML=this._track.getDuration(),this._track.getPreviouslyUnreleased()&&"1"==this._track.getPreviouslyUnreleased()&&e.forEach(this._unreleasedNodes,function(e){i.set(e,"display","inline-block")}),this._track.getDuration()&&"00:00"!=this._track.getDuration()&&i.set(this._durationBoxNode,"display","inline"),this._track.hasMp3Hi()&&r.place(this._track.getMp3HiButtonNode(),this._mp3HiBoxNode,"last"),this._track.hasAiff()&&r.place(this._track.getAiffButtonNode(),this._aiffBoxNode,"last"),this._soundId?(s(t._playNode,"click",function(e){e.preventDefault(),e.stopPropagation(),l.publish("tracklist-item/ontoggle",t._soundId),u.scrollIntoView(t._titleNode)}),s(t._pauseNode,"click",function(e){e.preventDefault(),e.stopPropagation(),l.publish("tracklist-item/ontoggle",t._soundId)}
1)):(o.add(this._rootNode,"js-no-audio"),o.remove(this._rootNode,"js-stopped"),o.remove(this._rootNode,"js-playing"))},play:function(){o.add(this._rootNode,"js-playing"),o.remove(this._rootNode,"js-stopped")},pause:function(){o.add(this._rootNode,"js-stopped"),o.remove(this._rootNode,"js-playing")},isActive:function(e){e?o.add(this._rootNode,"js-active"):o.remove(this._rootNode,"js-active")},setTime:function(e){},hide:function(){i.set(this._rootNode,"display","none")},show:function(){i.set(this._rootNode,"display","block")}})})},"dojo/window":function(){define("./_base/lang ./sniff ./_base/window ./dom ./dom-geometry ./dom-style ./dom-construct".split(" "),function(e,A,C,O,j,M,r){A.add("rtl-adjust-position-for-verticalScrollBar",function(e,t){var n=C.body(t),o=r.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},n,"last"),i=r.create("div",{style:{overflow:"hidden",direction:"ltr"}},o,"last"),t=0!=j.position(i).x;return o.removeChild(i),n.removeChild(o),t}),A.add("position-fixed-support",function(e,t){var n=C.body(t),o=r.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},n,"last"),i=r.create("span",{style:{position:"fixed",left:"0",top:"0"}},o,"last"),t=j.position(i).x!=j.position(o).x;return o.removeChild(i),n.removeChild(o),t});var i={getBox:function(e){var t,n="BackCompat"==(e=e||C.doc).compatMode?C.body(e):e.documentElement,o=j.docScroll(e),n=A("touch")?(e=(t=i.get(e)).innerWidth||n.clientWidth,t.innerHeight||n.clientHeight):(e=n.clientWidth,n.clientHeight);return{l:o.x,t:o.y,w:e,h:n}},get:function(e){if(A("ie")&&i!==document.parentWindow){e.parentWindow.execScript("document._parentWindow = window;","Javascript");var t=e._parentWindow;return e._parentWindow=null,t}return e.parentWindow||e.defaultView},scrollIntoView:function(t,e){try{var n=(t=O.byId(t)).ownerDocument||C.doc,o=C.body(n),i=n.documentElement||o.parentNode,r=A("ie")||A("trident"),s=A("webkit");if(t!=o&&t!=i)if(!(A("mozilla")||r||s||A("opera")||A("trident")||A("edge"))&&"scrollIntoView"in t)t.scrollIntoView(!1);else{function a(e,t,n){"BODY"==e.tagName||"HTML"==e.tagName?h.get(e.ownerDocument).scrollBy(t,n):(t&&(e.scrollLeft+=t),n&&(e.scrollTop+=n))}var l="BackCompat"==n.compatMode,u=Math.min(o.clientWidth||i.clientWidth,i.clientWidth||o.clientWidth),c=Math.min(o.clientHeight||i.clientHeight,i.clientHeight||o.clientHeight),n=s||l?o:i,d=e||j.position(t),f=t.parentNode,h=this;if(!(s=function(e){return!(r<=6||7==r&&l)&&(A("position-fixed-support")&&"fixed"==M.get(e,"position").toLowerCase())})(t))for(;f;){f==o&&(f=n);var p,m,g,_=j.position(f),y=s(f),b="rtl"==M.getComputedStyle(f).direction.toLowerCase();f==n?(_.w=u,_.h=c,n==i&&(r||A("trident"))&&b&&(_.x+=n.offsetWidth-_.w),_.x=0,_.y=0):(p=j.getPadBorderExtents(f),_.w-=p.w,_.h-=p.h,_.x+=p.l,_.y+=p.t,m=f.clientWidth,g=_.w-m,0<m&&0<g&&(b&&A("rtl-adjust-position-for-verticalScrollBar")&&(_.x+=g),_.w=m),m=f.clientHeight,g=_.h-m,0<m&&0<g&&(_.h=m)),y&&(_.y<0&&(_.h+=_.y,_.y=0),_.x<0&&(_.w+=_.x,_.x=0),_.y+_.h>c&&(_.h=c-_.y),_.x+_.w>u&&(_.w=u-_.x));var v,w,x=d.x-_.x,T=d.y-_.y,k=x+d.w-_.w,E=T+d.h-_.h;0<k*x&&(f.scrollLeft||f==n||f.scrollWidth>f.offsetHeight)&&(v=Math[x<0?"max":"min"](x,k),b&&(8==r&&!l||5<=A("trident"))&&(v=-v),w=f.scrollLeft,a(f,v,0),v=f.scrollLeft-w,d.x-=v),0<E*T&&(f.scrollTop||f==n||f.scrollHeight>f.offsetHeight)&&(v=Math.ceil(Math[T<0?"max":"min"](T,E)),w=f.scrollTop,a(f,0,v),v=f.scrollTop-w,d.y-=v),f=f!=n&&!y&&f.parentNode}}}catch(e){console.error("scrollIntoView: "+e),t.scrollIntoView(!1)}}};return e.setObject("dojo.window",i),i})},"kompakt/player/Turntable":function(){define("dojo/_base/declare dojo/on dojo/query dojo/dom-style dojo/dom-geometry dojo/topic".split(" "),function(e,n,o,i,r,s){function a(){y=i.get(h,"width"),w=y/2-(v=288*y/1065)-(b=12*y/1065),x=v/100*(100-t)}function l(){var e=2*x+2*w,t=(y-e)/2;i.set(p,{top:t+"px",left:t+"px",width:e+"px",height:e+"px"})}var u,c,d,f,h,p,m,g,_,y,b,v,w,x,T,k=new Image,E=new Image,A=!1,C=!1,t=0,O=37,j=0,M=function(){var e=document.body,t=["Webkit","Moz","O","ms","Khtml"],n={domProperty:"transform",cssProperty:"transform"};if(e.style.transform)return n;for(var o=0;o<t.length;o++)if(void 0!==e.style[t[o]+"Transform"])return n.domProperty=t[o
1]+"Transform",n.cssProperty="-"+t[o].toLowerCase()+"-transform",n;return!1}(),N=function(){A&&C&&(i.set(g,"background-image","url("+u.src+")"),i.set(h,"background-image","url("+c.src+")"),_.style[M.domProperty]="rotate("+O+"deg)",i.set(d,"display","none"),i.set(f,"display","block"))},I=function(e){O=(65.9-45.1)*e/100+45.1,M&&(_.style[M.domProperty]="rotate("+O+"deg)")},S=function(){M&&(T=requestAnimationFrame(S),m.style[M.domProperty]="rotate("+j+"deg)",j=360==j?0:j+3)};return e(null,{constructor:function(e,t){u=o(".tonearm-src",e=e)[0],c=o(".vinyl-src",e)[0],d=o(".loading",e)[0],f=o(".ui",e)[0],h=o(".vinyl",f)[0],p=o(".audio-load-progress",f)[0],m=o(".artwork",f)[0],g=o(".tonearm",f)[0],_=o(".tonearm-box",f)[0],a(),n(h,"click",function(e){var t=e.pageX;e=e.pageY;var n=(i=r.position(h,!0)).x+y/2,o=i.y+y/2,i=o-w,t=Math.sqrt((n-t)*(n-t)+(o-e)*(o-e));0<=(t=e<i||i+2*w<e||t<w+x||y/2-b<t?-1:100*(y/2-b-t)/v)&&(I(t),T||S(),s.publish("turntable/onseek",t))}),k.onload=function(){A=!0,N()},E.onload=function(){C=!0,N()},k.src=u.src,E.src=c.src,this.setArtwork(t.getArtworkThumbSrc()),n(window,"resize",function(){a(),l()})},setArtwork:function(e){m.src=e},setAudioLoadProgress:function(e){t=e,a(),l()},start:function(){T||S(),I(0)},stop:function(){T&&(cancelAnimationFrame(T),T=!1),O=37,M&&(_.style[M.domProperty]="rotate("+O+"deg)")},pause:function(){T&&(cancelAnimationFrame(T),T=!1)},resume:function(){37===O?start():T||S()},toggle:function(){(T?pause:resume)()},seek:function(e){I(e=t<e?t:e),T||T||S()}})})},"kompakt/player/TurntablePlacer":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/query"],function(e,o,i){return e(null,{_turntablePlacerNode:null,_tracklist:null,_turntable:null,constructor:function(e,t,n){this._turntablePlacerNode=e,this._tracklist=t,this._turntable=n},place:function(e){var t=this._tracklist.getTrackWidget(e);if(t){for(e in this._tracklist.getTrackWidgets()){var n=this._tracklist.getTrackWidget(e);n&&n.isActive(!1)}t.isActive(!0),this._turntable.setAudioLoadProgress(0),o.place(this._turntablePlacerNode,i(".turntable-box",t.getRootNode())[0],"last")}}})})},"kompakt/player/Playlist":function(){define(["dojo/_base/declare","dojo/topic"],function(e,i){return e(null,{_soundManager:null,_soundIds:[],constructor:function(e){this._soundManager=e},formatTime:function(e,t){t=void 0===t?":":t;var n=3600<=(e=parseInt(e,10))?Math.floor(e/3600):0,o=60<=e-3600*n?Math.floor((e-3600*n)/60):0,i=(i=e-3600*n-60*o)<10?"0"+i:i;return e<60?e:e<3600?o+t+i:n+t+(o<10?"0"+o:o)+t+i},addSound:function(e,t,n){var o=this;this._soundIds[this._soundIds.length]=e,this._soundManager.createSound({id:e,url:t,volume:100,autoLoad:!1,autoPlay:!1,onid3:function(){i.publish("playlist/onid3",this.id)},whileplaying:function(){i.publish("playlist/onpercentplayed",100*this.position/this.durationEstimate);var e=o.formatTime(Math.round(this.position/1e3));i.publish("playlist/ontime",{soundId:this.id,formattedTime:e})},whileloading:function(){i.publish("playlist/whileloading",100*this.bytesLoaded/this.bytesTotal)},onplay:function(){i.publish("playlist/ontrackinfo",n),i.publish("playlist/onplay",this.id)},onresume:function(){i.publish("playlist/onresume",this.id)},onpause:function(){i.publish("playlist/onpause",this.id)},onstop:function(){this.setPosition(0),i.publish("playlist/onstop",this.id),this.unload()},onfinish:function(){this.setPosition(0),i.publish("playlist/onfinish",this.id)}})},play:function(){for(var e in this._soundIds){e=this._soundManager.getSoundById(this._soundIds[e]);if(e&&e.paused)return void e.play()}this.playNextOrFirst()},pause:function(){for(var e in this._soundIds){e=this._soundManager.getSoundById(this._soundIds[e]);if(e&&1===e.playState){e.pause();break}}},seek:function(e){for(var t in this._soundIds){var n=this._soundManager.getSoundById(this._soundIds[t]);if(n){t=e*n.durationEstimate/100;if(n.paused){n.setPosition(t),n.play();break}if(1===n.playState){n.setPosition(t);break}}}},togglePlayPause:function(e){var t=this._getSoundIndex(e);if(t=this._soundManager.getSoundById(this._soundIds[t])){for(var n in this._soundIds)e!=this._soundIds[n]&&(this._soundManager.getSoundById(this._soundIds[n]).setPosition(0),this._soundManager.getSoundById(this._soundIds[n]).stop());0===t.playState?(t.setPosition(0),t.play()):t.paused?t.resume():t.pause()}},playNext:function(e){var t=this._getSoundIndex(e);e=this._soundManager.getSoundById(this._soundIds[t]),t=this._soundManager.getSoundById(this._soundIds[t+1]),this._playFollowing(e,t)},playNextOrFirst:function(){var e=this._getCurrentSoundIndex(),t=this._soundManager.getSoundById(this._soundIds[e]),e=this._soundManager.getSoundById(this._soundIds[e+1]),t=t||this._soundManager.getSoundById(this._soundIds[0]);e||(followingSoundIndex=0,e=this._soundManager.getSoundById(this._soundIds[followingSoundIndex])),this._playFollowing(t,e)},playPreviousOrLast:function(){var e=this._getCurrentSoundIndex(),t=this._soundManager.getSoundById(this._soundIds[e]),n=this._soundManager.getSoundById(this._soundIds[e-1]);t||(e=this._soundIds.length-1,t=this._soundManager.getSoundById(this._soundIds[e])),n||(followingSoundIndex=this._soundIds.length-1,n=this._soundManager.getSoundById(this._soundIds[followingSoundIndex])),this._playFollowing(t,n)},_playFollowing:function(e,t){e&&(e.stop(),e.unload()),t&&t.play()},_getCurrentSoundIndex:function(){for(var e in this._soundIds)if(this._soundManager.getSoundById(this._soundIds[e]).playState)return+e},_getSoundIndex:function(e){for(var t in this._soundIds)if(e===this._soundIds[t])return+t}})})},"kompakt/search":function(){define(["dojo/query","kompakt/search/Input","dojo/domReady!"],function(e,t){e(".search-widget").forEach(function(e){}),e(".jumbox .search input").forEach(function(e){e.value||e.focus(),"number"==typeof e.selectionStart?e.selectionStart=e.selectionEnd=e.value.length:void 0!==e.createTextRange&&(e.focus(),(e=e.createTextRange()).collapse(!1),e.select())})})},"kompakt/search/Input":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/query","dojo/on"],function(e,n,o,i){function r(e){n.remove(e,"off"),n.add(e,"active")}return e(null,{constructor:function(t){o("button",t);var e=o("input",t)[0];e.value&&r(t),i(e,"focusin",function(e){e.preventDefault(),e.stopPropagation(),r(t)}),i(e,"focusout",function(e){e.preventDefault(),e.stopPropagation(),n.remove(t,"active"),n.add(t,"off")})}})})},"kompakt/account/delete":function(){define(["dojo/on","dojo/query","dojo/domReady!"],function(e,t){var n;(n=t("form.account-delete-form")[0])&&(t=t(".delete",n)[0],e(t,"click",function(e){if(e.preventDefault(),e.stopPropagation(),confirm("Do you really want to delete your account?"))return n.submit(),!0}))})},"kompakt/addresses/index":function(){define("dojo/_base/array dojo/dom dojo/on dojo/query dojo/topic dojo/domReady!".split(" "),function(e,t,n,o,i){var r,s;(s=o("form.addresses-form")[0])&&(r=t.byId("_method"),t=o(".delete",s),o=o(".pick-address",s),e.forEach(t,function(t){n(t,"click",function(e){if(e.preventDefault(),e.stopPropagation(),confirm("Would you like to delete this address?"))return r.value="DELETE",s.action=t.href,s.submit(),!0})}),e.forEach(o,function(t){n(t,"click",function(e){e.preventDefault(),e.stopPropagation(),r.value="PUT",s.action=t.href,s.submit()})}))})},"kompakt/checkout/cart":function(){define("dojo/_base/array dojo/dom dojo/on dojo/query dojo/topic dojo/domReady!".split(" "),function(e,n,o,t,i){var r,s,a;(a=t(".cart-items-form")[0])&&(r=t("#_method",a),s=t("a.update-item",a),t=t("a.delete-item",a),e.forEach(s,function(e){o(e,"click",function(e){return e.preventDefault(),e.stopPropagation(),r.value="PUT",a.submit(),!0})}),e.forEach(t,function(t){o(t,"click",function(e){return e.preventDefault(),e.stopPropagation(),r.value="PUT",e=t.id.replace(/delete_/,""),n.byId("quantity_"+e).value=0,a.submit(),!0})}))})},"kompakt/splash":function(){define(["dojo/query","dojo/dom-class","dojo/domReady!"],function(e,t){var n,o=e("body")[0],i=e(".splash-25 .modal ")[0],e=!1;i&&!document.cookie.match(/splash25=xx7/)&&(document.cookie="splash25=xx7",e=!0),e&&(n=new bootstrap.Modal(i),t.add(o,"splash-modal-open"),i.addEventListener("show.bs.modal",function(e){},!1),i.addEventListener("click",function(){n.hide()},!1),n.show(),setTimeout(function(){},5e3))})}}}),function(){var e=this.require;e({cache:{}}),e.async||e(["dojo"]),e.boot&&e.apply(null,e.boot)}(),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof XXXXXXX&&XXXXXXX.amd?XXXXXXX(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,function(){"use strict";const i=new Map,n={set(e,t,n){i.has(e)||i.set(e,new Map);const o=i.get(e);o.has(t)||0===o.size?o.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(e,t)=>i.has(e)&&i.get(e).get(t)||null,remove(e,t){if(i.has(e)){const n=i.get(e);n.delete(t),0===n.size&&i.delete(e)}}},r="transitionend",o=e=>e=e&&window.CSS&&window.CSS.escape?e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`):e,s=e=>{e.dispatchEvent(new Event(r))},a=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,l=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?document.querySelector(o(e)):null,u=e=>{if(!a(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},c=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),d=e=>{if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?d(e.parentNode):null;e=e.getRootNode();return e instanceof ShadowRoot?e:null},f=()=>{},h=e=>{e.offsetHeight},p=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,t=[],m=()=>"rtl"===document.documentElement.dir,e=o=>{var e=()=>{const e=p();if(e){const t=o.NAME,n=e.fn[t];
1e.fn[t]=o.jQueryInterface,e.fn[t].Constructor=o,e.fn[t].noConflict=()=>(e.fn[t]=n,o.jQueryInterface)}};"loading"===document.readyState?(t.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of t)e()}),t.push(e)):e()},g=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,_=(n,i,e=!0)=>{if(e){e=(()=>{if(!i)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(i);var n=Number.parseFloat(e),o=Number.parseFloat(t);return n||o?(e=e.split(",")[0],t=t.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(t))):0})()+5;let t=!1;const o=({target:e})=>{e===i&&(t=!0,i.removeEventListener(r,o),g(n))};i.addEventListener(r,o),setTimeout(()=>{t||s(i)},e)}else g(n)},y=(e,t,n,o)=>{var i=e.length;let r=e.indexOf(t);return-1===r?!n&&o?e[i-1]:e[0]:(r+=n?1:-1,o&&(r=(r+i)%i),e[Math.max(0,Math.min(r,i-1))])},b=/[^.]*(?=\..*)\.|.*/,v=/\..*/,w=/::\d+$/,x={};let T=1;const k={mouseenter:"mouseover",mouseleave:"mouseout"},E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function A(e,t){return t&&`${t}::${T++}`||e.uidEvent||T++}function C(e){var t=A(e);return e.uidEvent=t,x[t]=x[t]||{},x[t]}function O(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function j(e,t,n){var o="string"==typeof t,n=!o&&t||n;let i=I(e);return E.has(i)||(i=e),[o,n,i]}function M(o,i,r,s,a){if("string"==typeof i&&o){let[e,t,n]=j(i,r,s);if(i in k){const o=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};t=o(t)}const h=C(o),p=h[n]||(h[n]={}),m=O(p,t,e?r:null);if(m)return m.oneOff=m.oneOff&&a,0;const g=A(t,i.replace(b,"")),_=e?(c=o,d=r,f=t,function t(n){var o=c.querySelectorAll(d);for(let{target:e}=n;e&&e!==this;e=e.parentNode)for(const i of o)if(i===e)return P(n,{delegateTarget:e}),t.oneOff&&S.off(c,n.type,d,f),f.apply(e,[n])}):(l=o,u=t,function e(t){return P(t,{delegateTarget:l}),e.oneOff&&S.off(l,t.type,u),u.apply(l,[t])});var l,u,c,d,f;_.delegationSelector=e?r:null,_.callable=t,_.oneOff=a,_.uidEvent=g,p[g]=_,o.addEventListener(n,_,e)}}function N(e,t,n,o,i){o=O(t[n],o,i);o&&(e.removeEventListener(n,o,Boolean(i)),delete t[n][o.uidEvent])}function I(e){return e=e.replace(v,""),k[e]||e}const S={on(e,t,n,o){M(e,t,n,o,!1)},one(e,t,n,o){M(e,t,n,o,!0)},off(e,t,n,o){if("string"==typeof t&&e){const[i,r,s]=j(t,n,o),a=s!==t,l=C(e),u=l[s]||{},c=t.startsWith(".");if(void 0===r){if(c)for(const n of Object.keys(l))!function(e,t,n,o){var i,r,s=t[n]||{};for([i,r]of Object.entries(s))i.includes(o)&&N(e,t,n,r.callable,r.delegationSelector)}(e,l,n,t.slice(1));for(const[n,o]of Object.entries(u)){const i=n.replace(w,"");a&&!t.includes(i)||N(e,l,s,o.callable,o.delegationSelector)}}else Object.keys(u).length&&N(e,l,s,r,i?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=p();let i=null,r=!0,s=!0,a=!1;t!==I(t)&&o&&(i=o.Event(t,n),o(e).trigger(i),r=!i.isPropagationStopped(),s=!i.isImmediatePropagationStopped(),a=i.isDefaultPrevented());const l=P(new Event(t,{bubbles:r,cancelable:!0}),n);return a&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&i&&i.preventDefault(),l}};function P(e,t={}){for(const[n,o]of Object.entries(t))try{e[n]=o}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>o})}return e}function L(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function D(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const H={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${D(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${D(t)}`)},getDataAttributes(t){if(!t)return{};const n={},e=Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const o of e){let e=o.replace(/^bs/,"");e=e.charAt(0).toLowerCase()+e.slice(1,e.length),n[e]=L(t.dataset[o])}return n},getDataAttribute:(e,t)=>
1L(e.getAttribute(`data-bs-${D(t)}`))};class F{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){var n=a(t)?H.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...a(t)?H.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(var[n,o]of Object.entries(t)){const t=e[n],r=a(t)?"element":null==(i=t)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${o}".`)}var i}}class R extends F{constructor(e,t){super(),(e=l(e))&&(this._element=e,this._config=this._getConfig(t),n.set(this._element,this.constructor.DATA_KEY,this))}dispose(){n.remove(this._element,this.constructor.DATA_KEY),S.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){_(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return n.get(l(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.1"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const q=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),n=e&&"#"!==e?e.trim():null}return o(n)},B={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let o=e.parentNode.closest(t);for(;o;)n.push(o),o=o.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!c(e)&&u(e))},getSelectorFromElement(e){e=q(e);return e&&B.findOne(e)?e:null},getElementFromSelector(e){e=q(e);return e?B.findOne(e):null},getMultipleElementsFromSelector(e){e=q(e);return e?B.find(e):[]}},W=(t,n="hide")=>{const e=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;S.on(document,e,`[data-bs-dismiss="${o}"]`,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this)||(e=B.getElementFromSelector(this)||this.closest(`.${o}`),t.getOrCreateInstance(e)[n]())})};class U extends R{static get NAME(){return"alert"}close(){var e;S.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),e=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,e))}_destroyElement(){this._element.remove(),S.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=U.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}W(U,"close"),e(U);const z='[data-bs-toggle="button"]';class V extends R{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const e=V.getOrCreateInstance(this);"toggle"===t&&e[t]()})}}S.on(document,"click.bs.button.data-api",z,e=>{e.preventDefault();e=e.target.closest(z);V.getOrCreateInstance(e).toggle()}),e(V);const X=".bs.swipe",$=(X,X,X,X,X,{endCallback:null,leftCallback:null,rightCallback:null}),Q={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class K extends F{constructor(e,t){super(),(this._element=e)&&K.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return $}static get DefaultType(){return Q}static get NAME(){return"swipe"}dispose(){S.off(this._element,X)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){var e=Math.abs(this._deltaX);e<=40||(e=e/this._deltaX,this._deltaX=0,e&&g(0<e?this._config.rightCallback:this._config.leftCallback))}_initEvents(){this._supportPointerEvents?(S.on(this._element,"pointerdown.bs.swipe",e=>this._start(e)),S.on(this._element,"pointerup.bs.swipe",e=>this._end(e)),this._element.classList.add("pointer-event")):(S.on(this._element,"touchstart.bs.swipe",e=>this._start(e)),S.on(this._element,"touchmove.bs.swipe",e=>this._move(e)),S.on(this._element,"touchend.bs.swipe",e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0<navigator.maxTouchPoints}}const Y=".bs.carousel",G="next",J="prev",Z="left",ee="right",te=`slid${Y}`,ne="active",oe=".carousel-item",ie=(oe,{ArrowLeft:ee,ArrowRight:Z}),re={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},se={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ae extends R{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=B.findOne(".carousel-indicators",this._element),this._addEventListeners(),"carousel"===this._config.ride&&this.cycle()}static get Default(){return re}static get DefaultType(){return se}static get NAME(){return"carousel"}next(){this._slide(G)}nextWhenVisible(){!document.hidden&&u(this._element)&&this.next()}prev(){this._slide(J)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?S.one(this._element,te,()=>this.cycle()):this.cycle())}to(e){var t,n=this._getItems();e>n.length-1||e<0||(this._isSliding?S.one(this._element,te,()=>this.to(e)):(t=this._getItemIndex(this._getActive()))!==e&&(t=t<e?G:J,this._slide(t,n[e])))}
1dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&S.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(S.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),S.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&K.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of B.find(".carousel-item img",this._element))S.on(e,"dragstart.bs.carousel",e=>e.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(Z)),rightCallback:()=>this._slide(this._directionToOrder(ee)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new K(this._element,e)}_keydown(e){var t;/input|textarea/i.test(e.target.tagName)||(t=ie[e.key])&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=B.findOne(".active",this._indicatorsElement);t.classList.remove(ne),t.removeAttribute("aria-current");const n=B.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ne),n.setAttribute("aria-current","true"))}}_updateInterval(){const e=this._activeElement||this._getActive();var t;e&&(t=Number.parseInt(e.getAttribute("data-bs-interval"),10),this._config.interval=t||this._config.defaultInterval)}_slide(t,e=null){if(!this._isSliding){const n=this._getActive(),o=t===G,i=e||y(this._getItems(),n,o,this._config.wrap);if(i!==n){const r=this._getItemIndex(i),s=e=>S.trigger(this._element,e,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:r});if(!s("slide.bs.carousel").defaultPrevented&&n&&i){e=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=i;const a=o?"carousel-item-start":"carousel-item-end",l=o?"carousel-item-next":"carousel-item-prev";i.classList.add(l),h(i),n.classList.add(a),i.classList.add(a),this._queueCallback(()=>{i.classList.remove(a,l),i.classList.add(ne),n.classList.remove(ne,l,a),this._isSliding=!1,s(te)},n,this._isAnimated()),e&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return B.findOne(".active.carousel-item",this._element)}_getItems(){return B.find(oe,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return m()?e===Z?J:G:e===Z?G:J}_orderToDirection(e){return m()?e===J?Z:ee:e===J?ee:Z}static jQueryInterface(t){return this.each(function(){const e=ae.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)})}}S.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(e){const t=B.getElementFromSelector(this);if(t&&t.classList.contains("carousel")){e.preventDefault();const n=ae.getOrCreateInstance(t),o=this.getAttribute("data-bs-slide-to");o?n.to(o):"next"===H.getDataAttribute(this,"slide")?n.next():n.prev(),n._maybeEnableCycle()}}),S.on(window,"load.bs.carousel.data-api",()=>{for(const e of B.find('[data-bs-ride="carousel"]'))ae.getOrCreateInstance(e)}),e(ae);const le="collapse",ue="collapsing",ce=(le,le,'[data-bs-toggle="collapse"]'),de={parent:null,toggle:!0},fe={parent:"(null|element)",toggle:"boolean"};class he extends R{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=B.find(ce);for(const e of n){const t=B.getSelectorFromElement(e),n=B.find(t).filter(e=>e===this._element);null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return de}static get DefaultType(){return fe}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let e=[];
1if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(e=>e!==this._element).map(e=>he.getOrCreateInstance(e,{toggle:!1}))),!(e.length&&e[0]._isTransitioning||S.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(const n of e)n.hide();const n=this._getDimension();this._element.classList.remove(le),this._element.classList.add(ue),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var t=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ue),this._element.classList.add(le,"show"),this._element.style[n]="",S.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=`${this._element[t]}px`}}}hide(){if(!this._isTransitioning&&this._isShown()&&!S.trigger(this._element,"hide.bs.collapse").defaultPrevented){const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,h(this._element),this._element.classList.add(ue),this._element.classList.remove(le,"show");for(const t of this._triggerArray){var e=B.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ue),this._element.classList.add(le),S.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(e=this._element){return e.classList.contains("show")}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=l(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const e=this._getFirstLevelChildren(ce);for(const t of e){const e=B.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}}_getFirstLevelChildren(e){const t=B.find(":scope .collapse .collapse",this._config.parent);return B.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(t){const n={};return"string"==typeof t&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const e=he.getOrCreateInstance(this,n);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}S.on(document,"click.bs.collapse.data-api",ce,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of B.getMultipleElementsFromSelector(this))he.getOrCreateInstance(e,{toggle:!1}).toggle()}),e(he);var pe="top",me="bottom",ge="right",_e="left",ye="auto",be=[pe,me,ge,_e],ve="start",we="end",xe="clippingParents",Te="viewport",ke="popper",Ee="reference",Ae=be.reduce(function(e,t){return e.concat([t+"-"+ve,t+"-"+we])},[]),Ce=[].concat(be,[ye]).reduce(function(e,t){return e.concat([t,t+"-"+ve,t+"-"+we])},[]),Oe="beforeRead",je="beforeMain",Me="beforeWrite",Ne="afterWrite",Ie=[Oe,"read","afterRead",je,"main","afterMain",Me,"write",Ne];function Se(e){return e?(e.nodeName||"").toLowerCase():null}function Pe(e){if(null==e)return window;if("[object Window]"===e.toString())return e;e=e.ownerDocument;return e&&e.defaultView||window}function Le(e){return e instanceof Pe(e).Element||e instanceof Element}function De(e){return e instanceof Pe(e).HTMLElement||e instanceof HTMLElement}function He(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Pe(e).ShadowRoot||e instanceof ShadowRoot)}var Fe={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var i=e.state;Object.keys(i.elements).forEach(function(e){var t=i.styles[e]||{},n=i.attributes[e]||{},o=i.elements[e];De(o)&&Se(o)&&(Object.assign(o.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var o=e.state,i={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,i.popper),o.styles=i,o.elements.arrow&&Object.assign(o.elements.arrow.style,i.arrow),function(){Object.keys(o.elements).forEac
1h(function(e){var t=o.elements[e],n=o.attributes[e]||{},e=Object.keys((o.styles.hasOwnProperty(e)?o.styles:i)[e]).reduce(function(e,t){return e[t]="",e},{});De(t)&&Se(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};function Re(e){return e.split("-")[0]}var qe=Math.max,Be=Math.min,We=Math.round;function Ue(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ze(){return!/^((?!chrome|android).)*safari/i.test(Ue())}function Ve(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),i=1,r=1;t&&De(e)&&(i=0<e.offsetWidth&&We(o.width)/e.offsetWidth||1,r=0<e.offsetHeight&&We(o.height)/e.offsetHeight||1);t=(Le(e)?Pe(e):window).visualViewport,e=!ze()&&n,n=(o.left+(e&&t?t.offsetLeft:0))/i,t=(o.top+(e&&t?t.offsetTop:0))/r,i=o.width/i,r=o.height/r;return{width:i,height:r,top:t,right:n+i,bottom:t+r,left:n,x:n,y:t}}function Xe(e){var t=Ve(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function $e(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&He(n)){var o=t;do{if(o&&e.isSameNode(o))return!0}while(o=o.parentNode||o.host)}return!1}function Qe(e){return Pe(e).getComputedStyle(e)}function Ke(e){return((Le(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ye(e){return"html"===Se(e)?e:e.assignedSlot||e.parentNode||(He(e)?e.host:null)||Ke(e)}function Ge(e){return De(e)&&"fixed"!==Qe(e).position?e.offsetParent:null}function Je(e){for(var t=Pe(e),n=Ge(e);n&&0<=["table","td","th"].indexOf(Se(n))&&"static"===Qe(n).position;)n=Ge(n);return(!n||"html"!==Se(n)&&("body"!==Se(n)||"static"!==Qe(n).position))&&(n||function(e){var t=/firefox/i.test(Ue());if(/Trident/i.test(Ue())&&De(e)&&"fixed"===Qe(e).position)return null;var n=Ye(e);for(He(n)&&(n=n.host);De(n)&&["html","body"].indexOf(Se(n))<0;){var o=Qe(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e))||t}function Ze(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function et(e,t,n){return qe(e,Be(t,n))}function tt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function nt(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}var ot={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,o=e.state,i=e.name,r=e.options,s=o.elements.arrow,a=o.modifiersData.popperOffsets,l=Re(o.placement),u=Ze(l),c=0<=[_e,ge].indexOf(l)?"height":"width";s&&a&&(t=tt("number"!=typeof(n="function"==typeof(n=r.padding)?n(Object.assign({},o.rects,{placement:o.placement})):n)?n:nt(n,be)),e=Xe(s),l="y"===u?pe:_e,r="y"===u?me:ge,n=o.rects.reference[c]+o.rects.reference[u]-a[u]-o.rects.popper[c],a=a[u]-o.rects.reference[u],s=(s=Je(s))?"y"===u?s.clientHeight||0:s.clientWidth||0:0,l=t[l],r=s-e[c]-t[r],r=et(l,a=s/2-e[c]/2+(n/2-a/2),r),o.modifiersData[i]=((i={})[u]=r,i.centerOffset=r-a,i))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&$e(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function it(e){return e.split("-")[1]}var rt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function st(e){var t=e.popper,n=e.popperRect,o=e.placement,i=e.variation,r=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,c=e.isFixed,d=r.x,f=void 0===d?0:d,h=r.y,p=void 0===h?0:h,m="function"==typeof u?u({x:f,y:p}):{x:f,y:p},f=m.x,p=m.y,g=r.hasOwnProperty("x"),_=r.hasOwnProperty("y"),y=_e,e=pe,d=window;l&&(h="clientHeight",m="clientWidth",(r=Je(t))===Pe(t)&&"static"!==Qe(r=Ke(t)).position&&"absolute"===s&&(h="scrollHeight",m="scrollWidth"),o!==pe&&(o!==_e&&o!==ge||i!==we)||(e=me,p-=(c&&r===d&&d.visualVie
1wport?d.visualViewport.height:r[h])-n.height,p*=a?1:-1),o!==_e&&(o!==pe&&o!==me||i!==we)||(y=ge,f-=(c&&r===d&&d.visualViewport?d.visualViewport.width:r[m])-n.width,f*=a?1:-1));var b,l=Object.assign({position:s},l&&rt),b=!0===u?(u={x:f,y:p},b=Pe(t),t=u.y,b=b.devicePixelRatio||1,{x:We(u.x*b)/b||0,y:We(t*b)/b||0}):{x:f,y:p};return f=b.x,p=b.y,a?Object.assign({},l,((a={})[e]=_?"0":"",a[y]=g?"0":"",a.transform=(d.devicePixelRatio||1)<=1?"translate("+f+"px, "+p+"px)":"translate3d("+f+"px, "+p+"px, 0)",a)):Object.assign({},l,((l={})[e]=_?p+"px":"",l[y]=g?f+"px":"",l.transform="",l))}var at={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,e=void 0===o||o,o=n.adaptive,o=void 0===o||o,n=n.roundOffsets,n=void 0===n||n,e={placement:Re(t.placement),variation:it(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:e,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,st(Object.assign({},e,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:n})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,st(Object.assign({},e,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:n})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},lt={passive:!0},ut={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,e=o.scroll,i=void 0===e||e,o=o.resize,r=void 0===o||o,s=Pe(t.elements.popper),a=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&a.forEach(function(e){e.addEventListener("scroll",n.update,lt)}),r&&s.addEventListener("resize",n.update,lt),function(){i&&a.forEach(function(e){e.removeEventListener("scroll",n.update,lt)}),r&&s.removeEventListener("resize",n.update,lt)}},data:{}},ct={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(e){return e.replace(/left|right|bottom|top/g,function(e){return ct[e]})}var ft={start:"end",end:"start"};function ht(e){return e.replace(/start|end/g,function(e){return ft[e]})}function pt(e){e=Pe(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mt(e){return Ve(Ke(e)).left+pt(e).scrollLeft}function gt(e){var t=Qe(e),n=t.overflow,e=t.overflowX,t=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+t+e)}function _t(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(Se(t))?t.ownerDocument.body:De(t)&&gt(t)?t:e(Ye(t))}(e),e=n===(null==(o=e.ownerDocument)?void 0:o.body),o=Pe(n),n=e?[o].concat(o.visualViewport||[],gt(n)?n:[]):n,t=t.concat(n);return e?t:t.concat(_t(Ye(n)))}function yt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bt(e,t,n){return t===Te?yt((s=n,a=Pe(r=e),l=Ke(r),u=a.visualViewport,c=l.clientWidth,d=l.clientHeight,a=f=0,u&&(c=u.width,d=u.height,((l=ze())||!l&&"fixed"===s)&&(f=u.offsetLeft,a=u.offsetTop)),{width:c,height:d,x:f+mt(r),y:a})):Le(t)?((i=Ve(o=t,!1,"fixed"===n)).top=i.top+o.clientTop,i.left=i.left+o.clientLeft,i.bottom=i.top+o.clientHeight,i.right=i.left+o.clientWidth,i.width=o.clientWidth,i.height=o.clientHeight,i.x=i.left,i.y=i.top,i):yt((a=Ke(e),t=Ke(a),n=pt(a),i=null==(o=a.ownerDocument)?void 0:o.body,e=qe(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=qe(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+mt(a),n=-n.scrollTop,"rtl"===Qe(i||t).direction&&(a+=qe(t.clientWidth,i?i.clientWidth:0)-e),{width:e,height:o,x:a,y:n}));var o,i,r,s,a,l,u,c,d,f}function vt(e){var t,n=e.reference,o=e.element,i=e.placement,e=i?Re(i):null,i=i?it(i):null,r=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(e){case pe:t={x:r,y:n.y-o.height};break;case me:t={x:r,y:n.y+n.height};break;case ge:t={x:n.x+n.width,y:s};break;case _e:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var a=e?Ze(e):null;if(null!=a){var l="y"===a?"height":"width";switch(i){case ve:t[a]=t[a]-(n[l]/2-o[l]/2);break;case we:t[a]=t[a]+(n[l]/2-o[l]/2)}}return t}function wt(e,t){var n,o,i,r,s,a=(t=void 0===t?{}:t).placement,l=void 0===a?e.placement:a,u=t.strategy,c=void 0===u?e.strategy:u,d=t.boundary,f=void 0===d?xe:d,h=t.rootBoundary,a=void 0===h?Te:h,u=t.elementContext,d=void 0===u?ke:u,h=t.altBoundary,u=void 0!==h&&h,h=t.padding,t=void 0===h?0:h,h=tt("number"!=typeof t?t:nt(t,be)),t=e.rects.popper,u=e.elements[u?d===ke?Ee:ke:d],i=(n=Le(u)?u:u.contextElement||Ke(e.elements.popper),a=a,o=c,c="clippingParents"===(c=f)?(i=_t(Ye(f=n)),Le(r=0<=["absolute","fixed"].indexOf(Qe(f).position)&&De(f)?Je(f):f)?i.filter(function(e){return Le(e)&&$e(e,r)&&"body"!==Se(e)}):[]):[].concat(c),c=[].concat(c,[a]),a=c[0],(a=c.reduce(function(e,t){t=bt(n,t,o);return e.top=qe(t.top,e.top),e.right=Be(t.right,e.right),e.bottom=Be(t.bottom,e.bottom),e.left=qe(t.left,e.left),e},bt(n,a,o))).width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a),c=Ve(e.elements.reference),a=vt({reference:c,element:t,strategy:"absolute",placement:l}),a=yt(Object.assign({},t,a)),c=d===ke?a:c,p={top:i.top-c.top+h.top,bottom:c.bottom-i.bottom+h.bottom,left:i.left-c.left+h.left,right:c.right-i.right+h.right},e=e.modifiersData.offset;
1return d===ke&&e&&(s=e[l],Object.keys(p).forEach(function(e){var t=0<=[ge,me].indexOf(e)?1:-1,n=0<=[pe,me].indexOf(e)?"y":"x";p[e]+=s[n]*t})),p}var xt={name:"flip",enabled:!0,phase:"main",fn:function(e){var d=e.state,t=e.options,n=e.name;if(!d.modifiersData[n]._skip){for(var o=t.mainAxis,i=void 0===o||o,e=t.altAxis,r=void 0===e||e,o=t.fallbackPlacements,f=t.padding,h=t.boundary,p=t.rootBoundary,s=t.altBoundary,e=t.flipVariations,m=void 0===e||e,g=t.allowedAutoPlacements,e=d.options.placement,t=Re(e),t=o||(t!==e&&m?function(e){if(Re(e)===ye)return[];var t=dt(e);return[ht(e),t,ht(t)]}(e):[dt(e)]),a=[e].concat(t).reduce(function(e,t){return e.concat(Re(t)===ye?(n=d,i=(o=void 0===(o={placement:t,boundary:h,rootBoundary:p,padding:f,flipVariations:m,allowedAutoPlacements:g})?{}:o).placement,r=o.boundary,s=o.rootBoundary,a=o.padding,e=o.flipVariations,l=void 0===(o=o.allowedAutoPlacements)?Ce:o,u=it(i),i=u?e?Ae:Ae.filter(function(e){return it(e)===u}):be,c=(e=0===(e=i.filter(function(e){return 0<=l.indexOf(e)})).length?i:e).reduce(function(e,t){return e[t]=wt(n,{placement:t,boundary:r,rootBoundary:s,padding:a})[Re(t)],e},{}),Object.keys(c).sort(function(e,t){return c[e]-c[t]})):t);var n,o,i,r,s,a,l,u,c},[]),l=d.rects.reference,u=d.rects.popper,c=new Map,_=!0,y=a[0],b=0;b<a.length;b++){var v=a[b],w=Re(v),x=it(v)===ve,T=0<=[pe,me].indexOf(w),k=T?"width":"height",E=wt(d,{placement:v,boundary:h,rootBoundary:p,altBoundary:s,padding:f}),T=T?x?ge:_e:x?me:pe;l[k]>u[k]&&(T=dt(T));x=dt(T),k=[];if(i&&k.push(E[w]<=0),r&&k.push(E[T]<=0,E[x]<=0),k.every(function(e){return e})){y=v,_=!1;break}c.set(v,k)}if(_)for(var A=m?3:1;0<A&&"break"!==function(t){var e=a.find(function(e){e=c.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return y=e,"break"}(A);A--);d.placement!==y&&(d.modifiersData[n]._skip=!0,d.placement=y,d.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Tt(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function kt(t){return[pe,ge,me,_e].some(function(e){return 0<=t[e]})}var Et={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,s=wt(t,{elementContext:"reference"}),e=wt(t,{altBoundary:!0}),o=Tt(s,o),e=Tt(e,i,r),i=kt(o),r=kt(e);t.modifiersData[n]={referenceClippingOffsets:o,popperEscapeOffsets:e,isReferenceHidden:i,hasPopperEscaped:r},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":i,"data-popper-escaped":r})}},At={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var s=e.state,t=e.options,n=e.name,o=t.offset,a=void 0===o?[0,0]:o,e=Ce.reduce(function(e,t){return e[t]=(n=t,o=s.rects,i=a,r=Re(n),t=0<=[_e,pe].indexOf(r)?-1:1,i=(i=(n="function"==typeof i?i(Object.assign({},o,{placement:n})):i)[0])||0,n=((n=n[1])||0)*t,0<=[_e,ge].indexOf(r)?{x:n,y:i}:{x:i,y:n}),e;var n,o,i,r},{}),t=e[s.placement],o=t.x,t=t.y;null!=s.modifiersData.popperOffsets&&(s.modifiersData.popperOffsets.x+=o,s.modifiersData.popperOffsets.y+=t),s.modifiersData[n]=e}},Ct={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=vt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ot={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,n,o=e.state,i=e.options,r=e.name,s=i.mainAxis,a=void 0===s||s,l=i.altAxis,u=void 0!==l&&l,c=i.boundary,d=i.rootBoundary,f=i.altBoundary,h=i.padding,p=i.tether,m=void 0===p||p,g=i.tetherOffset,_=void 0===g?0:g,y=wt(o,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),b=Re(o.placement),v=it(o.placement),w=!v,x=Ze(b),T="x"===x?"y":"x",k=o.modifiersData.popperOffsets,E=o.rects.reference,e=o.rects.popper,s="function"==typeof _?_(Object.assign({},o.rects,{placement:o.placement})):_,l="number"==typeof s?{mainAxis:s,altAxis:s}:Object.assign({mainAxis:0,altAxis:0},s),p=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,i={x:0,y:0};k&&(a&&(g="y"===x?"height":"width",d=(t=k[x])+y[c="y"===x?pe:_e],n=t-y[h="y"===x?me:ge],f=m?-e[g]/2:0,_=(v===ve?E:e)[g],s=v===ve?-e[g]:-E[g],a=o.elements.arrow,v=m&&a?Xe(a):{width:0,height:0},c=(a=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[c],h=a[h],v=et(0,E[g],v[g]),c=w?E[g]/2-f-v-c-l.mainAxis:_-v-c-l.mainAxis,s=w?-E[g]/2+f+v+h+l.mainAxis:s+v+h+l.mainAxis,h=(v=o.elements.arrow&&Je(o.elements.arrow))?"y"===x?v.clientTop||0:v.clientLeft||0:0,v=t+s-(s=null!=(v=null==p?void 0:p[x])?v:0),n=et(m?Be(d,t+c-s-h):d,t,m?qe(n,v):n),k[x]=n,i[x]=n-t),u&&(n="y"==T?"height":"width",u=(t=k[T])+y["x"===x?pe:_e],y=t-y["x"===x?me:ge],x=-1!==[pe,_e].indexOf(b),p=null!=(b=null==p?void 0:p[T])?b:0,b=x?u:t-E[n]-e[n]-p+l.altAxis,p=x?t+E[n]+e[n]-p-l.altAxis:y,y=m&&x?(x=et(b,t,l=p),l<x?l:x):et(m?b:u,t,m?p:y),k[T]=y,i[T]=y-t),o.modifiersData[r]=i)},requiresIfExists:["offset"]};function jt(e){var n=new Map,o=new Set,i=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){o.has(e.name)||function t(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
1h(function(e){o.has(e)||(e=n.get(e))&&t(e)}),i.push(e)}(e)}),i}var Mt={placement:"bottom",modifiers:[],strategy:"absolute"};function Nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function It(e){var t=(e=void 0===e?{}:e).defaultModifiers,d=void 0===t?[]:t,e=e.defaultOptions,f=void 0===e?Mt:e;return function(o,i,t){void 0===t&&(t=f);var n,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mt,f),modifiersData:{},elements:{reference:o,popper:i},attributes:{},styles:{}},a=[],l=!1,u={state:s,setOptions:function(e){e="function"==typeof e?e(s.options):e;c(),s.options=Object.assign({},f,s.options,e),s.scrollParents={reference:Le(o)?_t(o):o.contextElement?_t(o.contextElement):[],popper:_t(i)};var t,n,e=(n=jt((e=[].concat(d,s.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(t).map(function(e){return t[e]}))),Ie.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=e.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(n=e({state:s,name:t,instance:u,options:void 0===n?{}:n}),a.push(n||function(){}))}),u.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,e=e.popper;if(Nt(t,e)){s.rects={reference:function(e,t,n){void 0===n&&(n=!1);var o=De(t),i=De(t)&&(i=(s=t).getBoundingClientRect(),r=We(i.width)/s.offsetWidth||1,s=We(i.height)/s.offsetHeight||1,1!==r||1!==s),r=Ke(t),s=Ve(e,i,n),e={scrollLeft:0,scrollTop:0},i={x:0,y:0};return!o&&(o||n)||("body"===Se(t)&&!gt(r)||(e=(n=t)!==Pe(n)&&De(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:pt(n)),De(t)?((i=Ve(t,!0)).x+=t.clientLeft,i.y+=t.clientTop):r&&(i.x=mt(r))),{x:s.left+e.scrollLeft-i.x,y:s.top+e.scrollTop-i.y,width:s.width,height:s.height}}(t,Je(e),"fixed"===s.options.strategy),popper:Xe(e)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n,o,i,r=0;r<s.orderedModifiers.length;r++)!0!==s.reset?(n=(i=s.orderedModifiers[r]).fn,o=i.options,i=i.name,"function"==typeof n&&(s=n({state:s,options:void 0===o?{}:o,name:i,instance:u})||s)):(s.reset=!1,r=-1)}}},update:(n=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return r=r||new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(n())})})}),destroy:function(){c(),l=!0}};return Nt(o,i)&&u.setOptions(t).then(function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)}),u;function c(){a.forEach(function(e){return e()}),a=[]}}}var St=It(),Pt=It({defaultModifiers:[ut,Ct,at,Fe]}),Lt=It({defaultModifiers:[ut,Ct,at,Fe,At,xt,Ot,ot,Et]});const Dt=Object.freeze(Object.defineProperty({__proto__:null,afterMain:"afterMain",afterRead:"afterRead",afterWrite:Ne,applyStyles:Fe,arrow:ot,auto:ye,basePlacements:be,beforeMain:je,beforeRead:Oe,beforeWrite:Me,bottom:me,clippingParents:xe,computeStyles:at,createPopper:Lt,createPopperBase:St,createPopperLite:Pt,detectOverflow:wt,end:we,eventListeners:ut,flip:xt,hide:Et,left:_e,main:"main",modifierPhases:Ie,offset:At,placements:Ce,popper:ke,popperGenerator:It,popperOffsets:Ct,preventOverflow:Ot,read:"read",reference:Ee,right:ge,start:ve,top:pe,variationPlacements:Ae,viewport:Te,write:"write"},Symbol.toStringTag,{value:"Module"})),Ht=".bs.dropdown",Ft=".data-api",Rt="ArrowUp",qt="ArrowDown",Bt=`click${Ht}${Ft}`,Wt=`keydown${Ht}${Ft}`,Ut="show",zt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Vt=(zt,".dropdown-menu"),Xt=m()?"top-end":"top-start",$t=m()?"top-start":"top-end",Qt=m()?"bottom-end":"bottom-start",Kt=m()?"bottom-start":"bottom-end",Yt=m()?"left-start":"right-start",Gt=m()?"right-start":"left-start",Jt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Zt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"str
1ing",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class en extends R{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=B.next(this._element,Vt)[0]||B.prev(this._element,Vt)[0]||B.findOne(Vt,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Jt}static get DefaultType(){return Zt}static get NAME(){return"dropdown"}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!c(this._element)&&!this._isShown()){const e={relatedTarget:this._element};if(!S.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))S.on(e,"mouseover",f);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ut),this._element.classList.add(Ut),S.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!c(this._element)&&this._isShown()&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!S.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))S.off(e,"mouseover",f);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ut),this._element.classList.remove(Ut),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),S.trigger(this._element,"hidden.bs.dropdown",e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${"dropdown".toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===Dt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:a(this._config.reference)?e=l(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=Lt(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Ut)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Yt;if(e.classList.contains("dropstart"))return Gt;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?$t:Xt:t?Kt:Qt}
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(H.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...g(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=B.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>u(e));n.length&&y(n,t,e===qt,!n.includes(t)).focus()}static jQueryInterface(t){return this.each(function(){const e=en.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key)){const t=B.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(const n of t){const t=en.getInstance(n);if(t&&!1!==t._config.autoClose){const o=e.composedPath(),i=o.includes(t._menu);if(!(o.includes(t._element)||"inside"===t._config.autoClose&&!i||"outside"===t._config.autoClose&&i||t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))){const r={relatedTarget:t._element};"click"===e.type&&(r.clickEvent=e),t._completeHide(r)}}}}}static dataApiKeydownHandler(e){var t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,o=[Rt,qt].includes(e.key);if((o||n)&&(!t||n)){e.preventDefault();const i=this.matches(zt)?this:B.prev(this,zt)[0]||B.next(this,zt)[0]||B.findOne(zt,e.delegateTarget.parentNode),r=en.getOrCreateInstance(i);if(o)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),i.focus())}}}S.on(document,Wt,zt,en.dataApiKeydownHandler),S.on(document,Wt,Vt,en.dataApiKeydownHandler),S.on(document,Bt,en.clearMenus),S.on(document,"keyup.bs.dropdown.data-api",en.clearMenus),S.on(document,Bt,zt,function(e){e.preventDefault(),en.getOrCreateInstance(this).toggle()}),e(en);const tn="mousedown.bs.backdrop",nn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},on={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class rn extends F{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return nn}static get DefaultType(){return on}static get NAME(){return"backdrop"}show(e){if(this._config.isVisible){this._append();const t=this._getElement();this._config.isAnimated&&h(t),t.classList.add("show"),this._emulateAnimation(()=>{g(e)})}else g(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),g(e)})):g(e)}dispose(){this._isAppended&&(S.off(this._element,tn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=l(e.rootElement),e}_append(){var e;this._isAppended||(e=this._getElement(),this._config.rootElement.append(e),S.on(e,tn,()=>{g(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(e){_(e,this._getElement(),this._config.isAnimated)}}const sn=".bs.focustrap",an=(sn,sn,{autofocus:!0,trapElement:null}),ln={autofocus:"boolean",trapElement:"element"};class un extends F{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return an}static get DefaultType(){return ln}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),S.off(document,sn),S.on(document,"focusin.bs.focustrap",e=>this._handleFocusin(e)),S.on(document,"keydown.tab.bs.focustrap",e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,S.off(document,sn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target!==document&&e.target!==t&&!t.contains(e.target)){const n=B.focusableChildren(t);(0===n.length?t:"backward"===this._lastTabNavDirection?n[n.length-1]:n[0]).focus()}}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?"backward":"forward")}}const cn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",dn=".sticky-top",fn="padding-right",hn="margin-right";class pn{constructor(){this._element=document.body}getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,fn,e=>e+t),this._setElementAttributes(cn,fn,e=>e+t),this._setElementAttributes(dn,hn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,fn),this._resetElementAttributes(cn,fn),this._resetElementAttributes(dn,hn)}isOverflowing(){return 0<this.getWidth()}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,o){const i=this.getWidth();this._applyManipulationCallback(e,e=>{var t;e!==this._element&&window.innerWidth>e.clientWidth+i||(this._saveInitialAttribute(e,n),t=window.getComputedStyle(e).getPropertyValue(n),e.style.setProperty(n,`${o(Number.parseFloat(t))}px`))})}_saveInitialAttribute(e,t){var n=e.style.getPropertyValue(t);n&&H.setDataAttribute(e,t,n)}_resetElementAttributes(e,n){this._applyManipulationCallback(e,e=>{var t=H.getDataAttribute(e,n);null!==t?(H.removeDataAttribute(e,n),e.style.setProperty(n,t)):e.style.removeProperty(n)})}
1_applyManipulationCallback(e,t){if(a(e))t(e);else for(const n of B.find(e,this._element))t(n)}}const mn=".bs.modal",gn=(mn,mn,`hidden${mn}`),_n=`show${mn}`,yn=(mn,mn,mn,mn,mn,mn,"modal-open"),bn="modal-static",vn={backdrop:!0,focus:!0,keyboard:!0},wn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class xn extends R{constructor(e,t){super(e,t),this._dialog=B.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new pn,this._addEventListeners()}static get Default(){return vn}static get DefaultType(){return wn}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||S.trigger(this._element,_n,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(yn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(S.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){S.off(window,mn),S.off(this._dialog,mn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new rn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new un({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=B.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),h(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,S.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){S.on(this._element,"keydown.dismiss.bs.modal",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),S.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),S.on(this._element,"mousedown.dismiss.bs.modal",t=>{S.one(this._element,"click.dismiss.bs.modal",e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(yn),this._resetAdjustments(),this._scrollBar.reset(),S.trigger(this._element,gn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!S.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(bn)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(bn),this._queueCallback(()=>{this._element.classList.remove(bn),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=0<t;if(n&&!e){const e=m()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=m()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const e=xn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t](n)}})}}S.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=B.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),S.one(t,_n,e=>{e.defaultPrevented||S.one(t,gn,()=>{u(this)&&this.focus()})});e=B.findOne(".modal.show");e&&xn.getInstance(e).hide(),xn.getOrCreateInstance(t).toggle(this)}),W(xn),e(xn);const Tn=".bs.offcanvas",kn=".offcanvas.show",En=`hidePrevented${Tn}`,An=`hidden${Tn}`,Cn={backdrop:!0,keyboard:!0,scroll:!1},On={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class jn extends R{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Cn}static get DefaultType(){return On}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||S.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new pn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("showing"),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove("showing"),S.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(S.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new pn).reset(),S.trigger(this._element,An)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var e=Boolean(this._config.backdrop);return new rn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():S.trigger(this._element,En)}:null})}_initializeFocusTrap(){return new un({trapElement:this._element})}_addEventListeners(){S.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():S.trigger(this._element,En))})}static jQueryInterface(t){return this.each(function(){const e=jn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}S.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=B.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this)||(S.one(t,An,()=>{u(this)&&this.focus()}),(e=B.findOne(kn))&&e!==t&&jn.getInstance(e).hide(),jn.getOrCreateInstance(t).toggle(this))}),S.on(window,"load.bs.offcanvas.data-api",()=>{for(const e of B.find(kn))jn.getOrCreateInstance(e).show()}),S.on(window,"resize.bs.offcanvas",()=>{for(const e of B.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&jn.getOrCreateInstance(e).hide()}),W(jn),e(jn);const Mn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Nn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),In=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Sn={allowList:Mn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Pn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Ln={entry:"(string|element|function|null)",selector:"(string|element)"};class Dn extends F{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Sn}static get DefaultType(){return Pn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(e=>
1this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return 0<this.getContent().length}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(var[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Ln)}_setContent(e,t,n){const o=B.findOne(n,e);o&&((t=this._resolvePossibleFunction(t))?a(t)?this._putElementInTemplate(l(t),o):this._config.html?o.innerHTML=this._maybeSanitize(t):o.textContent=t:o.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const o=(new window.DOMParser).parseFromString(e,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(Object.keys(t).includes(n)){const o=[].concat(...e.attributes),i=[].concat(t["*"]||[],t[n]||[]);for(const t of o)((e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Nn.has(n)||Boolean(In.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))})(t,i)||e.removeAttribute(t.nodeName)}else e.remove()}return o.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return g(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Hn=new Set(["sanitize","allowList","sanitizeFn"]),Fn="show",Rn="hide.bs.modal",qn="hover",Bn={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},Wn={allowList:Mn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Un={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class zn extends R{constructor(e,t){if(void 0===Dt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Wn}static get DefaultType(){return Un}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),S.off(this._element.closest(".modal"),Rn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){const e=S.trigger(this._element,this.constructor.eventName("show")),t=(d(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!e.defaultPrevented&&t){this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:o}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(n),S.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(Fn),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))S.on(e,"mouseover",f);this._queueCallback(()=>{S.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}
1hide(){if(this._isShown()&&!S.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Fn),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))S.off(e,"mouseover",f);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger[qn]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),S.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove("fade",Fn),t.classList.add(`bs-${this.constructor.NAME}-auto`);e=(e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e})(this.constructor.NAME).toString();return t.setAttribute("id",e),this._isAnimated()&&t.classList.add("fade"),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Dn({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains("fade")}_isShown(){return this.tip&&this.tip.classList.contains(Fn)}_createPopper(e){const t=g(this._config.placement,[this,e,this._element]),n=Bn[t.toUpperCase()];return Lt(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(e){return g(e,[this._element])}_getPopperConfig(e){e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...e,...g(this._config.popperConfig,[e])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)S.on(this._element,this.constructor.eventName("click"),this._config.selector,e=>{this._initializeOnDelegatedTarget(e).toggle()});else if("manual"!==t){const e=t===qn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===qn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");S.on(this._element,e,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?"focus":qn]=!0,t._enter()}),S.on(this._element,n,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?"focus":qn]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},S.on(this._element.closest(".modal"),Rn,this._hideModalHandler)}_fixTitle(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=H.getDataAttributes(this._element);for(const e of Object.keys(t))Hn.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:l(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(var[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=zn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}e(zn);const Vn={...zn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Xn={...zn.DefaultType,content:"(null|string|element|function)"};class $n extends zn{static get Default(){return Vn}static get DefaultType(){return Xn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=$n.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}e($n);const Qn=".bs.scrollspy",Kn=`click${Qn}`,Yn="active",Gn="[href]",Jn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Zn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class eo extends R{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Jn}static get DefaultType(){return Zn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=l(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(S.off(this._config.target,Kn),S.on(this._config.target,Kn,Gn,e=>{var t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;n.scrollTo?n.scrollTo({top:o,behavior:"smooth"}):n.scrollTop=o}}))}_getNewObserver(){var e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const r of e)if(r.isIntersecting){const e=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(r),!o)return}else i||e||n(r)}else this._activeTarget=null,this._clearActiveClass(t(r))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=B.find(Gn,this._config.target);for(const t of e)if(t.hash&&!c(t)){const e=B.findOne(decodeURI(t.hash),this._element);u(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),(this._activeTarget=e).classList.add(Yn),this._activateParents(e),S.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))B.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Yn);else for(const t of B.parents(e,".nav, .list-group"))for(const e of B.prev(t,".nav-link, .nav-item > .nav-link, .list-group-item"))e.classList.add(Yn)}_clearActiveClass(e){e.classList.remove(Yn);e=B.find("[href].active",e);for(const t of e)t.classList.remove(Yn)}static jQueryInterface(t){return this.each(function(){const e=eo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method n
1amed "${t}"`);e[t]()}})}}S.on(window,"load.bs.scrollspy.data-api",()=>{for(const e of B.find('[data-bs-spy="scroll"]'))eo.getOrCreateInstance(e)}),e(eo);const to="ArrowLeft",no="ArrowRight",oo="ArrowUp",io="ArrowDown",ro="Home",so="End",ao="active",lo=":not(.dropdown-toggle)",uo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',co=`.nav-link${lo}, .list-group-item${lo}, [role="tab"]${lo}, ${uo}`;class fo extends R{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),S.on(this._element,"keydown.bs.tab",e=>this._keydown(e)))}static get NAME(){return"tab"}show(){var e,t,n=this._element;this._elemIsActive(n)||(t=(e=this._getActiveElem())?S.trigger(e,"hide.bs.tab",{relatedTarget:n}):null,S.trigger(n,"show.bs.tab",{relatedTarget:e}).defaultPrevented||t&&t.defaultPrevented||(this._deactivate(e,n),this._activate(n,e)))}_activate(e,t){e&&(e.classList.add(ao),this._activate(B.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),S.trigger(e,"shown.bs.tab",{relatedTarget:t})):e.classList.add("show")},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(ao),e.blur(),this._deactivate(B.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),S.trigger(e,"hidden.bs.tab",{relatedTarget:t})):e.classList.remove("show")},e,e.classList.contains("fade")))}_keydown(t){if([to,no,oo,io,ro,so].includes(t.key)){t.stopPropagation(),t.preventDefault();var n,o=this._getChildren().filter(e=>!c(e));let e;e=[ro,so].includes(t.key)?o[t.key===ro?0:o.length-1]:(n=[no,io].includes(t.key),y(o,t.target,n,!0)),e&&(e.focus({preventScroll:!0}),fo.getOrCreateInstance(e).show())}}_getChildren(){return B.find(co,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){var t=B.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,o){const i=this._getOuterElement(e);i.classList.contains("dropdown")&&((e=(e,t)=>{const n=B.findOne(e,i);n&&n.classList.toggle(t,o)})(".dropdown-toggle",ao),e(".dropdown-menu","show"),i.setAttribute("aria-expanded",o))}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(ao)}_getInnerElement(e){return e.matches(co)?e:B.findOne(co,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(t){return this.each(function(){const e=fo.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}S.on(document,"click.bs.tab",uo,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this)||fo.getOrCreateInstance(this).show()}),S.on(window,"load.bs.tab",()=>{for(const e of B.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))fo.getOrCreateInstance(e)}),e(fo);const ho="show",po="showing",mo={animation:"boolean",autohide:"boolean",delay:"number"},go={animation:!0,autohide:!0,delay:5e3};class _o extends R{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return go}static get DefaultType(){return mo}static get NAME(){return"toast"}show(){S.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),h(this._element),this._element.classList.add(ho,po),this._queueCallback(()=>{this._element.classList.remove(po),S.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(S.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(po),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(po,ho),S.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ho),super.dispose()}isShown(){return this._element.classList.contains(ho)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){S.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),S.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),S.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),S.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=_o.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return W(_o),e(_o),{Alert:U,Button:V,Carousel:ae,Collapse:he,Dropdown:en,Modal:xn,Offcanvas:jn,Popover:$n,ScrollSpy:eo,Tab:fo,Toast:_o,Tooltip:zn}}),lightbox=new Lightbox,lightbox.load(),require(["kompakt/app"]);const statusModalNode=document.getElementById("statusModal"),statusAlertNode=document.getElementById("statusAlert");if(statusModalNode){const statusModal=new bootstrap.Modal(statusModalNode,{});statusModal.show(),setTimeout(function(){statusModal.hide()},5e3),statusAlertNode.addEventListener("closed.bs.alert",e=>{statusModal.hide()}),statusModalNode.addEventListener("hide.bs.modal",e=>{})}

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.