1import{s as wt,n as dt,d as Pe,c as fe,a0 as mt,i as bt,e as $e,g as et,l as tt,x as Ot,b as Ge,f as gt,m as ht,o as pt}from"../chunks/DZvRT-3J.js";import{S as yt,i as Mt,d as nt,t as it,a as rt,m as ot,c as at,b as st}from"../chunks/CvglDdp-.js";import{t as It}from"../chunks/BOJ8JyqZ.js";import{B as zt}from"../chunks/IPz5Bnr3.js";import{B as kt}from"../chunks/JZZP_QCL.js";import{p as Rt}from"../chunks/C1-C9R24.js";var Tt={exports:{}};(function(_){console.info(` 2IFRAME-RESIZER 3 4Iframe-Resizer 5 is now available via the following two packages: 5 6 * @iframe-resizer/parent 7 * @iframe-resizer/child 8 9Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery. 10 11Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events. 12 13Please see https://iframe-resizer.com/upgrade for more details. 14`),function(s){if(typeof window>"u")return;var F=0,I,O=!1,A=!1,J="message",K=J.length,D="[iFrameSizer]",Q=D.length,y=null,S=window.requestAnimationFrame,oe=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),n={},ge=null,P=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){V("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function Ce(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function ae(e,o,h){e.addEventListener(o,h,!1)}function he(e,o,h){e.removeEventListener(o,h,!1)}function se(){var e=["moz","webkit","o","ms"],o;for(o=0;o<e.length&&!S;o+=1)S=window[e[o]+"RequestAnimationFrame"];S?S=S.bind(window):g("setup","RequestAnimationFrame not supported")}function Ve(e){var o="Host page: "+e;return window.top!==window.self&&(o=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),o}function Ne(e){return D+"["+Ve(e)+"]"}function Fe(e){return n[e]?n[e].log:O}function g(e,o){Ee("log",e,o,Fe(e))}function Ae(e,o){Ee("info",e,o,Fe(e))}function V(e,o){Ee("warn",e,o,!0)}function Ee(e,o,h,u){u===!0&&typeof window.console=="object"&&console[e](Ne(o),h)}function We(e){function o(){function a(){Be(b),He(l),ue("onResized",b)}p("Height"),p("Width"),U(a,b,"init")}function h(){var a=Y.slice(Q).split(":"),d=a[1]?parseInt(a[1],10):0,v=n[a[0]]&&n[a[0]].iframe,T=getComputedStyle(v);return{iframe:v,id:a[0],height:d+u(T)+w(T),width:a[2],type:a[3]}}function u(a){if(a.boxSizing!=="border-box")return 0;var d=a.paddingTop?parseInt(a.paddingTop,10):0,v=a.paddingBottom?parseInt(a.paddingBottom,10):0;return d+v}function w(a){if(a.boxSizing!=="border-box")return 0;var d=a.borderTopWidth?parseInt(a.borderTopWidth,10):0,v=a.borderBottomWidth?parseInt(a.borderBottomWidth,10):0;return d+v}function p(a){var d=Number(n[l]["max"+a]),v=Number(n[l]["min"+a]),T=a.toLowerCase(),C=Number(b[T]);g(l,"Checking "+T+" is in range "+v+"-"+d),C<v&&(C=v,g(l,"Set "+T+" to min value")),C>d&&(C=d,g(l,"Set "+T+" to max value")),b[T]=""+C}function G(){function a(){function T(){var B=0,j=!1;for(g(l,"Checking connection is from allowed list of origins: "+v);B<v.length;B++)if(v[B]===d){j=!0;break}return j}function C(){var B=n[l]&&n[l].remoteHost;return g(l,"Checking connection is from: "+B),d===B}return v.constructor===Array?T():C()}var d=e.origin,v=n[l]&&n[l].checkOrigin;if(v&&""+d!="null"&&!a())throw new Error("Unexpected message received from: "+d+" for "+b.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 te(){return D===(""+Y).slice(0,Q)&&Y.slice(Q).split(":")[0]in n}function ne(){var a=b.type in{true:1,false:1,undefined:1};return a&&g(l,"Ignoring init message from meta parent page"),a}function ie(a){return Y.slice(Y.indexOf(":")+K+a)}function z(a){g(l,"onMessage passed: {iframe: "+b.iframe.id+", message: "+a+"}"),ue("onMessage",{iframe:b.iframe,message:JSON.parse(a)}),g(l,"--")}function ke(){var a=document.body.getBoundingClientRect(),d=b.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:d.height,iframeWidth:d.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(d.top-a.top,10),offsetLeft:parseInt(d.left-a.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function ye(a,d){function v(){Z("Send Page Info","pageInfo:"+ke(),a,d)}Ue(v,32,d)}function Re(){function a(C,B){function j(){n[T]?ye(n[T].iframe,T):d()}["scroll","resize"].forEach(function(De){g(T,C+De+" listener for sendPageInfo"),B(window,De,j)})}function d(){a("Remove ",he)}function v(){a("Add ",ae)}var T=l;v(),n[T]&&(n[T].stopPageInfo=d)}function Se(){n[l]&&n[l].stopPageInfo&&(n[l].stopPageInfo(),delete n[l].stopPageInfo)}function xe(){var a=!0;return b.iframe===null&&(V(l,"IFrame ("+b.id+") not found"),a=!1),a}function c(a){var d=a.getBoundingClientRect();return ve(l),{x:Math.floor(Number(d.left)+Number(y.x)),y:Math.floor(Number(d.top)+Number(y.y))}}function f(a){function d(){y=B,L(),g(l,"--")}function v(){return{x:Number(b.width)+C.x,y:Number(b.height)+C.y}}function T(){window.parentIFrame?window.parentIFrame["scrollTo"+(a?"Offset":"")](B.x,B.y):V(l,"Unable to scroll to requested position, window.parentIFrame not found")}var C=a?c(b.iframe):{x:0,y:0},B=v();g(l,"Reposition requested from iFrame (offset x:"+C.x+" y:"+C.y+")"),window.top===window.self?d():T()}
14function L(){ue("onScroll",y)===!1?de():He(l)}function W(a){function d(){var j=c(B);g(l,"Moving to in page link (#"+T+") at x: "+j.x+" y: "+j.y),y={x:j.x,y:j.y},L(),g(l,"--")}function v(){window.parentIFrame?window.parentIFrame.moveToAnchor(T):g(l,"In page link #"+T+" not found and window.parentIFrame not found")}var T=a.split("#")[1]||"",C=decodeURIComponent(T),B=document.getElementById(C)||document.getElementsByName(C)[0];B?d():window.top===window.self?g(l,"In page link #"+T+" not found"):v()}function X(a){var d={};if(Number(b.width)===0&&Number(b.height)===0){var v=ie(9).split(":");d={x:v[1],y:v[0]}}else d={x:b.width,y:b.height};ue(a,{iframe:b.iframe,screenX:Number(d.x),screenY:Number(d.y),type:b.type})}function ue(a,d){return Oe(l,a,d)}function Me(){switch(n[l]&&n[l].firstRun&&Te(),b.type){case"close":{pe(b.iframe);break}case"message":{z(ie(6));break}case"mouseenter":{X("onMouseEnter");break}case"mouseleave":{X("onMouseLeave");break}case"autoResize":{n[l].autoResize=JSON.parse(ie(9));break}case"scrollTo":{f(!1);break}case"scrollToOffset":{f(!0);break}case"pageInfo":{ye(n[l]&&n[l].iframe,l),Re();break}case"pageInfoStop":{Se();break}case"inPageLink":{W(ie(9));break}case"reset":{me(b);break}case"init":{o(),ue("onInit",b.iframe);break}default:Number(b.width)===0&&Number(b.height)===0?V("Unsupported message received ("+b.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):o()}}function qe(a){var d=!0;return n[a]||(d=!1,V(b.type+" No settings for "+a+". Message was: "+Y)),d}function _e(){for(var a in n)Z("iFrame requested init",Ie(a),n[a].iframe,a)}function Te(){n[l]&&(n[l].firstRun=!1)}var Y=e.data,b={},l=null;Y==="[iFrameResizerChild]Ready"?_e():te()?(b=h(),l=b.id,n[l]&&(n[l].loaded=!0),!ne()&&qe(l)&&(g(l,"Received: "+Y),xe()&&G()&&Me())):Ae(l,"Ignored: "+Y)}function Oe(e,o,h){var u=null,w=null;if(n[e])if(u=n[e][o],typeof u=="function")w=u(h);else throw new TypeError(o+" on iFrame["+e+"] is not a function");return w}function le(e){var o=e.id;delete n[o]}function pe(e){var o=e.id;if(Oe(o,"onClose",o)===!1){g(o,"Close iframe cancelled by onClose event");return}g(o,"Removing iFrame: "+o);try{e.parentNode&&e.parentNode.removeChild(e)}catch(h){V(h)}Oe(o,"onClosed",o),g(o,"--"),le(e),I&&(I.disconnect(),I=null)}function ve(e){y===null&&(y={x:window.pageXOffset===s?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===s?document.documentElement.scrollTop:window.pageYOffset},g(e,"Get page position: "+y.x+","+y.y))}function He(e){y!==null&&(window.scrollTo(y.x,y.y),g(e,"Set page position: "+y.x+","+y.y),de())}function de(){y=null}function me(e){function o(){Be(e),Z("reset","reset",e.iframe,e.id)}g(e.id,"Size reset requested by "+(e.type==="init"?"host page":"iFrame")),ve(e.id),U(o,e,"reset")}function Be(e){function o(p){if(!e.id){g("undefined","messageData id not set");return}e.iframe.style[p]=e[p]+"px",g(e.id,"IFrame ("+w+") "+p+" set to "+e[p]+"px")}function h(p){!A&&e[p]==="0"&&(A=!0,g(w,"Hidden iFrame detected, creating visibility listener"),Je())}function u(p){o(p),h(p)}var w=e.iframe.id;n[w]&&(n[w].sizeHeight&&u("height"),n[w].sizeWidth&&u("width"))}function U(e,o,h){h!==o.type&&S&&!window.jasmine?(g(o.id,"Requesting animation frame"),S(e)):e()}function Z(e,o,h,u,w){function p(){var z=n[u]&&n[u].targetOrigin;g(u,"["+e+"] Sending msg to iframe["+u+"] ("+o+") targetOrigin: "+z),h.contentWindow.postMessage(D+o,z)}function G(){V(u,"["+e+"] IFrame("+u+") not found")}function te(){h&&"contentWindow"in h&&h.contentWindow!==null?p():G()}function ne(){function z(){n[u]&&!n[u].loaded&&!ie&&(ie=!0,V(u,"IFrame has not responded within "+n[u].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}w&&n[u]&&n[u].warningTimeout&&(n[u].msgTimeout=setTimeout(z,n[u].warningTimeout))}var ie=!1;u=u||h.id,n[u]&&(te(),ne())}function Ie(e){return e+":"+n[e].bodyMarginV1+":"+n[e].sizeWidth+":"+n[e].log+":"+n[e].interval+":"+n[e].enablePublicMethods+":"+n[e].autoResize+":"+n[e].bodyMargin+":"+n[e].heightCalculationMethod+":"+n[e].bodyBackgroun
14d+":"+n[e].bodyPadding+":"+n[e].tolerance+":"+n[e].inPageLinks+":"+n[e].resizeFrom+":"+n[e].widthCalculationMethod+":"+n[e].mouseEvents}function je(e){return typeof e=="number"}function ze(e,o){function h(){function f(W){var X=n[c][W];X!==1/0&&X!==0&&(e.style[W]=je(X)?X+"px":X,g(c,"Set "+W+" = "+e.style[W]))}function L(W){if(n[c]["min"+W]>n[c]["max"+W])throw new Error("Value for min"+W+" can not be greater than max"+W)}L("Height"),L("Width"),f("maxHeight"),f("minHeight"),f("maxWidth"),f("minWidth")}function u(){var f=o&&o.id||P.id+F++;return document.getElementById(f)!==null&&(f+=F++),f}function w(f){if(typeof f!="string")throw new TypeError("Invaild id for iFrame. Expected String");return f===""&&(e.id=f=u(),O=(o||{}).log,g(f,"Added missing iframe ID: "+f+" ("+e.src+")")),f}function p(){switch(g(c,"IFrame scrolling "+(n[c]&&n[c].scrolling?"enabled":"disabled")+" for "+c),e.style.overflow=(n[c]&&n[c].scrolling)===!1?"hidden":"auto",n[c]&&n[c].scrolling){case"omit":break;case!0:{e.scrolling="yes";break}case!1:{e.scrolling="no";break}default:e.scrolling=n[c]?n[c].scrolling:"no"}}function G(){(typeof(n[c]&&n[c].bodyMargin)=="number"||(n[c]&&n[c].bodyMargin)==="0")&&(n[c].bodyMarginV1=n[c].bodyMargin,n[c].bodyMargin=""+n[c].bodyMargin+"px")}function te(){var f=n[c]&&n[c].firstRun,L=n[c]&&n[c].heightCalculationMethod in oe;!f&&L&&me({iframe:e,height:0,width:0,type:"init"})}function ne(){n[c]&&(n[c].iframe.iFrameResizer={close:pe.bind(null,n[c].iframe),removeListeners:le.bind(null,n[c].iframe),resize:Z.bind(null,"Window resize","resize",n[c].iframe),moveToAnchor:function(f){Z("Move to anchor","moveToAnchor:"+f,n[c].iframe,c)},sendMessage:function(f){f=JSON.stringify(f),Z("Send Message","message:"+f,n[c].iframe,c)}})}function ie(f){function L(){Z("iFrame.onload",f,e,s,!0),te()}function W(ue){if(!e.parentNode)return null;var Me=new ue(function(qe){qe.forEach(function(_e){var Te=Array.prototype.slice.call(_e.removedNodes);Te.forEach(function(Y){Y===e&&pe(e)})})});return Me.observe(e.parentNode,{childList:!0}),Me}var X=Ce();X&&(I=W(X)),ae(e,"load",L),Z("init",f,e,s,!0)}function z(f){if(typeof f!="object")throw new TypeError("Options is not an object")}function ke(f){for(var L in P)Object.prototype.hasOwnProperty.call(P,L)&&(n[c][L]=Object.prototype.hasOwnProperty.call(f,L)?f[L]:P[L])}function ye(f){return f===""||f.match(/^(about:blank|javascript:|file:\/\/)/)!==null?"*":f}function Re(f){var L=f.split("Callback");if(L.length===2){var W="on"+L[0].charAt(0).toUpperCase()+L[0].slice(1);this[W]=this[f],delete this[f],V(c,"Deprecated: '"+f+"' has been renamed '"+W+"'. The old method will be removed in the next major version.")}}function Se(f){f=f||{},n[c]=Object.create(null),n[c].iframe=e,n[c].firstRun=!0,n[c].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),z(f),Object.keys(f).forEach(Re,f),ke(f),n[c]&&(n[c].targetOrigin=n[c].checkOrigin===!0?ye(n[c].remoteHost):"*")}function xe(){return c in n&&"iFrameResizer"in e}var c=w(e.id);xe()?V(c,"Ignored iFrame, already setup."):(Se(o),p(),h(),G(),ie(Ie(c)),ne())}function we(e,o){ge===null&&(ge=setTimeout(function(){ge=null,e()},o))}var be={};function Ue(e,o,h){be[h]||(be[h]=setTimeout(function(){be[h]=null,e()},o))}function Je(){function e(){function w(p){function G(ne){return(n[p]&&n[p].iframe.style[ne])==="0px"}function te(ne){return ne.offsetParent!==null}n[p]&&te(n[p].iframe)&&(G("height")||G("width"))&&Z("Visibility change","resize",n[p].iframe,p)}Object.keys(n).forEach(function(p){w(p)})}function o(w){g("window","Mutation observed: "+w[0].target+" "+w[0].type),we(e,16)}function h(){var w=document.querySelector("body"),p={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},G=new u(o);G.observe(w,p)}var u=Ce();u&&h()}function Qe(e){function o(){Xe("Window "+e,"resize")}g("window","Trigger event: "+e),we(o,16)}function ce(){function e(){Xe("Tab Visible","resize")}document.visibilityState!=="hidden"&&(g("document","Trigger event: Visibility change"),we(e,16))}function Xe(e,o){function h(u){return n[u]&&n[u].resizeFrom==="parent"&&n[u].autoResize&&!n[u].firstRun}
14Object.keys(n).forEach(function(u){h(u)&&Z(e,o,n[u].iframe,u)})}function Ye(){ae(window,"message",We),ae(window,"resize",function(){Qe("resize")}),ae(document,"visibilitychange",ce),ae(document,"-webkit-visibilitychange",ce)}function Ke(){function e(u,w){function p(){if(w.tagName){if(w.tagName.toUpperCase()!=="IFRAME")throw new TypeError("Expected <IFRAME> tag, found <"+w.tagName+">")}else throw new TypeError("Object is not a valid DOM element")}w&&(p(),ze(w,u),h.push(w))}function o(u){u&&u.enablePublicMethods&&V("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var h;return se(),Ye(),function(w,p){switch(h=[],o(w),typeof p){case"undefined":case"string":{Array.prototype.forEach.call(document.querySelectorAll(p||"iframe"),e.bind(s,w));break}case"object":{e(w,p);break}default:throw new TypeError("Unexpected data type ("+typeof p+")")}return h}}function Ze(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(h){function u(w,p){ze(p,h)}return this.filter("iframe").each(u).end()}):Ae("","Unable to bind to jQuery, it is not fully loaded.")}window.jQuery!==s&&Ze(window.jQuery),_.exports=Ke(),window.iFrameResize=window.iFrameResize||Ke()}()})(Tt);var St=Tt.exports,Ft={exports:{}};(function(_){(function(s){if(typeof window>"u")return;var F=!0,I=10,O="",A=0,J="",K=null,D="",Q=!1,y={resize:1,click:1},S=128,oe=!0,n=1,ge="bodyOffset",P=ge,Ce=!0,ae="",he={},se=32,Ve=null,Ne=!1,Fe=!1,g="[iFrameSizer]",Ae=g.length,V="",Ee={max:1,min:1,bodyScroll:1,documentElementScroll:1},We="child",Oe=window.parent,le="*",pe=0,ve=!1,He=null,de=16,me=1,Be="scroll",U=Be,Z=window,Ie=function(){o("onMessage function not defined")},je=function(){},ze=function(){},we={height:function(){return o("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return o("Custom width calculation function not defined"),document.body.scrollWidth}},be={},Ue=!1;function Je(){}try{var Qe=Object.create({},{passive:{get:function(){Ue=!0}}});window.addEventListener("test",Je,Qe),window.removeEventListener("test",Je,Qe)}catch{}function ce(t,i,r,m){t.addEventListener(i,r,Ue?m||{}:!1)}function Xe(t,i,r){t.removeEventListener(i,r,!1)}function Ye(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ke(t){var i,r,m,E=null,N=0,q=function(){N=Date.now(),E=null,m=t.apply(i,r),E||(i=r=null)};return function(){var H=Date.now();N||(N=H);var k=de-(H-N);return i=this,r=arguments,k<=0||k>de?(E&&(clearTimeout(E),E=null),N=H,m=t.apply(i,r),E||(i=r=null)):E||(E=setTimeout(q,k)),m}}function Ze(t){return g+"["+V+"] "+t}function e(t){Ne&&typeof window.console=="object"&&console.log(Ze(t))}function o(t){typeof window.console=="object"&&console.warn(Ze(t))}function h(){u(),e("Initialising iFrame ("+window.location.href+")"),p(),ne(),te("background",O),te("padding",D),L(),Re(),Se(),ie(),ue(),X(),xe(),he=W(),j("init","Init message from host page"),je()}function u(){function t(r){return r==="true"}var i=ae.slice(Ae).split(":");V=i[0],A=s===i[1]?A:Number(i[1]),Q=s===i[2]?Q:t(i[2]),Ne=s===i[3]?Ne:t(i[3]),se=s===i[4]?se:Number(i[4]),F=s===i[6]?F:t(i[6]),J=i[7],P=s===i[8]?P:i[8],O=i[9],D=i[10],pe=s===i[11]?pe:Number(i[11]),he.enable=s===i[12]?!1:t(i[12]),We=s===i[13]?We:i[13],U=s===i[14]?U:i[14],Fe=s===i[15]?Fe:t(i[15])}function w(t){var i=t.split("Callback");if(i.length===2){var r="on"+i[0].charAt(0).toUpperCase()+i[0].slice(1);this[r]=this[t],delete this[t],o("Deprecated: '"+t+"' has been renamed '"+r+"'. The old method will be removed in the next major version.")}}function p(){function t(){var r=window.iFrameResizer;e("Reading data from page: "+JSON.stringify(r)),Object.keys(r).forEach(w,r),Ie="onMessage"in r?r.onMessage:Ie,je="onReady"in r?r.onReady:je,le="targetOrigin"in r?r.targetOrigin:le,P="heightCalculationMethod"in r?r.heightCalculationMethod:P,U="widthCalculationMethod"in r?r.widthCalculationMethod:U}function i(r,m){return typeof r=="function"&&(e("Setup custom "+m+"CalcMethod"),we[m]=r,r="custom"),r}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(t(),P=i(P,"height"),U=i(U,"width")),e("TargetOrigin for parent set to: "+le)}function G(t,i){return i.indexOf("-")!==-1&&(o("Negative CSS value ignored for "+t),i=""),i}function te(t,i){s!==i&&i!==""&&i!=="null"&&(document.body.style[t]=i,e("Body "+t+' set to "'+i+'"'))}function ne(){s===J&&(J=A+"px"),te("margin",G("margin",J))}function ie(){document.documentElement.style.height="",document.body.style.height="",e('HTML & body height set to "auto"')}function z(t){var i={add:function(r){function m(){j(t.eventName,t.eventType)}be[r]=m,ce(window,r,m,{passive:!0})},remove:function(r){var m=be[r];delete be[r],Xe(window,r,m)}};t.eventNames&&Array.prototype.map?(t.eventName=t.eventNames[0],t.eventNames.map(i[t.method])):i[t.method](t.eventName),e(Ye(t.method)+" event listener: "+t.eventType)}function ke(t){z({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),z({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),z({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),z({method:t,eventType:"Input",eventName:"input"}),z({method:t,eventType:"Mouse Up",eventName:"mouseup"}),z({method:t,eventType:"Mouse Down",eventName:"mousedown"}),z({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),z({method:t,eventType:"Print",eventNames:["afterprint","beforeprint"]}),z({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),z({method:t,eventType:"Touch Start",eventName:"touchstart"}),z({method:t,eventType:"Touch End",eventName:"touchend"}),z({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),z({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),z({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),z({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
14),We==="child"&&z({method:t,eventType:"IFrame Resized",eventName:"resize"})}function ye(t,i,r,m){return i!==t&&(t in r||(o(t+" is not a valid option for "+m+"CalculationMethod."),t=i),e(m+' calculation method set to "'+t+'"')),t}function Re(){P=ye(P,ge,v,"height")}function Se(){U=ye(U,Be,T,"width")}function xe(){F===!0?(ke("add"),_e()):e("Auto Resize disabled")}function c(){K!==null&&K.disconnect()}function f(){ke("remove"),c(),clearInterval(Ve)}function L(){var t=document.createElement("div");t.style.clear="both",t.style.display="block",t.style.height="0",document.body.appendChild(t)}function W(){function t(){return{x:window.pageXOffset===s?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===s?document.documentElement.scrollTop:window.pageYOffset}}function i(k){var x=k.getBoundingClientRect(),R=t();return{x:parseInt(x.left,10)+parseInt(R.x,10),y:parseInt(x.top,10)+parseInt(R.y,10)}}function r(k){function x(re){var Le=i(re);e("Moving to in page link (#"+R+") at x: "+Le.x+" y: "+Le.y),$(Le.y,Le.x,"scrollToOffset")}var R=k.split("#")[1]||k,M=decodeURIComponent(R),ee=document.getElementById(M)||document.getElementsByName(M)[0];s===ee?(e("In page link (#"+R+") not found in iFrame, so sending to parent"),$(0,0,"inPageLink","#"+R)):x(ee)}function m(){var k=window.location.hash,x=window.location.href;k!==""&&k!=="#"&&r(x)}function E(){function k(x){function R(M){M.preventDefault(),r(this.getAttribute("href"))}x.getAttribute("href")!=="#"&&ce(x,"click",R)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),k)}function N(){ce(window,"hashchange",m)}function q(){setTimeout(m,S)}function H(){Array.prototype.forEach&&document.querySelectorAll?(e("Setting up location.hash handlers"),E(),N(),q()):o("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return he.enable?H():e("In page linking not enabled"),{findTarget:r}}function X(){if(Fe!==!0)return;function t(r){$(0,0,r.type,r.screenY+":"+r.screenX)}function i(r,m){e("Add event listener: "+m),ce(window.document,r,t)}i("mouseenter","Mouse Enter"),i("mouseleave","Mouse Leave")}function ue(){e("Enable public methods"),Z.parentIFrame={autoResize:function(i){return i===!0&&F===!1?(F=!0,xe()):i===!1&&F===!0&&(F=!1,f()),$(0,0,"autoResize",JSON.stringify(F)),F},close:function(){$(0,0,"close")},getId:function(){return V},getPageInfo:function(i){typeof i=="function"?(ze=i,$(0,0,"pageInfo")):(ze=function(){},$(0,0,"pageInfoStop"))},moveToAnchor:function(i){he.findTarget(i)},reset:function(){ut("parentIFrame.reset")},scrollTo:function(i,r){$(r,i,"scrollTo")},scrollToOffset:function(i,r){$(r,i,"scrollToOffset")},sendMessage:function(i,r){$(0,0,"message",JSON.stringify(i),r)},setHeightCalculationMethod:function(i){P=i,Re()},setWidthCalculationMethod:function(i){U=i,Se()},setTargetOrigin:function(i){e("Set targetOrigin: "+i),le=i},size:function(i,r){var m=""+(i||"")+(r?","+r:"");j("size","parentIFrame.size("+m+")",i,r)}}}function Me(){se!==0&&(e("setInterval: "+se+"ms"),Ve=setInterval(function(){j("interval","setInterval: "+se)},Math.abs(se)))}function qe(){function t(M){function ee(re){re.complete===!1&&(e("Attach listeners to "+re.src),re.addEventListener("load",E,!1),re.addEventListener("error",N,!1),k.push(re))}M.type==="attributes"&&M.attributeName==="src"?ee(M.target):M.type==="childList"&&Array.prototype.forEach.call(M.target.querySelectorAll("img"),ee)}function i(M){k.splice(k.indexOf(M),1)}function r(M){e("Remove listeners from "+M.src),M.removeEventListener("load",E,!1),M.removeEventListener("error",N,!1),i(M)}function m(M,ee,re){r(M.target),j(ee,re+": "+M.target.src)}function E(M){m(M,"imageLoad","Image loaded")}function N(M){m(M,"imageLoadFailed","Image load failed")}function q(M){j("mutationObserver","mutationObserver: "+M[0].target+" "+M[0].type),M.forEach(t)}function H(){var M=document.querySelector("body"),ee={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return R=new x(q),e("Create body MutationObserver"),R.observe(M,ee),R}var k=[],x=window.MutationObserver||window.WebKitMutationObserver,R=H();return{disconnect:function(){"disconnect"in R&&(e("Disconnect body MutationObserver"),R.disconnect(),k.forEac
14h(r))}}}function _e(){var t=0>se;window.MutationObserver||window.WebKitMutationObserver?t?Me():K=qe():(e("MutationObserver not supported in this browser!"),Me())}function Te(t,i){var r=0;return i=i||document.body,r=document.defaultView.getComputedStyle(i,null),r=r===null?0:r[t],parseInt(r,I)}function Y(t){t>de/2&&(de=2*t,e("Event throttle increased to "+de+"ms"))}function b(t,i){for(var r=i.length,m=0,E=0,N=Ye(t),q=Date.now(),H=0;H<r;H++)m=i[H].getBoundingClientRect()[t]+Te("margin"+N,i[H]),m>E&&(E=m);return q=Date.now()-q,e("Parsed "+r+" HTML elements"),e("Element position calculated in "+q+"ms"),Y(q),E}function l(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function a(t,i){function r(){return o("No tagged elements ("+i+") found on page"),document.querySelectorAll("body *")}var m=document.querySelectorAll("["+i+"]");return m.length===0&&r(),b(t,m)}function d(){return document.querySelectorAll("body *")}var v={bodyOffset:function(){return document.body.offsetHeight+Te("marginTop")+Te("marginBottom")},offset:function(){return v.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return we.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,l(v))},min:function(){return Math.min.apply(null,l(v))},grow:function(){return v.max()},lowestElement:function(){return Math.max(v.bodyOffset()||v.documentElementOffset(),b("bottom",d()))},taggedElement:function(){return a("bottom","data-iframe-height")}},T={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return we.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(T.bodyScroll(),T.documentElementScroll())},max:function(){return Math.max.apply(null,l(T))},min:function(){return Math.min.apply(null,l(T))},rightMostElement:function(){return b("right",d())},taggedElement:function(){return a("right","data-iframe-width")}};function C(t,i,r,m){function E(){n=R,me=M,$(n,me,t)}function N(){function ee(re,Le){var Et=Math.abs(re-Le)<=pe;return!Et}return R=s===r?v[P]():r,M=s===m?T[U]():m,ee(n,R)||Q&&ee(me,M)}function q(){return!(t in{init:1,interval:1,size:1})}function H(){return P in Ee||Q&&U in Ee}function k(){e("No change in size detected")}function x(){q()&&H()?ut(i):t in{interval:1}||k()}var R,M;N()||t==="init"?(De(),E()):x()}var B=Ke(C);function j(t,i,r,m){function E(){t in{reset:1,resetPage:1,init:1}||e("Trigger event: "+i)}function N(){return ve&&t in y}N()?e("Trigger event cancelled: "+t):(E(),t==="init"?C(t,i,r,m):B(t,i,r,m))}function De(){ve||(ve=!0,e("Trigger event lock on")),clearTimeout(He),He=setTimeout(function(){ve=!1,e("Trigger event lock off"),e("--")},S)}function ct(t){n=v[P](),me=T[U](),$(n,me,t)}function ut(t){var i=P;P=ge,e("Reset trigger event: "+t),De(),ct("reset"),P=i}function $(t,i,r,m,E){function N(){s===E?E=le:e("Message targetOrigin: "+E)}function q(){var H=t+":"+i,k=V+":"+H+":"+r+(s===m?"":":"+m);e("Sending message to host page ("+k+")"),Oe.postMessage(g+k,E)}N(),q()}function ft(t){var i={init:function(){ae=t.data,Oe=t.source,h(),oe=!1,setTimeout(function(){Ce=!1},S)},reset:function(){Ce?e("Page reset ignored by init"):(e("Page size reset by host page"),ct("resetPage"))},resize:function(){j("resizeParent","Parent window requested size check")},moveToAnchor:function(){he.findTarget(E())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var R=E();e("PageInfoFromParent called from parent: "+R),ze(JSON.parse(R)),e(" --")},message:function(){var R=E();e("onMessage called from parent: "+R),Ie(JSON.parse(R)),e(" --")}};function r(){return g===(""+t.data).slice(0,Ae)}function m(){return t.data.split("]")[1].split(":")[0]}function E(){return t.data.slice(t.data.indexOf(":")+1)}function N(){return!_.exports&&"iFrameResize"in window||window.jQuery!==s&&"iFrameResize"in window.jQuery.prototype}function q(){return t.data.split(":")[2]in{true:1,false:1}}function H(){var x=m();x in i?i[x]():!N()&&!q()&&o("Unexpected message ("+t.data+")")}function k(){oe===!1?H():q()?i.init():e('Ignored message of type "'+m()+'". Received before initialization.')}r()&&k()}function lt(){document.readyState!=="loading"&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}"iframeResizer"in window||(window.iframeChildListener=function(t){ft({data:t})},ce(window,"message",ft),ce(window,"readystatechange",lt),lt())})()})(Ft);var xt=Ft.exports;const vt=St;var Lt={iframeResize:vt,iframeResizer:vt,contentWindow:xt};function Pt(_){let s,F;return{c(){s=tt("iframe"),this.h()},l(I){s=$e(I,"IFRAME",{title:!0,id:!0,src:!0,frameborder:!0}
14),et(s).forEach(Pe),this.h()},h(){fe(s,"title","Chart"),fe(s,"id",_[1]),mt(s.src,F=_[0])||fe(s,"src",F),fe(s,"frameborder","0")},m(I,O){bt(I,s,O)},p(I,[O]){O&2&&fe(s,"id",I[1]),O&1&&!mt(s.src,F=I[0])&&fe(s,"src",F)},i:dt,o:dt,d(I){I&&Pe(s)}}}function Ct(_,s,F){let{chartLink:I=""}=s,{chartId:O="shareChart"}=s;return Ot(()=>{Lt.iframeResize({},"#"+O)}),_.$$set=A=>{"chartLink"in A&&F(0,I=A.chartLink),"chartId"in A&&F(1,O=A.chartId)},[I,O]}class Nt extends yt{constructor(s){super(),Mt(this,s,Ct,Pt,wt,{chartLink:0,chartId:1})}}function At(_){let s,F,I,O,A,J,K,D,Q;return F=new zt({}),O=new kt({props:{path:_[0].url.pathname}}),D=new Nt({props:{chartId:"charts3",chartLink:_[1]("common.shareChart3Link")}}),{c(){s=tt("div"),st(F.$$.fragment),I=ht(),st(O.$$.fragment),A=ht(),J=tt("div"),K=tt("div"),st(D.$$.fragment),this.h()},l(y){s=$e(y,"DIV",{class:!0});var S=et(s);at(F.$$.fragment,S),I=gt(S),at(O.$$.fragment,S),A=gt(S),J=$e(S,"DIV",{class:!0});var oe=et(J);K=$e(oe,"DIV",{class:!0});var n=et(K);at(D.$$.fragment,n),n.forEach(Pe),oe.forEach(Pe),S.forEac
14h(Pe),this.h()},h(){fe(K,"class","container"),fe(J,"class","page__content"),fe(s,"class","page")},m(y,S){bt(y,s,S),ot(F,s,null),Ge(s,I),ot(O,s,null),Ge(s,A),Ge(s,J),Ge(J,K),ot(D,K,null),Q=!0},p(y,[S]){const oe={};S&1&&(oe.path=y[0].url.pathname),O.$set(oe);const n={};S&2&&(n.chartLink=y[1]("common.shareChart3Link")),D.$set(n)},i(y){Q||(rt(F.$$.fragment,y),rt(O.$$.fragment,y),rt(D.$$.fragment,y),Q=!0)},o(y){it(F.$$.fragment,y),it(O.$$.fragment,y),it(D.$$.fragment,y),Q=!1},d(y){y&&Pe(s),nt(F),nt(O),nt(D)}}}function Wt(_,s,F){let I,O;return pt(_,Rt,A=>F(0,I=A)),pt(_,It,A=>F(1,O=A)),[I,O]}class Vt extends yt{constructor(s){super(),Mt(this,s,Wt,At,wt,{})}}export{Vt as component};
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.