PageSourceSearch

https://altel.kz/new/_next/static/chunks/8703-be3e6caa0fb1cebb.js

js altel.kz collected 2026-09-24 09:38:28 UTC 16,375 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8703],{38703:function(e,t,r){r.d(t,{Z:function(){return ea}});var o=r(67294),n=r(15063),i=r(89739),l=r(63606),a=r(4340),s=r(97937),c=r(93967),u=r.n(c),d=r(98423),p=r(53124),g=r(87462),m=r(1413),f=r(91),y={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},b=function(){var e=(0,o.useRef)([]),t=(0,o.useRef)(null);return(0,o.useEffect)(function(){var r=Date.now(),o=!1;e.current.forEach(function(e){if(e){o=!0;var n=e.style;n.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(n.transitionDuration="0s, 0s")}}),o&&(t.current=Date.now())}),e.current},$=r(71002),h=r(97685),v=r(98924),k=0,x=(0,v.Z)(),C=function(e){var t=o.useState(),r=(0,h.Z)(t,2),n=r[0],i=r[1];return o.useEffect(function(){var e;i("rc_progress_".concat((x?(e=k,k+=1):e="TEST_OR_SSR",e)))},[]),e||n},S=function(e){var t=e.bg,r=e.children;return o.createElement("div",{style:{width:"100%",height:"100%",background:t}},r)};function E(e,t){return Object.keys(e).map(function(r){var o=parseFloat(r);return"".concat(e[r]," ").concat("".concat(Math.floor(o*t),"%"))})}var w=o.forwardRef(function(e,t){var r=e.prefixCls,n=e.color,i=e.gradientId,l=e.radius,a=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,g=n&&"object"===(0,$.Z)(n),m=d/2,f=o.createElement("circle",{className:"".concat(r,"-circle-path"),r:l,cx:m,cy:m,stroke:g?"#FFF":void 0,strokeLinecap:c,strokeWidth:u,opacity:0===s?0:1,style:a,ref:t});if(!g)return f;var y="".concat(i,"-conic"),b=E(n,(360-p)/360),h=E(n,1),v="conic-gradient(from ".concat(p?"".concat(180+p/2,"deg"):"0deg",", ").concat(b.join(", "),")"),k="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(h.join(", "),")");return o.createElement(o.Fragment,null,o.createElement("mask",{id:y},f),o.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(y,")")},o.createElement(S,{bg:k},o.createElement(S,{bg:v}))))}),O=function(e,t,r,o,n,i,l,a,s,c){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-o)/100*t;return"round"===s&&100!==o&&(d+=c/2)>=t&&(d=t-.01),{stroke:"string"==typeof a?a:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:d+u,transform:"rotate(".concat(n+r/100*360*((360-i)/360)+(0===i?0:({bottom:0,top:180,left:90,right:-90})[l]),"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function N(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var I=function(e){var t,r,n,i,l=(0,m.Z)((0,m.Z)({},y),e),a=l.id,s=l.prefixCls,c=l.steps,d=l.strokeWidth,p=l.trailWidth,h=l.gapDegree,v=void 0===h?0:h,k=l.gapPosition,x=l.trailColor,S=l.strokeLinecap,E=l.style,I=l.className,A=l.strokeColor,D=l.percent,W=(0,f.Z)(l,j),P=C(a),z="".concat(P,"-gradient"),Z=50-d/2,M=2*Math.PI*Z,R=v>0?90+v/2:-90,X=M*((360-v)/360),F="object"===(0,$.Z)(c)?c:{count:c,gap:2},T=F.count,L=F.gap,_=N(D),B=N(A),H=B.find(function(e){return e&&"object"===(0,$.Z)(e)}),q=H&&"object"===(0,$.Z)(H)?"butt":S,K=O(M,X,0,100,R,v,k,x,q,d),Q=b();return o.createElement("svg",(0,g.Z)({className:u()("".concat(s,"-circle"),I),viewBox:"0 0 ".concat(100," ").concat(100),style:E,id:a,role:"presentation"},W),!T&&o.createElement("circle",{className:"".concat(s,"-circle-trail"),r:Z,cx:50,cy:50,stroke:x,strokeLinecap:q,strokeWidth:p||d,style:K}),T?(t=Math.round(T*(_[0]/100)),r=100/T,n=0,Array(T).fill(null).map(function(e,i){var l=i<=t-1?B[0]:x,a=l&&"object"===(0,$.Z)(l)?"url(#".concat(z,")"):void 0,c=O(M,X,n,r,R,v,k,l,"butt",d,L);return n+=(X-c.strokeDashoffset+L)*100/X,o.createElement("circle",{key:i,className:"".concat(s,"-circle-path"),r:Z,cx:50,cy:50,stroke:a,strokeWidth:d,opacity:1,style:c,ref:function(e){Q[i]=e}})})):(i=0,_.map(function(e,t){var r=B[t]||B[B.length-1],n=O(M,X,i,e,R,v,k,r,q,d);return i+=e,o.createElement(w,{key:t,color:r,ptg:e,radius:Z,prefixCls:s,gradientId:z,style:n,strokeLinecap:q,strokeWidth:d,gapDegree:v,ref:function(e){Q[t]=e},size:100})}).reverse()))},A=r(42697),D=r(84898);function W(e){return!e||e<0?0:e>100?100:e}function P({success:e,successPercent:t}){let r=t;return e&&"progress"in e&&(r=e.progress),e&&"percent"in e&&(r=e.percent),r}let z=({percent:e,success:t,successPercent:r})=>{let o=W(P({success:t,successPercent:r}));return[o,W(W(e)-o)]},Z=({success:e={},strokeColor:t})=>{let{strokeColor:r}=e;return[r||D.presetPrimaryColors.green,t||null]},M=(e,t,r)=>{var o,n,i,l;let a=-1,s=-1;if("step"===t){let t=r.steps,o=r.strokeWidth;"string"==typeof e||void 0===e?(a="small"===e?2:14,s=null!=o?o:8):"number"==typeof e?[a,s]=[e,e]:[a=14,s=8]=Array.isArray(e)?e:[e.width,e.height],a*=t}else if("line"===t){let t=null==r?void 0:r.strokeWidth;"string"==typeof e||void 0===e?s=t||("small"===e?6:8):"number"==typeof e?[a,s]=[e,e]:[a=-1,s=8]=Array.isArray(e)?e:[e.width,e.height]}else("circle"===t||"dashboard"===t)&&("string"==typeof e||void 0===e?[a,s]="small"===e?[60,60]:[120,120]:"number"==typeof e?[a,s]=[e,e]:Array.isArray(e)&&(a=null!==(n=null!==(o=e[0])&&void 0!==o?o:e[1])&&void 0!==n?n:120,s=null!==(l=null!==(i=e[0])&&void 0!==i?i:e[1])&&void 0!==l?l:120));return[a,s]},R=e=>
13/e*100,X=e=>{let{prefixCls:t,trailColor:r=null,strokeLinecap:n="round",gapPosition:i,gapDegree:l,width:a=120,type:s,children:c,success:d,size:p=a,steps:g}=e,[m,f]=M(p,"circle"),{strokeWidth:y}=e;void 0===y&&(y=Math.max(R(m),6));let b=o.useMemo(()=>l||0===l?l:"dashboard"===s?75:void 0,[l,s]),$=z(e),h="[object Object]"===Object.prototype.toString.call(e.strokeColor),v=Z({success:d,strokeColor:e.strokeColor}),k=u()(`${t}-inner`,{[`${t}-circle-gradient`]:h}),x=o.createElement(I,{steps:g,percent:g?$[1]:$,strokeWidth:y,trailWidth:y,strokeColor:g?v[1]:v,strokeLinecap:n,trailColor:r,prefixCls:t,gapDegree:b,gapPosition:i||"dashboard"===s&&"bottom"||void 0}),C=m<=20,S=o.createElement("div",{className:k,style:{width:m,height:f,fontSize:.15*m+6}},x,!C&&c);return C?o.createElement(A.Z,{title:c},S):S};var F=r(85982),T=r(14747),L=r(83559),_=r(83262);let B="--progress-line-stroke-color",H="--progress-percent",q=e=>{let t=e?"100%":"-100%";return new F.Keyframes(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},K=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,T.Wf)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${B})`]},height:"100%",width:`calc(1 / var(${H}
1) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[r]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,F.unit)(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:q(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:q(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},Q=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[r]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Y=e=>{let{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},G=e=>{let{componentCls:t,iconCls:r}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]:{fontSize:e.fontSizeSM}}}},J=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`});var U=(0,L.I$)("Progress",e=>{let t=e.calc(e.marginXXS).div(2).equal(),r=(0,_.mergeToken)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[K(r),Q(r),Y(r),G(r)]},J),V=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};let ee=e=>{let t=[];return Object.keys(e).forEach(r=>{let o=Number.parseFloat(r.replace(/%/g,""));
1Number.isNaN(o)||t.push({key:o,value:e[r]})}),(t=t.sort((e,t)=>e.key-t.key)).map(({key:e,value:t})=>`${t} ${e}%`).join(", ")},et=(e,t)=>{let{from:r=D.presetPrimaryColors.blue,to:o=D.presetPrimaryColors.blue,direction:n="rtl"===t?"to left":"to right"}=e,i=V(e,["from","to","direction"]);if(0!==Object.keys(i).length){let e=ee(i),t=`linear-gradient(${n}, ${e})`;return{background:t,[B]:t}}let l=`linear-gradient(${n}, ${r}, ${o})`;return{background:l,[B]:l}},er=e=>{let{prefixCls:t,direction:r,percent:n,size:i,strokeWidth:l,strokeColor:a,strokeLinecap:s="round",children:c,trailColor:d=null,percentPosition:p,success:g}=e,{align:m,type:f}=p,y=a&&"string"!=typeof a?et(a,r):{[B]:a,background:a},b="square"===s||"butt"===s?0:void 0,[$,h]=M(null!=i?i:[-1,l||("small"===i?6:8)],"line",{strokeWidth:l}),v=Object.assign(Object.assign({width:`${W(n)}%`,height:h,borderRadius:b},y),{[H]:W(n)/100}),k=P(e),x={width:`${W(k)}%`,height:h,borderRadius:b,backgroundColor:null==g?void 0:g.strokeColor},C=o.createElement("div",{className:`${t}-inner`,style:{backgroundColor:d||void 0,borderRadius:b}},o.createElement("div",{className:u()(`${t}-bg`,`${t}-bg-${f}`),style:v},"inner"===f&&c),void 0!==k&&o.createElement("div",{className:`${t}-success-bg`,style:x}));return"outer"===f&&"center"===m?o.createElement("div",{className:`${t}-layout-bottom`},C,c):o.createElement("div",{className:`${t}-outer`,style:{width:$<0?"100%":$}},"outer"===f&&"start"===m&&c,C,"outer"===f&&"end"===m&&c)},eo=e=>{let{size:t,steps:r,rounding:n=Math.round,percent:i=0,strokeWidth:l=8,strokeColor:a,trailColor:s=null,prefixCls:c,children:d}=e,p=n(r*(i/100)),[g,m]=M(null!=t?t:["small"===t?2:14,l],"step",{steps:r,strokeWidth:l}),f=g/r,y=Array.from({length:r});for(let e=0;e<r;e++){let t=Array.isArray(a)?a[e]:a;y[e]=o.createElement("div",{key:e,className:u()(`${c}-steps-item`,{[`${c}-steps-item-active`]:e<=p-1}),style:{backgroundColor:e<=p-1?t:s,width:f,height:m}}
1)}return o.createElement("div",{className:`${c}-steps-outer`},y,d)};var en=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};let ei=["normal","exception","active","success"],el=o.forwardRef((e,t)=>{let r;let{prefixCls:c,className:g,rootClassName:m,steps:f,strokeColor:y,percent:b=0,size:$="default",showInfo:h=!0,type:v="line",status:k,format:x,style:C,percentPosition:S={}}=e,E=en(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:w="end",type:O="outer"}=S,j=Array.isArray(y)?y[0]:y,N="string"==typeof y||Array.isArray(y)?y:void 0,I=o.useMemo(()=>{if(j){let e="string"==typeof j?j:Object.values(j)[0];return new n.FastColor(e).isLight()}return!1},[y]),A=o.useMemo(()=>{var t,r;let o=P(e);return Number.parseInt(void 0!==o?null===(t=null!=o?o:0)||void 0===t?void 0:t.toString():null===(r=null!=b?b:0)||void 0===r?void 0:r.toString(),10)},[b,e.success,e.successPercent]),D=o.useMemo(()=>!ei.includes(k)&&A>=100?"success":k||"normal",[k,A]),{getPrefixCls:z,direction:Z,progress:R}=o.useContext(p.E_),F=z("progress",c),[T,L,_]=U(F),B="line"===v,H=B&&!f,q=o.useMemo(()=>{let t;if(!h)return null;let r=P(e);return"inner"===O||x||"exception"!==D&&"success"!==D?t=(x||(e=>`${e}%`))(W(b),W(r)):"exception"===D?t=B?o.createElement(a.Z,null):o.createElement(s.Z,null):"success"===D&&(t=B?o.createElement(i.Z,null):o.createElement(l.Z,null)),o.createElement("span",{className:u()(`${F}-text`,{[`${F}-text-bright`]:B&&I&&"inner"===O,[`${F}-text-${w}`]:H,[`${F}-text-${O}`]:H}),title:"string"==typeof t?t:void 0},t)},[h,b,A,D,v,F,x]);"line"===v?r=f?o.createElement(eo,Object.assign({},e,{strokeColor:N,prefixCls:F,steps:"object"==typeof f?f.count:f}),q):o.createElement(er,Object.assign({},e,{strokeColor:j,prefixCls:F,direction:Z,percentPosition:{align:w,type:O}}),q):("circle"===v||"dashboard"===v)&&(r=o.createElement(X,Object.assign({},e,{strokeColor:j,prefixCls:F,progressStatus:D}),q));let K=u()(F,`${F}-status-${D}`,{[`${F}-${"dashboard"===v&&"circle"||v}`]:"line"!==v,[`${F}-inline-circle`]:"circle"===v&&M($,"circle")[0]<=20,[`${F}-line`]:H,[`${F}-line-align-${w}`]:H,[`${F}-line-position-${O}`]:H,[`${F}-steps`]:f,[`${F}-show-info`]:h,[`${F}-${$}`]:"string"==typeof $,[`${F}-rtl`]:"rtl"===Z},null==R?void 0:R.className,g,m,L,_);return T(o.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null==R?void 0:R.style),C),className:K,role:"progressbar","aria-valuenow":A,"aria-valuemin":0,"aria-valuemax":100},(0,d.Z)(E,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),r))});var ea=el}}]);

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.