@nuxt/scripts 1.0.0-beta.30 → 1.0.0-beta.32
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.
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{CYlYSSNW.js → CxpRPAAJ.js} +1 -1
- package/dist/client/_nuxt/{D5FIkDae.js → D0d_xOOu.js} +1 -1
- package/dist/client/_nuxt/{AwAKM0sG.js → DxzaVa0B.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/d7ecb215-eee2-4720-b2bc-f3ad271b9c30.json +1 -0
- package/dist/client/_nuxt/entry.esAfLJmC.css +1 -0
- package/dist/client/_nuxt/ojT6Btul.js +162 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +23 -45
- package/dist/module.d.ts +23 -45
- package/dist/module.json +1 -1
- package/dist/module.mjs +241 -227
- package/dist/registry.d.mts +6 -1
- package/dist/registry.d.ts +6 -1
- package/dist/registry.mjs +150 -11
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +5 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +11 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +5 -2
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +14 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue +50 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +14 -0
- package/dist/runtime/registry/gravatar.d.ts +1 -1
- package/dist/runtime/server/proxy-handler.js +25 -36
- package/dist/runtime/server/utils/privacy.d.ts +0 -8
- package/dist/runtime/server/utils/privacy.js +7 -7
- package/dist/runtime/types.d.ts +71 -13
- package/dist/shared/scripts.T4Z99VT8.mjs +37 -0
- package/dist/stats.mjs +7 -15
- package/dist/types-source.mjs +16 -2
- package/dist/types.d.mts +1 -1
- package/package.json +2 -2
- package/dist/client/_nuxt/Bl23o3st.js +0 -162
- package/dist/client/_nuxt/builds/meta/f0b4dd20-8496-4003-b7a3-05cbae515923.json +0 -1
- package/dist/client/_nuxt/entry.C5SUNdim.css +0 -1
- package/dist/shared/scripts.ViOoYQXH.mjs +0 -381
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"f0b4dd20-8496-4003-b7a3-05cbae515923","timestamp":1774019040423,"prerendered":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--nui-c-context:125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}::-moz-selection{background:#8884}::selection{background:#8884}.shiki .line{display:inline-block;position:relative;width:100%}.shiki.diff .line>span{filter:saturate(.75);opacity:.75}.shiki.diff .line-added,.shiki.diff .line-removed{scroll-margin:5em}.shiki.diff .line-added>span,.shiki.diff .line-removed>span{opacity:1!important;position:inherit;scroll-margin:20px;z-index:100}.shiki.diff .line-added>span{color:#218c3b!important}.shiki.diff .line-removed>span{color:#d15547!important}.shiki .line-added:after{background-color:#43885420}.shiki .line-added:after,.shiki .line-removed:after{content:"";display:block;inset:0;position:absolute}.shiki .line-removed:after{background-color:#8f4c3926}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2147483646}.dark::view-transition-old(root){z-index:2147483646}.dark::view-transition-new(root){z-index:1}*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.carbon\:arrows-horizontal{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11.41 26.59L7.83 23H28v-2H7.83l3.58-3.59L10 16l-6 6l6 6zM28 10l-6-6l-1.41 1.41L24.17 9H4v2h20.17l-3.58 3.59L22 16z'/%3E%3C/svg%3E")}.carbon\:arrows-horizontal,.carbon\:book{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:book{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7zM6 10h7v2H6zm0 5h7v2H6zm0 5h7v2H6z'/%3E%3Cpath fill='currentColor' d='M28 5H4a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M4 7h11v18H4Zm13 18V7h11v18Z'/%3E%3C/svg%3E")}.carbon\:catalog{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 2H8a2 2 0 0 0-2 2v4H4v2h2v5H4v2h2v5H4v2h2v4a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2m0 26H8v-4h2v-2H8v-5h2v-2H8v-5h2V8H8V4h18Z'/%3E%3Cpath fill='currentColor' d='M14 8h8v2h-8zm0 7h8v2h-8zm0 7h8v2h-8z'/%3E%3C/svg%3E")}.carbon\:catalog,.carbon\:chevron-down{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E")}.carbon\:chevron-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 10l10 10l-1.4 1.4l-8.6-8.6l-8.6 8.6L6 20z'/%3E%3C/svg%3E")}.carbon\:chevron-up,.carbon\:chip{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:chip{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11 11v10h10V11Zm8 8h-6v-6h6Z'/%3E%3Cpath fill='currentColor' d='M30 13v-2h-4V8a2 2 0 0 0-2-2h-3V2h-2v4h-6V2h-2v4H8a2 2 0 0 0-2 2v3H2v2h4v6H2v2h4v3a2 2 0 0 0 2 2h3v4h2v-4h6v4h2v-4h3a2 2 0 0 0 2-2v-3h4v-2h-4v-6Zm-6 11H8V8h16Z'/%3E%3C/svg%3E")}.carbon\:data-table{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M8 18h4v2H8zm6 0h4v2h-4zm-6-4h4v2H8zm6 8h4v2h-4zm6-8h4v2h-4zm0 8h4v2h-4z'/%3E%3Cpath fill='currentColor' d='M27 3H5a2.003 2.003 0 0 0-2 2v22a2.003 2.003 0 0 0 2 2h22a2.003 2.003 0 0 0 2-2V5a2.003 2.003 0 0 0-2-2m0 2v4H5V5ZM5 27V11h22v16Z'/%3E%3C/svg%3E")}.carbon\:data-table,.carbon\:direction-fork{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:direction-fork{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 13V7.414l9 9V28h2V16.414l9-9V13h2V4h-9v2h5.586L16 14.586L7.414 6H13V4H4v9z'/%3E%3C/svg%3E")}.carbon\:location{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 18a5 5 0 1 1 5-5a5.006 5.006 0 0 1-5 5m0-8a3 3 0 1 0 3 3a3.003 3.003 0 0 0-3-3'/%3E%3Cpath fill='currentColor' d='m16 30l-8.436-9.949a35 35 0 0 1-.348-.451A10.9 10.9 0 0 1 5 13a11 11 0 0 1 22 0a10.9 10.9 0 0 1-2.215 6.597l-.001.003s-.3.394-.345.447ZM8.813 18.395s.233.308.286.374L16 26.908l6.91-8.15c.044-.055.278-.365.279-.366A8.9 8.9 0 0 0 25 13a9 9 0 1 0-18 0a8.9 8.9 0 0 0 1.813 5.395'/%3E%3C/svg%3E")}.carbon\:location,.carbon\:screen{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:screen{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M28 4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v4H8v2h16v-2h-4v-4h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M18 28h-4v-4h4Zm10-6H4V6h24Z'/%3E%3C/svg%3E")}.carbon\:script{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.83 26l2.58-2.58L20 22l-4 4l4 4l1.42-1.41zm8.34 0l-2.58 2.58L26 30l4-4l-4-4l-1.42 1.41z'/%3E%3Cpath fill='currentColor' d='M14 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6v6h2v-8a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h6Zm4-23.6l5.6 5.6H18Z'/%3E%3C/svg%3E")}.carbon\:script,.carbon\:security{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:security{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M14 16.59L11.41 14L10 15.41l4 4l8-8L20.59 10z'/%3E%3Cpath fill='currentColor' d='m16 30l-6.176-3.293A10.98 10.98 0 0 1 4 17V4a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v13a10.98 10.98 0 0 1-5.824 9.707ZM6 4v13a8.99 8.99 0 0 0 4.766 7.942L16 27.733l5.234-2.79A8.99 8.99 0 0 0 26 17V4Z'/%3E%3C/svg%3E")}.carbon\:time{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4'/%3E%3Cpath fill='currentColor' d='M20.59 22L15 16.41V7h2v8.58l5 5.01z'/%3E%3C/svg%3E")}.carbon\:time,.carbon\:translate{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon\:translate{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85Zm-7.65-6l2.62-6.56L25.45 23ZM18 7V5h-7V2H9v3H2v2h10.74a14.7 14.7 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.5 16.5 0 0 0 3 5.58A16.8 16.8 0 0 1 3 18l.75 1.86A18.5 18.5 0 0 0 9.53 16a16.9 16.9 0 0 0 5.76 3.84L16 18a14.5 14.5 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7Z'/%3E%3C/svg%3E")}.carbon\:user-profile{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 4a5 5 0 1 1-5 5a5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7a7 7 0 0 0-7-7m10 28h-2v-5a5 5 0 0 0-5-5H9a5 5 0 0 0-5 5v5H2v-5a7 7 0 0 1 7-7h6a7 7 0 0 1 7 7Zm0-26h10v2H22zm0 5h10v2H22zm0 5h7v2h-7z'/%3E%3C/svg%3E")}.carbon\:user-profile,.i-carbon\:arrow-up-right,[i-carbon\:arrow-up-right=""]{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon\:arrow-up-right,[i-carbon\:arrow-up-right=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6z'/%3E%3C/svg%3E")}.logos\:github-icon{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 250' display='inline-block' vertical-align='middle' width='1.24em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='%23161614' d='M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46c6.397 1.185 8.746-2.777 8.746-6.158c0-3.052-.12-13.135-.174-23.83c-35.61 7.742-43.124-15.103-43.124-15.103c-5.823-14.795-14.213-18.73-14.213-18.73c-11.613-7.944.876-7.78.876-7.78c12.853.902 19.621 13.19 19.621 13.19c11.417 19.568 29.945 13.911 37.249 10.64c1.149-8.272 4.466-13.92 8.127-17.116c-28.431-3.236-58.318-14.212-58.318-63.258c0-13.975 5-25.394 13.188-34.358c-1.329-3.224-5.71-16.242 1.24-33.874c0 0 10.749-3.44 35.21 13.121c10.21-2.836 21.16-4.258 32.038-4.307c10.878.049 21.837 1.47 32.066 4.307c24.431-16.56 35.165-13.12 35.165-13.12c6.967 17.63 2.584 30.65 1.255 33.873c8.207 8.964 13.173 20.383 13.173 34.358c0 49.163-29.944 59.988-58.447 63.157c4.591 3.972 8.682 11.762 8.682 23.704c0 17.126-.148 30.91-.148 35.126c0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002C256 57.307 198.691 0 128.001 0m-80.06 182.34c-.282.636-1.283.827-2.194.39c-.929-.417-1.45-1.284-1.15-1.922c.276-.655 1.279-.838 2.205-.399c.93.418 1.46 1.293 1.139 1.931m6.296 5.618c-.61.566-1.804.303-2.614-.591c-.837-.892-.994-2.086-.375-2.66c.63-.566 1.787-.301 2.626.591c.838.903 1 2.088.363 2.66m4.32 7.188c-.785.545-2.067.034-2.86-1.104c-.784-1.138-.784-2.503.017-3.05c.795-.547 2.058-.055 2.861 1.075c.782 1.157.782 2.522-.019 3.08m7.304 8.325c-.701.774-2.196.566-3.29-.49c-1.119-1.032-1.43-2.496-.726-3.27c.71-.776 2.213-.558 3.315.49c1.11 1.03 1.45 2.505.701 3.27m9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033c-1.448-.439-2.395-1.613-2.103-2.626c.301-1.01 1.747-1.484 3.207-1.028c1.446.436 2.396 1.602 2.095 2.622m10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95c-1.53.034-2.769-.82-2.786-1.86c0-1.065 1.202-1.932 2.733-1.958c1.522-.03 2.768.818 2.768 1.868m10.555-.405c.182 1.03-.875 2.088-2.387 2.37c-1.485.271-2.861-.365-3.05-1.386c-.184-1.056.893-2.114 2.376-2.387c1.514-.263 2.868.356 3.061 1.403'/%3E%3C/svg%3E") no-repeat;background-color:transparent;background-size:100% 100%;display:inline-block;height:1.2em;vertical-align:middle;width:1.24em}.n-badge{background-color:rgba(var(--nui-c-context),.1);border-radius:.25rem;font-size:.75rem;line-height:1rem;margin-left:.125rem;margin-right:.125rem;padding:.125rem .375rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity))}.n-button-icon{font-size:1.1em;margin-left:-.2em;margin-right:.2em}.n-icon-button{align-items:center;aspect-ratio:1/1;border-radius:.25rem;display:flex;height:1.6em;justify-content:center;opacity:.5;width:1.6em}.n-button-base{align-items:center;border-color:#9ca3af33;border-radius:.25rem;border-width:1px;display:inline-flex;gap:.25rem;opacity:.8;padding:.25em 1em;touch-action:manipulation;--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color,rgba(0,0,0,.05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);outline:2px solid transparent!important;outline-offset:2px!important}.n-icon{flex:none}.n-border-base,[n-border-base=""]{border-color:#9ca3af33}.hover\:n-button-hover:hover{--un-border-opacity:1!important;border-color:rgba(var(--nui-c-context),var(--un-border-opacity))!important;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));opacity:1}.n-bg-active,[n-bg-active=""]{background-color:#9ca3af0d}.dark .n-bg-base{--un-bg-opacity:1;background-color:rgb(21 21 21/var(--un-bg-opacity))}.n-bg-base,.n-code-block{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.dark .n-code-block{--un-bg-opacity:1;background-color:rgb(18 18 18/var(--un-bg-opacity))}.hover\:n-bg-active:hover,.n-icon-button:hover{background-color:#9ca3af0d}.n-icon-button:hover{opacity:1}.active\:n-button-active:active{background-color:rgba(var(--nui-c-context),.05);--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.1)}.hover\:n-link-hover:hover{--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));-webkit-text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;--un-line-opacity:1!important;opacity:1!important;text-decoration-color:rgba(var(--nui-c-context),var(--un-line-opacity))!important;text-decoration-style:dotted}.n-link-base{text-decoration-color:#0003;text-decoration-line:underline;text-underline-offset:2px}.dark .n-link-base{text-decoration-color:#fff6}.focus-visible\:n-focus-base:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.5)}.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.absolute,.sr-only{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.z-2{z-index:2}.grid{display:grid}.m0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mb-0\.5,[mb-0\.5=""]{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml--1px{margin-left:-1px}.mr-\[2px\]{margin-right:2px}.mr-0\.5{margin-right:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.hidden{display:none}.h-2,[h-2=""]{height:.5rem}.h-2\.5{height:.625rem}.h-4,.h4{height:1rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-full{height:100%}.h1{height:.25rem}.h3{height:.75rem}.max-h-full{max-height:100%}.max-w-520px{max-width:520px}.max-w-6{max-width:1.5rem}.max-w-8{max-width:2rem}.min-h-screen{min-height:100vh}.min-w-0{min-width:0}.min-w-20{min-width:5rem}.min-w-28,[min-w-28=""]{min-width:7rem}.w-2,[w-2=""]{width:.5rem}.w-2\.5{width:.625rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-full{width:100%}.flex,[flex=""]{display:flex}.inline-flex{display:inline-flex}.flex-shrink-0{flex-shrink:0}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.table{display:table}.translate-y--1,[translate-y--1=""]{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-pulse,[animate-pulse=""]{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-end,[items-end=""]{align-items:flex-end}.items-center,[items-center=""]{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5,[gap-1\.5=""]{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-1\.5>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(.375rem*var(--un-space-y-reverse));margin-top:calc(.375rem*(1 - var(--un-space-y-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(.75rem*var(--un-space-y-reverse));margin-top:calc(.75rem*(1 - var(--un-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(1rem*var(--un-space-y-reverse));margin-top:calc(1rem*(1 - var(--un-space-y-reverse)))}.space-y-5>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(1.25rem*var(--un-space-y-reverse));margin-top:calc(1.25rem*(1 - var(--un-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.border,[border=""]{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.last\:border-b-0:last-child{border-bottom-width:0}.border-amber-500\/20{border-color:#f59e0b33}.border-blue-500\/20{border-color:#3b82f633}.border-emerald-500\/20{border-color:#10b98133}.border-orange-500\/20{border-color:#f9731633}.border-red-500\/20{border-color:#ef444433}.border-sky-500\/20{border-color:#0ea5e933}.border-violet-500\/20{border-color:#8b5cf633}.rounded{border-radius:.25rem}.rounded-full,[rounded-full=""]{border-radius:9999px}.rounded-lg,[rounded-lg=""]{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border-none{border-style:none}.bg-amber-500\/10{background-color:#f59e0b1a}.bg-blue-100{--un-bg-opacity:1;background-color:rgb(219 234 254/var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246/var(--un-bg-opacity))}.bg-blue-500\/10{background-color:#3b82f61a}.bg-emerald-100{--un-bg-opacity:1;background-color:rgb(209 250 229/var(--un-bg-opacity))}.bg-emerald-400,[bg-emerald-400=""]{--un-bg-opacity:1;background-color:rgb(52 211 153/var(--un-bg-opacity))}.bg-emerald-500{--un-bg-opacity:1;background-color:rgb(16 185 129/var(--un-bg-opacity))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-emerald-500\/15{background-color:#10b98126}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246/var(--un-bg-opacity))}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219/var(--un-bg-opacity))}.bg-gray-400{--un-bg-opacity:1;background-color:rgb(156 163 175/var(--un-bg-opacity))}.bg-green-100{--un-bg-opacity:1;background-color:rgb(220 252 231/var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94/var(--un-bg-opacity))}.bg-neutral-700{--un-bg-opacity:1;background-color:rgb(64 64 64/var(--un-bg-opacity))}.bg-orange-500\/10{background-color:#f973161a}.bg-purple-100{--un-bg-opacity:1;background-color:rgb(243 232 255/var(--un-bg-opacity))}.bg-red-100{--un-bg-opacity:1;background-color:rgb(254 226 226/var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68/var(--un-bg-opacity))}.bg-red-500\/10{background-color:#ef44441a}.bg-sky-500\/10{background-color:#0ea5e91a}.bg-violet-500\/10{background-color:#8b5cf61a}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.bg-yellow-100{--un-bg-opacity:1;background-color:rgb(254 249 195/var(--un-bg-opacity))}.bg-yellow-500{--un-bg-opacity:1;background-color:rgb(234 179 8/var(--un-bg-opacity))}.dark .dark\:bg-\[\#020420\]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark .dark\:bg-blue-900\/40{background-color:#1e3a8a66}.dark .dark\:bg-emerald-900\/40{background-color:#064e3b66}.dark .dark\:bg-gray-700{--un-bg-opacity:1;background-color:rgb(55 65 81/var(--un-bg-opacity))}.dark .dark\:bg-gray-800{--un-bg-opacity:1;background-color:rgb(31 41 55/var(--un-bg-opacity))}.dark .dark\:bg-green-900\/40{background-color:#14532d66}.dark .dark\:bg-purple-900\/40{background-color:#581c8766}.dark .dark\:bg-red-900\/40{background-color:#7f1d1d66}.dark .dark\:bg-yellow-900\/40{background-color:#713f1266}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4,[px-4=""],[px=""]{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-\[2px\]{padding-bottom:2px;padding-top:2px}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2\.5,[py-2\.5=""]{padding-bottom:.625rem;padding-top:.625rem}.py-20{padding-bottom:5rem;padding-top:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.text-left{text-align:left}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[80px\]{font-size:80px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}.dark .dark\:text-amber-400{--un-text-opacity:1;color:rgb(251 191 36/var(--un-text-opacity))}.dark .dark\:text-blue-300{--un-text-opacity:1;color:rgb(147 197 253/var(--un-text-opacity))}.dark .dark\:text-blue-400{--un-text-opacity:1;color:rgb(96 165 250/var(--un-text-opacity))}.dark .dark\:text-emerald-300{--un-text-opacity:1;color:rgb(110 231 183/var(--un-text-opacity))}.dark .dark\:text-emerald-400,.dark [dark\:text-emerald-400=""]{--un-text-opacity:1;color:rgb(52 211 153/var(--un-text-opacity))}.dark .dark\:text-gray-400,.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175/var(--un-text-opacity))}.dark .dark\:text-gray-600,.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99/var(--un-text-opacity))}.dark .dark\:text-green-400{--un-text-opacity:1;color:rgb(74 222 128/var(--un-text-opacity))}.dark .dark\:text-orange-400{--un-text-opacity:1;color:rgb(251 146 60/var(--un-text-opacity))}.dark .dark\:text-purple-400{--un-text-opacity:1;color:rgb(192 132 252/var(--un-text-opacity))}.dark .dark\:text-red-400{--un-text-opacity:1;color:rgb(248 113 113/var(--un-text-opacity))}.dark .dark\:text-sky-400{--un-text-opacity:1;color:rgb(56 189 248/var(--un-text-opacity))}.dark .dark\:text-violet-400{--un-text-opacity:1;color:rgb(167 139 250/var(--un-text-opacity))}.dark .dark\:text-white,.dark [dark\:text-white=""]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}.dark .dark\:text-yellow-400{--un-text-opacity:1;color:rgb(250 204 21/var(--un-text-opacity))}.text-\[\#020420\]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.text-amber-600{--un-text-opacity:1;color:rgb(217 119 6/var(--un-text-opacity))}.text-amber-700{--un-text-opacity:1;color:rgb(180 83 9/var(--un-text-opacity))}.text-blue-500{--un-text-opacity:1;color:rgb(59 130 246/var(--un-text-opacity))}.text-blue-600{--un-text-opacity:1;color:rgb(37 99 235/var(--un-text-opacity))}.text-blue-700{--un-text-opacity:1;color:rgb(29 78 216/var(--un-text-opacity))}.text-emerald-500,[text-emerald-500=""]{--un-text-opacity:1;color:rgb(16 185 129/var(--un-text-opacity))}.text-emerald-600{--un-text-opacity:1;color:rgb(5 150 105/var(--un-text-opacity))}.text-emerald-700{--un-text-opacity:1;color:rgb(4 120 87/var(--un-text-opacity))}.text-green-300{--un-text-opacity:1;color:rgb(134 239 172/var(--un-text-opacity))}.text-green-700{--un-text-opacity:1;color:rgb(21 128 61/var(--un-text-opacity))}.text-neutral-300{--un-text-opacity:1;color:rgb(212 212 212/var(--un-text-opacity))}.text-orange-600{--un-text-opacity:1;color:rgb(234 88 12/var(--un-text-opacity))}.text-purple-700{--un-text-opacity:1;color:rgb(126 34 206/var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68/var(--un-text-opacity))}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38/var(--un-text-opacity))}.text-red-700{--un-text-opacity:1;color:rgb(185 28 28/var(--un-text-opacity))}.text-sky-700{--un-text-opacity:1;color:rgb(3 105 161/var(--un-text-opacity))}.text-violet-600{--un-text-opacity:1;color:rgb(124 58 237/var(--un-text-opacity))}.text-violet-700{--un-text-opacity:1;color:rgb(109 40 217/var(--un-text-opacity))}.text-yellow-700{--un-text-opacity:1;color:rgb(161 98 7/var(--un-text-opacity))}.dark .dark\:hover\:text-blue-300:hover{--un-text-opacity:1;color:rgb(147 197 253/var(--un-text-opacity))}.hover\:text-\[\#00DC82\]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.hover\:text-blue-800:hover{--un-text-opacity:1;color:rgb(30 64 175/var(--un-text-opacity))}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold,[font-semibold=""]{font-weight:600}.leading-none{line-height:1}.tracking-wide{letter-spacing:.025em}.tracking-wider,[tracking-wider=""]{letter-spacing:.05em}.font-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.uppercase,[uppercase=""]{text-transform:uppercase}.capitalize{text-transform:capitalize}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.op-0\.1{opacity:.001}.op35{opacity:.35}.op50,.opacity-50,[op50=""]{opacity:.5}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40,[opacity-40=""]{opacity:.4}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.backdrop-blur-lg{--un-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.n-disabled\:n-disabled[disabled],[disabled] .n-disabled\:n-disabled{filter:saturate(0);opacity:.6;pointer-events:none}@media(min-width:640px){.sm\:text-\[110px\]{font-size:110px}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media(min-width:1024px){.lg\:flex{display:flex}}.n-code-block-lines .shiki code .line:before{display:none}
|
|
@@ -1,381 +0,0 @@
|
|
|
1
|
-
const GA_COLLECT_RE = /([\w$])?"https:\/\/"\+\(.*?\)\+"\.google-analytics\.com\/g\/collect"/g;
|
|
2
|
-
const GA_ANALYTICS_COLLECT_RE = /([\w$])?"https:\/\/"\+\(.*?\)\+"\.analytics\.google\.com\/g\/collect"/g;
|
|
3
|
-
const FATHOM_SELF_HOSTED_RE = /\.src\.indexOf\("cdn\.usefathom\.com"\)\s*<\s*0/;
|
|
4
|
-
const RYBBIT_HOST_SPLIT_RE = /\w+\.split\(["']\/script\.js["']\)\[0\]/g;
|
|
5
|
-
const PRIVACY_NONE = { ip: false, userAgent: false, language: false, screen: false, timezone: false, hardware: false };
|
|
6
|
-
const PRIVACY_FULL = { ip: true, userAgent: true, language: true, screen: true, timezone: true, hardware: true };
|
|
7
|
-
const PRIVACY_HEATMAP = { ip: true, userAgent: false, language: true, screen: false, timezone: false, hardware: true };
|
|
8
|
-
const PRIVACY_IP_ONLY = { ip: true, userAgent: false, language: false, screen: false, timezone: false, hardware: false };
|
|
9
|
-
function deriveRewrites(domains, proxyPrefix) {
|
|
10
|
-
return domains.map(([domain, alias]) => ({
|
|
11
|
-
from: domain,
|
|
12
|
-
to: `${proxyPrefix}/${alias}`
|
|
13
|
-
}));
|
|
14
|
-
}
|
|
15
|
-
function deriveRoutes(domains, proxyPrefix) {
|
|
16
|
-
const routes = {};
|
|
17
|
-
const seen = /* @__PURE__ */ new Set();
|
|
18
|
-
for (const [domain, alias] of domains) {
|
|
19
|
-
if (seen.has(alias))
|
|
20
|
-
continue;
|
|
21
|
-
seen.add(alias);
|
|
22
|
-
routes[`${proxyPrefix}/${alias}/**`] = { proxy: `https://${domain}/**` };
|
|
23
|
-
}
|
|
24
|
-
return routes;
|
|
25
|
-
}
|
|
26
|
-
function fromDomains(domains, proxyPrefix, opts) {
|
|
27
|
-
const { extraRewrites, ...rest } = opts;
|
|
28
|
-
const rewrites = deriveRewrites(domains, proxyPrefix);
|
|
29
|
-
if (extraRewrites) {
|
|
30
|
-
for (const r of extraRewrites)
|
|
31
|
-
rewrites.push({ from: r.from, to: `${proxyPrefix}/${r.to}` });
|
|
32
|
-
}
|
|
33
|
-
return { rewrite: rewrites, routes: deriveRoutes(domains, proxyPrefix), ...rest };
|
|
34
|
-
}
|
|
35
|
-
function buildProxyConfig(proxyPrefix) {
|
|
36
|
-
return {
|
|
37
|
-
googleAnalytics: fromDomains(
|
|
38
|
-
[
|
|
39
|
-
["www.google-analytics.com", "ga"],
|
|
40
|
-
["analytics.google.com", "ga"],
|
|
41
|
-
["stats.g.doubleclick.net", "ga-dc"],
|
|
42
|
-
["pagead2.googlesyndication.com", "ga-syn"],
|
|
43
|
-
["www.googleadservices.com", "ga-ads"],
|
|
44
|
-
["googleads.g.doubleclick.net", "ga-gads"]
|
|
45
|
-
],
|
|
46
|
-
proxyPrefix,
|
|
47
|
-
{
|
|
48
|
-
// GA4: screen/timezone/UA needed for device, time, and OS reports; rest anonymized safely
|
|
49
|
-
privacy: PRIVACY_HEATMAP,
|
|
50
|
-
extraRewrites: [
|
|
51
|
-
// Modern gtag.js uses www.google.com/g/collect
|
|
52
|
-
{ from: "www.google.com/g/collect", to: "ga/g/collect" },
|
|
53
|
-
// Suffix patterns for dynamically constructed URLs
|
|
54
|
-
{ from: ".google-analytics.com/g/collect", to: "ga/g/collect" },
|
|
55
|
-
{ from: ".analytics.google.com/g/collect", to: "ga/g/collect" },
|
|
56
|
-
// Full domain + path patterns
|
|
57
|
-
{ from: "www.google-analytics.com/g/collect", to: "ga/g/collect" },
|
|
58
|
-
{ from: "analytics.google.com/g/collect", to: "ga/g/collect" },
|
|
59
|
-
// DoubleClick collect endpoint
|
|
60
|
-
{ from: "stats.g.doubleclick.net/g/collect", to: "ga/g/collect" }
|
|
61
|
-
],
|
|
62
|
-
// GA4 dynamically constructs collect URLs via string concatenation that can't be
|
|
63
|
-
// caught by AST rewriting. These regex patches handle the remaining patterns.
|
|
64
|
-
postProcess(output, rewrites) {
|
|
65
|
-
const gaRewrite = rewrites.find((r) => r.from.includes("google-analytics.com/g/collect"));
|
|
66
|
-
if (gaRewrite) {
|
|
67
|
-
output = output.replace(
|
|
68
|
-
GA_COLLECT_RE,
|
|
69
|
-
(_, prevChar) => `${prevChar ? `${prevChar} ` : ""}self.location.origin+"${gaRewrite.to}"`
|
|
70
|
-
);
|
|
71
|
-
output = output.replace(
|
|
72
|
-
GA_ANALYTICS_COLLECT_RE,
|
|
73
|
-
(_, prevChar) => `${prevChar ? `${prevChar} ` : ""}self.location.origin+"${gaRewrite.to}"`
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
return output;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
),
|
|
80
|
-
googleTagManager: fromDomains(
|
|
81
|
-
[["www.googletagmanager.com", "gtm"]],
|
|
82
|
-
proxyPrefix,
|
|
83
|
-
{ privacy: PRIVACY_NONE }
|
|
84
|
-
),
|
|
85
|
-
metaPixel: fromDomains(
|
|
86
|
-
[
|
|
87
|
-
["connect.facebook.net", "meta"],
|
|
88
|
-
["www.facebook.com/tr", "meta-tr"],
|
|
89
|
-
["facebook.com/tr", "meta-tr"],
|
|
90
|
-
["pixel.facebook.com", "meta-px"],
|
|
91
|
-
["www.facebook.com/plugins", "meta-plugins"]
|
|
92
|
-
],
|
|
93
|
-
proxyPrefix,
|
|
94
|
-
{ privacy: PRIVACY_FULL }
|
|
95
|
-
),
|
|
96
|
-
tiktokPixel: fromDomains(
|
|
97
|
-
[["analytics.tiktok.com", "tiktok"]],
|
|
98
|
-
proxyPrefix,
|
|
99
|
-
{ privacy: PRIVACY_FULL }
|
|
100
|
-
),
|
|
101
|
-
segment: fromDomains(
|
|
102
|
-
[
|
|
103
|
-
["api.segment.io", "segment"],
|
|
104
|
-
["cdn.segment.com", "segment-cdn"]
|
|
105
|
-
],
|
|
106
|
-
proxyPrefix,
|
|
107
|
-
{ privacy: PRIVACY_NONE }
|
|
108
|
-
),
|
|
109
|
-
xPixel: fromDomains(
|
|
110
|
-
[
|
|
111
|
-
["analytics.twitter.com", "x"],
|
|
112
|
-
["static.ads-twitter.com", "x-ads"],
|
|
113
|
-
["t.co", "x-t"]
|
|
114
|
-
],
|
|
115
|
-
proxyPrefix,
|
|
116
|
-
{ privacy: PRIVACY_FULL }
|
|
117
|
-
),
|
|
118
|
-
snapchatPixel: fromDomains(
|
|
119
|
-
[
|
|
120
|
-
["sc-static.net", "snap-cdn"],
|
|
121
|
-
["tr.snapchat.com", "snap"],
|
|
122
|
-
["pixel.tapad.com", "snap-tapad"]
|
|
123
|
-
],
|
|
124
|
-
proxyPrefix,
|
|
125
|
-
{ privacy: PRIVACY_FULL }
|
|
126
|
-
),
|
|
127
|
-
redditPixel: fromDomains(
|
|
128
|
-
[
|
|
129
|
-
["www.redditstatic.com", "reddit-cdn"],
|
|
130
|
-
["alb.reddit.com", "reddit"],
|
|
131
|
-
["pixel-config.reddit.com", "reddit-cfg"]
|
|
132
|
-
],
|
|
133
|
-
proxyPrefix,
|
|
134
|
-
{ privacy: PRIVACY_FULL }
|
|
135
|
-
),
|
|
136
|
-
clarity: fromDomains(
|
|
137
|
-
[
|
|
138
|
-
["www.clarity.ms", "clarity"],
|
|
139
|
-
["scripts.clarity.ms", "clarity-scripts"],
|
|
140
|
-
["d.clarity.ms", "clarity-data"],
|
|
141
|
-
["e.clarity.ms", "clarity-events"],
|
|
142
|
-
["k.clarity.ms", "clarity-collect"]
|
|
143
|
-
],
|
|
144
|
-
proxyPrefix,
|
|
145
|
-
{ privacy: PRIVACY_HEATMAP }
|
|
146
|
-
),
|
|
147
|
-
posthog: {
|
|
148
|
-
// No rewrites needed - PostHog uses NPM mode, SDK URLs are set via api_host config
|
|
149
|
-
privacy: PRIVACY_NONE,
|
|
150
|
-
routes: {
|
|
151
|
-
// US region
|
|
152
|
-
[`${proxyPrefix}/ph/static/**`]: { proxy: "https://us-assets.i.posthog.com/static/**" },
|
|
153
|
-
[`${proxyPrefix}/ph/**`]: { proxy: "https://us.i.posthog.com/**" },
|
|
154
|
-
// EU region
|
|
155
|
-
[`${proxyPrefix}/ph-eu/static/**`]: { proxy: "https://eu-assets.i.posthog.com/static/**" },
|
|
156
|
-
[`${proxyPrefix}/ph-eu/**`]: { proxy: "https://eu.i.posthog.com/**" }
|
|
157
|
-
},
|
|
158
|
-
autoInject: {
|
|
159
|
-
configField: "apiHost",
|
|
160
|
-
computeValue: (proxyPrefix2, config) => {
|
|
161
|
-
const region = config.region || "us";
|
|
162
|
-
return region === "eu" ? `${proxyPrefix2}/ph-eu` : `${proxyPrefix2}/ph`;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
hotjar: fromDomains(
|
|
167
|
-
[
|
|
168
|
-
["static.hotjar.com", "hotjar"],
|
|
169
|
-
["script.hotjar.com", "hotjar-script"],
|
|
170
|
-
["vars.hotjar.com", "hotjar-vars"],
|
|
171
|
-
["in.hotjar.com", "hotjar-in"],
|
|
172
|
-
["vc.hotjar.com", "hotjar-vc"],
|
|
173
|
-
["vc.hotjar.io", "hotjar-vc"],
|
|
174
|
-
["metrics.hotjar.io", "hotjar-metrics"],
|
|
175
|
-
["insights.hotjar.com", "hotjar-insights"],
|
|
176
|
-
["ask.hotjar.io", "hotjar-ask"],
|
|
177
|
-
["events.hotjar.io", "hotjar-events"],
|
|
178
|
-
["identify.hotjar.com", "hotjar-identify"],
|
|
179
|
-
["surveystats.hotjar.io", "hotjar-surveys"]
|
|
180
|
-
],
|
|
181
|
-
proxyPrefix,
|
|
182
|
-
{ privacy: PRIVACY_HEATMAP }
|
|
183
|
-
),
|
|
184
|
-
plausibleAnalytics: fromDomains(
|
|
185
|
-
[["plausible.io", "plausible"]],
|
|
186
|
-
proxyPrefix,
|
|
187
|
-
{
|
|
188
|
-
privacy: PRIVACY_NONE,
|
|
189
|
-
autoInject: {
|
|
190
|
-
configField: "endpoint",
|
|
191
|
-
computeValue: (proxyPrefix2) => `${proxyPrefix2}/plausible/api/event`
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
),
|
|
195
|
-
cloudflareWebAnalytics: fromDomains(
|
|
196
|
-
[
|
|
197
|
-
["static.cloudflareinsights.com", "cfwa"],
|
|
198
|
-
["cloudflareinsights.com", "cfwa-beacon"]
|
|
199
|
-
],
|
|
200
|
-
proxyPrefix,
|
|
201
|
-
{ privacy: PRIVACY_NONE }
|
|
202
|
-
),
|
|
203
|
-
rybbitAnalytics: fromDomains(
|
|
204
|
-
[["app.rybbit.io", "rybbit"]],
|
|
205
|
-
proxyPrefix,
|
|
206
|
-
{
|
|
207
|
-
privacy: PRIVACY_NONE,
|
|
208
|
-
autoInject: {
|
|
209
|
-
configField: "analyticsHost",
|
|
210
|
-
computeValue: (proxyPrefix2) => `${proxyPrefix2}/rybbit/api`
|
|
211
|
-
},
|
|
212
|
-
// Rybbit SDK derives API host via `e.split("/script.js")[0]` from the script tag's
|
|
213
|
-
// src attribute. When bundled, src becomes /_scripts/assets/<hash>.js so the split fails.
|
|
214
|
-
postProcess(output, rewrites) {
|
|
215
|
-
const rybbitRewrite = rewrites.find((r) => r.from === "app.rybbit.io");
|
|
216
|
-
if (rybbitRewrite) {
|
|
217
|
-
output = output.replace(
|
|
218
|
-
RYBBIT_HOST_SPLIT_RE,
|
|
219
|
-
`self.location.origin+"${rybbitRewrite.to}/api"`
|
|
220
|
-
);
|
|
221
|
-
}
|
|
222
|
-
return output;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
),
|
|
226
|
-
umamiAnalytics: fromDomains(
|
|
227
|
-
[["cloud.umami.is", "umami"]],
|
|
228
|
-
proxyPrefix,
|
|
229
|
-
{
|
|
230
|
-
privacy: PRIVACY_NONE,
|
|
231
|
-
extraRewrites: [
|
|
232
|
-
{ from: "api-gateway.umami.dev", to: "umami" }
|
|
233
|
-
],
|
|
234
|
-
autoInject: {
|
|
235
|
-
configField: "hostUrl",
|
|
236
|
-
computeValue: (proxyPrefix2) => `${proxyPrefix2}/umami`
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
),
|
|
240
|
-
databuddyAnalytics: fromDomains(
|
|
241
|
-
[
|
|
242
|
-
["cdn.databuddy.cc", "databuddy"],
|
|
243
|
-
["basket.databuddy.cc", "databuddy-api"]
|
|
244
|
-
],
|
|
245
|
-
proxyPrefix,
|
|
246
|
-
{
|
|
247
|
-
privacy: PRIVACY_NONE,
|
|
248
|
-
autoInject: {
|
|
249
|
-
configField: "apiUrl",
|
|
250
|
-
computeValue: (proxyPrefix2) => `${proxyPrefix2}/databuddy-api`
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
),
|
|
254
|
-
fathomAnalytics: fromDomains(
|
|
255
|
-
[["cdn.usefathom.com", "fathom"]],
|
|
256
|
-
proxyPrefix,
|
|
257
|
-
{
|
|
258
|
-
privacy: PRIVACY_NONE,
|
|
259
|
-
// Fathom SDK checks if script src contains "cdn.usefathom.com" to detect self-hosted
|
|
260
|
-
// mode, then overrides trackerUrl with the script host's root. After AST rewrite already
|
|
261
|
-
// set trackerUrl to the proxy URL, neutralize this check so it doesn't override it.
|
|
262
|
-
postProcess(output) {
|
|
263
|
-
return output.replace(
|
|
264
|
-
FATHOM_SELF_HOSTED_RE,
|
|
265
|
-
'.src.indexOf("cdn.usefathom.com")<-1'
|
|
266
|
-
);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
),
|
|
270
|
-
intercom: fromDomains(
|
|
271
|
-
[
|
|
272
|
-
["widget.intercom.io", "intercom"],
|
|
273
|
-
["api-iam.intercom.io", "intercom-api"],
|
|
274
|
-
["api-iam.eu.intercom.io", "intercom-api-eu"],
|
|
275
|
-
["api-iam.au.intercom.io", "intercom-api-au"],
|
|
276
|
-
["js.intercomcdn.com", "intercom-cdn"],
|
|
277
|
-
["downloads.intercomcdn.com", "intercom-downloads"],
|
|
278
|
-
["video-messages.intercomcdn.com", "intercom-video"]
|
|
279
|
-
],
|
|
280
|
-
proxyPrefix,
|
|
281
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
282
|
-
),
|
|
283
|
-
crisp: fromDomains(
|
|
284
|
-
[
|
|
285
|
-
["client.crisp.chat", "crisp"],
|
|
286
|
-
["client.relay.crisp.chat", "crisp-relay"],
|
|
287
|
-
["assets.crisp.chat", "crisp-assets"],
|
|
288
|
-
["go.crisp.chat", "crisp-go"],
|
|
289
|
-
["image.crisp.chat", "crisp-image"]
|
|
290
|
-
],
|
|
291
|
-
proxyPrefix,
|
|
292
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
293
|
-
),
|
|
294
|
-
vercelAnalytics: fromDomains(
|
|
295
|
-
[["va.vercel-scripts.com", "vercel"]],
|
|
296
|
-
proxyPrefix,
|
|
297
|
-
{ privacy: PRIVACY_NONE }
|
|
298
|
-
),
|
|
299
|
-
gravatar: fromDomains(
|
|
300
|
-
[
|
|
301
|
-
["secure.gravatar.com", "gravatar"],
|
|
302
|
-
["gravatar.com/avatar", "gravatar-avatar"]
|
|
303
|
-
],
|
|
304
|
-
proxyPrefix,
|
|
305
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
306
|
-
),
|
|
307
|
-
carbonAds: fromDomains(
|
|
308
|
-
[["cdn.carbonads.com", "carbon"]],
|
|
309
|
-
proxyPrefix,
|
|
310
|
-
{ privacy: PRIVACY_NONE }
|
|
311
|
-
),
|
|
312
|
-
lemonSqueezy: fromDomains(
|
|
313
|
-
[["assets.lemonsqueezy.com", "lemonsqueezy"]],
|
|
314
|
-
proxyPrefix,
|
|
315
|
-
{ privacy: PRIVACY_NONE }
|
|
316
|
-
),
|
|
317
|
-
matomoAnalytics: fromDomains(
|
|
318
|
-
[["cdn.matomo.cloud", "matomo"]],
|
|
319
|
-
proxyPrefix,
|
|
320
|
-
{ privacy: PRIVACY_NONE }
|
|
321
|
-
),
|
|
322
|
-
stripe: fromDomains(
|
|
323
|
-
[["js.stripe.com", "stripe"]],
|
|
324
|
-
proxyPrefix,
|
|
325
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
326
|
-
),
|
|
327
|
-
paypal: fromDomains(
|
|
328
|
-
[["www.paypal.com", "paypal"]],
|
|
329
|
-
proxyPrefix,
|
|
330
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
331
|
-
),
|
|
332
|
-
youtubePlayer: fromDomains(
|
|
333
|
-
[["www.youtube.com", "youtube"]],
|
|
334
|
-
proxyPrefix,
|
|
335
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
336
|
-
),
|
|
337
|
-
vimeoPlayer: fromDomains(
|
|
338
|
-
[["player.vimeo.com", "vimeo"]],
|
|
339
|
-
proxyPrefix,
|
|
340
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
341
|
-
),
|
|
342
|
-
googleRecaptcha: {
|
|
343
|
-
privacy: PRIVACY_IP_ONLY,
|
|
344
|
-
rewrite: [
|
|
345
|
-
{ from: "www.gstatic.com", to: `${proxyPrefix}/gstatic` },
|
|
346
|
-
// www.google.com is shared with GA — only rewrite /recaptcha paths
|
|
347
|
-
{ from: "www.google.com/recaptcha", to: `${proxyPrefix}/grecaptcha` },
|
|
348
|
-
{ from: "www.recaptcha.net/recaptcha", to: `${proxyPrefix}/grecaptcha` }
|
|
349
|
-
],
|
|
350
|
-
routes: {
|
|
351
|
-
[`${proxyPrefix}/gstatic/**`]: { proxy: "https://www.gstatic.com/**" },
|
|
352
|
-
[`${proxyPrefix}/grecaptcha/**`]: { proxy: "https://www.google.com/recaptcha/**" }
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
googleSignIn: fromDomains(
|
|
356
|
-
[["accounts.google.com", "gsignin"]],
|
|
357
|
-
proxyPrefix,
|
|
358
|
-
{ privacy: PRIVACY_IP_ONLY }
|
|
359
|
-
)
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
function getAllProxyConfigs(proxyPrefix) {
|
|
363
|
-
return buildProxyConfig(proxyPrefix);
|
|
364
|
-
}
|
|
365
|
-
const PROXY_URL_RE = /^https?:\/\/([^/]+)(\/.*)?\/\*\*$/;
|
|
366
|
-
const ROUTE_WILDCARD_RE = /\/\*\*$/;
|
|
367
|
-
function routesToInterceptRules(routes) {
|
|
368
|
-
const rules = [];
|
|
369
|
-
for (const [localPath, { proxy }] of Object.entries(routes)) {
|
|
370
|
-
const match = proxy.match(PROXY_URL_RE);
|
|
371
|
-
if (match?.[1]) {
|
|
372
|
-
const domain = match[1];
|
|
373
|
-
const pathPrefix = match[2] || "";
|
|
374
|
-
const target = localPath.replace(ROUTE_WILDCARD_RE, "");
|
|
375
|
-
rules.push({ pattern: domain, pathPrefix, target });
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
return rules;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
export { getAllProxyConfigs as g, routesToInterceptRules as r };
|