PageSourceSearch

https://www.barakasheabutter.com/_next/static/chunks/6688.f523d4745c56bdfe.js

js barakasheabutter.com collected 2026-09-25 18:44:12 UTC 9,350 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6688],{6688:function(e,t,n){n.r(t);var r=n(52322),l=n(79479);t.default=e=>{let{label:t,checked:n,setChecked:o}=e;return(0,r.jsxs)("div",{className:"flex items-center py-2",children:[(0,r.jsx)("span",{className:"flex-1 font-bold",children:t}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(l.rs,{checked:n,onChange:o,className:"".concat(n?"bg-teal-700":"bg-teal-900"," relative inline-flex h-5 w-14 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2  focus-visible:ring-white focus-visible:ring-opacity-75"),children:[(0,r.jsx)("span",{className:"sr-only",children:"Use setting"}),(0,r.jsx)("span",{"aria-hidden":"true",className:"".concat(n?"translate-x-9":"translate-x-0"," pointer-events-none inline-block h-4 w-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out")})]})})]})}},66979:function(e,t,n){n.d(t,{__:function(){return v},bE:function(){return m},t0:function(){return p},wp:function(){return h}});var r=n(2784),l=n(19120),o=n(18105),u=n(251),i=n(84635),a=n(79278),c=n(94992),s=n(91568),d=n(11038);let f=(0,r.createContext)(null);function p(){let e=(0,r.useContext)(f);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,p),e}return e}function h(e){var t,n,l;let o=null!=(n=null==(t=(0,r.useContext)(f))?void 0:t.value)?n:void 0;return(null!=(l=null==e?void 0:e.length)?l:0)>0?[o,...e].filter(Boolean).join(" "):o}function m(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=h(),[n,o]=(0,r.useState)([]),u=e?[t,...n].filter(Boolean):n;return[u.length>0?u.join(" "):void 0,(0,r.useMemo)(()=>function(e){let t=(0,l.z)(e=>(o(t=>[...t,e]),()=>o(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),n=(0,r.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return r.createElement(f.Provider,{value:n},e.children)},[o])]}f.displayName="LabelContext";let v=Object.assign((0,d.yV)(function(e,t){var n;
1let f=(0,r.useId)(),h=p(),m=(0,c.Q)(),v=(0,a.B)(),{id:b="headlessui-label-".concat(f),htmlFor:g=null!=m?m:null==(n=h.props)?void 0:n.htmlFor,passive:y=!1,...x}=e,k=(0,i.T)(t);(0,o.e)(()=>h.register(b),[b,h.register]);let E=(0,l.z)(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&s.jF(e.target))&&(s.dz(t)&&e.preventDefault(),h.props&&"onClick"in h.props&&"function"==typeof h.props.onClick&&h.props.onClick(e),s.dz(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(s.LL(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),C=(0,u.x)({...h.slot,disabled:v||!1}),w={ref:k,...h.props,id:b,htmlFor:g,onClick:E};return y&&("onClick"in w&&(delete w.htmlFor,delete w.onClick),"onClick"in x&&delete x.onClick),(0,d.L6)()({ourProps:w,theirProps:x,slot:C,defaultTag:g?"label":"div",name:h.name||"Label"})}),{})},79479:function(e,t,n){n.d(t,{$A:function(){return T},Mv:function(){return F},Zm:function(){return j},rs:function(){return N}});var r=n(91604),l=n(80958),o=n(2784),u=n(5207),i=n(4459),a=n(31127),c=n(64706),s=n(19120),d=n(91122),f=n(251),p=n(84635),h=n(79278),m=n(5960),v=n(94992),b=n(7464),g=n(91568),y=n(39509),x=n(11038),k=n(39246),E=n(84282),C=n(66979);let w=(0,o.createContext)(null);w.displayName="GroupContext";let S=o.Fragment,P=(0,x.yV)(function(e,t){var n;let g=(0,o.useId)(),S=(0,v.Q)(),P=(0,h.B)(),{id:F=S||"headlessui-switch-".concat(g),disabled:T=P||!1,checked:j,defaultChecked:N,onChange:O,name:L,value:I,form:z,autoFocus:_=!1,...D}=e,R=(0,o.useContext)(w),[A,B]=(0,o.useState)(null),G=(0,o.useRef)(null),M=(0,p.T)(G,t,null===R?null:R.setSwitch,B),H=(0,a.L)(N),[U,V]=(0,i.q)(j,O,null!=H&&H),q=(0,c.G)(),[Q,K]=(0,o.useState)(!1),X=(0,s.z)(()=>{K(!0),null==V||V(!U),q.nextFrame(()=>{K(!1)})}),Y=(0,s.z)(e=>{if((0,b.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),X()}),Z=(0,s.z)(e=>{e.key===E.R.Space?(e.preventDefault(),X()):e.key===E.R.Enter&&(0,y.g)(e.currentTarget)}),$=(0,s.z)(e=>e.preventDefault()),J=(0,C.wp)(),W=(0,k.zH)(),{isFocusVisible:ee,focusProps:et}=(0,r.F)({autoFocus:_}),{isHovered:en,hoverProps:er}=(0,l.X)({isDisabled:T}),{pressed:el,pressProps:eo}=(0,u.x)({disabled:T}),eu=(0,f.x)({checked:U,disabled:T,hover:en,focus:ee,active:el,autofocus:_,changing:Q}),ei=(0,x.dG)({id:F,ref:M,role:"switch",type:(0,d.f)(e,A),tabIndex:-1===e.tabIndex?0:null!=(n=e.tabIndex)?n:0,"aria-checked":U,"aria-labelledby":J,"aria-describedby":W,disabled:T||void 0,autoFocus:_,onClick:Y,onKeyUp:Z,onKeyPress:$},et,er,eo),ea=(0,o.useCallback)(()=>{if(void 0!==H)return null==V?void 0:V(H)},[V,H]),ec=(0,x.L6)();return o.createElement(o.Fragment,null,null!=L&&o.createElement(m.Mt,{disabled:T,data:{[L]:I||"on"},overrides:{type:"checkbox",checked:U},form:z,onReset:ea}),ec({ourProps:ei,theirProps:D,slot:eu,defaultTag:"button",name:"Switch"}))}),F=function(e){var t;let[n,r]=(0,o.useState)(null),[l,u]=(0,C.bE)(),[i,a]=(0,k.fw)(),c=(0,o.useMemo)(()=>({switch:n,setSwitch:r}),[n,r]),s=(0,x.L6)();return o.createElement(a,{name:"Switch.Description",value:i},o.createElement(u,{name:"Switch.Label",value:l,props:{htmlFor:null==(t=c.switch)?void 0:t.id,onClick(e){n&&(g.dz(e.currentTarget)&&e.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},o.createElement(w.Provider,{value:c},s({ourProps:{},theirProps:e,slot:{},defaultTag:S,name:"Switch.Group"}))))},T=C.__,j=k.dk,N=Object.assign(P,{Group:F,Label:T,Description:j})},4459:function(e,t,n){n.d(t,{q:function(){return u}});var r=n(2784),l=n(28316),o=n(19120);function u(e,t,n){let[u,i]=(0,r.useState)(n),a=void 0!==e,c=(0,r.useRef)(a),s=(0,r.useRef)(!1),d=(0,r.useRef)(!1);return!a||c.current||s.current?a||!c.current||d.current||(d.current=!0,c.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,c.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:u,(0,o.z)(e=>(a||(0,l.flushSync)(()=>i(e)),null==t?void 0:t(e)))]}},31127:function(e,t,n){n.d(t,{L:function(){return l}});var r=n(2784);function l(e){let[t]=(0,r.useState)(e);return t}},5960:function(e,t,n){n.d(t,{Mt:function(){return f},wR:function(){return s}});var r=n(2784),l=n(28316),o=n(64706),u=n(39509),i=n(11038),a=n(15085);let c=(0,r.createContext)(null);function s(e){let[t,n]=(0,r.useState)(null);return r.createElement(c.Provider,{value:{target:t}},e.children,r.createElement(a._,{features:a.x.Hidden,ref:n}))}function d(e){let{children:t}=e,n=(0,r.useContext)(c);if(!n)return r.createElement(r.Fragment,null,t);let{target:o}=n;return o?(0,l.createPortal)(r.createElement(r.Fragment,null,t),o):null}function f(e){let{data:t,form:n,disabled:l,onReset:c,overrides:s}=e,[f,h]=(0,r.useState)(null),m=(0,o.G)();return(0,r.useEffect)(()=>
1{if(c&&f)return m.addEventListener(f,"reset",c)},[f,n,c]),r.createElement(d,null,r.createElement(p,{setForm:h,formId:n}),(0,u.t)(t).map(e=>{let[t,o]=e;return r.createElement(a._,{features:a.x.Hidden,...(0,i.oA)({key:t,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,disabled:l,name:t,value:o,...s})})}))}function p(e){let{setForm:t,formId:n}=e;return(0,r.useEffect)(()=>{if(n){let e=document.getElementById(n);e&&t(e)}},[t,n]),n?null:r.createElement(a._,{features:a.x.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:e=>{if(!e)return;let n=e.closest("form");n&&t(n)}})}},94992:function(e,t,n){n.d(t,{Q:function(){return o},v:function(){return u}});var r=n(2784);let l=(0,r.createContext)(void 0);function o(){return(0,r.useContext)(l)}function u(e){let{id:t,children:n}=e;return r.createElement(l.Provider,{value:t},n)}},39509:function(e,t,n){n.d(t,{g:function(){return o},t:function(){return function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[u,i]of Object.entries(t))!function t(n,o,u){if(Array.isArray(u))for(let[e,r]of u.entries())t(n,l(o,e.toString()),r);else u instanceof Date?n.push([o,u.toISOString()]):"boolean"==typeof u?n.push([o,u?"1":"0"]):"string"==typeof u?n.push([o,u]):"number"==typeof u?n.push([o,"".concat(u)]):null==u?n.push([o,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(u)&&!(0,r.isValidElement)(u)&&e(u,o,n)}(o,l(n,u),i);return o}}});var r=n(2784);function l(e,t){return e?e+"["+t+"]":t}function o(e){var t,n;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){for(let t of r.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type)){t.click();return}null==(n=r.requestSubmit)||n.call(r)}}}}]);

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.