(this.webpackJsonpwebsite=this.webpackJsonpwebsite||[]).push([[101],{284:function(e,t,r){"use strict";r.r(t),r.d(t,"ion_refresher",(function(){return O})),r.d(t,"ion_refresher_content",(function(){return w}));var n=r(8),i=r(77),s=r(20),o=r(51),a=r(49),l=r(106),c=(r(103),r(119),r(68),r(72),r(113),r(58),r(420)),f=r(574),h={getEngine:function(){var e=window;return e.TapticEngine||e.Capacitor&&e.Capacitor.Plugins.Haptics},available:function(){return!!this.getEngine()},isCordova:function(){return!!window.TapticEngine},isCapacitor:function(){return!!window.Capacitor},impact:function(e){var t=this.getEngine();if(t){var r=this.isCapacitor()?e.style.toUpperCase():e.style;t.impact({style:r})}},notification:function(e){var t=this.getEngine();if(t){var r=this.isCapacitor()?e.style.toUpperCase():e.style;t.notification({style:r})}},selection:function(){this.impact({style:"light"})},selectionStart:function(){var e=this.getEngine();e&&(this.isCapacitor()?e.selectionStart():e.gestureSelectionStart())},selectionChanged:function(){var e=this.getEngine();e&&(this.isCapacitor()?e.selectionChanged():e.gestureSelectionChanged())},selectionEnd:function(){var e=this.getEngine();e&&(this.isCapacitor()?e.selectionChanged():e.gestureSelectionChanged())}},u=function(e){var t=e.querySelector("ion-spinner"),r=t.shadowRoot.querySelector("circle"),n=e.querySelector(".spinner-arrow-container"),i=e.querySelector(".arrow-container"),s=i?i.querySelector("ion-icon"):null,o=Object(a.a)().duration(1e3).easing("ease-out"),l=Object(a.a)().addElement(n).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),c=Object(a.a)().addElement(r).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),f=Object(a.a)().addElement(t).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(i&&s){var h=Object(a.a)().addElement(i).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),u=Object(a.a)().addElement(s).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([h,u])}return o.addAnimation([l,c,f])},d=function(e){var t=e.clientHeight,r=Object(a.a)().addElement(e).keyframes([{offset:0,transform:"scale(0) translateY(-"+(t+20)+"px)"},{offset:1,transform:"scale(1) translateY(100px)"}]);return u(e).addAnimation([r])},p=function(e){var t=e.clientHeight,r=Object(a.a)().addElement(e).keyframes([{offset:0,transform:"translateY(-"+(t+20)+"px)"},{offset:1,transform:"translateY(100px)"}]);return u(e).addAnimation([r])},g=function(e,t){e.style.setProperty("opacity",t.toString())},m=function(e,t){if(!e)return Promise.resolve();var r=v(e);return Object(i.l)((function(){e.style.setProperty("transition","0.2s all ease-out"),void 0===t?e.style.removeProperty("transform"):e.style.setProperty("transform","translate3d(0px, "+t+", 0px)")})),r},b=function(e,t){var r=e.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),n=e.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==r&&null!==n&&("ios"===t&&Object(s.f)("mobile")&&void 0!==e.style.webkitOverflowScrolling||"md"===t)},v=function(e){return new Promise((function(t){y(e,t)}))},y=function(e,t){var r,n={passive:!0},i=function(){r&&r()},s=function(r){e===r.target&&(i(),t(r))};return e&&(e.addEventListener("webkitTransitionEnd",s,n),e.addEventListener("transitionend",s,n),r=function(){e.removeEventListener("webkitTransitionEnd",s,n),e.removeEventListener("transitionend",s,n)}),i},O=function(){function e(e){Object(i.k)(this,e),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1,this.ionRefresh=Object(i.e)(this,"ionRefresh",7),this.ionPull=Object(i.e)(this,"ionPull",7),this.ionStart=Object(i.e)(this,"ionStart",7)}return e.prototype.disabledChanged=function(){this.gesture&&this.gesture.enable(!this.disabled)},e.prototype.checkNativeRefresher=function(){var e=b(this.el,Object(i.d)(this));if(e&&!this.nativeRefresher){var t=this.el.closest("ion-content");this.setupNativeRefresher(t)}else e||this.destroyNativeRefresher()},e.prototype.destroyNativeRefresher=function(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1},e.prototype.resetNativeRefresher=function(e,t){return Object(n.a)(this,void 0,void 0,(function(){return Object(n.c)(this,(function(r){switch(r.label){case 0:return this.state=t,"ios"!==Object(i.d)(this)?[3,2]:[4,m(e,void 0)];case 1:return r.sent(),[3,4];case 2:return[4,v(this.el.querySelector(".refresher-refreshing-icon"))];case 3:r.sent(),r.label=4;case 4:return this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach((function(e){return e.destroy()})),this.animations=[],this.progress=0,this.state=1,[2]}}))}))},e.prototype.setupiOSNativeRefresher=function(e,t){return Object(n.a)(this,void 0,void 0,(function(){var s,a,l,c,f=this;return Object(n.c)(this,(function(n){switch(n.label){case 0:return this.elementToTransform=this.scrollEl,s=e.shadowRoot.querySelectorAll("svg"),a=.16*this.scrollEl.clientHeight,l=s.length,Object(i.l)((function(){return s.forEach((function(e){return e.style.setProperty("animation","none")}))})),this.scrollListenerCallback=function(){(f.pointerDown||1!==f.state)&&Object(i.g)((function(){var r=f.scrollEl.scrollTop,n=f.el.clientHeight;if(r>0){if(8===f.state){var c=Object(o.c)(0,r/(.5*n),1);return void Object(i.l)((function(){return g(t,1-c)}))}Object(i.l)((function(){return g(e,0)}))}else{f.pointerDown&&(f.didStart||(f.didStart=!0,f.ionStart.emit()),f.pointerDown&&f.ionPull.emit());var u,d,p,b=Object(o.c)(0,Math.abs(r)/n,.99),v=f.progress=Object(o.c)(0,(Math.abs(r)-30)/a,1),y=Object(o.c)(0,Math.floor(v*l),l-1);8===f.state||y===l-1?(f.pointerDown&&(d=t,p=f.lastVelocityY,Object(i.l)((function(){d.style.setProperty("--refreshing-rotation-duration",p>=1?"0.5s":"2s"),d.style.setProperty("opacity","1")}))),f.didRefresh||(f.beginRefresh(),f.didRefresh=!0,u={style:"light"},h.impact(u),f.pointerDown||m(f.elementToTransform,n+"px"))):(f.state=2,function(e,t,r,n){Object(i.l)((function(){g(e,r),t.forEach((function(e,t){return e.style.setProperty("opacity",t<=n?"0.99":"0")}))}))}(e,s,b,y))}}))},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),c=this,[4,Promise.resolve().then(r.bind(null,103))];case 1:return c.gesture=n.sent().createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:10,direction:"y",threshold:5,onStart:function(){f.pointerDown=!0,f.didRefresh||m(f.elementToTransform,"0px")},onMove:function(e){f.lastVelocityY=e.velocityY},onEnd:function(){f.pointerDown=!1,f.didStart=!1,f.needsCompletion?(f.resetNativeRefresher(f.elementToTransform,32),f.needsCompletion=!1):f.didRefresh&&Object(i.g)((function(){return m(f.elementToTransform,f.el.clientHeight+"px")}))}}),this.disabledChanged(),[2]}}))}))},e.prototype.setupMDNativeRefresher=function(e,t,s){return Object(n.a)(this,void 0,void 0,(function(){var c,f,h,u,g=this;return Object(n.c)(this,(function(m){switch(m.label){case 0:return c=t.shadowRoot.querySelector("circle"),f=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),h=s.shadowRoot.querySelector("circle"),null!==c&&null!==h&&Object(i.l)((function(){c.style.setProperty("animation","none"),s.style.setProperty("animation-delay","-655ms"),h.style.setProperty("animation-delay","-655ms")})),u=this,[4,Promise.resolve().then(r.bind(null,103))];case 1:return u.gesture=m.sent().createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:10,direction:"y",threshold:5,canStart:function(){return 8!==g.state&&32!==g.state&&0===g.scrollEl.scrollTop},onStart:function(e){e.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:function(t){if(t.velocityY<0&&0===g.progress&&!t.data.didStart||t.data.cancelled)t.data.cancelled=!0;else{if(!t.data.didStart)return t.data.didStart=!0,g.state=2,void Object(i.l)((function(){var r=function(e,t){return"scale"===e?d(t):p(t)}(function(e){var t=e.previousElementSibling;return null!==t&&"ION-HEADER"===t.tagName?"translate":"scale"}(e),f);t.data.animation=r,g.scrollEl.style.setProperty("--overflow","hidden"),r.progressStart(!1,0),g.ionStart.emit(),g.animations.push(r)}));g.progress=Object(o.c)(0,t.deltaY/180*.5,1),t.data.animation.progressStep(g.progress),g.ionPull.emit()}},onEnd:function(e){if(e.data.didStart){if(Object(i.l)((function(){return g.scrollEl.style.removeProperty("--overflow")})),g.progress<=.4)return g.gesture.enable(!1),void e.data.animation.progressEnd(0,g.progress,500).onFinish((function(){g.animations.forEach((function(e){return e.destroy()})),g.animations=[],g.gesture.enable(!0),g.state=1}));var t=Object(l.a)([0,0],[0,0],[1,1],[1,1],g.progress)[0],r=function(e){return Object(a.a)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)")}(f);g.animations.push(r),Object(i.l)((function(){return Object(n.a)(g,void 0,void 0,(function(){return Object(n.c)(this,(function(n){switch(n.label){case 0:return f.style.setProperty("--ion-pulling-refresher-translate",100*t+"px"),e.data.animation.progressEnd(),[4,r.play()];case 1:return n.sent(),this.beginRefresh(),e.data.animation.destroy(),[2]}}))}))}))}}}),this.disabledChanged(),[2]}}))}))},e.prototype.setupNativeRefresher=function(e){return Object(n.a)(this,void 0,void 0,(function(){var t,r;return Object(n.c)(this,(function(n){return this.scrollListenerCallback||!e||this.nativeRefresher||!this.scrollEl||(this.nativeRefresher=!0,t=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),r=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner"),"ios"===Object(i.d)(this)?this.setupiOSNativeRefresher(t,r):this.setupMDNativeRefresher(e,t,r)),[2]}))}))},e.prototype.componentDidUpdate=function(){this.checkNativeRefresher()},e.prototype.connectedCallback=function(){return Object(n.a)(this,void 0,void 0,(function(){var e,t,s,o=this;return Object(n.c)(this,(function(n){switch(n.label){case 0:return"fixed"!==this.el.getAttribute("slot")?(console.error('Make sure you use: '),[2]):(e=this.el.closest("ion-content"))?(t=this,[4,e.getScrollElement()]):(console.error(" must be used inside an "),[2]);case 1:return t.scrollEl=n.sent(),this.backgroundContentEl=e.shadowRoot.querySelector("#background-content"),b(this.el,Object(i.d)(this))?(this.setupNativeRefresher(e),[3,4]):[3,2];case 2:return s=this,[4,Promise.resolve().then(r.bind(null,103))];case 3:s.gesture=n.sent().createGesture({el:e,gestureName:"refresher",gesturePriority:10,direction:"y",threshold:20,passive:!1,canStart:function(){return o.canStart()},onStart:function(){return o.onStart()},onMove:function(e){return o.onMove(e)},onEnd:function(){return o.onEnd()}}),this.disabledChanged(),n.label=4;case 4:return[2]}}))}))},e.prototype.disconnectedCallback=function(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)},e.prototype.complete=function(){return Object(n.a)(this,void 0,void 0,(function(){return Object(n.c)(this,(function(e){return this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||this.resetNativeRefresher(this.elementToTransform,32)):this.close(32,"120ms"),[2]}))}))},e.prototype.cancel=function(){return Object(n.a)(this,void 0,void 0,(function(){return Object(n.c)(this,(function(e){return this.nativeRefresher?this.pointerDown||this.resetNativeRefresher(this.elementToTransform,16):this.close(16,""),[2]}))}))},e.prototype.getProgress=function(){return Promise.resolve(this.progress)},e.prototype.canStart=function(){return!!this.scrollEl&&(1===this.state&&!(this.scrollEl.scrollTop>0))},e.prototype.onStart=function(){this.progress=0,this.state=1},e.prototype.onMove=function(e){if(this.scrollEl){var t=e.event;if(!(t.touches&&t.touches.length>1)&&0===(56&this.state)){var r=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,n=e.deltaY*r;if(n<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(t.cancelable&&t.preventDefault(),this.setCss(n,"0ms",!0,""),0!==n){var i=this.pullMin;this.progress=n/i,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),nthis.pullMax?this.beginRefresh():this.state=4}else this.progress=0}}},e.prototype.onEnd=function(){4===this.state?this.beginRefresh():2===this.state&&this.cancel()},e.prototype.beginRefresh=function(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})},e.prototype.close=function(e,t){var r=this;setTimeout((function(){r.state=1,r.progress=0,r.didStart=!1,r.setCss(0,"0ms",!1,"")}),600),this.state=e,this.setCss(0,this.closeDuration,!0,t)},e.prototype.setCss=function(e,t,r,n){var s=this;this.nativeRefresher||(this.appliedStyles=e>0,Object(i.l)((function(){if(s.scrollEl&&s.backgroundContentEl){var i=s.scrollEl.style,o=s.backgroundContentEl.style;i.transform=o.transform=e>0?"translateY("+e+"px) translateZ(0px)":"",i.transitionDuration=o.transitionDuration=t,i.transitionDelay=o.transitionDelay=n,i.overflow=r?"hidden":""}})))},e.prototype.render=function(){var e,t=Object(i.d)(this);return Object(i.i)(i.a,{slot:"fixed",class:(e={},e[t]=!0,e["refresher-"+t]=!0,e["refresher-native"]=this.nativeRefresher,e["refresher-active"]=1!==this.state,e["refresher-pulling"]=2===this.state,e["refresher-ready"]=4===this.state,e["refresher-refreshing"]=8===this.state,e["refresher-cancelling"]=16===this.state,e["refresher-completing"]=32===this.state,e)})},Object.defineProperty(e.prototype,"el",{get:function(){return Object(i.f)(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{disabled:["disabledChanged"]}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}:host-context([dir=rtl]) ion-refresher,[dir=rtl] ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:.2s;transition:.2s;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon,[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling,.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-cancelling ion-refresher-content .refresher-pulling,.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-icon,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color,#000)}.refresher-ios .refresher-refreshing .spinner-crescent circle,.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line{stroke:var(--ion-text-color,#000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color,#000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:refresher-pop .25s linear forwards;animation:refresher-pop .25s linear forwards}.refresher-native.refresher-completing .refresher-pulling ion-spinner,.refresher-native.refresher-refreshing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-completing .refresher-refreshing ion-spinner,.refresher-native.refresher-pulling .refresher-pulling ion-spinner,.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}"},enumerable:!0,configurable:!0}),e}(),w=function(){function e(e){Object(i.k)(this,e)}return e.prototype.componentWillLoad=function(){if(void 0===this.pullingIcon){var e=Object(i.d)(this),t=void 0!==this.el.style.webkitOverflowScrolling?"lines":"arrow-down";this.pullingIcon=s.b.get("refreshingIcon","ios"===e&&Object(s.f)("mobile")?s.b.get("spinner",t):"circular")}if(void 0===this.refreshingSpinner){e=Object(i.d)(this);this.refreshingSpinner=s.b.get("refreshingSpinner",s.b.get("spinner","ios"===e?"lines":"circular"))}},e.prototype.render=function(){var e=this.pullingIcon,t=null!=e&&void 0!==f.a[e],r=Object(i.d)(this);return Object(i.i)(i.a,{class:r},Object(i.i)("div",{class:"refresher-pulling"},this.pullingIcon&&t&&Object(i.i)("div",{class:"refresher-pulling-icon"},Object(i.i)("div",{class:"spinner-arrow-container"},Object(i.i)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===r&&"circular"===this.pullingIcon&&Object(i.i)("div",{class:"arrow-container"},Object(i.i)("ion-icon",{name:"caret-back-sharp"})))),this.pullingIcon&&!t&&Object(i.i)("div",{class:"refresher-pulling-icon"},Object(i.i)("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&Object(i.i)("div",{class:"refresher-pulling-text",innerHTML:Object(c.a)(this.pullingText)})),Object(i.i)("div",{class:"refresher-refreshing"},this.refreshingSpinner&&Object(i.i)("div",{class:"refresher-refreshing-icon"},Object(i.i)("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&Object(i.i)("div",{class:"refresher-refreshing-text",innerHTML:Object(c.a)(this.refreshingText)})))},Object.defineProperty(e.prototype,"el",{get:function(){return Object(i.f)(this)},enumerable:!0,configurable:!0}),e}()},420:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){try{if("string"!==typeof e||""===e)return e;var t=document.createDocumentFragment(),r=document.createElement("div");t.appendChild(r),r.innerHTML=e,a.forEach((function(e){for(var r=t.querySelectorAll(e),n=r.length-1;n>=0;n--){var o=r[n];o.parentNode?o.parentNode.removeChild(o):t.removeChild(o);for(var a=s(o),l=0;l=0;r--){var n=t.attributes.item(r),i=n.name;if(o.includes(i.toLowerCase())){var a=n.value;null!=a&&a.toLowerCase().includes("javascript:")&&t.removeAttribute(i)}else t.removeAttribute(i)}var l=s(t);for(r=0;r