PageSourceSearch

https://myrentals.primedumpster.com/_next/static/chunks/3h1pqzt80h00d.js

js primedumpster.com collected 2026-09-25 06:58:45 UTC 16,223 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26495,t=>{"use strict";let e=(0,t.i(56420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);t.s(["default",0,e])},99376,t=>{"use strict";function e(t){return t.replace(/\D+/g,"")}function i(t){let i=e(t??"");return i.startsWith("1")?i.slice(0,11):i.slice(0,10)}function r(t){let i=e(t??""),r=i.startsWith("1"),n=(r?i.slice(1):i).slice(0,10),s=r||10===n.length?"+1 ":"";return n?n.length<=3?`${s}${n}`:n.length<=6?`${s}(${n.slice(0,3)}) ${n.slice(3)}`:`${s}(${n.slice(0,3)}) ${n.slice(3,6)}-${n.slice(6)}`:r?"+1":""}let n=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;t.s(["CONTACT_NAME_MAX_LENGTH",0,160,"US_PHONE_MAX_LENGTH",0,17,"emailError",0,function(t){let e=(t??"").trim();return e?n.test(e)?null:"Enter a valid email address, like [email protected]":"Enter your email address"},"formatUsPhoneInput",0,r,"nameError",0,function(t){let e=(t??"").trim();return e?e.length>160?"Keep your name under 160 characters":null:"Enter your name"},"usPhoneDigits",0,i,"usPhoneEdit",0,function(t,n,s){let a=r(s),o=a.startsWith("+1")&&!s.startsWith("1")&&t.startsWith("+1"),u=o?t.slice(2):t,l=o?Math.max(0,n-2):n,d=i(u),c=e(u.slice(0,l)).length;return t.length<a.length&&d===s&&c>0&&(d=d.slice(0,c-1)+d.slice(c),c-=1),{digits:d,caret:function(t,e,i){let r=t.startsWith("+1")&&!e.startsWith("1")?2:0;if(0===i)return r;let n=0;for(let e=r;e<t.length;e++)if(t[e]>="0"&&t[e]<="9"&&++n===i)return e+1;return t.length}(r(d),d,c)}},"usPhoneError",0,function(t){let i=(t??"").trim();if(!i)return"Enter your phone number";let r=e(i),n=r.startsWith("1")?r.slice(1):r;return 10===n.length?null:n.length<10?"That number is too short — US numbers have 10 digits":"Enter a 10-digit US phone number"},"usPhoneLocalDigits",0,function(t){let e=i(t??"");return 11===e.length&&e.startsWith("1")?e.slice(1):e}])},24687,t=>{"use strict";var e=t.i(43476),i=t.i(75157);t.s(["Textarea",0,function({className:t,...r}){return(0,e.jsx)("textarea",{"data-slot":"textarea",className:(0,i.cn)("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",t),...r})}])},96315,t=>{"use strict";let e=(0,t.i(56420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);t.s(["Mail",0,e],96315)},10204,t=>{"use strict";var e=t.i(43476),i=t.i(75157);t.s(["Label",0,function({className:t,...r}){return(0,e.jsx)("label",{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...r})}])},57905,t=>{"use strict";var e=t.i(71645);let i=e.createContext(void 0),r={disableStyleElements:!1};t.s(["useCSPContext",0,function(){return e.useContext(i)??r}])},52640,80877,t=>{"use strict";let e="data-composite-item-active";t.s(["ACTIVE_COMPOSITE_ITEM",0,e],52640);var i=t.i(71645),r=t.i(17514),n=t.i(39060),s=t.i(76477),a=t.i(26292),o=t.i(96374),u=t.i(43801),l=t.i(30780);let d=[];var c=t.i(84977),h=t.i(69095),m=t.i(91822),g=t.i(43476);t.s(["CompositeRoot",0,function(t){let{render:p,className:f,style:b,refs:y=r.EMPTY_ARRAY,props:x=r.EMPTY_ARRAY,state:v=r.EMPTY_OBJECT,stateAttributesMapping:R,highlightedIndex:O,onHighlightedIndexChange:E,orientation:S,dense:C,itemSizes:M,loopFocus:T,onLoop:I,cols:A,enableHomeAndEndKeys:N,onMapChange:_,stopEventPropagation:P=!0,rootRef:j,disabledIndices:k,modifierKeys:D,highlightItemOnHover:W=!1,tag:K="div",...L}=t,{props:w,highlightedIndex:F,onHighlightedIndexChange:U,elementsRef:H,onMapChange:z,relayKeyboardEvent:$}=function(t){let{itemSizes:r,cols:n=1,loopFocus:c=!0,onLoop:h,dense:m=!1,orientation:g="both",direction:p,highlightedIndex:f,onHighlightedIndexChange:b,rootRef:y,enableHomeAndEndKeys:x=!1,stopEventPropagation:v=!1,disabledIndices:R,modifierKeys:O=d}=t,[E,S]=i.useState(0),C=n>1,M=i.useRef(null),T=(0,a.useMergedRefs)(M,y),I=i.useRef([]),A=i.useRef(!1),N=f??E,_=(0,s.use
1StableCallback)((t,e=!1)=>{if((b??S)(t),e){let e=I.current[t];(0,o.scrollIntoViewIfNeeded)(M.current,e,p,g)}}),P=(0,s.useStableCallback)(t=>{if(0===t.size||A.current)return;A.current=!0;let i=Array.from(t.keys()),r=i.find(t=>t?.hasAttribute(e))??null,n=r?i.indexOf(r):-1;-1!==n&&_(n),(0,o.scrollIntoViewIfNeeded)(M.current,r,p,g)}),j=(0,s.useStableCallback)((t,e,i)=>h?h?.(t,e,i,I):i),k=i.useMemo(()=>({"aria-orientation":"both"===g?void 0:g,ref:T,onFocus(t){let e=M.current,i=(0,l.getTarget)(t.nativeEvent);e&&null!=i&&(0,o.isNativeInput)(i)&&i.setSelectionRange(0,i.value.length??0)},onKeyDown(t){let e=x?o.COMPOSITE_KEYS:o.ARROW_KEYS;if(!e.has(t.key)||function(t,e){for(let i of o.MODIFIER_KEYS.values())if(!e.includes(i)&&t.getModifierState(i))return!0;return!1}(t,O)||!M.current)return;let i="rtl"===p,s=i?o.ARROW_LEFT:o.ARROW_RIGHT,a={horizontal:s,vertical:o.ARROW_DOWN,both:s}[g],d=i?o.ARROW_RIGHT:o.ARROW_LEFT,f={horizontal:d,vertical:o.ARROW_UP,both:d}[g],b=(0,l.getTarget)(t.nativeEvent);if(null!=b&&(0,o.isNativeInput)(b)&&!(null==b||b.hasAttribute("disabled")||"true"===b.getAttribute("aria-disabled"))){let e=b.selectionStart,i=b.selectionEnd,r=b.value??"";if(null==e||t.shiftKey||e!==i||t.key!==f&&e<r.length||t.key!==a&&e>0)return}let y=N,E=(0,u.getMinListIndex)(I,R),S=(0,u.getMaxListIndex)(I,R);if(C){let e=r||Array.from({length:I.current.length},()=>({width:1,height:1})),s=(0,u.createGridCellMap)(e,n,m),a=s.findIndex(t=>null!=t&&!(0,u.isListIndexDisabled)(I.current,t,R)),l=s.reduce((t,e,i)=>null==e||(0,u.isListIndexDisabled)(I.current,e,R)?t:i,-1);y=s[(0,u.getGridNavigatedIndex)(s.map(t=>null!=t?I.current[t]:null),{event:t,orientation:g,loopFocus:c,onLoop:j,cols:n,disabledIndices:(0,u.getGridCellIndices)([...R||I.current.map((t,e)=>(0,u.isListIndexDisabled)(I.current,e)?e:void 0),void 0],s),minIndex:a,maxIndex:l,prevIndex:(0,u.getGridCellIndexOfCorner)(N>S?E:N,e,s,n,t.key===o.ARROW_DOWN?"bl":t.key===o.ARROW_RIGHT?"tr":"tl"),rtl:i})]}let T={horizontal:[s],vertical:[o.ARROW_DOWN],both:[s,o.ARROW_DOWN]}[g],A={horizontal:[d],vertical:[o.ARROW_UP],both:[d,o.ARROW_UP]}[g],P=C?e:({horizontal:x?o.HORIZONTAL_KEYS_WITH_EXTRA_KEYS:o.HORIZONTAL_KEYS,vertical:x?o.VERTICAL_KEYS_WITH_EXTRA_KEYS:o.VERTICAL_KEYS,both:e})[g];x&&(t.key===o.HOME?y=E:t.key===o.END&&(y=S)),y===N&&(T.includes(t.key)||A.includes(t.key))&&(c&&y===S&&T.includes(t.key)?(y=E,h&&(y=h(t,N,y,I))):c&&y===E&&A.includes(t.key)?(y=S,h&&(y=h(t,N,y,I))):y=(0,u.findNonDisabledListIndex)(I.current,{startingIndex:y,decrement:A.includes(t.key),disabledIndices:R})),y===N||(0,u.isIndexOutOfListBounds)(I.current,y)||(v&&t.stopPropagation(),P.has(t.key)&&t.preventDefault(),_(y,!0),queueMicrotask(()=>{I.current[y]?.focus()}))}}),[n,m,p,R,I,x,N,C,r,c,h,j,T,O,_,g,v]);return i.useMemo(()=>({props:k,highlightedIndex:N,onHighlightedIndexChange:_,elementsRef:I,disabledIndices:R,onMapChange:P,relayKeyboardEvent:k.onKeyDown}),[k,N,_,I,R,P])}({itemSizes:M,cols:A,loopFocus:T,onLoop:I,dense:C,orientation:S,highlightedIndex:O,onHighlightedIndexChange:E,rootRef:j,stopEventPropagation:P,enableHomeAndEndKeys:N,direction:(0,m.useDirection)(),disabledIndices:k,modifierKeys:D}),Y=(0,h.useRenderElement)(K,t,{state:v,ref:y,props:[w,...x,L],stateAttributesMapping:R}),q=i.useMemo(()=>({highlightedIndex:F,onHighlightedIndexChange:U,highlightItemOnHover:W,relayKeyboardEvent:$}),[F,U,W,$]);return(0,g.jsx)(c.CompositeRootContext.Provider,{value:q,children:(0,g.jsx)(n.CompositeList,{elementsRef:H,onMapChange:t=>{_?.(t),z(t)},children:Y})})}],80877)},15288,t=>{"use strict";var e=t.i(43476),i=t.i(75157);t.s(["Card",0,function({className:t,size:r="default",...n}){return(0,e.jsx)("div",{"data-slot":"card","data-size":r,className:(0,i.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-2xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 shadow-sm [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-2xl *:[img:last-child]:rounded-b-2xl",t),...n})},"CardContent",0,function({className:t,...r}){return(0,e.jsx)("div",{"data-slot":"card-content",className:(0,i.cn)("px-(--card-spacing)",t),...r})},"CardDescription",0,function({className:t,...r}){return(0,e.jsx)("div",{"data-slot":"card-description",className:(0,i.cn)("text-sm text-muted-foreground",t),...r})},"CardHeader",0,function({className:t,...r}){return(0,e.jsx)("div",{"data-slot":"card-header",className:(0,i.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-2xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",t),...r})},"CardTitle",0,function({className:t,...r}){return(0,e.jsx)("div",{"data-slot":"card-title",className:(0,i.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",t),...r})}])},54616,t=>{"use strict";var e=t.i(71645),i=t.i(14272),r=t.i(40143),n=t.i(15823),s=t.i(19273),a=class extends n.Subscribable{#t;#e=void 0;#i;#r;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,s.shallowEqualObjects)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#i,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,s.hashKey)(e.mutationKey)!==(0,s.hashKey)(this.options.mutationKey)?this.reset():this.#i?.state.status==="pending"&&this.#i.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#i?.removeObserver(this)}onMutationUpdate(t){this.#n(),this.#s(t)}getCurrentResult(){return this.#e}reset(){this.#i?.removeObserver(this),this.#i=void 0,this.#n(),this.#s()}mutate(t,e){return this.#r=e,this.#i?.removeObserver(this),this.#i=this.#t.getMutationCache().build(this.#t,this.options),this.#i.addObserver(this),this.#i.execute(t)}#n(){let t=this.#i?.state??(0,i.getDefaultState)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#s(t){r.notifyManager.batch(()=>
1{if(this.#r&&this.hasListeners()){let e=this.#e.variables,i=this.#e.context,r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,e,i,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(t.data,null,e,i,r)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,e,i,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(void 0,t.error,e,i,r)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}},o=t.i(12598);t.s(["useMutation",0,function(t,i){let n=(0,o.useQueryClient)(i),[u]=e.useState(()=>new a(n,t));e.useEffect(()=>{u.setOptions(t)},[u,t]);let l=e.useSyncExternalStore(e.useCallback(t=>u.subscribe(r.notifyManager.batchCalls(t)),[u]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),d=e.useCallback((t,e)=>{u.mutate(t,e).catch(s.noop)},[u]);if(l.error&&(0,s.shouldThrowError)(u.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:d,mutateAsync:l.mutate}}],54616)},71436,t=>{"use strict";var e=t.i(54616),i=t.i(66027),r=t.i(12598),n=t.i(9165),s=t.i(70437);let a=["auth","me"];t.s(["useAuth",0,function(t=!1,o){let u=(0,r.useQueryClient)(),l=(0,i.useQuery)({queryKey:a,queryFn:()=>(0,n.apiFetch)("auth/me"),retry:!1,staleTime:6e4,enabled:t,initialData:o??void 0}),d=()=>u.invalidateQueries({queryKey:a}),c=(0,e.useMutation)({mutationFn:t=>(0,n.apiFetch)("auth/otp/request",{method:"POST",body:JSON.stringify({phone:t})})}),h=(0,e.useMutation)({mutationFn:t=>(0,n.apiFetch)("auth/otp/verify",{method:"POST",body:JSON.stringify(t)}),onSuccess:d}),m=(0,e.useMutation)({mutationFn:({email:t,next:e})=>(0,n.apiFetch)("auth/magic-link/request",{method:"POST",body:JSON.stringify(e?{email:t,next:e}:{email:t})})}),g=(0,e.useMutation)({mutationFn:t=>(0,n.apiFetch)("auth/identify",{method:"POST",body:JSON.stringify({identifier:t})}),onSuccess:()=>u.invalidateQueries()}),p=(0,e.useMutation)({mutationFn:t=>(0,n.apiFetch)("auth/me",{method:"PATCH",body:JSON.stringify({...t,email:t.email||void 0,phone:t.phone||void 0,customerType:t.customerType||void 0,company:t.company||void 0})}),onSuccess:t=>u.setQueryData(a,t)}),f=(0,e.useMutation)({mutationFn:()=>(0,n.apiFetch)("auth/me/notice",{method:"DELETE"}),onMutate:()=>{let t=u.getQueryData(a);t&&u.setQueryData(a,{...t,profileNotice:null})}}),b=(0,e.useMutation)({mutationFn:()=>(0,n.apiFetch)("auth/logout",{method:"POST"}),onSuccess:()=>{d(),(0,s.broadcastAuth)({type:"logged-out"})}});return{user:l.data??null,isLoading:l.isLoading,isAuthed:!!l.data,requestOtp:c,verifyOtp:h,requestMagicLink:m,identify:g,updateProfile:p,dismissProfileNotice:f,logout:b}}])},63624,t=>{"use strict";var e=t.i(43476),i=t.i(71645),r=t.i(92989),n=t.i(81307),s=t.i(46696),a=t.i(15288),o=t.i(96315),u=t.i(19455);t.i(76038);var l=t.i(58324),d=t.i(10764),c=t.i(71436),h=t.i(9165),m=t.i(22584);let g=t=>/^[+(]?\d/.test(t.trim()),p=n.z.object({identifier:n.z.string().trim().min(1,"Enter your phone number or email").refine(t=>{let e;return g(t)?10===(e=t.replace(/\D/g,"")).length||11===e.length&&e.startsWith("1"):n.z.email().safeParse(t).success},{error:t=>g(String(t.input))?"Enter a valid phone number":"Enter a valid email address"})});function f(){let t=(0,r.useRouter)(),i=(0,r.useSearchParams)().get("next")??m.ROUTES.appHome,{requestOtp:n,requestMagicLink:f}=(0,c.useAuth)(),b=(0,d.useZodForm)(p,{defaultValues:{identifier:""},mode:"onChange"}),y=n.isPending||f.isPending,x=b.handleSubmit(async({identifier:e})=>{try{if(g(e)){let r=await n.mutateAsync(e);r.devCode&&s.toast.info(`Dev code: ${r.devCode}`);let a=new URLSearchParams({phone:e,next:i});t.push(`${m.ROUTES.verify}?${a.toString()}`)}else{let r=await f.mutateAsync({email:e,next:i});r.devUrl&&s.toast.info(`Dev url: ${r.devUrl}`),t.push(`${m.ROUTES.magicSent}?next=${encodeURIComponent(i)}`)}}catch(t){(0,h.toastApiError)(t)}});return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"mb-6 text-center lg:hidden",children:[(0,e.jsxs)("h1",{className:"font-heading text-2xl font-extrabold tracking-tight text-foreground",children:["Site services, ",(0,e.jsx)("span",{className:"text-primary",children:"simplified."})]}),(0,e.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:"Dumpsters, porta potties & fencing — quoted for your ZIP, managed in one place."})]}),(0,e.jsxs)(a.Card,{children:[(0,e.jsxs)(a.CardHeader,{children:[(0,e.jsx)(a.CardTitle,{className:"font-heading text-2xl",children:"Sign in"}),(0,e.jsx)(a.CardDescription,{children:"Enter your phone or email and we'll text or email a one-time code — no password needed."})]}),(0,e.jsx)(a.CardContent,{className:"grid gap-4",children:(0,e.jsxs)("form",{onSubmit:x,className:"grid gap-4",children:[(0,e.jsx)(l.FormContactField,{control:b.control,name:"identifier",label:"Phone or email",placeholder:"(205) 555-0100 or [email protected]",icon:o.Mail,inputClassName:"h-11",required:!0}),(0,e.jsx)(u.Button,{type:"submit",variant:"cta",size:"lg",className:"w-full",disabled:y,children:y?"Sending…":"Continue"}),(0,e.jsx)("p",{className:"text-center text-sm text-muted-foreground",children:"Standard messaging & data rates may apply."})]})})]})]})}t.s(["default",0,function(){return(0,e.jsx)(i.Suspense,{fallback:null,children:(0,e.jsx)(f,{})})}])}]);

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.