PageSourceSearch

https://vsare-fastgpt.hf.space/_next/static/chunks/3372.829d1507d5406f87.js

js vsare-fastgpt.hf.space collected 2026-10-03 17:31:58 UTC 19,986 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3372,84193],{63614:function(e,t,n){var r,a,o,i;n.d(t,{$5:function(){return u},$H:function(){return l},Dc:function(){return h},J2:function(){return a},KU:function(){return r},UQ:function(){return s},WG:function(){return c},Xn:function(){return m},Zh:function(){return p},bE:function(){return d}}),(o=r||(r={})).folder="folder",o.simple="simple",o.workflow="advanced",o.plugin="plugin",o.httpPlugin="httpPlugin";let s=["folder","httpPlugin"],l={type:"web"},u={open:!1,defaultPrompt:""},c={open:!1,autoSend:!1,autoTTSResponse:!1},d={open:!1,model:"gpt-4o-mini",customPrompt:""},m={open:!1,textList:[],customUrl:""},p={canSelectFile:!1,canSelectImg:!1,maxFiles:10};(i=a||(a={})).recommendation="recommendation",i.writing="writing",i.imageGeneration="image-generation",i.webSearch="web-search",i.roleplay="roleplay",i.officeServices="office-services";let h=16e3},98308:function(e,t,n){n.d(t,{TI:function(){return g},YQ:function(){return p},YS:function(){return m},_Z:function(){return S},_j:function(){return h},bT:function(){return x},kB:function(){return v},o7:function(){return d},tk:function(){return b},x7:function(){return f},z9:function(){return c}});var r,a,o,i,s,l,u,c,d,m,p,h,f,x,y=n(85059);(r=c||(c={})).systemInput="systemInput",r.ai="ai",r.function="function",r.tools="tools",r.interactive="interactive",r.search="search",r.multimodal="multimodal",r.communication="communication",r.other="other",r.teamApp="teamApp",(a=d||(d={})).string="string",a.number="number",a.boolean="boolean",a.object="object",a.arrayString="arrayString",a.arrayNumber="arrayNumber",a.arrayBoolean="arrayBoolean",a.arrayObject="arrayObject",a.arrayAny="arrayAny",a.any="any",a.chatHistory="chatHistory",a.datasetQuote="datasetQuote",a.dynamic="dynamic",a.selectDataset="selectDataset",a.selectApp="selectApp";let g=[{label:"string",value:"string",jsonSchema:{type:"string"}},{label:"number",value:"number",jsonSchema:{type:"number"}},{label:"boolean",value:"boolean",jsonSchema:{type:"boolean"}},{label:"array<string>",value:"arrayString",jsonSchema:{type:"array",items:{type:"string"}}},{label:"array<number>",value:"arrayNumber",jsonSchema:{type:"array",items:{type:"number"}}},{label:"array<boolean>",value:"arrayBoolean",jsonSchema:{type:"array",items:{type:"boolean"}}}];(o=m||(m={})).welcomeText="welcomeText",o.switch="switch",o.history="history",o.answerText="text",o.questionGuide="questionGuide",o.tts="tts",o.whisper="whisper",o.variables="variables",o.scheduleTrigger="scheduleTrigger",o.chatInputGuide="chatInputGuide",o.autoExecute="autoExecute",o.instruction="instruction",o.userChatInput="userChatInput",o.inputFiles="inputFiles",o.agents="agents",o.aiModel="model",o.aiSystemPrompt="systemPrompt",o.description="description",o.anyInput="system_anyInput",o.textareaInput="system_textareaInput",o.addInputParam="system_addInputParam",o.forbidStream="system_forbid_stream",o.historyMaxAmount="maxContext",o.aiChatTemperature="temperature",o.aiChatMaxToken="maxToken",o.aiChatSettingModal="aiSettings",o.aiChatIsResponseText="isResponseAnswerText",o.aiChatQuoteRole="aiChatQuoteRole",o.aiChatQuoteTemplate="quoteTemplate",o.aiChatQuotePrompt="quotePrompt",o.aiChatDatasetQuote="quoteQA",o.aiChatVision="aiChatVision",o.stringQuoteText="stringQuoteText",o.aiChatReasoning="aiChatReasoning",o.aiChatTopP="aiChatTopP",o.aiChatStopSign="aiChatStopSign",o.aiChatResponseFormat="aiChatResponseFormat",o.aiChatJsonSchema="aiChatJsonSchema",o.datasetSelectList="datasets",o.datasetSimilarity="similarity",o.datasetMaxTokens="limit",o.datasetSearchMode="searchMode",o.datasetSearchEmbeddingWeight="embeddingWeight",o.datasetSearchUsingReRank="usingReRank",o.datasetSearchRerankWeight="rerankWeight",o.datasetSearchRerankModel="rerankModel",o.datasetSearchUsingExtensionQuery="datasetSearchUsingExtensionQuery",o.datasetSearchExtensionModel="datasetSearchExtensionModel",o.datasetSearchExtensionBg="datasetSearchExtensionBg",o.collectionFilterMatch="collectionFilterMatch",o.authTmbId="authTmbId",o.datasetDeepSearch="datasetDeepSearch",o.datasetDeepSearchModel="datasetDeepSearchModel",o.datasetDeepSearchMaxTimes="datasetDeepSearchMaxTimes",o.datasetDeepSearchBg="datasetDeepSearchBg",o.datasetQuoteList="system_datasetQuoteList",o.contextExtractInput="content",o.extractKeys="extractKeys",o.httpReqUrl="system_httpReqUrl",o.httpHeaders="system_httpHeader",o.httpMethod="system_httpMethod",o.httpParams="system_httpParams",o.httpJsonBody="system_httpJsonBody",o.httpFormBody="system_httpFormBody",o.httpContentType="system_httpContentType",o.httpTimeout="system_httpTimeout",o.abandon_httpUrl="url",o.runAppSelectApp="app",o.pluginId="pluginId",o.pluginStart="pluginStart",o.condition="condition",o.ifElseList="ifElseList",o.updateList="updateList",o.code="code",o.codeType="codeType",o.fileUrlList="fileUrlList",o.userSelectOptions="userSelectOptions",o.loopInputArray="loopInputArray",o.childrenNodeIdList="childrenNodeIdList",o.nodeWidth="nodeWidth",o.nodeHeight="nodeHeight",o.loopNodeInputHeight="loopNodeInputHeight",o.loopStartInput="loopStartInput",o.loopStartIndex="loopStartIndex",o.loopEndInput="loopEndInput",o.userInputForms="userInputForms",o.commentText="commentText",o.commentSize="commentSize",(i=p||(p={})).userChatInput="userChatInput",i.history="history",i.answerText="answerText",i.reasoningText="reasoningText",i.success="success",i.failed="failed",i.error="error",i.text="system_text",i.addOutputParam="system_addOutputParam",i.rawResponse="system_rawResponse",i.userFiles="userFiles",i.datasetQuoteQA="quoteQA",i.cqRe
1sult="cqResult",i.contextExtractFields="fields",i.resultTrue="system_resultTrue",i.resultFalse="system_resultFalse",i.selectedTools="selectedTools",i.httpRawResponse="httpRawResponse",i.pluginStart="pluginStart",i.ifElseResult="ifElseResult",i.selectResult="selectResult",i.loopArray="loopArray",i.loopStartInput="loopStartInput",i.loopStartIndex="loopStartIndex",i.formInputResult="formInputResult",(s=h||(h={})).input="input",s.textarea="textarea",s.numberInput="numberInput",s.select="select",s.custom="custom";let b={input:{icon:"core/workflow/inputType/input",label:(0,y.o)("common:core.workflow.inputType.textInput"),value:"input",defaultValueType:"string"},textarea:{icon:"core/workflow/inputType/textarea",label:(0,y.o)("common:core.workflow.inputType.textarea"),value:"textarea",defaultValueType:"string",description:(0,y.o)("app:variable.textarea_type_desc")},numberInput:{icon:"core/workflow/inputType/numberInput",label:(0,y.o)("common:core.workflow.inputType.number input"),value:"numberInput",defaultValueType:"number"},select:{icon:"core/workflow/inputType/option",label:(0,y.o)("common:core.workflow.inputType.select"),value:"select",defaultValueType:"string"},custom:{icon:"core/workflow/inputType/customVariable",label:(0,y.o)("common:core.workflow.inputType.custom"),value:"custom",defaultValueType:"string",description:(0,y.o)("app:variable.select type_desc")}};(l=f||(f={})).waiting="waiting",l.active="active",l.skipped="skipped";let S="VARIABLE_NODE_ID";(u=x||(x={})).none="none",u.formData="form-data",u.xWwwFormUrlencoded="x-www-form-urlencoded",u.json="json",u.xml="xml",u.raw="raw-text";let v={string:"arrayString",number:"arrayNumber",boolean:"arrayBoolean",object:"arrayObject",arrayString:"arrayString",arrayNumber:"arrayNumber",arrayBoolean:"arrayBoolean",arrayObject:"arrayObject",chatHistory:"arrayObject",datasetQuote:"arrayObject",dynamic:"arrayObject",selectDataset:"arrayObject",selectApp:"arrayObject",arrayAny:"arrayAny",any:"arrayAny"}},45395:function(e,t,n){var r=n(31549),a=n(78846),o=n(44194),i=n(36917);t.Z=o.memo(e=>{let{register:t,name:n,onChange:o,onBlur:s,placeholder:l,bg:u,...c}=e;return(0,r.jsxs)(a.Y2,{...c,onBlur:e=>{if(!s)return;let t=Number(e.target.value);isNaN(t)?s(""):s(t)},onChange:e=>{if(!o)return;let t=Number(e);isNaN(t)?o(""):o(t)},children:[(0,r.jsx)(a.zu,{bg:u,placeholder:l,h:c.h,defaultValue:c.defaultValue,...t&&n?t(n,{required:e.isRequired,min:e.min,max:e.max,valueAsNumber:!0}):{}}),(0,r.jsxs)(a.Fi,{children:[(0,r.jsx)(a.WQ,{children:(0,r.jsx)(i.Z,{name:"core/chat/chevronUp",width:"12px"})}),(0,r.jsx)(a.Y_,{children:(0,r.jsx)(i.Z,{name:"core/chat/chevronDown",width:"12px"})})]})]})})},46357:function(e,t,n){var r=n(31549);n(44194);var a=n(33841);t.Z=e=>{let{children:t,required:n,...o}=e;return(0,r.jsxs)(a.x,{color:"myGray.900",fontWeight:"medium",fontSize:"sm",position:"relative",flexShrink:0,...o,children:[n&&(0,r.jsx)(a.x,{color:"red.600",position:"absolute",top:"-4px",left:"-6px",children:"*"}),t]})}},96075:function(e,t,n){var r=n(31549),a=n(44194),o=n(16193),i=n(35353),s=n(45395);t.Z=a.memo(e=>{let{onChange:t,value:n,max:l=100,min:u=0,step:c=1,isDisabled:d}=e,m=(0,a.useMemo)(()=>{let e=l-u;return[.007*e+u,.2*e+u,.4*e+u,.6*e+u,.8*e+u,.985*e+u]},[l,u]);return(0,r.jsxs)(o.U,{zIndex:10,spacing:3,children:[(0,r.jsxs)(i.iR,{max:l,min:u,step:c,value:n,focusThumbOnChange:!1,onChange:t,isDisabled:d,children:[(0,r.jsx)(i.Uj,{bg:"myGray.100",h:"4px"}),m.map((e,t)=>(0,r.jsx)(i.jz,{value:e,w:"2px",h:"2px",bg:"#A4A4A4",borderRadius:"2px",opacity:.4,transform:"translateY(-50%)"},t)),(0,r.jsx)(i.gs,{bg:"primary.500",border:"4px solid",borderColor:"#dee7f6",w:"18px",h:"18px",boxShadow:"none"})]}),(0,r.jsx)(s.Z,{size:"sm",width:"150px",min:u,max:l,step:c,value:n,isDisabled:d,onChange:e=>t(null!=e?e:u)})]})})},76963:function(e,t,n){var r=n(31549),a=n(44194),o=n(29530),i=n(23863),s=n(69443),l=n(50511),u=n(33841),c=n(36236),d=n(9530),m=n(40399),p=n(36917),h=n(13091),f=n(10940);let x=a.forwardRef(function(e,t){let n=(0,a.useRef)(null),u=(0,a.useRef)(null);a.useImperativeHandle(t,()=>u.current);let{t:c}
1=(0,m.$G)(),{title:d=c("common:core.app.edit.Prompt Editor"),iconSrc:p="modal/edit",autoHeight:f=!1,onChange:x,maxH:g,minH:b,...S}=e,{isOpen:v,onOpen:w,onClose:j}=(0,o.q)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{textareaRef:u,autoHeight:f,onChange:x,maxH:g,minH:b,showResize:!f,...S,onOpenModal:w}),v&&(0,r.jsxs)(h.default,{iconSrc:p,title:d,isOpen:!0,onClose:j,children:[(0,r.jsx)(i.f,{children:(0,r.jsx)(y,{textareaRef:n,onChange:x,...S,maxH:500,minH:500,minW:["100%","512px"],showResize:!1})}),(0,r.jsx)(s.m,{children:(0,r.jsx)(l.z,{onClick:()=>{n.current&&u.current&&(u.current.value=n.current.value),j()},children:c("common:common.Confirm")})})]})]})});t.Z=a.memo(x);let y=a.memo(function(e){let{onOpenModal:t,textareaRef:n,autoHeight:o=!1,onChange:i,maxH:s,minH:l,showResize:h,...x}=e,{t:y}=(0,m.$G)(),[g,b]=(0,a.useState)(0);return(0,r.jsxs)(u.x,{h:"100%",w:"100%",position:"relative",children:[(0,r.jsx)(c.g,{ref:n,maxW:"100%",as:o?f.Z:void 0,sx:h?{}:{"::-webkit-resizer":{display:"none"}},...x,maxH:"".concat(s,"px"),minH:"".concat(l,"px"),onChange:e=>{b(e.target.scrollHeight),null==i||i(e)}}),t&&s&&g>Number(s)&&(0,r.jsx)(u.x,{zIndex:1,position:"absolute",bottom:1,right:2,cursor:"pointer",onClick:t,children:(0,r.jsx)(d.Z,{label:y("common:common.ui.textarea.Magnifying"),children:(0,r.jsx)(p.Z,{name:"common/fullScreenLight",w:"14px",color:"myGray.600"})})})]})})},10940:function(e,t,n){n.d(t,{Z:function(){return j}});var r=n(75737),a=n(78236),o=n(44194),i=o.useLayoutEffect,s=function(e){var t=o.useRef(e);return i(function(){t.current=e}),t},l=function(e,t){if("function"==typeof e){e(t);return}e.current=t},u=function(e,t){var n=o.useRef();return o.useCallback(function(r){e.current=r,n.current&&l(n.current,null),n.current=t,t&&l(t,r)},[t])},c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},d=function(e){Object.keys(c).forEach(function(t){e.style.setProperty(t,c[t],"important")})},m=null,p=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},h=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],x=!!document.documentElement.currentStyle,y=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=f.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;x&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var a=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),o=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:a,borderSize:o}};function g(e,t,n){var r=s(n);o.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var b=function(e,t){g(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},S=function(e){g(window,"resize",e)},v=function(e){g(document.fonts,"loadingdone",e)},w=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],j=o.forwardRef(function(e,t){var n=e.cacheMeasurements,i=e.maxRows,s=e.minRows,l=e.onChange,c=void 0===l?h:l,f=e.onHeightChange,x=void 0===f?h:f,g=(0,a.Z)(e,w),j=void 0!==g.value,k=o.useRef(null),_=u(k,t),C=o.useRef(0),I=o.useRef(),T=function(){var e,t,r,a,o,l,u,c,h,f,g,b=k.current,S=n&&I.current?I.current:y(b);if(S){I.current=S;var v=(e=b.value||b.placeholder||"x",void 0===(t=s)&&(t=1),void 0===(r=i)&&(r=1/0),m||((m=document.createElement("textarea")).setAttribute("tabindex","-1"),m.setAttribute("aria-hidden","true"),d(m)),null===m.parentNode&&document.body.appendChild(m),a=S.paddingSize,o=S.borderSize,u=(l=S.sizingStyle).boxSizing,Object.keys(l).forEach(function(e){m.style[e]=l[e]}),d(m),m.value=e,c=p(m,S),m.value=e,c=p(m,S),m.value="x",f=(h=m.scrollHeight-a)*t,"border-box"===u&&(f=f+a+o),c=Math.max(f,c),g=h*r,"border-box"===u&&(g=g+a+o),[c=Math.min(g,c),h]),w=v[0],j=v[1];C.current!==w&&(C.current=w,b.style.setProperty("height",w+"px","important"),x(w,{rowHeight:j}))}};return o.useLayoutEffect(T),b(k,function(){if(!j){var e=k.current.value;requestAnimationFrame(function(){var t=k.current;t&&e!==t.value&&T()})}}),S(T),v(T),o.createElement("textarea",(0,r.Z)({},g,{onChange:function(e){j||T(),c(e)},ref:_}))})},3121:function(e,t,n){n.d(t,{X:function(){return k}});var r=n(31549),a=n(98208),o=n(1408),i=n(58095),s=n(18456),l=n(56976),u=n(44194);
1let[c,d]=(0,n(70114).k)({name:"CheckboxGroupContext",strict:!1});var m=n(48600);function p(e){return(0,r.jsx)(m.m.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,r.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function h(e){return(0,r.jsx)(m.m.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,r.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function f(e){let{isIndeterminate:t,isChecked:n,...a}=e;return n||t?(0,r.jsx)(m.m.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,r.jsx)(t?h:p,{...a})}):null}var x=n(62436),y=n(48200),g=n(42948);let b={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},S={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},v=(0,l.F4)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),w=(0,l.F4)({from:{opacity:0}
1,to:{opacity:1}}),j=(0,l.F4)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),k=(0,y.G)(function(e,t){let n=d(),l={...n,...e},c=(0,g.j)("Checkbox",l),p=(0,a.L)(e),{spacing:h="0.5rem",className:y,children:k,iconColor:_,iconSize:C,icon:I=(0,r.jsx)(f,{}),isChecked:T,isDisabled:R=n?.isDisabled,onChange:N,inputProps:A,...E}=p,F=T;n?.value&&p.value&&(F=n.value.includes(p.value));let W=N;n?.onChange&&p.value&&(W=(0,o.P)(n.onChange,N));let{state:z,getInputProps:M,getCheckboxProps:L,getLabelProps:B,getRootProps:H}=(0,x.O)({...E,isDisabled:R,isChecked:F,onChange:W}),D=function(e){let[t,n]=(0,u.useState)(e),[r,a]=(0,u.useState)(!1);return e!==t&&(a(!0),n(e)),r}(z.isChecked),O=(0,u.useMemo)(()=>({animation:D?z.isIndeterminate?`${w} 20ms linear, ${j} 200ms linear`:`${v} 200ms linear`:void 0,...c.icon,...(0,i.o)({fontSize:C,color:_})}),[_,C,D,z.isIndeterminate,c.icon]),Q=(0,u.cloneElement)(I,{__css:O,isIndeterminate:z.isIndeterminate,isChecked:z.isChecked});return(0,r.jsxs)(m.m.label,{__css:{...S,...c.container},className:(0,s.cx)("chakra-checkbox",y),...H(),children:[(0,r.jsx)("input",{className:"chakra-checkbox__input",...M(A,t)}),(0,r.jsx)(m.m.span,{__css:{...b,...c.control},className:"chakra-checkbox__control",...L(),children:Q}),k&&(0,r.jsx)(m.m.span,{className:"chakra-checkbox__label",...B(),__css:{marginStart:h,...c.label},children:k})]})});k.displayName="Checkbox"},16193:function(e,t,n){n.d(t,{U:function(){return o}});var r=n(31549),a=n(60559);let o=(0,n(48200).G)((e,t)=>(0,r.jsx)(a.K,{align:"center",...e,direction:"row",ref:t}));o.displayName="HStack"},60559:function(e,t,n){n.d(t,{K:function(){return c}});var r=n(31549),a=n(77253),o=n(18456),i=n(44194),s=n(48600);let l=e=>(0,r.jsx)(s.m.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});l.displayName="StackItem";var u=n(74013);let c=(0,n(48200).G)((e,t)=>{let{isInline:n,direction:c,align:d,justify:m,spacing:p="0.5rem",wrap:h,children:f,divider:x,className:y,shouldWrapChildren:g,...b}=e,S=n?"row":c??"column",v=(0,i.useMemo)(()=>(function(e){let{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,u.XQ)(n,e=>r[e])}})({spacing:p,direction:S}),[p,S]),w=!!x,j=!g&&!w,k=(0,i.useMemo)(()=>{let e=(0,a.W)(f);return j?e:e.map((t,n)=>{let a=void 0!==t.key?t.key:n,o=n+1===e.length,s=(0,r.jsx)(l,{children:t},a),u=g?s:t;if(!w)return u;let c=(0,i.cloneElement)(x,{__css:v});return(0,r.jsxs)(i.Fragment,{children:[u,o?null:c]},a)})},[x,v,w,j,g,f]),_=(0,o.cx)("chakra-stack",y);return(0,r.jsx)(s.m.div,{ref:t,display:"flex",alignItems:d,justifyContent:m,flexDirection:S,flexWrap:h,gap:w?void 0:p,className:_,...b,children:k})});c.displayName="Stack"},24018:function(e,t,n){n.d(t,{r:function(){return d}});var r=n(31549),a=n(98208),o=n(18456),i=n(44194),s=n(62436),l=n(48200),u=n(42948),c=n(48600);let d=(0,l.G)(function(e,t){let n=(0,u.j)("Switch",e),{spacing:l="0.5rem",children:d,...m}=(0,a.L)(e),{getIndicatorProps:p,getInputProps:h,getCheckboxProps:f,getRootProps:x,getLabelProps:y}=(0,s.O)(m),g=(0,i.useMemo)(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...n.container}),[n.container]),b=(0,i.useMemo)(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...n.track}),[n.track]),S=(0,i.useMemo)(()=>({userSelect:"none",marginStart:l,...n.label}),[l,n.label]);return(0,r.jsxs)(c.m.label,{...x(),className:(0,o.cx)("chakra-switch",e.className),__css:g,children:[(0,r.jsx)("input",{className:"chakra-switch__input",...h({},t)}),(0,r.jsx)(c.m.span,{...f(),className:"chakra-switch__track",__css:b,children:(0,r.jsx)(c.m.span,{__css:n.thumb,className:"chakra-switch__thumb",...p()})}),d&&(0,r.jsx)(c.m.span,{className:"chakra-switch__label",...y(),__css:S,children:d})]})});d.displayName="Switch"},74013:function(e,t,n){n.d(t,{XQ:function(){return a}});var r=n(72461);function a(e,t){return Array.isArray(e)?e.map(e=>null===e?null:t(e)):(0,r.Kn)(e)?Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{}):null!=e?t(e):null}Object.freeze(["base","sm","md","lg","xl","2xl"])}}]);

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.