(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8719],{8220:function(e){var t;t=function(){"use strict";var e;let t;let i="5.1.5",n="[iFrameSizer]",o=n.length,r=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),l=(e,t,i,n)=>e.addEventListener(t,i,n||!1),a=(e,t,i)=>e.removeEventListener(t,i,!1),s="[iframe-resizer]",c=e=>`${s}[${window.top===window.self?`Parent page: ${e}`:window?.parentIFrame?.getId?`${window.parentIFrame.getId()}: ${e}`:`Nested parent page: ${e}`}]`,u=(e,t,...i)=>window?.console[e](c(t),...i),d=(e,...t)=>u("warn",e,...t),f=(e,t)=>{let i;return console?.warn((i=(...t)=>[`${s}[${e}]`,...t].join(" "),e=>window.chrome?i(e.replaceAll("<br>","\n").replaceAll("<rb>","\x1b[31;1m").replaceAll("</>","\x1b[m").replaceAll("<b>","\x1b[1m").replaceAll("<i>","\x1b[3m").replaceAll("<u>","\x1b[4m")):i(e.replaceAll("<br>","\n").replaceAll(/<[/a-z]+>/gi,"")))(t))},p=e=>{if(!e)return"";let t=-0x21524118,i=0x41c6ce50;for(let n,o=0;o<e.length;o++)t=Math.imul(t^(n=e.codePointAt(o)),0x85ebca77),i=Math.imul(i^n,0xc2b2ae3d);return t^=Math.imul(t^i>>>15,0x735a2d97),i^=Math.imul(i^t>>>15,0xcaf649a9),t^=i>>>16,(2097152*((i^=t>>>16)>>>0)+(t>>>11)).toString(36)},m=e=>e.replaceAll(/[A-Za-z]/g,e=>String.fromCodePoint((e<="Z"?90:122)>=(e=e.codePointAt(0)+19)?e:e-26)),h=["<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</>."],y=["NWSc3","zvsv","wyv","ibzpulzz","vlt"],g=Object.fromEntries(["2cgs7fdf4xb","1c9ctcccr4z","1q2pc4eebgb","ueokt0969w","w2zxchhgqz","1umuxblj2e5"].map((e,t)=>[e,Math.max(0,t-1)])),b=e=>m(h[e]),v=e=>{let t=e[m("spjluzl")];if(!t)return -1;let i=t.split("-"),n=function(e=""){let t=-2,i=p(m(e));return i in g&&(t=g[i]),t}(i[0]);return 0===n||i[2]===p(i[0]+i[1])||(n=-2),n},w={},z=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyPadding:null,checkOrigin:!0,direction:"vertical",inPageLinks:!1,heightCalculationMethod:"auto",id:"iFrameResizer",log:!1,license:void 0,mouseEvents:!0,offsetHeight:null,offsetWidth:null,postMessageTarget:null,sameDomain:!1,scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,waitForLoad:!1,widthCalculationMethod:"auto",onClose:()=>!0,onClosed(){},onInit:!1,onMessage:null,onMouseEnter(){},onMouseLeave(){},onReady:e=>{"function"==typeof w[e.id].onInit&&(f(e.id,"\n\x1b[31;1mDeprecated Option\x1b[m\n\nThe \x1b[1monInit()\x1b[m function is deprecated and has been replaced with \x1b[1monReady()\x1b[m. It will be removed in a future version of iFrame Resizer.\n      "),w[e.id].onInit(e))},onResized(){},onScroll:()=>!0}),j={position:null,version:i};function k(e){let t;function r(){I(F),M(),N("onResized",F)}function s(e){return L.slice(L.indexOf(":")+7+e)}let c=(e,t)=>(i,n)=>{var o;let r={};o=function(){P(`Send ${e} (${i})`,`${e}:${t()}`,n)},r[n]||(o(),r[n]=requestAnimationFrame(()=>{r[n]=null}))},u=(e,t)=>()=>{let i=t=>()=>{w[r]?e(t,r):o()};function n(e,t){t(window,"scroll",i("scroll")),t(window,"resize",i("resize window"))}function o(){n(0,a),s.disconnect(),c.disconnect()}let r=H,s=new ResizeObserver(i("page observed")),c=new ResizeObserver(i("iframe observed"));n(0,l),s.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),c.observe(w[r].iframe,{attributes:!0,childList:!1,subtree:!1}),w[r]&&(w[r][`stop${t}`]=o)},p=e=>()=>{e in w[H]&&(w[H][e](),delete w[H][e])},m=c("pageInfo",function(){let e=document.body.getBoundingClientRect(),t=F.iframe.getBoundingClientRect(),{scrollY:i,scrollX:n,innerHeight:o,innerWidth:r}=window,{clientHeight:l,clientWidth:a}=document.documentElement;return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(l,o||0),clientWidth:Math.max(a,r||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:i,scrollLeft:n,documentHeight:l,documentWidth:a,windowHeight:o,windowWidth:r})}),h=c("parentInfo",function(){let{iframe:e}=F,{scrollWidth:t,scrollHeight:i}=document.documentElement,{width:n,height:o,offsetLeft:r,offsetTop:l,pageLeft:a,pageTop:s,scale:c}=window.visualViewport;return JSON.stringify({iframe:e.getBoundingClientRect(),document:{scrollWidth:t,scrollHeight:i},viewport:{width:n,height:o,offsetLeft:r,offsetTop:l,pageLeft:a,pageTop:s,scale:c}})}),y=u(m,"PageInfo"),g=u(h,"ParentInfo"),b=p("stopPageInfo"),v=p("stopParentInfo");function z(e){let t=e.getBoundingClientRect();return T(),{x:Number(t.left)+Number(j.position.x),y:Number(t.top)+Number(j.position.y)}}function k(e){let t;let i=e?z(F.iframe):{x:0,y:0},n={x:(t=F).width+i.x,y:t.height+i.y};window.top===window.self?(j.position=n,O(H)):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):d(H,"Unable to scroll to requested position, window.parentIFrame not found")}function O(e){let{x:t,y:i}=j.position;!1!==N("onScroll",{iframe:w[e]?.iframe,top:i,left:t,x:t,y:i})?M():S()}function E(e){let t={};if(0===F.width&&0===F.height){let e=s(9).split(":");t={x:e[1],y:e[0]}}else t={x:F.width,y:F.height};N(e,{iframe:F.iframe,screenX:Number(t.x),screenY:Number(t.y),type:F.type})}let N=(e,t)=>x(H,e,t),L=e.data,F={},H=null;"[iFrameResizerChild]Ready"!==L?n===`${L}`.slice(0,o)&&L.slice(o).split(":")[0]in w&&((H=(F=function(){let e=L.slice(o).split(":"),t=e[1]?Number(e[1]):0,i=w[e[0]]?.iframe,n=getComputedStyle(i);return{iframe:i,id:e[0],height:t+("border-box"!==n.boxSizing?0:(n.paddingTop?parseInt(n.paddingTop,10):0)+(n.paddingBottom?parseInt(n.paddingBottom,10):0))+("border-box"!==n.boxSizing?0:(n.borderTopWidth?parseInt(n.borderTopWidth,10):0)+(n.borderBottomWidth?parseInt(n.borderBottomWidth,10):0)),width:Number(e[2]),type:e[3],msg:e[4]}}()).id)?(function(e){if(!w[e])throw Error(`${F.type} No settings for ${e}. Message was: ${L}`)}(H),F.type in{true:1,false:1,undefined:1}||(w[H].loaded=!0,t=!0,null===F.iframe&&(d(H,`The iframe (${F.id}) was not found.`),t=!1),t&&function(){let{origin:t,sameDomain:i}=e;if(i)return!0;let n=w[H]?.checkOrigin;if(n&&"null"!=`${t}`&&!(n.constructor===Array?function(){let e=0,i=!1;for(;e<n.length;e++)if(n[e]===t){i=!0;break}return i}():t===w[H]?.remoteHost))throw Error(`Unexpected message received from: ${t} for ${F.iframe.id}. Message was: ${e.data}. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.`);return!0}()&&function(){var e,t,n,o;switch(w[H]?.firstRun&&w[H]&&(w[H].firstRun=!1),F.type){case"close":R(F.iframe);break;case"message":t=s(6),N("onMessage",{iframe:F.iframe,message:JSON.parse(t)});break;case"mouseenter":E("onMouseEnter");break;case"mouseleave":E("onMouseLeave");break;case"autoResize":w[H].autoResize=JSON.parse(s(9));break;case"scrollBy":!function(){let e=F.width,t=F.height;(window.parentIframe||window).scrollBy(e,t)}();break;case"scrollTo":k(!1);break;case"scrollToOffset":k(!0);break;case"pageInfo":m("start",H),y();break;case"parentInfo":h("start",H),g();break;case"pageInfoStop":b();break;case"parentInfoStop":v();break;case"inPageLink":!function(e){let t=e.split("#")[1]||"",i=decodeURIComponent(t),n=document.getElementById(i)||document.getElementsByName(i)[0];n?function(){let e=z(n);j.position={x:e.x,y:e.y},O(H)}():window.top!==window.self&&window.parentIFrame&&window.parentIFrame.moveToAnchor(t)}(s(9));break;case"title":n=F.msg,o=H,w[o]?.syncTitle&&(w[o].iframe.title=n);break;case"reset":$(F);break;case"init":r(),function(e){try{w[e].sameDomain=!!w[e]?.iframe?.contentWindow?.iframeChildListener}catch(t){w[e].sameDomain=!1}}(H),(e=F.msg)!==i&&(void 0!==e||f(H,"<rb>Legacy version detected in iframe</>\n\nDetected legacy version of child page script. It is recommended to update the page in the iframe to use <b>@iframe-resizer/child</>.\n\nSee <u>https://iframe-resizer.com/setup/#child-page-setup</> for more details.\n")),C=!0,N("onReady",F.iframe);break;default:if(0===F.width&&0===F.height)return void d(`Unsupported message received (${F.type}), this is likely due to the iframe containing a later version of iframe-resizer than the parent page`);if(0===F.width||0===F.height||document.hidden)return;r()}}())):d("iframeResizer received messageData without id, message was: ",L)):Object.keys(w).forEach(e=>{w[e].mode>=0&&P("iFrame requested init",W(e),e)})}function x(e,t,i){let n=null,o=null;if(w[e]){if("function"!=typeof(n=w[e][t]))throw TypeError(`${t} on iFrame[${e}] is not a function`);o=n(i)}return o}function O(e){let t=e.id;delete w[t]}function R(e){let t=e.id;if(!1!==x(t,"onClose",t)){try{e.parentNode&&e.remove()}catch(e){d(e)}x(t,"onClosed",t),O(e)}}function T(e){null===j.position&&(j.position={x:window.scrollX,y:window.scrollY})}function S(){j.position=null}function M(e){null!==j.position&&(window.scrollTo(j.position.x,j.position.y),S())}function $(e){T(e.id),I(e),P("reset","reset",e.id)}function I(e){let t=e.id;function i(t){let i=`${e[t]}px`;e.iframe.style[t]=i}w[t].sizeHeight&&i("height"),w[t].sizeWidth&&i("width")}function P(e,t,i,o){w[i]&&(w[i]?.postMessageTarget?function(){let{postMessageTarget:e,targetOrigin:o}=w[i];if(w[i].sameDomain)try{return void w[i].iframe.contentWindow.iframeChildListener(n+t)}catch(e){}e.postMessage(n+t,o)}():d(i,`[${e}] IFrame(${i}) not found`),o&&w[i]?.warningTimeout&&(w[i].msgTimeout=setTimeout(function(){void 0!==w[i]&&(w[i].loaded||w[i].loadErrorShown||(w[i].loadErrorShown=!0,f(i,`
<rb>No response from iFrame</>
            
The iframe (<i>${i}</>) has not responded within ${w[i].warningTimeout/1e3} seconds. Check <b>@iframe-resizer/child</> package has been loaded in the iframe.

This message can be ignored if everything is working, or you can set the <b>warningTimeout</> option to a higher value or zero to suppress this warning.
`)))},w[i].warningTimeout)))}function W(e){let t=w[e];return[e,"8",t.sizeWidth,t.log,"32",!0,t.autoResize,t.bodyMargin,t.heightCalculationMethod,t.bodyBackground,t.bodyPadding,t.tolerance,t.inPageLinks,"child",t.widthCalculationMethod,t.mouseEvents,t.offsetHeight,t.offsetWidth,t.sizeHeight,t.license,j.version,t.mode].join(":")}let E=0,C=!1,N=!1;function L(){!1===document.hidden&&function(e,t){let i=e=>w[e]?.autoResize&&!w[e]?.firstRun;Object.keys(w).forEach(function(n){i(n)&&P(e,t,n)})}("Tab Visible","resize")}let F=(e=()=>{l(window,"message",k),l(document,"visibilitychange",L),window.iframeParentListener=e=>k({data:e,sameDomain:!0})},t=!1,function(){return t?void 0:(t=!0,Reflect.apply(e,this,arguments))});return e=>t=>{var n,o;let a=function(i){let n;if(i&&"string"!=typeof i)throw TypeError("Invalid id for iFrame. Expected String");return""!==i&&i||(t.id=(n=e?.id||z.id+E++,null!==document.getElementById(n)&&(n+=E++),i=n),(e||{}).log),i}(t.id);return a in w&&"iFrameResizer"in t?d(a,"Ignored iFrame, already setup."):(w[a]={iframe:t,firstRun:!0,remoteHost:t?.src.split("/").slice(0,3).join("/"),...z,...function(e){if(!e)return{};if("object"!=typeof e)throw TypeError("Options is not an object");return("sizeWidth"in e||"sizeHeight"in e||"autoResize"in e)&&f(a,'<rb>Deprecated Option</>\n\nThe <b>sizeWidth</>, <b>sizeHeight</> and <b>autoResize</> options have been replaced with new <b>direction</> option which expects values of <i>"vertical"</>, <i>"horizontal"</> or <i>"horizontal"</>.\n'),e}(e),mode:v(e),syncTitle:function(e){let t=w[e]?.iframe?.title;return""===t||void 0===t}(a)},function(){if("horizontal"===w[a].direction)return w[a].sizeWidth=!0,void(w[a].sizeHeight=!1);if("none"===w[a].direction)return w[a].sizeWidth=!1,w[a].sizeHeight=!1,void(w[a].autoResize=!1);if("vertical"!==w[a].direction)throw TypeError(a,`Direction value of "${w[a].direction}" is not valid`)}(),(n=e?.offset)&&("vertical"===w[a].direction?w[a].offsetHeight=n:w[a].offsetWidth=n),null===w[a].postMessageTarget&&(w[a].postMessageTarget=t.contentWindow),w[a].targetOrigin=!0===w[a].checkOrigin?""===(o=w[a].remoteHost)||null!==o.match(/^(about:blank|javascript:|file:\/\/)/)?"*":o:"*",function(){let{mode:e}=w[a];e<0&&f("Parent",`${b(e+2)}${b(2)}`),N||e<0||(N=!0,((e,...t)=>{u("info",e,...t)})(`v${i} (${m(y[e])})`),e<1&&f("Parent",b(3)))}(),F(),function(){switch(t.style.overflow=!1===w[a]?.scrolling?"hidden":"auto",w[a]?.scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=w[a]?w[a].scrolling:"no"}}(),function(){let{bodyMargin:e}=w[a];"number"!=typeof e&&"0"!==e||(w[a].bodyMargin=`${e}px`)}(),function(e){let{id:i}=t;-1!==w[i].mode&&-2!==w[i].mode&&(l(t,"load",function(){P("iFrame.onload",`${e}:${C}`,i,!0),function(){let e=w[a]?.firstRun,i=w[a]?.heightCalculationMethod in r;!e&&i&&$({iframe:t,height:0,width:0,type:"init"})}()}),!1===w[i].waitForLoad&&P("init",`${e}:${C}`,i,!0))}(W(a)),function(){if(w[a]){let e={close:R.bind(null,w[a].iframe),disconnect:O.bind(null,w[a].iframe),removeListeners(){f(a,"\n<rb>Deprecated Method Name</>\n\nThe \x1b[removeListeners()</> method has been renamed to \x1b[disconnect()</>.\n"),this.disconnect()},resize:P.bind(null,"Window resize","resize",a),moveToAnchor(e){P("Move to anchor",`moveToAnchor:${e}`,a)},sendMessage(e){P("Send Message",`message:${e=JSON.stringify(e)}`,a)}};w[a].iframe.iframeResizer=e,w[a].iframe.iFrameResizer=e}}()),t?.iFrameResizer}},e.exports=t()},8719:(e,t,i)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(null,arguments)}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(null==e)return{};var i,n,o=function(e,t){if(null==e)return{};var i={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;i[n]=e[n]}return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.includes(i)||({}).propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}i.d(t,{Z:()=>h});var l=i(8220),a=i.n(l),s=i(2265),c=i(5556),u=i.n(c),d=["license","bodyBackground","bodyMargin","bodyPadding","checkOrigin","direction","inPageLinks","offset","offsetHeight","offsetWidth","scrolling","tolerance","warningTimeout","onClosed","onReady","onMessage","onResized"],f=["title","forwardRef"];function p(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?p(Object(i),!0).forEach(function(t){!function(e,t,i){var n;(n=function(e,t){if("object"!=o(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function h(e){var t=e.title,i=e.forwardRef,o=r(e,f),l=(o.license,o.bodyBackground,o.bodyMargin,o.bodyPadding,o.checkOrigin,o.direction,o.inPageLinks,o.offset,o.offsetHeight,o.offsetWidth,o.scrolling,o.tolerance,o.warningTimeout,o.onClosed,o.onReady,o.onMessage,o.onResized,r(o,d)),c=(0,s.useRef)(null),p=function(){var e;return u()(!c.current,"[iframe-resizer/react][".concat(null==c||null===(e=c.current)||void 0===e?void 0:e.id,"] Close event ignored, to remove the iframe update your React component.")),!c.current};return(0,s.useEffect)(function(){var e=c.current,t=a()(m(m({},o),{},{onClose:p}))(e);return function(){return null==t?void 0:t.disconnect()}},[]),(0,s.useImperativeHandle)(i,function(){return{getRef:function(){return c},getElement:function(){return c.current},resize:function(){return c.current.iframeResizer.resize()},moveToAnchor:function(e){return c.current.iframeResizer.moveToAnchor(e)},sendMessage:function(e,t){c.current.iframeResizer.sendMessage(e,t)}}}),s.createElement("iframe",n({title:t},l,{ref:c}))}},5556:e=>{"use strict";e.exports=function(){}}}]);