PageSourceSearch

https://signlab-india.herokuapp.com/static/js/1493.edb5cdd4.chunk.js

js signlab-india.herokuapp.com collected 2026-10-03 14:52:39 UTC 10,666 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[1493],{1493:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});n(36665);const o=new(n(75012).default)({topBar:{showBackIcon:!0}});var r=n(134),a=n(73385),i=n(32664),s=n(70695),l=n(90765),d=n(53934),u=n(10709),c=n(36277),f=n(60397);class m extends r.default{constructor(e){super(e,"ContentLockPage_LessonRatePace",o)}render(){return(0,f.jsx)(a.default,{type:"LessonRatePace",mainButtonTextId:(0,c.default)(),onPressMainButton:this.onPressMainButton.bind(this),onPressSecondaryButton:this.onPressSecondaryButton.bind(this)})}onPressMainButton(){(0,u.default)("LessonRatePace","UNLOCK-LESSON-RATE-PACE"),(0,l.default)("UNLOCK-LESSON-RATE-PACE")}onPressSecondaryButton(){(0,s.default)("HomePage")||(0,i.default)()}extraComponentDidMount(){(0,d.default)("LessonRatePace","UNLOCK-LESSON-RATE-PACE")}}},9333:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var o=n(36665),r=n(6283),a=n(73929),i=n(64957),s=n(22043),l=n(60397);class d extends o.Component{render(){let{fontSize:e,fontFamily:t,fontWeight:n,text:o,maxWidth:i,color:s,textAlign:d,lineHeight:u,dontCenter:c,debugId:f,maxPercentReduction:m,minSecondLinePercent:h,minLastLinePercent:p}=this.props;t||(t="Regular"),void 0===h&&(h=.35),void 0===p&&(p=.7);const T=f?` (${f})`:"";if(!e)throw new Error("580e03b5e6"+T);if(!t)throw new Error("580e03b5e6"+T);if(!o)throw new Error("c0928ac511"+T);if(!i)throw new Error("a7c8870b2e"+T);if("string"!=typeof o)throw new Error("403447daea"+T);if(void 0===m)throw new Error("maxPercentReduction required"+T);const x=this.calculateOptimalLayout(o,e,t,i,m,h),g=this.rebalanceLastLine(x.lineArr,x.fontSize,t,i,p);x.lineArr=g;let y=x.fontSize,S=u;u&&x.fontSize!==e&&(S=u*(x.fontSize/e));const I={marginBottom:this.props.marginBottom||0,marginLeft:this.props.marginLeft,marginRight:this.props.marginRight,marginTop:this.props.marginTop};c?I.marginRight="auto":(I.alignItems="center",I.justifyContent="center");const b={fontSize:y,fontFamily:t,fontWeight:n,color:s,textAlign:d,lineHeight:S};c||(b.marginRight="auto",b.marginLeft="auto");let C=[];for(let e=0;e<x.lineArr.length;e++)C.push((0,l.jsx)(r.default,{style:b,children:x.lineArr[e]},e+1));return(0,l.jsx)(a.default,{style:I,children:C})}calculateOptimalLayout(e,t,n,o,r,a){const l=t*(1-r),d=(0,i.default)({str:e,fontFamily:n,fontSize:t,maxWidth:o}),u=d.length;if(1===u)return{fontSize:t,lineArr:d};if(2===u){if((0,s.default)(d[1],n,t)>=o*a)return{fontSize:t,lineArr:d};const r=this.tryToRebalance(e,t,l,n,o,a);return r||{fontSize:t,lineArr:d}}const c=this.tryToReduceLineCount(e,t,l,n,o,u,a);return c||{fontSize:t,lineArr:d}}tryToRebalance(e,t,n,o,r,a){const l=(t-n)/20;for(let n=1;n<=20;n++){const d=t-l*n,u=(0,i.default)({str:e,fontFamily:o,fontSize:d,maxWidth:r});if(2===u.length){if((0,s.default)(u[1],o,d)>=r*a)return{fontSize:d,lineArr:u}}if(1===u.length)return null}return null}tryToReduceLineCount(e,t,n,o,r,a,l){const d=(t-n)/20;let u=null,c=a;for(let n=1;n<=20;n++){const a=t-d*n,f=(0,i.default)({str:e,fontFamily:o,fontSize:a,maxWidth:r}),m=f.length;if(1!==m&&m<c){if(2===m){if((0,s.default)(f[1],o,a)>=r*l)return{fontSize:a,lineArr:f}}if(u={fontSize:a,lineArr:f},c=m,2===m)return u}}return u}rebalanceLastLine(e,t,n,o,r){if(e.length<2)return e;const a=[...e],i=a.length-2,l=a.length-1;for(;;){const e=a[i],d=a[l],u=(0,s.default)(e,n,t);if((0,s.default)(d,n,t)>=u*r)break;const c=e.split(" ");if(c.length<=1)break;const f=c.pop(),m=c.join(" "),h=f+" "+d;if((0,s.default)(h,n,t)>o)break;a[i]=m,a[l]=h}return a}}},10709:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var o=n(26952),r=n(40818),a=n(80436),i=n(92117),s=n(39460);function l(e,t){if((0,i.default)("upsell_tap"))try{if(!e)throw new Error("missing-upsellType");if(!t)throw new Error("missing-paymentFlowType");const n={upsell_type:e},o=r.default.activeLearningActivity;o&&o.learning_activity_id&&Object.assign(n,o),r.default.paymentFlowType===t&&(0,a.default)(n),n.payment_flow_type=t,(0,s.default)("upsell_tap",n)}catch(e){(0,o.default)("trackUpsellTap",e)}}},33444:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var o=n(36412),r=n(33762),a=n(40818);function i(e){return a.default.offerFreeTrialNow?e.textIdTrial:r.default?e.textIdNoTrial_IOS:o.default?e.textIdNoTrial_Android:e.textIdNoTrial_Web}}
1,36277:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var o=n(40818);function r(){return o.default.offerFreeTrialNow?"Try for $0.00":"Learn more"}},42629:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});const o={pages:{CollectionRepetition:{assetId:"Lottie_quizTask",headerTextId:"Learn the signs that interest you most!",subHeaderTextId:"Start a free trial and do repetition for collections.",subHeaderTextIdNoTrial:"Practice signs from your collections.",secondaryButtonTextId:"No thanks"},CreateMoreCollections:{assetId:"Lottie_chooseCollection",headerTextId:"Do you want to create more collections?",subHeaderTextId:"Start a free trial and get an unlimited number of personal collections.",subHeaderTextIdNoTrial:"Create unlimited personal collections.",secondaryButtonTextId:"No thanks"},LessonRatePace:{assetId:"Lottie_cultureGrammarEtc",headerTextId:"Come back tomorrow for more free lessons!",subHeaderTextId:"Or, start a free trial to unlock unlimited lessons today.",subHeaderTextIdNoTrial:"Unlock unlimited lessons today.",secondaryButtonTextId:"Come back tomorrow"},MoreCollections:{assetId:"Lottie_chooseCollection",headerTextId:"Want to unlock even more collections?",subHeaderTextId:"Start a free trial and get access to all collections.",subHeaderTextIdNoTrial:"Get access to all collections.",secondaryButtonTextId:"No thanks"},RepLessons:{assetId:"Lottie_quizTask",headerTextId:"Unlock repetition lessons",subHeaderTextId:"Practice and reinforce what you have learned with repetition lessons.",secondaryButtonTextId:"Go back"},Repetition:{assetId:"Lottie_quizTask",headerTextId:"You have discovered personalised practice!",subHeaderTextId:"Start a free trial to get unlimited access to flashcards and quizzes.",subHeaderTextIdNoTrial:"Get unlimited access to flashcards and quizzes.",secondaryButtonTextId:"No thanks"},UnlockMoreLessons:{assetId:"Lottie_cultureGrammarEtc",headerTextId:"Unlock our entire curriculum!",subHeaderTextId:"Start a free trial and get access to all lessons.",subHeaderTextIdNoTrial:"Get access to all lessons.",secondaryButtonTextId:"No thanks"}},header:{fontSizeFS:24,marginTopCW:16,maxPercentReduction:.15,minSecondLinePercent:.35},subHeader:{fontSizeFS:16,marginTopCW:12,marginBottomCW:24,maxPercentReduction:.15,minSecondLinePercent:.35},illustration:{heightFractionOfScreen:.405},easyToCancelMessage:{textIdTrial:"Easy to cancel, no penalties or fees",textIdNoTrial_IOS:"Cancel anytime in the App Store",textIdNoTrial_Android:"Cancel anytime in the Play Store",textIdNoTrial_Web:"Cancel anytime from the Profile Page",fontSizeFS:14,colorText:"#686D73",marginTopCW:24},mainButton:{marginTopCW:16}}},53934:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var o=n(26952),r=n(40818),a=n(80436),i=n(92117),s=n(39460);function l(e,t){if((0,i.default)("upsell_viewed"))try{if(!e)throw new Error("missing-upsellType");if(!t)throw new Error("missing-paymentFlowType");const n={upsell_type:e},o=r.default.activeLearningActivity;o&&o.learning_activity_id&&Object.assign(n,o),r.default.paymentFlowType===t&&(0,a.default)(n),n.payment_flow_type=t,(0,s.default)("upsell_viewed",n)}catch(e){(0,o.default)("trackUpsellViewed",e)}}},73385:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var o=n(36665),r=n(5840),a=n(90139),i=n(35337),s=n(49504),l=n(9333),d=n(56113),u=n(46464),c=n(16926),f=n(12960),m=n(61876),h=n(29688),p=n(42629),T=n(33444),x=n(91189),g=n(40818);var y=n(60397);class S extends o.Component{render(){const e=function(e){const t=1.45;return!e||e<=t?1:t/e}((0,x.default)());return(0,y.jsxs)(r.default,{makeScreenSize:!0,backgroundColor:"white",divId:"contentlock1",children:[this.topBar(),(0,y.jsxs)(r.default,{flexGrow:!0,divId:"d7171",children:[this.illustration(),this.header(e),this.subHeader(e),this.easyToCancelMessage(e)]}),this.mainButton(e),this.secondaryButton(e)]})}topBar(){return(0,y.jsx)(h.default,{})}illustration(){const e=p.default,t=e.pages[this.props.type],n=t.sf||1,o=t.assetId,a=(0,s.default)()*e.illustration.heightFractionOfScreen*n,i=(0,c.default)()*n;return(0,y.jsx)(r.default,{flexGrow:!0,alignItems:"center",justifyContent:"center",pointerEvents:"none",divId:"contentlock2",children:(0,y.jsx)(r.default,{heightNum:a,widthNum:i,sourceId:o,pointerEvents:"none",divId:"contentlock3"})})}header(e){const t=p.default,n=t.pages[this.props.type],o=(0,d.default)(n.headerTextId),r=(0,x.default)(),a=function(e,t){return I({baseFontSize:e,fontScale:t,startScale:1.1,reductionPerScalePoint:.55,maxReduction:.2})}(t.header.fontSizeFS,r),s=(0,u.default)(a)*e;return(0,y.jsx)(l.default,{text:o,fontSize:s,fontFamily:"Medium",maxWidth:(0,c.default)(),textAlign:"center",marginTop:(0,i.default)(t.header.marginTopCW),maxPercentReduction:t.header.maxPercentReduction,minSecondLinePercent:t.header.minSecondLinePercent})}subHeader(e){const t=p.default,n=t.pages[this.props.type],o=(0,d.default)(function(e){return g.default.offerFreeTrialNow?e.subHeaderTextId:e.subHeaderTextIdNoTrial||e.subHeaderTextId}(n)),r=(0,x.default)(),a=function(e,t){return I({baseFontSize:e,fontScale:t,startScale:1.1,reductionPerScalePoint:.35,maxReduction:.13})}(t.subHeader.fontSizeFS,r),s=(0,u.default)(a)*e;return(0,y.jsx)(l.default,{text:o,fontSize:s,fontFamily:"Regular",maxWidth:(0,c.default)(),textAlign:"center",marginTop:(0,i.default)(t.subHeader.marginTopCW),marginBottom:(0,i.default)(t.subHeader.marginBottomCW),maxPercentReduction:t.subHeader.maxPercentReduction,minSecondLinePercent:t.subHeader.minSecondLinePercent})}easyToCancelMessage(e){const t=p.default,n=(0,u.default)(t.easyToCancelMessage.fontSizeFS)*e;return(0,y.jsx)(r.default,{textId:(0,T.default)(t.easyToCancelMessage),fontSizeNum:n,color:t.easyToCancelMessage.colorText,textAlignCenter:!0,marginTopCW:t.easyToCancelMessage.marginTopCW,divId:"contentlock6"})}mainButton(e){const t=this.props,n=p.default,o=t.mainButtonTextId,r=t.onPressMainButton;return(0,y.jsx)(a.default,{textId:o,onPress:r,sf:e,marginTop:(0,i.default)(n.mainButton.marginTopCW),colorMode:
1a.ButtonColor.Green})}secondaryButton(e){const t=p.default.pages[this.props.type],n=this.props.onPressSecondaryButton;return(0,y.jsx)(a.default,{marginTop:(0,f.default)(),marginBottom:(0,m.default)(),textId:t.secondaryButtonTextId,onPress:n,sf:e,showTextOnly:!0,setScreenBottomMargin:!0})}}function I(e){const{baseFontSize:t,fontScale:n,startScale:o,reductionPerScalePoint:r,maxReduction:a}=e;if(!n||n<=o)return t;const i=n-o,s=t*(1-Math.min(a,i*r));return Math.max(s,.7*t)}}}]);
2//# 

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.