@canonry/canonry 7.127.0 → 7.128.1
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/assets/assets/{AccessControls-2bimiIhw.js → AccessControls-QW1RtXqK.js} +2 -2
- package/assets/assets/{AgentSetupPage-BGAU8xzj.js → AgentSetupPage-BFXD__2X.js} +4 -4
- package/assets/assets/{AuditHistoryPanel-Br4LNvcM.js → AuditHistoryPanel-Cn9Tnnxo.js} +1 -1
- package/assets/assets/{BacklinksPage-BBh43gcY.js → BacklinksPage-Bv12EM38.js} +1 -1
- package/assets/assets/{ChartPrimitives-ChO_4pZz.js → ChartPrimitives-DIAAi1Eq.js} +1 -1
- package/assets/assets/{HistoryPage-okXPylcp.js → HistoryPage-Bfn3nVjo.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-BuVvdugZ.js +4 -0
- package/assets/assets/ProjectPage-er2nBpgg.js +15 -0
- package/assets/assets/{RunsPage-4u1VBVOW.js → RunsPage-wtzz8XIJ.js} +1 -1
- package/assets/assets/{ServerTrafficSection-Bl0HTTwh.js → ServerTrafficSection-oViiKz3j.js} +3 -3
- package/assets/assets/{SettingsPage-C05qxsby.js → SettingsPage-CVL6mVTM.js} +1 -1
- package/assets/assets/{ToneBadge-BE2H103M.js → ToneBadge-DSr49xyr.js} +1 -1
- package/assets/assets/{TrafficPage-Bd3ey_0C.js → TrafficPage-drK_F4xY.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-B6Gi-qBP.js → TrafficSourceDetailPage-BdvprrAg.js} +1 -1
- package/assets/assets/{account-context-y7mzU3Ko.js → account-context-CRwUczVQ.js} +1 -1
- package/assets/assets/{agent-trust-copy-CHQ9IAa3.js → agent-trust-copy-DduiTpc0.js} +1 -1
- package/assets/assets/{card-BmJz19vt.js → card-DtN_FyC4.js} +1 -1
- package/assets/assets/index-Bh4Hdh7M.js +43 -0
- package/assets/assets/{preload-helper-BLaGg0Jn.js → preload-helper-CqQPtzI4.js} +1 -1
- package/assets/assets/query-client-DTIKbVqE.js +1 -0
- package/assets/assets/react-query-Bt-PaSFW.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-DNPGgfTG.js → react-sigma_core.esm.min-DLmrzL1s.js} +1 -1
- package/assets/assets/{server-traffic-ALYWW6k0.js → server-traffic-BApvbZVl.js} +1 -1
- package/assets/assets/service--wSlHsiA.js +1 -0
- package/assets/index.html +9 -9
- package/dist/activity-IDVGFHBZ.js +13 -0
- package/dist/{ads-PB3VFUPV.js → ads-MMIVXXYK.js} +4 -4
- package/dist/{agent-VOL7SOEQ.js → agent-3N6J7AP5.js} +8 -8
- package/dist/{agent-ask-F46ERE3W.js → agent-ask-V5NBRKWB.js} +4 -4
- package/dist/{agent-conversations-T5Q43627.js → agent-conversations-6ZKNOOGK.js} +4 -4
- package/dist/{agent-journeys-GVEVJ5J2.js → agent-journeys-R3TB7RS6.js} +4 -4
- package/dist/{agent-memory-XXN7QXNM.js → agent-memory-VKNEXDCF.js} +4 -4
- package/dist/{agent-providers-U6XIM5JI.js → agent-providers-HV3LM656.js} +4 -4
- package/dist/{agent-transcript-ONEA6JBO.js → agent-transcript-5B7ZSNQO.js} +4 -4
- package/dist/{analytics-XWVTM57N.js → analytics-NRYYKO3D.js} +4 -4
- package/dist/{answerability-GNYSELX5.js → answerability-BMPIAEV4.js} +4 -4
- package/dist/{apply-WXW4KWUK.js → apply-52VDVYIV.js} +4 -4
- package/dist/{backfill-SWDR5M4O.js → backfill-QIXONSLO.js} +11 -11
- package/dist/{backlinks-5LIBLUEG.js → backlinks-B4IMH5VN.js} +4 -4
- package/dist/{bing-4U4ODKGV.js → bing-G56ZWW4V.js} +4 -4
- package/dist/{bootstrap-FY72AHVW.js → bootstrap-74GDJENX.js} +11 -11
- package/dist/{cdp-H5WMBYIF.js → cdp-LVPKD5WH.js} +8 -8
- package/dist/{chunk-XONND7NT.js → chunk-2GA43I45.js} +3 -3
- package/dist/{chunk-GTX7C5Y5.js → chunk-2JW5OBUF.js} +53 -25
- package/dist/{chunk-M4IAXLBT.js → chunk-34CPCOQI.js} +3 -3
- package/dist/{chunk-RDCEFEXP.js → chunk-3TCXYRME.js} +3 -3
- package/dist/{chunk-2VDYFOKB.js → chunk-4MEWPJ7A.js} +8 -8
- package/dist/{chunk-2IU7GJCX.js → chunk-4PFBSPFE.js} +4 -4
- package/dist/{chunk-BAO3PHQP.js → chunk-5JQHOPNE.js} +2 -2
- package/dist/{chunk-HS2HYFPX.js → chunk-5LBYOWQZ.js} +4 -4
- package/dist/{chunk-NEJEHRPT.js → chunk-6RE7O724.js} +2 -2
- package/dist/{chunk-5WDU7ZML.js → chunk-7G6PCF4H.js} +6 -6
- package/dist/{chunk-2PLJ4QG5.js → chunk-A4NXXWFC.js} +4 -4
- package/dist/{chunk-K3YHPTKL.js → chunk-AT2LRVEB.js} +2 -2
- package/dist/{chunk-IIL4NKRU.js → chunk-AVLWYL4G.js} +4 -4
- package/dist/{chunk-PWXLKW2F.js → chunk-BHWR4PBF.js} +3 -3
- package/dist/{chunk-X6DD3OIR.js → chunk-DOXBK2KF.js} +23 -3
- package/dist/{chunk-GRX2DION.js → chunk-EOZLVWOC.js} +4 -4
- package/dist/{chunk-GKQ4CYUM.js → chunk-ETTKN2R4.js} +52 -36
- package/dist/{chunk-FMS7CIEK.js → chunk-F56XOHE2.js} +4 -4
- package/dist/{chunk-G2NIO2J3.js → chunk-FQFL223H.js} +2 -2
- package/dist/{chunk-DY2Q3VIM.js → chunk-G7HRY36G.js} +2 -2
- package/dist/{chunk-PUEARV37.js → chunk-HOR6MC5A.js} +372 -372
- package/dist/{chunk-HQEH4YRO.js → chunk-I4ITDPK7.js} +1 -1
- package/dist/{chunk-GCBFSIKI.js → chunk-KIJCFPN4.js} +1 -1
- package/dist/{chunk-3GE4Z4J3.js → chunk-KZKPWHJA.js} +5 -5
- package/dist/{chunk-2T4OGJWP.js → chunk-O6RKXY2P.js} +1 -1
- package/dist/{chunk-QWD3ABAW.js → chunk-PGKT42YN.js} +1 -1
- package/dist/{chunk-LWRPSAVC.js → chunk-PM23BRHO.js} +1 -1
- package/dist/{chunk-RMLGMB5B.js → chunk-RG5E54VU.js} +1 -1
- package/dist/{chunk-JRWHQVA6.js → chunk-STNPEES2.js} +380 -127
- package/dist/{chunk-A36PZKKS.js → chunk-SXLHTMXA.js} +2 -2
- package/dist/{chunk-ZKIEOEUZ.js → chunk-UXCNYSAB.js} +2 -2
- package/dist/{chunk-GPPTW3HU.js → chunk-V42NDP4R.js} +4 -4
- package/dist/{chunk-QXRI6DRE.js → chunk-WCWWHK7P.js} +2331 -1983
- package/dist/{chunk-OKIAF573.js → chunk-XMPXMQ5X.js} +1 -1
- package/dist/{chunk-FIF4N7DP.js → chunk-XTIOFTFS.js} +1 -1
- package/dist/{chunk-3ZNDJ4OM.js → chunk-YDVXZWWF.js} +5 -5
- package/dist/{chunk-425BZPKK.js → chunk-YW4K74WM.js} +4 -4
- package/dist/{chunk-RPAWPX7B.js → chunk-ZXX7DMBJ.js} +1 -1
- package/dist/{citations-622BWQTR.js → citations-CF7AU3KY.js} +5 -5
- package/dist/{cli-catalog-ACK3FVAX.js → cli-catalog-U6WE3BU7.js} +4 -4
- package/dist/cli-commands-DFFJYIZF.js +18 -0
- package/dist/cli.js +14 -14
- package/dist/{competitor-QYZIWXGC.js → competitor-Q7L6HJ5O.js} +4 -4
- package/dist/{content-PJASAMIV.js → content-5KLBWKCB.js} +4 -4
- package/dist/{dashboard-FQOS3J4B.js → dashboard-KQ3INTH3.js} +7 -7
- package/dist/{demo-ZGGVSKN4.js → demo-5YEH32AM.js} +3 -3
- package/dist/{demo-server-TLXLEPOI.js → demo-server-25MUI3QS.js} +13 -13
- package/dist/{discover-ZLDSXDRI.js → discover-ENDRNDS6.js} +5 -5
- package/dist/{discover-eval-7F5Q3RXS.js → discover-eval-7LJXSHUM.js} +4 -4
- package/dist/{doctor-3KSQZDZ3.js → doctor-3N7TEK5G.js} +4 -4
- package/dist/{evidence-BJZIRJ4U.js → evidence-MAIUNVWP.js} +4 -4
- package/dist/{export-cmd-BYPGV4IU.js → export-cmd-6FJNHZVJ.js} +4 -4
- package/dist/{ga-A3BAZCYH.js → ga-HWFGPMTN.js} +4 -4
- package/dist/{gbp-U6VCRAFN.js → gbp-KIPU2NE6.js} +4 -4
- package/dist/{google-UNQZBUGS.js → google-PKYUSFRS.js} +5 -5
- package/dist/{google-marketing-QSIRQAVH.js → google-marketing-NHQ6VSOK.js} +2 -2
- package/dist/{health-cmd-Z5KTTJQU.js → health-cmd-OGYIMIFA.js} +5 -5
- package/dist/{history-IIGUZMOM.js → history-5NJOUK2A.js} +4 -4
- package/dist/index.d.ts +76 -76
- package/dist/index.js +26 -26
- package/dist/{init-HZANRCMW.js → init-3JXUT7VJ.js} +13 -13
- package/dist/{insights-UQ234W6T.js → insights-CWTPGOPF.js} +4 -4
- package/dist/intelligence-service-7DFVBFXY.js +15 -0
- package/dist/{journeys-2EZIRL7K.js → journeys-VP7LL2DS.js} +4 -4
- package/dist/{keys-NIAANGXE.js → keys-VBZG6BWU.js} +4 -4
- package/dist/{keyword-LHHNG3GL.js → keyword-M7Y4V5MJ.js} +4 -4
- package/dist/{logs-UFOOIKTC.js → logs-NTFQR3S6.js} +4 -4
- package/dist/{mcp-AZYUFL5V.js → mcp-DUN57Q6H.js} +5 -5
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-H2HIHJ3D.js → measurement-plan-SGJ7EDVC.js} +6 -6
- package/dist/{notify-TIE2ZJ26.js → notify-4NOHQ6G4.js} +4 -4
- package/dist/{organic-evidence-BX5MGZTK.js → organic-evidence-5NWLGCGE.js} +4 -4
- package/dist/{overview-MGQE43GU.js → overview-EQ3BTXHC.js} +7 -7
- package/dist/{project-2JL4ZW52.js → project-J43SI3ZT.js} +4 -4
- package/dist/{project-setup-CXOVBRLZ.js → project-setup-5WA4RAN3.js} +4 -4
- package/dist/{query-Q5BF63QF.js → query-NMWKGTJ3.js} +4 -4
- package/dist/{research-RQBZ57W5.js → research-UU2JB4JH.js} +4 -4
- package/dist/{results-export-TVCBJNJN.js → results-export-RQMNBKXT.js} +4 -4
- package/dist/{run-L6WG5WP2.js → run-JTIH3ET5.js} +6 -6
- package/dist/{schedule-3HQMG3AM.js → schedule-YVKS4ILU.js} +4 -4
- package/dist/{search-ZLQE4J66.js → search-XCX3SAOT.js} +4 -4
- package/dist/{serve-E4N2XMIC.js → serve-GOZOQL67.js} +42 -31
- package/dist/{session-IJLUYO4T.js → session-H6N6B6RR.js} +14 -14
- package/dist/{settings-T3U7TQOF.js → settings-2GDLWIBA.js} +4 -4
- package/dist/{sitemaps-UZPLGN4W.js → sitemaps-22O75HMK.js} +4 -4
- package/dist/{skills-P4WSSFPF.js → skills-NSUS2XV2.js} +3 -3
- package/dist/{snapshot-ROJPISJE.js → snapshot-UCITZQFF.js} +4 -4
- package/dist/{src-ZYWTGILQ.js → src-OAVTTKVK.js} +2 -2
- package/dist/{status-43XNR3NS.js → status-KJZSA6KP.js} +6 -6
- package/dist/{support-I7E4I3GG.js → support-PWLEDLQT.js} +2 -2
- package/dist/{technical-aeo-D4F2R6M3.js → technical-aeo-P3R7RR52.js} +4 -4
- package/dist/{telemetry-5DMVDDZI.js → telemetry-LA72RJFS.js} +5 -5
- package/dist/{tools-M534GJMS.js → tools-Q6ITEQ4V.js} +12 -12
- package/dist/{traffic-R2UA27AZ.js → traffic-CRLJJFKS.js} +6 -6
- package/dist/{trends-BXOZIWIE.js → trends-A7ST3WIY.js} +4 -4
- package/dist/{users-X6WJV7VJ.js → users-4H7IS7WC.js} +4 -4
- package/dist/{visibility-stats-MCNUXUCL.js → visibility-stats-F2RUTMYR.js} +5 -5
- package/dist/{wordpress-AMGUJUZX.js → wordpress-EVNS3SAF.js} +4 -4
- package/package.json +1 -1
- package/assets/assets/MeasurementPropertyPage-C2otbn5d.js +0 -4
- package/assets/assets/ProjectPage-DGrfKxfG.js +0 -15
- package/assets/assets/index-s7MwkxGB.js +0 -43
- package/assets/assets/query-client-DmQlVZMA.js +0 -1
- package/assets/assets/react-query-BnTbVX2a.js +0 -1
- package/assets/assets/service-BKTlKu2x.js +0 -1
- package/dist/activity-2KFFWLYN.js +0 -13
- package/dist/cli-commands-UH3DRBPC.js +0 -18
- package/dist/intelligence-service-S3GTOTGQ.js +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{lt as t,n}from"./vendor-lucide-C3F7vHjd.js";import{a as r,i,n as a,o,r as s,s as c,t as l}from"./vendor-radix-CXYx3LLU.js";import{r as u}from"./vendor-markdown-DMxglFrF.js";import{a as d}from"./ToneBadge-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{lt as t,n}from"./vendor-lucide-C3F7vHjd.js";import{a as r,i,n as a,o,r as s,s as c,t as l}from"./vendor-radix-CXYx3LLU.js";import{r as u}from"./vendor-markdown-DMxglFrF.js";import{a as d}from"./ToneBadge-DSr49xyr.js";function f(e){return e!==``&&/^[\w./:@%+=,-]+$/.test(e)?e:`'${e.replace(/'/g,`'\\''`)}'`}var p=e(t(),1),m=u(),h=l,g=o,_=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(r,{ref:n,className:d(`fixed inset-0 z-50 bg-overlay-scrim/70 backdrop-blur-sm`,e),...t}));_.displayName=r.displayName;var v=400,y=1200,b=720,x=p.forwardRef(({className:e,children:t,...r},i)=>{let[o,c]=p.useState(b),l=p.useRef(!1),u=p.useRef(0),f=p.useRef(0),h=p.useCallback(e=>{l.current=!0,u.current=e.clientX,f.current=o,e.target.setPointerCapture(e.pointerId),e.preventDefault()},[o]),x=p.useCallback(e=>{if(!l.current)return;let t=u.current-e.clientX,n=Math.min(y,Math.max(v,f.current+t));c(n)},[]),S=p.useCallback(()=>{l.current=!1},[]);return(0,m.jsxs)(g,{children:[(0,m.jsx)(_,{}),(0,m.jsxs)(s,{ref:i,className:d(`material-modal fixed z-50 flex flex-col px-5 py-4 overflow-hidden`,`max-md:inset-x-0 max-md:bottom-0 max-md:top-auto max-md:max-h-[88vh] max-md:rounded-b-none`,`md:inset-y-0 md:right-0 md:h-full md:rounded-none`,e),style:{width:`min(${o}px, 100vw)`},...r,children:[(0,m.jsx)(`div`,{className:`absolute inset-y-0 left-0 w-1.5 cursor-col-resize hover:bg-mono-700/50 active:bg-mono-600/50 transition-colors max-md:hidden`,onPointerDown:h,onPointerMove:x,onPointerUp:S}),t,(0,m.jsxs)(a,{className:`absolute right-4 top-4 inline-flex size-8 items-center justify-center rounded-md text-muted transition hover:bg-bg-elevated hover:text-heading focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mono-400`,children:[(0,m.jsx)(n,{className:`size-4`}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})});x.displayName=s.displayName;var S=({className:e,...t})=>(0,m.jsx)(`div`,{className:d(`flex flex-col gap-1.5 pr-10`,e),...t}),C=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(c,{ref:n,className:d(`text-heading-20 text-primary`,e),...t}));C.displayName=c.displayName;var w=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(i,{ref:n,className:d(`text-copy-14 text-secondary`,e),...t}));w.displayName=i.displayName;var T=`a, button, input, select, textarea, label, summary, details, [role="button"], [role="link"], [role="checkbox"], [role="menuitem"]`;function E(e){if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return!1;let t=e.target;if(t&&typeof t.closest==`function`){let n=t.closest(T),r=e.currentTarget;if(n&&(typeof r?.contains!=`function`||r.contains(n)))return!1}let n=typeof window<`u`?window.getSelection():null;return!(n&&!n.isCollapsed&&n.toString().trim()!==``)}var D=`modulepreload`,O=function(e,t){return new URL(e,t).href},k={},A=function(e){return e.pathname.endsWith(`.css`)},j=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},M=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=O(t,n);let r=s(t),i=A(r);return j(k,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:D,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};export{w as a,f as c,x as i,E as n,S as o,h as r,C as s,M as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{C as e,w as t}from"./vendor-tanstack-ZnWhYpCU.js";import{xt as n}from"./ToneBadge-DSr49xyr.js";var r=6e3,i=5,a=180,o=[],s=0,c=new Set,l=new Map,u=new Map;function d(){let e=[...o];for(let t of c)t(e)}function f(e){let t=l.get(e);t&&(clearTimeout(t),l.delete(e));let n=u.get(e);n&&(clearTimeout(n),u.delete(e))}function p(e){f(e);let t=o.length;o=o.filter(t=>t.id!==e),o.length!==t&&d()}function m(e){f(e.id),l.set(e.id,setTimeout(()=>{_(e.id)},e.durationMs))}function h(e,t,n){return typeof e==`string`?{title:e,tone:t,durationMs:n}:e}function g(e,t=`negative`,n=r){let a=h(e,t,n),c={id:String(++s),title:a.title,detail:a.detail,tone:a.tone??t,durationMs:a.durationMs??n,dedupeKey:a.dedupeKey,cta:a.cta,state:`open`};if(a.dedupeKey){let e=o.find(e=>e.dedupeKey===a.dedupeKey);if(e){if((a.dedupeMode??`drop`)===`drop`)return e.id;let t={...e,title:c.title,detail:c.detail,tone:c.tone,durationMs:c.durationMs,cta:c.cta,state:`open`};return o=o.map(n=>n.id===e.id?t:n),d(),m(t),e.id}}return o.length>=i&&p(o[0].id),o=[...o,c],d(),m(c),c.id}function _(e){let t=o.find(t=>t.id===e);t&&t.state!==`closing`&&(f(e),o=o.map(t=>t.id===e?{...t,state:`closing`}:t),d(),u.set(e,setTimeout(()=>{p(e)},a)))}function v(e){return c.add(e),()=>{c.delete(e)}}function y(){return o}var b={project:`getApiV1ProjectsByName`,google:`getApiV1ProjectsByNameGoogle`,gsc:`getApiV1ProjectsByNameGoogleGsc`,bing:`getApiV1ProjectsByNameBing`,ga:`getApiV1ProjectsByNameGa`,gbp:`getApiV1ProjectsByNameGbp`,ads:`getApiV1ProjectsByNameAds`,googleAds:`getApiV1ProjectsByNameGoogleAds`,gtm:`getApiV1ProjectsByNameGtm`,conversionTracking:`getApiV1ProjectsByNameConversionTracking`,traffic:`getApiV1ProjectsByNameTraffic`,discovery:`getApiV1ProjectsByNameDiscover`,researchRuns:`getApiV1ProjectsByNameResearchRuns`,visibilityReport:`getApiV1ProjectsByNameVisibilityReport`,queryTracking:`getApiV1ProjectsByNameQueryTracking`,technicalAeo:`getApiV1ProjectsByNameAgentReadiness`,seo:`getApiV1ProjectsByNameSeo`,trends:`getApiV1ProjectsByNameTrends`,sitemaps:`getApiV1ProjectsByNameSitemaps`,runs:`getApiV1ProjectsByNameRuns`,runAdmission:`getApiV1ProjectsByNameRunAdmission`,runPreview:`getApiV1ProjectsByNameRunPreview`};function x(e,t,n){let r=b[t];return e.invalidateQueries({predicate:e=>{let i=e.queryKey[0];return typeof i?._id==`string`&&(t===`project`?i._id===r:i._id.startsWith(r))&&(!n||i?.path?.name===n.projectName&&(n.profileId===void 0||i.query?.profileId===n.profileId))}})}function S(e,t){return e.invalidateQueries({predicate:e=>{let n=e.queryKey[0];return n?.path?.name!==t||typeof n._id!=`string`?!1:n._id.startsWith(`getApiV1ProjectsByNameMeasurement`)||n._id===b.queryTracking||n._id===b.visibilityReport||n._id===`getApiV1ProjectsByNameQueries`||n._id===`getApiV1ProjectsByName`}})}function C(e){return e!==void 0&&e.startsWith(`getApiV1ProjectsByNameAgent`)&&!e.startsWith(b.technicalAeo)}var w=new Set([`getApiV1Projects`,`getApiV1Runs`,`getApiV1History`,`getApiV1NotificationsEvents`]);function T(e,t,n){if(![`POST`,`PUT`,`PATCH`,`DELETE`].includes(t.method))return;let r=new URL(t.url).pathname.match(/\/api\/v1\/(.*)$/)?.[1];if(!r||/^(?:telemetry|feedback|auth|session)(?:\/|$)/.test(r))return;let i=r.match(/^projects\/([^/]+)(?:\/(.*))?$/),a=i?i[2]??``:r;if(t.method===`POST`&&a===`seo/refresh-intents`||t.method===`POST`&&/(?:^|\/)(?:[^/]*-preview|preview(?:-[^/]+)?|test|generate)$/.test(a))return;let o=n&&typeof n==`object`?n:null;if(o?.dryRun===!0||r.endsWith(`/results/clear`)&&o?.confirm!==!0)return;let s=i?decodeURIComponent(i[1]):null,c=i?.[2]?.startsWith(`agent/`)??!1,l=new Set(s?[s]:[]),u=new Set;if(s)for(let t of e.getQueryCache().getAll()){let e=t.queryKey[0],n=t.state.data,r=e?._id===`getApiV1Projects`&&Array.isArray(n)?n:n&&typeof n==`object`&&`project`in n?[n.project]:e?._id===`getApiV1ProjectsByName`?[n]:[];for(let e of r)e&&(e.name===s||e.id===s)&&(l.add(e.name),l.add(e.id),u.add(e.id))}let d=e=>{let t=e.queryKey[0];if(c)return t?.path?.name===s&&C(t._id)||e.queryKey[0]===`aero-preview`&&e.queryKey[1]===s;if(t?._id?.startsWith(`getApiV1ProjectsByName`)&&t.path?.name&&l.has(t.path.name))return!0;let n=e.queryKey[0];if([`projects`,`project-dashboard-full`,`project-overview-slim`].includes(n))return u.has(e.queryKey[1]);if([`sentiment`,`gbp-section-insights`,`analytics-metrics`,`aero-preview`].includes(n))return n===`analytics-metrics`&&i?.[2]?.startsWith(`competitors`)?!1:l.has(e.queryKey[1]);if(n===`setup`)return l.has(e.queryKey[2]);let r=e.state.data;return t?._id===`getApiV1RunsById`&&!!r?.projectId&&u.has(r.projectId)},f=e=>w.has(e.queryKey[0]?._id??``),p=t.method===`POST`&&/^(?:runs|(?:agent-readiness|technical-aeo)\/runs|discover\/run|backlinks\/extract|seo\/sync|google\/gsc\/(?:sync|inspect-sitemap)|bing\/inspect-sitemap|(?:gbp|ads|google-ads|gtm)\/sync)$/.test(a),m=e=>{let t=e.queryKey[0];return f(e)||[`getApiV1ProjectsByName`,`getApiV1ProjectsByNameOverview`,`getApiV1ProjectsByNameRuns`,`getApiV1ProjectsByNameRunPreview`,`getApiV1ProjectsByNameAgentReadinessRuns`,`getApiV1ProjectsByNameTimeline`].includes(t?._id??``)||[`getApiV1ProjectsByNameSeoOverview`,`getApiV1ProjectsByNameSeoRuns`,`getApiV1ProjectsByNameSeoStatus`].includes(t?._id??``)||e.queryKey[0]===`project-dashboard-full`&&e.queryKey[3]===`overview`},h=s?e=>d(e)&&(!p||m(e))||!c&&f(e):e=>!p||m(e);e.cancelQueries({predicate:h,type:`active`}),i&&!i[2]&&t.method===`DELETE`?(e.removeQueries({predicate:d}),e.setQueriesData({predicate:e=>e.queryKey[0]?._id===`getApiV1Projects`},e=>e?.filter(e=>!l.has(e.name)&&!l.has(e.id))),e.setQueriesData({predicate:e=>e.queryKey[0]?._id===`getApiV1Runs`},e=>e?.filter(e=>!u.has(e.projectId))),e.invalidateQueries({predicate:f})):e.invalidateQueries({predicate:h})}var E=3e5,D=18e5,O=3e4,k=6e4,A=3e4,j=2e3,M=3e4,N;function P(){let r=new e({defaultOptions:{queries:{staleTime:E,retry:1,refetchOnWindowFocus:!1}},mutationCache:new t({onError:(e,t,n,r)=>{r.meta?.skipGlobalErrorToast||g({title:e instanceof Error?e.message:`An unexpected error occurred`,tone:`negative`})}})});N?.();let i=new WeakSet,a=n.interceptors.request.use(e=>(i.add(e),e)),o=n.interceptors.response.use((e,t,n)=>(e.ok&&i.has(t)&&T(r,t,n.body),e));return N=()=>{n.interceptors.request.eject(a),n.interceptors.response.eject(o)},r}export{A as a,P as c,g as d,_ as f,j as i,x as l,v as m,k as n,D as o,y as p,M as r,O as s,E as t,S as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e,y as t}from"./vendor-tanstack-ZnWhYpCU.js";import{$a as n,$i as r,$r as i,Ai as a,Ar as o,Bi as ee,Br as te,Ca as ne,Ci as re,Cr as ie,Di as ae,Dr as oe,Ei as se,Er as ce,Fa as le,Fi as ue,Fr as de,Gi as fe,Gr as pe,Hi as me,Hr as he,Ii as s,Ir as c,Ji as l,Jr as u,Ki as d,Kr as f,Li as p,Lr as m,Mi as h,Mr as g,Ni as _,Nr as v,Oi as y,Or as b,Pi as x,Pr as S,Qa as C,Qi as w,Qr as T,Ri as E,Rr as D,Sa as O,Si as k,Sr as A,Ti as j,Tr as M,Ui as N,Ur as P,Vi as F,Vr as I,Wi as L,Wr as R,Xa as ge,Xi as _e,Xr as ve,Ya as ye,Yi as be,Yr as xe,Za as Se,Zi as Ce,Zr as we,_a as Te,_i as Ee,_r as De,aa as Oe,ai as ke,ao as Ae,ar as je,ba as Me,bi as Ne,br as Pe,ca as Fe,ci as Ie,co as Le,cr as Re,da as ze,di as Be,dr as Ve,ea as He,ei as Ue,eo as We,fa as Ge,fi as Ke,fr as qe,ga as Je,gi as Ye,gr as Xe,ha as Ze,hi as Qe,hr as z,ia as $e,ii as et,io as tt,ir as nt,ji as rt,jr as it,ki as at,kr as ot,la as st,li as ct,lo as lt,lr as ut,ma as dt,mi as ft,mr as pt,na as mt,ni as ht,oa as gt,oi as _t,oo as vt,or as yt,pa as bt,pi as xt,pr as St,qi as Ct,qr as wt,ra as Tt,ri as Et,ro as Dt,rr as Ot,sa as kt,si as At,so as jt,sr as Mt,ta as Nt,ti as Pt,to as Ft,ua as It,ui as Lt,ur as Rt,va as zt,vi as Bt,vr as Vt,wa as Ht,wi as Ut,wr as Wt,xa as Gt,xi as Kt,xr as qt,ya as Jt,yi as Yt,yr as Xt,zi as Zt,zr as Qt}from"./ToneBadge-DSr49xyr.js";var B=(e,t,n,r)=>{let i={_id:e,baseUrl:t?.baseUrl||(t?.client??lt).getConfig().baseUrl};return n&&(i._infinite=n),r&&(i.tags=r),t?.body&&(i.body=t.body),t?.headers&&(i.headers=t.headers),t?.path&&(i.path=t.path),t?.query&&(i.query=t.query),[i]},$t=e=>B(`getApiV1ProjectsByNameSeoContext`,e),en=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await L({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:$t(t)}),tn=e=>B(`getApiV1ProjectsByNameSeoProfiles`,e),nn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ce({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:tn(t)}),rn=e=>({mutationFn:async t=>{let{data:n}=await jt({...e,...t,throwOnError:!0});return n}}),an=e=>B(`getApiV1ProjectsByNameSeoRuns`,e),on=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:i}=await r({...t,...e[0],signal:n,throwOnError:!0});return i},queryKey:an(t)}),sn=e=>B(`getApiV1ProjectsByNameSeoRunsById`,e),cn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await He({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:sn(t)}),ln=e=>B(`getApiV1ProjectsByNameSeoOverview`,e),un=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await _e({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ln(t)}),V=(e,t)=>{let n={...e[0]};return t.body&&(n.body={...e[0].body,...t.body}),t.headers&&(n.headers={...e[0].headers,...t.headers}),t.path&&(n.path={...e[0].path,...t.path}),t.query&&(n.query={...e[0].query,...t.query}),n},dn=e=>B(`getApiV1ProjectsByNameSeoTrends`,e),fn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Nt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:dn(t)}),pn=e=>B(`getApiV1ProjectsByNameSeoKeywordMetrics`,e),mn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ct({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:pn(t)}),hn=e=>B(`getApiV1ProjectsByNameSeoDomainIntelligence`,e),gn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await fe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:hn(t)}),_n=e=>B(`getApiV1ProjectsByNameSeoRankedKeywords`,e),vn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await w({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:_n(t)}),yn=e=>B(`getApiV1ProjectsByNameSeoCompetitors`,e),bn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await N({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:yn(t)}),xn=e=>B(`getApiV1ProjectsByNameSeoKeywordGaps`,e),Sn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await d({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:xn(t)}),Cn=e=>B(`getApiV1ProjectsByNameSeoMarketRankings`,e),wn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await l({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Cn(t)}),Tn=e=>B(`getApiV1ProjectsByNameSeoMarketRankingsSummary`,e),En=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await be({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Tn(t)}),Dn=e=>({mutationFn:async t=>{let{data:n}=await C({...e,...t,throwOnError:!0});return n}}),On=e=>({mutationFn:async t=>{let{data:n}=await We({...e,...t,throwOnError:!0});return n}}),kn=e=>({mutationFn:async t=>{let{data:r}=await n({...e,...t,throwOnError:!0});return r}}),H=e=>B(`getApiV1Projects`,e),An=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Rt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:H(t)}),U=e=>B(`getApiV1ProjectsByName`,e),jn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ve({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:U(t)}),Mn=e=>B(`getApiV1ProjectsByNameMeasurementPlan`,e),Nn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await se({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Mn(t)}),Pn=e=>B(`getApiV1ProjectsByNameMeasurementReport`,e),Fn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await h({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Pn(t)}),In=e=>B(`getApiV1ProjectsByNameMeasurementSetup`,e),Ln=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await _({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:In(t)}),Rn=e=>B(`getApiV1ProjectsByNameMeasurementPlanDraft`,e),zn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ae({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Rn(t)}),Bn=e=>({mutationFn:async t=>{let{data:n}=await le({...e,...t,throwOnError:!0});return n}}),Vn=e=>B(`getApiV1ProjectsByNameMeasurementOverview`,e),Hn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await j({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Vn(t)}),Un=e=>B(`getApiV1ProjectsByNameMeasurementOverview`,e,!0),Wn=e=>t({queryFn:async({pageParam:t,queryKey:n,signal:r})=>{let i=V(n,typeof t==`object`?t:{query:{cursor:t}}),{data:a}=await j({...e,...i,signal:r,throwOnError:!0});return a},queryKey:Un(e)}),Gn=e=>B(`getApiV1ProjectsByNameVisibilityReport`,e),Kn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ge({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Gn(t)}),qn=e=>B(`getApiV1ProjectsByNameMeasurementPropertyEvidence`,e,!0),Jn=e=>t({queryFn:async({pageParam:t,queryKey:n,signal:r})=>{let i=V(n,typeof t==`object`?t:{query:{cursor:t}}),{data:a}=await at({...e,...i,signal:r,throwOnError:!0});return a},queryKey:qn(e)}),Yn=e=>B(`getApiV1ProjectsByNameMeasurementQuestionResult`,e),Xn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await rt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Yn(t)}),Zn=e=>B(`getApiV1ProjectsByNameMeasurementPropertyCompetitors`,e),Qn=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await y({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Zn(t)}),W=e=>B(`getApiV1ProjectsByNameMeasurementQueryTemplates`,e),$n=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await a({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:W(t)}),er=e=>({mutationFn:async t=>{let{data:n}=await vt({...e,...t,throwOnError:!0});return n}}),tr=e=>B(`getApiV1ProjectsByNameResearchRuns`,e,!0),nr=e=>t({queryFn:async({pageParam:t,queryKey:n,signal:r})=>{let i=V(n,typeof t==`object`?t:{query:{cursor:t}}),{data:a}=await s({...e,...i,signal:r,throwOnError:!0});return a},queryKey:tr(e)}),rr=e=>({mutationFn:async t=>{let{data:n}=await Se({...e,...t,throwOnError:!0});return n}}),G=e=>B(`getApiV1ProjectsByNameQueryTracking`,e),ir=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ue({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:G(t)}),ar=e=>({mutationFn:async t=>{let{data:n}=await ge({...e,...t,throwOnError:!0});return n}}),or=e=>({mutationFn:async t=>{let{data:n}=await ye({...e,...t,throwOnError:!0});return n}}),sr=e=>B(`getApiV1ProjectsByNameResearchRunsByRunId`,e),cr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await p({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:sr(t)}),K=e=>B(`getApiV1ProjectsByNameQueries`,e),lr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await x({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:K(t)}),ur=e=>B(`getApiV1ProjectsByNameAnalyticsCompetitors`,e),dr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await M({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ur(t)}),fr=e=>B(`getApiV1ProjectsByNameRuns`,e),pr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ee({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:fr(t)}),mr=e=>B(`getApiV1ProjectsByNameRunPreview`,e),hr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Zt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:mr(t)}),q=e=>B(`getApiV1ProjectsByNameSetup`,e),gr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await mt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:q(t)}),_r=e=>B(`getApiV1ProjectsByNameRunAdmission`,e),vr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await E({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:_r(t)}),J=e=>B(`getApiV1Runs`,e),yr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await bt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:J(t)}),br=e=>B(`getApiV1RunsAttention`,e),xr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await dt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:br(t)}),Y=e=>B(`getApiV1RunsById`,e),Sr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ze({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Y(t)}),Cr=e=>({mutationFn:async t=>{let{data:n}=await Ft({...e,...t,throwOnError:!0});return n}}),wr=e=>B(`getApiV1ProjectsByNameHistory`,e),Tr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Kt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:wr(t)}),Er=e=>B(`getApiV1History`,e),Dr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ut({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Er(t)}),Or=e=>B(`getApiV1ProjectsByNameSnapshotsDiff`,e),kr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await $e({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Or(t)}),Ar=e=>B(`getApiV1Settings`,e),jr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Je({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ar(t)}),X=e=>B(`getApiV1AuthChatgptStatus`,e),Mr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Mt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:X(t)}),Z=e=>B(`getApiV1AuthChatgptModels`,e),Nr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await yt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Z(t)}),Pr=e=>B(`getApiV1ProjectsByNameSchedule`,e),Fr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await F({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Pr(t)}),Q=e=>B(`getApiV1ProjectsByNameSchedules`,e),Ir=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await me({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Q(t)}),$=e=>B(`getApiV1Telemetry`,e),Lr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Te({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:$(t)}),Rr=e=>({mutationFn:async t=>{let{data:n}=await Le({...e,...t,throwOnError:!0});return n}}),zr=e=>B(`getApiV1CdpStatus`,e),Br=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Re({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:zr(t)}),Vr=e=>B(`getApiV1ProjectsByNameGoogleAdsStatus`,e),Hr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await _t({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Vr(t)}),Ur=e=>({mutationFn:async t=>{let{data:n}=await Gt({...e,...t,throwOnError:!0});return n}}),Wr=e=>B(`getApiV1ProjectsByNameGoogleAdsCustomers`,e),Gr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Et({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Wr(t)}),Kr=e=>({mutationFn:async t=>{let{data:n}=await tt({...e,...t,throwOnError:!0});return n}}),qr=e=>({mutationFn:async t=>{let{data:n}=await O({...e,...t,throwOnError:!0});return n}}),Jr=e=>B(`getApiV1ProjectsByNameGoogleAdsPerformance`,e),Yr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await et({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Jr(t)}),Xr=e=>B(`getApiV1ProjectsByNameGoogleAdsSnapshots`,e),Zr=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ke({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Xr(t)}),Qr=e=>({mutationFn:async t=>{let{data:n}=await nt({...e,...t,throwOnError:!0});return n}}),$r=e=>B(`getApiV1ProjectsByNameGtmStatus`,e),ei=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Yt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:$r(t)}),ti=e=>({mutationFn:async t=>{let{data:n}=await ne({...e,...t,throwOnError:!0});return n}}),ni=e=>B(`getApiV1ProjectsByNameGtmAccounts`,e),ri=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Qe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ni(t)}),ii=e=>B(`getApiV1ProjectsByNameGtmAccountsByAccountIdContainers`,e),ai=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ye({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ii(t)}),oi=e=>B(`getApiV1ProjectsByNameGtmAccountsByAccountIdContainersByContainerIdWorkspaces`,e),si=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ee({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:oi(t)}),ci=e=>({mutationFn:async t=>{let{data:n}=await Ae({...e,...t,throwOnError:!0});return n}}),li=e=>({mutationFn:async t=>{let{data:n}=await Ht({...e,...t,throwOnError:!0});return n}}),ui=e=>B(`getApiV1ProjectsByNameGtmSnapshots`,e),di=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Bt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ui(t)}),fi=e=>({mutationFn:async t=>{let{data:n}=await je({...e,...t,throwOnError:!0});return n}}),pi=e=>B(`getApiV1ProjectsByNameConversionTrackingOptions`,e),mi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await I({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:pi(t)}),hi=e=>B(`getApiV1ProjectsByNameConversionTrackingContracts`,e),gi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Qt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:hi(t)}),_i=e=>({mutationFn:async t=>{let{data:n}=await zt({...e,...t,throwOnError:!0});return n}}),vi=e=>B(`getApiV1ProjectsByNameConversionTrackingContractsByContractIdIntegrity`,e),yi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await te({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:vi(t)}),bi=e=>B(`getApiV1ProjectsByNameGoogleConnections`,e),xi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await At({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:bi(t)}),Si=e=>B(`getApiV1ProjectsByNameGoogleProperties`,e),Ci=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ft({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Si(t)}),wi=e=>B(`getApiV1ProjectsByNameGoogleGscPerformance`,e),Ti=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ke({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:wi(t)}),Ei=e=>B(`getApiV1ProjectsByNameGoogleGscPerformanceDaily`,e),Di=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await xt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ei(t)}),Oi=e=>B(`getApiV1ProjectsByNameGoogleGscInspections`,e),ki=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Be({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Oi(t)}),Ai=e=>B(`getApiV1ProjectsByNameGoogleGscDeindexed`,e),ji=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Lt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ai(t)}),Mi=e=>B(`getApiV1ProjectsByNameGoogleGscCoverage`,e),Ni=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ie({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Mi(t)}),Pi=e=>B(`getApiV1ProjectsByNameGoogleGscCoverageHistory`,e),Fi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ct({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Pi(t)}),Ii=e=>({mutationFn:async t=>{let{data:n}=await Jt({...e,...t,throwOnError:!0});return n}}),Li=e=>B(`getApiV1ProjectsByNameGbpAccounts`,e),Ri=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ve({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Li(t)}),zi=e=>B(`getApiV1ProjectsByNameGbpLocations`,e),Bi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await T({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:zi(t)}),Vi=e=>({mutationFn:async t=>{let{data:n}=await Dt({...e,...t,throwOnError:!0});return n}}),Hi=e=>({mutationFn:async t=>{let{data:n}=await Ot({...e,...t,throwOnError:!0});return n}}),Ui=e=>({mutationFn:async t=>{let{data:n}=await Me({...e,...t,throwOnError:!0});return n}}),Wi=e=>B(`getApiV1ProjectsByNameGbpKeywords`,e),Gi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await we({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Wi(t)}),Ki=e=>B(`getApiV1ProjectsByNameGbpPlaceActions`,e),qi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ue({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ki(t)}),Ji=e=>B(`getApiV1ProjectsByNameGbpLodging`,e),Yi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await i({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ji(t)}),Xi=e=>B(`getApiV1ProjectsByNameGbpPlaces`,e),Zi=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Pt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Xi(t)}),Qi=e=>B(`getApiV1ProjectsByNameGbpSummary`,e),$i=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ht({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Qi(t)}),ea=e=>B(`getApiV1ProjectsByNameBingStatus`,e),ta=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await m({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ea(t)}),na=e=>B(`getApiV1ProjectsByNameBingSites`,e),ra=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await c({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:na(t)}),ia=e=>B(`getApiV1ProjectsByNameBingCoverage`,e),aa=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ce({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ia(t)}),oa=e=>B(`getApiV1ProjectsByNameBingInspections`,e),sa=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await b({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:oa(t)}),ca=e=>B(`getApiV1ProjectsByNameBingSitemaps`,e),la=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await de({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ca(t)}),ua=e=>B(`getApiV1ProjectsByNameSitemaps`,e),da=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Tt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ua(t)}),fa=e=>B(`getApiV1ProjectsByNameBingTraffic`,e),pa=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await D({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:fa(t)}),ma=e=>B(`getApiV1ProjectsByNameBingQueries`,e),ha=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await g({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ma(t)}),ga=e=>B(`getApiV1ProjectsByNameBingPages`,e),_a=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await it({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ga(t)}),va=e=>B(`getApiV1ProjectsByNameBingCrawlStats`,e),ya=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await oe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:va(t)}),ba=e=>B(`getApiV1ProjectsByNameBingSite`,e),xa=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await S({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ba(t)}),Sa=e=>B(`getApiV1ProjectsByNameBingKeywordDemand`,e),Ca=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ot({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Sa(t)}),wa=e=>B(`getApiV1ProjectsByNameBingQueryPages`,e),Ta=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await v({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:wa(t)}),Ea=e=>B(`getApiV1ProjectsByNameBingPageQueries`,e),Da=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await o({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ea(t)}),Oa=e=>B(`getApiV1ProjectsByNameGaStatus`,e),ka=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await u({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Oa(t)}),Aa=e=>B(`getApiV1ProjectsByNameGaSearchLandingPages`,e),ja=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await f({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Aa(t)}),Ma=e=>B(`getApiV1ProjectsByNameGaTraffic`,e),Na=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await xe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ma(t)}),Pa=e=>B(`getApiV1ProjectsByNameGaAiReferralDaily`,e),Fa=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await R({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Pa(t)}),Ia=e=>B(`getApiV1ProjectsByNameGaOverview`,e),La=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await pe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ia(t)}),Ra=e=>B(`getApiV1ProjectsByNameGaSessionHistory`,e),za=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await wt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ra(t)}),Ba=e=>B(`getApiV1ProjectsByNameHealthHistory`,e),Va=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ne({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ba(t)}),Ha=e=>B(`getApiV1ProjectsByNameTrafficSources`,e),Ua=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Fe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ha(t)}),Wa=e=>B(`getApiV1ProjectsByNameTrafficStatus`,e),Ga=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await It({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Wa(t)}),Ka=e=>B(`getApiV1ProjectsByNameTrafficSourcesById`,e),qa=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await st({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ka(t)}),Ja=e=>B(`getApiV1ProjectsByNameTrafficAgentJourneys`,e),Ya=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Oe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Ja(t)}),Xa=e=>B(`getApiV1ProjectsByNameTrafficAgentJourneysByJourneyId`,e),Za=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await gt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Xa(t)}),Qa=e=>B(`getApiV1ProjectsByNameJourneysSummary`,e),$a=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Ut({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Qa(t)}),eo=e=>B(`getApiV1ProjectsByNameJourneys`,e),to=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await k({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:eo(t)}),no=e=>B(`getApiV1ProjectsByNameJourneysByVisitorKey`,e),ro=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await re({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:no(t)}),io=e=>B(`getApiV1ProjectsByNameTrafficEvents`,e),ao=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await kt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:io(t)}),oo=e=>B(`getApiV1ProjectsByNameDiscoverSessions`,e),so=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await he({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:oo(t)}),co=e=>B(`getApiV1ProjectsByNameDiscoverSessionsById`,e),lo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await P({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:co(t)}),uo=e=>B(`getApiV1ProjectsByNameAgentReadiness`,e),fo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await St({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:uo(t)}),po=e=>B(`getApiV1ProjectsByNameAgentReadinessPages`,e),mo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Pe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:po(t)}),ho=e=>B(`getApiV1ProjectsByNameAgentReadinessTrend`,e),go=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Wt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:ho(t)}),_o=e=>B(`getApiV1ProjectsByNameTrends`,e),vo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await ze({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:_o(t)}),yo=e=>B(`getApiV1ProjectsByNameAgentReadinessCrawl`,e),bo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await pt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:yo(t)}),xo=e=>B(`getApiV1ProjectsByNameAgentReadinessGraph`,e),So=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Vt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:xo(t)}),Co=e=>B(`getApiV1ProjectsByNameAgentReadinessCrawlPagesAudit`,e),wo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Xe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Co(t)}),To=e=>B(`getApiV1ProjectsByNameAgentReadinessCrawlPages`,e),Eo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await z({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:To(t)}),Do=e=>B(`getApiV1ProjectsByNameAgentReadinessCrawlPages`,e,!0),Oo=e=>t({queryFn:async({pageParam:t,queryKey:n,signal:r})=>{let i=V(n,typeof t==`object`?t:{query:{cursor:t}}),{data:a}=await z({...e,...i,signal:r,throwOnError:!0});return a},queryKey:Do(e)}),ko=e=>B(`getApiV1ProjectsByNameAgentReadinessStructure`,e,!0),Ao=e=>t({queryFn:async({pageParam:t,queryKey:n,signal:r})=>{let i=V(n,typeof t==`object`?t:{query:{cursor:t}}),{data:a}=await ie({...e,...i,signal:r,throwOnError:!0});return a},queryKey:ko(e)}),jo=e=>B(`getApiV1ProjectsByNameAgentReadinessInternalLinksNeighbors`,e),Mo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await Xt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:jo(t)}),No=e=>B(`getApiV1ProjectsByNameAgentReadinessDeadLinks`,e),Po=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await De({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:No(t)}),Fo=e=>B(`getApiV1ProjectsByNameAgentReadinessRuns`,e),Io=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await qt({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Fo(t)}),Lo=e=>B(`getApiV1ProjectsByNameAgentReadinessRunsByRunIdProgress`,e),Ro=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await A({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:Lo(t)}),zo=e=>B(`getApiV1ProjectsByNameAgentProviders`,e),Bo=t=>e({queryFn:async({queryKey:e,signal:n})=>{let{data:r}=await qe({...t,...e[0],signal:n,throwOnError:!0});return r},queryKey:zo(t)});export{qi as $,mn as $t,_a as A,Ii as An,$n as At,mi as B,Dn as Bn,G as Bt,go as C,Sr as Cn,$a as Ct,sa as D,Lr as Dn,Nn as Dt,ya as E,jr as En,zn as Et,ra as F,li as Fn,jn as Ft,ja as G,Kr as Gn,pr as Gt,so as H,On as Hn,nr as Ht,ta as I,Bn as In,lr as It,Na as J,rn as Jn,Q as Jt,za as K,ci as Kn,Fr as Kt,pa as L,or as Ln,K as Lt,Ta as M,Ur as Mn,Xn as Mt,xa as N,qr as Nn,Fn as Nt,Ca as O,$ as On,Qn as Ot,la as P,ti as Pn,Ln as Pt,Yi as Q,Sn as Qt,yi as R,ar as Rn,U as Rt,Ao as S,xr as Sn,to as St,aa as T,J as Tn,Hn as Tt,Fa as U,Cr as Un,vr as Ut,lo as V,kn as Vn,cr as Vt,La as W,Vi as Wn,hr as Wt,Gi as X,en as Xt,Ri as Y,Rr as Yn,bn as Yt,Bi as Z,gn as Zt,Mo as _,Ga as _n,di as _t,Z as a,cn as an,Hr as at,Ro as b,An as bn,Tr as bt,Br as c,gr as cn,Ni as ct,bo as d,kr as dn,Di as dt,wn as en,Zi as et,wo as f,Za as fn,Ti as ft,So as g,Ua as gn,ri as gt,Po as h,qa as hn,ai as ht,Nr as i,vn as in,Zr as it,ha as j,Ui as jn,W as jt,Da as k,_i as kn,Jn as kt,Dr as l,q as ln,ji as lt,Eo as m,ao as mn,si as mt,Qr as n,un as nn,Gr as nt,Mr as o,on,xi as ot,Oo as p,Ya as pn,Ci as pt,ka as q,er as qn,Ir as qt,fi as r,nn as rn,Yr as rt,X as s,fn as sn,Fi as st,Hi as t,En as tn,$i as tt,Bo as u,da as un,ki as ut,fo as v,vo as vn,ei as vt,dr as w,yr as wn,Wn as wt,Io as x,H as xn,ro as xt,mo as y,Kn as yn,Va as yt,gi as z,rr as zn,ir as zt};
|
package/assets/assets/{react-sigma_core.esm.min-DNPGgfTG.js → react-sigma_core.esm.min-DLmrzL1s.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{lt as n}from"./vendor-lucide-C3F7vHjd.js";import{n as r,r as i}from"./ProjectPage-
|
|
1
|
+
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{lt as n}from"./vendor-lucide-C3F7vHjd.js";import{n as r,r as i}from"./ProjectPage-er2nBpgg.js";var a=e(n(),1);function o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){if(e){if(typeof e==`string`)return o(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function c(e){if(Array.isArray(e))return e}function l(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function u(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(e,t){return c(e)||l(e,t)||s(e,t)||u()}function f(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(c)throw a}}}}function p(){return Float32Array.of(1,0,0,0,1,0,0,0,1)}function m(e,t,n){return e[0]=t,e[4]=typeof n==`number`?n:t,e}function h(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[3]=-n,e[4]=r,e}function g(e,t,n){return e[6]=t,e[7]=n,e}function _(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=e[6],l=e[7],u=e[8],d=t[0],f=t[1],p=t[2],m=t[3],h=t[4],g=t[5],_=t[6],v=t[7],y=t[8];return e[0]=d*n+f*a+p*c,e[1]=d*r+f*o+p*l,e[2]=d*i+f*s+p*u,e[3]=m*n+h*a+g*c,e[4]=m*r+h*o+g*l,e[5]=m*i+h*s+g*u,e[6]=_*n+v*a+y*c,e[7]=_*r+v*o+y*l,e[8]=_*i+v*s+y*u,e}function v(e,t){var n=Math.cos(t),r=Math.sin(t);return{x:n*e.x+r*e.y,y:-r*e.x+n*e.y}}function y(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=e[0],i=e[1],a=e[3],o=e[4],s=e[6],c=e[7],l=t.x,u=t.y;return{x:l*r+u*a+s*n,y:l*i+u*o+c*n}}function b(e,t){var n=e.height/e.width,r=t.height/t.width;return n<1&&r>1||n>1&&r<1?1:Math.min(Math.max(r,1/r),Math.max(1/n,n))}function x(e,t,n,r,i){var a=e.angle,o=e.ratio,s=e.x,c=e.y,l=t.width,u=t.height,d=p(),f=Math.min(l,u)-2*r,v=b(t,n);return i?(_(d,g(p(),s,c)),_(d,m(p(),o)),_(d,h(p(),a)),_(d,m(p(),l/f/2/v,u/f/2/v))):(_(d,m(p(),f/l*2*v,f/u*2*v)),_(d,h(p(),-a)),_(d,m(p(),1/o)),_(d,g(p(),-s,-c))),d}function S(e,t,n){var r=y(e,{x:Math.cos(t.angle),y:Math.sin(t.angle)},0),i=r.x,a=r.y;return 1/Math.sqrt(i**2+a**2)/n.width}function C(e,t,n,r,i){return[Math.floor(t/i*r),Math.floor(e.drawingBufferHeight/i-n/i*r)]}var w={black:`#000000`,silver:`#C0C0C0`,gray:`#808080`,grey:`#808080`,white:`#FFFFFF`,maroon:`#800000`,red:`#FF0000`,purple:`#800080`,fuchsia:`#FF00FF`,green:`#008000`,lime:`#00FF00`,olive:`#808000`,yellow:`#FFFF00`,navy:`#000080`,blue:`#0000FF`,teal:`#008080`,aqua:`#00FFFF`,darkblue:`#00008B`,mediumblue:`#0000CD`,darkgreen:`#006400`,darkcyan:`#008B8B`,deepskyblue:`#00BFFF`,darkturquoise:`#00CED1`,mediumspringgreen:`#00FA9A`,springgreen:`#00FF7F`,cyan:`#00FFFF`,midnightblue:`#191970`,dodgerblue:`#1E90FF`,lightseagreen:`#20B2AA`,forestgreen:`#228B22`,seagreen:`#2E8B57`,darkslategray:`#2F4F4F`,darkslategrey:`#2F4F4F`,limegreen:`#32CD32`,mediumseagreen:`#3CB371`,turquoise:`#40E0D0`,royalblue:`#4169E1`,steelblue:`#4682B4`,darkslateblue:`#483D8B`,mediumturquoise:`#48D1CC`,indigo:`#4B0082`,darkolivegreen:`#556B2F`,cadetblue:`#5F9EA0`,cornflowerblue:`#6495ED`,rebeccapurple:`#663399`,mediumaquamarine:`#66CDAA`,dimgray:`#696969`,dimgrey:`#696969`,slateblue:`#6A5ACD`,olivedrab:`#6B8E23`,slategray:`#708090`,slategrey:`#708090`,lightslategray:`#778899`,lightslategrey:`#778899`,mediumslateblue:`#7B68EE`,lawngreen:`#7CFC00`,chartreuse:`#7FFF00`,aquamarine:`#7FFFD4`,skyblue:`#87CEEB`,lightskyblue:`#87CEFA`,blueviolet:`#8A2BE2`,darkred:`#8B0000`,darkmagenta:`#8B008B`,saddlebrown:`#8B4513`,darkseagreen:`#8FBC8F`,lightgreen:`#90EE90`,mediumpurple:`#9370DB`,darkviolet:`#9400D3`,palegreen:`#98FB98`,darkorchid:`#9932CC`,yellowgreen:`#9ACD32`,sienna:`#A0522D`,brown:`#A52A2A`,darkgray:`#A9A9A9`,darkgrey:`#A9A9A9`,lightblue:`#ADD8E6`,greenyellow:`#ADFF2F`,paleturquoise:`#AFEEEE`,lightsteelblue:`#B0C4DE`,powderblue:`#B0E0E6`,firebrick:`#B22222`,darkgoldenrod:`#B8860B`,mediumorchid:`#BA55D3`,rosybrown:`#BC8F8F`,darkkhaki:`#BDB76B`,mediumvioletred:`#C71585`,indianred:`#CD5C5C`,peru:`#CD853F`,chocolate:`#D2691E`,tan:`#D2B48C`,lightgray:`#D3D3D3`,lightgrey:`#D3D3D3`,thistle:`#D8BFD8`,orchid:`#DA70D6`,goldenrod:`#DAA520`,palevioletred:`#DB7093`,crimson:`#DC143C`,gainsboro:`#DCDCDC`,plum:`#DDA0DD`,burlywood:`#DEB887`,lightcyan:`#E0FFFF`,lavender:`#E6E6FA`,darksalmon:`#E9967A`,violet:`#EE82EE`,palegoldenrod:`#EEE8AA`,lightcoral:`#F08080`,khaki:`#F0E68C`,aliceblue:`#F0F8FF`,honeydew:`#F0FFF0`,azure:`#F0FFFF`,sandybrown:`#F4A460`,wheat:`#F5DEB3`,beige:`#F5F5DC`,whitesmoke:`#F5F5F5`,mintcream:`#F5FFFA`,ghostwhite:`#F8F8FF`,salmon:`#FA8072`,antiquewhite:`#FAEBD7`,linen:`#FAF0E6`,lightgoldenrodyellow:`#FAFAD2`,oldlace:`#FDF5E6`,magenta:`#FF00FF`,deeppink:`#FF1493`,orangered:`#FF4500`,tomato:`#FF6347`,hotpink:`#FF69B4`,coral:`#FF7F50`,darkorange:`#FF8C00`,lightsalmon:`#FFA07A`,orange:`#FFA500`,lightpink:`#FFB6C1`,pink:`#FFC0CB`,gold:`#FFD700`,peachpuff:`#FFDAB9`,navajowhite:`#FFDEAD`,moccasin:`#FFE4B5`,bisque:`#FFE4C4`,mistyrose:`#FFE4E1`,blanchedalmond:`#FFEBCD`,papayawhip:`#FFEFD5`,lavenderblush:`#FFF0F5`,seashell:`#FFF5EE`,cornsilk:`#FFF8DC`,lemonchiffon:`#FFFACD`,floralwhite:`#FFFAF0`,snow:`#FFFAFA`,lightyellow:`#FFFFE0`,ivory:`#FFFFF0`},T=new Int8Array(4),E=new Int32Array(T.buffer,0,1),D=new Float32Array(T.buffer,0,1),O=/^\s*rgba?\s*\(/,k=/^\s*rgba?\s*\(\s*([0-9]*)\s*,\s*([0-9]*)\s*,\s*([0-9]*)(?:\s*,\s*(.*)?)?\)\s*$/;function A(e){var t=0,n=0,r=0,i=1,a=e.toLowerCase();if(a===`transparent`)return{r:0,g:0,b:0,a:0};if(a in w)return A(w[a]);if(e[0]===`#`)e.length===4?(t=parseInt(e.charAt(1)+e.charAt(1),16),n=parseInt(e.charAt(2)+e.charAt(2),16),r=parseInt(e.charAt(3)+e.charAt(3),16)):(t=parseInt(e.charAt(1)+e.charAt(2),16),n=parseInt(e.charAt(3)+e.charAt(4),16),r=parseInt(e.charAt(5)+e.charAt(6),16)),e.length===9&&(i=parseInt(e.charAt(7)+e.charAt(8),16)/255);else if(O.test(e)){var o=e.match(k);o&&(t=+o[1],n=+o[2],r=+o[3],o[4]&&(i=+o[4]))}return{r:t,g:n,b:r,a:i}}function j(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=A(e),r=n.r,i=n.g,a=n.b,o=n.a;return t?[r/255*o,i/255*o,a/255*o,o]:[r/255,i/255,a/255,o]}var M={};for(var N in w)M[N]=F(w[N]),M[w[N]]=M[N];function P(e,t,n,r,i){return E[0]=r<<24|n<<16|t<<8|e,i&&(E[0]&=4278190079),D[0]}function F(e){if(e=e.toLowerCase(),M[e]!==void 0)return M[e];var t=A(e),n=t.r,r=t.g,i=t.b,a=t.a;a=a*255|0;var o=P(n,r,i,a,!0);return M[e]=o,o}function I(e,t){D[0]=F(e);var n=E[0];return t&&(n|=16777216),[n&255,n>>8&255,n>>16&255,n>>24&255]}function ee(e){var t=e>>>8&255,n=e>>>16&255,r=e>>>24&255;return((e&255)<<24|r<<16|n<<8|t)>>>0}function te(e,t,n,r){return(n<<24|t<<16|e<<8|r)>>>0}function L(e,t,n,r,i,a){var o=d(C(e,n,r,i,a),2),s=o[0],c=o[1],l=new Uint8Array(4);e.bindFramebuffer(e.FRAMEBUFFER,t),e.readPixels(s,c,1,1,e.RGBA,e.UNSIGNED_BYTE,l);var u=d(l,4);return[u[0],u[1],u[2],u[3]]}function ne(e){var t=A(e),n=t.r,r=t.g,i=t.b,a=t.a;return`vec4(${(n/255).toFixed(6)}, ${(r/255).toFixed(6)}, ${(i/255).toFixed(6)}, ${a.toFixed(6)})`}function re(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ie(e){var t=re(e,`string`);return typeof t==`symbol`?t:t+``}function R(e,t,n){return(t=ie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ae(Object(n),!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function B(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ie(r.key),r)}}function V(e,t,n){return t&&oe(e.prototype,t),n&&oe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},se(e)}function ce(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ce=function(){return!!e})()}function le(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function ue(e,t){if(t&&(typeof t==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return le(e)}function H(e,t,n){return t=se(t),ue(e,ce()?Reflect.construct(t,n||[],se(e).constructor):t.apply(e,n))}function de(e,t){return de=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},de(e,t)}function U(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&de(e,t)}function fe(e){if(Array.isArray(e))return o(e)}function pe(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function me(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W(e){return fe(e)||pe(e)||s(e)||me()}function G(e){"@babel/helpers - typeof";return G=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},G(e)}function he(e){return G(e)===`object`&&e!==null&&`attribute`in e}function ge(){return{name:`circle`,glsl:`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{lt as t}from"./vendor-lucide-C3F7vHjd.js";import{O as n,v as r,x as i}from"./vendor-tanstack-ZnWhYpCU.js";import{D as a,
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{lt as t}from"./vendor-lucide-C3F7vHjd.js";import{O as n,v as r,x as i}from"./vendor-tanstack-ZnWhYpCU.js";import{D as a,E as o,On as s,T as c,ko as l,xt as u}from"./ToneBadge-DSr49xyr.js";import{l as d,s as f}from"./query-client-DTIKbVqE.js";import{Tn as p,_n as m,gn as h,hn as g,mn as _}from"./react-query-Bt-PaSFW.js";var v=e(t(),1);function y(e){switch(e){case l.connected:return`positive`;case l.paused:return`caution`;case l.error:return`negative`;case l.archived:return`neutral`}}function b(e){let t={};return e.kind&&e.kind!==`all`&&(t.kind=e.kind),e.sourceId&&(t.sourceId=e.sourceId),e.range?(t.since=e.range.since,t.until=e.range.until):e.sinceMinutes!==void 0&&(t.since=new Date(Date.now()-e.sinceMinutes*6e4).toISOString()),e.limit!==void 0&&(t.limit=String(e.limit)),e.granularity!==void 0&&(t.granularity=e.granularity),t}function x(e){d(e,`traffic`)}function S(e){return i({...h({client:u,path:{name:e??``}}),enabled:!!e,staleTime:f})}function C(e){return i({...m({client:u,path:{name:e??``}}),enabled:!!e,staleTime:f})}function w(e,t){return i({...g({client:u,path:{name:e??``,id:t??``}}),enabled:!!(e&&t),staleTime:f})}function T(e,t,n={}){let r=(0,v.useMemo)(()=>b(t),[t.kind,t.sourceId,t.sinceMinutes,t.range?.since,t.range?.until,t.limit,t.granularity]);return i({..._({client:u,path:{name:e??``},query:r}),enabled:!!e&&n.enabled!==!1,staleTime:f})}function E(e){let t=n();return r({mutationFn:t=>{if(!e)throw Error(`Project is required to connect a Cloud Run source`);return c(e,t)},onSuccess:()=>{e&&x(t)}})}function D(e){let t=n();return r({mutationFn:t=>{if(!e)throw Error(`Project is required to connect a WordPress source`);return a(e,t)},onSuccess:()=>{e&&x(t)}})}function O(e){let t=n();return r({mutationFn:t=>{if(!e)throw Error(`Project is required to connect a Vercel source`);return o(e,t)},onSuccess:()=>{e&&x(t)}})}function k(e,t){let i=n();return r({mutationFn:n=>{if(!e||!t)throw Error(`Project and sourceId are required to sync`);return s(e,t,n??void 0)},onSuccess:()=>{e&&(x(i),i.invalidateQueries({queryKey:p({client:u})}))}})}export{T as a,C as c,D as i,k as l,E as n,w as o,O as r,S as s,y as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{Q as t,X as n,Z as r,lt as i}from"./vendor-lucide-C3F7vHjd.js";import{r as a}from"./vendor-markdown-DMxglFrF.js";import{Aa as o,Ba as s,Da as c,Di as l,Ea as u,Et as d,Ga as f,Ha as p,Ia as m,Ic as h,Ja as g,Ka as _,La as v,Ma as y,Na as b,Ni as x,Oa as S,Pa as C,Ra as w,Ta as T,Ua as E,Va as D,Wa as O,ja as k,ka as A,ll as j,o as M,qa as N,xt as P,za as F}from"./ToneBadge-DSr49xyr.js";import{B as I}from"./ChartPrimitives-DIAAi1Eq.js";import{E as L}from"./AccessControls-QW1RtXqK.js";var R=a();function z({provider:e}){let t=j(e);return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(`span`,{className:`block text-label-14-strong text-primary`,children:t?h(t):L(e)}),t&&(0,R.jsxs)(R.Fragment,{children:[` `,(0,R.jsx)(`span`,{className:`block text-label-13 text-secondary`,children:`via OpenRouter`})]})]})}var B=e(i(),1),V=`min-h-11 w-full rounded-md border border-default bg-surface px-3 py-2 text-label-14 text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mono-400`,H=`flex min-h-11 w-full items-center justify-between gap-3 rounded px-2 text-left text-label-14 text-primary hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mono-400`,U=e=>e.kind===`project`?`Whole site`:e.label,W={allMarkets:`All markets`,browse:e=>`Browse ${e}`,select:e=>`Select ${e}`,browseAll:`Browse all properties`},ee=e=>e?.kind===`group`&&e.marketKeys?.length===1?e.marketKeys[0]:void 0,G=e=>`${e} ${e===1?`property`:`properties`}`;function te({options:e,selected:i,onSelect:a,marketKey:o,label:s=`Measurement scope`,labelVisibility:c=`visible`,allowGroupSelect:l=!0}){let u=[...e].sort((e,t)=>e.label.localeCompare(t.label,void 0,{numeric:!0})||e.id.localeCompare(t.id)),[d,f]=(0,B.useState)(``),[p,m]=(0,B.useState)([]),[h,g]=(0,B.useState)(!1),_=(0,B.useRef)(null),v=(0,B.useRef)(null),y=(0,B.useId)(),b=u.filter(e=>e.kind===`group`),x=new Map(b.map(e=>[e.id,e])),S=x.get(p.at(-1)??``),C=x.get(p.at(-2)??``),w=d.trim().toLocaleLowerCase(),T=b.filter(e=>!e.parentGroupIds?.some(e=>x.has(e))),E=u.filter(e=>e.kind===`property`),D=e=>(e.parentGroupIds??[]).map(e=>x.get(e)?.label).filter(Boolean).join(` · `),O=e=>`${U(e)} ${D(e)}`.toLocaleLowerCase().includes(w),k=e=>{let t=[...e.parentGroupIds??[]],n=new Set;for(;t.length;){let e=t.pop();if(e===S?.id)return!0;n.has(e)||(n.add(e),t.push(...x.get(e)?.parentGroupIds??[]))}return!1},A=(h?[]:S?b.filter(e=>w?k(e):e.parentGroupIds?.includes(S.id)):w?b:T).filter(O),j=u.find(e=>e.kind===`market`&&e.id===(o??(i.kind===`market`?i.id:void 0))),M=S&&j&&(S.marketKeys?.includes(j.id)||j.parentGroupIds?.includes(S.id))?j.id:void 0,N=l?M??ee(S):void 0,P=(S?E.filter(e=>e.parentGroupIds?.includes(S.id)&&(!N||e.marketKeys?.includes(N))):w||h||b.length===0?E:[]).filter(O),F=u.filter(e=>e.kind!==`market`||h||!l&&!S&&!w&&b.length>0||l&&S?.marketKeys?.length===1&&!w?!1:(S?w?k(e):e.parentGroupIds?.includes(S.id):w||!e.parentGroupIds?.some(e=>x.has(e)))&&O(e)),I=S||h?[]:u.filter(e=>e.kind===`project`&&O(e));(0,B.useEffect)(()=>{let e=e=>{_.current?.open&&e.target instanceof Node&&!_.current.contains(e.target)&&(_.current.open=!1)};return document.addEventListener(`pointerdown`,e),()=>document.removeEventListener(`pointerdown`,e)},[]);let L=e=>{_.current&&(_.current.open=!1,_.current.querySelector(`summary`)?.focus());let t=l?e.kind===`property`?N:e.kind===`group`&&e.id===S?.id?M:void 0:void 0;t?a(e,t):a(e)},z=e=>{let t=[],n=x.get(e.parentGroupIds?.[0]??``);for(;n&&!t.includes(n.id)&&n.id!==e.id;)t.unshift(n.id),n=x.get(n.parentGroupIds?.[0]??``);return[...t,e.id]},te=()=>{let e=i.kind===`group`?x.get(i.id):void 0,t=x.get(j?.parentGroupIds?.[0]??``),n=(i.parentGroupIds??[]).flatMap(e=>{let t=x.get(e);return t?[z(t)]:[]}),r=n.find(e=>e.at(-1)===S?.id)??n.sort((e,t)=>t.length-e.length)[0]??[],a=t?z(t):i.marketKeys?.length?[]:r;m(e?z(e):a),g(i.kind===`property`&&a.length===0&&b.length>0),f(``)},K=e=>{m(z(e)),g(!1),f(``),v.current?.focus()},q=(e,t=U(e))=>(0,R.jsxs)(`div`,{className:`flex items-stretch`,children:[(0,R.jsxs)(`button`,{type:`button`,className:H,"aria-label":e.kind===`group`&&!l?W.browse(U(e)):W.select(U(e)),"aria-current":i.kind===e.kind&&i.id===e.id?`true`:void 0,onClick:()=>e.kind===`group`&&!l?K(e):L(e),children:[(0,R.jsxs)(`span`,{className:`min-w-0 break-words`,children:[t,w&&D(e)?(0,R.jsx)(`span`,{className:`block text-label-13 text-secondary`,children:D(e)}):null]}),(0,R.jsx)(`span`,{className:`shrink-0 text-right text-label-13 text-secondary`,children:e.kind===`market`?l?`Query context`:`Market`:e.kind===`property`?`Property`:G(e.targetCount)})]}),l&&e.kind===`group`&&e.id!==S?.id&&u.some(t=>t.parentGroupIds?.includes(e.id))?(0,R.jsx)(`button`,{type:`button`,"aria-label":W.browse(e.label),title:`Browse ${e.label}`,className:`flex min-h-11 min-w-11 items-center justify-center rounded text-secondary hover:bg-surface-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mono-400`,onClick:()=>K(e),children:(0,R.jsx)(n,{size:18,"aria-hidden":`true`})}):null]},`${e.kind}:${e.id}`),J=(e,t)=>t.length>0?(0,R.jsxs)(`section`,{"aria-label":e,className:`mt-2`,children:[(0,R.jsx)(`h3`,{className:`px-2 py-2 text-heading-14 text-secondary`,children:e}),t.map(e=>q(e))]}):null,Y=(e,t,n)=>t.length>0?(0,R.jsxs)(`details`,{open:n,className:`mt-2 border-y border-default`,children:[(0,R.jsxs)(`summary`,{className:`min-h-11 cursor-pointer px-2 py-3 text-label-14 text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-mono-400`,children:[e,` (`,t.length,`)`]}),t.map(e=>q(e))]},`${S?.id??`root`}:${e}`):null;return(0,R.jsxs)(`div`,{className:`min-w-0`,children:[(0,R.jsx)(`span`,{id:`${y}-label`,className:c===`sr-only`?`sr-only`:`mb-1 block text-label-14-strong text-heading`,children:s}),(0,R.jsxs)(`details`,{ref:_,className:`relative`,onToggle:e=>{e.target===e.currentTarget&&e.currentTarget.open&&v.current?.focus()},onKeyDown:e=>{e.key===`Escape`&&(e.preventDefault(),e.currentTarget.open=!1,e.currentTarget.querySelector(`summary`)?.focus())},children:[(0,R.jsxs)(`summary`,{id:`${y}-value`,"aria-labelledby":`${y}-label ${y}-value`,className:`${V} visibility-scope-trigger`,onClick:()=>{_.current?.open||te()},children:[`${U(i)}${i.kind===`group`?` · ${G(i.targetCount)}`:i.kind===`property`?` · ${u.find(e=>e.kind===`market`&&e.id===o)?.label??(i.marketKeys?.length?W.allMarkets:`Property`)}`:i.kind===`market`?` · Market`:``}`,(0,R.jsx)(t,{size:16,"aria-hidden":`true`,className:`shrink-0 text-secondary`})]}),(0,R.jsxs)(`div`,{className:`visibility-scope-menu`,children:[S||h?(0,R.jsxs)(`div`,{className:`mb-2 border-b border-default pb-2`,children:[(0,R.jsx)(`button`,{type:`button`,className:H,"aria-label":`Back to ${C?.label??`all groups`}`,onClick:()=>{m(p.slice(0,-1)),g(!1),f(``),v.current?.focus()},children:(0,R.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,R.jsx)(r,{size:16,"aria-hidden":`true`}),C?.label??`All groups`]})}),(0,R.jsx)(`p`,{className:`px-2 py-1 text-copy-14-strong text-heading`,"aria-live":`polite`,children:S?.label??`All properties`})]}):null,(0,R.jsx)(`input`,{ref:v,type:`search`,"aria-label":`Search scopes`,className:V,placeholder:S?`Search within this group`:h?`Search properties`:`Search groups or properties`,value:d,onChange:e=>f(e.target.value)}),(0,R.jsxs)(`div`,{className:`mt-2 max-h-80 overflow-y-auto`,children:[l&&S&&!w?q(S,`All properties in this group`):null,I.map(e=>q(e)),S&&!w?Y(`Subgroups`,A,!0):J(S?`Subgroups`:`Groups`,A),w?J(`Properties`,P):Y(S&&A.length>0?`All properties`:`Properties`,P,!S||A.length===0),J(`Markets`,F),!S&&!h&&!w&&b.length>0&&E.length>0?(0,R.jsxs)(`button`,{type:`button`,className:`${H} mt-2 border-t border-default`,"aria-label":W.browseAll,onClick:()=>{g(!0),v.current?.focus()},children:[(0,R.jsx)(`span`,{children:`All properties`}),(0,R.jsx)(n,{size:18,"aria-hidden":`true`})]}):null,w&&A.length+P.length+F.length+I.length===0?(0,R.jsx)(`p`,{className:`py-3 text-copy-14 text-secondary`,children:`No matching scopes.`}):null]})]})]})]})}function K(e){let t=e[0];return!t||e.every(e=>e.mode===t.mode&&e.scope.kind===t.scope.kind&&e.scope.key===t.scope.key&&e.queryClass===t.queryClass&&e.measurement.displayedRunId===t.measurement.displayedRunId)}function q(e){return e.state===`unavailable`?{numerator:null,denominator:null,reason:e.reason}:e.numerator===void 0||e.denominator===void 0||e.denominator<=0?{numerator:null,denominator:null,reason:`not_applicable`}:{numerator:e.numerator,denominator:e.denominator,...e.unattributed===void 0?{}:{unattributed:e.unattributed},...e.unchecked===void 0?{}:{unchecked:e.unchecked},...e.citationNotMeasured===void 0?{}:{citationNotMeasured:e.citationNotMeasured}}}function J(e){return e.kind===`exact`?e.url:e.kind===`prefix`?`https://${e.host}${e.pathPrefix===`/`?``:e.pathPrefix}/*`:`https://${e.host}/*`}function Y(e){return e===`assigned`?`this-property`:e===`sibling`?`another-property`:e===`ownedUnmapped`?`owned-unassigned`:e===`external`?`external`:e===`ambiguous`?`multiple-properties`:`invalid-url`}function ne(e){return e===`assigned`?`positive`:e===`external`?`neutral`:e===`invalid`?`negative`:`caution`}function X(e){return`target:${e.targetKey}:${e.queryId}:${e.executionNodeKey}`}function re(e,t,n){let r=new Map;if(!t)return r;let i=new Map(e.usageEdges.map(e=>[X(e),e.targetKey])),a=new Map(e.assignments.map(e=>[`${e.targetKey}:${e.queryId}`,e.queryClass])),o=new Map(e.usageEdges.map(e=>[X(e),a.get(`${e.targetKey}:${e.queryId}`)]));for(let e of t.evidence){if(n&&o.get(e.usageEdgeId)!==n)continue;let t=i.get(e.usageEdgeId);if(!t)continue;let a=r.get(t)??[];a.push({id:`${e.observationId}:${e.expectedSlotId}:${e.usageEdgeId}:${e.sourceUrl}`,kind:Y(e.classification),query:e.queryText,provider:e.provider,location:e.location,url:e.sourceUrl,tone:ne(e.classification),historical:e.historical||e.bridged}),r.set(t,a)}return r}function ie(e){if(e.flags>0)return{label:`Review`,tone:`caution`};let t=[e.mentionCoverage,e.citationCoverage].filter(e=>e.state===`unavailable`).map(e=>e.reason);return t.includes(`no_completed_run`)?{label:`Not measured`,tone:`neutral`}:t.includes(`plan_v1`)?{label:`Update setup`,tone:`caution`}:t.includes(`evidence_incomplete`)?{label:`Evidence incomplete`,tone:`caution`}:t.includes(`identity_ambiguous`)?{label:I.ambiguous,tone:`caution`}:t.includes(`no_population`)?{label:`No queries`,tone:`neutral`}:t.includes(`not_applicable`)?{label:`Not applicable`,tone:`neutral`}:t.includes(`citation_not_measured`)?{label:`Citation not measured`,tone:`neutral`}:{label:`Complete`,tone:`positive`}}function ae(e){return e===`complete`?{label:`Complete`,tone:`positive`}:e===`partial`?{label:`Partial`,tone:`caution`}:e===`queued`?{label:`Queued`,tone:`neutral`}:e===`running`?{label:`Running`,tone:`neutral`}:e===`failed`?{label:`Failed`,tone:`negative`}:{label:`Not measured`,tone:`neutral`}}function oe(e){if(!e)return``;let t=new Date(e);return Number.isFinite(t.getTime())?t.toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`,timeZone:`UTC`}):``}function Z(e){let t=e.nextAction.count??e.flags.total;if(e.nextAction.kind===`review_flags`)return`${t} flagged ${t===1?`result needs`:`results need`} review.`;if(e.nextAction.kind===`complete_setup`)return`Finish setup.`;if(e.nextAction.kind===`republish_setup`)return`Setup update required.`;if(e.nextAction.kind===`run_measurement`)return`Ready to measure.`}function se({overview:e,activePlan:t,report:n,reportState:r=n?`ready`:`loading`,sort:i}){if(t.plan.schemaVersion!==2||e.mode!==`active-v2`)throw Error(`The current overview requires an active version-two setup.`);if(e.scope.kind!==`all`&&e.scope.kind!==`group`)throw Error(`The current overview requires an All Properties or group scope.`);let a=t.plan,o=new Map(a.targets.map(e=>[e.stableKey,e])),s=new Map(a.querySnapshots.map(e=>[e.queryId,e.queryText])),c=new Map;for(let t of a.assignments){if(e.queryClass!==`all`&&t.queryClass!==e.queryClass)continue;let n=s.get(t.queryId);if(!n)continue;let r=c.get(t.targetKey)??new Set;r.add(n),c.set(t.targetKey,r)}let l=n?.revision===t.revision&&n.run?.id===e.measurement.displayedRunId?n:null,u=e.measurement.displayedRunId===void 0||l?`ready`:r===`error`||n!=null?`error`:`loading`,d=re(a,l,e.queryClass===`all`?void 0:e.queryClass),f=new Map;for(let e of a.groups)for(let t of e.targetKeys)f.has(t)||f.set(t,e.label);let p=e.properties.items.map(e=>{let t=o.get(e.targetKey),n=d.get(e.targetKey)??[];return{id:e.targetKey,name:e.label,mentionCoverage:q(e.mentionCoverage),citationCoverage:q(e.citationCoverage),status:ie(e),providers:e.providers?.map(e=>({provider:e.provider,mentionCoverage:q(e.mentionCoverage),citationCoverage:q(e.citationCoverage)})),market:f.get(e.targetKey),assignedQueries:[...c.get(e.targetKey)??[]],urls:t?.urlMatchers.map(J)??[],evidence:n,evidenceState:u,historical:n.some(e=>e.historical)}}),m=e.namedShareOfVoice?.entries.map(t=>({name:t.label,coverage:{numerator:t.credits,denominator:e.namedShareOfVoice.denominator}})),h=e.properties.items.flatMap(e=>e.flags>0?[{id:`property:${e.targetKey}`,property:e.label,summary:`${e.flags} ${e.flags===1?`result needs`:`results need`} review.`,tone:`caution`,count:e.flags}]:[]);return{classReporting:`available`,latestMeasurement:{status:ae(e.measurement.state),completedSlots:e.measurement.completed,totalSlots:e.measurement.expected,date:oe(e.measurement.completedAt),includesBridgedHistory:e.measurement.includesHistoricalData===!0},currentView:{scope:e.scope.kind===`group`?{kind:`group`,...e.scope.key?{key:e.scope.key}:{}}:{kind:`all`},queryClass:e.queryClass,aggregate:{metrics:{propertiesMentioned:q(e.metrics.propertiesMentioned),mentionCoverage:q(e.metrics.mentionCoverage),citationCoverage:q(e.metrics.citationCoverage)},properties:p,...m?{shareOfVoice:m}:{}},propertyTotal:e.properties.totalEstimate??p.length,outcomes:e.outcomes,nextCursor:e.properties.nextCursor,...i?{sort:i}:{}},availableGroups:a.groups.map(e=>({id:e.stableKey,label:e.label})),...Z(e)?{nextActionText:Z(e)}:{},flaggedResultsTotal:e.flags.total,flaggedResults:h}}function Q(){return typeof crypto<`u`&&typeof crypto.randomUUID==`function`?crypto.randomUUID():`web-${Date.now()}-${Math.random().toString(36).slice(2)}`}function $(e){return{"If-Match":e,"Idempotency-Key":Q()}}function ce(e){return e instanceof M&&(e.statusCode===404||e.statusCode===409||e.statusCode===412)}function le(e,t){return e instanceof M?t:(e instanceof Error?e.message.trim():``)||t}function ue(e){let t=`Could not calculate assignment impact.`;if(!(e instanceof M)||e.code!==`VALIDATION_ERROR`)return t;let n=e.message.trim();return e.details?.displayToOperator===!0&&n?n:t}var de={loadSetup:e=>d(()=>x({client:P,path:{name:e}})),loadDraft:e=>d(()=>l({client:P,path:{name:e}})),createDraft:(e,t)=>d(()=>o({client:P,path:{name:e},headers:{"Idempotency-Key":Q()},body:{expectedActiveRevision:t}})),importSitemap:(e,t,n)=>d(()=>C({client:P,path:{name:e},headers:$(t),body:n})),applySitemapSelection:(e,t,n,r)=>d(()=>S({client:P,path:{name:e},headers:$(t),body:{selections:n,selectedTargetKeys:r}})),previewAssignments:(e,t)=>d(()=>m({client:P,path:{name:e},body:t})),applyAssignments:(e,t,n)=>d(()=>T({client:P,path:{name:e},headers:$(t),body:n})),replaceAssignments:(e,t,n)=>d(()=>E({client:P,path:{name:e},headers:$(t),body:n})),applyPairedAssignments:(e,t,n,r)=>d(()=>c({client:P,path:{name:e},headers:$(t),body:{pairs:n,...r?{contextOverride:r}:{}}})),previewMarketRouting:(e,t)=>d(()=>w({client:P,path:{name:e},body:t})),routeMarkets:(e,t,n)=>d(()=>O({client:P,path:{name:e},headers:$(t),body:n})),removeAssignment:(e,t,n,r)=>d(()=>s({client:P,path:{name:e},headers:$(t),body:{targetKeys:n,queryId:r}})),excludeTarget:(e,t,n)=>d(()=>b({client:P,path:{name:e},headers:$(t),body:{targetKey:n,cleanup:`assignments-and-group-memberships`}})),upsertTarget:(e,t,n)=>d(()=>g({client:P,path:{name:e},headers:$(t),body:{target:n}})),upsertMarket:(e,t,n)=>d(()=>N({client:P,path:{name:e},headers:$(t),body:{market:n}})),upsertGroup:(e,t,n)=>d(()=>_({client:P,path:{name:e},headers:$(t),body:{group:n}})),removeGroup:(e,t,n)=>d(()=>p({client:P,path:{name:e},headers:$(t),body:{groupKey:n}})),upsertCompetitor:(e,t,n)=>d(()=>f({client:P,path:{name:e},headers:$(t),body:n})),removeCompetitor:(e,t,n,r)=>d(()=>D({client:P,path:{name:e},headers:$(t),body:{groupKey:n,competitorKey:r}})),previewGroupMembership:(e,t)=>d(()=>v({client:P,path:{name:e},body:t})),applyGroupMembership:(e,t,n)=>d(()=>u({client:P,path:{name:e},headers:$(t),body:n})),compilePreview:e=>d(()=>A({client:P,path:{name:e}})),diffPreview:e=>d(()=>k({client:P,path:{name:e}})),publish:(e,t,n)=>d(()=>F({client:P,path:{name:e},headers:$(t),body:n})),discard:(e,t)=>d(()=>y({client:P,path:{name:e},headers:$(t)}))};export{se as a,W as c,le as i,te as l,ue as n,K as o,ce as r,J as s,de as t,z as u};
|
package/assets/index.html
CHANGED
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
|
|
13
13
|
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
|
|
14
14
|
<title>Canonry</title>
|
|
15
|
-
<script type="module" crossorigin src="./assets/index-
|
|
15
|
+
<script type="module" crossorigin src="./assets/index-Bh4Hdh7M.js"></script>
|
|
16
16
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-XKyaHtl9.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="./assets/vendor-lucide-C3F7vHjd.js">
|
|
18
18
|
<link rel="modulepreload" crossorigin href="./assets/vendor-markdown-DMxglFrF.js">
|
|
19
19
|
<link rel="modulepreload" crossorigin href="./assets/vendor-radix-CXYx3LLU.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="./assets/vendor-recharts-DAGVAt0P.js">
|
|
21
21
|
<link rel="modulepreload" crossorigin href="./assets/vendor-tanstack-ZnWhYpCU.js">
|
|
22
|
-
<link rel="modulepreload" crossorigin href="./assets/ToneBadge-
|
|
23
|
-
<link rel="modulepreload" crossorigin href="./assets/preload-helper-
|
|
24
|
-
<link rel="modulepreload" crossorigin href="./assets/ChartPrimitives-
|
|
25
|
-
<link rel="modulepreload" crossorigin href="./assets/account-context-
|
|
22
|
+
<link rel="modulepreload" crossorigin href="./assets/ToneBadge-DSr49xyr.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="./assets/preload-helper-CqQPtzI4.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="./assets/ChartPrimitives-DIAAi1Eq.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="./assets/account-context-CRwUczVQ.js">
|
|
26
26
|
<link rel="modulepreload" crossorigin href="./assets/async-handler-Bj3TnIRw.js">
|
|
27
|
-
<link rel="modulepreload" crossorigin href="./assets/query-client-
|
|
28
|
-
<link rel="modulepreload" crossorigin href="./assets/react-query-
|
|
29
|
-
<link rel="modulepreload" crossorigin href="./assets/card-
|
|
30
|
-
<link rel="modulepreload" crossorigin href="./assets/AccessControls-
|
|
27
|
+
<link rel="modulepreload" crossorigin href="./assets/query-client-DTIKbVqE.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="./assets/react-query-Bt-PaSFW.js">
|
|
29
|
+
<link rel="modulepreload" crossorigin href="./assets/card-DtN_FyC4.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="./assets/AccessControls-QW1RtXqK.js">
|
|
31
31
|
<link rel="modulepreload" crossorigin href="./assets/use-tooltip-position-71Ffohl_.js">
|
|
32
32
|
<link rel="modulepreload" crossorigin href="./assets/InfoTooltip-Dm4gYO4N.js">
|
|
33
33
|
<link rel="modulepreload" crossorigin href="./assets/vendor-yaml-Y43rmNgW.js">
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
activityLines,
|
|
3
|
+
showActivity
|
|
4
|
+
} from "./chunk-3TCXYRME.js";
|
|
5
|
+
import "./chunk-2GA43I45.js";
|
|
6
|
+
import "./chunk-F56XOHE2.js";
|
|
7
|
+
import "./chunk-AOJU5LKX.js";
|
|
8
|
+
import "./chunk-O6RKXY2P.js";
|
|
9
|
+
import "./chunk-ETTKN2R4.js";
|
|
10
|
+
export {
|
|
11
|
+
activityLines,
|
|
12
|
+
showActivity
|
|
13
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O6RKXY2P.js";
|
|
13
13
|
import {
|
|
14
14
|
AdsDeliverySnapshotStatuses,
|
|
15
15
|
AdsHistoricalCampaignRollupStatuses,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
describeError,
|
|
32
32
|
formatMicros,
|
|
33
33
|
formatPercent
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ETTKN2R4.js";
|
|
35
35
|
|
|
36
36
|
// src/commands/ads.ts
|
|
37
37
|
import fs from "fs";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SXLHTMXA.js";
|
|
4
|
+
import "./chunk-V42NDP4R.js";
|
|
5
|
+
import "./chunk-G7HRY36G.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-2GA43I45.js";
|
|
9
|
+
import "./chunk-F56XOHE2.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_WEBHOOK_EVENTS
|
|
12
12
|
} from "./chunk-UX3HJV2V.js";
|
|
13
13
|
import "./chunk-AOJU5LKX.js";
|
|
14
14
|
import {
|
|
15
15
|
isMachineFormat
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-O6RKXY2P.js";
|
|
17
|
+
import "./chunk-PM23BRHO.js";
|
|
18
|
+
import "./chunk-ETTKN2R4.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/agent.ts
|
|
21
21
|
async function agentAttach(opts) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
EXIT_SYSTEM_ERROR,
|
|
9
9
|
isMachineFormat,
|
|
10
10
|
printCliError
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-O6RKXY2P.js";
|
|
12
|
+
import "./chunk-ETTKN2R4.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/agent-ask.ts
|
|
15
15
|
function toFormat(raw) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isMachineFormat,
|
|
9
9
|
printCliError
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-O6RKXY2P.js";
|
|
11
|
+
import "./chunk-ETTKN2R4.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/agent-conversations.ts
|
|
14
14
|
import { randomUUID } from "crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,12 +9,12 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat,
|
|
11
11
|
usageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O6RKXY2P.js";
|
|
13
13
|
import {
|
|
14
14
|
AgentJourneyCorrelationBases,
|
|
15
15
|
agentJourneysQuerySchema,
|
|
16
16
|
formatValidationIssues
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ETTKN2R4.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/agent-journeys.ts
|
|
20
20
|
function journeyQuery({ format: _format, ...selection }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
printCliError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-O6RKXY2P.js";
|
|
14
|
+
import "./chunk-ETTKN2R4.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/agent-memory.ts
|
|
17
17
|
function toFormat(raw) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,8 +9,8 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
printCliError
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-O6RKXY2P.js";
|
|
13
|
+
import "./chunk-ETTKN2R4.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/agent-providers.ts
|
|
16
16
|
async function agentProviders(opts) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isMachineFormat,
|
|
9
9
|
printCliError
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-O6RKXY2P.js";
|
|
11
|
+
import "./chunk-ETTKN2R4.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/agent-transcript.ts
|
|
14
14
|
function toFormat(raw) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isMachineFormat,
|
|
9
9
|
usageError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O6RKXY2P.js";
|
|
11
11
|
import {
|
|
12
12
|
buildModelChangeNotice,
|
|
13
13
|
formatPercent,
|
|
14
14
|
formatSignedPointDelta,
|
|
15
15
|
queryClassFilterSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ETTKN2R4.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/analytics.ts
|
|
19
19
|
function getClient() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,10 +9,10 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat,
|
|
11
11
|
usageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O6RKXY2P.js";
|
|
13
13
|
import {
|
|
14
14
|
answerabilityQuerySchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ETTKN2R4.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/answerability.ts
|
|
18
18
|
var ANSWERABILITY_USAGE = "canonry answerability <project> [--from YYYY-MM-DD --to YYYY-MM-DD] [--signal <id>]... [--format json|jsonl]";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isEndpointMissing,
|
|
9
9
|
isMachineFormat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O6RKXY2P.js";
|
|
11
11
|
import {
|
|
12
12
|
describeError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ETTKN2R4.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/apply.ts
|
|
16
16
|
import fs from "fs";
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
backfillSnapshotAttributionCommand,
|
|
11
11
|
backfillTrafficClassificationCommand,
|
|
12
12
|
replayQueryAuditLog
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-4MEWPJ7A.js";
|
|
14
|
+
import "./chunk-2JW5OBUF.js";
|
|
15
|
+
import "./chunk-F56XOHE2.js";
|
|
16
|
+
import "./chunk-O6RKXY2P.js";
|
|
17
|
+
import "./chunk-ZXX7DMBJ.js";
|
|
18
|
+
import "./chunk-FQFL223H.js";
|
|
19
19
|
import {
|
|
20
20
|
backfillProjectAnswerMentions,
|
|
21
21
|
backfillProjectAnswerMentionsInChunks
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-WCWWHK7P.js";
|
|
23
|
+
import "./chunk-RG5E54VU.js";
|
|
24
|
+
import "./chunk-PM23BRHO.js";
|
|
25
|
+
import "./chunk-DOXBK2KF.js";
|
|
26
|
+
import "./chunk-ETTKN2R4.js";
|
|
27
27
|
export {
|
|
28
28
|
activeQueriesAt,
|
|
29
29
|
backfillAiReferralPaths,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O6RKXY2P.js";
|
|
13
13
|
import {
|
|
14
14
|
BacklinkSources,
|
|
15
15
|
CcReleaseSyncStatuses,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
backlinkSourceSchema,
|
|
18
18
|
formatPercent,
|
|
19
19
|
formatRunErrorOneLine
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ETTKN2R4.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/backlinks.ts
|
|
23
23
|
function parseSourceFlag(value) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2GA43I45.js";
|
|
4
|
+
import "./chunk-F56XOHE2.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O6RKXY2P.js";
|
|
14
14
|
import {
|
|
15
15
|
describeError,
|
|
16
16
|
formatPercent,
|
|
17
17
|
formatRunErrorOneLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ETTKN2R4.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/bing.ts
|
|
21
21
|
function getClient() {
|