@serverbench/js 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkPTYQ4YRDcjs = require('./chunk-PTYQ4YRD.cjs');require('./chunk-EC7FTDAI.cjs');require('./chunk-A4KS2P2O.cjs');exports.default = _chunkPTYQ4YRDcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHI45UA3Jcjs = require('./chunk-HI45UA3J.cjs');require('./chunk-7GVT7B4V.cjs');require('./chunk-D3A3YNFT.cjs');exports.default = _chunkHI45UA3Jcjs.a;
2
2
  //# sourceMappingURL=Serverbench.cjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-XIDWO7YW.js";import"./chunk-HM6YU4WY.js";import"./chunk-RRHBEYIS.js";export{a as default};
1
+ import{a}from"./chunk-SBY73B4S.js";import"./chunk-36R5FIF5.js";import"./chunk-B3VJ2OR7.js";export{a as default};
2
2
  //# sourceMappingURL=Serverbench.js.map
@@ -1,2 +1,2 @@
1
- import{a as o}from"./chunk-RRHBEYIS.js";var i=class{constructor(e){this.client=e}async get(e,r){return await this.client.post("community","/store/view",{username:e,eid:r})}checkout(e,r,c){return new o(this.client,"/community/checkout",{prices:e.map(t=>t.id).join(","),discounts:r.map(t=>t.id).join(","),member:c.id})}};export{i as a};
2
- //# sourceMappingURL=chunk-HM6YU4WY.js.map
1
+ import{a as o}from"./chunk-B3VJ2OR7.js";var i=class{constructor(e){this.client=e}async get(e,r){return await this.client.post("community","/store/view",{username:e,eid:r})}checkout(e,r,c){return new o(this.client,"/community/checkout",{prices:e.map(t=>t.id).join(","),discounts:r.map(t=>t.id).join(","),member:c.id})}};export{i as a};
2
+ //# sourceMappingURL=chunk-36R5FIF5.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkA4KS2P2Ocjs = require('./chunk-A4KS2P2O.cjs');var i=class{constructor(e){this.client=e}async get(e,r){return await this.client.post("community","/store/view",{username:e,eid:r})}checkout(e,r,c){return new (0, _chunkA4KS2P2Ocjs.a)(this.client,"/community/checkout",{prices:e.map(t=>t.id).join(","),discounts:r.map(t=>t.id).join(","),member:c.id})}};exports.a = i;
2
- //# sourceMappingURL=chunk-EC7FTDAI.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkD3A3YNFTcjs = require('./chunk-D3A3YNFT.cjs');var i=class{constructor(e){this.client=e}async get(e,r){return await this.client.post("community","/store/view",{username:e,eid:r})}checkout(e,r,c){return new (0, _chunkD3A3YNFTcjs.a)(this.client,"/community/checkout",{prices:e.map(t=>t.id).join(","),discounts:r.map(t=>t.id).join(","),member:c.id})}};exports.a = i;
2
+ //# sourceMappingURL=chunk-7GVT7B4V.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-EC7FTDAI.cjs"],"names":[],"mappings":"AAAA,iIAAwC,IAAK,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-EC7FTDAI.cjs","sourcesContent":[null]}
1
+ {"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-7GVT7B4V.cjs"],"names":[],"mappings":"AAAA,iIAAwC,IAAK,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-7GVT7B4V.cjs","sourcesContent":[null]}
@@ -1,2 +1,2 @@
1
- var f=()=>typeof window<"u",b=()=>window.self!==window.top,g=e=>e instanceof HTMLIFrameElement,p=(e,t)=>{e.document.readyState==="complete"?t():e.addEventListener("load",t)},y=(e,t)=>{t(),e.addEventListener("load",t)},w=(e,t)=>{var n,r;let i=((n=e.contentWindow)==null?void 0:n.document.readyState)==="complete";return e.src!=="about:blank"&&((r=e.contentWindow)==null?void 0:r.location.href)!=="about:blank"&&i?t():e.addEventListener("load",t)},S=()=>({offsetSize:0,checkOrigin:!0,enableLegacyLibSupport:!1}),k=e=>{try{return new URL(e.src).origin===window.location.origin}catch{return!1}},L=e=>{try{let t=new URL(e.src).origin;if(t!=="about:blank")return t}catch{}return null},E=e=>(Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e),h=e=>{let{height:t}=e.documentElement.getBoundingClientRect();return Math.ceil(t)};function R(e){y(e,()=>{var t;return(t=e.contentWindow)==null?void 0:t.postMessage("[iFrameSizer]ID:0:false:false:32:true:true::auto:::0:false:child:auto:true:::true:::false","*")})}function z(e){if(typeof e.data=="string"&&e.data.startsWith("[iFrameSizer]")){let[t,n]=e.data.split(":"),r=+n;return r>0?r:null}return null}var u=f()?W():null,d=[],v=(e,t)=>{if(!f())return[];let n={...S(),...E(e??{})},r=H(t),i=O(n,r);return r.map(o=>{let s={iframe:o,settings:n,interactionState:{isHovered:!1}},c=D(s,i);return d.push(s),{unsubscribe:()=>{c(),d=d.filter(a=>a.iframe!==o)}}})};function H(e){return typeof e=="string"?Array.from(document.querySelectorAll(e)).filter(g):e?g(e)?[e]:[]:Array.from(document.getElementsByTagName("iframe"))}function O(e,t){if(Array.isArray(e.checkOrigin))return e.checkOrigin;if(!e.checkOrigin)return[];let n=[];for(let r of t){let i=L(r);i&&n.push(i)}return n}function D(e,t){let n=k(e.iframe)?B(e):A(e,t),r=I(e);return()=>{n(),r()}}function A(e,t){let{iframe:n,settings:r}=e,i=o=>{var s;let c=!r.checkOrigin||t.includes(o.origin);if(!(n.contentWindow!==o.source||!c)){if(((s=o.data)==null?void 0:s.type)==="iframe-resized"){let{height:a}=o.data;a&&l({newHeight:a,registeredElement:e});return}if(r.enableLegacyLibSupport){let a=z(o);a!==null&&l({newHeight:a,registeredElement:e});return}}};return window.addEventListener("message",i),r.enableLegacyLibSupport&&R(n),()=>window.removeEventListener("message",i)}function B({iframe:e}){let t=()=>{var n;let r=(n=e.contentDocument)==null?void 0:n.body;r&&u?.observe(r)};return w(e,t),()=>{var n;(n=e.contentDocument)!=null&&n.body&&u?.unobserve(e.contentDocument.body),e.removeEventListener("load",t)}}function I({iframe:e,interactionState:t}){let n=()=>{t.isHovered=!0},r=()=>{t.isHovered=!1};return e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",r),()=>{e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",r)}}function W(){let e=({target:t})=>{let n=d.find(o=>{var s;return((s=o.iframe.contentDocument)==null?void 0:s.body)===t});if(!n)return;let{iframe:r}=n;if(!r.contentDocument)return;let i=h(r.contentDocument);i&&l({newHeight:i,registeredElement:n})};return new ResizeObserver(t=>t.forEach(e))}function l({registeredElement:e,newHeight:t}){let{iframe:n,settings:r,interactionState:i}=e,o=n.getBoundingClientRect(),s=t+r.offsetSize;if(n.style.height=`${s}px`,!r.onIframeResize)return;let c={iframe:n,settings:{...r},interactionState:{...i},previousRenderState:{rect:o},nextRenderState:{rect:n.getBoundingClientRect()}};r.onIframeResize(c)}C();function C(){!f()||!b()||p(window,()=>{let e=()=>{let t={type:"iframe-resized",width:document.documentElement.scrollWidth,height:h(document)};window.parent.postMessage(t,"*")};new ResizeObserver(e).observe(document.body)})}var m=class{constructor(t,n,r={},i=!1,o=!1){this.client=t,this.dark=i,this.background=o,this.path=n,this.args=r}setDark(t){return this.dark=t,this}setBackground(t){return this.background=t,this}async mount(t){let n=new URLSearchParams;n.set("clientId",this.client.clientId),n.set("clientSecret",this.client.clientSecret),this.dark&&n.set("dark","true"),this.background&&n.set("background","true");for(let o in this.args){let s=this.args[o];Array.isArray(s)?n.set(o,s.join(",")):n.set(o,s)}let r=document.createElement("iframe");r.src=`https://safe.serverbench.io${this.path}?${n.toString()}`,r.style.width="100%";let i=t.appendChild(r);return v({},i),this}};export{m as a};
2
- //# sourceMappingURL=chunk-RRHBEYIS.js.map
1
+ var f=()=>typeof window<"u",b=()=>window.self!==window.top,g=e=>e instanceof HTMLIFrameElement,p=(e,t)=>{e.document.readyState==="complete"?t():e.addEventListener("load",t)},w=(e,t)=>{t(),e.addEventListener("load",t)},y=(e,t)=>{var n,r;let i=((n=e.contentWindow)==null?void 0:n.document.readyState)==="complete";return e.src!=="about:blank"&&((r=e.contentWindow)==null?void 0:r.location.href)!=="about:blank"&&i?t():e.addEventListener("load",t)},S=()=>({offsetSize:0,checkOrigin:!0,enableLegacyLibSupport:!1}),k=e=>{try{return new URL(e.src).origin===window.location.origin}catch{return!1}},L=e=>{try{let t=new URL(e.src).origin;if(t!=="about:blank")return t}catch{}return null},E=e=>(Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e),h=e=>{let{height:t}=e.documentElement.getBoundingClientRect();return Math.ceil(t)};function R(e){w(e,()=>{var t;return(t=e.contentWindow)==null?void 0:t.postMessage("[iFrameSizer]ID:0:false:false:32:true:true::auto:::0:false:child:auto:true:::true:::false","*")})}function z(e){if(typeof e.data=="string"&&e.data.startsWith("[iFrameSizer]")){let[t,n]=e.data.split(":"),r=+n;return r>0?r:null}return null}var u=f()?W():null,d=[],v=(e,t)=>{if(!f())return[];let n={...S(),...E(e??{})},r=H(t),i=O(n,r);return r.map(o=>{let s={iframe:o,settings:n,interactionState:{isHovered:!1}},c=D(s,i);return d.push(s),{unsubscribe:()=>{c(),d=d.filter(a=>a.iframe!==o)}}})};function H(e){return typeof e=="string"?Array.from(document.querySelectorAll(e)).filter(g):e?g(e)?[e]:[]:Array.from(document.getElementsByTagName("iframe"))}function O(e,t){if(Array.isArray(e.checkOrigin))return e.checkOrigin;if(!e.checkOrigin)return[];let n=[];for(let r of t){let i=L(r);i&&n.push(i)}return n}function D(e,t){let n=k(e.iframe)?B(e):A(e,t),r=I(e);return()=>{n(),r()}}function A(e,t){let{iframe:n,settings:r}=e,i=o=>{var s;let c=!r.checkOrigin||t.includes(o.origin);if(!(n.contentWindow!==o.source||!c)){if(((s=o.data)==null?void 0:s.type)==="iframe-resized"){let{height:a}=o.data;a&&l({newHeight:a,registeredElement:e});return}if(r.enableLegacyLibSupport){let a=z(o);a!==null&&l({newHeight:a,registeredElement:e});return}}};return window.addEventListener("message",i),r.enableLegacyLibSupport&&R(n),()=>window.removeEventListener("message",i)}function B({iframe:e}){let t=()=>{var n;let r=(n=e.contentDocument)==null?void 0:n.body;r&&u?.observe(r)};return y(e,t),()=>{var n;(n=e.contentDocument)!=null&&n.body&&u?.unobserve(e.contentDocument.body),e.removeEventListener("load",t)}}function I({iframe:e,interactionState:t}){let n=()=>{t.isHovered=!0},r=()=>{t.isHovered=!1};return e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",r),()=>{e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",r)}}function W(){let e=({target:t})=>{let n=d.find(o=>{var s;return((s=o.iframe.contentDocument)==null?void 0:s.body)===t});if(!n)return;let{iframe:r}=n;if(!r.contentDocument)return;let i=h(r.contentDocument);i&&l({newHeight:i,registeredElement:n})};return new ResizeObserver(t=>t.forEach(e))}function l({registeredElement:e,newHeight:t}){let{iframe:n,settings:r,interactionState:i}=e,o=n.getBoundingClientRect(),s=t+r.offsetSize;if(n.style.height=`${s}px`,!r.onIframeResize)return;let c={iframe:n,settings:{...r},interactionState:{...i},previousRenderState:{rect:o},nextRenderState:{rect:n.getBoundingClientRect()}};r.onIframeResize(c)}C();function C(){!f()||!b()||p(window,()=>{let e=()=>{let t={type:"iframe-resized",width:document.documentElement.scrollWidth,height:h(document)};window.parent.postMessage(t,"*")};new ResizeObserver(e).observe(document.body)})}var m=class{constructor(t,n,r={},i=!1,o=!1){this.client=t,this.dark=i,this.background=o,this.path=n,this.args=r}setDark(t){return this.dark=t,this}setBackground(t){return this.background=t,this}async mount(t){let n=new URLSearchParams;n.set("clientId",this.client.clientId),n.set("clientSecret",this.client.clientSecret),n.set("origin",window.location.href),this.dark&&n.set("dark","true"),this.background&&n.set("background","true");for(let o in this.args){let s=this.args[o];Array.isArray(s)?n.set(o,s.join(",")):n.set(o,s)}let r=document.createElement("iframe");r.src=`https://safe.serverbench.io${this.path}?${n.toString()}`,r.style.width="100%";let i=t.appendChild(r);return v({},i),this}};export{m as a};
2
+ //# sourceMappingURL=chunk-B3VJ2OR7.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../node_modules/.pnpm/@open-iframe-resizer+core@1.2.1/node_modules/@open-iframe-resizer/core/dist/index.js","../src/element/Element.ts"],"sourcesContent":["const g = () => typeof window < \"u\", L = () => window.self !== window.top, m = (e) => e instanceof HTMLIFrameElement, w = (e, t) => {\n e.document.readyState === \"complete\" ? t() : e.addEventListener(\"load\", t);\n}, y = (e, t) => {\n t(), e.addEventListener(\"load\", t);\n}, p = (e, t) => {\n var i, o;\n const n = ((i = e.contentWindow) == null ? void 0 : i.document.readyState) === \"complete\";\n return e.src !== \"about:blank\" && ((o = e.contentWindow) == null ? void 0 : o.location.href) !== \"about:blank\" && n ? t() : e.addEventListener(\"load\", t);\n}, v = () => ({ offsetSize: 0, checkOrigin: !0, enableLegacyLibSupport: !1 }), b = (e) => {\n try {\n return new URL(e.src).origin === window.location.origin;\n } catch {\n return !1;\n }\n}, I = (e) => {\n try {\n const t = new URL(e.src).origin;\n if (t !== \"about:blank\")\n return t;\n } catch {\n }\n return null;\n}, R = (e) => (Object.keys(e).forEach((t) => e[t] === void 0 && delete e[t]), e), h = (e) => {\n const { height: t } = e.documentElement.getBoundingClientRect();\n return Math.ceil(t);\n};\nfunction z(e) {\n y(\n e,\n () => {\n var t;\n return (t = e.contentWindow) == null ? void 0 : t.postMessage(\"[iFrameSizer]ID:0:false:false:32:true:true::auto:::0:false:child:auto:true:::true:::false\", \"*\");\n }\n );\n}\nfunction O(e) {\n if (typeof e.data == \"string\" && e.data.startsWith(\"[iFrameSizer]\")) {\n const [t, n] = e.data.split(\":\"), r = +n;\n return r > 0 ? r : null;\n }\n return null;\n}\nconst a = g() ? M() : null;\nlet l = [];\nconst D = (e, t) => {\n if (!g())\n return [];\n const n = { ...v(), ...R(e ?? {}) }, r = S(t), i = E(n, r);\n return r.map((o) => {\n const s = { iframe: o, settings: n, interactionState: { isHovered: !1 } }, d = C(s, i);\n return l.push(s), {\n unsubscribe: () => {\n d(), l = l.filter((u) => u.iframe !== o);\n }\n };\n });\n};\nfunction S(e) {\n return typeof e == \"string\" ? Array.from(document.querySelectorAll(e)).filter(m) : e ? m(e) ? [e] : [] : Array.from(document.getElementsByTagName(\"iframe\"));\n}\nfunction E(e, t) {\n if (Array.isArray(e.checkOrigin))\n return e.checkOrigin;\n if (!e.checkOrigin)\n return [];\n const n = [];\n for (const r of t) {\n const i = I(r);\n i && n.push(i);\n }\n return n;\n}\nfunction C(e, t) {\n const n = b(e.iframe) ? B(e) : k(e, t), r = H(e);\n return () => {\n n(), r();\n };\n}\nfunction k(e, t) {\n const { iframe: n, settings: r } = e, i = (o) => {\n var u;\n const s = !r.checkOrigin || t.includes(o.origin);\n if (!(!(n.contentWindow === o.source) || !s)) {\n if (((u = o.data) == null ? void 0 : u.type) === \"iframe-resized\") {\n const { height: c } = o.data;\n c && f({ newHeight: c, registeredElement: e });\n return;\n }\n if (r.enableLegacyLibSupport) {\n const c = O(o);\n c !== null && f({ newHeight: c, registeredElement: e });\n return;\n }\n }\n };\n return window.addEventListener(\"message\", i), r.enableLegacyLibSupport && z(n), () => window.removeEventListener(\"message\", i);\n}\nfunction B({ iframe: e }) {\n const t = () => {\n var r;\n const n = (r = e.contentDocument) == null ? void 0 : r.body;\n n && (a == null || a.observe(n));\n };\n return p(e, t), () => {\n var n;\n (n = e.contentDocument) != null && n.body && (a == null || a.unobserve(e.contentDocument.body)), e.removeEventListener(\"load\", t);\n };\n}\nfunction H({ iframe: e, interactionState: t }) {\n const n = () => {\n t.isHovered = !0;\n }, r = () => {\n t.isHovered = !1;\n };\n return e.addEventListener(\"mouseenter\", n), e.addEventListener(\"mouseleave\", r), () => {\n e.removeEventListener(\"mouseenter\", n), e.removeEventListener(\"mouseleave\", r);\n };\n}\nfunction M() {\n const e = ({ target: t }) => {\n const n = l.find((o) => {\n var s;\n return ((s = o.iframe.contentDocument) == null ? void 0 : s.body) === t;\n });\n if (!n)\n return;\n const { iframe: r } = n;\n if (!r.contentDocument)\n return;\n const i = h(r.contentDocument);\n i && f({ newHeight: i, registeredElement: n });\n };\n return new ResizeObserver((t) => t.forEach(e));\n}\nfunction f({ registeredElement: e, newHeight: t }) {\n const { iframe: n, settings: r, interactionState: i } = e, o = n.getBoundingClientRect(), s = t + r.offsetSize;\n if (n.style.height = `${s}px`, !r.onIframeResize)\n return;\n const d = {\n iframe: n,\n settings: { ...r },\n interactionState: { ...i },\n previousRenderState: { rect: o },\n nextRenderState: { rect: n.getBoundingClientRect() }\n };\n r.onIframeResize(d);\n}\nW();\nfunction W() {\n !g() || !L() || w(window, () => {\n const e = () => {\n const n = {\n type: \"iframe-resized\",\n width: document.documentElement.scrollWidth,\n height: h(document)\n };\n window.parent.postMessage(n, \"*\");\n };\n new ResizeObserver(e).observe(document.body);\n });\n}\nconst A = ({ previousRenderState: e, nextRenderState: t, interactionState: n }) => {\n n.isHovered && window.scrollBy(0, t.rect.bottom - e.rect.bottom);\n};\nexport {\n D as initialize,\n W as initializeChildListener,\n A as updateParentScrollOnResize\n};\n","import { initialize } from \"../../node_modules/@open-iframe-resizer/core/dist/index.js\"\r\nimport Serverbench from \"../Serverbench.js\"\r\n\r\nexport default class Element {\r\n\r\n private readonly client: Serverbench\r\n private dark: boolean\r\n private background: boolean\r\n private readonly path: string\r\n private readonly args: Record<string, string | string[]>\r\n\r\n constructor(client: Serverbench, path: string, args: Record<string, string | string[]> = {}, dark: boolean = false, background: boolean = false) {\r\n this.client = client\r\n this.dark = dark\r\n this.background = background\r\n this.path = path\r\n this.args = args\r\n }\r\n\r\n setDark(dark: boolean) {\r\n this.dark = dark\r\n return this\r\n }\r\n\r\n setBackground(background: boolean) {\r\n this.background = background\r\n return this\r\n }\r\n\r\n async mount(element: HTMLElement) {\r\n const queryParams = new URLSearchParams()\r\n queryParams.set('clientId', this.client.clientId)\r\n queryParams.set('clientSecret', this.client.clientSecret)\r\n if (this.dark) queryParams.set('dark', 'true')\r\n if (this.background) queryParams.set('background', 'true')\r\n for (const key in this.args) {\r\n const value = this.args[key]\r\n if (Array.isArray(value)) {\r\n queryParams.set(key, value.join(','))\r\n } else {\r\n queryParams.set(key, value)\r\n }\r\n }\r\n const iframe = document.createElement('iframe');\r\n iframe.src = `https://safe.serverbench.io${this.path}?${queryParams.toString()}`;\r\n iframe.style.width = '100%';\r\n const appended = element.appendChild(iframe);\r\n initialize({}, appended);\r\n return this\r\n }\r\n\r\n}"],"mappings":"AAAA,IAAMA,EAAI,IAAM,OAAO,OAAS,IAAKC,EAAI,IAAM,OAAO,OAAS,OAAO,IAAKC,EAAK,GAAM,aAAa,kBAAmBC,EAAI,CAAC,EAAG,IAAM,CAClI,EAAE,SAAS,aAAe,WAAa,EAAE,EAAI,EAAE,iBAAiB,OAAQ,CAAC,CAC3E,EAAG,EAAI,CAAC,EAAG,IAAM,CACf,EAAE,EAAG,EAAE,iBAAiB,OAAQ,CAAC,CACnC,EAAGC,EAAI,CAAC,EAAG,IAAM,CACf,IAAIC,EAAGC,EACP,IAAMC,IAAMF,EAAI,EAAE,gBAAkB,KAAO,OAASA,EAAE,SAAS,cAAgB,WAC/E,OAAO,EAAE,MAAQ,iBAAmBC,EAAI,EAAE,gBAAkB,KAAO,OAASA,EAAE,SAAS,QAAU,eAAiBC,EAAI,EAAE,EAAI,EAAE,iBAAiB,OAAQ,CAAC,CAC1J,EAAGC,EAAI,KAAO,CAAE,WAAY,EAAG,YAAa,GAAI,uBAAwB,EAAG,GAAIC,EAAK,GAAM,CACxF,GAAI,CACF,OAAO,IAAI,IAAI,EAAE,GAAG,EAAE,SAAW,OAAO,SAAS,MACnD,MAAQ,CACN,MAAO,EACT,C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AAK,OAAO,YAAY,EACpD,KAAK,MAAMA,EAAY,IAAI,OAAQ,MAAM,EACzC,KAAK,YAAYA,EAAY,IAAI,aAAc,MAAM,EACzD,QAAWC,KAAO,KAAK,KAAM,CACzB,IAAMC,EAAQ,KAAK,KAAKD,CAAG,EACvB,MAAM,QAAQC,CAAK,EACnBF,EAAY,IAAIC,EAAKC,EAAM,KAAK,GAAG,CAAC,EAEpCF,EAAY,IAAIC,EAAKC,CAAK,CAElC,CACA,IAAMC,EAAS,SAAS,cAAc,QAAQ,EAC9CA,EAAO,IAAM,8BAA8B,KAAK,IAAI,IAAIH,EAAY,SAAS,CAAC,GAC9EG,EAAO,MAAM,MAAQ,OACrB,IAAMC,EAAWL,EAAQ,YAAYI,CAAM,EAC3C,OAAAE,EAAW,CAAC,EAAGD,CAAQ,EAChB,IACX,CAEJ","names":["g","L","m","w","p","i","o","n","v","b","I","R","z","O","a","M","l","D","S","E","d","C","u","k","H","s","c","f","r","W","Element","client","path","args","dark","background","element","queryParams","key","value","iframe","appended","D"]}
1
+ {"version":3,"sources":["../node_modules/.pnpm/@open-iframe-resizer+core@1.2.1/node_modules/@open-iframe-resizer/core/dist/index.js","../src/element/Element.ts"],"sourcesContent":["const g = () => typeof window < \"u\", L = () => window.self !== window.top, m = (e) => e instanceof HTMLIFrameElement, w = (e, t) => {\n e.document.readyState === \"complete\" ? t() : e.addEventListener(\"load\", t);\n}, y = (e, t) => {\n t(), e.addEventListener(\"load\", t);\n}, p = (e, t) => {\n var i, o;\n const n = ((i = e.contentWindow) == null ? void 0 : i.document.readyState) === \"complete\";\n return e.src !== \"about:blank\" && ((o = e.contentWindow) == null ? void 0 : o.location.href) !== \"about:blank\" && n ? t() : e.addEventListener(\"load\", t);\n}, v = () => ({ offsetSize: 0, checkOrigin: !0, enableLegacyLibSupport: !1 }), b = (e) => {\n try {\n return new URL(e.src).origin === window.location.origin;\n } catch {\n return !1;\n }\n}, I = (e) => {\n try {\n const t = new URL(e.src).origin;\n if (t !== \"about:blank\")\n return t;\n } catch {\n }\n return null;\n}, R = (e) => (Object.keys(e).forEach((t) => e[t] === void 0 && delete e[t]), e), h = (e) => {\n const { height: t } = e.documentElement.getBoundingClientRect();\n return Math.ceil(t);\n};\nfunction z(e) {\n y(\n e,\n () => {\n var t;\n return (t = e.contentWindow) == null ? void 0 : t.postMessage(\"[iFrameSizer]ID:0:false:false:32:true:true::auto:::0:false:child:auto:true:::true:::false\", \"*\");\n }\n );\n}\nfunction O(e) {\n if (typeof e.data == \"string\" && e.data.startsWith(\"[iFrameSizer]\")) {\n const [t, n] = e.data.split(\":\"), r = +n;\n return r > 0 ? r : null;\n }\n return null;\n}\nconst a = g() ? M() : null;\nlet l = [];\nconst D = (e, t) => {\n if (!g())\n return [];\n const n = { ...v(), ...R(e ?? {}) }, r = S(t), i = E(n, r);\n return r.map((o) => {\n const s = { iframe: o, settings: n, interactionState: { isHovered: !1 } }, d = C(s, i);\n return l.push(s), {\n unsubscribe: () => {\n d(), l = l.filter((u) => u.iframe !== o);\n }\n };\n });\n};\nfunction S(e) {\n return typeof e == \"string\" ? Array.from(document.querySelectorAll(e)).filter(m) : e ? m(e) ? [e] : [] : Array.from(document.getElementsByTagName(\"iframe\"));\n}\nfunction E(e, t) {\n if (Array.isArray(e.checkOrigin))\n return e.checkOrigin;\n if (!e.checkOrigin)\n return [];\n const n = [];\n for (const r of t) {\n const i = I(r);\n i && n.push(i);\n }\n return n;\n}\nfunction C(e, t) {\n const n = b(e.iframe) ? B(e) : k(e, t), r = H(e);\n return () => {\n n(), r();\n };\n}\nfunction k(e, t) {\n const { iframe: n, settings: r } = e, i = (o) => {\n var u;\n const s = !r.checkOrigin || t.includes(o.origin);\n if (!(!(n.contentWindow === o.source) || !s)) {\n if (((u = o.data) == null ? void 0 : u.type) === \"iframe-resized\") {\n const { height: c } = o.data;\n c && f({ newHeight: c, registeredElement: e });\n return;\n }\n if (r.enableLegacyLibSupport) {\n const c = O(o);\n c !== null && f({ newHeight: c, registeredElement: e });\n return;\n }\n }\n };\n return window.addEventListener(\"message\", i), r.enableLegacyLibSupport && z(n), () => window.removeEventListener(\"message\", i);\n}\nfunction B({ iframe: e }) {\n const t = () => {\n var r;\n const n = (r = e.contentDocument) == null ? void 0 : r.body;\n n && (a == null || a.observe(n));\n };\n return p(e, t), () => {\n var n;\n (n = e.contentDocument) != null && n.body && (a == null || a.unobserve(e.contentDocument.body)), e.removeEventListener(\"load\", t);\n };\n}\nfunction H({ iframe: e, interactionState: t }) {\n const n = () => {\n t.isHovered = !0;\n }, r = () => {\n t.isHovered = !1;\n };\n return e.addEventListener(\"mouseenter\", n), e.addEventListener(\"mouseleave\", r), () => {\n e.removeEventListener(\"mouseenter\", n), e.removeEventListener(\"mouseleave\", r);\n };\n}\nfunction M() {\n const e = ({ target: t }) => {\n const n = l.find((o) => {\n var s;\n return ((s = o.iframe.contentDocument) == null ? void 0 : s.body) === t;\n });\n if (!n)\n return;\n const { iframe: r } = n;\n if (!r.contentDocument)\n return;\n const i = h(r.contentDocument);\n i && f({ newHeight: i, registeredElement: n });\n };\n return new ResizeObserver((t) => t.forEach(e));\n}\nfunction f({ registeredElement: e, newHeight: t }) {\n const { iframe: n, settings: r, interactionState: i } = e, o = n.getBoundingClientRect(), s = t + r.offsetSize;\n if (n.style.height = `${s}px`, !r.onIframeResize)\n return;\n const d = {\n iframe: n,\n settings: { ...r },\n interactionState: { ...i },\n previousRenderState: { rect: o },\n nextRenderState: { rect: n.getBoundingClientRect() }\n };\n r.onIframeResize(d);\n}\nW();\nfunction W() {\n !g() || !L() || w(window, () => {\n const e = () => {\n const n = {\n type: \"iframe-resized\",\n width: document.documentElement.scrollWidth,\n height: h(document)\n };\n window.parent.postMessage(n, \"*\");\n };\n new ResizeObserver(e).observe(document.body);\n });\n}\nconst A = ({ previousRenderState: e, nextRenderState: t, interactionState: n }) => {\n n.isHovered && window.scrollBy(0, t.rect.bottom - e.rect.bottom);\n};\nexport {\n D as initialize,\n W as initializeChildListener,\n A as updateParentScrollOnResize\n};\n","import { initialize } from \"../../node_modules/@open-iframe-resizer/core/dist/index.js\"\r\nimport Serverbench from \"../Serverbench.js\"\r\n\r\nexport default class Element {\r\n\r\n private readonly client: Serverbench\r\n private dark: boolean\r\n private background: boolean\r\n private readonly path: string\r\n private readonly args: Record<string, string | string[]>\r\n\r\n constructor(client: Serverbench, path: string, args: Record<string, string | string[]> = {}, dark: boolean = false, background: boolean = false) {\r\n this.client = client\r\n this.dark = dark\r\n this.background = background\r\n this.path = path\r\n this.args = args\r\n }\r\n\r\n setDark(dark: boolean) {\r\n this.dark = dark\r\n return this\r\n }\r\n\r\n setBackground(background: boolean) {\r\n this.background = background\r\n return this\r\n }\r\n\r\n async mount(element: HTMLElement) {\r\n const queryParams = new URLSearchParams()\r\n queryParams.set('clientId', this.client.clientId)\r\n queryParams.set('clientSecret', this.client.clientSecret)\r\n queryParams.set('origin', window.location.href)\r\n if (this.dark) queryParams.set('dark', 'true')\r\n if (this.background) queryParams.set('background', 'true')\r\n for (const key in this.args) {\r\n const value = this.args[key]\r\n if (Array.isArray(value)) {\r\n queryParams.set(key, value.join(','))\r\n } else {\r\n queryParams.set(key, value)\r\n }\r\n }\r\n const iframe = document.createElement('iframe');\r\n iframe.src = `https://safe.serverbench.io${this.path}?${queryParams.toString()}`;\r\n iframe.style.width = '100%';\r\n const appended = element.appendChild(iframe);\r\n initialize({}, appended);\r\n return this\r\n }\r\n\r\n}"],"mappings":"AAAA,IAAMA,EAAI,IAAM,OAAO,OAAS,IAAKC,EAAI,IAAM,OAAO,OAAS,OAAO,IAAKC,EAAK,GAAM,aAAa,kBAAmBC,EAAI,CAAC,EAAG,IAAM,CAClI,EAAE,SAAS,aAAe,WAAa,EAAE,EAAI,EAAE,iBAAiB,OAAQ,CAAC,CAC3E,EAAGC,EAAI,CAAC,EAAG,IAAM,CACf,EAAE,EAAG,EAAE,iBAAiB,OAAQ,CAAC,CACnC,EAAGC,EAAI,CAAC,EAAG,IAAM,CACf,IAAIC,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AA6B,CAQzB,YAAYC,EAAqBC,EAAcC,EAA0C,CAAC,EAAGC,EAAgB,GAAOC,EAAsB,GAAO,CAC7I,KAAK,OAASJ,EACd,KAAK,KAAOG,EACZ,KAAK,WAAaC,EAClB,KAAK,KAAOH,EACZ,KAAK,KAAOC,CAChB,CAEA,QAAQC,EAAe,CACnB,YAAK,KAAOA,EACL,IACX,CAEA,cAAcC,EAAqB,CAC/B,YAAK,WAAaA,EACX,IACX,CAEA,MAAM,MAAMC,EAAsB,CAC9B,IAAMC,EAAc,IAAI,gBACxBA,EAAY,IAAI,WAAY,KAAK,OAAO,QAAQ,EAChDA,EAAY,IAAI,eAAgB,KAAK,OAAO,YAAY,EACxDA,EAAY,IAAI,SAAU,OAAO,SAAS,IAAI,EAC1C,KAAK,MAAMA,EAAY,IAAI,OAAQ,MAAM,EACzC,KAAK,YAAYA,EAAY,IAAI,aAAc,MAAM,EACzD,QAAWC,KAAO,KAAK,KAAM,CACzB,IAAMC,EAAQ,KAAK,KAAKD,CAAG,EACvB,MAAM,QAAQC,CAAK,EACnBF,EAAY,IAAIC,EAAKC,EAAM,KAAK,GAAG,CAAC,EAEpCF,EAAY,IAAIC,EAAKC,CAAK,CAElC,CACA,IAAMC,EAAS,SAAS,cAAc,QAAQ,EAC9CA,EAAO,IAAM,8BAA8B,KAAK,IAAI,IAAIH,EAAY,SAAS,CAAC,GAC9EG,EAAO,MAAM,MAAQ,OACrB,IAAMC,EAAWL,EAAQ,YAAYI,CAAM,EAC3C,OAAAE,EAAW,CAAC,EAAGD,CAAQ,EAChB,IACX,CAEJ","names":["g","L","m","w","y","p","i","o","n","v","b","I","R","z","O","a","M","l","D","S","E","d","C","u","k","H","s","c","f","r","W","Element","client","path","args","dark","background","element","queryParams","key","value","iframe","appended","D"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var f=()=>typeof window<"u",b=()=>window.self!==window.top,g=e=>e instanceof HTMLIFrameElement,p=(e,t)=>{e.document.readyState==="complete"?t():e.addEventListener("load",t)},y=(e,t)=>{t(),e.addEventListener("load",t)},w=(e,t)=>{var n,r;let i=((n=e.contentWindow)==null?void 0:n.document.readyState)==="complete";return e.src!=="about:blank"&&((r=e.contentWindow)==null?void 0:r.location.href)!=="about:blank"&&i?t():e.addEventListener("load",t)},S=()=>({offsetSize:0,checkOrigin:!0,enableLegacyLibSupport:!1}),k=e=>{try{return new URL(e.src).origin===window.location.origin}catch (e2){return!1}},L=e=>{try{let t=new URL(e.src).origin;if(t!=="about:blank")return t}catch (e3){}return null},E=e=>(Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e),h=e=>{let{height:t}=e.documentElement.getBoundingClientRect();return Math.ceil(t)};function R(e){y(e,()=>{var t;return(t=e.contentWindow)==null?void 0:t.postMessage("[iFrameSizer]ID:0:false:false:32:true:true::auto:::0:false:child:auto:true:::true:::false","*")})}function z(e){if(typeof e.data=="string"&&e.data.startsWith("[iFrameSizer]")){let[t,n]=e.data.split(":"),r=+n;return r>0?r:null}return null}var u=f()?W():null,d=[],v=(e,t)=>{if(!f())return[];let n={...S(),...E(_nullishCoalesce(e, () => ({})))},r=H(t),i=O(n,r);return r.map(o=>{let s={iframe:o,settings:n,interactionState:{isHovered:!1}},c=D(s,i);return d.push(s),{unsubscribe:()=>{c(),d=d.filter(a=>a.iframe!==o)}}})};function H(e){return typeof e=="string"?Array.from(document.querySelectorAll(e)).filter(g):e?g(e)?[e]:[]:Array.from(document.getElementsByTagName("iframe"))}function O(e,t){if(Array.isArray(e.checkOrigin))return e.checkOrigin;if(!e.checkOrigin)return[];let n=[];for(let r of t){let i=L(r);i&&n.push(i)}return n}function D(e,t){let n=k(e.iframe)?B(e):A(e,t),r=I(e);return()=>{n(),r()}}function A(e,t){let{iframe:n,settings:r}=e,i=o=>{var s;let c=!r.checkOrigin||t.includes(o.origin);if(!(n.contentWindow!==o.source||!c)){if(((s=o.data)==null?void 0:s.type)==="iframe-resized"){let{height:a}=o.data;a&&l({newHeight:a,registeredElement:e});return}if(r.enableLegacyLibSupport){let a=z(o);a!==null&&l({newHeight:a,registeredElement:e});return}}};return window.addEventListener("message",i),r.enableLegacyLibSupport&&R(n),()=>window.removeEventListener("message",i)}function B({iframe:e}){let t=()=>{var n;let r=(n=e.contentDocument)==null?void 0:n.body;r&&_optionalChain([u, 'optionalAccess', _ => _.observe, 'call', _2 => _2(r)])};return w(e,t),()=>{var n;(n=e.contentDocument)!=null&&n.body&&_optionalChain([u, 'optionalAccess', _3 => _3.unobserve, 'call', _4 => _4(e.contentDocument.body)]),e.removeEventListener("load",t)}}function I({iframe:e,interactionState:t}){let n=()=>{t.isHovered=!0},r=()=>{t.isHovered=!1};return e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",r),()=>{e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",r)}}function W(){let e=({target:t})=>{let n=d.find(o=>{var s;return((s=o.iframe.contentDocument)==null?void 0:s.body)===t});if(!n)return;let{iframe:r}=n;if(!r.contentDocument)return;let i=h(r.contentDocument);i&&l({newHeight:i,registeredElement:n})};return new ResizeObserver(t=>t.forEach(e))}function l({registeredElement:e,newHeight:t}){let{iframe:n,settings:r,interactionState:i}=e,o=n.getBoundingClientRect(),s=t+r.offsetSize;if(n.style.height=`${s}px`,!r.onIframeResize)return;let c={iframe:n,settings:{...r},interactionState:{...i},previousRenderState:{rect:o},nextRenderState:{rect:n.getBoundingClientRect()}};r.onIframeResize(c)}C();function C(){!f()||!b()||p(window,()=>{let e=()=>{let t={type:"iframe-resized",width:document.documentElement.scrollWidth,height:h(document)};window.parent.postMessage(t,"*")};new ResizeObserver(e).observe(document.body)})}var m=class{constructor(t,n,r={},i=!1,o=!1){this.client=t,this.dark=i,this.background=o,this.path=n,this.args=r}setDark(t){return this.dark=t,this}setBackground(t){return this.background=t,this}async mount(t){let n=new URLSearchParams;n.set("clientId",this.client.clientId),n.set("clientSecret",this.client.clientSecret),this.dark&&n.set("dark","true"),this.background&&n.set("background","true");for(let o in this.args){let s=this.args[o];Array.isArray(s)?n.set(o,s.join(",")):n.set(o,s)}let r=document.createElement("iframe");r.src=`https://safe.serverbench.io${this.path}?${n.toString()}`,r.style.width="100%";let i=t.appendChild(r);return v({},i),this}};exports.a = m;
2
- //# sourceMappingURL=chunk-A4KS2P2O.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var f=()=>typeof window<"u",b=()=>window.self!==window.top,g=e=>e instanceof HTMLIFrameElement,p=(e,t)=>{e.document.readyState==="complete"?t():e.addEventListener("load",t)},w=(e,t)=>{t(),e.addEventListener("load",t)},y=(e,t)=>{var n,r;let i=((n=e.contentWindow)==null?void 0:n.document.readyState)==="complete";return e.src!=="about:blank"&&((r=e.contentWindow)==null?void 0:r.location.href)!=="about:blank"&&i?t():e.addEventListener("load",t)},S=()=>({offsetSize:0,checkOrigin:!0,enableLegacyLibSupport:!1}),k=e=>{try{return new URL(e.src).origin===window.location.origin}catch (e2){return!1}},L=e=>{try{let t=new URL(e.src).origin;if(t!=="about:blank")return t}catch (e3){}return null},E=e=>(Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e),h=e=>{let{height:t}=e.documentElement.getBoundingClientRect();return Math.ceil(t)};function R(e){w(e,()=>{var t;return(t=e.contentWindow)==null?void 0:t.postMessage("[iFrameSizer]ID:0:false:false:32:true:true::auto:::0:false:child:auto:true:::true:::false","*")})}function z(e){if(typeof e.data=="string"&&e.data.startsWith("[iFrameSizer]")){let[t,n]=e.data.split(":"),r=+n;return r>0?r:null}return null}var u=f()?W():null,d=[],v=(e,t)=>{if(!f())return[];let n={...S(),...E(_nullishCoalesce(e, () => ({})))},r=H(t),i=O(n,r);return r.map(o=>{let s={iframe:o,settings:n,interactionState:{isHovered:!1}},c=D(s,i);return d.push(s),{unsubscribe:()=>{c(),d=d.filter(a=>a.iframe!==o)}}})};function H(e){return typeof e=="string"?Array.from(document.querySelectorAll(e)).filter(g):e?g(e)?[e]:[]:Array.from(document.getElementsByTagName("iframe"))}function O(e,t){if(Array.isArray(e.checkOrigin))return e.checkOrigin;if(!e.checkOrigin)return[];let n=[];for(let r of t){let i=L(r);i&&n.push(i)}return n}function D(e,t){let n=k(e.iframe)?B(e):A(e,t),r=I(e);return()=>{n(),r()}}function A(e,t){let{iframe:n,settings:r}=e,i=o=>{var s;let c=!r.checkOrigin||t.includes(o.origin);if(!(n.contentWindow!==o.source||!c)){if(((s=o.data)==null?void 0:s.type)==="iframe-resized"){let{height:a}=o.data;a&&l({newHeight:a,registeredElement:e});return}if(r.enableLegacyLibSupport){let a=z(o);a!==null&&l({newHeight:a,registeredElement:e});return}}};return window.addEventListener("message",i),r.enableLegacyLibSupport&&R(n),()=>window.removeEventListener("message",i)}function B({iframe:e}){let t=()=>{var n;let r=(n=e.contentDocument)==null?void 0:n.body;r&&_optionalChain([u, 'optionalAccess', _ => _.observe, 'call', _2 => _2(r)])};return y(e,t),()=>{var n;(n=e.contentDocument)!=null&&n.body&&_optionalChain([u, 'optionalAccess', _3 => _3.unobserve, 'call', _4 => _4(e.contentDocument.body)]),e.removeEventListener("load",t)}}function I({iframe:e,interactionState:t}){let n=()=>{t.isHovered=!0},r=()=>{t.isHovered=!1};return e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",r),()=>{e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",r)}}function W(){let e=({target:t})=>{let n=d.find(o=>{var s;return((s=o.iframe.contentDocument)==null?void 0:s.body)===t});if(!n)return;let{iframe:r}=n;if(!r.contentDocument)return;let i=h(r.contentDocument);i&&l({newHeight:i,registeredElement:n})};return new ResizeObserver(t=>t.forEach(e))}function l({registeredElement:e,newHeight:t}){let{iframe:n,settings:r,interactionState:i}=e,o=n.getBoundingClientRect(),s=t+r.offsetSize;if(n.style.height=`${s}px`,!r.onIframeResize)return;let c={iframe:n,settings:{...r},interactionState:{...i},previousRenderState:{rect:o},nextRenderState:{rect:n.getBoundingClientRect()}};r.onIframeResize(c)}C();function C(){!f()||!b()||p(window,()=>{let e=()=>{let t={type:"iframe-resized",width:document.documentElement.scrollWidth,height:h(document)};window.parent.postMessage(t,"*")};new ResizeObserver(e).observe(document.body)})}var m=class{constructor(t,n,r={},i=!1,o=!1){this.client=t,this.dark=i,this.background=o,this.path=n,this.args=r}setDark(t){return this.dark=t,this}setBackground(t){return this.background=t,this}async mount(t){let n=new URLSearchParams;n.set("clientId",this.client.clientId),n.set("clientSecret",this.client.clientSecret),n.set("origin",window.location.href),this.dark&&n.set("dark","true"),this.background&&n.set("background","true");for(let o in this.args){let s=this.args[o];Array.isArray(s)?n.set(o,s.join(",")):n.set(o,s)}let r=document.createElement("iframe");r.src=`https://safe.serverbench.io${this.path}?${n.toString()}`,r.style.width="100%";let i=t.appendChild(r);return v({},i),this}};exports.a = m;
2
+ //# sourceMappingURL=chunk-D3A3YNFT.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal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C,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-A4KS2P2O.cjs","sourcesContent":[null]}
1
+ {"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-D3A3YNFT.cjs"],"names":[],"mappings":"AAAA,qrBAAI,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,WAAW,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAg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MAAM,CAAC,CAAC,EAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-D3A3YNFT.cjs","sourcesContent":[null]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEC7FTDAIcjs = require('./chunk-EC7FTDAI.cjs');var s=class s{constructor(e,n,t){this.clientId=e,this.clientSecret=n,this.test=t}static get(e,n,t=!1){return(!s.instance||s.instance.clientId!==e||s.instance.clientSecret!==n||s.instance.test!==t)&&(s.instance=new s(e,n,t)),s.instance}get store(){return new (0, _chunkEC7FTDAIcjs.a)(this)}async fetch(e,n,t){let c=this.test?"https://dev.serverbench.io":"https://api.serverbench.io",r=new Headers({authorization:`ApiKey ${this.clientSecret}`});return t&&r.set("Content-Type","application/json"),(await fetch(`${c}/${e}/${this.clientId}${n}`,{headers:r,method:t?"POST":"GET",body:t?JSON.stringify(t):void 0})).json()}async get(e,n){return this.fetch(e,n)}async post(e,n,t={}){return this.fetch(e,n,t)}};s.instance=null;var i=s;exports.a = i;
2
- //# sourceMappingURL=chunk-PTYQ4YRD.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7GVT7B4Vcjs = require('./chunk-7GVT7B4V.cjs');var s=class s{constructor(e,n,t){this.clientId=e,this.clientSecret=n,this.test=t}static get(e,n,t=!1){return(!s.instance||s.instance.clientId!==e||s.instance.clientSecret!==n||s.instance.test!==t)&&(s.instance=new s(e,n,t)),s.instance}get store(){return new (0, _chunk7GVT7B4Vcjs.a)(this)}async fetch(e,n,t){let c=this.test?"https://dev.serverbench.io":"https://api.serverbench.io",r=new Headers({authorization:`ApiKey ${this.clientSecret}`});return t&&r.set("Content-Type","application/json"),(await fetch(`${c}/${e}/${this.clientId}${n}`,{headers:r,method:t?"POST":"GET",body:t?JSON.stringify(t):void 0})).json()}async get(e,n){return this.fetch(e,n)}async post(e,n,t={}){return this.fetch(e,n,t)}};s.instance=null;var i=s;exports.a = i;
2
+ //# sourceMappingURL=chunk-HI45UA3J.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-PTYQ4YRD.cjs"],"names":[],"mappings":"AAAA,iIAAmC,IAAK,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAY,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,4BAA4B,CAAC,4BAA4B,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-PTYQ4YRD.cjs","sourcesContent":[null]}
1
+ {"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-HI45UA3J.cjs"],"names":[],"mappings":"AAAA,iIAAmC,IAAK,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAY,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,4BAA4B,CAAC,4BAA4B,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-HI45UA3J.cjs","sourcesContent":[null]}
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-HM6YU4WY.js";var s=class s{constructor(e,n,t){this.clientId=e,this.clientSecret=n,this.test=t}static get(e,n,t=!1){return(!s.instance||s.instance.clientId!==e||s.instance.clientSecret!==n||s.instance.test!==t)&&(s.instance=new s(e,n,t)),s.instance}get store(){return new a(this)}async fetch(e,n,t){let c=this.test?"https://dev.serverbench.io":"https://api.serverbench.io",r=new Headers({authorization:`ApiKey ${this.clientSecret}`});return t&&r.set("Content-Type","application/json"),(await fetch(`${c}/${e}/${this.clientId}${n}`,{headers:r,method:t?"POST":"GET",body:t?JSON.stringify(t):void 0})).json()}async get(e,n){return this.fetch(e,n)}async post(e,n,t={}){return this.fetch(e,n,t)}};s.instance=null;var i=s;export{i as a};
2
- //# sourceMappingURL=chunk-XIDWO7YW.js.map
1
+ import{a}from"./chunk-36R5FIF5.js";var s=class s{constructor(e,n,t){this.clientId=e,this.clientSecret=n,this.test=t}static get(e,n,t=!1){return(!s.instance||s.instance.clientId!==e||s.instance.clientSecret!==n||s.instance.test!==t)&&(s.instance=new s(e,n,t)),s.instance}get store(){return new a(this)}async fetch(e,n,t){let c=this.test?"https://dev.serverbench.io":"https://api.serverbench.io",r=new Headers({authorization:`ApiKey ${this.clientSecret}`});return t&&r.set("Content-Type","application/json"),(await fetch(`${c}/${e}/${this.clientId}${n}`,{headers:r,method:t?"POST":"GET",body:t?JSON.stringify(t):void 0})).json()}async get(e,n){return this.fetch(e,n)}async post(e,n,t={}){return this.fetch(e,n,t)}};s.instance=null;var i=s;export{i as a};
2
+ //# sourceMappingURL=chunk-SBY73B4S.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkA4KS2P2Ocjs = require('../chunk-A4KS2P2O.cjs');exports.default = _chunkA4KS2P2Ocjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkD3A3YNFTcjs = require('../chunk-D3A3YNFT.cjs');exports.default = _chunkD3A3YNFTcjs.a;
2
2
  //# sourceMappingURL=Element.cjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-RRHBEYIS.js";export{a as default};
1
+ import{a}from"../chunk-B3VJ2OR7.js";export{a as default};
2
2
  //# sourceMappingURL=Element.js.map
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OW4YZ724.cjs');require('./chunk-OJYCLEOF.cjs');require('./chunk-X4NW2R7G.cjs');require('./chunk-DSKIK7XF.cjs');require('./chunk-NRMKMC27.cjs');var _chunkPTYQ4YRDcjs = require('./chunk-PTYQ4YRD.cjs');var _chunkEC7FTDAIcjs = require('./chunk-EC7FTDAI.cjs');var _chunkA4KS2P2Ocjs = require('./chunk-A4KS2P2O.cjs');require('./chunk-GOVZHEHO.cjs');require('./chunk-D22KLLON.cjs');require('./chunk-UHS7Z46V.cjs');require('./chunk-OVXIHLHV.cjs');var i=_chunkPTYQ4YRDcjs.a;exports.Element = _chunkA4KS2P2Ocjs.a; exports.Store = _chunkEC7FTDAIcjs.a; exports.default = i;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OW4YZ724.cjs');require('./chunk-OJYCLEOF.cjs');require('./chunk-X4NW2R7G.cjs');require('./chunk-DSKIK7XF.cjs');require('./chunk-NRMKMC27.cjs');var _chunkHI45UA3Jcjs = require('./chunk-HI45UA3J.cjs');var _chunk7GVT7B4Vcjs = require('./chunk-7GVT7B4V.cjs');var _chunkD3A3YNFTcjs = require('./chunk-D3A3YNFT.cjs');require('./chunk-GOVZHEHO.cjs');require('./chunk-D22KLLON.cjs');require('./chunk-UHS7Z46V.cjs');require('./chunk-OVXIHLHV.cjs');var i=_chunkHI45UA3Jcjs.a;exports.Element = _chunkD3A3YNFTcjs.a; exports.Store = _chunk7GVT7B4Vcjs.a; exports.default = i;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import"./chunk-FI7FAFLX.js";import"./chunk-TGMXZUHQ.js";import"./chunk-LBVHKFZO.js";import"./chunk-7KUMKL43.js";import"./chunk-4SUKRL6R.js";import{a as r}from"./chunk-XIDWO7YW.js";import{a as t}from"./chunk-HM6YU4WY.js";import{a as o}from"./chunk-RRHBEYIS.js";import"./chunk-RY7QEHM4.js";import"./chunk-ZYLLOUW6.js";import"./chunk-AS4B37XA.js";import"./chunk-56HSL4MD.js";var i=r;export{o as Element,t as Store,i as default};
1
+ import"./chunk-FI7FAFLX.js";import"./chunk-TGMXZUHQ.js";import"./chunk-LBVHKFZO.js";import"./chunk-7KUMKL43.js";import"./chunk-4SUKRL6R.js";import{a as r}from"./chunk-SBY73B4S.js";import{a as t}from"./chunk-36R5FIF5.js";import{a as o}from"./chunk-B3VJ2OR7.js";import"./chunk-RY7QEHM4.js";import"./chunk-ZYLLOUW6.js";import"./chunk-AS4B37XA.js";import"./chunk-56HSL4MD.js";var i=r;export{o as Element,t as Store,i as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEC7FTDAIcjs = require('../chunk-EC7FTDAI.cjs');require('../chunk-A4KS2P2O.cjs');exports.default = _chunkEC7FTDAIcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7GVT7B4Vcjs = require('../chunk-7GVT7B4V.cjs');require('../chunk-D3A3YNFT.cjs');exports.default = _chunk7GVT7B4Vcjs.a;
2
2
  //# sourceMappingURL=Store.cjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-HM6YU4WY.js";import"../chunk-RRHBEYIS.js";export{a as default};
1
+ import{a}from"../chunk-36R5FIF5.js";import"../chunk-B3VJ2OR7.js";export{a as default};
2
2
  //# sourceMappingURL=Store.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serverbench/js",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {