/**
* @package DPCalendar
* @copyright Digital Peak GmbH. <https://www.digital-peak.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
const e="5.3.3",t=10,n="data-iframe-size",o="data-overflowed",i="bottom",r="right",a="resizeParent",l=(e,t,n,o)=>e.addEventListener(t,n,o||!1),c=["<iy><yi>Puchspk Spjluzl Rlf</><iy><iy>","<iy><yi>Tpzzpun Spjluzl Rlf</><iy><iy>","Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.<iy><iy><i>Jvttlyjphs Spjluzl</><iy>Mvy jvttlyjphs bzl, <p>pmyhtl-ylzpgly</> ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.<iy><iy><i>Vwlu Zvbyjl Spjluzl</><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-jvttlyjphs vwlu zvbyjl wyvqlja aolu fvb jhu bzl pa mvy myll bukly aol alytz vm aol NWS C3 Spjluzl. Av jvumpyt fvb hjjlwa aolzl alytz, wslhzl zla aol <i>spjluzl</> rlf pu <p>pmyhtl-ylzpgly</> vwapvuz av <i>NWSc3</>.<iy><iy>Mvy tvyl pumvythapvu wslhzl zll: <b>oaawz://pmyhtl-ylzpgly.jvt/nws</>","<i>NWSc3 Spjluzl Clyzpvu</><iy><iy>Aopz clyzpvu vm <p>pmyhtl-ylzpgly</> pz ilpun bzlk bukly aol alytz vm aol <i>NWS C3</> spjluzl. Aopz spjluzl hssvdz fvb av bzl <p>pmyhtl-ylzpgly</> pu Vwlu Zvbyjl wyvqljaz, iba pa ylxbpylz fvby wyvqlja av il wbispj, wyvcpkl haaypibapvu huk il spjluzlk bukly clyzpvu 3 vy shaly vm aol NUB Nlulyhs Wbispj Spjluzl.<iy><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-vwlu zvbyjl wyvqlja vy dlizpal, fvb dpss ullk av wbyjohzl h svd jvza vul aptl jvttlyjphs spjluzl.<iy><iy>Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>."];Object.fromEntries(["2cgs7fdf4xb","1c9ctcccr4z","1q2pc4eebgb","ueokt0969w","w2zxchhgqz","1umuxblj2e5"].map(((e,t)=>[e,Math.max(0,t-1)])));const s=e=>(e=>e.replaceAll(/[A-Za-z]/g,(e=>String.fromCodePoint((e<="Z"?90:122)>=(e=e.codePointAt(0)+19)?e:e-26))))(c[e]),d=e=>e,u=1e5,m=e=>Math.round(e*u)/u;let f="",p=!1;const y=e=>{f=e.id,p=e.logging},h=e=>""!=`${e}`&&void 0!==e,g=(e,t="renamed to")=>(t,n,o="")=>(e.toLowerCase(),void e.toLowerCase()),v=g("Method"),b=g("Method","replaced with"),w=g("Option"),z=e=>{const t=e.side||i,n=e.onChange||d,r={root:e.root,rootMargin:"0px",threshold:1};function a(){const e=document.querySelectorAll(`[${o}]`);n(e)}const l=new IntersectionObserver((function(e){for(const n of e){const{boundingClientRect:e,rootBounds:i,target:r}=n,a=e[t],l=0===a||a>i[t];r.toggleAttribute(o,l)}requestAnimationFrame(a)}),r),c=new WeakSet;return function(e){for(const t of e)t.nodeType!==Node.ELEMENT_NODE||c.has(t)||(l.observe(t),c.add(t))}},S="--ifr-start",E="--ifr-end",j=[],O=new WeakSet,C=e=>"object"==typeof e&&O.add(e);let P,M={};const N=setInterval((()=>{if(j.length<10)return;if(M.hasTags&&M.len<25)return;j.sort();const e=Math.min(j.reduce(((e,t)=>e+t),0)/j.length,j[Math.floor(j.length/2)]);e<=4||(clearInterval(N),m(e),M.Side.toLowerCase())}),5e3);function T(e){e.getEntries().forEach((e=>{if(e.name===E){const{duration:t}=performance.measure("--ifr-measure",S,E);!function(e,t){const{Side:n,len:o,hasTags:i,logging:r}=e;M=e,O.has(P)||i&&o<=1||!P||(r||C(P),m(t))}(e.detail,t),j.push(t),j.length>100&&j.shift()}}))}function A(){new PerformanceObserver(T).observe({entryTypes:["mark"]}),C(document.documentElement),C(document.body)}"undefined"!=typeof document&&"undefined"!=typeof PerformanceObserver&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",A):A()),"undefined"!=typeof window&&function(){const o={contentVisibilityAuto:!0,opacityProperty:!0,visibilityProperty:!0},c={height:()=>Re.auto(),width:()=>xe.auto()},u={},m="checkVisibility"in window,f="auto",p="[iFrameSizer]",g={max:1,min:1,bodyScroll:1,documentElementScroll:1},j="scroll";let O,C,M,N,T,A=!0,k="",I=0,R="",x="",$=!0,L=!1,q=!0,B=!1,W=!1,F=1,V=f,D=!0,J="",U={},H=!1,Z=0,_=!1,Q="",X=d,Y=[],G="child",K=null,ee=!1,te="",ne=[],oe=window.parent,ie="*",re=0,ae=!1,le="",ce=1,se=j,de=window,ue=()=>{},me=()=>{},fe=null,pe=null;function ye(){var o;!function(){const e=e=>"true"===e,t=J.slice(13).split(":");Q=t[0],I=void 0===t[1]?I:Number(t[1]),L=void 0===t[2]?L:e(t[2]),H=void 0===t[3]?H:e(t[3]),A=void 0===t[6]?A:e(t[6]),R=t[7],V=void 0===t[8]?V:t[8],k=t[9],x=t[10],re=void 0===t[11]?re:Number(t[11]),U.enable=void 0!==t[12]&&e(t[12]),G=void 0===t[13]?G:t[13],se=void 0===t[14]?se:t[14],_=void 0===t[15]?_:e(t[15]),O=void 0===t[16]?O:Number(t[16]),C=void 0===t[17]?C:Number(t[17]),$=void 0===t[18]?$:e(t[18]),t[19],le=t[20]||le,Z=void 0===t[21]?Z:Number(t[21])}(),y({id:Q,logging:H}),function(){function e(e,t){return"function"==typeof e&&(c[t]=e,e="custom"),e}if(1===Z)return;const t=window.iframeResizer||window.iFrameResizer;"object"==typeof t&&(function(e){ue=e?.onMessage||ue,me=e?.onReady||me,"number"==typeof e?.offset&&(w("offset","offsetSize"),$&&(O=e?.offset),L&&(C=e?.offset)),"number"==typeof e?.offsetSize&&($&&(O=e?.offsetSize),L&&(C=e?.offsetSize)),Object.prototype.hasOwnProperty.call(e,"sizeSelector")&&(te=e.sizeSelector),ie=e?.targetOrigin||ie,V=e?.heightCalculationMethod||V,se=e?.widthCalculationMethod||se}(t),V=e(V,"height"),se=e(se,"width"))}(),function(){try{ee="iframeParentListener"in window.parent}catch(e){}}(),Z<0?(s(Z+2),s(2)):le.codePointAt(0)>4||Z<2&&s(3),Ee(),je(),function(){let e=!1;const t=t=>document.querySelectorAll(`[${t}]`).forEach((o=>{e=!0,o.removeAttribute(t),o.toggleAttribute(n,!0)}));t("data-iframe-height"),t("data-iframe-width")}(),document.compatMode,ge(),$!==L&&(X=z({onChange:he,root:document.documentElement,side:$?i:r})),1!==Z&&(de.parentIframe=Object.freeze({autoResize:e=>(!0===e&&!1===A?(A=!0,qe("autoResizeEnabled")):!1===e&&!0===A&&(A=!1),Ve(0,0,"autoResize",JSON.stringify(A)),A),close(){Ve(0,0,"close")},getId:()=>Q,getOrigin:()=>(v("getOrigin()","getParentOrigin()"),M),getParentOrigin:()=>M,getPageInfo(e){if("function"==typeof e)return fe=e,Ve(0,0,"pageInfo"),void b("getPageInfo()","getParentProps()","See <u>https://iframe-resizer.com/upgrade</> for details. ");fe=null,Ve(0,0,"pageInfoStop")},getParentProps(e){if("function"!=typeof e)throw new TypeError("parentIframe.getParentProps(callback) callback not a function");return pe=e,Ve(0,0,"parentInfo"),()=>{pe=null,Ve(0,0,"parentInfoStop")}},getParentProperties(e){v("getParentProperties()","getParentProps()"),this.getParentProps(e)},moveToAnchor(e){U.findTarget(e)},reset(){Fe()},scrollBy(e,t){Ve(t,e,"scrollBy")},scrollTo(e,t){Ve(t,e,"scrollTo")},scrollToOffset(e,t){Ve(t,e,"scrollToOffset")},sendMessage(e,t){Ve(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod(e){V=e,Ee()},setWidthCalculationMethod(e){se=e,je()},setTargetOrigin(e){ie=e},resize(e,t){qe(a,`parentIframe.resize(${e||""}${t?`,${t}`:""})`,e,t)},size(e,t){v("size()","resize()"),this.resize(e,t)}}),de.parentIFrame=de.parentIframe),function(){function e(e){Ve(0,0,e.type,`${e.screenY}:${e.screenX}`)}function t(t,n){l(window.document,t,e)}!0===_&&(t("mouseenter"),t("mouseleave"))}(),U=function(){function e(e){const n=e.getBoundingClientRect(),o={x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop};return{x:parseInt(n.left,t)+parseInt(o.x,t),y:parseInt(n.top,t)+parseInt(o.y,t)}}function n(t){const n=t.split("#")[1]||t,o=decodeURIComponent(n),i=document.getElementById(o)||document.getElementsByName(o)[0];void 0===i?Ve(0,0,"inPageLink",`#${n}`):function(t){const n=e(t);Ve(n.y,n.x,"scrollToOffset")}(i)}function o(){const{hash:e,href:t}=window.location;""!==e&&"#"!==e&&n(t)}return U.enable&&(1===Z||(function(){for(const e of document.querySelectorAll('a[href^="#"]'))"#"!==e.getAttribute("href")&&l(e,"click",(t=>{t.preventDefault(),n(e.getAttribute("href"))}))}(),l(window,"hashchange",o),setTimeout(o,128))),{findTarget:n}}(),ve(Te(document)()),void 0===R&&(R=`${I}px`),be("margin",((o=R).includes("-")&&(o=""),o)),be("background",k),be("padding",x),function(){const e=document.createElement("div");e.style.clear="both",e.style.display="block",e.style.height="0",document.body.append(e)}(),function(){const e=e=>e.style.setProperty("height","auto","important");e(document.documentElement),e(document.body)}(),we(),qe("init","Init message from host page",void 0,void 0,e),document.title&&""!==document.title&&Ve(0,0,"title",document.title),ze({method:"add",eventType:"After Print",eventName:"afterprint"}),ze({method:"add",eventType:"Before Print",eventName:"beforeprint"}),ze({method:"add",eventType:"Ready State Change",eventName:"readystatechange"}),function(){const e=new Set;let t=!1,n=0,o=[];const i=t=>{for(const n of t){const{addedNodes:t,removedNodes:o}=n;for(const n of t)e.add(n);for(const t of o)e.delete(t)}};let r=1;function a(){const l=performance.now(),c=l-n;if(c>16*r+++2&&c<200)return setTimeout(a,16*r),void(n=l);r=1,o.forEach(i),o=[],0!==e.size?(we(),ge(),ve(e),e.forEach(Pe),e.clear(),t=!1):t=!1}function l(e){o.push(e),t||(n=performance.now(),t=!0,requestAnimationFrame(a))}!function(){const e=new window.MutationObserver(l),t=document.querySelector("body");e.observe(t,{attributes:!1,attributeOldValue:!1,characterData:!1,characterDataOldValue:!1,childList:!0,subtree:!0})}()}(),K=new ResizeObserver(Oe),K.observe(document.body),Ce.add(document.body),Pe(document.body),setTimeout(me)}function he(e){Y=e,B=Y.length>0,qe("overflowChanged")}function ge(){ne=document.querySelectorAll(`[${n}]`),W=ne.length>0}function ve(e){W||X(e)}function be(e,t){void 0!==t&&""!==t&&"null"!==t&&document.body.style.setProperty(e,t)}function we(){if(""!==te)for(const e of document.querySelectorAll(te))e.dataset.iframeSize=!0}function ze(e){({add(t){function n(){qe(e.eventName,e.eventType)}u[t]=n,l(window,t,n,{passive:!0})},remove(e){const t=u[e];var n,o;delete u[e],n=e,o=t,window.removeEventListener(n,o,!1)}})[e.method](e.eventName)}function Se(e,t,n,o){return t!==e&&(e in n||(e=t)),e}function Ee(){V=Se(V,f,Re)}function je(){se=Se(se,j,xe)}function Oe(e){Array.isArray(e)&&0!==e.length&&qe("resizeObserver",`Resize Observed: ${function(e){switch(!0){case!h(e):return"";case h(e.id):return`${e.nodeName.toUpperCase()}#${e.id}`;case h(e.name):return`${e.nodeName.toUpperCase()} (${e.name})`;default:return e.nodeName.toUpperCase()+(h(e.className)?`.${e.className}`:"")}}(e[0].target)}`)}const Ce=new WeakSet;function Pe(e){if(e.nodeType!==Node.ELEMENT_NODE)return;if(!Ce.has(e)){const t=getComputedStyle(e)?.position;""!==t&&"static"!==t&&(K.observe(e),Ce.add(e))}const t=Te(e)();for(const e of t){if(Ce.has(e)||e?.nodeType!==Node.ELEMENT_NODE)continue;const t=getComputedStyle(e)?.position;""!==t&&"static"!==t&&(K.observe(e),Ce.add(e))}}function Me(e){performance.mark(S);const t=(n=e).charAt(0).toUpperCase()+n.slice(1);var n;let i=0,r=document.documentElement,a=W?0:document.documentElement.getBoundingClientRect().bottom;const l=W?ne:B?Y:Te(document)();let c=l.length;for(const t of l)W||!m||t.checkVisibility(o)?(i=t.getBoundingClientRect()[e]+parseFloat(getComputedStyle(t).getPropertyValue(`margin-${e}`)),i>a&&(a=i,r=t)):c-=1;return P=r,performance.mark(E,{detail:{Side:t,len:c,hasTags:W,logging:H}}),a}const Ne=e=>[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll(),e.boundingClientRect()],Te=e=>()=>e.querySelectorAll("* :not(head):not(meta):not(base):not(title):not(script):not(link):not(style):not(map):not(area):not(option):not(optgroup):not(template):not(track):not(wbr):not(nobr)"),Ae={height:0,width:0},ke={height:0,width:0};function Ie(e){function t(){return ke[o]=i,Ae[o]=l,i}const n=e===Re,o=n?"height":"width",i=e.boundingClientRect(),r=Math.ceil(i),a=Math.floor(i),l=(e=>e.documentElementScroll()+Math.max(0,e.getOffset()))(e);switch(!0){case!e.enabled():return l;case W:return e.taggedElement();case!B&&0===ke[o]&&0===Ae[o]:return t();case ae&&i===ke[o]&&l===Ae[o]:return Math.max(i,l);case 0===i:return l;case!B&&i!==ke[o]&&l<=Ae[o]:return t();case!n:return e.taggedElement();case!B&&i<ke[o]:case l===a||l===r:case i>l:return t()}return Math.max(e.taggedElement(),t())}const Re={enabled:()=>$,getOffset:()=>O,auto:()=>Ie(Re),bodyOffset:()=>{const{body:e}=document,n=getComputedStyle(e);return e.offsetHeight+parseInt(n.marginTop,t)+parseInt(n.marginBottom,t)},bodyScroll:()=>document.body.scrollHeight,offset:()=>Re.bodyOffset(),custom:()=>c.height(),documentElementOffset:()=>document.documentElement.offsetHeight,documentElementScroll:()=>document.documentElement.scrollHeight,boundingClientRect:()=>Math.max(document.documentElement.getBoundingClientRect().bottom,document.body.getBoundingClientRect().bottom),max:()=>Math.max(...Ne(Re)),min:()=>Math.min(...Ne(Re)),grow:()=>Re.max(),lowestElement:()=>Me(i),taggedElement:()=>Me(i)},xe={enabled:()=>L,getOffset:()=>C,auto:()=>Ie(xe),bodyScroll:()=>document.body.scrollWidth,bodyOffset:()=>document.body.offsetWidth,custom:()=>c.width(),documentElementScroll:()=>document.documentElement.scrollWidth,documentElementOffset:()=>document.documentElement.offsetWidth,boundingClientRect:()=>Math.max(document.documentElement.getBoundingClientRect().right,document.body.getBoundingClientRect().right),max:()=>Math.max(...Ne(xe)),min:()=>Math.min(...Ne(xe)),rightMostElement:()=>Me(r),scroll:()=>Math.max(xe.bodyScroll(),xe.documentElementScroll()),taggedElement:()=>Me(r)},$e=(e,t)=>!(Math.abs(e-t)<=re);let Le=!1;function qe(e,t,n,o,i){T=performance.now(),(A||e===a)&&(document.hidden||(Le||(N=!0,function(e,t,n,o,i){const r=void 0===n?Re[V]():n,l=void 0===o?xe[se]():o;$&&$e(F,r)||L&&$e(ce,l)||"init"===e?(Be(),F=r,ce=l,Ve(F,ce,e,i)):!e!==a&&($&&V in g||L&&se in g)?Fe():N=!1}(e,0,n,o,i),requestAnimationFrame((()=>{Le=!1}))),Le=!0))}function Be(){ae||(ae=!0,requestAnimationFrame((()=>{ae=!1})))}function We(e){F=Re[V](),ce=xe[se](),Ve(F,ce,e)}function Fe(e){const t=V;V=f,Be(),We("reset"),V=t}function Ve(e,t,n,o,i){Z<-1||(void 0!==i||(i=ie),function(){const r=`${Q}:${e+(O||0)}:${t+(C||0)}:${n}${void 0===o?"":`:${o}`}`;N=!1,ee?window.parent.iframeParentListener(p+r):oe.postMessage(p+r,i)}())}function De(e){const t={init:function(){J=e.data,oe=e.source,M=e.origin,ye(),q=!1,setTimeout((()=>{D=!1}),128)},reset(){D||We("resetPage")},resize(){qe(a)},moveToAnchor(){U.findTarget(n())},inPageLink(){this.moveToAnchor()},pageInfo(){const e=n();fe?setTimeout((()=>fe(JSON.parse(e)))):Ve(0,0,"pageInfoStop")},parentInfo(){const e=n();pe?setTimeout(pe(Object.freeze(JSON.parse(e)))):Ve(0,0,"parentInfoStop")},message(){const e=n();ue(JSON.parse(e))}},n=()=>e.data.slice(e.data.indexOf(":")+1),o=()=>e.data.split(":")[2]in{true:1,false:1};p===`${e.data}`.slice(0,13)&&(!1!==q?o()&&t.init():function(){const n=e.data.split("]")[1].split(":")[0];n in t?t[n]():"iframeResize"in window||void 0!==window.jQuery&&""in window.jQuery.prototype||o()||e.data}())}function Je(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}"iframeChildListener"in window||(window.iframeChildListener=e=>setTimeout((()=>De({data:e}))),l(window,"message",De),l(window,"readystatechange",Je),Je())}();