PageSourceSearch

https://www.sharecrm.com/_next/static/chunks/3286-d96e76e792160c74.js

js sharecrm.com collected 2026-09-25 18:35:55 UTC 12,383 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3286],{41965:function(e,l,n){n.d(l,{l:function(){return t}});var s=n(25671);function t(...e){return l=>{e.forEach(e=>(function(e,l){if(null!=e){if((0,s.mf)(e)){e(l);return}try{e.current=l}catch{throw Error(`Cannot assign value '${l}' to ref '${e}'`)}}})(e,l))}}},36104:function(e,l,n){n.d(l,{i:function(){return S}});var s=n(67294),t=n(92853),r=n(90511),a=n(41965),i=n(98137),o=n(18419),d=n(8726),u=n(84322),c=n(25671),p=n(8745),v=n(6516),m=n(3136),b=n(61718),f=n(72774),h=n(46725),P=n(99373),y=n(2459),g=n(85893),C=(0,r.Gp)((e,l)=>{let{Component:n,children:C,startContent:S,endContent:k,thumbIcon:x,getBaseProps:E,getInputProps:w,getWrapperProps:N,getThumbProps:j,getThumbIconProps:D,getLabelProps:O,getStartContentProps:R,getEndContentProps:B}=function(e={}){var l,n;let g=(0,t.w)(),[C,S]=(0,r.oe)(e,d.ZN.variantKeys),{ref:k,as:x,name:E,value:w="",isReadOnly:N=!1,autoFocus:j=!1,startContent:D,endContent:O,defaultSelected:R,isSelected:B,children:I,thumbIcon:T,className:G,classNames:X,onChange:z,onValueChange:H,...M}=C,K=(0,s.useRef)(null),F=(0,s.useRef)(null),U=null!=(n=null!=(l=e.disableAnimation)?l:null==g?void 0:g.disableAnimation)&&n,$=(0,s.useId)(),A=(0,s.useMemo)(()=>{let l=M["aria-label"]||"string"==typeof I?I:void 0;return{name:E,value:w,children:I,autoFocus:j,defaultSelected:R,isSelected:B,isDisabled:!!e.isDisabled,isReadOnly:N,"aria-label":l,"aria-labelledby":M["aria-labelledby"]||$,onChange:H}},[w,E,$,I,j,N,B,R,e.isDisabled,M["aria-label"],M["aria-labelledby"],H]),L=function(e={}){var l;let{isReadOnly:n}=e,[t,r]=(0,P.z)(e.isSelected,e.defaultSelected||!1,e.onChange),[a]=(0,s.use
1State)(t);return{isSelected:t,defaultSelected:null!==(l=e.defaultSelected)&&void 0!==l?l:a,setSelected:function(e){n||r(e)},toggle:function(){n||r(!t)}}}(A);(0,i.G)(()=>{if(!F.current)return;let e=!!F.current.checked;L.setSelected(e)},[F.current]);let{inputProps:_,isPressed:Z,isReadOnly:V}=function(e,l,n){let{labelProps:t,inputProps:r,isSelected:a,isPressed:i,isDisabled:o,isReadOnly:d}=function(e,l,n){var t,r;let a,{isDisabled:i=!1,isReadOnly:o=!1,value:d,name:u,form:c,children:P,"aria-label":y,"aria-labelledby":g,validationState:C="valid",isInvalid:S,onPressStart:k,onPressEnd:x,onPressChange:E,onPress:w,onPressUp:N,onClick:j}=e,{pressProps:D,isPressed:O}=(0,f.r)({onPressStart:k,onPressEnd:x,onPressChange:E,onPress:w,onPressUp:N,onClick:j,isDisabled:i}),{pressProps:R,isPressed:B}=(0,f.r)({onPressStart:k,onPressEnd:x,onPressChange:E,onPressUp:N,onClick:j,onPress(e){var s;null==w||w(e),l.toggle(),null===(s=n.current)||void 0===s||s.focus()},isDisabled:i||o}),{focusableProps:I}=(0,h.kc)(e,n),T=(0,v.d)(D,I),G=(0,m.z)(e,{labelable:!0});return t=l.defaultSelected,r=l.setSelected,a=(0,b.i)(()=>{r&&r(t)}),(0,s.useEffect)(()=>{var e;let l=null==n?void 0:null===(e=n.current)||void 0===e?void 0:e.form;return null==l||l.addEventListener("reset",a),()=>{null==l||l.removeEventListener("reset",a)}},[n]),{labelProps:(0,v.d)(R,{onClick:e=>e.preventDefault()}),inputProps:(0,v.d)(G,{"aria-invalid":S||"invalid"===C||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,onChange:e=>{e.stopPropagation(),l.setSelected((0,p.NI)(e).checked)},disabled:i,...null==d?{}:{value:d},name:u,form:c,type:"checkbox",...T}),isSelected:l.isSelected,isPressed:O||B,isDisabled:i,isReadOnly:o,isInvalid:S||"invalid"===C}}(e,l,n);return{labelProps:t,inputProps:{...r,role:"switch",checked:a},isSelected:a,isPressed:i,isDisabled:o,isReadOnly:d}}(A,L,F),{focusProps:J,isFocused:Y,isFocusVisible:q}=(0,y.F)({autoFocus:_.autoFocus}),{hoverProps:Q,isHovered:W}=(0,o.X)({isDisabled:_.disabled}),ee=!(A.isDisabled||V)&&Z,el=_.checked,en=_.disabled,es=(0,s.useMemo)(()=>(0,d.ZN)({...S,disableAnimation:U}),[(0,c.Xx)(S),U]),et=(0,u.cn)(null==X?void 0:X.base,G),er=(0,s.useCallback)((e={})=>({...e,"aria-hidden":!0,className:es.wrapper({class:(0,u.cn)(null==X?void 0:X.wrapper,null==e?void 0:e.className)})}),[es,null==X?void 0:X.wrapper]),ea=(0,s.useCallback)((e={})=>({...e,className:es.thumb({class:(0,u.cn)(null==X?void 0:X.thumb,null==e?void 0:e.className)})}),[es,null==X?void 0:X.thumb]),ei=(0,s.useCallback)((e={})=>({...e,id:$,className:es.label({class:(0,u.cn)(null==X?void 0:X.label,null==e?void 0:e.className)})}),[es,null==X?void 0:X.label,en,el]),eo=(0,s.useCallback)((e={includeStateProps:!1})=>(0,c.dG)({width:"1em",height:"1em",className:es.thumbIcon({class:(0,u.cn)(null==X?void 0:X.thumbIcon)})},e.includeStateProps?{isSelected:el}:{}),[es,null==X?void 0:X.thumbIcon,el]),ed=(0,s.useCallback)((e={})=>({width:"1em",height:"1em",...e,className:es.startContent({class:(0,u.cn)(null==X?void 0:X.startContent,null==e?void 0:e.className)})}),[es,null==X?void 0:X.startContent,el]),eu=(0,s.useCallback)((e={})=>({width:"1em",height:"1em",...e,className:es.endContent({class:(0,u.cn)(null==X?void 0:X.endContent,null==e?void 0:e.className)})}),[es,null==X?void 0:X.endContent,el]);return{Component:x||"label",slots:es,classNames:X,domRef:K,children:I,thumbIcon:T,startContent:D,endContent:O,isHovered:W,isSelected:el,isPressed:ee,isFocused:Y,isFocusVisible:q,isDisabled:en,getBaseProps:e=>({...(0,c.dG)(Q,M,e),ref:K,className:es.base({class:(0,u.cn)(et,null==e?void 0:e.className)}),"data-disabled":(0,c.PB)(en),"data-selected":(0,c.PB)(el),"data-readonly":(0,c.PB)(V),"data-focus":(0,c.PB)(Y),"data-focus-visible":(0,c.PB)(q),"data-hover":(0,c.PB)(W),"data-pressed":(0,c.PB)(ee)}),getWrapperProps:er,getInputProps:(e={})=>({...(0,c.dG)(_,J,e),ref:(0,a.l)(F,k),id:_.id,className:es.hiddenInput({class:null==X?void 0:X.hiddenInput}),onChange:(0,c.tS)(z,_.onChange)}),getLabelProps:ei,getThumbProps:ea,getThumbIconProps:eo,getStartContentProps:ed,getEndContentProps:eu}}({...e,ref:l}),I="function"==typeof x?x(D({includeStateProps:!0})):x&&(0,s.cloneElement)(x,D()),T=S&&(0,s.cloneElement)(S,R()),G=k&&(0,s.cloneElement)(k,B());return(0,g.jsxs)(n,{...E(),children:[(0,g.jsx)("input",{...w()}),(0,g.jsxs)("span",{...N(),children:[S&&T,(0,g.jsx)("span",{...j(),children:x&&I}),k&&G]}),C&&(0,g.jsx)("span",{...O(),children:C})]})});C.displayName="HeroUI.Switch";var S=C},14552:function(e,l,n){n.d(l,{e:function(){return G}});var s=n(67294),t=n(16551);let r={},a=0,i=!1,o=null,d=null;var u=n(9975),c=n(18419),p=n(46725),v=n(9188),m=n(6516),b=n(3136),f=n(32713),h=n(92853),P=n(90511),y=n(8726),g=n(84322),C=n(25671),S=n(41965),k=n(44419),x=n(64074),E=n(98137),w=n(896),N=n(15e3),j=n(3632),D=n(18522),O=n(13114),R=n(2074),B=n(85893),I=()=>Promise.all([n.e(1673),n.e(3267)]).then(n.bind(n,43267)).then(e=>e.default),T=(0,P.Gp)((e,l)=>{var n;let T;let{Component:G,children:X,content:z,isOpen:H,portalContainer:M,placement:K,disableAnimation:F,motionProps:U,getTriggerProps:$,getTooltipProps:A,getTooltipContentProps:L}=function(e){var l,n;let N=(0,h.w)(),[j,D]=(0,P.oe)(e,y.vr.variantKeys),{ref:O,as:R,isOpen:B,content:I,children:T,defaultOpen:G,onOpenChange:X,isDisabled:z,trigger:H,shouldFlip:M=!0,containerPadding:K=12,placement:F="top",delay:U=0,closeDelay:$=500,showArrow:A=!1,offset:L=7,crossOffset:_=0,isDismissable:Z,shouldCloseOnBlur:V=!0,portalContainer:J,isKeyboardDismissDisabled:Y=!1,updatePositionDeps:q=[],shouldCloseOnInteractOutside:Q,className:W,onClose:ee,motionProps:el,classNames:en,...es}=j,et=null!=(n=null!=(l=null==e?void 0:e.disableAnimation)?l:null==N?void 0:N.disableAnimation)&&n,er=function(e={}){let{delay:l=1500,closeDelay:n=500}=e,{isOpen:u,open:c,close:p}=(0,t.d)(e),v=(0,s.useMemo)(()=>`${++a}`,[]),m=(0,s.useRef)(null),b=(0,s.useRef)(p),f=()=>{r[v]=y},h=()=>{for(let e in r)e!==v&&(r[e](!0),delete r[e])},P=()=>{m.current&&clearTimeout(m.current),m.current=null,h(),f(),i=!0,c(),o&&(clearTimeout(o),o=null),d&&(clearTimeout(d),d=null)},y=e=>{e||n<=0?(m.current&&clearTimeout(m.current),m.current=null,b.current()):m.current||(m.current=setTimeout(()=>{m.current=null,b.current()},n)),o&&(clearTimeout(o),o=null),i&&(d&&clearTimeout(d),d=setTimeout(()=>{delete r[v],d=null,i=!1},Math.max(500,n)))},g=()=>{h(),f(),u||i?u||P():(o&&clearTimeout(o),o=setTimeout(()=>{o=null,i=!0,P()},l))};return(0,s.useEffect)(()=>{b.current=p},[p]),(0,s.useEffect)(()=>()=>{m.current&&clearTimeout(m.current),r[v]&&delete r[v]},[v]),{isOpen:u,open:e=>{e||!(l>0)||m.current?P():g()},close:y}}({delay:U,closeDelay:$,isDisabled:z,defaultOpen:G,isOpen:B,onOpenChange:e=>{null==X||X(e),e||null==ee||ee()}}),ea=(0,s.useRef)(null),ei=(0,s.useRef)(null),eo=(0,s.useId)(),ed=er.isOpen&&!z;(0,s.useImperativeHandle)(O,()=>(0,k.fg)(ei));let{triggerProps:eu,tooltipProps:ec}=function(e,l,n){let{isDisabled:t,trigger:r,shouldCloseOnPress:a=!0}=e,i=(0,v.Me)(),o=(0,s.useRef)(!1),d=(0,s.useRef)(!1),b=()=>{(o.current||d.current)&&l.open(d.current)},f=e=>{o.current||d.current||l.close(e)};(0,s.useEffect)(()=>{let e=e=>{n&&n.current&&"Escape"===e.key&&(e.stopPropagation(),l.close(!0))};if(l.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[n,l]);let h=()=>{a&&(d.current=!1,o.current=!1,f(!0))},{hoverProps:P}=(0,c.X)({isDisabled:t,onHoverStart:()=>{"focus"!==r&&("pointer"===(0,u.Jz)()?o.current=!0:o.current=!1,b())},onHoverEnd:()=>{"focus"!==r&&(d.current=!1,o.current=!1,f())}}),{focusableProps:y}=(0,p.kc)({isDisabled:t,onFocus:()=>{(0,u.E)()&&(d.current=!0,b())},onBlur:()=>{d.current=!1,o.current=!1,f(!0)}},n);return{triggerProps:{"aria-describedby":l.isOpen?i:void 0,...(0,m.d)(y,P,{onPointerDown:h,onKeyDown:h}),tabIndex:void 0},tooltipProps:{id:i}}}({isDisabled:z,trigger:H},er,ea),{tooltipProps:ep}
1=function(e,l){let n=(0,b.z)(e,{labelable:!0}),{hoverProps:s}=(0,c.X)({onHoverStart:()=>null==l?void 0:l.open(!0),onHoverEnd:()=>null==l?void 0:l.close()});return{tooltipProps:(0,m.d)(n,s,{role:"tooltip"})}}({isOpen:ed,...(0,C.dG)(j,ec)},er),{overlayProps:ev,placement:em,updatePosition:eb}=(0,f.t)({isOpen:ed,targetRef:ea,placement:(0,x.Yx)(F),overlayRef:ei,offset:A?L+3:L,crossOffset:_,shouldFlip:M,containerPadding:K});(0,E.G)(()=>{q.length&&eb()},q);let{overlayProps:ef}=(0,w.S)({isOpen:ed,onClose:er.close,isDismissable:Z,shouldCloseOnBlur:V,isKeyboardDismissDisabled:Y,shouldCloseOnInteractOutside:Q},ei),eh=(0,s.useMemo)(()=>{var l,n,s;return(0,y.vr)({...D,disableAnimation:et,radius:null!=(l=null==e?void 0:e.radius)?l:"md",size:null!=(n=null==e?void 0:e.size)?n:"md",shadow:null!=(s=null==e?void 0:e.shadow)?s:"sm"})},[(0,C.Xx)(D),et,null==e?void 0:e.radius,null==e?void 0:e.size,null==e?void 0:e.shadow]),eP=(0,s.useCallback)((e={},l=null)=>({...(0,C.dG)(eu,e),ref:(0,S.l)(l,ea),"aria-describedby":ed?eo:void 0}),[eu,ed,eo,er]),ey=(0,s.useCallback)(()=>({ref:ei,"data-slot":"base","data-open":(0,C.PB)(ed),"data-arrow":(0,C.PB)(A),"data-disabled":(0,C.PB)(z),"data-placement":(0,x.sK)(em||"top",F),...(0,C.dG)(ep,ef,es),style:(0,C.dG)(ev.style,es.style,j.style),className:eh.base({class:null==en?void 0:en.base}),id:eo}),[eh,ed,A,z,em,F,ep,ef,es,ev,j,eo]),eg=(0,s.useCallback)(()=>({"data-slot":"content","data-open":(0,C.PB)(ed),"data-arrow":(0,C.PB)(A),"data-disabled":(0,C.PB)(z),"data-placement":(0,x.sK)(em||"top",F),className:eh.content({class:(0,g.cn)(null==en?void 0:en.content,W)})}),[eh,ed,A,z,em,F,en]);return{Component:R||"div",content:I,children:T,isOpen:ed,triggerRef:ea,showArrow:A,portalContainer:J,placement:F,disableAnimation:et,isDisabled:z,motionProps:el,getTooltipContentProps:eg,getTriggerProps:eP,getTooltipProps:ey}}({...e,ref:l});try{let e=s.Children.count(X);if(1!==e)throw Error();if((0,s.isValidElement)(X)){let e=null!=(n=X.props.ref)?n:X.ref;T=(0,s.cloneElement)(X,$(X.props,e))}else T=(0,B.jsx)("p",{...$(),children:X})}catch{T=(0,B.jsx)("span",{}),(0,C.ZK)("Tooltip must have only one child node. Please, check your code.")}let{ref:_,id:Z,style:V,...J}=A(),Y=(0,B.jsx)("div",{ref:_,id:Z,style:V,children:(0,B.jsx)(j.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:R.y7.scaleSpring,...(0,C.dG)(U,J),style:{...(0,x.VS)(K)},children:(0,B.jsx)(G,{...L(),children:z})},`${Z}-tooltip-inner`)},`${Z}-tooltip-content`);return(0,B.jsxs)(B.Fragment,{children:[T,F?H&&(0,B.jsx)(N.Xj,{portalContainer:M,children:(0,B.jsx)("div",{ref:_,id:Z,style:V,...J,children:(0,B.jsx)(G,{...L(),children:z})})}):(0,B.jsx)(D.X,{features:I,children:(0,B.jsx)(O.M,{children:H&&(0,B.jsx)(N.Xj,{portalContainer:M,children:Y})})})]})});T.displayName="HeroUI.Tooltip";var G=T}}]);

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.