PageSourceSearch

https://www.theculinistas.com/_next/static/chunks/8156-37a9309b0b9e31c9.js

js theculinistas.com collected 2026-10-04 16:34:50 UTC 10,063 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8156],{75738:function(e,r,t){t.d(r,{s:function(){return c},W:function(){return i}});var a=t(97458),n=t(52983),l=t(10248),o=t(78857);let i="NOT_CHECKED";var s=t(68501);let c=(0,n.forwardRef)((e,r)=>{let{name:t,primaryColor:c,checkboxLabel:d,textAreaPlaceholder:u,error:h,defaultValue:p,onCheckboxChange:x,...m}=e,[b,f]=(0,n.useState)(!!p&&p!==i);return(0,a.jsxs)("div",{children:[(0,a.jsx)(s.E,{name:"".concat(t,"-checkbox"),primaryColor:c,label:d,onChange:e=>{f(e.target.checked),null==x||x(e.target.checked)},defaultChecked:b}),b&&(0,a.jsx)(l.C,{name:t,className:"mt-5 p-5",placeholder:u,primaryColor:c,rows:4,ref:r,...m}),h&&(0,a.jsx)(o.P,{error:h})]})})},83745:function(e,r,t){t.d(r,{_:function(){return s}});var a=t(97458),n=t(52983),l=t(14517),o=t(35031),i=t(15783);let s=n.forwardRef((e,r)=>{let{variant:t,id:s,label:c,className:d,name:u,size:h=18,primaryColor:p=i.bG.CulinistaBlack,alignItems:x="center",error:m,...b}=e,f=(0,o.M)("peer-checked:after:bg",p),v=(0,o.M)("border",p),j=(0,o.M)("text",p),g=(0,n.useMemo)(()=>"squared"===t?(0,l.Z)(v,f,"flex-shrink-0 relative border border-opacity-40 after:absolute after:h-[62.5%] after:w-[62.5%] after:translate-x-[3px] after:translate-y-[3px] after:content-[''] peer-checked:border-opacity-100 peer-focus:ring-1 peer-focus:ring-offset-0",{"border-ar-red border-2 border-opacity-60":!!m}):"",[t,v,f,m]);return(0,a.jsxs)("label",{htmlFor:s,className:(0,l.Z)(d,j,"relative flex hover:cursor-pointer",{"items-center":"center"===x},{"items-start":"start"===x}),children:[(0,a.jsx)("input",{id:s,ref:r,name:u,type:"radio",className:"peer flex h-0 w-0 opacity-0",...b}),(0,a.jsx)("span",{style:{height:h,width:h},className:g}),(0,a.jsx)("span",{className:"helvetica-12-400 md:helvetica-14-400 ml-2 opacity-70 peer-checked:opacity-100",children:c})]})})},38156:function(e,r,t){t.d(r,{Z:function(){return F}});var a,n=t(97458),l=t(52983),o=t(78807),i=t(7279),s=t(83745),c=t(35031),d=t(14517),u=t(15783),h=t(68501);let p=l.forwardRef((e,r)=>{let{id:t,variant:a,value:o,label:i,primaryColor:s=u.bG.CulinistaBlack,name:p,defaultValue:x,...m}=e,b=(0,l.useRef)(null),[f,v]=(0,l.useState)(!!x),j=(0,c.M)("border",s),g=(0,c.M)("placeholder:text",s);return(0,l.useImperativeHandle)(r,()=>b.current),(0,l.useEffect)(()=>{var e;null===(e=b.current)||void 0===e||e.addEventListener("blur",()=>{var e;v(!!(null===(e=b.current)||void 0===e?void 0:e.value))})},[]),(0,n.jsx)(h.E,{name:"".concat(p,"-checkbox"),primaryColor:s,variant:a,checked:f,disabled:!0,children:(0,n.jsx)("input",{id:t,ref:b,name:p,type:"text",placeholder:i,className:(0,d.Z)(j,g,"helvetica-12-400 md:helvetica-14-400 border-b border-opacity-40 bg-transparent placeholder:text-opacity-70 focus:border-opacity-100 focus:outline-none focus:ring-1 focus:ring-offset-0 peer-checked:border-opacity-100 "),...m})})});var x=t(61954);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}var b=function(e){return l.createElement("svg",m({width:17,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=l.createElement("path",{d:"M.75.953 1.71 0l12.54 12.54-.953.96-2.31-2.31a8.684 8.684 0 0 1-2.737.435C4.5 11.625 1.298 9.293 0 6a8.815 8.815 0 0 1 2.393-3.405L.75.952Zm7.5 2.797a2.25 2.25 0 0 1 2.123 3L7.5 3.877a2.25 2.25 0 0 1 .75-.127Zm0-3.375C12 .375 15.203 2.708 16.5 6a8.842 8.842 0 0 1-3 3.893L12.435 8.82A7.397 7.397 0 0 0 14.865 6 7.366 7.366 0 0 0 8.25 1.875c-.817 0-1.62.135-2.37.375L4.725 1.103A8.898 8.898 0 0 1 8.25.375ZM1.635 6a7.366 7.366 0 0 0 6.615 4.125c.518 0 1.027-.053 1.5-.158L8.04 8.25A2.298 2.298 0 0 1 6 6.21L3.45 3.652A7.391 7.391 0 0 0 1.635 6Z",fill:"currentColor"})))},f=t(39957);let v=(0,l.forwardRef)((e,r)=>{let{enableChangePasswordVisibility:t,...a}=e,[o,i]=(0,l.useState)(!1);return(0,n.jsx)(x.j,{ref:r,type:o?"text":"password",rightAdornment:(0,n.jsx)("button",{type:"button",onClick:()=>{i(e=>!e)},className:"mx-2 flex-shrink-0",children:(0,n.jsx)(f.k,{width:16.5,height:14.5,icon:(0,n.jsx)(b,{})})}),...a}
1)});var j=t(26488),g=t(878),y=t(19563),C=t(78857),k=t(46027);let w=l.forwardRef((e,r)=>{let{className:t,inputClassName:a,primaryColor:o,error:i,maxValue:s,overLimitOpacity:u=!0,name:h,defaultValue:p,onChange:x,...m}=e,b=(0,c.M)("border",o),[v,j]=(0,l.useState)(+p),w=(0,k.H)({onChange:x});return(0,l.useEffect)(()=>{var e,r;null===(e=(r=w.current).onChange)||void 0===e||e.call(r,v)},[v,w]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,d.Z)(t,"flex items-center gap-2.5"),children:[(0,n.jsx)("button",{type:"button",className:"editorial-28 py-3 px-2 disabled:opacity-40",onClick:()=>{j(e=>e-1)},disabled:v<=1,children:(0,n.jsx)(f.k,{icon:(0,n.jsx)(g.Z,{}),size:20})}),(0,n.jsx)("input",{className:(0,d.Z)(a,b,"editorial-56 border-none bg-transparent focus:!outline-none focus:ring-0",{"opacity-40":u?v>s:v<=s,"w-8":v<=9,"w-[58px]":v>9&&v<100,"w-[88px]":v>=100}),...m,type:"number",value:v,onChange:e=>{let r=Math.min(+e.target.value||1,999);j(r),null==x||x(r)},name:h,ref:r}),(0,n.jsx)("button",{type:"button",className:"editorial-28 p-2",onClick:()=>{j(e=>Math.min(e+1,999))},children:(0,n.jsx)(f.k,{icon:(0,n.jsx)(y.Z,{}),size:20})})]}),i&&(0,n.jsx)(C.P,{error:i})]})});var N=t(10248),M=t(84918),S=t(98024),Z=t(75738),E=t(79096),D=t(11185),L=t(46543),q=t(31814);let V=e=>(0,n.jsx)(x.j,{variant:"underlined",...e}),_=[31,28,31,30,31,30,31,31,30,31,30,31];function P(e){let{maxDate:r,type:t,...a}=e,{format:l}=(0,D.v5)({format:"##/##/####"});return(0,n.jsx)(D.F7,{format:e=>{let t=e.substring(0,2),a=e.substring(2,4),n=e.substring(4,8);if(1===t.length&&t[0]>1?t="0".concat(t[0]):2===t.length&&(0===Number(t)?t="01":Number(t)>12&&(t="12")),1===a.length&&a[0]>3?a="0".concat(a[0]):2===a.length&&(0===Number(a)?a="01":Number(a)>_[t-1]&&(a=_[t-1])),8===e.length){let t=(0,L.Z)(e,"MMddyyyy",new Date);if(r&&(0,q.Z)(t,r))return l("".concat((r.getMonth()+1).toString().padStart(2,"0")).concat(r.getDate().toString().padStart(2,"0")).concat(r.getFullYear()))}return l("".concat(t).concat(a).concat(n))},mask:"_",customInput:V,maxDate:r,...a})}var A=t(98680);let O=e=>(0,n.jsx)(x.j,{variant:"underlined",...e});function R(e){let{maxValue:r,type:t,...a}=e;return(0,n.jsx)(D.h3,{thousandSeparator:!0,prefix:"$",customInput:O,...a})}function F(e){var r;let{className:t,register:a,setValue:l,inputs:c,formState:{errors:d,isSubmitted:u},trigger:h,watch:m,control:b,updateNumberOfPeople:f=!1}=e,{getService:g}=(0,i.o)(),{setSettings:y}=(0,E.b)(),{primaryColor:C,primaryColorAlternative:k}=null!==(r=g())&&void 0!==r?r:{};return(0,n.jsx)("div",{className:t,children:c.map(e=>{var r;let{id:t,type:i,name:c,value:g,placeholder:E,required:D,disabled:L}=e||{},q=null===(r=(0,j.W)(d,c))||void 0===r?void 0:r.message;switch(e.type){case"checkbox":{let{label:r,variant:l="squared"}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(o.E,{id:t,label:r,variant:l,primaryColor:C,...a(c),error:q})},t)}case"checkbox-with-input-field":{let{label:r}=e,l=m(c);return(0,n.jsx)("div",{children:(0,n.jsx)(p,{id:t,label:r,variant:"squared",primaryColor:C,...a(c),error:q,defaultValue:l})},t)}case"checkbox-with-textarea":{let{label:r}=e,o=m(c);return(0,n.jsx)("div",{children:(0,n.jsx)(Z.s,{id:t,checkboxLabel:r,textAreaPlaceholder:E,primaryColor:C,...a(c),onCheckboxChange:e=>{l(c,e?"":Z.W),u&&h(c)},defaultValue:o,error:q})},t)}case"radio":{let{label:r}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(s._,{id:t,label:r,variant:"squared",primaryColor:C,value:g,error:q,...a(c)})},t)}case"text":{let{label:r}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(x.j,{variant:"underlined",id:t,label:r,placeholder:E,required:D,primaryColor:C,...a(c),error:q,disabled:L})},t)}case"number":{let{label:r}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(x.j,{variant:"underlined",id:t,label:r,placeholder:E,required:D,primaryColor:C,...a(c),error:q,disabled:L,inputClassName:"ar-form-input-number",type:"number"})},t)}case"password":{let{label:r}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(v,{variant:"underlined",id:t,label:r,placeholder:E,required:D,enableChangePasswordVisibility:!0,primaryColor:C,...a(c),error:q})},t)}case"select":{let{label:r,options:l}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(M.h,{...a(c),control:b,options:l,placeholder:E,label:r,showLabel:!!m(c),hoverColor:k,variant:"small",primaryColor:C,disabled:L})},t)}case"date":{let{label:r,availableDates:l,minDate:o,maxDate:i}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(S.f,{...a(c,{onChange:e=>y({date:e.target.value})}),control:b,placeholder:r,label:r,showLabel:!!m(c),primaryColor:C,availableDates:l,disabled:L,minDate:o,maxDate:i})},t)}case"dateString":{let{label:r,maxDate:a}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(A.Qr,{name:c,control:b,render:e=>{let{field:l}=e;return(0,n.jsx)(P,{name:l.name,value:l.value,onChange:l.onChange,placeholder:"MM/DD/YYYY",id:t,label:r,required:D,error:q,disabled:L,maxDate:a})}})},t)}case"money":{let{label:r,maxValue:a}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(A.Qr,{name:c,control:b,render:e=>{let{field:l}=e;return(0,n.jsx)(R,{name:l.name,value:l.value,onChange:void 0,placeholder:"$0",id:t,label:r,required:D,error:q,disabled:L,maxValue:a,onValueChange:e=>{l.onChange(e.floatValue)}})}})},t)}case"counter":{let{maxValue:r}=e,o=m(c);return(0,n.jsx)("div",{children:(0,n.jsx)(w,{...a(c),primaryColor:C,defaultValue:null!=o?o:1,onChange:e=>{l(c,e),f&&y({numberOfPeople:e}),u&&h(c)},maxValue:r,error:q})},t)}case"textarea":{let{label:r,rows:l}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(N.C,{id:t,label:r,placeholder:E,rows:l,primaryColor:C,...a(c),error:q})},t)}default:throw Error("Unsupported field type: ".concat(i))}})})}},7279:function(e,r,t){t.d(r,{o:function(){return l}});var a=t(79904),n=t(52983);function l(){let{service:e}=(0,a.FP)(),{dispatch:r}=(0,a.cN)();return{setService:(0,n.useCallback)(e=>{r({type:"setService",payload:e})},[r]),getService:(0,n.useCallback)(()=>e,[e])}}}}]);

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.