Loading
function(e,t,r){"use strict";r.d(t,{tb:()=>G});var n,i,o,a=[],s="ResizeObserver loop completed with undelivered notifications.",l=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)};(n=i||(i={})).BORDER_BOX="border-box",n.CONTENT_BOX="content-box",n.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var u=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,u(this)},d=function(){function e(e,t,r,n){return this.x=e,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,u(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},p=function(e){if(f(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},h=function(e){if(e instanceof Element)return!0;var t,r=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},m=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},g="u">typeof window?window:{},v=new WeakMap,y=/auto|scroll/,b=/^tb|vertical/,_=/msie|trident/i.test(g.navigator&&g.navigator.userAgent),w=function(e){return parseFloat(e||"0")},x=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new c((r?t:e)||0,(r?e:t)||0)},E=u({devicePixelContentBoxSize:x(),borderBoxSize:x(),contentBoxSize:x(),contentRect:new d(0,0,0,0)}),S=function(e,t){if(void 0===t&&(t=!1),v.has(e)&&!t)return v.get(e);if(p(e))return v.set(e,E),E;var r=getComputedStyle(e),n=f(e)&&e.ownerSVGElement&&e.getBBox(),i=!_&&"border-box"===r.boxSizing,o=b.test(r.writingMode||""),a=!n&&y.test(r.overflowY||""),s=!n&&y.test(r.overflowX||""),l=n?0:w(r.paddingTop),c=n?0:w(r.paddingRight),h=n?0:w(r.paddingBottom),m=n?0:w(r.paddingLeft),g=n?0:w(r.borderTopWidth),S=n?0:w(r.borderRightWidth),k=n?0:w(r.borderBottomWidth),T=n?0:w(r.borderLeftWidth),C=m+c,A=l+h,P=T+S,M=g+k,O=s?e.offsetHeight-M-e.clientHeight:0,R=a?e.offsetWidth-P-e.clientWidth:0,I=n?n.width:w(r.width)-(i?C+P:0)-R,L=n?n.height:w(r.height)-(i?A+M:0)-O,D=I+C+R+P,F=L+A+O+M,N=u({devicePixelContentBoxSize:x(Math.round(I*devicePixelRatio),Math.round(L*devicePixelRatio),o),borderBoxSize:x(D,F,o),contentBoxSize:x(I,L,o),contentRect:new d(m,l,I,L)});return v.set(e,N),N},k=function(e,t,r){var n=S(e,r),o=n.borderBoxSize,a=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case i.DEVICE_PIXEL_CONTENT_BOX:return s;case i.BORDER_BOX:return o;default:return a}},T=function(e){var t=S(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=u([t.borderBoxSize]),this.contentBoxSize=u([t.contentBoxSize]),this.devicePixelContentBoxSize=u([t.devicePixelContentBoxSize])},C=function(e){if(p(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},A=function(){var e=1/0,t=[];a.forEach(function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach(function(t){var r=new T(t.target),i=C(t.target);n.push(r),t.lastReportedSize=k(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){r.callback.call(r.observer,n,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0;r<t.length;r++)(0,t[r])();return e},P=function(e){a.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(C(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},M=function(){var e=0;for(P(0);a.some(function(e){return e.activeTargets.length>0});)P(e=A());return a.some(function(e){return e.skippedTargets.length>0})&&l(),e>0},O=[],R=function(e){if(!o){var t=0,r=document.createTextNode("");new MutationObserver(function(){return O.splice(0).forEach(function(e){return e()})}).observe(r,{characterData:!0}),o=function(){r.textContent="".concat(t?t--:t++)}}O.push(e),o()},I=function(e){R(function(){requestAnimationFrame(e)})},L=0,D={attributes:!0,characterData:!0,childList:!0,subtree:!0},F=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(e){return void 0===e&&(e=0),Date.now()+e},V=!1,j=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!V){V=!0;var r=N(e);I(function(){var n=!1;try{n=M()}finally{if(V=!1,e=r-N(),!L)return;n?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,D)};document.body?t():g.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),F.forEach(function(t){return g.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),F.forEach(function(t){return g.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),B=function(e){!L&&e>0&&j.start(),(L+=e)||j.stop()},U=function(){function e(e,t){this.target=e,this.observedBox=t||i.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=k(this.target,this.observedBox,!0);return f(e=this.target)||m(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),K=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},$=new WeakMap,z=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return -1},W=function(){function e(){}return e.connect=function(e,t){var r=new K(e,t);$.set(e,r)},e.observe=function(e,t,r){var n=$.get(e),i=0===n.observationTargets.length;0>z(n.observationTargets,t)&&(i&&a.push(n),n.observationTargets.push(new U(t,r&&r.box)),B(1),j.schedule())},e.unobserve=function(e,t){var r=$.get(e),n=z(r.observationTargets,t),i=1===r.observationTargets.length;n>=0&&(i&&a.splice(a.indexOf(r),1),r.observationTargets.splice(n,1),B(-1))},e.disconnect=function(e){var t=this,r=$.get(e);r.observationTargets.slice().forEach(function(r){return t.unobserve(e,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),G=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}