PageSourceSearch

https://dynamic-catalog-creative-factory.vercel.app/assets/app-CO1tev1x.js

js dynamic-catalog-creative-factory.vercel.app collected 2026-10-03 06:49:21 UTC 18,235 bytes, 1 lines download raw bytes

1import{r,x as l,j as u,y as E,z as M,F as N,A as I,O as k,d as R}from"./components-Hjxm1_JN.js";import{i as D,n as y,d as F,M as _,E as B,u as O,P as V,a as H,t as U,c as W,b as j,S as G,T as $,e as z,g as K,I as J,f as Z,L as Q}from"./context-BPX_t8_y.js";const C="data-lock-scrolling",v="data-lock-scrolling-hidden",b="data-lock-scrolling-wrapper";let p=0;function Y(){const{body:t}=document;return t.scrollHeight>t.clientHeight}class X{constructor(){this.scrollLocks=0,this.locked=!1}registerScrollLock(){this.scrollLocks+=1,this.handleScrollLocking()}unregisterScrollLock(){this.scrollLocks-=1,this.handleScrollLocking()}handleScrollLocking(){if(D)return;const{scrollLocks:e}=this,{body:n}=document,o=n.firstElementChild;e===0?(n.removeAttribute(C),n.removeAttribute(v),o&&o.removeAttribute(b),window.scroll(0,p),this.locked=!1):e>0&&!this.locked&&(p=window.pageYOffset,n.setAttribute(C,""),Y()||n.setAttribute(v,""),o&&(o.setAttribute(b,""),o.scrollTop=p),this.locked=!0)}resetScrollPosition(){p=0}}const q=/\[(.*?)\]|(\w+)/g;function S(t,e,n){if(t==null)return;const o=Array.isArray(e)?e:ee(e);let a=t;for(let s=0;s<o.length;s++){const i=a[o[s]];if(i===void 0)return n;a=i}return a}function ee(t){const e=[];let n;for(;n=q.exec(t);){const[,o,a]=n;e.push(o||a)}return e}function te(...t){let e={};for(const n of t)e=P(e,n);return e}function P(t,e){const n=Array.isArray(t)?[...t]:{...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o))A(e[o])&&A(n[o])?n[o]=P(n[o],e[o]):n[o]=e[o];else continue;return n}function A(t){return t!==null&&typeof t=="object"}const ne=/{([^}]*)}/g;class L{constructor(e){this.translation={},this.translation=Array.isArray(e)?te(...e.slice().reverse()):e}translate(e,n){const o=S(this.translation,e,"");return o?n?o.replace(ne,a=>{const s=a.substring(1,a.length-1);if(n[s]===void 0){const i=JSON.stringify(n);throw new Error(`Error in translation for key '${e}'. No replacement found for key '${s}'. The following replacements were passed: '${i}'`)}return n[s]}):o:""}translationKeyExists(e){return!!S(this.translation,e)}}const oe=r.createContext(void 0),ae=r.createContext(void 0),re=function({children:e}){const[n,o]=r.useState(y().matches),a=r.useCallback(F(()=>{n!==y().matches&&o(!n)},40,{trailing:!0,leading:!0,maxWait:40}),[n]);r.useEffect(()=>{o(y().matches)},[]);const s=r.useMemo(()=>({isNavigationCollapsed:n}),[n]);return l.createElement(_.Provider,{value:s},l.createElement(B,{event:"resize",handler:a}),e)};function se(t,e){return l.createElement("div",{id:"PolarisPortalsContainer",ref:e})}const ie=r.forwardRef(se);function le({children:t,container:e}){const n=O(),o=r.useRef(null),a=r.useMemo(()=>e?{container:e}:n?{container:o.current}:{container:null},[e,n]);return l.createElement(V.Provider,{value:a},t,e?null:l.createElement(ie,{ref:o}))}const ce=r.createContext(void 0);function ue({children:t}){const[e,n]=r.useState([]),o=r.useCallback(i=>{n(c=>[...c,i])},[]),a=r.useCallback(i=>{let c=!0;return n(m=>{const d=[...m],h=d.indexOf(i);return h===-1?c=!1:d.splice(h,1),d}),c},[]),s=r.useMemo(()=>({trapFocusList:e,add:o,remove:a}),[o,e,a]);return l.createElement(ce.Provider,{value:s},t)}const de={tooltip:0,hovercard:0};function me({children:t}){const[e,n]=r.useState(de),o=r.useCallback(i=>{n(c=>({...c,[i]:c[i]+1}))},[]),a=r.useCallback(i=>{n(c=>({...c,[i]:c[i]-1}))},[]),s=r.useMemo(()=>({presenceList:Object.entries(e).reduce((i,c)=>{const[m,d]=c;return{...i,[m]:d>=1}},{}),presenceCounter:e,addPresence:o,removePresence:a}),[o,a,e]);return l.createElement(H.Provider,{value:s},t)}const he=20,g=30,pe=g+10;function ge(){var a;const t=document.createElement("div");t.setAttribute("style",`position: absolute; opacity: 0; transform: translate3d(-9999px, -9999px, 0); pointer-events: none; width:${g}px; height:${g}px;`);const e=document.createElement("div");e.setAttribute("style",`width:100%; height: ${pe}; overflow:scroll; scrollbar-width: thin;`),t.appendChild(e),document.body.appendChild(t);const n=g-(((a=t.firstElementChild)==null?void 0:a.clientWidth)??0),o=Math.min(n,he);document.documentElement.style.setProperty("--pc-app-provider-scrollbar-width",`${o}px`),document.body.removeChild(t)}let ye=class extends r.Component{constructor(e){super(e),this.setBodyStyles=()=>{document.body.style.backgroundColor="var(--p-color-bg)",document.body.style.color="var(--p-color-text)"},this.setRootAttributes=()=>{const a=this.getThemeName();
1U.forEach(s=>{document.documentElement.classList.toggle(W(s),s===a)})},this.getThemeName=()=>this.props.theme??j,this.stickyManager=new G,this.scrollLockManager=new X;const{i18n:n,linkComponent:o}=this.props;this.state={link:o,intl:new L(n)}}componentDidMount(){if(document!=null){this.stickyManager.setContainer(document),this.setBodyStyles(),this.setRootAttributes();const e=navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")&&(navigator.userAgent.includes("Version/16.1")||navigator.userAgent.includes("Version/16.2")||navigator.userAgent.includes("Version/16.3")),n=navigator.userAgent.includes("Shopify Mobile/iOS")&&(navigator.userAgent.includes("OS 16_1")||navigator.userAgent.includes("OS 16_2")||navigator.userAgent.includes("OS 16_3"));(e||n)&&document.documentElement.classList.add("Polaris-Safari-16-Font-Optical-Sizing-Patch")}ge()}componentDidUpdate({i18n:e,linkComponent:n}){const{i18n:o,linkComponent:a}=this.props;this.setRootAttributes(),!(o===e&&a===n)&&this.setState({link:a,intl:new L(o)})}render(){const{children:e,features:n}=this.props,o=this.getThemeName(),{intl:a,link:s}=this.state;return l.createElement($.Provider,{value:o},l.createElement(z.Provider,{value:K(o)},l.createElement(oe.Provider,{value:n},l.createElement(J.Provider,{value:a},l.createElement(ae.Provider,{value:this.scrollLockManager},l.createElement(Z.Provider,{value:this.stickyManager},l.createElement(Q.Provider,{value:s},l.createElement(re,null,l.createElement(le,null,l.createElement(ue,null,l.createElement(me,null,e)))))))))))}};var x;(function(t){t.AppStore="app_store",t.SingleMerchant="single_merchant",t.ShopifyAdmin="shopify_admin"})(x||(x={}));var w;(function(t){t.MissingShop="MISSING_SHOP",t.InvalidShop="INVALID_SHOP"})(w||(w={}));function fe(t){const{parentHeaders:e,loaderHeaders:n,actionHeaders:o,errorHeaders:a}=t;return a&&Array.from(a.entries()).length>0?a:new Headers([...e?Array.from(e.entries()):[],...n?Array.from(n.entries()):[],...o?Array.from(o.entries()):[]])}function Ce(t){if(t.constructor.name==="ErrorResponse"||t.constructor.name==="ErrorResponseImpl")return u.jsx("div",{dangerouslySetInnerHTML:{__html:t.data||"Handling response"}});throw t}const ve={error:Ce,headers:fe},be={ActionMenu:{Actions:{moreActions:"More actions"},RollupActions:{rollupButton:"View actions"}},ActionList:{SearchField:{clearButtonLabel:"Clear",search:"Search",placeholder:"Search actions"}},Avatar:{label:"Avatar",labelWithInitials:"Avatar with initials {initials}"},Autocomplete:{spinnerAccessibilityLabel:"Loading",ellipsis:"{content}…"},Badge:{PROGRESS_LABELS:{incomplete:"Incomplete",partiallyComplete:"Partially complete",complete:"Complete"},TONE_LABELS:{info:"Info",success:"Success",warning:"Warning",critical:"Critical",attention:"Attention",new:"New",readOnly:"Read-only",enabled:"Enabled"},progressAndTone:"{toneLabel} {progressLabel}"},Banner:{dismissButton:"Dismiss notification"},Button:{spinnerAccessibilityLabel:"Loading"},Common:{checkbox:"checkbox",undo:"Undo",cancel:"Cancel",clear:"Clear",close:"Close",submit:"Submit",more:"More"},ContextualSaveBar:{save:"Save",discard:"Discard"},DataTable:{sortAccessibilityLabel:"sort {direction} by",navAccessibilityLabel:"Scroll table {direction} one column",totalsRowHeading:"Totals",totalRowHeading:"Total"},DatePicker:{previousMonth:"Show previous month, {previousMonthName} {showPreviousYear}",nextMonth:"Show next month, {nextMonth} {nextYear}",today:"Today ",start:"Start of range",end:"End of range",months:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},days:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},daysAbbreviated:{monday:"Mo",tuesday:"Tu",wednesday:"We",thursday:"Th",friday:"Fr",saturday:"Sa",sunday:"Su"}},DiscardConfirmationModal:{title:"Discard all unsaved changes",message:"If you discard changes, you’ll delete any edits you made since you last saved.",primaryAction:"Discard changes",secondaryAction:"Continue editing"}
1,DropZone:{single:{overlayTextFile:"Drop file to upload",overlayTextImage:"Drop image to upload",overlayTextVideo:"Drop video to upload",actionTitleFile:"Add file",actionTitleImage:"Add image",actionTitleVideo:"Add video",actionHintFile:"or drop file to upload",actionHintImage:"or drop image to upload",actionHintVideo:"or drop video to upload",labelFile:"Upload file",labelImage:"Upload image",labelVideo:"Upload video"},allowMultiple:{overlayTextFile:"Drop files to upload",overlayTextImage:"Drop images to upload",overlayTextVideo:"Drop videos to upload",actionTitleFile:"Add files",actionTitleImage:"Add images",actionTitleVideo:"Add videos",actionHintFile:"or drop files to upload",actionHintImage:"or drop images to upload",actionHintVideo:"or drop videos to upload",labelFile:"Upload files",labelImage:"Upload images",labelVideo:"Upload videos"},errorOverlayTextFile:"File type is not valid",errorOverlayTextImage:"Image type is not valid",errorOverlayTextVideo:"Video type is not valid"},EmptySearchResult:{altText:"Empty search results"},Frame:{skipToContent:"Skip to content",navigationLabel:"Navigation",Navigation:{closeMobileNavigationLabel:"Close navigation"}},FullscreenBar:{back:"Back",accessibilityLabel:"Exit fullscreen mode"},Filters:{moreFilters:"More filters",moreFiltersWithCount:"More filters ({count})",filter:"Filter {resourceName}",noFiltersApplied:"No filters applied",cancel:"Cancel",done:"Done",clearAllFilters:"Clear all filters",clear:"Clear",clearLabel:"Clear {filterName}",addFilter:"Add filter",clearFilters:"Clear all",searchInView:"in:{viewName}"},FilterPill:{clear:"Clear",unsavedChanges:"Unsaved changes - {label}"},IndexFilters:{searchFilterTooltip:"Search and filter",searchFilterTooltipWithShortcut:"Search and filter (F)",searchFilterAccessibilityLabel:"Search and filter results",sort:"Sort your results",addView:"Add a new view",newView:"Custom search",SortButton:{ariaLabel:"Sort the results",tooltip:"Sort",title:"Sort by",sorting:{asc:"Ascending",desc:"Descending",az:"A-Z",za:"Z-A"}},EditColumnsButton:{tooltip:"Edit columns",accessibilityLabel:"Customize table column order and visibility"},UpdateButtons:{cancel:"Cancel",update:"Update",save:"Save",saveAs:"Save as",modal:{title:"Save view as",label:"Name",sameName:"A view with this name already exists. Please choose a different name.",save:"Save",cancel:"Cancel"}}},IndexProvider:{defaultItemSingular:"Item",defaultItemPlural:"Items",allItemsSelected:"All {itemsLength}+ {resourceNamePlural} are selected",selected:"{selectedItemsCount} selected",a11yCheckboxDeselectAllSingle:"Deselect {resourceNameSingular}",a11yCheckboxSelectAllSingle:"Select {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"Deselect all {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"Select all {itemsLength} {resourceNamePlural}"},IndexTable:{emptySearchTitle:"No {resourceNamePlural} found",emptySearchDescription:"Try changing the filters or search term",onboardingBadgeText:"New",resourceLoadingAccessibilityLabel:"Loading {resourceNamePlural}…",selectAllLabel:"Select all {resourceNamePlural}",selected:"{selectedItemsCount} selected",undo:"Undo",selectAllItems:"Select all {itemsLength}+ {resourceNamePlural}",selectItem:"Select {resourceName}",selectButtonText:"Select",sortAccessibilityLabel:"sort {direction} by"},Loading:{label:"Page loading bar"},Modal:{iFrameTitle:"body markup",modalWarning:"These required properties are missing from Modal: {missingProps}"},Page:{Header:{rollupActionsLabel:"View actions for {title}",pageReadyAccessibilityLabel:"{title}. This page is ready"}},Pagination:{previous:"Previous",next:"Next",pagination:"Pagination"},ProgressBar:{negativeWarningMessage:"Values passed to the progress prop shouldn’t be negative. Resetting {progress} to 0.",exceedWarningMessage:"Values passed to the progress prop shouldn’t exceed 100. Setting {progress} to 100."},ResourceList:{sortingLabel:"Sort by",defaultItemSingular:"item",defaultItemPlural:"items",showing:"Showing {itemsCount} {resource}",showingTotalCount:"Showing {itemsCount} of {totalItemsCount} {resource}",loading:"Loading {resource}",selected:"{selectedItemsCount} selected",allItemsSelected:"All {itemsLength}+ {resourceNamePlural} in your store are selected",allFilteredItemsSelected:"All {itemsLength}+ {resourceNamePlural} in this filter are selected",selectAllItems:"Select all {itemsLength}+ {resourceNamePlural} in your store",selectAllFilteredItems:"Select all {itemsLength}+ {resourceNamePlural} in this filter",emptySearchResultTitle:"No {resourceNamePlural} found",emptySearchResultDescription:"Try changing the filters or search term",selectButtonText:"Select",a11yCheckboxDeselectAllSingle:"Deselect {resourceNameSingular}",a11yCheckboxSelectAllSingle:"Select {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"Deselect all {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"Select all {itemsLength} {resourceNamePlural}",Item:{actionsDropdownLabel:"Actions for {accessibilityLabel}",actionsDropdown:"Actions dropdown",viewItem:"View details for {itemName}"},BulkActions:{actionsActivatorLabel:"Actions",moreActionsActivatorLabel:"More actions"}},SkeletonPage:{loadingLabel:"Page loading"},Tabs:{newViewAccessibilityLabel:"Create new view",newViewTooltip:"
1Create view",toggleTabsLabel:"More views",Tab:{rename:"Rename view",duplicate:"Duplicate view",edit:"Edit view",editColumns:"Edit columns",delete:"Delete view",copy:"Copy of {name}",deleteModal:{title:"Delete view?",description:"This can’t be undone. {viewName} view will no longer be available in your admin.",cancel:"Cancel",delete:"Delete view"}},RenameModal:{title:"Rename view",label:"Name",cancel:"Cancel",create:"Save",errors:{sameName:"A view with this name already exists. Please choose a different name."}},DuplicateModal:{title:"Duplicate view",label:"Name",cancel:"Cancel",create:"Create view",errors:{sameName:"A view with this name already exists. Please choose a different name."}},CreateViewModal:{title:"Create new view",label:"Name",cancel:"Cancel",create:"Create view",errors:{sameName:"A view with this name already exists. Please choose a different name."}}},Tag:{ariaLabel:"Remove {children}"},TextField:{characterCount:"{count} characters",characterCountWithMaxLength:"{count} of {limit} characters used"},TooltipOverlay:{accessibilityLabel:"Tooltip: {label}"},TopBar:{toggleMenuLabel:"Toggle menu",SearchField:{clearButtonLabel:"Clear",search:"Search"}},MediaCard:{dismissButton:"Dismiss",popoverButton:"Actions"},VideoThumbnail:{playButtonA11yLabel:{default:"Play video",defaultWithDuration:"Play video of length {duration}",duration:{hours:{other:{only:"{hourCount} hours",andMinutes:"{hourCount} hours and {minuteCount} minutes",andMinute:"{hourCount} hours and {minuteCount} minute",minutesAndSeconds:"{hourCount} hours, {minuteCount} minutes, and {secondCount} seconds",minutesAndSecond:"{hourCount} hours, {minuteCount} minutes, and {secondCount} second",minuteAndSeconds:"{hourCount} hours, {minuteCount} minute, and {secondCount} seconds",minuteAndSecond:"{hourCount} hours, {minuteCount} minute, and {secondCount} second",andSeconds:"{hourCount} hours and {secondCount} seconds",andSecond:"{hourCount} hours and {secondCount} second"},one:{only:"{hourCount} hour",andMinutes:"{hourCount} hour and {minuteCount} minutes",andMinute:"{hourCount} hour and {minuteCount} minute",minutesAndSeconds:"{hourCount} hour, {minuteCount} minutes, and {secondCount} seconds",minutesAndSecond:"{hourCount} hour, {minuteCount} minutes, and {secondCount} second",minuteAndSeconds:"{hourCount} hour, {minuteCount} minute, and {secondCount} seconds",minuteAndSecond:"{hourCount} hour, {minuteCount} minute, and {secondCount} second",andSeconds:"{hourCount} hour and {secondCount} seconds",andSecond:"{hourCount} hour and {secondCount} second"}},minutes:{other:{only:"{minuteCount} minutes",andSeconds:"{minuteCount} minutes and {secondCount} seconds",andSecond:"{minuteCount} minutes and {secondCount} second"},one:{only:"{minuteCount} minute",andSeconds:"{minuteCount} minute and {secondCount} seconds",andSecond:"{minuteCount} minute and {secondCount} second"}},seconds:{other:"{secondCount} seconds",one:"{secondCount} second"}}}}},Se={Polaris:be},Ae="https://cdn.shopify.com/shopifycloud/app-bridge.js",Le=l.forwardRef((t,e)=>u.jsx(E,{...t,to:t.url??t.to,ref:e}));function xe(t){const{children:e,apiKey:n,i18n:o,isEmbeddedApp:a=!0,__APP_BRIDGE_URL:s=Ae,...i}=t,c=M();return r.useEffect(()=>{const m=d=>{var f;const h=(f=d.target)==null?void 0:f.getAttribute("href");h&&c(h)};return addEventListener("shopify:navigate",m),()=>{removeEventListener("shopify:navigate",m)}},[c]),u.jsxs(u.Fragment,{children:[a&&u.jsx("script",{src:s,"data-api-key":n}),u.jsx(ye,{...i,linkComponent:Le,i18n:o||Se,children:e})]})}const T=r.createContext(null);r.forwardRef(function(e,n){const o=r.useContext(T);if(!o)throw new Error("AppProxyForm must be used within an AppProxyProvider component");const{children:a,action:s,...i}=e;return u.jsx(N,{action:o.formatUrl(s,!1),...i,ref:n,children:a})});r.forwardRef(function(e,n){const o=r.useContext(T);if(!o)throw new Error("AppProxyLink must be used within an AppProxyProvider component");const{children:a,href:s,...i}=e;return u.jsx("a",{href:o.formatUrl(s),...i,ref:n,children:a})});const we="/assets/styles-BeiPL2RV.css",Pe="/assets/theme-BGIHyOay.css",Ne=()=>[{rel:"stylesheet",href:we},{rel:"stylesheet",href:Pe}];function Ie(){const{apiKey:t}=I();return u.jsx(xe,{isEmbeddedApp:!0,apiKey:t,children:u.jsx(k,{})})}function ke(){return ve.error(R())}export{ke as ErrorBoundary,Ie as default,Ne as links};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.