12 |
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[70303],{30098:function(e,n,t){"use strict";var r,i,a=t(67597);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(null,arguments)}n.Z=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-book"},e),r||(r=a.createElement("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"})),i||(i=a.createElement("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})))}},15273:function(e,n,t){"use strict";var r,i=t(67597);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a.apply(null,arguments)}n.Z=function(e){return i.createElement("svg",a({viewBox:"0 0 24 24",width:18,height:18,stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none",shapeRendering:"geometricPrecision",style:{color:"currentcolor"}},e),r||(r=i.createElement("path",{d:"m6 9 6 6 6-6"})))}},9785:function(e,n,t){"use strict";var r,i=t(67597);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a.apply(null,arguments)}n.Z=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6"},e),r||(r=i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0z"})))}},98038:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(57044),i=t(57611),a=t(67597),o=t(15129),l=t(84020),u=function(){var e=(0,o.useRouter)();return(0,a.useEffect)((function(){var n=e.asPath;e.replace((0,l.gk)(n))}),[e]),(0,i.jsx)(i.Fragment,{})},s=t(19226),c=function(e){return function(n){var t=(0,a.useState)(!1),o=t[0],l=t[1];return(0,a.useEffect)((function(){l(!0)}),[]),o?(0,s.jl)()?(0,i.jsx)(e,(0,r.Z)({},n)):(0,i.jsx)(u,{}):null}}},73756:function(e,n,t){"use strict";var r=t(57611),i=t(67597),a=t(62103),o=t(19175),l=t(10117),u=t(87739),s=function(e){var n=e.queryKey,t=e.render,i=e.renderError,s=e.initialData,c=e.loading,d=void 0===c?function(){return(0,r.jsx)(l.Z,{})}:c,f=e.fetcher,v=void 0===f?u._i:f,p=e.showSpinnerOnRevalidate,g=void 0===p||p,h=e.onFetchSuccess,m=(0,a.Z)(n,(function(){return v(n).then((function(e){return null===h||void 0===h||h(e),Promise.resolve(e)})).catch((function(e){return Promise.reject(e)}))}),{fallbackData:s}),_=m.data,C=m.error,x=m.isValidating,Z=m.mutate;if(g?x:x&&!_)return d();if(C){if(i){var b=i(C);if("undefined"!==typeof b)return b}return(0,r.jsx)(o.Z,{onRetryClicked:function(){Z()},error:C})}return t(_)};n.Z=(0,i.memo)(s)},19175:function(e,n,t){"use strict";t.d(n,{Z:function(){return v}});var r,i=t(57611),a=t(67597),o=t(61395),l=t(36284),u=t.n(l),s=t(85494);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},c.apply(null,arguments)}var d=function(e){return a.createElement("svg",c({width:15,height:15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=a.createElement("path",{d:"M1.85 7.5c0-2.835 2.21-5.65 5.65-5.65 2.778 0 4.152 2.056 4.737 3.15H10.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-1 0v1.813C12.296 3.071 10.666.85 7.5.85 3.437.85.85 4.185.85 7.5c0 3.315 2.587 6.65 6.65 6.65 1.944 0 3.562-.77 4.714-1.942a6.77 6.77 0 0 0 1.428-2.167.5.5 0 1 0-.925-.38 5.77 5.77 0 0 1-1.216 1.846c-.971.99-2.336 1.643-4.001 1.643-3.44 0-5.65-2.815-5.65-5.65Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})))},f=t(87739),v=function(e){var n=e.onRetryClicked,t=e.error,r=(0,o.Z)("common").t;return(0,i.jsxs)("div",{className:u().container,children:[(0,i.jsx)("p",{className:u().text,children:t.message!==f.yH?r("error.general"):r("error.offline")}),(0,i.jsx)(s.ZP,{prefix:(0,i.jsx)(d,{}),size:s.qE.Small,type:s.L$.Secondary,onClick:n,children:r("retry")})]})}},21648:function(e,n,t){"use strict";var r=t(57044),i=t(16946),a=t(96151),o=t(57611),l=(t(67597),t(41801)),u=t(48842);n.Z=function(e){var n=e.url,t=e.image,s=e.imageAlt,c=e.imageHeight,d=e.imageWidth,f=e.openGraph,v=e.description,p=(0,a.Z)(e,["url","image","imageAlt","imageHeight","imageWidth","openGraph","description"]),g=(0,r.Z)({},f&&{openGraph:f},n&&{url:n},t&&{images:[{url:t,width:d,height:c,alt:s}]}),h=(0,r.Z)({},p,v&&{description:(0,u.aS)(v,150)});return(0,o.jsx)(l.PB,(0,i.Z)((0,r.Z)({},h),{openGraph:g}))}},66170:function(e,n,t){"use strict";var r=t(57611),i=t(67597),a=t(61395),o=t(84836),l=t.n(o),u=t(9192),s=t(13769),c=t(58172),d=t(36685),f=t(83216),v=t(69640);n.Z=function(e){var n=e.rangeStartVerse,t=e.rangeEndVerse,o=e.onRangeChange,p=e.logChange,g=(0,a.Z)("reading-goal"),h=g.t,m=g.lang,_=(0,i.useContext)(u.Z),C=(0,i.useState)(n?(0,v.Tc)(n).toString():void 0),x=C[0],Z=C[1],b=(0,i.useState)(t?(0,v.Tc)(t).toString():void 0),S=b[0],j=b[1],N=(0,i.useMemo)((function(){return(0,f.IU)(_,m)}),[_,m]),y=(0,i.useMemo)((function(){return(0,f.ZK)(_,h,m,x)}),[h,m,_,x]),w=(0,i.useMemo)((function(){return(0,f.ZK)(_,h,m,S)}),[h,m,_,S]),E=(0,i.useMemo)((function(){if(t)return(0,v.tR)(t).toString()}),[t]),I=(0,i.useMemo)((function(){if(n)return(0,v.tR)(n).toString()}),[n]),V=function(e){return function(r){var i=e===d.EQ.Start,a=i?Z:j;r&&r===(i?x:S)||o(i?{startVerse:null,endVerse:t}:{startVerse:n,endVerse:null});var l=i?n:t;l&&p&&p(i?"start_verse":"end_verse",{currentValue:l,newValue:null},{chapter:r||null,verse:(i?I:E)||null}),a(r||void 0)}},k=(0,i.useMemo)((function(){if(!S)return N;var e=Number(S)-1;return N.slice(0,e+1)}),[N,S]),R=(0,i.useMemo)((function(){if(!x)return N;var e=Number(x)-1;return N.slice(e)}),[N,x]),A=function(e){return function(r){var i=e===d.EQ.Start,a=r?(0,v.u)(i?x:S,r):null;o(i?{startVerse:a,endVerse:t}:{startVerse:n,endVerse:a}),p&&p(i?"start_verse":"end_verse",{currentValue:i?n:t,newValue:a},{chapter:(i?x:S)||null,verse:r||null})}},P=function(e){var n;if(e===d.JF.StartingChapter||e===d.JF.EndingChapter){var t,r=e===d.JF.StartingChapter?x:S;if(!r)return;return null===(t=N[Number(r)-1])||void 0===t?void 0:t.label}var i=e===d.JF.StartingVerse?I:E;return i?null===(n=(e===d.JF.StartingVerse?y:w)[Number(i)-1])||void 0===n?void 0:n.label:""};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:l().rangeInputContainer,children:[(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{id:"start-chapter",size:c.Z.Large,fixedWidth:!1,label:(0,r.jsx)("p",{className:l().label,children:h("starting-chapter")}),items:k,value:x,initialInputValue:P(d.JF.StartingChapter),onChange:V(d.EQ.Start)})}),(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{id:"starting-verse",size:c.Z.Large,fixedWidth:!1,disabled:!x,label:(0,r.jsx)("p",{className:l().label,children:h("starting-verse")}),items:y,value:I,initialInputValue:P(d.JF.StartingVerse),onChange:A(d.EQ.Start)})})]}),(0,r.jsxs)("div",{className:l().rangeInputContainer,children:[(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{id:"end-chapter",size:c.Z.Large,fixedWidth:!1,label:(0,r.jsx)("p",{className:l().label,children:h("ending-chapter")}),items:R,value:S,initialInputValue:P(d.JF.EndingChapter),onChange:V(d.EQ.End)})}),(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{id:"end-verse",size:c.Z.Large,fixedWidth:!1,label:(0,r.jsx)("p",{className:l().label,children:h("ending-verse")}),items:w,value:E,disabled:!S,initialInputValue:P(d.JF.EndingVerse),onChange:A(d.EQ.End)})})]})]})}},67418:function(e,n,t){"use strict";var r=t(57611),i=t(67597),a=t(37014),o=t.n(a),l=t(61395),u=t(84836),s=t.n(u),c=t(66170),d=t(56539),f=t(38429),v=t(47898),p=t(83216);n.Z=function(e){var n=e.type,t=e.rangeStartVerse,a=e.rangeEndVerse,u=e.pages,g=e.seconds,h=e.onRangeChange,m=e.onPagesChange,_=e.onSecondsChange,C=e.widthFull,x=void 0===C||C,Z=e.logChange,b=(0,l.Z)("reading-goal"),S=b.t,j=b.lang,N=(0,i.useMemo)((function(){return(0,p.Ph)(S,j)}),[S,j]);return n===v.lC.RANGE?(0,r.jsx)(c.Z,{rangeStartVerse:t,rangeEndVerse:a,onRangeChange:h,logChange:Z}):n===v.lC.PAGES?(0,r.jsxs)("div",{className:s().inputContainer,children:[(0,r.jsx)("label",{htmlFor:"pages",className:s().label,children:S("goal-types.pages.title")}),(0,r.jsx)(d.ZP,{id:"pages",containerClassName:o()(s().input,x&&s().fullWidth),size:d.fz.Large,value:u.toString(),fixedWidth:!1,htmlType:"number",onKeyDown:function(e){return"."===e.key&&e.preventDefault()},inputMode:"numeric",onChange:function(e){var n=Number(e);m(n),Z("pages",{currentValue:u,newValue:n})}})]}):(0,r.jsxs)("div",{className:s().inputContainer,children:[(0,r.jsx)("label",{htmlFor:"seconds",className:s().label,children:S("goal-types.time.title")}),(0,r.jsx)(f.Z,{id:"seconds",name:"seconds",size:f.h.Large,className:s().input,options:N,value:g.toString(),onChange:function(e){var n=Number(e);_(n),Z("seconds",{currentValue:g,newValue:n})}})]})}},23998:function(e,n,t){"use strict";t.d(n,{I:function(){return u},w:function(){return l}});var r=t(69976),i=t(5260),a=t(69640),o=t(47898),l=function(e,n,t){var r=n.type,a=n.pages,l=n.seconds,s=n.range;return!(r===o.lC.PAGES&&!(0,i.vU)(a,t))&&((r!==o.lC.TIME||!(Number.isNaN(l)||l>14400||l<60))&&(r!==o.lC.RANGE||u(e,s)))},u=function(e,n){if(!(null===n||void 0===n?void 0:n.startVerse)||!(null===n||void 0===n?void 0:n.endVerse))return!1;if(!(0,i.CG)(e,n.startVerse)||!(0,i.CG)(e,n.endVerse))return!1;var t=(0,r.Z)((0,a.bV)(n.startVerse),2),o=t[0],l=t[1],u=(0,r.Z)((0,a.bV)(n.endVerse),2),s=u[0],c=u[1];return!(o===s&&Number(l)>Number(c))&&!(Number(o)>Number(s))}},56539:function(e,n,t){"use strict";t.d(n,{Jf:function(){return a},fz:function(){return r}});var r,i,a,o=t(45361),l=t(57044),u=t(57611),s=t(67597),c=t(37014),d=t.n(c),f=t(85494),v=t(90724),p=t.n(v),g=t(43172);!function(e){e.Small="small",e.Medium="medium",e.Large="large"}(r||(r={})),function(e){e.Error="error",e.Warning="warning",e.Success="success"}(i||(i={})),function(e){e.Default="default",e.Main="main"}(a||(a={}));n.ZP=function(e){var n=e.id,t=e.name,c=e.label,v=e.placeholder,h=e.size,m=void 0===h?r.Medium:h,_=e.fixedWidth,C=void 0===_||_,x=e.disabled,Z=void 0!==x&&x,b=e.clearable,S=void 0!==b&&b,j=e.type,N=e.variant,y=e.prefix,w=e.suffix,E=e.onClearClicked,I=e.onChange,V=e.onKeyDown,k=e.inputMode,R=e.value,A=void 0===R?"":R,P=e.shouldFlipOnRTL,O=void 0===P||P,L=e.containerClassName,M=e.htmlType,F=e.isRequired,T=e.inputRef,W=(0,s.useState)(A),G=W[0],z=W[1];(0,s.useEffect)((function(){z(A)}),[A]);var Q,B;return(0,u.jsxs)(u.Fragment,{children:[c&&(0,u.jsx)("p",{className:p().label,children:c}),(0,u.jsxs)("div",{className:d()(p().container,L,(Q={},(0,o.Z)(Q,p().smallContainer,m===r.Small),(0,o.Z)(Q,p().mediumContainer,m===r.Medium),(0,o.Z)(Q,p().largeContainer,m===r.Large),(0,o.Z)(Q,p().fixedWidth,C),(0,o.Z)(Q,p().disabled,Z),(0,o.Z)(Q,p().error,j===i.Error),(0,o.Z)(Q,p().success,j===i.Success),(0,o.Z)(Q,p().warning,j===i.Warning),(0,o.Z)(Q,p().main,N===a.Main),Q)),children:[y&&(0,u.jsx)("div",{className:d()(p().prefix,p().prefixSuffixContainer),children:y}),(0,u.jsx)("input",(0,l.Z)({className:d()(p().input,(B={},(0,o.Z)(B,p().error,j===i.Error),(0,o.Z)(B,p().success,j===i.Success),(0,o.Z)(B,p().warning,j===i.Warning),(0,o.Z)(B,p().rtlInput,O),B)),type:M,required:F,dir:"auto",id:n,ref:T,disabled:Z,onChange:function(e){var n=e.target.value;z(n),I&&I(n)},value:G,onKeyDown:V,inputMode:k},v&&{placeholder:v},t&&{name:t})),S?(0,u.jsx)(u.Fragment,{children:G&&(0,u.jsx)("div",{className:p().clearContainer,children:(0,u.jsx)(f.ZP,{shape:f.jL.Circle,variant:f.Wu.Ghost,size:f.qE.Small,onClick:E,children:(0,u.jsx)(g.Z,{})})})}):(0,u.jsx)(u.Fragment,{children:w&&(0,u.jsx)("div",{className:d()(p().suffix,p().prefixSuffixContainer),children:w})})]})]})}},38429:function(e,n,t){"use strict";t.d(n,{h:function(){return r}});var r,i=t(45361),a=t(57044),o=t(16946),l=t(57611),u=t(67597),s=t(37014),c=t.n(s),d=t(72391),f=t.n(d),v=t(15273);!function(e){e.Small="small",e.Medium="medium",e.Large="large"}(r||(r={}));n.Z=function(e){var n,t,s=e.name,d=e.id,p=e.onChange,g=e.options,h=e.value,m=e.disabled,_=void 0!==m&&m,C=e.required,x=void 0!==C&&C,Z=e.size,b=void 0===Z?r.Medium:Z,S=e.placeholder,j=void 0===S?"Select an option":S,N=e.defaultStyle,y=void 0===N||N,w=e.className,E=e.withBackground,I=void 0===E||E,V=(0,u.useCallback)((function(e){p&&p(e.target.value)}),[p]);return(0,l.jsxs)("div",{className:c()(f().container,(n={},(0,i.Z)(n,f().defaultStyledContainer,y),(0,i.Z)(n,w,w),(0,i.Z)(n,f().disabledContainer,_),(0,i.Z)(n,f().smallContainer,b===r.Small),(0,i.Z)(n,f().mediumContainer,b===r.Medium),(0,i.Z)(n,f().largeContainer,b===r.Large),(0,i.Z)(n,f().withBackground,I),n)),children:[(0,l.jsxs)("select",(0,o.Z)((0,a.Z)({className:c()(f().select,(t={},(0,i.Z)(t,f().defaultStyledSelect,y),(0,i.Z)(t,f().disabledSelect,_),t)),name:s,id:d,onChange:V,disabled:_,required:x},h?{value:h}:{defaultValue:""}),{children:[(0,l.jsx)("option",{value:"",disabled:!0,hidden:!0,children:j}),g.map((function(e){return(0,l.jsx)("option",{value:e.value,disabled:e.disabled||!1,children:e.label},e.value)}))]})),(0,l.jsx)("div",{className:c()(f().arrow,(0,i.Z)({},f().disabledArrow,_)),children:(0,l.jsx)(v.Z,{})})]})}},92111:function(e,n,t){"use strict";t.r(n);var r=t(57044),i=t(16946),a=t(57611),o=(t(67597),t(33738)),l=t(45077);n.default=function(e){var n=e.content,t=e.children,u=e.onOpenChange,s=e.contentSide,c=void 0===s?o.iw.TOP:s,d=e.tip,f=void 0===d||d,v=e.tooltipDelay,p=void 0===v?0:v,g=e.defaultStyling,h=void 0===g||g,m=e.isOpen,_=e.triggerStyles,C=e.isContainerSpan,x=void 0!==C&&C;return(0,a.jsx)(o.ZP,(0,i.Z)((0,r.Z)({open:m,triggerStyles:_,contentSide:c,useTooltipStyles:!0},u&&{onOpenChange:u}),{defaultStyling:h,isContainerSpan:x,trigger:(0,a.jsx)(l.ZP,(0,i.Z)((0,r.Z)({open:m,tip:f,text:n,contentSide:c,delay:p},u&&{onOpenChange:u}),{children:t})),tip:f,children:n}))}},33738:function(e,n,t){"use strict";t.d(n,{iw:function(){return r}});var r,i,a=t(45361),o=t(57044),l=t(16946),u=t(57611),s=(t(67597),t(87373)),c=t(37014),d=t.n(c),f=t(86046),v=t.n(f);!function(e){e.TOP="top",e.RIGHT="right",e.BOTTOM="bottom",e.LEFT="left"}(r||(r={})),function(e){e.START="start",e.CENTER="center",e.END="end"}(i||(i={}));n.ZP=function(e){var n,t=e.children,c=e.trigger,f=e.onOpenChange,p=e.open,g=e.isModal,h=void 0!==g&&g,m=e.contentSide,_=void 0===m?r.BOTTOM:m,C=e.contentAlign,x=void 0===C?i.CENTER:C,Z=e.avoidCollisions,b=void 0===Z||Z,S=e.tip,j=void 0!==S&&S,N=e.useTooltipStyles,y=void 0!==N&&N,w=e.defaultStyling,E=void 0===w||w,I=e.isPortalled,V=void 0===I||I,k=e.contentSideOffset,R=void 0===k?2:k,A=e.triggerStyles,P=e.contentStyles,O=e.isContainerSpan,L=void 0!==O&&O,M=(0,u.jsxs)(s.VY,{sideOffset:R,side:_,align:x,avoidCollisions:b,className:d()(v().content,(n={},(0,a.Z)(n,v().tooltipContent,y),(0,a.Z)(n,P,P),n)),children:[t,j&&(0,u.jsx)(s.Eh,{})]}),F=(0,u.jsxs)(s.fC,(0,l.Z)((0,o.Z)({modal:h},"undefined"!==typeof p&&{open:p},f&&{onOpenChange:f}),{children:[(0,u.jsx)(s.xz,{"aria-label":"Open popover",asChild:!0,children:(0,u.jsx)("span",{className:d()(v().trigger,(0,a.Z)({},A,A)),children:c})}),V?(0,u.jsx)(s.h_,{children:M}):M]}));return L?(0,u.jsx)("span",{className:d()((0,a.Z)({},v().container,E)),children:F}):(0,u.jsx)("div",{className:d()((0,a.Z)({},v().container,E)),children:F})}},75038:function(e,n,t){"use strict";var r=t(648),i=t(5330),a=t(15721);n.Z=function(){var e=(0,r.v9)(i.Ho,r.wU),n=(0,r.v9)(i.z$,r.wU);return(0,a.$P)(e,n).mushaf}},83216:function(e,n,t){"use strict";t.d(n,{IU:function(){return l},Ph:function(){return o},ZK:function(){return u},zQ:function(){return s}});var r=t(22582),i=t(85149),a=t(43609),o=function(e,n){return new Array(56).fill(null).map((function(t,r){var a=60*(r<10?r+1:5*(r-9)+10);return{value:a,label:(0,i.by)(a,e,n)}}))},l=function(e,n){return Object.keys(e).map((function(t){var i=(0,r.dy)(e,t),o=(0,a.rQ)(Number(t),n);return{id:t,name:t,value:t,label:"".concat(o," - ").concat(i.transliteratedName)}}))},u=function(e,n,t,i){if(!i)return[];var o=(0,r.dy)(e,i);return new Array(o.versesCount).fill(null).map((function(e,r){var i=(0,a.rQ)(r+1,t),o=String(r+1);return{id:o,name:o,value:o,label:"".concat(n("common:ayah")," ").concat(i)}}))},s=function(e,n){return new Array(81).fill(null).map((function(t,r){var i;return{value:(i=r<10?r+1:5*(r-9)+10).toString(),label:e("reading-goal:x-days",{count:i,days:(0,a.rQ)(i,n)})}}))}},98271:function(e,n,t){"use strict";t.d(n,{Nl:function(){return v},Uh:function(){return u},ff:function(){return s},h$:function(){return c},p6:function(){return f}});var r,i=t(45361),a=t(8522),o=t(43609),l=t(63747),u=(r={},(0,i.Z)(r,l.RA.Indopak,604),(0,i.Z)(r,l.RA.KFGQPCHAFS,604),(0,i.Z)(r,l.RA.QCFV1,604),(0,i.Z)(r,l.RA.QCFV2,604),(0,i.Z)(r,l.RA.UthmaniHafs,604),(0,i.Z)(r,l.RA.Indopak16Lines,548),(0,i.Z)(r,l.RA.Indopak15Lines,610),(0,i.Z)(r,l.RA.Tajweeed,604),r),s=function(e){return 1===e},c=function(e,n,t){return e===d(n,t)},d=function(e,n){return e&&n?e===l.fr.IndoPak?n===l.AN.SixteenLines?u[l.RA.Indopak16Lines]:u[l.RA.Indopak15Lines]:u[l.ru[e]]:604},f=function(e,n,t){return(0,a.Z)(Array(d(n,t))).map((function(n,t){var r=t+1;return{value:r,label:(0,o.rQ)(r,e)}}))},v=function(e,n){return e!==l.fr.IndoPak||e===l.fr.IndoPak&&n===l.AN.FifteenLines?15:16}},48842:function(e,n,t){"use strict";t.d(n,{Nl:function(){return a},aS:function(){return r},ox:function(){return i}});var r=function(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...",r=e.split("",n),i="",a=0;a<r.length;a+=1){var o=r[a];if(i.length===n-1){i="".concat(i).concat(o).concat(t);break}i="".concat(i).concat(o)}return i},i=function(e){return e.replace(/(<([^>]+)>)/gi,"")},a=function(e){if(!e)return"";var n=e.split("-");return 1===n.length?n[0]:n[n.length-1]}},5260:function(e,n,t){"use strict";t.d(n,{CG:function(){return s},hP:function(){return o},tW:function(){return l},vU:function(){return u}});var r=t(69976),i=t(22582),a=t(98271),o=(t(78056),function(e){var n=Number(e);return!(Number.isNaN(n)||n>114||n<1)}),l=function(e,n,t){var r=Number(t);return!(Number.isNaN(r)||r<1)&&!(!(0,i.dy)(e,n)||r>(0,i.dy)(e,n).versesCount)},u=function(e,n){var t=Number(e),r=a.Uh[n];return!(Number.isNaN(t)||t>r||t<1)},s=function(e,n){var t=n.split(":");if(2!==t.length)return!1;var i=(0,r.Z)(t,2),a=i[0],u=i[1];return!(!o(a)||!l(e,a,u))}},36284:function(e){e.exports={container:"Error_container__1m9XV",text:"Error_text__yg4kD"}},84836:function(e){e.exports={rangeInputContainer:"ReadingGoalInput_rangeInputContainer__ZEAD_",inputContainer:"ReadingGoalInput_inputContainer__I_R3M",fullWidth:"ReadingGoalInput_fullWidth__MyI06",input:"ReadingGoalInput_input__PtUNh",label:"ReadingGoalInput_label__lxzo1"}},90724:function(e){e.exports={container:"Input_container__5BNOH",fixedWidth:"Input_fixedWidth__MZoNx",disabled:"Input_disabled__AFA4l",error:"Input_error__cfc8q",success:"Input_success__qb_Ue",warning:"Input_warning__KwRSJ",main:"Input_main__K4bVL",input:"Input_input__za7E9",rtlInput:"Input_rtlInput__8Yg1Q",smallContainer:"Input_smallContainer__bxyYT",mediumContainer:"Input_mediumContainer__jEOpT",largeContainer:"Input_largeContainer__yafZ8",label:"Input_label__loZWW",clearContainer:"Input_clearContainer__3LxT4",prefixSuffixContainer:"Input_prefixSuffixContainer__n84F6",prefix:"Input_prefix__jYhnp",suffix:"Input_suffix__v_BvR"}},72391:function(e){e.exports={container:"Select_container___DCC_",withBackground:"Select_withBackground__rpdEL",defaultStyledContainer:"Select_defaultStyledContainer__b32Mm",smallContainer:"Select_smallContainer__L2Lff",mediumContainer:"Select_mediumContainer__MF_Vq",largeContainer:"Select_largeContainer___qGs0",disabledContainer:"Select_disabledContainer__gi7YD",arrow:"Select_arrow__WAbAk",disabledArrow:"Select_disabledArrow__V4nEO",select:"Select_select__BnH2G",defaultStyledSelect:"Select_defaultStyledSelect__LmeKj",disabledSelect:"Select_disabledSelect___R3Jd"}},86046:function(e){e.exports={container:"Popover_container__GOha0",trigger:"Popover_trigger__qKXNN",content:"Popover_content__gu5L4",tooltipContent:"Popover_tooltipContent__AMPpT"}}}]);
- //# sourceMappingURL=70303-a0c4b54a578e5639.js.map
|