PageSourceSearch

https://app.gripsintelligence.com/_next/static/chunks/9165.59e3cccdf440b956.js

js gripsintelligence.com collected 2026-10-02 04:19:17 UTC 13,669 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9165],{84945:function(h,b,a){a.d(b,{Z:function(){return y}});var i=a(63366),j=a(87462),c=a(67294),k=a(86010),l=a(94780),m=a(94173),n=a(36765),o=a(9448),d=a(2005),p=a(62753),q=a(34867),e=a(1588);function r(a){return(0,q.Z)("MuiFormControlLabel",a)}let f=(0,e.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]);var s=f,t=a(50793),u=a(85893);let v=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],w=b=>{let{classes:c,disabled:a,labelPlacement:d,error:e}=b,f={root:["root",a&&"disabled",`labelPlacement${(0,o.Z)(d)}`,e&&"error"],label:["label",a&&"disabled"]};return(0,l.Z)(f,r,c)},x=(0,d.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver(b,a){let{ownerState:c}=b;return[{[`& .${s.label}`]:a.label},a.root,a[`labelPlacement${(0,o.Z)(c.labelPlacement)}`]]}})(({theme:b,ownerState:a})=>(0,j.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${s.disabled}`]:{cursor:"default"}},"start"===a.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===a.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===a.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${s.label}`]:{[`&.${s.disabled}`]:{color:(b.vars||b).palette.text.disabled}}})),g=c.forwardRef(function(l,o){let d=(0,p.Z)({props:l,name:"MuiFormControlLabel"}),{className:q,componentsProps:r={},control:e,disabled:s,disableTypography:y,label:z,labelPlacement:A="end"}=d,B=(0,i.Z)(d,v),f=(0,m.Z)(),a=s;void 0===a&& void 0!==e.props.disabled&&(a=e.props.disabled),void 0===a&&f&&(a=f.disabled);let C={disabled:a};["checked","name","onChange","value","inputRef"].forEach(a=>{void 0===e.props[a]&& void 0!==d[a]&&(C[a]=d[a])});let D=(0,t.Z)({props:d,muiFormControl:f,states:["error"]}),g=(0,j.Z)({},d,{disabled:a,labelPlacement:A,error:D.error}),h=w(g),b=z;return null==b||b.type===n.Z||y||(b=(0,u.jsx)(n.Z,(0,j.Z)({component:"span",className:h.label},r.typography,{children:b}))),(0,u.jsxs)(x,(0,j.Z)({className:(0,k.Z)(h.root,q),ownerState:g,ref:o},B,{children:[c.cloneElement(e,C),b]}))});var y=g},14699:function(c,b,a){a.d(b,{Ah:function(){return k},rx:function(){return i},xq:function(){return j}});var d=a(14924),e=a(26042),f=a(69396),g=a(81996),h=a(11640),i=function(a,b){return a.filter(function(a){return!["1m"].includes(a.value)}).map(function(a){return b?(0,f.Z)((0,e.Z)({},a),{disabled:"3m"!==a.value}):a})},j=function(b,c){var a;return c?(0,f.Z)((0,e.Z)({},b),(a={},(0,d.Z)(a,g.Fe.period,!1),(0,d.Z)(a,g.Fe.year,!1),a)):b},k=function(a,c){if(!c)return[];a.sort(function(a,b){return b.getTime()-a.getTime()});var b=a[0],d=(0,h.Z)(b,-2);return(0,g.cO)(a,d,b)}},95835:function(m,c,a){a.r(c),a.d(c,{RetailerIntelligenceLayout:function(){return l},default:function(){return al}});var n=a(85893),o=a(67294),p=a(4480),q=a(45100),r=a(5974),s=a(37319),t=a(26042),u=a(69396),v=a(828),w=a(61086),x=a(48804),y=a(40348),z=a(86439),A=a(52731),B=a(54984),C=a(90468),D=a(81996),E=a(77468),F=a(99534),G=a(7297),H=a(49521),I=a(36765),J=a(11163),K=a(67756),L=a(40333),M=a(41885),N=a(29815),b=a(19521),O=a(4420),P=a(67318),Q=a(98360),R=a(64341),d=a(51594);function e(){var a=(0,G.Z)(["\n  && {\n    .MuiOutlinedInput-root {\n      background-color: ",";\n      border: 1px solid ",";\n\n      &.Mui-focused {\n        border-color: ",";\n      }\n\n      border-radius: 6px 0 0 6px;\n      height: 40px;\n      padding: 0 12px;\n\n      input {\n        ",";\n      }\n\n      fieldset {\n        border: none;\n      }\n\n      &:hover,\n      &.Mui-focused {\n        fieldset {\n          border: none;\n        }\n      }\n    }\n  }\n"]);return e=function(){return a},a}function f(){var a=(0,G.Z)(["\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n"]);return f=function(){return a},a}function S(){var a=(0,G.Z)(["\n        position: absolute;\n        content: '';\n        bottom: 0;\n        left: 12px;\n        right: 12px;\n        height: 3px;\n        background-color: ",";\n        border-radius: 4px 4px 0 0;\n      "]);return S=function(){return a},a}function T(){var a=(0,G.Z)(["\n        color: ",";\n        background-color: ",";\n        border-radius: 6px;\n      "]);return T=function(){return a},a}function g(){var a=(0,G.Z)(["\n  height: 44px;\n  cursor: pointer;\n\n  position: relative;\n\n  padding: 10px 12px 13px;\n\n  ","\n\n  transition: color 0.1s;\n\n  &:before {\n    ","\n  }\n\n  &:hover {\n    ","\n  }\n"]);return g=function(){return a},a}function h(){var a=(0,G.Z)(["\n  cursor: pointer;\n  padding: 0;\n"]);return h=function(){return a},a}function i(){var a=(0,G.Z)(["\n  cursor: pointer;\n  width: 46px;\n  height: 40px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  background-color: ",";\n  border-radius: 0 6px 6px 0;\n\n  :hover {\n    cursor: pointer;\n    background-color: ",";\n  }\n\n  svg {\n    path {\n      fill: ",";\n    }\n  }\n"]);return i=function(){return a},a}function j(){var a=(0,G.Z)(["\n  && {\n    padding: ",";\n    border-radius: 6px;\n    height: 345px;\n    max-height: 345px;\n\n    position: relative;\n\n    min-width: 660px !important;\n\n    background-color: ",";\n    box-shadow: 0 4px 20px 0 #0000000f;\n\n    overflow-y: auto;\n    overflow-x: hidden;\n  }\n"]);return j=function(){return a},a}var U=(0,b.ZP)(function(a){a.isFocused;var b=(0,F.Z)(a,["isFocused"]);return(0,n.jsx)(Q.Z,(0,t.Z)({},b))}).withConfig({componentId:"sc-109fdf82-0"})(e(),function(a){return a.theme.palette.primary.PurpleLight03},function(a){return a.theme.palette.primary.PurpleLight02},function(a){return a.theme.palette.primary.PurpleBase},function(a){return a.theme.inter.sh6});(0,b.ZP)(d.Z).withConfig({componentId:"sc-109fdf82-1"})(f()),(0,b.ZP)(function(a){a.active;var b=(0,F.Z)(a,["active"]);return(0,n.jsx)(I.Z,(0,t.Z)({},b))}).withConfig({componentId:"sc-109fdf82-2"})(g(),function(b){var c=b.active,a=b.theme;return c?(0,u.Z)((0,t.Z)({},a.inter.h6),{color:a.palette.primary.PurpleDark02}):(0,u.Z)((0,t.Z)({},a.inter.sh6),{color:a.palette.gray.GrayDark02})},function(a){var c=a.active,d=a.theme;return c&&(0,b.iv)(S(),d.palette.primary.PurpleDark02)},function(a){var d=a.active,c=a.theme;return!d&&(0,b.iv)(T(),c.palette.gray.GrayDark03,c.palette.primary.PurpleLight03)}
1);var V=(0,b.ZP)(function(a){return(0,n.jsx)(O.Z,(0,u.Z)((0,t.Z)({},a),{disableRipple:!0,children:(0,n.jsx)(R.Pb,{height:14})}))}).withConfig({componentId:"sc-109fdf82-3"})(h()),W=(0,b.ZP)(function(a){return(0,n.jsx)("div",(0,u.Z)((0,t.Z)({},a),{children:(0,n.jsx)(R.ol,{})}))}).withConfig({componentId:"sc-109fdf82-4"})(i(),function(a){return a.theme.palette.primary.PurpleBase},function(a){return a.theme.palette.primary.PurpleDark01},function(a){return a.theme.palette.gray.White}),X=(0,b.ZP)(function(b){var c=b.modifiers,a=(0,F.Z)(b,["modifiers"]);return a=(0,t.Z)({placement:"bottom-start"},a),(0,n.jsx)(P.Z,(0,t.Z)({modifiers:(0,N.Z)(c||[]).concat([{name:"offset",options:{offset:[0,4]}},])},a))}).withConfig({componentId:"sc-109fdf82-5"})(j(),function(a){return a.theme.spacing(0,1.5)},function(a){return a.theme.palette.gray.White}),Y=a(48456),Z=a(7229),$=a(3e3),_=a(7601),aa=a(13235);function k(){var a=(0,G.Z)(["\n  display: flex;\n  flex: 1;\n  height: 275px;\n  background: url('/svgs/dottedCircle.svg') bottom no-repeat;\n"]);return k=function(){return a},a}var ab=(0,b.ZP)(function(a){return(0,n.jsx)(d.Z,(0,u.Z)((0,t.Z)({},a),{children:(0,n.jsxs)(d.Z,{sx:{display:"flex",flexDirection:"column",mt:12,mx:"auto",alignItems:"center"},children:[(0,n.jsx)(I.Z,{variant:"interSH6",sx:{color:"gray.GrayDark01"},children:"Start by entering an e-commerce domain"}),(0,n.jsx)(I.Z,{variant:"interSH6",sx:{color:"gray.GrayDark01"},children:"in the search bar above."})]})}))}).withConfig({componentId:"sc-e0cfd848-0"})(k()),ac=function(d){var b,a=d.search,i=d.onSelect,e=(0,p.sJ)(M.cR),f=(0,E.wh)((null===(b=(0,aa.S)(a))|| void 0===b?void 0:b.length)>2?" ":null,"api/search?q=".concat((0,aa.S)(a)),{shouldRetryOnError:!1}),g=f.data,h=(void 0===g?{}:g).data,j=f.isLoading,c=(void 0===h?[]:h).map(function(a){return a.domain}),k=!(a.length>2)||j||c.length?"Please enter at least 3 characters to search for retailers.":"There are no retailers matching for \u2018".concat(a,"\u2019. Try a different search phrase.");return 0===e.length&&0===c.length?(0,n.jsx)(ab,{}):(0,n.jsx)(L.v5,{sx:{pb:1},notFoundMessage:k,showRecentRetailers:!a,recentRetailers:e,retailers:c,onRetailerSelect:i})},ad=function(c){var a,j=c.app;c.category;var k=(0,J.useRouter)(),d=(0,o.useState)(!1),i=d[0],l=d[1],e=(0,o.useState)(""),b=e[0],m=e[1],f=(0,v.Z)((0,p.FV)(A.gH),2),q=(f[0],f[1]),g=(0,E.wh)((null===(a=(0,aa.S)(b))|| void 0===a?void 0:a.length)>2?" ":null,"api/search?q=".concat((0,aa.S)(b)),{shouldRetryOnError:!1}).data,h=(void 0===g?{}:g).data,r=(void 0===h?[]:h).map(function(a){return a.domain}),s=function(a){if((a=(0,aa.S)(a))&&(j!==_.g.RETAILER||a!==k.query.domain)){if((0,Y.qP)(j+"_search",{searchTag:"domain",searched:b,selected:a}),l(!1),q((0,$.mx)("none").code),r.includes(a))setTimeout(function(){k.push(Z.d3.domain(a))},100);else{var c=r.find(function(b){return b.startsWith("".concat(a,".com"))});c||(c=r.find(function(b){return b.startsWith(a)})),(a=c||a).includes(".")||(a+=".com"),setTimeout(function(){k.push(Z.d3.domain(a))},100)}}},w=function(a){s(a)};return(0,n.jsx)(K.Z,{onClickAway:function(){return l(!1)},children:(0,n.jsxs)(z.Gh,{children:[(0,n.jsx)(H.Z,{freeSolo:!0,fullWidth:!0,disableClearable:!0,inputValue:b||"",onFocus:function(){return l(!0)},options:[],open:i,onInputChange:function(b,a){i||l(!0),m(a)},renderInput:function(a){return(0,n.jsx)(U,(0,u.Z)((0,t.Z)({},a),{isFocused:i,InputProps:(0,u.Z)((0,t.Z)({},a.InputProps),{endAdornment:b.length?(0,n.jsx)(V,{onClick:function(){return m("")}}):null,inputProps:(0,u.Z)((0,t.Z)({},a.inputProps),{"data-hj-allow":""})}),placeholder:"Enter e-commerce domain",onKeyPress:function(a){"Enter"===a.key&&(a.preventDefault(),w(b))}}))},PopperComponent:function(a){a.children;var c=(0,F.Z)(a,["children"]);return(0,n.jsx)(X,(0,u.Z)((0,t.Z)({},c),{children:(0,n.jsx)(ac,{search:b,onSelect:s})}))}}),(0,n.jsx)(W,{onClick:function(){return w(b)}})]})})},ae=a(42277),af=a(14699),ag=a(43537),ah=a(14276),ai=function(){var h=(0,ae.Z)(),b=h.canUseDatePicker,i=h.canUseRetailerCountryPicker,O=(0,v.Z)((0,p.FV)(q.xn),1)[0],j=(0,v.Z)((0,p.FV)((0,D.re)(D.Nc.ci)),2),c=j[0],k=c.dateRange,W=c.title,P=c.value,Q=c.calculatedDates,X=j[1],R=(0,v.Z)((0,p.FV)(A.gH),2),S=R[1],Z=(0,p.sJ)(A.Qq),e=(0,p.sJ)(C.fd),l=(0,v.Z)(k||[],2),m=l[0],r=l[1],s=(0,o.useState)(null),d=s[0],$=s[1],T=(0,p.sJ)((0,D.zF)(D.fw.retailer_intelligence)),F=(0,v.Z)((0,p.FV)(ag.Tq),2),aa=(F[0],F[1]),U=(0,v.Z)((0,p.FV)(ah.HJ),2),ab=U[1],V=(0,p.sJ)((0,D.r6)(D.Nc.ci)),G=(0,p.$P)((0,D.i4)(e)),H="hasValue"===G.state?G.contents:V,I=(0,v.Z)((0,p.FV)((0,D.GI)(D.Nc.ci)),2),f=I[0],ac=I[1],g=(0,p.$P)(C.Hf),a="hasValue"===g.state&&g.contents?g.contents:T;(0,o.useEffect)(function(){H[f]||ac(D.Fe.none)},[H[f],e]),(0,o.useEffect)(function(){if(f===D.Fe.none||!Q||!Q.monthPreviousPeriodFrom||!Q.monthPreviousPeriodTo||!Q.monthPreviousYearFrom||!Q.monthPreviousYearTo){$(null);return}if(!b){$(null),ac(D.Fe.none);return}if(f===D.Fe.period){$({start:Q.monthPreviousPeriodFrom,end:Q.monthPreviousPeriodTo});return}if(f===D.Fe.year){$({start:null==Q?void 0:Q.monthPreviousYearFrom,end:null==Q?void 0:Q.monthPreviousYearTo});return}},[Q,f,b]),(0,o.useEffect)(function(){k||X({title:W,value:P})},[k]);var J=(0,E.wh)(" ","api/domain/countries?q=".concat(e),{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1}),K=J.data,L=(void 0===K?{}:K).data,ai=void 0===L?[]:L;J.error;var M=B.x.countries.map(function(a){return(0,u.Z)((0,t.Z)({},a),{isLocked:"none"!==a.code&&!i})}).filter(function(a){return"none"===a.code||null==ai||!ai.length||ai.includes(a.code)});(0,o.useEffect)(function(){M.length>0&&!M.filter(function(a){return!a.isLocked}).map(function(a){return a.code}).includes(Z.code)&&S(M[0].code)},[i,M]);var N=(0,D.eH)(null==a?void 0:a.minDate,null==a?void 0:a.maxDate);return(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(w.ZP,{}),(0,n.jsxs)(z.OR,{position:"sticky",secondarySidebarShowed:O,children:[(0,n.jsx)(ad,{app:_.g.RETAILER}),(0,n.jsxs)(z.x$,{children:[(0,n.jsx)(y.N,{countries:M,regions:B.x.regions,onSelectCountry:S,country:B.x.countries.find(function(a){return a.code===Z.code}),showUpsell:!i}),m&&r&&(0,n.jsx)(x.c,{compareStartDate:null==d?void 0:d.start,compareEndDate:null==d?void 0:d.end,availablePreviousStates:(0,af.xq)(H,!b),startDate:m,endDate:r,lastUpdateDate:null==a?void 0:a.lastDataUpdate,enabledMonths:N,lockedMonths:(0,af.Ah)(N,!b),onChangeInputDate:function(a,b){a&&b&&X({title:"Custom",value:"custom",dateRange:[a,b]})},onChangeInputDateCompareType:function(a){return ac(a)},compareTypeValue:f,typeValue:P,onChangeInputDateType:function(a){return X(a)},typeOptions:(0,af.rx)(D.mS,!b),showUpsell:!b}),(0,n.jsx)(z.YW,{onClick:function(a){null==a||a.preventDefault(),null==a||a.stopPropagation(),ab(null),aa(!0),(0,Y.qP)("our_data",{location:"retailer",action:"open"})}})]})]})]})},aj=a(92725),ak=a(92071),l=function(b){var a=(0,p.sJ)(q.EJ);(0,aj.wE)();var c=(0,ae.Z)().trialEndDate;return(0,n.jsx)(s.default,{children:(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(q.ZP,{}),!!c&&(0,n.jsx)(ak.Z,{sidebarWidth:a}),(0,n.jsx)(ai,{}),(0,n.jsx)(r.x,{width:a,children:b.children})]})})},al=l}}])

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.