PageSourceSearch

https://www.trtkazakh.com/_next/static/chunks/1295-ded590a3e1fd64b8.js

js trtkazakh.com collected 2026-09-26 14:01:32 UTC 26,442 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1295],{18265:function(e,t,n){"use strict";n.d(t,{Ry:function(){return s}});var r=new WeakMap,o=new WeakMap,a={},i=0,u=function(e){return e&&(e.host||u(e.parentNode))},c=function(e,t,n,c){var s=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var l=a[n],f=[],d=new Set,v=new Set(s),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};s.forEach(h);var p=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))p(e);else try{var t=e.getAttribute(c),a=null!==t&&"false"!==t,i=(r.get(e)||0)+1,u=(l.get(e)||0)+1;r.set(e,i),l.set(e,u),f.push(e),1===i&&a&&o.set(e,!0),1===u&&e.setAttribute(n,"true"),a||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(t),d.clear(),i++,function(){f.forEach(function(e){var t=r.get(e)-1,a=l.get(e)-1;r.set(e,t),l.set(e,a),t||(o.has(e)||e.removeAttribute(c),o.delete(e)),a||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,a={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),c(r,o,n,"aria-hidden")):function(){return null}}},12847:function(e){var t;t=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var o=n.prototype,a=o.format;r.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n,r,o=this.$locale().formats,i=(n=t,r=void 0===o?{}:o,n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,o){var a=o&&o.toUpperCase();return n||r[o]||e[o]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}));return a.call(this,i)}}},e.exports=t()},53770:function(e){var t;t=function(){return function(e,t,n){e=e||{};var r=t.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(e,t,n,o){return r.fromToBase(e,t,n,o)}n.en.relativeTime=o,r.fromToBase=function(t,r,a,i,u){for(var c,s,l,f=a.$locale().relativeTime||o,d=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],v=d.length,h=0;h<v;h+=1){var p=d[h];p.d&&(c=i?n(t).diff(a,p.d,!0):a.diff(t,p.d,!0));var m=(e.rounding||Math.round)(Math.abs(c));if(l=c>0,m<=p.r||!p.r){m<=1&&h>0&&(p=d[h-1]);var g=f[p.l];u&&(m=u(""+m)),s="string"==typeof g?g.replace("%d",m):g(m,r,p.l,l);break}}if(r)return s;var y=l?f.future:f.past;return"function"==typeof y?y(s):y.replace("%s",s)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var i=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(i(this),e)},r.fromNow=function(e){return this.from(i(this),e)}}},e.exports=t()},97699:function(e){var t;t=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var a,i=function(e,n,r){void 0===r&&(r={});var o,a,i,u,c=new Date(e);return(void 0===(o=r)&&(o={}),(u=t[i=n+"|"+(a=o.timeZoneName||"short")])||(u=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:a}),t[i]=u),u).formatToParts(c)},u=function(t,n){for(var r=i(t,n),a=[],u=0;u<r.length;u+=1){var c=r[u],s=c.type,l=c.value,f=e[s];f>=0&&(a[f]=parseInt(l,10))}var d=a[3],v=a[0]+"-"+a[1]+"-"+a[2]+" "+(24===d?0:d)+":"+a[4]+":"+a[5]+":000",h=+t;return(o.utc(v).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){void 0===e&&(e=a);
1var n,r=this.utcOffset(),i=this.toDate(),u=i.toLocaleString("en-US",{timeZone:e}),c=Math.round((i-new Date(u))/1e3/60),s=-(15*Math.round(i.getTimezoneOffset()/15))-c;if(Number(s)){if(n=o(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),t){var l=n.utcOffset();n=n.add(r-l,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=i(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var s=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return s.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return s.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,i=n||t||a,c=u(+o(),i);if("string"!=typeof e)return o(e).tz(i);var s=function(e,t,n){var r=e-60*t*1e3,o=u(r,n);if(t===o)return[r,t];var a=u(r-=60*(o-t)*1e3,n);return o===a?[r,o]:[e-60*Math.min(o,a)*1e3,Math.max(o,a)]}(o.utc(e,r).valueOf(),c,i),l=s[0],f=s[1],d=o(l).utcOffset(f);return d.$x.$timezone=i,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){a=e}}},e.exports=t()},35323:function(e){var t;t=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,a){var i=o.prototype;a.utc=function(e){var t={date:e,utc:!0,args:arguments};return new o(t)},i.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},i.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var u=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.call(this,e)};var c=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var s=i.utcOffset;i.utcOffset=function(r,o){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?s.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],a=o[0],i=60*+o[1]+ +o[2];return 0===i?0:"+"===a?i:-i}(r)))return this;var i=16>=Math.abs(r)?60*r:r,u=this;if(o)return u.$offset=i,u.$u=0===r,u;if(0!==r){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(u=this.local().add(i+c,e)).$offset=i,u.$x.$localOffset=c}else u=this.utc();return u};var l=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=a(e).local();return d.call(r,o,t,n)}}},e.exports=t()},32095:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r,o,a,i,u,c,s,l=n(74612),f=n(83641),d="right-scroll-bar-position",v="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var p="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,m=new WeakMap,g=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),a=[],i=!1,u={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,i);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var n=a;
1a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,l.pi)({async:!0,ssr:!1},r),u),y=function(){},b=f.forwardRef(function(e,t){var n,r,o,a,i=f.useRef(null),u=f.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),c=u[0],s=u[1],d=e.forwardProps,v=e.children,b=e.className,E=e.removeScrollBar,w=e.enabled,M=e.shards,C=e.sideCar,x=e.noRelative,S=e.noIsolation,T=e.inert,$=e.allowPinchZoom,D=e.as,R=e.gapMode,L=(0,l._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[i,t],r=function(e){return n.forEach(function(t){return h(t,e)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,p(function(){var e=m.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||h(e,null)}),r.forEach(function(e){t.has(e)||h(e,o)})}m.set(a,n)},[n]),a),A=(0,l.pi)((0,l.pi)({},L),c);return f.createElement(f.Fragment,null,w&&f.createElement(C,{sideCar:g,removeScrollBar:E,shards:M,noRelative:x,noIsolation:S,inert:T,setCallbacks:s,allowPinchZoom:!!$,lockRef:i,gapMode:R}),d?f.cloneElement(f.Children.only(v),(0,l.pi)((0,l.pi)({},A),{ref:N})):f.createElement(void 0===D?"div":D,(0,l.pi)({},A,{className:b,ref:N}),v))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:v,zeroRight:d};var E=function(e){var t=e.sideCar,n=(0,l._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,(0,l.pi)({},n))};E.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},M=function(){var e=w();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},C=function(){var e=M();return function(t){return e(t.styles,t.dynamic),null}},x={left:0,top:0,right:0,gap:0},S=function(e){return parseInt(e||"",10)||0},T=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[S(n),S(r),S(o)]},$=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return x;var t=T(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},D=C(),R="data-scroll-locked",L=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(R,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(d," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(v," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(v," .").concat(v," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(R,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},N=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},A=function(){f.useEffect(function(){return document.body.setAttribute(R,(N()+1).toString()),function(){var e=N()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},k=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;A();var a=f.useMemo(function(){return $(o)},[o]);return f.createElement(D,{styles:L(a,!t,o,n?"":"!important")})},O=!1;if("undefined"!=typeof window)try{var Y=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",Y,Y),window.removeEventListener("test",Y,Y)}catch(e){O=!1}var P=!!O&&{passive:!1},F=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},I=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),j(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},j=function(e,t){return"v"===e?F(t,"overflowY"):F(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},z=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,c=n.target,s=t.contains(c),l=!1,f=u>0,d=0,v=0;do{if(!c)break;var h=W(e,c),p=h[0],m=h[1]-h[2]-i*p;(p||m)&&j(e,c)&&(d+=m,v+=p);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return f&&(o&&1>Math.abs(d)||!o&&u>d)?l=!0:!f&&(o&&1>Math.abs(v)||!o&&-u>v)&&(l=!0),l},_=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},U=function(e){return[e.deltaX,e.deltaY]},Z=function(e){return e&&"current"in e?e.current:e},H=0,B=[],K=(c=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(H++)[0],a=f.useState(C)[0],i=f.useRef(e);f.useEffect(function(){i.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,l.ev)([e.lockRef.current],(e.shards||[]).map(Z),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=_(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-a[0],s="deltaY"in e?e.deltaY:u[1]-a[1],l=e.target,f=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===l.type)return!1;var d=I(f,l);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=I(f,l)),!d)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var v=r.current||o;return z(v,t,e,"h"===v?c:s,!0)},[]),c=f.useCallback(function(e){if(B.length&&B[B.length-1]===a){var n="deltaY"in e?U(e):_(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(Z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=f.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=f.useCallback(function(e){n.current=_(e),r.current=void 0},[]),v=f.useCallback(function(t){s(t.type,U(t),t.target,u(t,e.lockRef.current))},[]),h=f.useCallback(function(t){s(t.type,_(t),t.target,u(t,e.lockRef.current))},[]);f.useEffect(function(){return B.push(a),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:h}),document.addEventListener("wheel",c,P),document.addEventListener("touchmove",c,P),document.addEventListener("touchstart",d,P),function(){B=B.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,P),document.removeEventListener("touchmove",c,P),document.removeEventListener("touchstart",d,P)}},[]);var p=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?f.createElement(k,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},g.useMedium(c),E),X=f.forwardRef(function(e,t){return f.createElement(b,(0,l.pi)({},e,{ref:t,sideCar:K}))});X.classNames=b.classNames;var V=X},94850:function(e,t,n){"use strict";n.d(t,{EW:function(){return a}});var r=n(83641),o=0;function a(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:i()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:i()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function i(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},5898:function(e,t,n){"use strict";let r;n.d(t,{M:function(){return d}});var o=n(83641),a=n(20342),i=n(98129),u=n(57912),c=n(74023),s="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},d=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:d,onUnmountAutoFocus:g,...y}=e,[b,E]=o.useState(null),w=(0,u.W)(d),M=(0,u.W)(g),C=o.useRef(null),x=(0,a.e)(t,e=>E(e)),S=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(S.paused||!b)return;let t=e.target;b.contains(t)?C.current=t:p(C.current,{select:!0})},t=function(e){if(S.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||p(C.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,b,S.paused]),o.useEffect(()=>{if(b){m.add(S);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(s,f);b.addEventListener(s,w),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(v(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(b))}return()=>{b.removeEventListener(s,w),setTimeout(()=>{let t=new CustomEvent(l,f);b.addEventListener(l,M),b.dispatchEvent(t),t.defaultPrevented||p(null!=e?e:document.body,{select:!0}),b.removeEventListener(l,M),m.remove(S)},0)}}},[b,w,M,S]);let T=o.useCallback(e=>{if(!n&&!r||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,a]=function(e){let t=v(e);return[h(t,e),h(t.reverse(),e)]}(t);
1r&&a?e.shiftKey||o!==a?e.shiftKey&&o===r&&(e.preventDefault(),n&&p(a,{select:!0})):(e.preventDefault(),n&&p(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,S.paused]);return(0,c.jsx)(i.WV.div,{tabIndex:-1,...y,ref:x,onKeyDown:T})});function v(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}d.displayName="FocusScope";var m=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=g(r,e)).unshift(e)},remove(e){var t;null===(t=(r=g(r,e))[0])||void 0===t||t.resume()}});function g(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},80083:function(e,t,n){"use strict";n.d(t,{VY:function(){return B},fC:function(){return U},h_:function(){return H},x8:function(){return K},xz:function(){return Z}});var r=n(83641),o=n(42359),a=n(20342),i=n(37331),u=n(58197),c=n(94850),s=n(5898),l=n(63752),f=n(91519),d=n(38076),v=n(5698),h=n(98129),p=n(44614),m=n(67777),g=n(18265),y=n(32095),b=n(74023),E="Popover",[w,M]=(0,i.b)(E,[f.D7]),C=(0,f.D7)(),[x,S]=w(E),T=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:u=!1}=e,c=C(t),s=r.useRef(null),[d,v]=r.useState(!1),[h,p]=(0,m.T)({prop:o,defaultProp:null!=a&&a,onChange:i,caller:E});return(0,b.jsx)(f.fC,{...c,children:(0,b.jsx)(x,{scope:t,contentId:(0,l.M)(),triggerRef:s,open:h,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:d,onCustomAnchorAdd:r.useCallback(()=>v(!0),[]),onCustomAnchorRemove:r.useCallback(()=>v(!1),[]),modal:u,children:n})})};T.displayName=E;var $="PopoverAnchor";r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,a=S($,n),i=C(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:c}=a;return r.useEffect(()=>(u(),()=>c()),[u,c]),(0,b.jsx)(f.ee,{...i,...o,ref:t})}).displayName=$;var D="PopoverTrigger",R=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=S(D,n),u=C(n),c=(0,a.e)(t,i.triggerRef),s=(0,b.jsx)(h.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":_(i.open),...r,ref:c,onClick:(0,o.M)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:(0,b.jsx)(f.ee,{asChild:!0,...u,children:s})});R.displayName=D;var L="PopoverPortal",[N,A]=w(L,{forceMount:void 0}),k=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=S(L,t);return(0,b.jsx)(N,{scope:t,forceMount:n,children:(0,b.jsx)(v.z,{present:n||a.open,children:(0,b.jsx)(d.h,{asChild:!0,container:o,children:r})})})};k.displayName=L;var O="PopoverContent",Y=r.forwardRef((e,t)=>{let n=A(O,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=S(O,e.__scopePopover);return(0,b.jsx)(v.z,{present:r||a.open,children:a.modal?(0,b.jsx)(F,{...o,ref:t}):(0,b.jsx)(I,{...o,ref:t})})});Y.displayName=O;var P=(0,p.Z8)("PopoverContent.RemoveScroll"),F=r.forwardRef((e,t)=>{let n=S(O,e.__scopePopover),i=r.useRef(null),u=(0,a.e)(t,i),c=r.useRef(!1);return r.useEffect(()=>{let e=i.current;if(e)return(0,g.Ry)(e)},[]),(0,b.jsx)(y.Z,{as:P,allowPinchZoom:!0,children:(0,b.jsx)(j,{...e,ref:u,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),c.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;c.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),I=r.forwardRef((e,t)=>
1{let n=S(O,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,b.jsx)(j,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let u=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),j=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:v,onInteractOutside:h,...p}=e,m=S(O,n),g=C(n);return(0,c.EW)(),(0,b.jsx)(s.M,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,b.jsx)(u.XB,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:h,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:v,onDismiss:()=>m.onOpenChange(!1),children:(0,b.jsx)(f.VY,{"data-state":_(m.open),role:"dialog",id:m.contentId,...g,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),W="PopoverClose",z=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=S(W,n);return(0,b.jsx)(h.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>a.onOpenChange(!1))})});function _(e){return e?"open":"closed"}z.displayName=W,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=C(n);return(0,b.jsx)(f.Eh,{...o,...r,ref:t})}).displayName="PopoverArrow";var U=T,Z=R,H=k,B=Y,K=z}}]);

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.