PageSourceSearch

https://www.copilotkit.ai/_next/static/chunks/5960-939d982da7dcbc5a.js?dpl=dpl_3B8Bp8TCHbgJVWMdzLBfVNHxYMRB

js copilotkit.ai collected 2026-09-24 17:41:15 UTC 10,360 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[5960],{27297:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(23796);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=o(e,r)),t&&(i.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58750:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(23796);function i(e,t){let n;return(...r)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...r),t)}}function o({debounce:e,scroll:t,polyfill:n,offsetSize:l}={debounce:0,scroll:!1,offsetSize:!1}){var u,a,c;let f=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!f)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[h,d]=(0,r.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),m=(0,r.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:h,orientationHandler:null}),p=e?"number"==typeof e?e:e.scroll:null,g=e?"number"==typeof e?e:e.resize:null,v=(0,r.useRef)(!1);(0,r.useEffect)(()=>(v.current=!0,()=>void(v.current=!1)));let[y,w,b]=(0,r.useMemo)(()=>{let e=()=>{if(!m.current.element)return;let{left:e,top:t,width:n,height:r,bottom:i,right:o,x:u,y:a}=m.current.element.getBoundingClientRect(),c={left:e,top:t,width:n,height:r,bottom:i,right:o,x:u,y:a};m.current.element instanceof HTMLElement&&l&&(c.height=m.current.element.offsetHeight,c.width=m.current.element.offsetWidth),Object.freeze(c),v.current&&!s(m.current.lastBounds,c)&&d(m.current.lastBounds=c)};return[e,g?i(e,g):e,p?i(e,p):e]},[d,l,p,g]);function A(){m.current.scrollContainers&&(m.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",b,!0)),m.current.scrollContainers=null),m.current.resizeObserver&&(m.current.resizeObserver.disconnect(),m.current.resizeObserver=null),m.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",m.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",m.current.orientationHandler))}function E(){m.current.element&&(m.current.resizeObserver=new f(b),m.current.resizeObserver.observe(m.current.element),t&&m.current.scrollContainers&&m.current.scrollContainers.forEach(e=>e.addEventListener("scroll",b,{capture:!0,passive:!0})),m.current.orientationHandler=()=>{b()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",m.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",m.current.orientationHandler))}return u=b,a=!!t,(0,r.useEffect)(()=>{if(a)return window.addEventListener("scroll",u,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",u,!0)},[u,a]),c=w,(0,r.useEffect)(()=>(window.addEventListener("resize",c),()=>void window.removeEventListener("resize",c)),[c]),(0,r.useEffect)(()=>{A(),E()},[t,b,w]),(0,r.useEffect)(()=>A,[]),[e=>{e&&e!==m.current.element&&(A(),m.current.element=e,m.current.scrollContainers=function e(t){let n=[];if(!t||t===document.body)return n;let{overflow:r,overflowX:i,overflowY:o}=window.getComputedStyle(t);return[r,i,o].some(e=>"auto"===e||"scroll"===e)&&n.push(t),[...n,...e(t.parentElement)]}(e),E())},h,y]}let l=["x","y","top","bottom","left","right","width","height"],s=(e,t)=>l.every(n=>e[n]===t[n])},64829:(e,t,n)=>{n.d(t,{d:()=>s});var r=n(23796),i=n(41290),o=n(1163),l=n(87356);function s(e){let t=(0,o.M)(()=>(0,l.OQ)(e)),{isStatic:n}=(0,r.useContext)(i.Q);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},84234:(e,t,n)=>{n.d(t,{i:()=>N});var r=n(44432);function i(e){return"object"==typeof e&&!Array.isArray(e)}var o=n(41072);function l(e,t,n,r){return"string"==typeof e&&i(t)?(0,o.K)(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function s(e,t,n,r){var i;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!=(i=r.get(t))?i:e}var u=n(26396);let a=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};var c=n(16891);function f(e,t){return(0,c.h)(e)?e[a(0,e.length,t)]:e}var h=n(46146);function d(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}var m=n(81697),p=n(88850),g=n(87246),v=n(68051),y=n(50956),w=n(74772),b=n(2933);function A(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function E(e,t){return t[e]||(t[e]=[]),t[e]}let S=e=>"number"==typeof e,O=e=>e.every(S);
1var C=n(96953),x=n(91728),L=n(12419),z=n(27175),M=n(41796),R=n(21886);class P extends R.B{readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,M.ge)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,t){let{output:n}=t;Object.assign(e,n)}sortInstanceNodePosition(){return 0}constructor(){super(...arguments),this.type="object"}}var T=n(65451);function j(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,L.x)(e)?new T.l(t):new z.M(t);n.mount(e),C.C.set(e,n)}function _(e){let t=new P({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),C.C.set(e,t)}var k=n(13978);function H(e,t,n,o){let s=[];if((0,r.S)(e)||"number"==typeof e||"string"==typeof e&&!i(t))s.push((0,k.z)(e,i(t)&&t.default||t,n&&n.default||n));else{let r=l(e,t,o),i=r.length;(0,y.V)(!!i,"No valid elements provided.");for(let e=0;e<i;e++){let o=r[e],l=o instanceof Element?j:_;C.C.has(o)||l(o);let u=C.C.get(o),a={...n};"delay"in a&&"function"==typeof a.delay&&(a.delay=a.delay(e,i)),s.push(...(0,x.$)(u,{...t,transition:a},{}))}}return s}var B=n(53257);class V{get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}}class I extends V{then(e,t){return this.finished.finally(e).then(()=>{})}}let N=function(e){return function(t,n,i){let o=[],a=new I(o=Array.isArray(t)&&t.some(Array.isArray)?function(e,t,n){let i=[];return(function(e){let{defaultTransition:t={},...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=t.duration||.3,c=new Map,S=new Map,C={},x=new Map,L=0,z=0,M=0;for(let n=0;n<e.length;n++){let c=e[n];if("string"==typeof c){x.set(c,z);continue}if(!Array.isArray(c)){x.set(c.name,s(z,c.at,L,x));continue}let[d,w,T={}]=c;void 0!==T.at&&(z=s(z,T.at,L,x));let j=0,_=function(e,n,r){var i;let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,c=Array.isArray(i=e)?i:[i],{delay:d=0,times:w=(0,m.Z)(c),type:A="keyframes",repeat:E,repeatType:S,repeatDelay:C=0,...x}=n,{ease:L=t.ease||"easeOut",duration:R}=n,P="function"==typeof d?d(l,s):d,T=c.length,_=(0,p.W)(A)?A:null==o?void 0:o[A];if(T<=2&&_){let e=100;2===T&&O(c)&&(e=Math.abs(c[1]-c[0]));let t={...x};void 0!==R&&(t.duration=(0,b.f)(R));let n=(0,g.X)(t,e,_);L=n.ease,R=n.duration}null!=R||(R=a);let k=z+P;1===w.length&&0===w[0]&&(w[1]=1);let H=w.length-c.length;if(H>0&&(0,v.f)(w,H),1===c.length&&c.unshift(null),E){(0,y.V)(E<20,"Repeat count too high, must be less than 20");R*=E+1;let e=[...c],t=[...w],n=[...L=Array.isArray(L)?[...L]:[L]];for(let r=0;r<E;r++){c.push(...e);for(let i=0;i<e.length;i++)w.push(t[i]+(r+1)),L.push(0===i?"linear":f(n,i-1))}for(let e=0;e<w.length;e++)w[e]=w[e]/(E+1)}let B=k+R;!function(e,t,n,r,i,o){for(let t=0;t<e.length;t++){let n=e[t];n.at>i&&n.at<o&&((0,h.Ai)(e,n),t--)}for(let l=0;l<t.length;l++)e.push({value:t[l],at:(0,u.k)(i,o,r[l]),easing:f(n,l)})}(r,c,L,w,k,B),j=Math.max(P+R,j),M=Math.max(B,M)};if((0,r.S)(d))_(w,T,E("default",A(d,S)));else{let e=l(d,w,i,C),t=e.length;for(let n=0;n<t;n++){let r=A(e[n],S);for(let e in w){var R,P;_(w[e],(R=T,P=e,R&&R[P]?{...R,...R[P]}:{...R}),E(e,r),n,t)}}}L=z,z+=j}
1return S.forEach((e,r)=>{for(let i in e){let o=e[i];o.sort(d);let l=[],s=[],u=[];for(let e=0;e<o.length;e++){let{at:t,value:n,easing:r}=o[e];l.push(n),s.push((0,w.q)(0,M,t)),u.push(r||"easeOut")}0!==s[0]&&(s.unshift(0),l.unshift(l[0]),u.unshift("easeInOut")),1!==s[s.length-1]&&(s.push(1),l.push(null)),c.has(r)||c.set(r,{keyframes:{},transition:{}});let a=c.get(r);a.keyframes[i]=l,a.transition[i]={...t,duration:M,ease:u,times:s,...n}}}),c})(e,t,n,{spring:B.o}).forEach((e,t)=>{let{keyframes:n,transition:r}=e;i.push(...H(t,n,r))}),i}(t,n,void 0):H(t,n,i,e));return e&&e.animations.push(a),a}}()},94710:(e,t,n)=>{var r=n(66314);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}}),n.o(r,"useSelectedLayoutSegments")&&n.d(t,{useSelectedLayoutSegments:function(){return r.useSelectedLayoutSegments}})}}]);

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.