3&&2===args[2]&&”boolean”==typeof args[3]&&(gdprApplies=args[3],”function”==typeof args[2]&&args[2](“set”,!0));else if(“ping”===args[0]){var retr={gdprApplies:gdprApplies,cmpLoaded:!1,cmpStatus:”stub”};”function”==typeof args[2]&&args[2](retr)}else queue.push(args)}function postMessageEventHandler(event){var msgIsString=”string”==typeof event.data,json={};try{json=msgIsString?JSON.parse(event.data):event.data}catch(ignore){}var payload=json.__tcfapiCall;payload&&window.__tcfapi(payload.command,payload.version,function(retValue,success){var returnMsg={__tcfapiReturn:{returnValue:retValue,success:success,callId:payload.callId}};msgIsString&&(returnMsg=JSON.stringify(returnMsg)),event&&event.source&&event.source.postMessage&&event.source.postMessage(returnMsg,”*”)},payload.parameter)}for(var cmpFrame,TCF_LOCATOR_NAME=”__tcfapiLocator”,queue=[],win=window;win;){try{if(win.frames[TCF_LOCATOR_NAME]){cmpFrame=win;break}}catch(ignore){}if(win===window.top)break;win=win.parent}cmpFrame||(addFrame(),win.__tcfapi=tcfAPIHandler,win.addEventListener(“message”,postMessageEventHandler,!1))}localStorage.removeItem(“euconsent-v2”),localStorage.removeItem(“addtl_consent”),localStorage.removeItem(“cconsent-v2”);var host=window.location.hostname,element=document.createElement(“script”),firstScript=document.getElementsByTagName(“script”)[0],url=”https://quantcast.mgr.consensu.org”.concat(“/choice/”,”ftWPwNjf4s93e”,”/”,host,”/choice.js?v=1″),uspTries=0,uspTriesLimit=3;element.async=!0,element.type=”text/javascript”,element.src=url,firstScript.parentNode.insertBefore(element,firstScript),makeStub();var uspStubFunction=function(){var arg=arguments;typeof window.__uspapi!==uspStubFunction&&setTimeout(function(){void 0!==window.__uspapi&&window.__uspapi.apply(window.__uspapi,arg)},500)},checkIfUspIsReady=function(){uspTries++,window.__uspapi===uspStubFunction&&uspTriesGreen Pass dopo booster e guarigione: quale validità? – PMI.it a._pfLastSize)&&(a._pfLastSize=a.offsetWidth,d=a.sizes,a.sizes+=”,100vw”,setTimeout(function(){a.sizes=d}))},e=function(){var a,b=document.querySelectorAll(“picture > img, img[srcset][sizes]”);for(a=0;a[]2.7?h=c+1:(f=b-c,e=Math.pow(a-.6,1.5),g=f*e,d&&(g+=.1*e),h=a+g):h=c>1?Math.sqrt(a*b):a,h>c}function h(a){var b,c=s.getSet(a),d=!1;”pending”!==c&&(d=r,c&&(b=s.setRes(c),s.applySetCandidate(b,a))),a[s.ns].evaled=d}function i(a,b){return a.res-b.res}function j(a,b,c){var d;return!c&&b&&(c=a[s.ns].sets,c=c&&c[c.length-1]),d=k(b,c),d&&(b=s.makeUrl(b),a[s.ns].curSrc=b,a[s.ns].curCan=d,d.res||_(d,d.set.sizes)),d}function k(a,b){var c,d,e;if(a&&b){for(e=s.parseSet(b),a=s.makeUrl(a),c=0;cc;c++){e=g[c],e[s.ns]=!0,f=e.getAttribute(“srcset”),f&&b.push({srcset:f,media:e.getAttribute(“media”),type:e.getAttribute(“type”),sizes:e.getAttribute(“sizes”)}) }}function m(a,b){function c(b){var c,d=b.exec(a.substring(m));return d?(c=d[0],m+=c.length,c):void 0}function e(){var a,c,d,e,f,i,j,k,l,m=!1,o={};for(e=0;el?m=!0:c=l):W.test(j)&&”h”===i?((d||c)&&(m=!0),0===k?m=!0:d=k):m=!0; }m||(o.url=g,a&&(o.w=a),c&&(o.d=c),d&&(o.h=d),d||c||a||(o.d=1),1===o.d&&(b.has1x=!0),o.set=b,n.push(o))}function f(){for(c(S),i=””,j=”in descriptor”;;){if(k=a.charAt(m),”in descriptor”===j){if(d(k)){i&&(h.push(i),i=””,j=”after descriptor”); }else{if(“,”===k){return m+=1,i&&h.push(i),void e(); }if(“(“===k){i+=k,j=”in parens”; }else{if(“”===k){return i&&h.push(i),void e(); }i+=k}} }else if(“in parens”===j){if(“)”===k){i+=k,j=”in descriptor”; }else{if(“”===k){return h.push(i),void e(); }i+=k} }else if(“after descriptor”===j){if(d(k)){ }else{if(“”===k){return void e(); }j=”in descriptor”,m-=1} }m+=1}}for(var g,h,i,j,k,l=a.length,m=0,n=[];;){if(c(T),m>=l){return n; }g=c(U),h=[],”,”===g.slice(-1)?(g=g.replace(V,””),e()):f()}}function n(a){function b(a){function b(){f&&(g.push(f),f=””)}function c(){g[0]&&(h.push(g),g=[])}for(var e,f=””,g=[],h=[],i=0,j=0,k=!1;;){if(e=a.charAt(j),””===e){return b(),c(),h; }if(k){if(“*”===e&&”/”===a[j+1]){k=!1,j+=2,b();continue}j+=1}else{if(d(e)){if(a.charAt(j-1)&&d(a.charAt(j-1))||!f){j+=1;continue}if(0===i){b(),j+=1;continue}e=” “}else if(“(“===e){i+=1; }else if(“)”===e){i-=1; }else{if(“,”===e){b(),c(),j+=1;continue}if(“/”===e&&”*”===a.charAt(j+1)){k=!0,j+=2;continue}}f+=e,j+=1}}}function c(a){return k.test(a)&&parseFloat(a)>=0?!0:l.test(a)?!0:”0″===a||”-0″===a||”+0″===a?!0:!1}var e,f,g,h,i,j,k=/^(?:[+-]?[0-9]+|[0-9]*.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc((?:[0-9a-z .+-*/()]+))$/i;for(f=b(a),g=f.length,e=0;g>e;e++){if(h=f[e],i=h[h.length-1],c(i)){if(j=i,h.pop(),0===h.length){return j; }if(h=h.join(” “),s.matchesMedia(h)){return j }} }return”100vw”}b.createElement(“picture”);var o,p,q,r,s={},t=function(){},u=b.createElement(“img”),v=u.getAttribute,w=u.setAttribute,x=u.removeAttribute,y=b.documentElement,z={},A={algorithm:””},B=”data-pfsrc”,C=B+”set”,D=navigator.userAgent,E=/rident/.test(D)||/ecko/.test(D)&&D.match(/rv:(d+)/)&&RegExp.$1>35,F=”currentSrc”,G=/s++?d+(ed+)?w/,H=/(([^)]+))?s*(.+)/,I=a.picturefillCFG,J=”position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)”,K=”font-size:100%!important;”,L=!0,M={},N={},O=a.devicePixelRatio,P={px:1,”in”:96},Q=b.createElement(“a”),R=!1,S=/^[ tnru000c]+/,T=/^[, tnru000c]+/,U=/^[^ tnru000c]+/,V=/[,]+$/,W=/^d+$/,X=/^-?(?:[0-9]+|[0-9]*.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,Y=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent(“on”+b,c)},Z=function(a){var b={};return function(c){return c in b||(b[c]=a(c)),b[c]}},$=function(){var a=/^([d.]+)(em|vw|px)$/,b=function(){for(var a=arguments,b=0,c=a[0];++b in a;){c=c.replace(a[b],a[++b]); }return c},c=Z(function(a){return”return “+b((a||””).toLowerCase(),/bandb/g,”&&”,/,/g,”||”,/min-([a-z-s]+):/g,”e.$1>=”,/max-([a-z-s]+):/g,”e.$1d;d++){s.fillImg(c[d],f); }s.teardownRun(f)}};o=a.console&&console.warn?function(a){console.warn(a)}:t,F in u||(F=”src”),z[“image/jpeg”]=!0,z[“image/gif”]=!0,z[“image/png”]=!0,z[“image/svg+xml”]=b.implementation.hasFeature(“http://wwwindow.w3.org/TR/SVG11/feature#Image”,”1.1″),s.ns=(“pf”+(new Date).getTime()).substr(0,9),s.supSrcset=”srcset”in u,s.supSizes=”sizes”in u,s.supPicture=!!a.HTMLPictureElement,s.supSrcset&&s.supPicture&&!s.supSizes&&!function(a){u.srcset=”data:,a”,a.src=”data:,a”,s.supSrcset=u.complete===a.complete,s.supPicture=s.supSrcset&&s.supPicture}(b.createElement(“img”)),s.selShort=”picture>img,img[srcset]”,s.sel=s.selShort,s.cfg=A,s.supSrcset&&(s.sel+=”,img[“+C+”]”),s.DPR=O||1,s.u=P,s.types=z,q=s.supSrcset&&!s.supSizes,s.setSize=t,s.makeUrl=Z(function(a){return Q.href=a,Q.href}),s.qsa=function(a,b){return a.querySelectorAll(b)},s.matchesMedia=function(){return a.matchMedia&&(matchMedia(“(min-width: 0.1em)”)||{}).matches?s.matchesMedia=function(a){return!a||matchMedia(a).matches}:s.matchesMedia=s.mMQ,s.matchesMedia.apply(this,arguments)},s.mMQ=function(a){return a?$(a):!0},s.calcLength=function(a){var b=$(a,!0)||!1;return 0>b&&(b=!1),b},s.supportsType=function(a){return a?z[a]:!0},s.parseSize=Z(function(a){var b=(a||””).match(H);return{media:b&&b[1],length:b&&b[2]}}),s.parseSet=function(a){return a.cands||(a.cands=m(a.srcset,a)),a.cands},s.getEmValue=function(){var a;if(!p&&(a=b.body)){var c=b.createElement(“div”),d=y.style.cssText,e=a.style.cssText;c.style.cssText=J,y.style.cssText=K,a.style.cssText=K,a.appendChild(c),p=c.offsetWidth,a.removeChild(c),p=parseFloat(p,10),y.style.cssText=d,a.style.cssText=e}return p||16},s.calcListLength=function(a){if(!(a in N)||A.uT){var b=s.calcLength(n(a));N[a]=b?b:P.width}return N[a]},s.setRes=function(a){var b;if(a){b=s.parseSet(a);for(var c=0,d=b.length;d>c;c++){_(b[c],a.sizes) }}return b},s.setRes.res=_,s.applySetCandidate=function(a,b){if(a.length){var c,d,e,f,h,k,l,m,n,o=b[s.ns],p=s.DPR;if(k=o.curSrc||b[F],l=o.curCan||j(b,k,a[0].set),l&&l.set===a[0].set&&(n=E&&!b.complete&&l.res-.1>p,n||(l.cached=!0,l.res>=p&&(h=l))),!h){for(a.sort(i),f=a.length,h=a[f-1],d=0;f>d;d++){if(c=a[d],c.res>=p){e=d-1,h=a[e]&&(n||k!==s.makeUrl(c.url))&&g(a[e].res,c.res,p,a[e].cached)?a[e]:c;break} } }h&&(m=s.makeUrl(h.url),o.curSrc=m,o.curCan=h,m!==k&&s.setSrc(b,h),s.setSize(b))}},s.setSrc=function(a,b){var c;a.src=b.url,”image/svg+xml”===b.set.type&&(c=a.style.width,a.style.width=a.offsetWidth+1+”px”,a.offsetWidth+1&&(a.style.width=c))},s.getSet=function(a){var b,c,d,e=!1,f=a[s.ns].sets;for(b=0;bf?c=setTimeout(e,b-f):(c=null,a())};return function(){d=new Date,c||(c=setTimeout(e,b))}},h=y.clientHeight,i=function(){L=Math.max(a.innerWidth||0,y.clientWidth)!==P.width||y.clientHeight!==h,h=y.clientHeight,L&&s.fillImgs()};Y(a,”resize”,g(i,99)),Y(b,”readystatechange”,e)}(),s.picturefill=aa,s.fillImgs=aa,s.teardownRun=t,aa._=s,a.picturefillCFG={pf:s,push:function(a){var b=a.shift();”function”==typeof s[b]?s[b].apply(s,a):(A[b]=a[0],R&&s.fillImgs({reselect:!0}))}};for(;I&&I.length;){a.picturefillCFG.push(I.shift()); }a.picturefill=aa,”object”==typeof module&&”object”==typeof module.exports?module.exports=aa:”function”==typeof define&&define.amd&&define(“picturefill”,function(){return aa}),s.supPicture||(z[“image/webp”]=e(“image/webp”,”data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==”))}(window,document); picturefill(); /* Load BasketJS */ (function(){“use strict”;function t(t){return”function”==typeof t||”object”==typeof t&&null!==t}function n(t){return”function”==typeof t}function r(t){return”object”==typeof t&&null!==t}function e(){}function o(t,n){for(var r=0,e=t.length;e>r;r++){if(t[r]===n){return r; } }return-1}function i(t){var n=t._promiseCallbacks;return n||(n=t._promiseCallbacks={}),n}function u(t,n){return”onerror”===t?void Et.on(“error”,n):2!==arguments.length?Et[t]:void(Et[t]=n)}function s(){setTimeout(function(){for(var t,n=0;ns;s++){R(o.resolve(t[s]),void 0,r,e); }return i}function v(t,n){var r=this,e=new r(g,n);return O(e,t),e}function y(){throw new TypeError(“You must pass a resolver function as the first argument to the promise constructor”)}function d(){throw new TypeError(“Failed to construct ‘Promise’: Please use the ‘new’ operator, this object constructor cannot be called as a function.”)}function m(t,n){this._id=Mt++,this._label=n,this._state=void 0,this._result=void 0,this._subscribers=[],Et.instrument&&jt(“created”,this),g!==t&&(“function”!=typeof t&&y(),this instanceof m?N(this,t):d())}function w(){return new TypeError(“A promises callback cannot return that same promise.”)}function g(){}function b(t){try{return t.then}catch(n){return Dt.error=n,Dt}}function E(t,n,r,e){try{t.call(n,r,e)}catch(o){return o}}function A(t,n,r){Et.async(function(t){var e=!1,o=E(r,n,function(r){e||(e=!0,n!==r?S(t,r,void 0):C(t,r))},function(n){e||(e=!0,O(t,n))},”Settle: “+(t._label||” unknown promise”));!e&&o&&(e=!0,O(t,o))},t)}function j(t,n){n._state===Nt?C(t,n._result):n._state===Yt?(n._onError=null,O(t,n._result)):R(n,void 0,function(r){n!==r?S(t,r,void 0):C(t,r)},function(n){O(t,n)})}function T(t,r,e){r.constructor===t.constructor&&e===Tt&&constructor.resolve===St?j(t,r):e===Dt?O(t,Dt.error):void 0===e?C(t,r):n(e)?A(t,r,e):C(t,r)}function S(n,r){n===r?C(n,r):t(r)?T(n,r,b(r)):C(n,r)}function k(t){t._onError&&t._onError(t._result),I(t)}function C(t,n){t._state===xt&&(t._result=n,t._state=Nt,0===t._subscribers.length?Et.instrument&&jt(“fulfilled”,t):Et.async(I,t))}function O(t,n){t._state===xt&&(t._state=Yt,t._result=n,Et.async(k,t))}function R(t,n,r,e){var o=t._subscribers,i=o.length;t._onError=null,o[i]=n,o[i+Nt]=r,o[i+Yt]=e,0===i&&t._state&&Et.async(I,t)}function I(t){var n=t._subscribers,r=t._state;if(Et.instrument&&jt(r===Nt?”fulfilled”:”rejected”,t),0!==n.length){for(var e,o,i=t._result,u=0;ut;t+=2){var n=Jt[t],r=Jt[t+1];n(r),Jt[t]=void 0,Jt[t+1]=void 0}Lt=0}function $(){try{var t=require,n=t(“vertx”);return Ut=n.runOnLoop||n.runOnContext,F()}catch(r){return V()}}function z(t){var n={};return n.promise=new Pt(function(t,r){n.resolve=t,n.reject=r},t),n}function B(t,r,e){return Pt.all(t,e).then(function(t){if(!n(r)){throw new TypeError(“You must pass a function as filter’s second argument.”); }for(var o=t.length,i=new Array(o),u=0;o>u;u++){i[u]=r(t[u]); }return Pt.all(i,e).then(function(n){for(var r=new Array(o),e=0,i=0;o>i;i++){n[i]&&(r[e]=t[i],e++); }return r.length=e,r})})}function H(t,n,r){this._superConstructor(t,n,!0,r)}function J(t,n,r){this._superConstructor(t,n,!1,r)}function Q(t,n){return new J(Pt,t,n).promise}function X(t,n){return new Zt(Pt,t,n).promise}function Z(t,r,e){return Pt.all(t,e).then(function(t){if(!n(r)){throw new TypeError(“You must pass a function as map’s second argument.”); }for(var o=t.length,i=new Array(o),u=0;o>u;u++){i[u]=r(t[u]); }return Pt.all(i,e)})}function tt(){this.value=void 0}function nt(t){try{return t.then}catch(n){return on.value=n,on}}function rt(t,n,r){try{t.apply(n,r)}catch(e){return on.value=e,on}}function et(t,n){for(var r,e,o={},i=t.length,u=new Array(i),s=0;i>s;s++){u[s]=t[s]; }for(e=0;ee;e++){r[e-1]=t[e]; }return r}function it(t,n){return{then:function(r,e){return t.call(n,r,e)}}}function ut(t,n){var r=function(){for(var r,e=this,o=arguments.length,i=new Array(o+1),u=!1,s=0;o>s;++s){if(r=arguments[s],!u){if(u=ct(r),u===un){var a=new Pt(g);return O(a,un.value),a}u&&u!==!0&&(r=it(u,r))}i[s]=r}var c=new Pt(g);return i[o]=function(t,r){t?O(c,t):void 0===n?S(c,r):n===!0?S(c,ot(arguments)):mt(n)?S(c,et(arguments,n)):S(c,r)},u?at(c,i,t,e):st(c,i,t,e)};return r.__proto__=t,r}function st(t,n,r,e){var o=rt(r,e,n);return o===on&&O(t,o.value),t}function at(t,n,r,e){return Pt.all(n).then(function(n){var o=rt(r,e,n);return o===on&&O(t,o.value),t})}function ct(t){return t&&”object”==typeof t?t.constructor===Pt?!0:nt(t):!1}function ft(t,n){return Pt.race(t,n)}function lt(t,n){return Pt.reject(t,n)}function ht(t,n){return Pt.resolve(t,n)}function pt(t){throw setTimeout(function(){throw t}),t}function _t(t,n){Et.async(t,n)}function vt(){Et.on.apply(Et,arguments)}function yt(){Et.off.apply(Et,arguments)}var dt;dt=Array.isArray?Array.isArray:function(t){return”[object Array]”===Object.prototype.toString.call(t)};var mt=dt,wt=Date.now||function(){return(new Date).getTime()},gt=Object.create||function(t){if(arguments.length>1){throw new Error(“Second argument not supported”); }if(“object”!=typeof t){throw new TypeError(“Argument must be an object”); }return e.prototype=t,new e},bt={mixin:function(t){return t.on=this.on,t.off=this.off,t.trigger=this.trigger,t._promiseCallbacks=void 0,t},on:function(t,n){if(“function”!=typeof n){throw new TypeError(“Callback must be a function”); }var r,e=i(this);r=e[t],r||(r=e[t]=[]),-1===o(r,n)&&r.push(n)},off:function(t,n){var r,e,u=i(this);return n?(r=u[t],e=o(r,n),void(-1!==e&&r.splice(e,1))):void(u[t]=[])},trigger:function(t,n,r){var e,o,u=i(this);if(e=u[t]){for(var s=0;se;e++){this._eachEntry(r[e],e) }},h.prototype._settleMaybeThenable=function(t,n){var r=this._instanceConstructor,e=r.resolve;if(e===St){var o=b(t);if(o===Tt&&t._state!==xt){t._onError=null,this._settledAt(t._state,n,t._result); }else if(“function”!=typeof o){this._remaining–,this._result[n]=this._makeResult(Nt,n,t); }else if(r===Pt){var i=new r(g);T(i,t,o),this._willSettleAt(i,n)}else {this._willSettleAt(new r(function(n){n(t)}),n) }}else {this._willSettleAt(e(t),n) }},h.prototype._eachEntry=function(t,n){r(t)?this._settleMaybeThenable(t,n):(this._remaining–,this._result[n]=this._makeResult(Nt,n,t))},h.prototype._settledAt=function(t,n,r){var e=this.promise;e._state===xt&&(this._remaining–,this._abortOnReject&&t===Yt?O(e,r):this._result[n]=this._makeResult(t,n,r)),0===this._remaining&&C(e,this._result)},h.prototype._makeResult=function(t,n,r){return r},h.prototype._willSettleAt=function(t,n){var r=this;R(t,void 0,function(t){r._settledAt(Nt,n,t)},function(t){r._settledAt(Yt,n,t)})};var Ct=p,Ot=_,Rt=v,It=”rsvp_”+wt()+”-“,Mt=0,Pt=m;m.cast=St,m.all=Ct,m.race=Ot,m.resolve=St,m.reject=Rt,m.prototype={constructor:m,_guidKey:It,_onError:function(t){var n=this;Et.after(function(){n._onError&&Et.trigger(“error”,t,n._label)})},then:Tt,”catch”:function(t,n){return this.then(void 0,t,n)},”finally”:function(t,n){var r=this,e=r.constructor;return r.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})},n)}};var xt=void 0,Nt=1,Yt=2,Dt=new M,Kt=new M;Y.prototype=gt(kt.prototype),Y.prototype._superConstructor=kt,Y.prototype._makeResult=l,Y.prototype._validationError=function(){return new Error(“allSettled must be called with an array”)};var Ut,qt,Ft=D,Gt=K,Lt=0,Vt=({}.toString,U),Wt=”undefined”!=typeof window?window:void 0,$t=Wt||{},zt=$t.MutationObserver||$t.WebKitMutationObserver,Bt=”undefined”==typeof self&&”undefined”!=typeof process&&”[object process]”==={}.toString.call(process),Ht=”undefined”!=typeof Uint8ClampedArray&&”undefined”!=typeof importScripts&&”undefined”!=typeof MessageChannel,Jt=new Array(1e3);qt=Bt?q():zt?G():Ht?L():void 0===Wt&&”function”==typeof require?$():V();var Qt=z,Xt=B,Zt=H;H.prototype=gt(kt.prototype),H.prototype._superConstructor=kt,H.prototype._init=function(){this._result={}},H.prototype._validateInput=function(t){return t&&”object”==typeof t},H.prototype._validationError=function(){return new Error(“Promise.hash must be called with an object”)},H.prototype._enumerate=function(){var t=this,n=t.promise,r=t._input,e=[];for(var o in r){n._state===xt&&Object.prototype.hasOwnProperty.call(r,o)&&e.push({position:o,entry:r[o]}); }var i=e.length;t._remaining=i;for(var u,s=0;n._state===xt&&i>s;s++){u=e[s],t._eachEntry(u.entry,u.position) }},J.prototype=gt(Zt.prototype),J.prototype._superConstructor=kt,J.prototype._makeResult=l,J.prototype._validationError=function(){return new Error(“hashSettled must be called with an object”)};var tn,nn=Q,rn=X,en=Z,on=new tt,un=new tt,sn=ut;if(“object”==typeof self){tn=self; }else{if(“object”!=typeof global){throw new Error(“no global: `self` or `global` found”); }tn=global}var an=tn,cn=ft,fn=lt,ln=ht,hn=pt;Et.async=Vt,Et.after=function(t){setTimeout(t,0)};if(“undefined”!=typeof window&&”object”==typeof window.__PROMISE_INSTRUMENTATION__){var pn=window.__PROMISE_INSTRUMENTATION__;u(“instrument”,!0);for(var _n in pn){pn.hasOwnProperty(_n)&&vt(_n,pn[_n]) }}var vn={race:cn,Promise:Pt,allSettled:Ft,hash:rn,hashSettled:nn,denodeify:sn,on:vt,off:yt,map:en,filter:Xt,resolve:ln,reject:fn,all:Gt,rethrow:hn,defer:Qt,EventTarget:bt,configure:u,async:_t};”function”==typeof define&&define.amd?define(function(){return vn}):”undefined”!=typeof module&&module.exports?module.exports=vn:”undefined”!=typeof an&&(an.RSVP=vn)}).call(this); !function(a,b){“use strict”;var c=b.head||b.getElementsByTagName(“head”)[0],d=”basket-“,e=5e3,f=[],g=function(a,b){try{return localStorage.setItem(d+a,JSON.stringify(b)),!0}catch(c){if(c.name.toUpperCase().indexOf(“QUOTA”)>=0){var e,f=[];for(e in localStorage){0===e.indexOf(d)&&f.push(JSON.parse(localStorage[e])); }return f.length?(f.sort(function(a,b){return a.stamp-b.stamp}),basket.remove(f[0].key),g(a,b)):void 0}}},h=function(a){var b=new RSVP.Promise(function(b,c){var d=new XMLHttpRequest;d.open(“GET”,a),d.onreadystatechange=function(){4===d.readyState&&(200===d.status||0===d.status&&d.responseText?b({content:d.responseText,type:d.getResponseHeader(“content-type”)}):c(new Error(d.statusText)))},setTimeout(function(){d.readyState<4&&d.abort()},basket.timeout),d.send()});return b},i=function(a){return h(a.url).then(function(b){var c=j(a,b);return a.skipCache||g(a.key,c),c})},j=function(a,b){var c=+new Date;return a.data=b.content,a.originalType=b.type,a.type=a.type||b.type,a.skipCache=a.skipCache||!1,a.stamp=c,a.expire=c+60*(a.expire||e)*60*1e3,a},k=function(a,b){return!a||a.expire-+new Date<0||b.unique!==a.unique||basket.isValidItem&&!basket.isValidItem(a,b)},l=function(a){var b,c,d;if(a.url){return a.key=a.key||a.url,b=basket.get(a.key),a.execute=a.execute!==!1,d=k(b,a),a.live||d?(a.unique&&(a.url+=(a.url.indexOf("?")>0?”&”:”?”)+”basket-unique=”+a.unique),c=i(a),a.live&&!d&&(c=c.then(function(a){return a},function(){return b}))):(b.type=a.type||b.originalType,b.execute=a.execute,c=new RSVP.Promise(function(a){a(b)})),c }},m=function(a){var d=b.createElement(“script”);d.defer=!0,d.text=a.data,c.appendChild(d)},n={“default”:m},o=function(a){return a.type&&n[a.type]?n[a.type](a):n[“default”](a)},p=function(a){return a.map(function(a){return a.execute&&o(a),a})},q=function(){var a,b,c=[];for(a=0,b=arguments.length;b>a;a++){c.push(l(arguments[a])); }return RSVP.all(c)},r=function(){var a=q.apply(null,arguments),b=this.then(function(){return a}).then(p);return b.thenRequire=r,b};a.basket={require:function(){for(var a=0,b=arguments.length;b>a;a++){arguments[a].execute=arguments[a].execute!==!1,arguments[a].once&&f.indexOf(arguments[a].url)>=0?arguments[a].execute=!1:arguments[a].execute!==!1&&f.indexOf(arguments[a].url)<0&&f.push(arguments[a].url); }var c=q.apply(null,arguments).then(p);return c.thenRequire=r,c},remove:function(a){return localStorage.removeItem(d+a),this},get:function(a){var b=localStorage.getItem(d+a);try{return JSON.parse(b||"false")}catch(c){return!1}},clear:function(a){var b,c,e=+new Date;for(b in localStorage){c=b.split(d)[1],c&&(!a||this.get(c).expire
Source