PageSourceSearch

https://regalflowers.com.ng/_next/static/chunks/791-3882759992e8beb6.js

js regalflowers.com.ng collected 2026-09-29 15:35:39 UTC 9,722 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[791],{4355:function(e,n,t){"use strict";var o=t(5893),c=t(2719),i=t.n(c);n.Z=function(e){var n=e.onChange,t=void 0===n?function(){}:n,c=e.text,l=e.name,r=e.checked,a=e.className,s=e.type,u=e.disabled;return(0,o.jsxs)("label",{className:[i().wrapper,u&&i().disabled].join(" "),children:[(0,o.jsx)("input",{name:l,className:i().checkbox,checked:r,onChange:function(e){return t(e.target.checked)},type:"checkbox",disabled:u}),(0,o.jsx)("span",{className:[i()["check-wrapper"],a,i()[s||"primary"]].join(" "),children:(0,o.jsx)("span",{className:i()["check-icon"]})}),c&&(0,o.jsx)("span",{className:i().text,children:c})]})}},9791:function(e,n,t){"use strict";var o,c=t(4924),i=t(6042),l=t(9396),r=t(253),a=t(9815),s=t(5893),u=t(7294),d=t(7002),f=t.n(d),v=t(4355),_=t(3419),p=t(2600),h=t(5070);n.Z=function(e){var n=e.options,t=e.placeholder,d=e.onSelect,m=void 0===d?function(){}:d,x=e.value,g=e.theme,w=e.responsive,S=e.multiple,b=e.followUp,j=void 0===b?{}:b,C=e.selectAll,k=e.className,N=e.showSelectedCount,Z=e.dropdownOnTop,E=e.disabled,y=e.allowClear,P=e.onSearch,O=e.startIcon,R=e.keepDropdownOpen,T=e.onSelectionView,I=e.onScrollEnd,M=e.fitContent,Q=e.dimmed,U=e.hideCaret,A=e.display,L=void 0===A?"label":A,V=e.dropdownClassName,D=e.optionColor,K=e.hasEditDeleteIcons,X=e.onDelete,Y=e.onEdit,z=(0,u.useState)(""),B=z[0],F=z[1],G=(0,u.useState)(!1),q=G[0],H=G[1],J=(0,u.useState)({}),W=J[0],$=J[1],ee=(0,u.useState)(!1),ne=ee[0],te=ee[1],oe=(0,u.useState)([]),ce=oe[0],ie=oe[1],le=(0,u.useState)(null),re=le[0],ae=le[1],se=(0,u.useState)(""),ue=se[0],de=se[1],fe=(0,u.useState)(!1),ve=fe[0],_e=fe[1],pe=(0,u.useState)(!1),he=pe[0],me=pe[1],xe=(0,u.useState)(null),ge=xe[0],we=xe[1],Se=(0,u.useRef)(null),be=(0,u.useRef)(null),je=j.label,Ce=j.FollowUpModal,ke=j.onConclude,Ne=void 0===ke?function(){}:ke,Ze=(0,u.useRef)(null),Ee=(0,r.Z)((0,h.Z)({node:I&&q?ge:null,root:Ze.current}),2),ye=Ee[0],Pe=Ee[1];(0,u.useEffect)((function(){1!==ye&&(null===I||void 0===I||I({pageNumber:ye,mergeRecords:!0}),me(!0))}),[ye]);var Oe=function(e){var n,t=Se.current;te((function(e){return n=e,e})),n||t&&t.contains(e.target)||H(!1)};(0,u.useEffect)((function(){var e=n.slice(),o=e.reduce((function(e,n){var t=n.value;return(0,l.Z)((0,i.Z)({},e),(0,c.Z)({},t,!0))}),{}),r=ce.filter((function(e){var n=e.value;return W[String(n)]&&!o[String(n)]}));ie(P?(0,a.Z)(e).concat((0,a.Z)(r)):(0,a.Z)(r).concat((0,a.Z)(e))),ae(t?{value:"",label:t||"Select"}:null)}),[n,t]),(0,u.useEffect)((function(){return window.addEventListener("mousedown",Oe),function(){return window.removeEventListener("mousedown",Oe)}}),[]),(0,u.useEffect)((function(){me(!1);var e=ce.filter((function(e){return S?x.includes(e.value):x===e.value})).reduce((function(e,n){return(0,l.Z)((0,i.Z)({},e),(0,c.Z)({},n.value,!0))}),{});$(e);var t=S?ce.filter((function(n){return e[n.value]})).map((function(e){return e.label})).join(", "):(ce.find((function(e){return e.value===x}))||{})[L];de(t||""),x||ie(n)}),[ce,x]),(0,u.useEffect)((function(){Object.entries(W).length===ce.length?_e(!0):_e(!1)}),[W,ce]),(0,u.useEffect)((function(){P&&(clearTimeout(o),Pe(1),o=setTimeout((function(){P({searchStr:B}),me(!0)}),300))}),[B]);var Re=je&&(0,s.jsx)("div",{className:[f().option,f()["follow-up"]].join(" "),onClick:function(e){te(!0),e.stopPropagation()},role:"button",children:je}),Te=Ce&&(0,s.jsx)(Ce,{visible:ne,cancel:function(e){te(!1),Ne(e),F("")}}),Ie=P&&q;(0,u.useEffect)((function(){var e;(Ie&&be.current&&be.current.focus(),Ie||!P||S)||(null===(e=ce.find((function(e){return e.value===x})))||void 0===e?void 0:e.label)&&F("")}),[Ie,ce]);var Me=y?Object.keys(W).length>0&&(0,s.jsx)(_.Z,{iconOnly:!0,onClick:function(e){m(S?[]:""),e.stopPropagation()},className:f().clear,type:"transparent",children:(0,s.jsx)("img",{alt:"remove",src:"/icons/times-solid-gray.svg",className:f().icon})}):!U&&(0,s.jsx)("svg",{className:"".concat(f().arrow," ").concat(q&&f().active),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.29201 10.2929C8.1052 10.4818 8.00043 10.7368 8.00043 11.0024C8.00043 11.2681 8.1052 11.523 8.29201 11.7119L11.231 14.6769C11.449 14.8919 11.731 14.9989 12.01 14.9989C12.289 14.9989 12.566 14.8919 12.779 14.6769L15.709 11.7219C15.8956 11.5329 16.0002 11.278 16.0002 11.0124C16.0002 10.7469 15.8956 10.492 15.709 10.3029C15.6172 10.2098 15.5077 10.1358 15.387 10.0853C15.2664 10.0347 15.1368 10.0087 15.006 10.0087C14.8752 10.0087 14.7457 10.0347 14.625 10.0853C14.5043 10.1358 14.3948 10.2098 14.303 10.3029L12.005 12.6199L9.69801 10.2929C9.60597 10.2001 9.49646 10.
11264 9.3758 10.0762C9.25514 10.0259 9.12572 10 8.99501 10C8.86429 10 8.73487 10.0259 8.61421 10.0762C8.49355 10.1264 8.38404 10.2001 8.29201 10.2929Z",fill:"#091E42"})}),Qe=(0,u.useMemo)((function(){return Object.keys(W).length>0}),[W]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:[f()["select-wrapper"],q?f().active:"",f()[g||"light"],w&&f().responsive,M&&f()["fit-content"],Q&&f().dimmed,U&&f()["no-border"],k].join(" "),onClick:function(){E||H(!q)},ref:Se,role:"list",children:[(0,s.jsxs)("div",{className:f()["main-content"],children:[O&&(0,s.jsx)("img",{alt:"select",className:f()["start-icon"],src:O}),Ie&&(0,s.jsx)(p.Z,{refValue:be,placeholder:null===re||void 0===re?void 0:re.label,onChange:F,value:B,noBorder:!0,dimmed:!0,disabled:E,responsive:!0}),!Ie&&(ue?(0,s.jsx)("span",{className:f()["main-text"],children:N?"".concat(Object.keys(W).length," Selected"):ue}):re&&(0,s.jsx)("span",{className:f().placeholder,children:re.label}))]}),T&&Qe&&(0,s.jsx)(_.Z,{type:"transparent",onClick:function(e){null===T||void 0===T||T(e),e.stopPropagation()},iconOnly:!0,className:[f().clear,f().view].join(" "),children:(0,s.jsx)("img",{className:f().icon,alt:"view",src:"/icons/eye-solid.svg"})}),he?(0,s.jsx)("img",{alt:"searching",src:"/icons/loading-icon-dots.svg",className:f().loading}):Me,(0,s.jsxs)("div",{className:[f().dropdown,q&&f()["show-dropdown"],Z&&f()["on-top"],V&&V].join(" "),role:"list",ref:Ze,children:[S&&C&&(0,s.jsx)("div",{className:"".concat(f().option," ").concat(D&&f()[D]," ").concat(f().active),children:(0,s.jsx)(v.Z,{checked:ve,text:"Select All",responsive:!0,onChange:function(){if(ve)$({}),m([]);else{var e={},n=[];ce.forEach((function(t){e[t.value]=!0,n.push(t.value)})),$(e),m(n)}_e((function(e){return!e}))}})}),"top"===j.position&&Re,[!S&&!y&&!P&&re].concat((0,a.Z)(ce)).map((function(e,n,t){return e&&(0,s.jsxs)("div",{className:"".concat(f().option," ").concat(!e.value&&f().initial," ").concat(e.value===x&&f().active," ").concat(D&&f()[D]),role:"listitem",onClick:S?function(e){return e.stopPropagation()}:function(n){return function(e,n){var t;m(e.value),R||H(!1),Ie&&(null===(t=be.current)||void 0===t?void 0:t.focus)&&be.current.focus(),n.stopPropagation()}(e,n)},ref:n===t.length-2?function(e){e&&we(e)}:void 0,children:[S?(0,s.jsx)(v.Z,{checked:Boolean(W[e.value]),text:e.label,responsive:!0,onChange:function(n){return function(e,n){var t=e?Array.from(new Set((0,a.Z)(x).concat([n.value]))):x.filter((function(e){return n.value!==e})),o=t.reduce((function(e,n){return(0,l.Z)((0,i.Z)({},e),(0,c.Z)({},n,!0))}),{});$(o),m(t)}(n,e)}}):e.label,K&&0!==n&&(0,s.jsxs)("div",{className:f()["edit-delete"],children:[Y&&(0,s.jsx)("img",{alt:"button icon",src:"/icons/edit.svg",className:[f().icon,f().edit].join(" "),onClick:function(n){return function(e,n){e.stopPropagation(),null===Y||void 0===Y||Y(n)}(n,e.value)}}),X&&(0,s.jsx)("img",{alt:"button icon",src:"/icons/delete-cart.svg",className:f().icon,onClick:function(n){return function(e,n){e.stopPropagation(),null===X||void 0===X||X(n)}(n,e.value)}})]})]},n)})),"top"!==j.position&&Re]})]}),Te]})}},5070:function(e,n,t){"use strict";var o=t(253),c=t(1163),i=t(7294);n.Z=function(e){var n=e.root,t=void 0===n?null:n,l=e.rootMargin,r=void 0===l?"0px":l,a=e.threshold,s=void 0===a?0:a,u=e.node,d=(0,i.useState)(1),f=d[0],v=d[1],_=(0,c.useRouter)(),p=(0,i.useRef)(null);return(0,i.useEffect)((function(){return p.current&&p.current.disconnect(),u&&(p.current=new IntersectionObserver((function(e){(0,o.Z)(e,1)[0].isIntersecting&&v((function(e){return e+1}))}),{root:t,rootMargin:r,threshold:1})),setTimeout((function(){var e;u&&(null===(e=p.current)||void 0===e||e.observe(u))}),100),function(){var e;return null===(e=p.current)||void 0===e?void 0:e.disconnect()}}),[u,t,r,s]),(0,i.useEffect)((function(){v(1)}),[_.asPath]),[f,v]}},2719:function(e){e.exports={wrapper:"Checkbox_wrapper__5SOt6",disabled:"Checkbox_disabled__T2YTz",checkbox:"Checkbox_checkbox__V1vfZ",text:"Checkbox_text__X8oxa","check-wrapper":"Checkbox_check-wrapper__Sq1Ad","check-icon":"Checkbox_check-icon__b_Qiu",transparent:"Checkbox_transparent__zNX9_"}},7002:function(e){e.exports={"select-wrapper":"Select_select-wrapper__PZ_g7",active:"Select_active___Kjme",responsive:"Select_responsive__6mQPk","fit-content":"Select_fit-content__io4YN",light:"Select_light__P8jqX",dimmed:"Select_dimmed__fYeJE","no-border":"Select_no-border__HtUuE","main-content":"Select_main-content__N_aE0","start-icon":"Select_start-icon__kQI0h","main-text":"Select_main-text__wd3il",placeholder:"Select_placeholder__kmVYR",clear:"Select_clear__K4fmX",view:"Select_view__CnGDA",icon:"Select_icon__dlU_4",loading:"Select_loading__6GQvK",arrow:"Select_arrow__7QnIG",dropdown:"Select_dropdown__M9raU","on-top":"Select_on-top__849Tm","show-dropdown":"Select_show-dropdown__vPrIQ",option:"Select_option__kK9NU","follow-up":"Select_follow-up__8_osc","edit-delete":"Select_edit-delete__jF6hQ",edit:"Select_edit__nAUpM","gray-white":"Select_gray-w
1hite__ijzVr",initial:"Select_initial__6ST5R"}}}]);

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.