PageSourceSearch

https://www.filimo.school/_next/static/chunks/pages/tutoring/permissions/manual-8603d07ecf46b62a.js

js filimo.school collected 2026-10-08 21:02:39 UTC 10,181 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a366b636-854a-4601-a63e-cec1a79b003b",e._sentryDebugIdIdentifier="sentry-dbid-a366b636-854a-4601-a63e-cec1a79b003b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2494],{64952:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tutoring/permissions/manual",function(){return t(9457)}])},787:function(e,n,t){"use strict";var i=t(11527),s=t(4198),a=t(6932),r=t.n(a),l=t(24349),o=t(50959),x=t(96672),p=t(57262),c=t(30692),d=t(13131);let u=(0,o.forwardRef)(function(e,n){let{className:t,titleClassName:a,subtitleClassName:u,title:m,subtitle:f,back:h,action:b,centerInDesktop:v,innerWrap:w,innerRef:g,style:j,...y}=e,k=(0,l.useRouter)(),_=(0,o.useRef)(null),C="object"==typeof h&&null!==h?h:void 0,N="string"==typeof h?h:null==C?void 0:C.url,Z=!!(null==C?void 0:C.desktop),L=!!(null==C?void 0:C.force),T=null==C?void 0:C.alFeature,S=null==C?void 0:C.alItem,{back:B}=k.query,E=!!h,D=E||!!m||!!b,I=(0,o.useCallback)(e=>{!L&&(B?(k.push(B),e.preventDefault()):window.history.length>2&&(k.back(),e.preventDefault()))},[B,L,k]),P=function(e){if(void 0!==e){if("xs"===e)return"500px";if("sm"===e)return"960px";if("number"==typeof e)return"".concat(e,"px")}}(w),R=(0,o.useCallback)(e=>{"function"==typeof n?n(e):n&&(n.current=e),"function"==typeof g?g(e):g&&(g.current=e)},[n,g]);return(0,i.jsx)("header",{ref:R,style:{"--pgh-mt":"var(--margin-top, 0px)","--pgh-mb":"var(--margin-bottom, 0px)","--pgh-x-pad":"var(--offset-side)","--pgh-max":"var(--max-width, calc(1200px + 2 * var(--pgh-x-pad)))","--pgh-wrap":P?"calc(".concat(P," + 2 * var(--pgh-x-pad))"):"calc(var(--wrap-size, 960px) + 2 * var(--pgh-x-pad))",...j},className:(0,p.cn)("relative mx-auto","mb-[var(--pgh-mb)] mt-[var(--pgh-mt)]","max-w-[var(--pgh-max)]","min-[900px]:mb-40 min-[900px]:mt-40","min-[900px]:[--pgh-x-pad:var(--header-x-padding)]",t),...y,children:(0,i.jsxs)("div",{className:"mx-auto max-w-[var(--pgh-wrap)]",children:[D&&(0,i.jsxs)("div",{className:"flex h-64 flex-row-reverse items-center justify-end min-[900px]:h-auto",children:[(0,i.jsxs)("div",{className:(0,p.cn)("flex flex-1 items-center justify-between px-[var(--pgh-x-pad)]",E&&"max-[900px]:pr-10",v&&"min-[900px]:justify-center min-[900px]:text-center"),children:[m&&(0,i.jsx)("h1",{className:(0,p.cn)("truncate text-[15px] font-bold","min-[900px]:overflow-visible min-[900px]:whitespace-normal min-[900px]:text-center min-[900px]:text-[24px]",a),children:m}),b&&(0,i.jsx)("div",{ref:_,children:b})]}),E&&(0,i.jsxs)(r(),{href:null!=N?N:"#",onClick:I,"data-al-feature":T,"data-al-item":S,className:(0,p.cn)("flex h-full flex-col justify-center pr-[var(--pgh-x-pad)]","min-[900px]:absolute min-[900px]:right-0 min-[900px]:top-[4px]",Z?"min-[900px]:block":"min-[900px]:hidden",v&&"min-[900px]:absolute",!v&&"min-[900px]:max-lg:static"),children:[(0,i.jsx)(x.Z,{...c.Z,className:"w-24 shrink-0 fill-on-surface-medium min-[900px]:hidden"}),(0,i.jsx)(x.Z,{...d.Z,className:"hidden w-32 shrink-0 fill-on-surface-medium min-[900px]:block"})]})]}),f&&(0,i.jsx)("h2",{className:(0,p.cn)("px-[var(--pgh-x-pad)] pb-16 text-[14px]","min-[900px]:mb-0 min-[900px]:mt-20 min-[900px]:text-[18px]",!D&&"max-sm:mt-16",v&&"min-[900px]:text-center","[&_span]:block [&_span]:max-[900px]:inline",u),children:(0,s.ZP)(f)})]})})});n.Z=u},16520:function(e,n,t){"use strict";var i=t(11527),s=t(40507),a=t.n(s),r=t(57262);let l={md:"max-w-[960px]",sm:"max-w-[500px]",xs:"max-w-[350px]"},o=e=>{if(null!=e&&"string"==typeof e&&e in l)return l[e]},x=e=>{if(null!=e&&("string"!=typeof e||!(e in l)))return{maxWidth:"".concat(e,"px")}},p=e=>{let{children:n,wrapSize:t="md",beforeWrap:s,moreTop:a,noBottom:l,noTop:p,top:c,bottom:d,followHeaderPadding:u,withShadowInMobile:m,as:f,forwardedAs:h,className:b,style:v,...w}=e,g=(0,r.cn)("relative z-[2] -mt-20 rounded-[20px] bg-white p-[var(--offset-side)]",!l&&!p&&"shadow-[0_-10px_20px_rgba(0,0,0,0.05)]",u&&"pl-[var(--header-x-padding)] pr-[var(--header-x-padding)]",a&&"pt-[50px]",m&&!p&&"max-xs:shadow-[0_-10px_20px_rgba(0,0,0,0.05)]",l&&"pb-0",p&&"mt-0 rounded-t-none rounded-b-[20px] pt-0",b),j={...c?{paddingTop:"".concat(c,"px")}
1:null,...d?{paddingBottom:"".concat(d,"px")}:null,...v},y=(0,r.cn)("mx-auto",o(t)),k=x(t);return(0,i.jsxs)(h||f||"div",{...w,className:g,style:j,children:[s,(0,i.jsx)("div",{className:y,style:k,children:n})]})};n.Z=p,p.propTypes={as:a().string,moreTop:a().bool,noBottom:a().bool,noTop:a().bool,top:a().number,wrapSize:a().string,beforeWrap:a().node,followHeaderPadding:a().bool}},49300:function(e,n,t){"use strict";var i=t(11527),s=t(19447);let a={noTicket:s.yZ,offShift:s.dc,noTeacher:s.$$,noSubscription:s.kA,inactive:s.mK};n.Z=e=>{let{custom:n={}}=e;return(0,i.jsxs)(i.Fragment,{children:[n.noTicket?(0,i.jsx)(n.noTicket,{}):(0,i.jsx)(a.noTicket,{}),n.offShift?(0,i.jsx)(n.offShift,{}):(0,i.jsx)(a.offShift,{}),n.noTeacher?(0,i.jsx)(n.noTeacher,{}):(0,i.jsx)(a.noTeacher,{}),n.noSubscription?(0,i.jsx)(n.noSubscription,{}):(0,i.jsx)(a.noSubscription,{}),n.inactive?(0,i.jsx)(n.inactive,{}):(0,i.jsx)(a.inactive,{})]})}},54065:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var i=t(11527),s=t(6932),a=t.n(s),r=t(24349),l=t(96672),o=t(19140),x=t.n(o),p=t(14300),c=t.n(p),d=new(x())({id:"x-2",use:"x-2-usage",viewBox:"0 0 32 33",content:'<symbol viewBox="0 0 32 33" xmlns="http://www.w3.org/2000/svg" id="x-2">\n<path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M12.5373 9.75382C11.7562 8.97277 10.4899 8.97277 9.70883 9.75382C8.92778 10.5349 8.92778 11.8012 9.70883 12.5822L13.1776 16.051L9.76739 19.4612C8.98634 20.2422 8.98634 21.5086 9.76739 22.2896C10.5484 23.0707 11.8148 23.0707 12.5958 22.2896L16.006 18.8794L19.416 22.2894C20.197 23.0704 21.4634 23.0704 22.2444 22.2894C23.0255 21.5083 23.0255 20.242 22.2444 19.461L18.8344 16.051L22.303 12.5825C23.084 11.8014 23.084 10.5351 22.303 9.75404C21.5219 8.97299 20.2556 8.97299 19.4745 9.75404L16.006 13.2226L12.5373 9.75382Z" />\n</symbol>'});c().add(d);var u=()=>{let{c:e=null}=(0,r.useRouter)().query;return e?(0,i.jsx)(a(),{href:"".concat(e,"?back=/"),className:"flex h-[24px] w-[24px] items-center justify-center xs:hidden",children:(0,i.jsx)(l.Z,{...d,className:"h-[32px] w-[32px] flex-shrink-0 fill-[rgb(var(--color-on-surface-medium))]"})}):null}},9457:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return b},default:function(){return h}});var i=t(11527),s=t(24349),a=t(50959),r=t(75644),l=t(787),o=t(16520),x=t(92916),p=t(78444),c=t(66615),d=t(49300),u=t(15125),m=t(54065),f=t(35045),h=()=>{let e=(0,s.useRouter)(),n=(0,f.MK)(),{guideURL:t,finishUrl:h,reloaded:b}=e.query,[v,w]=(0,a.useState)("true"===b),[g,j]=(0,a.useState)(!1),y=(0,f.$l)(),{startMeetProcess:k,isReadyToStartMeetProcess:_}=(0,c.py)(),C=async()=>{await (0,f.df)()||!n?await k({micAlreadyChecked:!0,finishUrl:h,onError:()=>{w(!1),j(!1)}}):e.push(t)};return((0,a.useEffect)(()=>{let e=async()=>{w(!0),await C()};"true"===b&&!g&&_&&(j(!0),e())},[b,_,C]),b&&v)?(0,i.jsx)(r.Z,{children:(0,i.jsx)(p.gb,{full:!0,centerAbs:!0,md:!0,orange:!0})}):(0,i.jsxs)(r.Z,{header:!0,title:"دسترسی به میکروفون",children:[(0,i.jsx)(l.Z,{action:(0,i.jsx)(m.Z,{}),title:"دسترسی به میکروفون",back:{desktop:!0,url:h},centerInDesktop:!0,className:"mb-0"}),(0,i.jsxs)(o.Z,{wrapSize:"md",noTop:!0,className:"pb-[160px] text-center xs:mt-[32px] xs:pb-[32px]",children:[(0,i.jsx)("p",{children:"برای اینکه در کلاس بتوانی به‌راحتی با معلمت گفت‌وگو کنی، لازم است به میکروفون دستگاهت دسترسی بدهی."}),(0,i.jsx)("img",{src:(0,u.HQ)("/images/permissions/check-mic.png"),alt:"",className:"my-[40px] mr-[-53px] w-[160px] xs:w-[150px]"}),(0,i.jsxs)("div",{className:"xs:shadow-none fixed bottom-0 left-0 right-0 mx-auto max-w-[500px] rounded-t-[16px] bg-white p-[24px]       shadow-[0_-8px_16px_#00000008] xs:static xs:w-full xs:p-[50px_0_0_0]",children:[(0,i.jsx)("p",{className:"mb-[16px] text-[16px] font-bold",children:"برای امتحان‌کردن میکروفون روی دکمه‌ی زیر بزن و گزینه‌ی اجازه دادن یا Allow را انتخاب کن."}),(0,i.jsx)(x.Z,{full:!0,onClick:()=>{y({reloaded:!0})},loading:g,className:"xs:h-[48px] xs:text-[18px]",children:"امتحان کردن میکروفون"})]})]}),(0,i.jsx)(d.Z,{})]})},b=!0},13131:function(e,n,t){"use strict";var i=t(19140),s=t.n(i),a=t(14300),r=t.n(a),l=new(s())({id:"back-desktop",use:"back-desktop-usage",viewBox:"0 0 32 32",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="back-desktop">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M19.7709 25.7299L29.5 16.0008L19.7709 6.27177C18.794 5.29483 17.2101 5.29483 16.2331 6.27177C15.2562 7.24872 15.2562 8.83266 16.2331 9.80961L19.9227 13.4992L5.00163 13.4992C3.62002 13.4992 2.5 14.6192 2.5 16.0008C2.5 17.3824 3.62002 18.5025 5.00163 18.5025L19.9227 18.5025L16.2331 22.192C15.2562 23.169 15.2562 24.7529 16.2331 25.7299C17.2101 26.7068 18.794 26.7068 19.7709 25.7299Z" fill="#999999" />\n</symbol>'});r().add(l),n.Z=l},30692:function(e,n,t){"use strict";var i=t(19140),s=t.n(i),a=t(14300),r=t.n(a),l=new(s())({id:"back",use:"back-usage",viewBox:"0 0 24 24",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="back">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8156 19.7749L21.5938 11.9968L13.8156 4.2186C13.0345 3.43755 11.7682 3.43755 10.9871 4.2186C10.2061 4.99965 10.2061 6.26598 10.9871 7.04703L13.9369 9.99677L4.40625 9.99677C3.30168 9.99677 2.40625 10.8922 2.40625 11.9968C2.40625 13.1013 3.30168 13.9968 4.40625 13.9968L13.9369 13.9968L10.9871 16.9465C10.2061 17.7276 10.2061 18.9939 10.9871 19.7749C11.7682 20.556 13.0345 20.556 13.8156 19.7749Z" fill="#999999" />\n</symbol>'});r().add(l),n.Z=l}},function(e){e.O(0,[9827,476,2017,5644,7721,9447,2888,9774,179],function(){return e(e.s=64952)}),_N_E=e.O()}]);

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.