PageSourceSearch

https://qura.co/_next/static/chunks/4056-800258018db10a41.js?dpl=dpl_BBiNx44VgG2CDSoTWq6xSkhKhzu2

js qura.co collected 2026-09-24 13:37:59 UTC 10,706 bytes, 37 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4056],{2255:(t,e,r)=>{r.d(e,{f:()=>S,SquircleNoScript:()=>w});var n=r(1984),o=r.t(n,2);function i(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}var u=r(9452),l=Symbol.for("react.lazy"),a=o[" use ".trim().toString()];function f(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===l&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}var c=function(t){let e=function(t){let e=n.forwardRef((t,e)=>{let{children:r,...o}=t;if(f(r)&&"function"==typeof a&&(r=a(r._payload)),n.isValidElement(r)){var u;let t,l,a=(u=r,(l=(t=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?u.ref:(l=(t=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?u.props.ref:u.props.ref||u.ref),f=function(t,e){let r={...e};for(let n in e){let o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...t)=>{let e=i(...t);return o(...t),e}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}(o,r.props);return r.type!==n.Fragment&&(f.ref=e?function(...t){return e=>{let r=!1,n=t.map(t=>{let n=i(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():i(t[e],null)}}}}(e,a):a),n.cloneElement(r,f)}return n.Children.count(r)>1?n.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),r=n.forwardRef((t,r)=>{let{children:o,...i}=t;f(o)&&"function"==typeof a&&(o=a(o._payload));let l=n.Children.toArray(o),c=l.find(s);if(c){let t=c.props.children,o=l.map(e=>e!==c?e:n.Children.count(t)>1?n.Children.only(null):n.isValidElement(t)?t.props.children:null);return(0,u.jsx)(e,{...i,ref:r,children:n.isValidElement(t)?n.cloneElement(t,void 0,o):null})}return(0,u.jsx)(e,{...i,ref:r,children:o})});return r.displayName=`${t}.Slot`,r}("Slot"),d=Symbol("radix.slottable");function s(t){return n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===d}var h={topLeft:[{corner:"topRight",side:"top"},{corner:"bottomLeft",side:"left"}],topRight:[{corner:"topLeft",side:"top"},{corner:"bottomRight",side:"right"}],bottomLeft:[{corner:"bottomRight",side:"bottom"},{corner:"topLeft",side:"left"}],bottomRight:[{corner:"bottomLeft",side:"bottom"},{corner:"topRight",side:"right"}]};function p({cornerRadius:t,cornerSmoothing:e,preserveSmoothing:r,roundingAndSmoothingBudget:n}){let o=(1+e)*t;r||(e=Math.min(e,n/t-1),o=Math.min(o,n));let i=90*(1-e),u=Math.sin(m(i/2))*t*Math.sqrt(2),l=t*Math.tan(m((90-i)/2/2)),a=45*e,f=l*Math.cos(m(a)),c=f*Math.tan(m(a)),d=(o-u-f-c)/3,s=2*d;if(r&&o>n){let t=n-c-u-f;d=Math.min(d,t-t/6),s=t-d,o=Math.min(o,n)}return{a:s,b:d,c:f,d:c,p:o,arcSectionLength:u,cornerRadius:t}}function g({width:t,height:e,topLeftPathParams:r,topRightPathParams:n,bottomLeftPathParams:o,bottomRightPathParams:i}){return`
2    M ${t-n.p} 0
3    ${(function({cornerRadius:t,a:e,b:r,c:n,d:o,p:i,arcSectionLength:u}){return t?y`
4    c ${e} 0 ${e+r} 0 ${e+r+n} ${o}
5    a ${t} ${t} 0 0 1 ${u} ${u}
6    c ${o} ${n}
7        ${o} ${r+n}
8        ${o} ${e+r+n}`:y`l ${i} 0`})(n)}
9    L ${t} ${e-i.p}
10    ${(function({cornerRadius:t,a:e,b:r,c:n,d:o,p:i,arcSectionLength:u}){return t?y`
11    c 0 ${e}
12      0 ${e+r}
13      ${-o} ${e+r+n}
14    a ${t} ${t} 0 0 1 -${u} ${u}
15    c ${-n} ${o}
16      ${-(r+n)} ${o}
17      ${-(e+r+n)} ${o}`:y`l 0 ${i}`})(i)}
18    L ${o.p} ${e}
19    ${(function({cornerRadius:t,a:e,b:r,c:n,d:o,p:i,arcSectionLength:u}){return t?y`
20    c ${-e} 0
21      ${-(e+r)} 0
22      ${-(e+r+n)} ${-o}
23    a ${t} ${t} 0 0 1 -${u} -${u}
24    c ${-o} ${-n}
25      ${-o} ${-(r+n)}
26      ${-o} ${-(e+r+n)}`:y`l ${-i} 0`})(o)}
27    L 0 ${r.p}
28    ${(function({cornerRadius:t,a:e,b:r,c:n,d:o,p:i,arcSectionLength:u}){return t?y`
29    c 0 ${-e}
30      0 ${-(e+r)}
31      ${o} ${-(e+r+n)}
32    a ${t} ${t} 0 0 1 ${u} -${u}
33    c ${n} ${-o}
34      ${r+n} ${-o}
35      ${e+r+n} ${-o}`:y`l 0 ${-i}`})(r)}
36    Z
37  `.replace(/[\t\s\n]+/g," ").trim()}function m(t){return t*Math.PI/180}function y(t,...e){return t.reduce((t,r,n)=>{let o=e[n];return"number"==typeof o?t+r+o.toFixed(4):t+r+(o??"")},"")}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function $(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}
37))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}function v(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r.push.apply(r,n)}return r})(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function O(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r,n,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],u=!0,l=!1;try{for(o=o.call(t);!(u=(r=o.next()).done)&&(i.push(r.value),!e||i.length!==e);u=!0);}catch(t){l=!0,n=t}finally{try{u||null==o.return||o.return()}finally{if(l)throw n}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var R="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,w=function(){return(0,u.jsx)("noscript",{children:(0,u.jsx)("style",{type:"text/css",children:"[data-squircle] { clip-path: none !important; border-radius: attr(data-squircle) !important; }"})})};function S(t){var e,r,o,i,l,a,f,d,s,m,y,b,w,S,j=t.cornerRadius,P=t.cornerSmoothing,L=void 0===P?.6:P,A=t.asChild,E=t.style,M=t.width,x=t.height,B=t.defaultWidth,_=t.defaultHeight,C=function(t,e){if(null==t)return{};var r,n,o,i={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(t);o<r.length;o++)n=r[o],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n]);return i}if(i=function(t,e){if(null==t)return{};var r,n,o={},i=Object.getOwnPropertyNames(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r]);return o}(t,e),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)n=r[o],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n]);return i}(t,["cornerRadius","cornerSmoothing","asChild","style","width","height","defaultWidth","defaultHeight"]),W=O((e={defaultWidth:B,defaultHeight:_},l=(i=O((0,n.useState)(null),2))[0],a=i[1],d=(f=O((0,n.useState)({width:null!=(r=e.defaultWidth)?r:0,height:null!=(o=e.defaultHeight)?o:0}),2))[0],s=f[1],(0,n.useEffect)(function(){if(l){var t=function(){var t,e;s({width:null!=(t=l.offsetWidth)?t:0,height:null!=(e=l.offsetHeight)?e:0})};t();var e=new window.ResizeObserver(t);return e.observe(l),function(){return e.disconnect()}}},[l]),m="resize",y=function(){var t,e;l&&s({width:null!=(t=l.offsetWidth)?t:0,height:null!=(e=l.offsetHeight)?e:0})},S=(0,n.useRef)(y),R(function(){S.current=y},[y]),(0,n.useEffect)(function(){var t=window;if(null==t?void 0:t.addEventListener){var e=function(t){return S.current(t)};return t.addEventListener(m,e,void 0),function(){t.removeEventListener(m,e,w)}}},[m,b,w]),[a,d]),2),I=W[0],N=W[1],k=N.width,D=N.height,H=null!=M?M:k,q=null!=x?x:D,V=(0,n.useMemo)(function(){return 0===H||0===q?"":function({cornerRadius:t=0,topLeftCornerRadius:e,topRightCornerRadius:r,bottomRightCornerRadius:n,bottomLeftCornerRadius:o,cornerSmoothing:i,width:u,height:l,preserveSmoothing:a=!1}){if(e=e??t,r=r??t,o=o??t,n=n??t,e===r&&r===n&&n===o&&o===e){let t=Math.min(u,l)/2,r=p({cornerRadius:Math.min(e,t),cornerSmoothing:i,preserveSmoothing:a,roundingAndSmoothingBudget:t});return g({width:u,height:l,topLeftPathParams:r,topRightPathParams:r,bottomLeftPathParams:r,bottomRightPathParams:r})}let{topLeft:f,topRight:c,bottomLeft:d,bottomRight:s}=function({topLeftCornerRadius:t,topRightCornerRadius:e,bottomRightCornerRadius:r,bottomLeftCornerRadius:n,width:o,height:i}){let u={topLeft:-1,topRight:-1,bottomLeft:-1,bottomRight:-1}
37,l={topLeft:t,topRight:e,bottomLeft:n,bottomRight:r};return Object.entries(l).sort(([,t],[,e])=>e-t).forEach(([t,e])=>{let r=Math.min(...h[t].map(t=>{let r=l[t.corner];if(0===e&&0===r)return 0;let n=u[t.corner],a="top"===t.side||"bottom"===t.side?o:i;return n>=0?a-u[t.corner]:e/(e+r)*a}));u[t]=r,l[t]=Math.min(e,r)}),{topLeft:{radius:l.topLeft,roundingAndSmoothingBudget:u.topLeft},topRight:{radius:l.topRight,roundingAndSmoothingBudget:u.topRight},bottomLeft:{radius:l.bottomLeft,roundingAndSmoothingBudget:u.bottomLeft},bottomRight:{radius:l.bottomRight,roundingAndSmoothingBudget:u.bottomRight}}}({topLeftCornerRadius:e,topRightCornerRadius:r,bottomRightCornerRadius:n,bottomLeftCornerRadius:o,width:u,height:l});return g({width:u,height:l,topLeftPathParams:p({cornerSmoothing:i,preserveSmoothing:a,cornerRadius:f.radius,roundingAndSmoothingBudget:f.roundingAndSmoothingBudget}),topRightPathParams:p({cornerSmoothing:i,preserveSmoothing:a,cornerRadius:c.radius,roundingAndSmoothingBudget:c.roundingAndSmoothingBudget}),bottomRightPathParams:p({cornerSmoothing:i,preserveSmoothing:a,cornerRadius:s.radius,roundingAndSmoothingBudget:s.roundingAndSmoothingBudget}),bottomLeftPathParams:p({cornerSmoothing:i,preserveSmoothing:a,cornerRadius:d.radius,roundingAndSmoothingBudget:d.roundingAndSmoothingBudget})})}({width:H,height:q,cornerRadius:j,cornerSmoothing:L})},[H,q,j,L]);return(0,u.jsx)(A?c:"div",v($({},C),{"data-squircle":j,ref:I,style:v($({},E),{borderRadius:j,width:null!=M?M:B,height:null!=x?x:_,clipPath:"path('".concat(V,"')")})}))}},5706:(t,e,r)=>{r.d(e,{$:()=>n});function n(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=function t(e){var r,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=t(e[r]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}(t))&&(n&&(n+=" "),n+=e);return n}}}]);

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.