@developer_tribe/react-builder 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";var t=require("react/jsx-runtime"),e=require("react");function o(t){return null==t}function n(t){return"string"==typeof t}function i(t){return t instanceof Array}function a(t){return 0===Object.keys(t).length}const r=[{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"image",children:"never",attributes:{src:"string",width:"number",height:"number",resizeMode:["cover","contain","stretch","center"],borderRadius:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"text",children:"string",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]},textAlign:["left","center","right","justify"]}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"button",children:"string",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"view",children:["node","array"],attributes:{scrollable:"boolean",flexDirection:["row","column"],alignItems:["flex-start","center","flex-end","stretch","baseline"],justifyContent:["flex-start","center","flex-end","space-between","space-around","space-evenly"],gap:"number",padding:"number",margin:"number",backgroundColor:"string",borderRadius:"number",width:"number",height:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carousel",children:"carouselItem",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselButtons",children:"never",attributes:{buttonType:["previous_button","next_button","skip_button"],skipNumber:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselDots",children:"never",attributes:{dotType:["expanding_dot","normal_dot","scaling_dot","sliding_border","sliding_dot","liquid_like"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselItem",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselProvider",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"Onboard",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardProvider",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardItem",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardImage",children:"node",attributes:{src:"string",width:"number",height:"number",resizeMode:["cover","contain","stretch","center"],borderRadius:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardButtons",children:"node",attributes:{buttonType:["previous_button","next_button","skip_button"],skipNumber:"number",buttons_direction:["row","column"],forIndex:"number",seperatorColor:"string",condition:["carousel-index"],conditionVariable:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardButton",children:"never",attributes:{labelKey:"string",button_text_color:"string",animation:["simple-animation","line-animation","blur","blur-animation","blur-line-animation"],animation_color:"string",button_background_color:"string",flex:"number",targetIndex:"number",events:"EventObject[]"}},types:{EventObject:{type:["Permission","Navigate"],permission:"string",next_page_key:"string"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardTitle",children:"node",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardSubtitle",children:"node",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardFooter",children:"node",attributes:{scrollable:"boolean",flexDirection:["row","column"],alignItems:["flex-start","center","flex-end","stretch","baseline"],justifyContent:["flex-start","center","flex-end","space-between","space-around","space-evenly"],gap:"number",padding:"number",margin:"number",backgroundColor:"string",borderRadius:"number",width:"number",height:"number",textLocalizationKey:"string",textColor:"string",linkedWordFirstLocalizationKey:"string",linkedWordFirstColor:"string",linkedWordFirstPage:"string",linkedWordSecondLocalizationKey:"string",linkedWordSecondColor:"string",linkedWordSecondPage:"string"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardDot",children:"node",attributes:{dotType:["expanding_dot","normal_dot","scaling_dot","sliding_border","sliding_dot","liquid_like"],inactive_dot_opacity:"number",expanding_dot_width:"number",dot_style:"string",container_style:"string",active_dot_color:"string"}}}];function l(t){if(t)return r.find(e=>e.pattern.type===t)}function s(t,e){if(!t||!e)return;const o=l(t),n=o?.types;return n?.[e]}function u(t){return"string"===t||"number"===t||"boolean"===t}function c({name:o,type:n,value:i,onChange:a,componentType:r}){if(Array.isArray(n))return t.jsxs("select",{value:i??"",onChange:t=>a(t.target.value),className:"input",children:[t.jsx("option",{value:"",children:"(none)"}),n.map(e=>t.jsx("option",{value:e,children:e},e))]});const l="string"==typeof n?"string"!=typeof(d=n)?null:d.endsWith("[]")?d.slice(0,-2):null:null;var d;if(l){const o=Array.isArray(i)?i:[];if(u(l))return t.jsxs("div",{style:{display:"grid",gap:8},children:[o.map((e,n)=>t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:["number"===l?t.jsx("input",{type:"number",value:e??"",onChange:t=>{const e=[...o];e[n]=""===t.target.value?void 0:Number(t.target.value),a(e)},className:"input",style:{flex:1}}):"boolean"===l?t.jsx("input",{type:"checkbox",checked:Boolean(e),onChange:t=>{const e=[...o];e[n]=t.target.checked,a(e)}}):t.jsx("input",{type:"text",value:e??"",onChange:t=>{const e=[...o];e[n]=""===t.target.value?void 0:t.target.value,a(e)},className:"input",style:{flex:1}}),t.jsx("button",{type:"button",onClick:()=>{const t=o.filter((t,e)=>e!==n);a(t.length?t:void 0)},children:"remove"})]},n)),t.jsx("div",{children:t.jsx("button",{type:"button",onClick:()=>{const t=[...o,"boolean"!==l&&("number"===l?0:"")];a(t)},children:"add"})})]});const n=s(r,l)??{};return t.jsxs("div",{style:{display:"grid",gap:8},children:[o.map((i,l)=>{const s=i??{};return t.jsxs("div",{style:{border:"1px solid #ddd",borderRadius:6,padding:8},children:[t.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:Object.entries(n).map(([n,i])=>t.jsxs(e.Fragment,{children:[t.jsx("div",{style:{alignSelf:"center"},children:n}),t.jsx(c,{name:n,type:i,value:s?.[n],onChange:t=>{const e=[...o],i={...s??{},[n]:t};e[l]=i,a(e)},componentType:r})]},n))}),t.jsx("div",{style:{marginTop:8},children:t.jsx("button",{type:"button",onClick:()=>{const t=o.filter((t,e)=>e!==l);a(t.length?t:void 0)},children:"remove"})})]},l)}),t.jsx("div",{children:t.jsx("button",{type:"button",onClick:()=>{const t=[...o,{}];a(t)},children:"add"})})]})}if("string"==typeof n&&!u(n)){const o=s(r,n);if(o){const n=i??{};return t.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:Object.entries(o).map(([o,i])=>t.jsxs(e.Fragment,{children:[t.jsx("div",{style:{alignSelf:"center"},children:o}),t.jsx(c,{name:o,type:i,value:n?.[o],onChange:t=>{const e={...n??{},[o]:t};a(e)},componentType:r})]},o))})}}if("number"===n)return t.jsx("input",{type:"number",value:i??"",onChange:t=>a(""===t.target.value?void 0:Number(t.target.value)),className:"input"});if("boolean"===n)return t.jsx("input",{type:"checkbox",checked:Boolean(i),onChange:t=>a(t.target.checked)});if("string[]"===n){const e=Array.isArray(i)?i:[];return t.jsxs("div",{style:{display:"grid",gap:8},children:[e.map((o,n)=>t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[t.jsx("input",{type:"text",value:o??"",onChange:t=>{const o=[...e];o[n]=t.target.value,a(o)},className:"input",style:{flex:1}}),t.jsx("button",{type:"button",onClick:()=>{const t=e.filter((t,e)=>e!==n);a(t.length?t:void 0)},children:"remove"})]},n)),t.jsx("div",{children:t.jsx("button",{type:"button",onClick:()=>{const t=[...e,""];a(t)},children:"add"})})]})}return t.jsx("input",{type:"text",value:i??"",onChange:t=>a(""===t.target.value?void 0:t.target.value),className:"input"})}var d=e.memo(function({node:o,onChange:i}){if(!o||n(o))return null;const a=o,r=function(t){const e=l(t);return e?.pattern.attributes}(a?.type)??{},s=a?.attributes??{},u=Object.entries(r);return 0===u.length?t.jsx("div",{style:{padding:8,opacity:.7},children:"No editable attributes"}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:u.map(([o,n])=>t.jsxs(e.Fragment,{children:[t.jsx("div",{style:{alignSelf:"center"},children:o}),t.jsx(c,{name:o,type:n,value:s?.[o],onChange:t=>{const e={...a,attributes:{...s??{},[o]:t}};i(e)},componentType:a?.type})]},o))})}),p={name:"hello-world",version:"1.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},defaultLanguage:"en"},data:{type:"view",attributes:{scrollable:!0,flexDirection:"column",alignItems:"center",justifyContent:"center",gap:12,padding:16,backgroundColor:"#F5F7FA"},children:[{type:"text",children:"Hello, world!",attributes:{color:"#111827",fontSize:24,fontWeight:"600"}},{type:"text",children:"Welcome to react-native-builder",attributes:{color:"#6B7280",fontSize:14,fontWeight:"400"}}]}},y={name:"hello-world-2-advanced",version:"1.0.0",previewConfig:{theme:"light",screenSize:{width:390,height:844},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},defaultLanguage:"en"},data:{type:"view",attributes:{scrollable:!0,flexDirection:"column",alignItems:"stretch",justifyContent:"flex-start",gap:16,padding:16,backgroundColor:"#F3F4F6"},children:[{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#111827",borderRadius:12},children:[{type:"text",children:"Dashboard",attributes:{color:"#FFFFFF",fontSize:20,fontWeight:"600"}},{type:"view",attributes:{flexDirection:"row",gap:8},children:[{type:"text",children:"Help",attributes:{color:"#D1D5DB",fontSize:14}},{type:"text",children:"Profile",attributes:{color:"#D1D5DB",fontSize:14}}]}]},{type:"image",attributes:{src:"https://picsum.photos/720/320",width:358,height:160,borderRadius:12,resizeMode:"cover"},children:null},{type:"view",attributes:{flexDirection:"column",gap:8,padding:12,backgroundColor:"#FFFFFF",borderRadius:12},children:[{type:"text",children:"Welcome back!",attributes:{color:"#111827",fontSize:18,fontWeight:"600"}},{type:"text",children:"Here's what's new today.",attributes:{color:"#6B7280",fontSize:14}}]},{type:"view",attributes:{flexDirection:"column",gap:12},children:[{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#FFFFFF",borderRadius:8},children:[{type:"text",children:"Task 1",attributes:{color:"#111827",fontSize:16,fontWeight:"500"}},{type:"text",children:"Due today",attributes:{color:"#059669",fontSize:12,fontWeight:"600"}}]},{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#FFFFFF",borderRadius:8},children:[{type:"text",children:"Task 2",attributes:{color:"#111827",fontSize:16,fontWeight:"500"}},{type:"text",children:"2 days left",attributes:{color:"#D97706",fontSize:12,fontWeight:"600"}}]},{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#FFFFFF",borderRadius:8},children:[{type:"text",children:"Task 3",attributes:{color:"#111827",fontSize:16,fontWeight:"500"}},{type:"text",children:"Completed",attributes:{color:"#6B7280",fontSize:12,fontWeight:"600"}}]}]},{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-around",padding:12,backgroundColor:"#111827",borderRadius:12},children:[{type:"text",children:"Home",attributes:{color:"#FFFFFF",fontSize:14}},{type:"text",children:"Search",attributes:{color:"#9CA3AF",fontSize:14}},{type:"text",children:"Settings",attributes:{color:"#9CA3AF",fontSize:14}}]}]}},b={name:"carousel-sample",version:"1.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812}},data:{type:"carouselProvider",children:[{type:"carousel",attributes:{loop:!0,align:"center",dragFree:!0},children:[{type:"carouselItem",attributes:{style:{flex:"0 0 100%",minWidth:0}},children:{type:"view",attributes:{style:{padding:"20px",backgroundColor:"#f5f5f5",borderRadius:"8px",textAlign:"center"}},children:{type:"text",children:"Welcome to our app!"}}},{type:"carouselItem",attributes:{style:{flex:"0 0 100%",minWidth:0}},children:{type:"view",attributes:{style:{padding:"20px",backgroundColor:"#e8f5e9",borderRadius:"8px",textAlign:"center"}},children:{type:"text",children:"Discover amazing features"}}},{type:"carouselItem",attributes:{style:{flex:"0 0 100%",minWidth:0}},children:{type:"view",attributes:{style:{padding:"20px",backgroundColor:"#e3f2fd",borderRadius:"8px",textAlign:"center"}},children:{type:"text",children:"Get started now!"}}}]},{type:"carouselDots",attributes:{dotType:"expanding_dot"}},{type:"carouselButtons",attributes:{buttonType:["previous_button","next_button","skip_button"],skipNumber:3}}]}},g={name:"vpn-onboard-1 (legacy)",version:"0.0.0",previewConfig:{theme:"dark",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"Secure your connection","onboard.title.two-page":"Access content worldwide","onboard.title.three-page":"Fast and reliable","onboard.title.four-page":"Stay notified and safe","onboard.subtitle.one-page":"Encrypt your traffic and protect your privacy on public Wi‑Fi.","onboard.subtitle.two-page":"Connect to high‑speed servers in many countries with one tap.","onboard.subtitle.three-page":"Auto‑connect to the best server for speed and stability.","onboard.subtitle.four-page":"Enable notifications for connection status and security tips.","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy Policy","view.onboarding.btnTerms":"Terms of Service"},ar:{"onboard.title.one-page":"أمّن اتصالك","onboard.title.two-page":"وصول إلى المحتوى حول العالم","onboard.title.three-page":"سرعة واعتمادية","onboard.title.four-page":"إشعارات وحماية دائمة","onboard.subtitle.one-page":"قم بتشفير حركة المرور وحماية خصوصيتك على شبكات Wi‑Fi العامة.","onboard.subtitle.two-page":"اتصل بخوادم عالية السرعة في بلدان متعددة بضغطة واحدة.","onboard.subtitle.three-page":"يتصل التطبيق تلقائياً بأفضل خادم لسرعة وثبات أعلى.","onboard.subtitle.four-page":"فعّل الإشعارات لمعرفة حالة الاتصال والحصول على نصائح الأمان.","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة، فإنك توافق على","view.onboarding.btnPrivacy":"سياسة الخصوصية","view.onboarding.btnTerms":"شروط الخدمة"}},defaultLanguage:"en"},data:{name:"Dark TextCall Onboard",key:"app_onboard",theme:"dark",order:1,data:{layout:"onboard-layout",key:"c92tR8J5wbTb3fav",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cfVlTs4XoBH6eHhy",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"c9BoiuHQQ8yWnnrH",attributes:{inactive_dot_opacity:null,expanding_dot_width:"20",dot_style:null,container_style:null,active_dot_color:"#007AFF"}}],styles:[]}},{layout:"footer-layout",key:"c1yg0ajCz15VwbXO",attributes:{texts:[{layout:"Text",key:"cUEOEGlJHu98Bm4M",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#A2A4B1",width:null,linkedwords:[{layout:"LinkedWords",key:"clmIqcwqLbpf5lIC",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#1778F2",page:"privacy"}},{layout:"LinkedWords",key:"cR2iFjXZv6aKSipt",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#1778F2",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"ctJKE0JpoyY2U2py",attributes:{key:"app_onboard-page1",components:[{layout:"title-layout",key:"czW0y11EJ3Gh2zzu",attributes:{title_localization_key:"onboard.title.one-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cFtkJ7cGjlbh0Onm",attributes:{styles:[{layout:"Styles",key:"cRfjSLASNf4EfmRk",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"ccaPDeW3TvadGknh",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/6c89e0da17a2d6fe2997e97a2b8a00a1.png"}},{layout:"subtitle-layout",key:"cS8AJFtYl83g6N7l",attributes:{subtitle_localization_key:"onboard.subtitle.one-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cfxys3dqXXQIoWib",attributes:{styles:[{layout:"Styles",key:"cdqzVzWecbtQHHOZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cADNBYmKZhuqHDe3",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cvgeWjSVK9714zE4",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cYbS4tQuDbqRjJP6",attributes:{events:[{layout:"Navigate",key:"cnwVlRVwR2Oa37Wa",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cO7EfoP6WnwCbZFN",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cLDTXbDjepmRilZP",attributes:{events:[{layout:"Navigate",key:"cVe34D6lvpt6jfkc",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}},{layout:"simple-onboard-layout",key:"cJ5P9VObBmpapdIz",attributes:{key:"app_onboard-page2",components:[{layout:"title-layout",key:"cWaHDeqd8N5LpAdr",attributes:{title_localization_key:"onboard.title.two-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"c5n7fUy2koZD1iY5",attributes:{styles:[{layout:"Styles",key:"c7uK89glQz4MHrZc",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"czvCm7FXp4sQrlBi",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/497a627b30ab4a0daaafa3d648a26b07.png"}},{layout:"subtitle-layout",key:"cJO33EgsbvxZVV57",attributes:{subtitle_localization_key:"onboard.subtitle.two-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cKZLIPtywsfi5Mbz",attributes:{styles:[{layout:"Styles",key:"cce8Yv695FQgSOIH",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cR43NhA7k4XN4bFU",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cZbvXpcCDBzCy4xq",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cOweHSx9FF1rKmXE",attributes:{events:[{layout:"Permission",key:"cfnK7ww1nyzVLquV",attributes:{permission:"att"}},{layout:"Navigate",key:"cdQXhjSGC97aDV5Q",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cP3ZMgA0DgYBMTjH",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5ud1yXzSHQOl99m",attributes:{events:[{layout:"Permission",key:"caWvIjHlpzkWsSkU",attributes:{permission:"att"}},{layout:"Navigate",key:"cqCP16bRc8OrVYnj",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}},{layout:"simple-onboard-layout",key:"cxNW3BfLJV7m1Rwb",attributes:{key:"app_onboard-page3",components:[{layout:"title-layout",key:"c4jWJqatyNrpRDv5",attributes:{title_localization_key:"onboard.title.three-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cyxWxkO4H6GcLGpV",attributes:{styles:[{layout:"Styles",key:"c2EQHxoKIHqE6usb",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"cQPrCUhAFzzvZvFL",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/6e2bc370d38695f6845007fd302034c2.png"}},{layout:"subtitle-layout",key:"c845kgEFTytoeb5n",attributes:{subtitle_localization_key:"onboard.subtitle.three-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c8I866TChSrcTxLA",attributes:{styles:[{layout:"Styles",key:"cPi4CsGpMpnyl1Qo",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cHRet3F1pMbLLv4e",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cPjaITcYuN3jYXaz",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cwHy3RdNIAhrdyk9",attributes:{events:[{layout:"Navigate",key:"c9tQ5JwLNEl4m6iE",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"calWhCnS7bVqDLSm",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5WDaaMMyzF6wbMw",attributes:{events:[{layout:"Permission",key:"czWoimoKrntcpPMu",attributes:{permission:"rating"}},{layout:"Navigate",key:"csga6VsmtRL4dJoH",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}},{layout:"simple-onboard-layout",key:"c6OPQRoj7nIYq8qP",attributes:{key:"app_onboard-page4",components:[{layout:"title-layout",key:"cY7hE2QfCFUpAvIr",attributes:{title_localization_key:"onboard.title.four-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"ch0psI5S3gY93lkS",attributes:{styles:[{layout:"Styles",key:"ci8SBK0k6Ox0cAY4",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"cyzRYhHdmYpSZKWz",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/b6e978fe3362e857212163486c22cc7c.png"}},{layout:"subtitle-layout",key:"cEtGSW5s89pVPO3p",attributes:{subtitle_localization_key:"onboard.subtitle.four-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c7q1e8klEqvuTib2",attributes:{styles:[{layout:"Styles",key:"cRoSg4908XkN9tLr",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cFOXUx3qf7wvRQPK",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cILIurDiN8C6Nk9t",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cPkTX9lI025TuA2d",attributes:{events:[{layout:"Permission",key:"cenFPRHcA87TmbkC",attributes:{permission:"notification"}},{layout:"Navigate",key:"c0ZQIOWZ81XjaWmA",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}}]}}}},h={name:"vpn-onboard-2 (legacy)",version:"0.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"One Page","onboard.title.two-page":"Two Page","onboard.title.three-page":"Three Page","onboard.title.four-page":"Four Page","onboard.subtitle.one-page":"One Page","onboard.subtitle.two-page":"Two Page","onboard.subtitle.three-page":"Three Page","onboard.subtitle.four-page":"Four Page","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy","view.onboarding.btnTerms":"Terms"},ar:{"onboard.title.one-page":" العربية","onboard.title.two-page":" العربية","onboard.title.three-page":" العربية","onboard.title.four-page":" العربية","onboard.subtitle.one-page":" العربية","onboard.subtitle.two-page":" العربية","onboard.subtitle.three-page":" العربية","onboard.subtitle.four-page":" العربية","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة فإنك توافق على","view.onboarding.btnPrivacy":"الخصوصية","view.onboarding.btnTerms":"الشروط"}},defaultLanguage:"en"},data:{name:"Light TextCall Onboard",key:"app_onboard",theme:"light",order:3,data:{layout:"onboard-layout",key:"ckcw0WXRY8sNR2SF",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cGCRrFJjSzYghZ4Q",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"cDpkxR1j6ooHGrU9",attributes:{inactive_dot_opacity:null,expanding_dot_width:"20",dot_style:null,container_style:null,active_dot_color:"#007AFF"}}],styles:[]}},{layout:"footer-layout",key:"cqkMhW1f0q0tDK1r",attributes:{texts:[{layout:"Text",key:"cAxC6cU3U9i1jxTq",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#A2A4B1",width:null,linkedwords:[{layout:"LinkedWords",key:"cLISLCL0ybiWxpze",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#1778F2",page:"privacy"}},{layout:"LinkedWords",key:"ccsI2OTvUzQJLo6g",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#1778F2",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"cFxlMJ99IXCFJfba",attributes:{key:"app_onboard-page1",min_android_version:null,components:[{layout:"title-layout",key:"cEgDUYy0F2959VoY",attributes:{title_localization_key:"onboard.title.one-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cIflKK6zz4926DQA",attributes:{styles:[{layout:"Styles",key:"cXGRCly7sTM1wPXp",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cd3LFLBcjBfEz90D",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/0c65cbe8e0c2e1242146e15dfd50a486.png"}},{layout:"subtitle-layout",key:"cumoZTMcp3Ewdgtq",attributes:{subtitle_localization_key:"onboard.subtitle.one-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"c8iENqCAEKDzSNEq",attributes:{styles:[{layout:"Styles",key:"cRjElXN8FhsCbwbt",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cQgWwz7oN0lXiGnV",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cmbJYRjfh25VI7pA",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8fR08Jp0GWJtW4U",attributes:{events:[{layout:"Navigate",key:"cGFaKCTZ6RkGAKw7",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:"line-animation",animation_color:"#FFFFFF"}},{layout:"button-layout",key:"cBx6we1fBvBHNCdM",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cqC2H6ygkjzKj1TW",attributes:{events:[{layout:"Navigate",key:"cMmDIAW9MAUNcPQA",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:"simple-animation",animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cgh6jEnSF0m2MrAE",attributes:{key:"app_onboard-page2",min_android_version:null,components:[{layout:"title-layout",key:"cuIDsIKqy8wnkxWO",attributes:{title_localization_key:"onboard.title.two-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c1wm3B4Avb8ewdwB",attributes:{styles:[{layout:"Styles",key:"cS5KY2wak36qZ7Po",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"c0uaSOOOFSldTX3O",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/e8bbdde825cd23bdc44a9b2b32af22dc.png"}},{layout:"subtitle-layout",key:"cJUPKqGxDQLJhF3r",attributes:{subtitle_localization_key:"onboard.subtitle.two-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cjgSBQCcdIHlgqAL",attributes:{styles:[{layout:"Styles",key:"cRmpdFLYvNtRBrjZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"chGpEveV4xybUQje",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cdjnq57fneiIxBd2",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8XixwmhiXnhSWJN",attributes:{events:[{layout:"Permission",key:"cBsbZMsU90ojXQqO",attributes:{permission:"att"}},{layout:"Navigate",key:"c3ByPHQlA5V0EDfL",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cQEeZInlfh7u3vXB",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cmu069qysyrgassB",attributes:{events:[{layout:"Permission",key:"c4hcnecQIMrouWCy",attributes:{permission:"att"}},{layout:"Navigate",key:"cxHcZeIJBXHmR779",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cSvSxn9VJuC5Ld7i",attributes:{key:"app_onboard-page3",min_android_version:null,components:[{layout:"title-layout",key:"cKrfdMzfUxGdYhst",attributes:{title_localization_key:"onboard.title.three-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cO0uTIgytvIPus6O",attributes:{styles:[{layout:"Styles",key:"ccUpxb1n3yNqZig0",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cW7eKTK8kwrmHPZF",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/3f312b38faf844746250cd54f27f91da.png"}},{layout:"subtitle-layout",key:"cKeCJntAd8La4kt6",attributes:{subtitle_localization_key:"onboard.subtitle.three-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cl8QMTgTLyRZEo5d",attributes:{styles:[{layout:"Styles",key:"c7IfOTlsraVDcxsv",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cVnKizCpTO9oedvX",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cQh6Yr0AySTv7JTJ",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cXBXIWhYO8sMiAea",attributes:{events:[{layout:"Navigate",key:"ckR5hy3gdEX9Tbcp",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"caD93TUBvqM9stiK",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cUWsk6ZaobgtjygM",attributes:{events:[{layout:"Permission",key:"cD9EfBXK9ojHo5K3",attributes:{permission:"rating"}},{layout:"Navigate",key:"cvdgLEu69Or72lJh",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cmx3sT3YRgACNoBv",attributes:{key:"app_onboard-page4",min_android_version:"12",components:[{layout:"title-layout",key:"cLijTCmxd6N2beqg",attributes:{title_localization_key:"onboard.title.four-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c9E18gzzew8i3c0i",attributes:{styles:[{layout:"Styles",key:"cEgw4X1DFG20kX7Y",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cZoslaVC3xb7mcWc",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/f4db2a32a43239c3bbbe742cb0f18b61.png"}},{layout:"subtitle-layout",key:"cdCwD5nJ2DlDO5KY",attributes:{subtitle_localization_key:"onboard.subtitle.four-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cNc4qj0KNwAXFENj",attributes:{styles:[{layout:"Styles",key:"c2GDBOndoaWxghsj",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cAOcd1hyFKZNzosk",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cxFfSJNZcJqPavkh",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cgtBZJvdDVlzDAIE",attributes:{events:[{layout:"Permission",key:"cO5VtdbSc4xVTEUo",attributes:{permission:"notification"}},{layout:"Navigate",key:"cTEG49LslKtvx85s",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}}]}}}},_={name:"vpn-onboard-3 (legacy)",version:"0.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"One Page","onboard.title.one-page2":"One Page","onboard.title.two-page":"Two Page","onboard.title.two-page2":"Two Page","onboard.title.three-page":"Three Page","onboard.title.three-page2":"Three Page","onboard.title.four-page":"Four Page","onboard.title.four-page2":"Four Page","onboard.subtitle.one-page":"One Page","onboard.subtitle.one-page2":"One Page","onboard.subtitle.two-page":"Two Page","onboard.subtitle.two-page2":"Two Page","onboard.subtitle.three-page":"Three Page","onboard.subtitle.three-page2":"Three Page","onboard.subtitle.four-page":"Four Page","onboard.subtitle.four-page2":"Four Page","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy","view.onboarding.btnTerms":"Terms"},ar:{"onboard.title.one-page":" العربية","onboard.title.one-page2":" العربية","onboard.title.two-page":" العربية","onboard.title.two-page2":" العربية","onboard.title.three-page":" العربية","onboard.title.three-page2":" العربية","onboard.title.four-page":" العربية","onboard.title.four-page2":" العربية","onboard.subtitle.one-page":" العربية","onboard.subtitle.one-page2":" العربية","onboard.subtitle.two-page":" العربية","onboard.subtitle.two-page2":" العربية","onboard.subtitle.three-page":" العربية","onboard.subtitle.three-page2":" العربية","onboard.subtitle.four-page":" العربية","onboard.subtitle.four-page2":" العربية","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة فإنك توافق على","view.onboarding.btnPrivacy":"الخصوصية","view.onboarding.btnTerms":"الشروط"}},defaultLanguage:"en"},data:{name:"Light TextCall Onboard - 2",key:"app_onboard_ab_classic",theme:"light",order:7,data:{layout:"onboard-layout",key:"ckcw0WXRY8sNR2SF",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cGCRrFJjSzYghZ4Q",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"cgk7eew2LNqwIfdl",attributes:{inactive_dot_opacity:null,active_dot_color:null,expanding_dot_width:null,dot_style:null,container_style:null}}],styles:[]}},{layout:"footer-layout",key:"cqkMhW1f0q0tDK1r",attributes:{texts:[{layout:"Text",key:"cAxC6cU3U9i1jxTq",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#81838F",width:null,linkedwords:[{layout:"LinkedWords",key:"cLISLCL0ybiWxpze",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#81838F",page:"privacy"}},{layout:"LinkedWords",key:"ccsI2OTvUzQJLo6g",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#81838F",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"cFxlMJ99IXCFJfba",attributes:{key:"app_onboard-page1",min_android_version:null,components:[{layout:"title-layout",key:"cEgDUYy0F2959VoY",attributes:{title_localization_key:"onboard.title.one-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cIflKK6zz4926DQA",attributes:{styles:[{layout:"Styles",key:"cXGRCly7sTM1wPXp",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cd3LFLBcjBfEz90D",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/c68cca84580d6920c883c220e57346c0.jpg"}},{layout:"subtitle-layout",key:"cumoZTMcp3Ewdgtq",attributes:{subtitle_localization_key:"onboard.subtitle.one-page2",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"c8iENqCAEKDzSNEq",attributes:{styles:[{layout:"Styles",key:"cRjElXN8FhsCbwbt",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cQgWwz7oN0lXiGnV",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cmbJYRjfh25VI7pA",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8fR08Jp0GWJtW4U",attributes:{events:[{layout:"Navigate",key:"cGFaKCTZ6RkGAKw7",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cBx6we1fBvBHNCdM",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cqC2H6ygkjzKj1TW",attributes:{events:[{layout:"Navigate",key:"cMmDIAW9MAUNcPQA",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cgh6jEnSF0m2MrAE",attributes:{key:"app_onboard-page2",min_android_version:null,components:[{layout:"title-layout",key:"cuIDsIKqy8wnkxWO",attributes:{title_localization_key:"onboard.title.two-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c1wm3B4Avb8ewdwB",attributes:{styles:[{layout:"Styles",key:"cS5KY2wak36qZ7Po",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"c0uaSOOOFSldTX3O",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cJUPKqGxDQLJhF3r",attributes:{subtitle_localization_key:"onboard.subtitle.two-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cjgSBQCcdIHlgqAL",attributes:{styles:[{layout:"Styles",key:"cRmpdFLYvNtRBrjZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"chGpEveV4xybUQje",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cdjnq57fneiIxBd2",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8XixwmhiXnhSWJN",attributes:{events:[{layout:"Permission",key:"cBsbZMsU90ojXQqO",attributes:{permission:"att"}},{layout:"Navigate",key:"c3ByPHQlA5V0EDfL",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cQEeZInlfh7u3vXB",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cmu069qysyrgassB",attributes:{events:[{layout:"Permission",key:"c4hcnecQIMrouWCy",attributes:{permission:"att"}},{layout:"Navigate",key:"cxHcZeIJBXHmR779",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cSvSxn9VJuC5Ld7i",attributes:{key:"app_onboard-page3",min_android_version:null,components:[{layout:"title-layout",key:"cKrfdMzfUxGdYhst",attributes:{title_localization_key:"onboard.title.three-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cO0uTIgytvIPus6O",attributes:{styles:[{layout:"Styles",key:"ccUpxb1n3yNqZig0",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cW7eKTK8kwrmHPZF",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cKeCJntAd8La4kt6",attributes:{subtitle_localization_key:"onboard.subtitle.three-page2",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cl8QMTgTLyRZEo5d",attributes:{styles:[{layout:"Styles",key:"c7IfOTlsraVDcxsv",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cVnKizCpTO9oedvX",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cQh6Yr0AySTv7JTJ",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cXBXIWhYO8sMiAea",attributes:{events:[{layout:"Navigate",key:"ckR5hy3gdEX9Tbcp",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"caD93TUBvqM9stiK",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cUWsk6ZaobgtjygM",attributes:{events:[{layout:"Permission",key:"cAD0IWOPG8glmDtL",attributes:{permission:"rating"}},{layout:"Navigate",key:"cvdgLEu69Or72lJh",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cmx3sT3YRgACNoBv",attributes:{key:"app_onboard-page4",min_android_version:"12",components:[{layout:"title-layout",key:"cLijTCmxd6N2beqg",attributes:{title_localization_key:"onboard.title.four-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c9E18gzzew8i3c0i",attributes:{styles:[{layout:"Styles",key:"cEgw4X1DFG20kX7Y",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cZoslaVC3xb7mcWc",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cdCwD5nJ2DlDO5KY",attributes:{subtitle_localization_key:"onboard.subtitle.four-page2",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cNc4qj0KNwAXFENj",attributes:{styles:[{layout:"Styles",key:"c2GDBOndoaWxghsj",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cAOcd1hyFKZNzosk",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cxFfSJNZcJqPavkh",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cgtBZJvdDVlzDAIE",attributes:{events:[{layout:"Permission",key:"cO5VtdbSc4xVTEUo",attributes:{permission:"notification"}},{layout:"Navigate",key:"cTEG49LslKtvx85s",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}}]}}}},m={name:"vpn-onboard-4 (legacy)",version:"0.0.0",type:"nova",previewConfig:{theme:"dark",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"One Page","onboard.title.one-page2":"One Page","onboard.title.two-page":"Two Page","onboard.title.two-page2":"Two Page","onboard.title.three-page":"Three Page","onboard.title.three-page2":"Three Page","onboard.title.four-page":"Four Page","onboard.title.four-page2":"Four Page","onboard.subtitle.one-page":"One Page","onboard.subtitle.one-page2":"One Page","onboard.subtitle.two-page":"Two Page","onboard.subtitle.two-page2":"Two Page","onboard.subtitle.three-page":"Three Page","onboard.subtitle.three-page2":"Three Page","onboard.subtitle.four-page":"Four Page","onboard.subtitle.four-page2":"Four Page","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy","view.onboarding.btnTerms":"Terms"},ar:{"onboard.title.one-page":" العربية","onboard.title.one-page2":" العربية","onboard.title.two-page":" العربية","onboard.title.two-page2":" العربية","onboard.title.three-page":" العربية","onboard.title.three-page2":" العربية","onboard.title.four-page":" العربية","onboard.title.four-page2":" العربية","onboard.subtitle.one-page":" العربية","onboard.subtitle.one-page2":" العربية","onboard.subtitle.two-page":" العربية","onboard.subtitle.two-page2":" العربية","onboard.subtitle.three-page":" العربية","onboard.subtitle.three-page2":" العربية","onboard.subtitle.four-page":" العربية","onboard.subtitle.four-page2":" العربية","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة فإنك توافق على","view.onboarding.btnPrivacy":"الخصوصية","view.onboarding.btnTerms":"الشروط"}},defaultLanguage:"en"},data:{name:"Dark TextCall Onboard - 2",key:"app_onboard_ab_classic",theme:"dark",order:8,data:{layout:"onboard-layout",key:"c92tR8J5wbTb3fav",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cfVlTs4XoBH6eHhy",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"ca08ia4pBmSgWK9o",attributes:{inactive_dot_opacity:null,active_dot_color:null,expanding_dot_width:null,dot_style:null,container_style:null}}],styles:[]}},{layout:"footer-layout",key:"c1yg0ajCz15VwbXO",attributes:{texts:[{layout:"Text",key:"cUEOEGlJHu98Bm4M",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#81838F",width:null,linkedwords:[{layout:"LinkedWords",key:"clmIqcwqLbpf5lIC",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#81838F",page:"privacy"}},{layout:"LinkedWords",key:"cR2iFjXZv6aKSipt",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#81838F",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"ctJKE0JpoyY2U2py",attributes:{key:"app_onboard-page1",min_android_version:null,components:[{layout:"title-layout",key:"czW0y11EJ3Gh2zzu",attributes:{title_localization_key:"onboard.title.one-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cFtkJ7cGjlbh0Onm",attributes:{styles:[{layout:"Styles",key:"cRfjSLASNf4EfmRk",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"ccaPDeW3TvadGknh",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/aadf6191a8f1091831647b3a01e1a1aa.jpg"}},{layout:"subtitle-layout",key:"cS8AJFtYl83g6N7l",attributes:{subtitle_localization_key:"onboard.subtitle.one-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cfxys3dqXXQIoWib",attributes:{styles:[{layout:"Styles",key:"cdqzVzWecbtQHHOZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cADNBYmKZhuqHDe3",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cvgeWjSVK9714zE4",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cYbS4tQuDbqRjJP6",attributes:{events:[{layout:"Navigate",key:"cnwVlRVwR2Oa37Wa",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cO7EfoP6WnwCbZFN",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cLDTXbDjepmRilZP",attributes:{events:[{layout:"Navigate",key:"cVe34D6lvpt6jfkc",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cJ5P9VObBmpapdIz",attributes:{key:"app_onboard-page2",min_android_version:null,components:[{layout:"title-layout",key:"cWaHDeqd8N5LpAdr",attributes:{title_localization_key:"onboard.title.two-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"c5n7fUy2koZD1iY5",attributes:{styles:[{layout:"Styles",key:"c7uK89glQz4MHrZc",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"czvCm7FXp4sQrlBi",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cJO33EgsbvxZVV57",attributes:{subtitle_localization_key:"onboard.subtitle.two-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cKZLIPtywsfi5Mbz",attributes:{styles:[{layout:"Styles",key:"cce8Yv695FQgSOIH",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cR43NhA7k4XN4bFU",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cZbvXpcCDBzCy4xq",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cOweHSx9FF1rKmXE",attributes:{events:[{layout:"Permission",key:"cfnK7ww1nyzVLquV",attributes:{permission:"att"}},{layout:"Navigate",key:"cdQXhjSGC97aDV5Q",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cP3ZMgA0DgYBMTjH",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5ud1yXzSHQOl99m",attributes:{events:[{layout:"Permission",key:"caWvIjHlpzkWsSkU",attributes:{permission:"att"}},{layout:"Navigate",key:"cqCP16bRc8OrVYnj",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cxNW3BfLJV7m1Rwb",attributes:{key:"app_onboard-page3",min_android_version:null,components:[{layout:"title-layout",key:"c4jWJqatyNrpRDv5",attributes:{title_localization_key:"onboard.title.three-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cyxWxkO4H6GcLGpV",attributes:{styles:[{layout:"Styles",key:"c2EQHxoKIHqE6usb",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cQPrCUhAFzzvZvFL",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"c845kgEFTytoeb5n",attributes:{subtitle_localization_key:"onboard.subtitle.three-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c8I866TChSrcTxLA",attributes:{styles:[{layout:"Styles",key:"cPi4CsGpMpnyl1Qo",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cHRet3F1pMbLLv4e",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cPjaITcYuN3jYXaz",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cwHy3RdNIAhrdyk9",attributes:{events:[{layout:"Navigate",key:"c9tQ5JwLNEl4m6iE",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"calWhCnS7bVqDLSm",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5WDaaMMyzF6wbMw",attributes:{events:[{layout:"Permission",key:"cVbu3bzJMfCd2WQY",attributes:{permission:"rating"}},{layout:"Navigate",key:"csga6VsmtRL4dJoH",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"c6OPQRoj7nIYq8qP",attributes:{key:"app_onboard-page4",min_android_version:null,components:[{layout:"title-layout",key:"cY7hE2QfCFUpAvIr",attributes:{title_localization_key:"onboard.title.four-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"ch0psI5S3gY93lkS",attributes:{styles:[{layout:"Styles",key:"ci8SBK0k6Ox0cAY4",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cyzRYhHdmYpSZKWz",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cEtGSW5s89pVPO3p",attributes:{subtitle_localization_key:"onboard.subtitle.four-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c7q1e8klEqvuTib2",attributes:{styles:[{layout:"Styles",key:"cRoSg4908XkN9tLr",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cFOXUx3qf7wvRQPK",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cILIurDiN8C6Nk9t",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cPkTX9lI025TuA2d",attributes:{events:[{layout:"Permission",key:"cenFPRHcA87TmbkC",attributes:{permission:"notification"}},{layout:"Navigate",key:"c0ZQIOWZ81XjaWmA",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}}]}}}};function f(t){const e=t.data.data?.layout;return console.info("layout",e),"onboard-layout"===e?function(t){const e=t?.data?.data?.attributes||t?.data?.attributes||{},o=e?.general_components||[],n=e?.data||[],i=function(t){const e=t.find(t=>"dots-layout"===t?.layout);if(!e)return null;const o=e?.attributes?.dot||[],n=o?.[0],i=n?.layout,a=n?.attributes||{},r=t=>{if("number"==typeof t)return t;if("string"==typeof t&&t.trim().length>0){const e=Number(t);return Number.isFinite(e)?e:void 0}},l=r(a?.inactive_dot_opacity),s=r(a?.expanding_dot_width),u="string"==typeof a?.dot_style?a.dot_style:void 0,c="string"==typeof a?.container_style?a.container_style:void 0,d="string"==typeof a?.active_dot_color?a.active_dot_color:void 0,p={};i&&(p.dotType=i);void 0!==l&&(p.inactive_dot_opacity=l);void 0!==s&&(p.expanding_dot_width=s);u&&(p.dot_style=u);c&&(p.container_style=c);d&&(p.active_dot_color=d);return{type:"OnboardDot",attributes:Object.keys(p).length?p:void 0,children:void 0}}(o),a=function(t){const e=t.find(t=>"footer-layout"===t?.layout);if(!e)return null;const o=e?.attributes?.texts||[],n=[];let i,a;for(const t of o)if("Text"===t?.layout){const e=t?.attributes?.text_localization_key||"",o=t?.attributes?.text_color||void 0;i||(i=e),a||"string"!=typeof o||(a=o);const r=t?.attributes?.linkedwords||[];for(const t of r)if("LinkedWords"===t?.layout){const e=t?.attributes?.linked_word_localization_key,o=t?.attributes?.linked_word_color,i=t?.attributes?.page;n.push({text_key:e,color:o,page:i})}}const r={gap:8};i&&(r.textLocalizationKey=i);a&&(r.textColor=a);const l=n[0],s=n[1];l&&(l.text_key&&(r.linkedWordFirstLocalizationKey=l.text_key),l.color&&(r.linkedWordFirstColor=l.color),l.page&&(r.linkedWordFirstPage=l.page));s&&(s.text_key&&(r.linkedWordSecondLocalizationKey=s.text_key),s.color&&(r.linkedWordSecondColor=s.color),s.page&&(r.linkedWordSecondPage=s.page));return{type:"OnboardFooter",attributes:r,children:void 0}}(o),{carouselNode:r,providerLevelButtons:l}=function(t){const e=t.filter(t=>"simple-onboard-layout"===t?.layout),o=new Map;e.forEach((t,e)=>{const n=t?.attributes?.key;"string"==typeof n&&o.set(n,e)});const n=[],i=e.map(t=>function(t,e,o){const n=t?.attributes?.components||[],i=[],a=t?.attributes?.key,r="string"==typeof a&&e.has(a)?e.get(a):void 0;for(const t of n)if("title-layout"===t?.layout){const e=t?.attributes?.title_localization_key||"",o=t?.attributes?.title_color||void 0;i.push({type:"OnboardBoardTitle",attributes:o?{color:o}:void 0,children:e})}else if("subtitle-layout"===t?.layout){const e=t?.attributes?.subtitle_localization_key||"",o=t?.attributes?.subtitle_color||void 0;i.push({type:"OnboardSubtitle",attributes:o?{color:o}:void 0,children:e})}else if("image-layout"===t?.layout){const e=t?.attributes?.image||t?.attributes?.src||"",o=t?.attributes?.height??t?.attributes?.ios_height??t?.attributes?.android_height,n="string"==typeof o?Number.parseInt(o,10):"number"==typeof o?o:void 0;e&&i.push({type:"OnboardImage",attributes:{src:e,...n?{height:n}:{},resizeMode:"contain"},children:void 0})}else if("Buttons"===t?.layout){const n=t?.attributes?.buttons_direction,i=t?.attributes?.buttons||[],a=[];for(const t of i){const o=t?.attributes||{},n=o?.button_text_localization_key||"",i=o?.button_text_color,r=o?.button_background_color,l=o?.animation,s=o?.animation_color,u=o?.flex?Number(o.flex):void 0;let c;const d=o?.actions||[],p=[];for(const t of d){const o=t?.attributes?.events||[];for(const t of o)if("Permission"===t?.layout){const e=t?.attributes?.permission;p.push({type:"Permission",permission:e})}else if("Navigate"===t?.layout){const o=t?.attributes?.next_page_key;p.push({type:"Navigate",next_page_key:o}),"string"==typeof o&&e.has(o)&&(c=e.get(o))}}a.push({type:"OnboardButton",attributes:{labelKey:n,..."string"==typeof i?{button_text_color:i}:{},..."string"==typeof l?{animation:l}:{},..."string"==typeof s?{animation_color:s}:{},..."string"==typeof r?{button_background_color:r}:{},..."number"==typeof u?{flex:u}:{},..."number"==typeof c?{targetIndex:c}:{},...p.length?{events:p}:{}},children:void 0})}a.length>0&&o.push({type:"OnboardButtons",attributes:{...n?{buttons_direction:n}:{},..."number"==typeof r?{condition:"carousel-index",conditionVariable:r}:{}},children:a})}const l=t?.attributes?.key,s="string"==typeof l&&l||("string"==typeof t?.key?t.key:void 0);return{type:"OnboardItem",...s?{key:s}:{},children:i}}(t,o,n)),a={type:"Onboard",children:i};return{carouselNode:a,providerLevelButtons:n}}(n),s={type:"OnboardProvider",children:[r,...i?[i]:[],...l.length?l:[],...a?[a]:[]],attributes:{theme:t?.data?.theme}};return s}(t):null}const k=e.createContext(null);function x({children:o,localication:n,defaultLanguage:i,theme:a}){const[r,l]=e.useState("");return t.jsxs(k.Provider,{value:{localication:n,defaultLanguage:i,theme:a,warning:r,setWarning:l},children:[r&&t.jsx("div",{className:"warning",children:r}),o]})}var w=e.memo(function({node:t}){return String(t?.type??"button")});var v=e.memo(function({node:e}){return t.jsx("div",{className:"embla__container",children:Array.isArray(e.children)?e.children.map((e,o)=>t.jsx(Tt,{node:e},o)):(t=>!(!t||"object"!=typeof t||Array.isArray(t))&&"type"in t&&"carouselItem"===t.type)(e.children)?t.jsx(Tt,{node:e.children}):null})});function F(t){return function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t)||Array.isArray(t)}function S(t,e){const o=Object.keys(t),n=Object.keys(e);if(o.length!==n.length)return!1;return JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&o.every(o=>{const n=t[o],i=e[o];return"function"==typeof n?`${n}`==`${i}`:F(n)&&F(i)?S(n,i):n===i})}function z(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function j(t){return"number"==typeof t}function C(t){return"string"==typeof t}function A(t){return"boolean"==typeof t}function D(t){return"[object Object]"===Object.prototype.toString.call(t)}function T(t){return Math.abs(t)}function N(t){return Math.sign(t)}function P(t,e){return T(t-e)}function O(t){return B(t).map(Number)}function I(t){return t[E(t)]}function E(t){return Math.max(0,t.length-1)}function W(t,e){return e===E(t)}function L(t,e=0){return Array.from(Array(t),(t,o)=>e+o)}function B(t){return Object.keys(t)}function R(t,e){return[t,e].reduce((t,e)=>(B(e).forEach(o=>{const n=t[o],i=e[o],a=D(n)&&D(i);t[o]=a?R(n,i):i}),t),{})}function V(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function M(){let t=[];const e={add:function(o,n,i,a={passive:!0}){let r;if("addEventListener"in o)o.addEventListener(n,i,a),r=()=>o.removeEventListener(n,i,a);else{const t=o;t.addListener(i),r=()=>t.removeListener(i)}return t.push(r),e},clear:function(){t=t.filter(t=>t())}};return e}function q(t,e,o,n){const i=M(),a=1e3/60;let r=null,l=0,s=0;function u(t){if(!s)return;r||(r=t,o(),o());const i=t-r;for(r=t,l+=i;l>=a;)o(),l-=a;n(l/a),s&&(s=e.requestAnimationFrame(u))}function c(){e.cancelAnimationFrame(s),r=null,l=0,s=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(r=null,l=0)})},destroy:function(){c(),i.clear()},start:function(){s||(s=e.requestAnimationFrame(u))},stop:c,update:o,render:n}}function H(t=0,e=0){const o=T(t-e);function n(e){return e<t}function i(t){return t>e}function a(t){return n(t)||i(t)}return{length:o,max:e,min:t,constrain:function(o){return a(o)?n(o)?t:e:o},reachedAny:a,reachedMax:i,reachedMin:n,removeOffset:function(t){return o?t-o*Math.ceil((t-e)/o):t}}}function K(t,e,o){const{constrain:n}=H(0,t),i=t+1;let a=r(e);function r(t){return o?T((i+t)%i):n(t)}function l(){return a}function s(){return K(t,l(),o)}const u={get:l,set:function(t){return a=r(t),u},add:function(t){return s().set(l()+t)},clone:s};return u}function X(t,e,o,n,i,a,r,l,s,u,c,d,p,y,b,g,h,_,m){const{cross:f,direction:k}=t,x=["INPUT","SELECT","TEXTAREA"],w={passive:!1},v=M(),F=M(),S=H(50,225).constrain(y.measure(20)),z={mouse:300,touch:400},j={mouse:500,touch:600},C=b?43:25;let D=!1,O=0,I=0,E=!1,W=!1,L=!1,B=!1;function R(t){if(!V(t,n)&&t.touches.length>=2)return q(t);const e=a.readPoint(t),o=a.readPoint(t,f),r=P(e,O),s=P(o,I);if(!W&&!B){if(!t.cancelable)return q(t);if(W=r>s,!W)return q(t)}const c=a.pointerMove(t);r>g&&(L=!0),u.useFriction(.3).useDuration(.75),l.start(),i.add(k(c)),t.preventDefault()}function q(t){const e=c.byDistance(0,!1).index!==d.get(),o=a.pointerUp(t)*(b?j:z)[B?"mouse":"touch"],n=function(t,e){const o=d.add(-1*N(t)),n=c.byDistance(t,!b).distance;return b||T(t)<S?n:h&&e?.5*n:c.byIndex(o.get(),0).distance}(k(o),e),i=function(t,e){if(0===t||0===e)return 0;if(T(t)<=T(e))return 0;const o=P(T(t),T(e));return T(o/t)}(o,n),r=C-10*i,l=_+i/50;W=!1,E=!1,F.clear(),u.useDuration(r).useFriction(l),s.distance(n,!b),B=!1,p.emit("pointerUp")}function K(t){L&&(t.stopPropagation(),t.preventDefault(),L=!1)}return{init:function(t){if(!m)return;function l(l){(A(m)||m(t,l))&&function(t){const l=V(t,n);if(B=l,L=b&&l&&!t.buttons&&D,D=P(i.get(),r.get())>=2,l&&0!==t.button)return;if(function(t){const e=t.nodeName||"";return x.includes(e)}(t.target))return;E=!0,a.pointerDown(t),u.useFriction(0).useDuration(0),i.set(r),function(){const t=B?o:e;F.add(t,"touchmove",R,w).add(t,"touchend",q).add(t,"mousemove",R,w).add(t,"mouseup",q)}(),O=a.readPoint(t),I=a.readPoint(t,f),p.emit("pointerDown")}(l)}const s=e;v.add(s,"dragstart",t=>t.preventDefault(),w).add(s,"touchmove",()=>{},w).add(s,"touchend",()=>{}).add(s,"touchstart",l).add(s,"mousedown",l).add(s,"touchcancel",q).add(s,"contextmenu",q).add(s,"click",K,!0)},destroy:function(){v.clear(),F.clear()},pointerDown:function(){return E}}}function J(t,e){let o,n;function i(t){return t.timeStamp}function a(o,n){const i="client"+("x"===(n||t.scroll)?"X":"Y");return(V(o,e)?o:o.touches[0])[i]}return{pointerDown:function(t){return o=t,n=t,a(t)},pointerMove:function(t){const e=a(t)-a(n),r=i(t)-i(o)>170;return n=t,r&&(o=t),e},pointerUp:function(t){if(!o||!n)return 0;const e=a(n)-a(o),r=i(t)-i(o),l=i(t)-i(n)>170,s=e/r;return r&&!l&&T(s)>.1?s:0},readPoint:a}}function U(t,e,o,n,i,a,r){const l=[t].concat(n);let s,u,c=[],d=!1;function p(t){return i.measureSize(r.measure(t))}return{init:function(i){a&&(u=p(t),c=n.map(p),s=new ResizeObserver(o=>{(A(a)||a(i,o))&&function(o){for(const a of o){if(d)return;const o=a.target===t,r=n.indexOf(a.target),l=o?u:c[r];if(T(p(o?t:n[r])-l)>=.5){i.reInit(),e.emit("resize");break}}}(o)}),o.requestAnimationFrame(()=>{l.forEach(t=>s.observe(t))}))},destroy:function(){d=!0,s&&s.disconnect()}}}function Q(t,e,o,n,i){const a=i.measure(10),r=i.measure(50),l=H(.1,.99);let s=!1;function u(){return!s&&(!!t.reachedAny(o.get())&&!!t.reachedAny(e.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;const s=t.reachedMin(e.get())?"min":"max",c=T(t[s]-e.get()),d=o.get()-e.get(),p=l.constrain(c/r);o.subtract(d*p),!i&&T(d)<a&&(o.set(t.constrain(o.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(t){s=!t}}}function Y(t,e,o,n){const i=e.min+.1,a=e.max+.1,{reachedMin:r,reachedMax:l}=H(i,a);return{loop:function(e){if(!function(t){return 1===t?l(o.get()):-1===t&&r(o.get())}(e))return;const i=t*(-1*e);n.forEach(t=>t.add(i))}}}function Z(t,e,o,n,i){const{reachedAny:a,removeOffset:r,constrain:l}=n;function s(t){return t.concat().sort((t,e)=>T(t)-T(e))[0]}function u(e,n){const i=[e,e+o,e-o];if(!t)return e;if(!n)return s(i);const a=i.filter(t=>N(t)===n);return a.length?s(a):I(i)-o}return{byDistance:function(o,n){const s=i.get()+o,{index:c,distance:d}=function(o){const n=t?r(o):l(o),i=e.map((t,e)=>({diff:u(t-n,0),index:e})).sort((t,e)=>T(t.diff)-T(e.diff)),{index:a}=i[0];return{index:a,distance:n}}(s),p=!t&&a(s);return!n||p?{index:c,distance:o}:{index:c,distance:o+u(e[c]-d,0)}},byIndex:function(t,o){return{index:t,distance:u(e[t]-i.get(),o)}},shortcut:u}}function G(t,e,o,n,i,a,r,l){const s={passive:!0,capture:!0};let u=0;function c(t){"Tab"===t.code&&(u=(new Date).getTime())}return{init:function(d){l&&(a.add(document,"keydown",c,!1),e.forEach((e,c)=>{a.add(e,"focus",e=>{(A(l)||l(d,e))&&function(e){if((new Date).getTime()-u>10)return;r.emit("slideFocusStart"),t.scrollLeft=0;const a=o.findIndex(t=>t.includes(e));j(a)&&(i.useDuration(0),n.index(a,0),r.emit("slideFocus"))}(c)},s)}))}}}function $(t){let e=t;function o(t){return j(t)?t:t.get()}return{get:function(){return e},set:function(t){e=o(t)},add:function(t){e+=o(t)},subtract:function(t){e-=o(t)}}}function tt(t,e){const o="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},n=e.style;let i=null,a=!1;return{clear:function(){a||(n.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(a)return;const r=(l=t.direction(e),Math.round(100*l)/100);var l;r!==i&&(n.transform=o(r),i=r)},toggleActive:function(t){a=!t}}}function et(t,e,o,n,i,a,r,l,s){const u=O(i),c=O(i).reverse(),d=function(){const t=r[0];return b(y(c,t),o,!1)}().concat(function(){const t=e-r[0]-1;return b(y(u,t),-o,!0)}());function p(t,e){return t.reduce((t,e)=>t-i[e],e)}function y(t,e){return t.reduce((t,o)=>p(t,e)>0?t.concat([o]):t,[])}function b(i,r,u){const c=function(t){return a.map((o,i)=>({start:o-n[i]+.5+t,end:o+e-.5+t}))}(r);return i.map(e=>{const n=u?0:-o,i=u?o:0,a=u?"end":"start",r=c[e][a];return{index:e,loopPoint:r,slideLocation:$(-1),translate:tt(t,s[e]),target:()=>l.get()>r?n:i}})}return{canLoop:function(){return d.every(({index:t})=>p(u.filter(e=>e!==t),e)<=.1)},clear:function(){d.forEach(t=>t.translate.clear())},loop:function(){d.forEach(t=>{const{target:e,translate:o,slideLocation:n}=t,i=e();i!==n.get()&&(o.to(i),n.set(i))})},loopPoints:d}}function ot(t,e,o){let n,i=!1;return{init:function(a){o&&(n=new MutationObserver(t=>{i||(A(o)||o(a,t))&&function(t){for(const o of t)if("childList"===o.type){a.reInit(),e.emit("slidesChanged");break}}(t)}),n.observe(t,{childList:!0}))},destroy:function(){n&&n.disconnect(),i=!0}}}function nt(t,e,o,n){const i={};let a,r=null,l=null,s=!1;return{init:function(){a=new IntersectionObserver(t=>{s||(t.forEach(t=>{const o=e.indexOf(t.target);i[o]=t}),r=null,l=null,o.emit("slidesInView"))},{root:t.parentElement,threshold:n}),e.forEach(t=>a.observe(t))},destroy:function(){a&&a.disconnect(),s=!0},get:function(t=!0){if(t&&r)return r;if(!t&&l)return l;const e=function(t){return B(i).reduce((e,o)=>{const n=parseInt(o),{isIntersecting:a}=i[n];return(t&&a||!t&&!a)&&e.push(n),e},[])}(t);return t&&(r=e),t||(l=e),e}}}function it(t,e,o,n,i,a,r,l,s){const{startEdge:u,endEdge:c,direction:d}=t,p=j(o);return{groupSlides:function(t){return p?function(t,e){return O(t).filter(t=>t%e===0).map(o=>t.slice(o,o+e))}(t,o):function(t){return t.length?O(t).reduce((o,p,y)=>{const b=I(o)||0,g=0===b,h=p===E(t),_=i[u]-a[b][u],m=i[u]-a[p][c],f=!n&&g?d(r):0,k=T(m-(!n&&h?d(l):0)-(_+f));return y&&k>e+s&&o.push(p),h&&o.push(t.length),o},[]).map((e,o,n)=>{const i=Math.max(n[o-1]||0);return t.slice(i,e)}):[]}(t)}}}function at(t,e,o,n,i,a,r){const{align:l,axis:s,direction:u,startIndex:c,loop:d,duration:p,dragFree:y,dragThreshold:b,inViewThreshold:g,slidesToScroll:h,skipSnaps:_,containScroll:m,watchResize:f,watchSlides:k,watchDrag:x,watchFocus:w}=a,v={measure:function(t){const{offsetTop:e,offsetLeft:o,offsetWidth:n,offsetHeight:i}=t;return{top:e,right:o+n,bottom:e+i,left:o,width:n,height:i}}},F=v.measure(e),S=o.map(v.measure),z=function(t,e){const o="rtl"===e,n="y"===t,i=!n&&o?-1:1;return{scroll:n?"y":"x",cross:n?"x":"y",startEdge:n?"top":o?"right":"left",endEdge:n?"bottom":o?"left":"right",measureSize:function(t){const{height:e,width:o}=t;return n?e:o},direction:function(t){return t*i}}}(s,u),j=z.measureSize(F),A=function(t){return{measure:function(e){return t*(e/100)}}}(j),D=function(t,e){const o={start:function(){return 0},center:function(t){return n(t)/2},end:n};function n(t){return e-t}return{measure:function(n,i){return C(t)?o[t](n):t(e,n,i)}}}(l,j),B=!d&&!!m,R=d||!!m,{slideSizes:V,slideSizesWithGaps:at,startGap:rt,endGap:lt}=function(t,e,o,n,i,a){const{measureSize:r,startEdge:l,endEdge:s}=t,u=o[0]&&i,c=function(){if(!u)return 0;const t=o[0];return T(e[l]-t[l])}(),d=function(){if(!u)return 0;const t=a.getComputedStyle(I(n));return parseFloat(t.getPropertyValue(`margin-${s}`))}(),p=o.map(r),y=o.map((t,e,o)=>{const n=!e,i=W(o,e);return n?p[e]+c:i?p[e]+d:o[e+1][l]-t[l]}).map(T);return{slideSizes:p,slideSizesWithGaps:y,startGap:c,endGap:d}}(z,F,S,o,R,i),st=it(z,j,h,d,F,S,rt,lt,2),{snaps:ut,snapsAligned:ct}=function(t,e,o,n,i){const{startEdge:a,endEdge:r}=t,{groupSlides:l}=i,s=l(n).map(t=>I(t)[r]-t[0][a]).map(T).map(e.measure),u=n.map(t=>o[a]-t[a]).map(t=>-T(t)),c=l(u).map(t=>t[0]).map((t,e)=>t+s[e]);return{snaps:u,snapsAligned:c}}(z,D,F,S,st),dt=-I(ut)+I(at),{snapsContained:pt,scrollContainLimit:yt}=function(t,e,o,n,i){const a=H(-e+t,0),r=o.map((t,e)=>{const{min:n,max:i}=a,r=a.constrain(t),l=!e,u=W(o,e);return l?i:u||s(n,r)?n:s(i,r)?i:r}).map(t=>parseFloat(t.toFixed(3))),l=function(){const t=r[0],e=I(r);return H(r.lastIndexOf(t),r.indexOf(e)+1)}();function s(t,e){return P(t,e)<=1}return{snapsContained:function(){if(e<=t+i)return[a.max];if("keepSnaps"===n)return r;const{min:o,max:s}=l;return r.slice(o,s)}(),scrollContainLimit:l}}(j,dt,ct,m,2),bt=B?pt:ct,{limit:gt}=function(t,e,o){const n=e[0];return{limit:H(o?n-t:I(e),n)}}(dt,bt,d),ht=K(E(bt),c,d),_t=ht.clone(),mt=O(o),ft=q(n,i,()=>(({dragHandler:t,scrollBody:e,scrollBounds:o,options:{loop:n}})=>{n||o.constrain(t.pointerDown()),e.seek()})(Pt),t=>(({scrollBody:t,translate:e,location:o,offsetLocation:n,previousLocation:i,scrollLooper:a,slideLooper:r,dragHandler:l,animation:s,eventHandler:u,scrollBounds:c,options:{loop:d}},p)=>{const y=t.settled(),b=!c.shouldConstrain(),g=d?y:y&&b,h=g&&!l.pointerDown();h&&s.stop();const _=o.get()*p+i.get()*(1-p);n.set(_),d&&(a.loop(t.direction()),r.loop()),e.to(n.get()),h&&u.emit("settle"),g||u.emit("scroll")})(Pt,t)),kt=bt[ht.get()],xt=$(kt),wt=$(kt),vt=$(kt),Ft=$(kt),St=function(t,e,o,n,i,a){let r=0,l=0,s=i,u=a,c=t.get(),d=0;function p(t){return s=t,b}function y(t){return u=t,b}const b={direction:function(){return l},duration:function(){return s},velocity:function(){return r},seek:function(){const e=n.get()-t.get();let i=0;return s?(o.set(t),r+=e/s,r*=u,c+=r,t.add(r),i=c-d):(r=0,o.set(n),t.set(n),i=e),l=N(i),d=c,b},settled:function(){return T(n.get()-e.get())<.001},useBaseFriction:function(){return y(a)},useBaseDuration:function(){return p(i)},useFriction:y,useDuration:p};return b}(xt,vt,wt,Ft,p,.68),zt=Z(d,bt,dt,gt,Ft),jt=function(t,e,o,n,i,a,r){function l(i){const l=i.distance,s=i.index!==e.get();a.add(l),l&&(n.duration()?t.start():(t.update(),t.render(1),t.update())),s&&(o.set(e.get()),e.set(i.index),r.emit("select"))}return{distance:function(t,e){l(i.byDistance(t,e))},index:function(t,o){const n=e.clone().set(t);l(i.byIndex(n.get(),o))}}}(ft,ht,_t,St,zt,Ft,r),Ct=function(t){const{max:e,length:o}=t;return{get:function(t){return o?(t-e)/-o:0}}}(gt),At=M(),Dt=nt(e,o,r,g),{slideRegistry:Tt}=function(t,e,o,n,i,a){const{groupSlides:r}=i,{min:l,max:s}=n;return{slideRegistry:function(){const n=r(a),i=!t||"keepSnaps"===e;return 1===o.length?[a]:i?n:n.slice(l,s).map((t,e,o)=>{const n=!e,i=W(o,e);return n?L(I(o[0])+1):i?L(E(a)-I(o)[0]+1,I(o)[0]):t})}()}}(B,m,bt,yt,st,mt),Nt=G(t,o,Tt,jt,St,At,r,w),Pt={ownerDocument:n,ownerWindow:i,eventHandler:r,containerRect:F,slideRects:S,animation:ft,axis:z,dragHandler:X(z,t,n,i,Ft,J(z,i),xt,ft,jt,St,zt,ht,r,A,y,b,_,.68,x),eventStore:At,percentOfView:A,index:ht,indexPrevious:_t,limit:gt,location:xt,offsetLocation:vt,previousLocation:wt,options:a,resizeHandler:U(e,r,i,o,z,f,v),scrollBody:St,scrollBounds:Q(gt,vt,Ft,St,A),scrollLooper:Y(dt,gt,vt,[xt,vt,wt,Ft]),scrollProgress:Ct,scrollSnapList:bt.map(Ct.get),scrollSnaps:bt,scrollTarget:zt,scrollTo:jt,slideLooper:et(z,j,dt,V,at,ut,bt,vt,o),slideFocus:Nt,slidesHandler:ot(e,r,k),slidesInView:Dt,slideIndexes:mt,slideRegistry:Tt,slidesToScroll:st,target:Ft,translate:tt(z,e)};return Pt}const rt={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function lt(t){function e(t,e){return R(t,e||{})}const o={mergeOptions:e,optionsAtMedia:function(o){const n=o.breakpoints||{},i=B(n).filter(e=>t.matchMedia(e).matches).map(t=>n[t]).reduce((t,o)=>e(t,o),{});return e(o,i)},optionsMediaQueries:function(e){return e.map(t=>B(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}};return o}function st(t,e,o){const n=t.ownerDocument,i=n.defaultView,a=lt(i),r=function(t){let e=[];return{init:function(o,n){return e=n.filter(({options:e})=>!1!==t.optionsAtMedia(e).active),e.forEach(e=>e.init(o,t)),n.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){e=e.filter(t=>t.destroy())}}}(a),l=M(),s=function(){let t,e={};function o(t){return e[t]||[]}const n={init:function(e){t=e},emit:function(e){return o(e).forEach(o=>o(t,e)),n},off:function(t,i){return e[t]=o(t).filter(t=>t!==i),n},on:function(t,i){return e[t]=o(t).concat([i]),n},clear:function(){e={}}};return n}(),{mergeOptions:u,optionsAtMedia:c,optionsMediaQueries:d}=a,{on:p,off:y,emit:b}=s,g=z;let h,_,m,f,k=!1,x=u(rt,st.globalOptions),w=u(x),v=[];function F(e){const o=at(t,m,f,n,i,e,s);if(e.loop&&!o.slideLooper.canLoop()){return F(Object.assign({},e,{loop:!1}))}return o}function S(e,o){k||(x=u(x,e),w=c(x),v=o||v,function(){const{container:e,slides:o}=w,n=C(e)?t.querySelector(e):e;m=n||t.children[0];const i=C(o)?m.querySelectorAll(o):o;f=[].slice.call(i||m.children)}(),h=F(w),d([x,...v.map(({options:t})=>t)]).forEach(t=>l.add(t,"change",z)),w.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(T),h.eventHandler.init(T),h.resizeHandler.init(T),h.slidesHandler.init(T),h.options.loop&&h.slideLooper.loop(),m.offsetParent&&f.length&&h.dragHandler.init(T),_=r.init(T,v)))}function z(t,e){const o=D();j(),S(u({startIndex:o},t),e),s.emit("reInit")}function j(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),r.destroy(),l.clear()}function A(t,e,o){w.active&&!k&&(h.scrollBody.useBaseFriction().useDuration(!0===e?0:w.duration),h.scrollTo.index(t,o||0))}function D(){return h.index.get()}const T={canScrollNext:function(){return h.index.add(1).get()!==D()},canScrollPrev:function(){return h.index.add(-1).get()!==D()},containerNode:function(){return m},internalEngine:function(){return h},destroy:function(){k||(k=!0,l.clear(),j(),s.emit("destroy"),s.clear())},off:y,on:p,emit:b,plugins:function(){return _},previousScrollSnap:function(){return h.indexPrevious.get()},reInit:g,rootNode:function(){return t},scrollNext:function(t){A(h.index.add(1).get(),t,-1)},scrollPrev:function(t){A(h.index.add(-1).get(),t,1)},scrollProgress:function(){return h.scrollProgress.get(h.offsetLocation.get())},scrollSnapList:function(){return h.scrollSnapList},scrollTo:A,selectedScrollSnap:D,slideNodes:function(){return f},slidesInView:function(){return h.slidesInView.get()},slidesNotInView:function(){return h.slidesInView.get(!1)}};return S(e,o),setTimeout(()=>s.emit("init"),0),T}function ut(t={},o=[]){const n=e.useRef(t),i=e.useRef(o),[a,r]=e.useState(),[l,s]=e.useState(),u=e.useCallback(()=>{a&&a.reInit(n.current,i.current)},[a]);return e.useEffect(()=>{S(n.current,t)||(n.current=t,u())},[t,u]),e.useEffect(()=>{(function(t,e){if(t.length!==e.length)return!1;const o=z(t),n=z(e);return o.every((t,e)=>S(t,n[e]))})(i.current,o)||(i.current=o,u())},[o,u]),e.useEffect(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){st.globalOptions=ut.globalOptions;const t=st(l,n.current,i.current);return r(t),()=>t.destroy()}r(void 0)},[l,r]),[s,a]}st.globalOptions=void 0,ut.globalOptions=void 0;const ct=e.createContext(void 0);var dt=e.memo(function({node:e}){const[o,n]=ut(e.attributes);return t.jsx(ct.Provider,{value:n,children:t.jsx("div",{className:"carousel-provider",children:t.jsx("div",{className:"embla",children:t.jsx("div",{className:"embla__viewport",ref:o,children:e.children&&t.jsx(Tt,{node:e.children})})})})})});var pt=e.memo(function({node:o}){const n=e.useContext(ct),i=o.attributes?.buttonType||["previous_button","next_button"];return t.jsxs("div",{className:"embla__buttons",children:[i.includes("previous_button")&&t.jsx("button",{onClick:()=>n?.scrollPrev(),className:"embla__button embla__button--prev",children:"Previous"}),i.includes("next_button")&&t.jsx("button",{onClick:()=>n?.scrollNext(),className:"embla__button embla__button--next",children:"Next"}),i.includes("skip_button")&&t.jsx("button",{onClick:()=>n?.scrollTo(o.attributes?.skipNumber),className:"embla__button embla__button--skip",children:"Skip"})]})});var yt=e.memo(function({node:o}){const n=o.attributes?.dotType||"normal_dot",i=e.useContext(ct),[a,r]=e.useState(0),[l,s]=e.useState([]);return e.useEffect(()=>{i&&(s(i.scrollSnapList()),r(i.selectedScrollSnap()),i.on("select",()=>{r(i.selectedScrollSnap())}))},[i]),t.jsx("div",{className:`embla__dots embla__dots--${n}`,children:l.map((e,o)=>t.jsx("button",{onClick:()=>i?.scrollTo(e),className:"embla__dot "+(a===o?"embla__dot--selected":""),children:o===a?"●":"○"},o))})});var bt=e.memo(function({node:e}){return t.jsx("div",{className:"embla__slide",...e.attributes,children:e.children&&t.jsx(Tt,{node:e.children})})});var gt=e.memo(function({node:e}){return t.jsx("img",{className:"primitive primitive-image",src:e.attributes?.src,width:e.attributes?.width,height:e.attributes?.height,style:{width:e.attributes?.width,height:e.attributes?.height,borderRadius:e.attributes?.borderRadius,objectFit:"cover"===e.attributes?.resizeMode?"cover":"contain"===e.attributes?.resizeMode?"contain":"stretch"===e.attributes?.resizeMode?"fill":void 0},alt:""},e.key)});var ht=e.memo(function({node:e}){return t.jsx(v,{node:{...e,type:"carousel"}})});const _t=e.createContext(void 0);var mt=e.memo(function({node:o}){const[n,i]=ut(o.attributes),{theme:a,setWarning:r}=e.useContext(k)??{},[l,s]=e.useState(0),u=e.useMemo(()=>{const t=o.children.filter(t=>"Onboard"===t.type)[0];if("Onboard"!==t?.type)throw new Error("OnboardProvider at least has an Onboard child");const e=t.children[l].children.filter(t=>"OnboardButtons"==t?.type);return[...o.children,...e]},[l,o.children]);return e.useEffect(()=>{i&&(s(i.selectedScrollSnap()),i.on("select",()=>{s(i.selectedScrollSnap())}))},[i]),e.useEffect(()=>{a!==o.attributes?.theme&&r?.("Wrong theme")},[a]),t.jsx(_t.Provider,{value:{emblaApi:i,selectedIndex:l},children:t.jsx("div",{className:"carousel-provider",children:t.jsx("div",{className:"embla",children:t.jsx("div",{className:"embla__viewport",ref:n,children:o.children&&t.jsx(Tt,{node:u})})})})})});var ft=e.memo(function({node:o}){const{emblaApi:n}=e.useContext(_t)??{},{localication:i,defaultLanguage:a}=e.useContext(k)??{},r=o.attributes?.labelKey??"",l=i?.[a??"en"]?.[r]??r,s=o.attributes?.flex??1,u=o.attributes?.button_text_color??"#FFFFFF",c=o.attributes?.button_background_color??"#0066FF";return t.jsx("button",{className:"onboard__button",onClick:()=>{const t=o.attributes?.events||[];for(const e of t)"Permission"===e.type?alert(`Permission requested: ${e.permission??"unknown"}`):e.type;"number"==typeof o.attributes?.targetIndex&&n?.scrollTo(o.attributes.targetIndex)},style:{flex:s,color:u,backgroundColor:c,border:"none",borderRadius:20,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:l})});const kt="#E5E7EB";var xt=e.memo(function({node:o}){const n=e.useContext(_t)??{};n.emblaApi;const[i,a]=e.useState(n.selectedIndex??0);e.useEffect(()=>{"number"==typeof n.selectedIndex&&a(n.selectedIndex)},[n.selectedIndex]);const r=o.attributes?.condition,l=o.attributes?.conditionVariable;if("carousel-index"===r&&"number"==typeof l&&l!==i)return null;const s="column"===o.attributes?.buttons_direction?"column":"row",u=o.attributes?.seperatorColor;return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"onboard__separator",style:{height:1,backgroundColor:u??kt,width:"100%"}}),t.jsx("div",{className:"onboard__buttons",style:{display:"flex",flexDirection:s,height:40,gap:12,alignItems:"center",justifyContent:"center",margin:"12px 24px"},children:Array.isArray(o.children)?o.children.map((e,o)=>t.jsx(Tt,{node:e},o)):t.jsx(Tt,{node:o.children})})]})});var wt=e.memo(function({node:e}){return t.jsx(yt,{node:{...e,type:"carouselDots"}})});var vt=e.memo(function({node:o}){const{localication:n,defaultLanguage:i}=e.useContext(k)??{},a=t=>t?n?.[i??"en"]?.[t]??t:"",r=a(o?.attributes?.textLocalizationKey),l={display:"flex",flexDirection:o?.attributes?.flexDirection??"column",gap:"number"==typeof o?.attributes?.gap?o.attributes.gap:0,padding:"number"==typeof o?.attributes?.padding?o.attributes.padding:void 0,margin:"number"==typeof o?.attributes?.margin?o.attributes.margin:void 0,backgroundColor:o?.attributes?.backgroundColor,borderRadius:"number"==typeof o?.attributes?.borderRadius?o.attributes.borderRadius:void 0,width:"number"==typeof o?.attributes?.width?o.attributes.width:void 0,height:"number"==typeof o?.attributes?.height?o.attributes.height:void 0,alignItems:o?.attributes?.alignItems,justifyContent:o?.attributes?.justifyContent},s=t=>({color:t,cursor:t?"pointer":void 0});return t.jsxs("div",{className:"primitive primitive-footer",style:l,children:[!!r&&t.jsx("p",{style:{color:o?.attributes?.textColor},children:r}),t.jsxs("div",{style:{display:"flex",gap:8},children:[o?.attributes?.linkedWordFirstLocalizationKey&&t.jsx("span",{style:s(o?.attributes?.linkedWordFirstColor),children:a(o?.attributes?.linkedWordFirstLocalizationKey)}),o?.attributes?.linkedWordSecondLocalizationKey&&t.jsx("span",{style:s(o?.attributes?.linkedWordSecondColor),children:a(o?.attributes?.linkedWordSecondLocalizationKey)})]})]})});var Ft=e.memo(function({node:e}){return t.jsx(gt,{node:{...e,type:"image"}})});var St=e.memo(function({node:o}){const n=e.useMemo(()=>(i(o.children)?o.children:[o.children]).filter(t=>"OnboardButtons"!=t?.type),[o.children]);return t.jsx(bt,{node:{...o,type:"carouselItem",children:n}})});var zt=e.memo(function({node:o}){const{localication:n,defaultLanguage:i}=e.useContext(k)??{},a=o.children;return t.jsx("p",{style:o.attributes,className:"primitive primitive-text",children:n?.[i??"en"]?.[a]??a})});var jt=e.memo(function({node:e}){return t.jsx(zt,{node:{...e,type:"text",attributes:{fontSize:14,fontWeight:"600",...e.attributes}}})});var Ct=e.memo(function({node:e}){return t.jsx(zt,{node:{...e,type:"text",attributes:{fontSize:24,fontWeight:"700",...e.attributes}}})});function At(t){const e={display:"flex",flexDirection:"column"};return t?((t?.scrollable??!1)&&("row"===t.flexDirection?(e.overflowX="auto",e.overflowY="hidden",e.maxWidth="100%",e.maxHeight="100%"):(e.overflowY="auto",e.overflowX="hidden",e.maxHeight="100%",e.maxWidth="100%")),t.flexDirection&&(e.flexDirection=t.flexDirection),t.alignItems&&(e.alignItems=t.alignItems),t.justifyContent&&(e.justifyContent=t.justifyContent),void 0!==t.gap&&(e.gap=t.gap),void 0!==t.padding&&(e.padding=t.padding),void 0!==t.margin&&(e.margin=t.margin),t.backgroundColor&&(e.backgroundColor=t.backgroundColor),void 0!==t.borderRadius&&(e.borderRadius=t.borderRadius),void 0!==t.width&&(e.width=t.width),void 0!==t.height&&(e.height=t.height),e):e}var Dt=e.memo(function({node:e}){return t.jsx("div",{style:At(e.attributes??{}),className:"primitive primitive-view",children:t.jsx(Tt,{node:e.children})})});var Tt=e.memo(function e({node:a}){if(o(a))return null;if(n(a))return t.jsx(zt,{node:{children:a,type:"text"}});if(i(a))return t.jsx(t.Fragment,{children:a.map((o,n)=>t.jsx(e,{node:o},n))});const r=a;switch(r?.type){case"button":return t.jsx(w,{node:r});case"carousel":return t.jsx(v,{node:r});case"carouselButtons":return t.jsx(pt,{node:r});case"carouselDots":return t.jsx(yt,{node:r});case"carouselItem":return t.jsx(bt,{node:r});case"carouselProvider":return t.jsx(dt,{node:r});case"image":return t.jsx(gt,{node:r});case"Onboard":return t.jsx(ht,{node:r});case"OnboardButton":return t.jsx(ft,{node:r});case"OnboardButtons":return t.jsx(xt,{node:r});case"OnboardDot":return t.jsx(wt,{node:r});case"OnboardFooter":return t.jsx(vt,{node:r});case"OnboardImage":return t.jsx(Ft,{node:r});case"OnboardItem":return t.jsx(St,{node:r});case"OnboardProvider":return t.jsx(mt,{node:r});case"OnboardSubtitle":return t.jsx(jt,{node:r});case"OnboardTitle":return t.jsx(Ct,{node:r});case"text":return t.jsx(zt,{node:r});case"view":return t.jsx(Dt,{node:r});default:return null}});var Nt=[{name:"iphone 12",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 12 pro",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 13",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 13 pro",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 14",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 14 pro",platform:"ios",width:393,height:852,type:"phone",importance:1},{name:"iphone 15",platform:"ios",width:393,height:852,type:"phone",importance:1},{name:"iphone 15 pro",platform:"ios",width:393,height:852,type:"phone",importance:1},{name:"pixel 3 xl",platform:"android",width:412,height:847,type:"phone",importance:1},{name:"pixel 4 xl",platform:"android",width:412,height:869,type:"phone",importance:1},{name:"pixel 6",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"pixel 6 pro",platform:"android",width:412,height:892,type:"phone",importance:1},{name:"pixel 7",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"pixel 7 pro",platform:"android",width:412,height:892,type:"phone",importance:1},{name:"pixel 8",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"pixel 8 pro",platform:"android",width:412,height:919,type:"phone",importance:1},{name:"galaxy s8",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s8+",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s9",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s9+",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s10",platform:"android",width:360,height:760,type:"phone",importance:1},{name:"galaxy s10+",platform:"android",width:412,height:869,type:"phone",importance:1},{name:"galaxy s20",platform:"android",width:360,height:800,type:"phone",importance:1},{name:"galaxy s20+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s20 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s21",platform:"android",width:360,height:800,type:"phone",importance:1},{name:"galaxy s21+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s21 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s22",platform:"android",width:360,height:780,type:"phone",importance:1},{name:"galaxy s22+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s22 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s23",platform:"android",width:360,height:780,type:"phone",importance:1},{name:"galaxy s23+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s23 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 8",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 8 pro",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 9",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 9 pro",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"xiaomi mi 11",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"huawei p30",platform:"android",width:360,height:750,type:"phone",importance:1},{name:"huawei p30 pro",platform:"android",width:360,height:780,type:"phone",importance:1},{name:"oppo find x3 pro",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"iphone 6 plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone 6s plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone 7 plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone 8 plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone xs max",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone xr",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone 11",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone 11 pro max",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone 12 pro max",platform:"ios",width:428,height:926,type:"phone",importance:2},{name:"iphone 13 pro max",platform:"ios",width:428,height:926,type:"phone",importance:2},{name:"iphone 14 plus",platform:"ios",width:428,height:926,type:"phone",importance:2},{name:"iphone 14 pro max",platform:"ios",width:430,height:932,type:"phone",importance:2},{name:"iphone 15 plus",platform:"ios",width:430,height:932,type:"phone",importance:2},{name:"iphone 15 pro max",platform:"ios",width:430,height:932,type:"phone",importance:2},{name:"pixel 2",platform:"android",width:411,height:731,type:"phone",importance:2},{name:"pixel 2 xl",platform:"android",width:411,height:823,type:"phone",importance:2},{name:"pixel 3",platform:"android",width:393,height:786,type:"phone",importance:2},{name:"pixel 4",platform:"android",width:411,height:869,type:"phone",importance:2},{name:"pixel 5",platform:"android",width:393,height:851,type:"phone",importance:2},{name:"xiaomi mi 9",platform:"android",width:393,height:851,type:"phone",importance:2},{name:"iphone 6",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 6s",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 7",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 8",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone x",platform:"ios",width:375,height:812,type:"phone",importance:3},{name:"iphone xs",platform:"ios",width:375,height:812,type:"phone",importance:3},{name:"iphone 11 pro",platform:"ios",width:375,height:812,type:"phone",importance:3},{name:"iphone se (2nd gen)",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone se (3rd gen)",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 12 mini",platform:"ios",width:360,height:780,type:"phone",importance:4},{name:"iphone 13 mini",platform:"ios",width:360,height:780,type:"phone",importance:4},{name:"iphone (1st gen)",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 3g",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 3gs",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 4",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 4s",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 5",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"iphone 5c",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"iphone 5s",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"iphone se (1st gen)",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"nexus 7 (2013)",platform:"android",width:600,height:960,type:"tablet",importance:5},{name:"nexus 9",platform:"android",width:768,height:1024,type:"tablet",importance:5},{name:"pixel c",platform:"android",width:900,height:1280,type:"tablet",importance:5},{name:"galaxy tab s6",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"galaxy tab s7",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"galaxy tab s8",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"galaxy tab a 10.1",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"lenovo tab p11",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"fire hd 10",platform:"android",width:800,height:1280,type:"tablet",importance:5}];exports.AttributesEditor=d,exports.RenderMainNode=x,exports.RenderNode=Tt,exports.RenderPage=function({data:e,screenSize:o,theme:n,isRtl:i,screenStyle:a,localication:r,defaultLanguage:l}){const s=800,u=s*o.width/o.height;return t.jsx("div",{className:"stage-wrapper",style:{overflow:"auto"},children:t.jsx("div",{className:"stage",style:{width:u,height:s,minWidth:u,maxWidth:u,minHeight:s,maxHeight:s,overflow:"hidden",position:"relative",padding:4,direction:i?"rtl":"ltr",backgroundColor:"dark"===n?a.dark.backgroundColor:a.light.backgroundColor,color:"dark"===n?a.dark.color:a.light.color},children:t.jsx(x,{localication:r,defaultLanguage:l,theme:n,children:t.jsx(Tt,{node:e})})})})},exports.analyseNode=function t(e){if(o(e))return{valid:!0,message:"null or undefined is valid"};if(n(e))return{valid:!0,message:"string is valid"};if(i(e)){const o=e;for(const e of o){const{valid:o,message:n}=t(e);if(!o)return{valid:!1,message:n}}return{valid:!0,message:"Array is valid"}}const r=e;if(a(r))return{valid:!0,message:"empty object is valid"};if(r.children){const{valid:e,message:o}=t(r.children);if(!e)return{valid:!1,message:o}}return{valid:!0,message:"everthing is valid"}},exports.getBasicSamples=function(){return[p,y,b]},exports.getDevices=function(){return Nt},exports.getOnboardSamples=function(){return[g,h,_,m]},exports.getSamples=function(){const t=[{...g},{...h},{..._},{...m}];return t.forEach(t=>{t.data=f(t)}),[p,y,b,...t]},exports.isEmptyObject=a,exports.isNodeArray=i,exports.isNodeNullOrUndefined=o,exports.isNodeString=n,exports.novaToJson=f;
1
+ "use strict";var t=require("react/jsx-runtime"),e=require("react");function o(t){return null==t}function n(t){return"string"==typeof t}function i(t){return t instanceof Array}function a(t){return 0===Object.keys(t).length}const r=[{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"image",children:"never",attributes:{src:"string",width:"number",height:"number",resizeMode:["cover","contain","stretch","center"],borderRadius:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"text",children:"string",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]},textAlign:["left","center","right","justify"]}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"button",children:"string",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"view",children:["node","array"],attributes:{scrollable:"boolean",flexDirection:["row","column"],alignItems:["flex-start","center","flex-end","stretch","baseline"],justifyContent:["flex-start","center","flex-end","space-between","space-around","space-evenly"],gap:"number",padding:"number",margin:"number",backgroundColor:"string",borderRadius:"number",width:"number",height:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carousel",children:"carouselItem",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselButtons",children:"never",attributes:{buttonType:["previous_button","next_button","skip_button"],skipNumber:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselDots",children:"never",attributes:{dotType:["expanding_dot","normal_dot","scaling_dot","sliding_border","sliding_dot","liquid_like"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselItem",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"carouselProvider",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"Onboard",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardProvider",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardItem",children:"node",attributes:{}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardImage",children:"node",attributes:{src:"string",width:"number",height:"number",resizeMode:["cover","contain","stretch","center"],borderRadius:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardButtons",children:"node",attributes:{buttonType:["previous_button","next_button","skip_button"],skipNumber:"number",buttons_direction:["row","column"],forIndex:"number",seperatorColor:"string",condition:["carousel-index"],conditionVariable:"number"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardButton",children:"never",attributes:{labelKey:"string",button_text_color:"string",animation:["simple-animation","line-animation","blur","blur-animation","blur-line-animation"],animation_color:"string",button_background_color:"string",flex:"number",targetIndex:"number",events:"EventObject[]"}},types:{EventObject:{type:["Permission","Navigate"],permission:"string",next_page_key:"string"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardTitle",children:"node",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardSubtitle",children:"node",attributes:{color:"string",fontSize:"number",fontWeight:["normal","bold","100","200","300","400","500","600","700","800","900"]}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardFooter",children:"node",attributes:{scrollable:"boolean",flexDirection:["row","column"],alignItems:["flex-start","center","flex-end","stretch","baseline"],justifyContent:["flex-start","center","flex-end","space-between","space-around","space-evenly"],gap:"number",padding:"number",margin:"number",backgroundColor:"string",borderRadius:"number",width:"number",height:"number",textLocalizationKey:"string",textColor:"string",linkedWordFirstLocalizationKey:"string",linkedWordFirstColor:"string",linkedWordFirstPage:"string",linkedWordSecondLocalizationKey:"string",linkedWordSecondColor:"string",linkedWordSecondPage:"string"}}},{schemaVersion:1,allowUnknownAttributes:!1,pattern:{type:"OnboardDot",children:"node",attributes:{dotType:["expanding_dot","normal_dot","scaling_dot","sliding_border","sliding_dot","liquid_like"],inactive_dot_opacity:"number",expanding_dot_width:"number",dot_style:"string",container_style:"string",active_dot_color:"string"}}}];function l(t){if(t)return r.find(e=>e.pattern.type===t)}function s(t,e){if(!t||!e)return;const o=l(t),n=o?.types;return n?.[e]}function u(t){return"string"===t||"number"===t||"boolean"===t}function c({name:o,type:n,value:i,onChange:a,componentType:r}){if(Array.isArray(n))return t.jsxs("select",{value:i??"",onChange:t=>a(t.target.value),className:"input",children:[t.jsx("option",{value:"",children:"(none)"}),n.map(e=>t.jsx("option",{value:e,children:e},e))]});const l="string"==typeof n?"string"!=typeof(d=n)?null:d.endsWith("[]")?d.slice(0,-2):null:null;var d;if(l){const o=Array.isArray(i)?i:[];if(u(l))return t.jsxs("div",{style:{display:"grid",gap:8},children:[o.map((e,n)=>t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:["number"===l?t.jsx("input",{type:"number",value:e??"",onChange:t=>{const e=[...o];e[n]=""===t.target.value?void 0:Number(t.target.value),a(e)},className:"input",style:{flex:1}}):"boolean"===l?t.jsx("input",{type:"checkbox",checked:Boolean(e),onChange:t=>{const e=[...o];e[n]=t.target.checked,a(e)}}):t.jsx("input",{type:"text",value:e??"",onChange:t=>{const e=[...o];e[n]=""===t.target.value?void 0:t.target.value,a(e)},className:"input",style:{flex:1}}),t.jsx("button",{type:"button",onClick:()=>{const t=o.filter((t,e)=>e!==n);a(t.length?t:void 0)},children:"remove"})]},n)),t.jsx("div",{children:t.jsx("button",{type:"button",onClick:()=>{const t=[...o,"boolean"!==l&&("number"===l?0:"")];a(t)},children:"add"})})]});const n=s(r,l)??{};return t.jsxs("div",{style:{display:"grid",gap:8},children:[o.map((i,l)=>{const s=i??{};return t.jsxs("div",{style:{border:"1px solid #ddd",borderRadius:6,padding:8},children:[t.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:Object.entries(n).map(([n,i])=>t.jsxs(e.Fragment,{children:[t.jsx("div",{style:{alignSelf:"center"},children:n}),t.jsx(c,{name:n,type:i,value:s?.[n],onChange:t=>{const e=[...o],i={...s??{},[n]:t};e[l]=i,a(e)},componentType:r})]},n))}),t.jsx("div",{style:{marginTop:8},children:t.jsx("button",{type:"button",onClick:()=>{const t=o.filter((t,e)=>e!==l);a(t.length?t:void 0)},children:"remove"})})]},l)}),t.jsx("div",{children:t.jsx("button",{type:"button",onClick:()=>{const t=[...o,{}];a(t)},children:"add"})})]})}if("string"==typeof n&&!u(n)){const o=s(r,n);if(o){const n=i??{};return t.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:Object.entries(o).map(([o,i])=>t.jsxs(e.Fragment,{children:[t.jsx("div",{style:{alignSelf:"center"},children:o}),t.jsx(c,{name:o,type:i,value:n?.[o],onChange:t=>{const e={...n??{},[o]:t};a(e)},componentType:r})]},o))})}}if("number"===n)return t.jsx("input",{type:"number",value:i??"",onChange:t=>a(""===t.target.value?void 0:Number(t.target.value)),className:"input"});if("boolean"===n)return t.jsx("input",{type:"checkbox",checked:Boolean(i),onChange:t=>a(t.target.checked)});if("string[]"===n){const e=Array.isArray(i)?i:[];return t.jsxs("div",{style:{display:"grid",gap:8},children:[e.map((o,n)=>t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[t.jsx("input",{type:"text",value:o??"",onChange:t=>{const o=[...e];o[n]=t.target.value,a(o)},className:"input",style:{flex:1}}),t.jsx("button",{type:"button",onClick:()=>{const t=e.filter((t,e)=>e!==n);a(t.length?t:void 0)},children:"remove"})]},n)),t.jsx("div",{children:t.jsx("button",{type:"button",onClick:()=>{const t=[...e,""];a(t)},children:"add"})})]})}return t.jsx("input",{type:"text",value:i??"",onChange:t=>a(""===t.target.value?void 0:t.target.value),className:"input"})}var d=e.memo(function({node:o,onChange:i}){if(!o||n(o))return null;const a=o,r=function(t){const e=l(t);return e?.pattern.attributes}(a?.type)??{},s=a?.attributes??{},u=Object.entries(r);return 0===u.length?t.jsx("div",{style:{padding:8,opacity:.7},children:"No editable attributes"}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},children:u.map(([o,n])=>t.jsxs(e.Fragment,{children:[t.jsx("div",{style:{alignSelf:"center"},children:o}),t.jsx(c,{name:o,type:n,value:s?.[o],onChange:t=>{const e={...a,attributes:{...s??{},[o]:t}};i(e)},componentType:a?.type})]},o))})}),p={name:"hello-world",version:"1.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},defaultLanguage:"en"},data:{type:"view",attributes:{scrollable:!0,flexDirection:"column",alignItems:"center",justifyContent:"center",gap:12,padding:16,backgroundColor:"#F5F7FA"},children:[{type:"text",children:"Hello, world!",attributes:{color:"#111827",fontSize:24,fontWeight:"600"}},{type:"text",children:"Welcome to react-native-builder",attributes:{color:"#6B7280",fontSize:14,fontWeight:"400"}}]}},y={name:"hello-world-2-advanced",version:"1.0.0",previewConfig:{theme:"light",screenSize:{width:390,height:844},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},defaultLanguage:"en"},data:{type:"view",attributes:{scrollable:!0,flexDirection:"column",alignItems:"stretch",justifyContent:"flex-start",gap:16,padding:16,backgroundColor:"#F3F4F6"},children:[{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#111827",borderRadius:12},children:[{type:"text",children:"Dashboard",attributes:{color:"#FFFFFF",fontSize:20,fontWeight:"600"}},{type:"view",attributes:{flexDirection:"row",gap:8},children:[{type:"text",children:"Help",attributes:{color:"#D1D5DB",fontSize:14}},{type:"text",children:"Profile",attributes:{color:"#D1D5DB",fontSize:14}}]}]},{type:"image",attributes:{src:"https://picsum.photos/720/320",width:358,height:160,borderRadius:12,resizeMode:"cover"},children:null},{type:"view",attributes:{flexDirection:"column",gap:8,padding:12,backgroundColor:"#FFFFFF",borderRadius:12},children:[{type:"text",children:"Welcome back!",attributes:{color:"#111827",fontSize:18,fontWeight:"600"}},{type:"text",children:"Here's what's new today.",attributes:{color:"#6B7280",fontSize:14}}]},{type:"view",attributes:{flexDirection:"column",gap:12},children:[{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#FFFFFF",borderRadius:8},children:[{type:"text",children:"Task 1",attributes:{color:"#111827",fontSize:16,fontWeight:"500"}},{type:"text",children:"Due today",attributes:{color:"#059669",fontSize:12,fontWeight:"600"}}]},{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#FFFFFF",borderRadius:8},children:[{type:"text",children:"Task 2",attributes:{color:"#111827",fontSize:16,fontWeight:"500"}},{type:"text",children:"2 days left",attributes:{color:"#D97706",fontSize:12,fontWeight:"600"}}]},{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:12,backgroundColor:"#FFFFFF",borderRadius:8},children:[{type:"text",children:"Task 3",attributes:{color:"#111827",fontSize:16,fontWeight:"500"}},{type:"text",children:"Completed",attributes:{color:"#6B7280",fontSize:12,fontWeight:"600"}}]}]},{type:"view",attributes:{flexDirection:"row",alignItems:"center",justifyContent:"space-around",padding:12,backgroundColor:"#111827",borderRadius:12},children:[{type:"text",children:"Home",attributes:{color:"#FFFFFF",fontSize:14}},{type:"text",children:"Search",attributes:{color:"#9CA3AF",fontSize:14}},{type:"text",children:"Settings",attributes:{color:"#9CA3AF",fontSize:14}}]}]}},b={name:"carousel-sample",version:"1.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812}},data:{type:"carouselProvider",children:[{type:"carousel",attributes:{loop:!0,align:"center",dragFree:!0},children:[{type:"carouselItem",attributes:{style:{flex:"0 0 100%",minWidth:0}},children:{type:"view",attributes:{style:{padding:"20px",backgroundColor:"#f5f5f5",borderRadius:"8px",textAlign:"center"}},children:{type:"text",children:"Welcome to our app!"}}},{type:"carouselItem",attributes:{style:{flex:"0 0 100%",minWidth:0}},children:{type:"view",attributes:{style:{padding:"20px",backgroundColor:"#e8f5e9",borderRadius:"8px",textAlign:"center"}},children:{type:"text",children:"Discover amazing features"}}},{type:"carouselItem",attributes:{style:{flex:"0 0 100%",minWidth:0}},children:{type:"view",attributes:{style:{padding:"20px",backgroundColor:"#e3f2fd",borderRadius:"8px",textAlign:"center"}},children:{type:"text",children:"Get started now!"}}}]},{type:"carouselDots",attributes:{dotType:"expanding_dot"}},{type:"carouselButtons",attributes:{buttonType:["previous_button","next_button","skip_button"],skipNumber:3}}]}},g={name:"vpn-onboard-1 (legacy)",version:"0.0.0",previewConfig:{theme:"dark",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"Secure your connection","onboard.title.two-page":"Access content worldwide","onboard.title.three-page":"Fast and reliable","onboard.title.four-page":"Stay notified and safe","onboard.subtitle.one-page":"Encrypt your traffic and protect your privacy on public Wi‑Fi.","onboard.subtitle.two-page":"Connect to high‑speed servers in many countries with one tap.","onboard.subtitle.three-page":"Auto‑connect to the best server for speed and stability.","onboard.subtitle.four-page":"Enable notifications for connection status and security tips.","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy Policy","view.onboarding.btnTerms":"Terms of Service"},ar:{"onboard.title.one-page":"أمّن اتصالك","onboard.title.two-page":"وصول إلى المحتوى حول العالم","onboard.title.three-page":"سرعة واعتمادية","onboard.title.four-page":"إشعارات وحماية دائمة","onboard.subtitle.one-page":"قم بتشفير حركة المرور وحماية خصوصيتك على شبكات Wi‑Fi العامة.","onboard.subtitle.two-page":"اتصل بخوادم عالية السرعة في بلدان متعددة بضغطة واحدة.","onboard.subtitle.three-page":"يتصل التطبيق تلقائياً بأفضل خادم لسرعة وثبات أعلى.","onboard.subtitle.four-page":"فعّل الإشعارات لمعرفة حالة الاتصال والحصول على نصائح الأمان.","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة، فإنك توافق على","view.onboarding.btnPrivacy":"سياسة الخصوصية","view.onboarding.btnTerms":"شروط الخدمة"}},defaultLanguage:"en"},data:{name:"Dark TextCall Onboard",key:"app_onboard",theme:"dark",order:1,data:{layout:"onboard-layout",key:"c92tR8J5wbTb3fav",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cfVlTs4XoBH6eHhy",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"c9BoiuHQQ8yWnnrH",attributes:{inactive_dot_opacity:null,expanding_dot_width:"20",dot_style:null,container_style:null,active_dot_color:"#007AFF"}}],styles:[]}},{layout:"footer-layout",key:"c1yg0ajCz15VwbXO",attributes:{texts:[{layout:"Text",key:"cUEOEGlJHu98Bm4M",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#A2A4B1",width:null,linkedwords:[{layout:"LinkedWords",key:"clmIqcwqLbpf5lIC",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#1778F2",page:"privacy"}},{layout:"LinkedWords",key:"cR2iFjXZv6aKSipt",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#1778F2",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"ctJKE0JpoyY2U2py",attributes:{key:"app_onboard-page1",components:[{layout:"title-layout",key:"czW0y11EJ3Gh2zzu",attributes:{title_localization_key:"onboard.title.one-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cFtkJ7cGjlbh0Onm",attributes:{styles:[{layout:"Styles",key:"cRfjSLASNf4EfmRk",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"ccaPDeW3TvadGknh",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/6c89e0da17a2d6fe2997e97a2b8a00a1.png"}},{layout:"subtitle-layout",key:"cS8AJFtYl83g6N7l",attributes:{subtitle_localization_key:"onboard.subtitle.one-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cfxys3dqXXQIoWib",attributes:{styles:[{layout:"Styles",key:"cdqzVzWecbtQHHOZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cADNBYmKZhuqHDe3",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cvgeWjSVK9714zE4",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cYbS4tQuDbqRjJP6",attributes:{events:[{layout:"Navigate",key:"cnwVlRVwR2Oa37Wa",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cO7EfoP6WnwCbZFN",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cLDTXbDjepmRilZP",attributes:{events:[{layout:"Navigate",key:"cVe34D6lvpt6jfkc",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}},{layout:"simple-onboard-layout",key:"cJ5P9VObBmpapdIz",attributes:{key:"app_onboard-page2",components:[{layout:"title-layout",key:"cWaHDeqd8N5LpAdr",attributes:{title_localization_key:"onboard.title.two-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"c5n7fUy2koZD1iY5",attributes:{styles:[{layout:"Styles",key:"c7uK89glQz4MHrZc",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"czvCm7FXp4sQrlBi",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/497a627b30ab4a0daaafa3d648a26b07.png"}},{layout:"subtitle-layout",key:"cJO33EgsbvxZVV57",attributes:{subtitle_localization_key:"onboard.subtitle.two-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cKZLIPtywsfi5Mbz",attributes:{styles:[{layout:"Styles",key:"cce8Yv695FQgSOIH",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cR43NhA7k4XN4bFU",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cZbvXpcCDBzCy4xq",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cOweHSx9FF1rKmXE",attributes:{events:[{layout:"Permission",key:"cfnK7ww1nyzVLquV",attributes:{permission:"att"}},{layout:"Navigate",key:"cdQXhjSGC97aDV5Q",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cP3ZMgA0DgYBMTjH",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5ud1yXzSHQOl99m",attributes:{events:[{layout:"Permission",key:"caWvIjHlpzkWsSkU",attributes:{permission:"att"}},{layout:"Navigate",key:"cqCP16bRc8OrVYnj",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}},{layout:"simple-onboard-layout",key:"cxNW3BfLJV7m1Rwb",attributes:{key:"app_onboard-page3",components:[{layout:"title-layout",key:"c4jWJqatyNrpRDv5",attributes:{title_localization_key:"onboard.title.three-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cyxWxkO4H6GcLGpV",attributes:{styles:[{layout:"Styles",key:"c2EQHxoKIHqE6usb",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"cQPrCUhAFzzvZvFL",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/6e2bc370d38695f6845007fd302034c2.png"}},{layout:"subtitle-layout",key:"c845kgEFTytoeb5n",attributes:{subtitle_localization_key:"onboard.subtitle.three-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c8I866TChSrcTxLA",attributes:{styles:[{layout:"Styles",key:"cPi4CsGpMpnyl1Qo",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cHRet3F1pMbLLv4e",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cPjaITcYuN3jYXaz",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cwHy3RdNIAhrdyk9",attributes:{events:[{layout:"Navigate",key:"c9tQ5JwLNEl4m6iE",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"calWhCnS7bVqDLSm",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5WDaaMMyzF6wbMw",attributes:{events:[{layout:"Permission",key:"czWoimoKrntcpPMu",attributes:{permission:"rating"}},{layout:"Navigate",key:"csga6VsmtRL4dJoH",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}},{layout:"simple-onboard-layout",key:"c6OPQRoj7nIYq8qP",attributes:{key:"app_onboard-page4",components:[{layout:"title-layout",key:"cY7hE2QfCFUpAvIr",attributes:{title_localization_key:"onboard.title.four-page",title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"ch0psI5S3gY93lkS",attributes:{styles:[{layout:"Styles",key:"ci8SBK0k6Ox0cAY4",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}],number_of_lines:"2",adapty_font_size:"1",adaptive_font_size:!1}},{layout:"image-layout",key:"cyzRYhHdmYpSZKWz",attributes:{is_bg_image:!1,height:"350",styles:[],android_height:"350",ios_height:"350",image:"https://textcall-dev.s3.amazonaws.com/onboard/high/b6e978fe3362e857212163486c22cc7c.png"}},{layout:"subtitle-layout",key:"cEtGSW5s89pVPO3p",attributes:{subtitle_localization_key:"onboard.subtitle.four-page",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c7q1e8klEqvuTib2",attributes:{styles:[{layout:"Styles",key:"cRoSg4908XkN9tLr",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cFOXUx3qf7wvRQPK",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cILIurDiN8C6Nk9t",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cPkTX9lI025TuA2d",attributes:{events:[{layout:"Permission",key:"cenFPRHcA87TmbkC",attributes:{permission:"notification"}},{layout:"Navigate",key:"c0ZQIOWZ81XjaWmA",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}],min_android_version:null}}]}}}},h={name:"vpn-onboard-2 (legacy)",version:"0.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"One Page","onboard.title.two-page":"Two Page","onboard.title.three-page":"Three Page","onboard.title.four-page":"Four Page","onboard.subtitle.one-page":"One Page","onboard.subtitle.two-page":"Two Page","onboard.subtitle.three-page":"Three Page","onboard.subtitle.four-page":"Four Page","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy","view.onboarding.btnTerms":"Terms"},ar:{"onboard.title.one-page":" العربية","onboard.title.two-page":" العربية","onboard.title.three-page":" العربية","onboard.title.four-page":" العربية","onboard.subtitle.one-page":" العربية","onboard.subtitle.two-page":" العربية","onboard.subtitle.three-page":" العربية","onboard.subtitle.four-page":" العربية","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة فإنك توافق على","view.onboarding.btnPrivacy":"الخصوصية","view.onboarding.btnTerms":"الشروط"}},defaultLanguage:"en"},data:{name:"Light TextCall Onboard",key:"app_onboard",theme:"light",order:3,data:{layout:"onboard-layout",key:"ckcw0WXRY8sNR2SF",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cGCRrFJjSzYghZ4Q",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"cDpkxR1j6ooHGrU9",attributes:{inactive_dot_opacity:null,expanding_dot_width:"20",dot_style:null,container_style:null,active_dot_color:"#007AFF"}}],styles:[]}},{layout:"footer-layout",key:"cqkMhW1f0q0tDK1r",attributes:{texts:[{layout:"Text",key:"cAxC6cU3U9i1jxTq",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#A2A4B1",width:null,linkedwords:[{layout:"LinkedWords",key:"cLISLCL0ybiWxpze",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#1778F2",page:"privacy"}},{layout:"LinkedWords",key:"ccsI2OTvUzQJLo6g",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#1778F2",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"cFxlMJ99IXCFJfba",attributes:{key:"app_onboard-page1",min_android_version:null,components:[{layout:"title-layout",key:"cEgDUYy0F2959VoY",attributes:{title_localization_key:"onboard.title.one-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cIflKK6zz4926DQA",attributes:{styles:[{layout:"Styles",key:"cXGRCly7sTM1wPXp",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cd3LFLBcjBfEz90D",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/0c65cbe8e0c2e1242146e15dfd50a486.png"}},{layout:"subtitle-layout",key:"cumoZTMcp3Ewdgtq",attributes:{subtitle_localization_key:"onboard.subtitle.one-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"c8iENqCAEKDzSNEq",attributes:{styles:[{layout:"Styles",key:"cRjElXN8FhsCbwbt",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cQgWwz7oN0lXiGnV",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cmbJYRjfh25VI7pA",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8fR08Jp0GWJtW4U",attributes:{events:[{layout:"Navigate",key:"cGFaKCTZ6RkGAKw7",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:"line-animation",animation_color:"#FFFFFF"}},{layout:"button-layout",key:"cBx6we1fBvBHNCdM",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cqC2H6ygkjzKj1TW",attributes:{events:[{layout:"Navigate",key:"cMmDIAW9MAUNcPQA",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:"simple-animation",animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cgh6jEnSF0m2MrAE",attributes:{key:"app_onboard-page2",min_android_version:null,components:[{layout:"title-layout",key:"cuIDsIKqy8wnkxWO",attributes:{title_localization_key:"onboard.title.two-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c1wm3B4Avb8ewdwB",attributes:{styles:[{layout:"Styles",key:"cS5KY2wak36qZ7Po",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"c0uaSOOOFSldTX3O",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/e8bbdde825cd23bdc44a9b2b32af22dc.png"}},{layout:"subtitle-layout",key:"cJUPKqGxDQLJhF3r",attributes:{subtitle_localization_key:"onboard.subtitle.two-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cjgSBQCcdIHlgqAL",attributes:{styles:[{layout:"Styles",key:"cRmpdFLYvNtRBrjZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"chGpEveV4xybUQje",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cdjnq57fneiIxBd2",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8XixwmhiXnhSWJN",attributes:{events:[{layout:"Permission",key:"cBsbZMsU90ojXQqO",attributes:{permission:"att"}},{layout:"Navigate",key:"c3ByPHQlA5V0EDfL",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cQEeZInlfh7u3vXB",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cmu069qysyrgassB",attributes:{events:[{layout:"Permission",key:"c4hcnecQIMrouWCy",attributes:{permission:"att"}},{layout:"Navigate",key:"cxHcZeIJBXHmR779",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cSvSxn9VJuC5Ld7i",attributes:{key:"app_onboard-page3",min_android_version:null,components:[{layout:"title-layout",key:"cKrfdMzfUxGdYhst",attributes:{title_localization_key:"onboard.title.three-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cO0uTIgytvIPus6O",attributes:{styles:[{layout:"Styles",key:"ccUpxb1n3yNqZig0",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cW7eKTK8kwrmHPZF",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/3f312b38faf844746250cd54f27f91da.png"}},{layout:"subtitle-layout",key:"cKeCJntAd8La4kt6",attributes:{subtitle_localization_key:"onboard.subtitle.three-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cl8QMTgTLyRZEo5d",attributes:{styles:[{layout:"Styles",key:"c7IfOTlsraVDcxsv",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cVnKizCpTO9oedvX",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cQh6Yr0AySTv7JTJ",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cXBXIWhYO8sMiAea",attributes:{events:[{layout:"Navigate",key:"ckR5hy3gdEX9Tbcp",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"caD93TUBvqM9stiK",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cUWsk6ZaobgtjygM",attributes:{events:[{layout:"Permission",key:"cD9EfBXK9ojHo5K3",attributes:{permission:"rating"}},{layout:"Navigate",key:"cvdgLEu69Or72lJh",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cmx3sT3YRgACNoBv",attributes:{key:"app_onboard-page4",min_android_version:"12",components:[{layout:"title-layout",key:"cLijTCmxd6N2beqg",attributes:{title_localization_key:"onboard.title.four-page",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c9E18gzzew8i3c0i",attributes:{styles:[{layout:"Styles",key:"cEgw4X1DFG20kX7Y",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cZoslaVC3xb7mcWc",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/f4db2a32a43239c3bbbe742cb0f18b61.png"}},{layout:"subtitle-layout",key:"cdCwD5nJ2DlDO5KY",attributes:{subtitle_localization_key:"onboard.subtitle.four-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cNc4qj0KNwAXFENj",attributes:{styles:[{layout:"Styles",key:"c2GDBOndoaWxghsj",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cAOcd1hyFKZNzosk",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cxFfSJNZcJqPavkh",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cgtBZJvdDVlzDAIE",attributes:{events:[{layout:"Permission",key:"cO5VtdbSc4xVTEUo",attributes:{permission:"notification"}},{layout:"Navigate",key:"cTEG49LslKtvx85s",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}}]}}}},_={name:"vpn-onboard-3 (legacy)",version:"0.0.0",previewConfig:{theme:"light",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"One Page","onboard.title.one-page2":"One Page","onboard.title.two-page":"Two Page","onboard.title.two-page2":"Two Page","onboard.title.three-page":"Three Page","onboard.title.three-page2":"Three Page","onboard.title.four-page":"Four Page","onboard.title.four-page2":"Four Page","onboard.subtitle.one-page":"One Page","onboard.subtitle.one-page2":"One Page","onboard.subtitle.two-page":"Two Page","onboard.subtitle.two-page2":"Two Page","onboard.subtitle.three-page":"Three Page","onboard.subtitle.three-page2":"Three Page","onboard.subtitle.four-page":"Four Page","onboard.subtitle.four-page2":"Four Page","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy","view.onboarding.btnTerms":"Terms"},ar:{"onboard.title.one-page":" العربية","onboard.title.one-page2":" العربية","onboard.title.two-page":" العربية","onboard.title.two-page2":" العربية","onboard.title.three-page":" العربية","onboard.title.three-page2":" العربية","onboard.title.four-page":" العربية","onboard.title.four-page2":" العربية","onboard.subtitle.one-page":" العربية","onboard.subtitle.one-page2":" العربية","onboard.subtitle.two-page":" العربية","onboard.subtitle.two-page2":" العربية","onboard.subtitle.three-page":" العربية","onboard.subtitle.three-page2":" العربية","onboard.subtitle.four-page":" العربية","onboard.subtitle.four-page2":" العربية","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة فإنك توافق على","view.onboarding.btnPrivacy":"الخصوصية","view.onboarding.btnTerms":"الشروط"}},defaultLanguage:"en"},data:{name:"Light TextCall Onboard - 2",key:"app_onboard_ab_classic",theme:"light",order:7,data:{layout:"onboard-layout",key:"ckcw0WXRY8sNR2SF",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cGCRrFJjSzYghZ4Q",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"cgk7eew2LNqwIfdl",attributes:{inactive_dot_opacity:null,active_dot_color:null,expanding_dot_width:null,dot_style:null,container_style:null}}],styles:[]}},{layout:"footer-layout",key:"cqkMhW1f0q0tDK1r",attributes:{texts:[{layout:"Text",key:"cAxC6cU3U9i1jxTq",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#81838F",width:null,linkedwords:[{layout:"LinkedWords",key:"cLISLCL0ybiWxpze",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#81838F",page:"privacy"}},{layout:"LinkedWords",key:"ccsI2OTvUzQJLo6g",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#81838F",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"cFxlMJ99IXCFJfba",attributes:{key:"app_onboard-page1",min_android_version:null,components:[{layout:"title-layout",key:"cEgDUYy0F2959VoY",attributes:{title_localization_key:"onboard.title.one-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cIflKK6zz4926DQA",attributes:{styles:[{layout:"Styles",key:"cXGRCly7sTM1wPXp",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cd3LFLBcjBfEz90D",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/c68cca84580d6920c883c220e57346c0.jpg"}},{layout:"subtitle-layout",key:"cumoZTMcp3Ewdgtq",attributes:{subtitle_localization_key:"onboard.subtitle.one-page2",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"c8iENqCAEKDzSNEq",attributes:{styles:[{layout:"Styles",key:"cRjElXN8FhsCbwbt",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cQgWwz7oN0lXiGnV",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cmbJYRjfh25VI7pA",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8fR08Jp0GWJtW4U",attributes:{events:[{layout:"Navigate",key:"cGFaKCTZ6RkGAKw7",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cBx6we1fBvBHNCdM",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cqC2H6ygkjzKj1TW",attributes:{events:[{layout:"Navigate",key:"cMmDIAW9MAUNcPQA",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cgh6jEnSF0m2MrAE",attributes:{key:"app_onboard-page2",min_android_version:null,components:[{layout:"title-layout",key:"cuIDsIKqy8wnkxWO",attributes:{title_localization_key:"onboard.title.two-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c1wm3B4Avb8ewdwB",attributes:{styles:[{layout:"Styles",key:"cS5KY2wak36qZ7Po",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"c0uaSOOOFSldTX3O",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cJUPKqGxDQLJhF3r",attributes:{subtitle_localization_key:"onboard.subtitle.two-page",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cjgSBQCcdIHlgqAL",attributes:{styles:[{layout:"Styles",key:"cRmpdFLYvNtRBrjZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"chGpEveV4xybUQje",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cdjnq57fneiIxBd2",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"c8XixwmhiXnhSWJN",attributes:{events:[{layout:"Permission",key:"cBsbZMsU90ojXQqO",attributes:{permission:"att"}},{layout:"Navigate",key:"c3ByPHQlA5V0EDfL",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cQEeZInlfh7u3vXB",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cmu069qysyrgassB",attributes:{events:[{layout:"Permission",key:"c4hcnecQIMrouWCy",attributes:{permission:"att"}},{layout:"Navigate",key:"cxHcZeIJBXHmR779",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cSvSxn9VJuC5Ld7i",attributes:{key:"app_onboard-page3",min_android_version:null,components:[{layout:"title-layout",key:"cKrfdMzfUxGdYhst",attributes:{title_localization_key:"onboard.title.three-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"cO0uTIgytvIPus6O",attributes:{styles:[{layout:"Styles",key:"ccUpxb1n3yNqZig0",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cW7eKTK8kwrmHPZF",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cKeCJntAd8La4kt6",attributes:{subtitle_localization_key:"onboard.subtitle.three-page2",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cl8QMTgTLyRZEo5d",attributes:{styles:[{layout:"Styles",key:"c7IfOTlsraVDcxsv",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cVnKizCpTO9oedvX",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cQh6Yr0AySTv7JTJ",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#81838F",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cXBXIWhYO8sMiAea",attributes:{events:[{layout:"Navigate",key:"ckR5hy3gdEX9Tbcp",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"caD93TUBvqM9stiK",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cUWsk6ZaobgtjygM",attributes:{events:[{layout:"Permission",key:"cAD0IWOPG8glmDtL",attributes:{permission:"rating"}},{layout:"Navigate",key:"cvdgLEu69Or72lJh",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cmx3sT3YRgACNoBv",attributes:{key:"app_onboard-page4",min_android_version:"12",components:[{layout:"title-layout",key:"cLijTCmxd6N2beqg",attributes:{title_localization_key:"onboard.title.four-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#12131A",coloredwords:[],styles:[{layout:"style-layout",key:"c9E18gzzew8i3c0i",attributes:{styles:[{layout:"Styles",key:"cEgw4X1DFG20kX7Y",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cZoslaVC3xb7mcWc",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cdCwD5nJ2DlDO5KY",attributes:{subtitle_localization_key:"onboard.subtitle.four-page2",subtitle_color:"#44454D",subtitle_font:null,styles:[{layout:"style-layout",key:"cNc4qj0KNwAXFENj",attributes:{styles:[{layout:"Styles",key:"c2GDBOndoaWxghsj",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cAOcd1hyFKZNzosk",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cxFfSJNZcJqPavkh",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cgtBZJvdDVlzDAIE",attributes:{events:[{layout:"Permission",key:"cO5VtdbSc4xVTEUo",attributes:{permission:"notification"}},{layout:"Navigate",key:"cTEG49LslKtvx85s",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}}]}}}},m={name:"vpn-onboard-4 (legacy)",version:"0.0.0",type:"nova",previewConfig:{theme:"dark",screenSize:{width:375,height:812},isRtl:!1,screenStyle:{light:{backgroundColor:"#FDFDFD",color:"#161827"},dark:{backgroundColor:"#12131A",color:"#E9EBF9"}},localication:{en:{"onboard.title.one-page":"One Page","onboard.title.one-page2":"One Page","onboard.title.two-page":"Two Page","onboard.title.two-page2":"Two Page","onboard.title.three-page":"Three Page","onboard.title.three-page2":"Three Page","onboard.title.four-page":"Four Page","onboard.title.four-page2":"Four Page","onboard.subtitle.one-page":"One Page","onboard.subtitle.one-page2":"One Page","onboard.subtitle.two-page":"Two Page","onboard.subtitle.two-page2":"Two Page","onboard.subtitle.three-page":"Three Page","onboard.subtitle.three-page2":"Three Page","onboard.subtitle.four-page":"Four Page","onboard.subtitle.four-page2":"Four Page","onboard.next.one-page":"Next","onboard.next.two-page":"Next","onboard.next.three-page":"Next","onboard.skip.one-page":"Skip","onboard.skip.two-page":"Skip","onboard.skip.three-page":"Skip","onboard.allow.four-page":"Allow","view.onboarding.footer.description":"By clicking continue, you will be accepting the Terms of service and privacy policy","view.onboarding.btnPrivacy":"Privacy","view.onboarding.btnTerms":"Terms"},ar:{"onboard.title.one-page":" العربية","onboard.title.one-page2":" العربية","onboard.title.two-page":" العربية","onboard.title.two-page2":" العربية","onboard.title.three-page":" العربية","onboard.title.three-page2":" العربية","onboard.title.four-page":" العربية","onboard.title.four-page2":" العربية","onboard.subtitle.one-page":" العربية","onboard.subtitle.one-page2":" العربية","onboard.subtitle.two-page":" العربية","onboard.subtitle.two-page2":" العربية","onboard.subtitle.three-page":" العربية","onboard.subtitle.three-page2":" العربية","onboard.subtitle.four-page":" العربية","onboard.subtitle.four-page2":" العربية","onboard.next.one-page":"التالي","onboard.next.two-page":"التالي","onboard.next.three-page":"التالي","onboard.skip.one-page":"تخطي","onboard.skip.two-page":"تخطي","onboard.skip.three-page":"تخطي","onboard.allow.four-page":"السماح","view.onboarding.footer.description":"بالمتابعة فإنك توافق على","view.onboarding.btnPrivacy":"الخصوصية","view.onboarding.btnTerms":"الشروط"}},defaultLanguage:"en"},data:{name:"Dark TextCall Onboard - 2",key:"app_onboard_ab_classic",theme:"dark",order:8,data:{layout:"onboard-layout",key:"c92tR8J5wbTb3fav",attributes:{use_safe_area_inset:!0,general_components:[{layout:"dots-layout",key:"cfVlTs4XoBH6eHhy",attributes:{position:"before_buttons",dots_type:"Dots Type Info",dot:[{layout:"expanding_dot",key:"ca08ia4pBmSgWK9o",attributes:{inactive_dot_opacity:null,active_dot_color:null,expanding_dot_width:null,dot_style:null,container_style:null}}],styles:[]}},{layout:"footer-layout",key:"c1yg0ajCz15VwbXO",attributes:{texts:[{layout:"Text",key:"cUEOEGlJHu98Bm4M",attributes:{text_localization_key:"view.onboarding.footer.description",text_color:"#81838F",width:null,linkedwords:[{layout:"LinkedWords",key:"clmIqcwqLbpf5lIC",attributes:{linked_word_localization_key:"view.onboarding.btnPrivacy",linked_word_color:"#81838F",page:"privacy"}},{layout:"LinkedWords",key:"cR2iFjXZv6aKSipt",attributes:{linked_word_localization_key:"view.onboarding.btnTerms",linked_word_color:"#81838F",page:"terms"}}],styles:[]}}]}}],data:[{layout:"simple-onboard-layout",key:"ctJKE0JpoyY2U2py",attributes:{key:"app_onboard-page1",min_android_version:null,components:[{layout:"title-layout",key:"czW0y11EJ3Gh2zzu",attributes:{title_localization_key:"onboard.title.one-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cFtkJ7cGjlbh0Onm",attributes:{styles:[{layout:"Styles",key:"cRfjSLASNf4EfmRk",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"ccaPDeW3TvadGknh",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[],image:"https://textcall-dev.s3.amazonaws.com/onboard/high/aadf6191a8f1091831647b3a01e1a1aa.jpg"}},{layout:"subtitle-layout",key:"cS8AJFtYl83g6N7l",attributes:{subtitle_localization_key:"onboard.subtitle.one-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cfxys3dqXXQIoWib",attributes:{styles:[{layout:"Styles",key:"cdqzVzWecbtQHHOZ",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cADNBYmKZhuqHDe3",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cvgeWjSVK9714zE4",attributes:{flex:"1",button_text_localization_key:"onboard.skip.one-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cYbS4tQuDbqRjJP6",attributes:{events:[{layout:"Navigate",key:"cnwVlRVwR2Oa37Wa",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cO7EfoP6WnwCbZFN",attributes:{show_text:!0,button_text_localization_key:"onboard.next.one-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cLDTXbDjepmRilZP",attributes:{events:[{layout:"Navigate",key:"cVe34D6lvpt6jfkc",attributes:{next_page_key:"app_onboard-page2",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cJ5P9VObBmpapdIz",attributes:{key:"app_onboard-page2",min_android_version:null,components:[{layout:"title-layout",key:"cWaHDeqd8N5LpAdr",attributes:{title_localization_key:"onboard.title.two-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"c5n7fUy2koZD1iY5",attributes:{styles:[{layout:"Styles",key:"c7uK89glQz4MHrZc",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"czvCm7FXp4sQrlBi",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cJO33EgsbvxZVV57",attributes:{subtitle_localization_key:"onboard.subtitle.two-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"cKZLIPtywsfi5Mbz",attributes:{styles:[{layout:"Styles",key:"cce8Yv695FQgSOIH",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cR43NhA7k4XN4bFU",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cZbvXpcCDBzCy4xq",attributes:{flex:"1",button_text_localization_key:"onboard.skip.two-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cOweHSx9FF1rKmXE",attributes:{events:[{layout:"Permission",key:"cfnK7ww1nyzVLquV",attributes:{permission:"att"}},{layout:"Navigate",key:"cdQXhjSGC97aDV5Q",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"cP3ZMgA0DgYBMTjH",attributes:{show_text:!0,button_text_localization_key:"onboard.next.two-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5ud1yXzSHQOl99m",attributes:{events:[{layout:"Permission",key:"caWvIjHlpzkWsSkU",attributes:{permission:"att"}},{layout:"Navigate",key:"cqCP16bRc8OrVYnj",attributes:{next_page_key:"app_onboard-page3",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"cxNW3BfLJV7m1Rwb",attributes:{key:"app_onboard-page3",min_android_version:null,components:[{layout:"title-layout",key:"c4jWJqatyNrpRDv5",attributes:{title_localization_key:"onboard.title.three-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"cyxWxkO4H6GcLGpV",attributes:{styles:[{layout:"Styles",key:"c2EQHxoKIHqE6usb",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cQPrCUhAFzzvZvFL",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"c845kgEFTytoeb5n",attributes:{subtitle_localization_key:"onboard.subtitle.three-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c8I866TChSrcTxLA",attributes:{styles:[{layout:"Styles",key:"cPi4CsGpMpnyl1Qo",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cHRet3F1pMbLLv4e",attributes:{buttons_direction:"row",buttons:[{layout:"skip-button-layout",key:"cPjaITcYuN3jYXaz",attributes:{flex:"1",button_text_localization_key:"onboard.skip.three-page",button_text_color:"#A9AAAC",is_transparant_bg:!1,button_background_color:"#ffffff00",actions:[{layout:"action-layout",key:"cwHy3RdNIAhrdyk9",attributes:{events:[{layout:"Navigate",key:"c9tQ5JwLNEl4m6iE",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}},{layout:"button-layout",key:"calWhCnS7bVqDLSm",attributes:{show_text:!0,button_text_localization_key:"onboard.next.three-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"c5WDaaMMyzF6wbMw",attributes:{events:[{layout:"Permission",key:"cVbu3bzJMfCd2WQY",attributes:{permission:"rating"}},{layout:"Navigate",key:"csga6VsmtRL4dJoH",attributes:{next_page_key:"app_onboard-page4",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}},{layout:"simple-onboard-layout",key:"c6OPQRoj7nIYq8qP",attributes:{key:"app_onboard-page4",min_android_version:null,components:[{layout:"title-layout",key:"cY7hE2QfCFUpAvIr",attributes:{title_localization_key:"onboard.title.four-page2",number_of_lines:"2",adaptive_font_size:!1,title_color:"#FDFDFD",coloredwords:[],styles:[{layout:"style-layout",key:"ch0psI5S3gY93lkS",attributes:{styles:[{layout:"Styles",key:"ci8SBK0k6Ox0cAY4",attributes:{type:"textStyle",style:{textAlign:"center",marginTop:40}}}]}}]}},{layout:"image-layout",key:"cyzRYhHdmYpSZKWz",attributes:{is_bg_image:!1,height:"350",android_height:"350",ios_height:"350",styles:[]}},{layout:"subtitle-layout",key:"cEtGSW5s89pVPO3p",attributes:{subtitle_localization_key:"onboard.subtitle.four-page2",subtitle_color:"#C7C7C7",subtitle_font:null,styles:[{layout:"style-layout",key:"c7q1e8klEqvuTib2",attributes:{styles:[{layout:"Styles",key:"cRoSg4908XkN9tLr",attributes:{type:"textStyle",style:{textAlign:"center",fontSize:16}}}]}}]}},{layout:"Buttons",key:"cFOXUx3qf7wvRQPK",attributes:{buttons_direction:"row",buttons:[{layout:"button-layout",key:"cILIurDiN8C6Nk9t",attributes:{show_text:!0,button_text_localization_key:"onboard.allow.four-page",is_passive_button:!1,flex:"1",button_text_color:"#FFFFFF",button_background_color:"#0066FF",show_icon:!1,icons:[],actions:[{layout:"action-layout",key:"cPkTX9lI025TuA2d",attributes:{events:[{layout:"Permission",key:"cenFPRHcA87TmbkC",attributes:{permission:"notification"}},{layout:"Navigate",key:"c0ZQIOWZ81XjaWmA",attributes:{next_page_key:"home",if_allowed_this_permissions:null,if_not_allowed_this_permissions:null,navigate_backward:null,close_button_delay:null}}]}}],styles:[],animation:null,animation_color:null}}]}}]}}]}}}};function f(t){const e=t.data.data?.layout;return console.info("layout",e),"onboard-layout"===e?function(t){const e=t?.data?.data?.attributes||t?.data?.attributes||{},o=e?.general_components||[],n=e?.data||[],i=function(t){const e=t.find(t=>"dots-layout"===t?.layout);if(!e)return null;const o=e?.attributes?.dot||[],n=o?.[0],i=n?.layout,a=n?.attributes||{},r=t=>{if("number"==typeof t)return t;if("string"==typeof t&&t.trim().length>0){const e=Number(t);return Number.isFinite(e)?e:void 0}},l=r(a?.inactive_dot_opacity),s=r(a?.expanding_dot_width),u="string"==typeof a?.dot_style?a.dot_style:void 0,c="string"==typeof a?.container_style?a.container_style:void 0,d="string"==typeof a?.active_dot_color?a.active_dot_color:void 0,p={};i&&(p.dotType=i);void 0!==l&&(p.inactive_dot_opacity=l);void 0!==s&&(p.expanding_dot_width=s);u&&(p.dot_style=u);c&&(p.container_style=c);d&&(p.active_dot_color=d);return{type:"OnboardDot",attributes:Object.keys(p).length?p:void 0,children:void 0}}(o),a=function(t){const e=t.find(t=>"footer-layout"===t?.layout);if(!e)return null;const o=e?.attributes?.texts||[],n=[];let i,a;for(const t of o)if("Text"===t?.layout){const e=t?.attributes?.text_localization_key||"",o=t?.attributes?.text_color||void 0;i||(i=e),a||"string"!=typeof o||(a=o);const r=t?.attributes?.linkedwords||[];for(const t of r)if("LinkedWords"===t?.layout){const e=t?.attributes?.linked_word_localization_key,o=t?.attributes?.linked_word_color,i=t?.attributes?.page;n.push({text_key:e,color:o,page:i})}}const r={gap:8};i&&(r.textLocalizationKey=i);a&&(r.textColor=a);const l=n[0],s=n[1];l&&(l.text_key&&(r.linkedWordFirstLocalizationKey=l.text_key),l.color&&(r.linkedWordFirstColor=l.color),l.page&&(r.linkedWordFirstPage=l.page));s&&(s.text_key&&(r.linkedWordSecondLocalizationKey=s.text_key),s.color&&(r.linkedWordSecondColor=s.color),s.page&&(r.linkedWordSecondPage=s.page));return{type:"OnboardFooter",attributes:r,children:void 0}}(o),{carouselNode:r,providerLevelButtons:l}=function(t){const e=t.filter(t=>"simple-onboard-layout"===t?.layout),o=new Map;e.forEach((t,e)=>{const n=t?.attributes?.key;"string"==typeof n&&o.set(n,e)});const n=[],i=e.map(t=>function(t,e,o){const n=t?.attributes?.components||[],i=[],a=t?.attributes?.key,r="string"==typeof a&&e.has(a)?e.get(a):void 0;for(const t of n)if("title-layout"===t?.layout){const e=t?.attributes?.title_localization_key||"",o=t?.attributes?.title_color||void 0;i.push({type:"OnboardTitle",attributes:o?{color:o}:void 0,children:e})}else if("subtitle-layout"===t?.layout){const e=t?.attributes?.subtitle_localization_key||"",o=t?.attributes?.subtitle_color||void 0;i.push({type:"OnboardSubtitle",attributes:o?{color:o}:void 0,children:e})}else if("image-layout"===t?.layout){const e=t?.attributes?.image||t?.attributes?.src||"",o=t?.attributes?.height??t?.attributes?.ios_height??t?.attributes?.android_height,n="string"==typeof o?Number.parseInt(o,10):"number"==typeof o?o:void 0;e&&i.push({type:"OnboardImage",attributes:{src:e,...n?{height:n}:{},resizeMode:"contain"},children:void 0})}else if("Buttons"===t?.layout){const n=t?.attributes?.buttons_direction,i=t?.attributes?.buttons||[],a=[];for(const t of i){const o=t?.attributes||{},n=o?.button_text_localization_key||"",i=o?.button_text_color,r=o?.button_background_color,l=o?.animation,s=o?.animation_color,u=o?.flex?Number(o.flex):void 0;let c;const d=o?.actions||[],p=[];for(const t of d){const o=t?.attributes?.events||[];for(const t of o)if("Permission"===t?.layout){const e=t?.attributes?.permission;p.push({type:"Permission",permission:e})}else if("Navigate"===t?.layout){const o=t?.attributes?.next_page_key;p.push({type:"Navigate",next_page_key:o}),"string"==typeof o&&e.has(o)&&(c=e.get(o))}}a.push({type:"OnboardButton",attributes:{labelKey:n,..."string"==typeof i?{button_text_color:i}:{},..."string"==typeof l?{animation:l}:{},..."string"==typeof s?{animation_color:s}:{},..."string"==typeof r?{button_background_color:r}:{},..."number"==typeof u?{flex:u}:{},..."number"==typeof c?{targetIndex:c}:{},...p.length?{events:p}:{}},children:void 0})}a.length>0&&o.push({type:"OnboardButtons",attributes:{...n?{buttons_direction:n}:{},..."number"==typeof r?{condition:"carousel-index",conditionVariable:r}:{}},children:a})}const l=t?.attributes?.key,s="string"==typeof l&&l||("string"==typeof t?.key?t.key:void 0);return{type:"OnboardItem",...s?{key:s}:{},children:i}}(t,o,n)),a={type:"Onboard",children:i};return{carouselNode:a,providerLevelButtons:n}}(n),s={type:"OnboardProvider",children:[r,...i?[i]:[],...l.length?l:[],...a?[a]:[]],attributes:{theme:t?.data?.theme}};return s}(t):null}const k=e.createContext(null);function x({children:o,localication:n,defaultLanguage:i,theme:a}){const[r,l]=e.useState("");return t.jsxs(k.Provider,{value:{localication:n,defaultLanguage:i,theme:a,warning:r,setWarning:l},children:[r&&t.jsx("div",{className:"warning",children:r}),o]})}var w=e.memo(function({node:t}){return String(t?.type??"button")});var v=e.memo(function({node:e}){return t.jsx("div",{className:"embla__container",children:Array.isArray(e.children)?e.children.map((e,o)=>t.jsx(Tt,{node:e},o)):(t=>!(!t||"object"!=typeof t||Array.isArray(t))&&"type"in t&&"carouselItem"===t.type)(e.children)?t.jsx(Tt,{node:e.children}):null})});function F(t){return function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t)||Array.isArray(t)}function S(t,e){const o=Object.keys(t),n=Object.keys(e);if(o.length!==n.length)return!1;return JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&o.every(o=>{const n=t[o],i=e[o];return"function"==typeof n?`${n}`==`${i}`:F(n)&&F(i)?S(n,i):n===i})}function z(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function j(t){return"number"==typeof t}function C(t){return"string"==typeof t}function A(t){return"boolean"==typeof t}function D(t){return"[object Object]"===Object.prototype.toString.call(t)}function T(t){return Math.abs(t)}function N(t){return Math.sign(t)}function P(t,e){return T(t-e)}function O(t){return B(t).map(Number)}function I(t){return t[E(t)]}function E(t){return Math.max(0,t.length-1)}function W(t,e){return e===E(t)}function L(t,e=0){return Array.from(Array(t),(t,o)=>e+o)}function B(t){return Object.keys(t)}function R(t,e){return[t,e].reduce((t,e)=>(B(e).forEach(o=>{const n=t[o],i=e[o],a=D(n)&&D(i);t[o]=a?R(n,i):i}),t),{})}function V(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function M(){let t=[];const e={add:function(o,n,i,a={passive:!0}){let r;if("addEventListener"in o)o.addEventListener(n,i,a),r=()=>o.removeEventListener(n,i,a);else{const t=o;t.addListener(i),r=()=>t.removeListener(i)}return t.push(r),e},clear:function(){t=t.filter(t=>t())}};return e}function q(t,e,o,n){const i=M(),a=1e3/60;let r=null,l=0,s=0;function u(t){if(!s)return;r||(r=t,o(),o());const i=t-r;for(r=t,l+=i;l>=a;)o(),l-=a;n(l/a),s&&(s=e.requestAnimationFrame(u))}function c(){e.cancelAnimationFrame(s),r=null,l=0,s=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(r=null,l=0)})},destroy:function(){c(),i.clear()},start:function(){s||(s=e.requestAnimationFrame(u))},stop:c,update:o,render:n}}function H(t=0,e=0){const o=T(t-e);function n(e){return e<t}function i(t){return t>e}function a(t){return n(t)||i(t)}return{length:o,max:e,min:t,constrain:function(o){return a(o)?n(o)?t:e:o},reachedAny:a,reachedMax:i,reachedMin:n,removeOffset:function(t){return o?t-o*Math.ceil((t-e)/o):t}}}function K(t,e,o){const{constrain:n}=H(0,t),i=t+1;let a=r(e);function r(t){return o?T((i+t)%i):n(t)}function l(){return a}function s(){return K(t,l(),o)}const u={get:l,set:function(t){return a=r(t),u},add:function(t){return s().set(l()+t)},clone:s};return u}function X(t,e,o,n,i,a,r,l,s,u,c,d,p,y,b,g,h,_,m){const{cross:f,direction:k}=t,x=["INPUT","SELECT","TEXTAREA"],w={passive:!1},v=M(),F=M(),S=H(50,225).constrain(y.measure(20)),z={mouse:300,touch:400},j={mouse:500,touch:600},C=b?43:25;let D=!1,O=0,I=0,E=!1,W=!1,L=!1,B=!1;function R(t){if(!V(t,n)&&t.touches.length>=2)return q(t);const e=a.readPoint(t),o=a.readPoint(t,f),r=P(e,O),s=P(o,I);if(!W&&!B){if(!t.cancelable)return q(t);if(W=r>s,!W)return q(t)}const c=a.pointerMove(t);r>g&&(L=!0),u.useFriction(.3).useDuration(.75),l.start(),i.add(k(c)),t.preventDefault()}function q(t){const e=c.byDistance(0,!1).index!==d.get(),o=a.pointerUp(t)*(b?j:z)[B?"mouse":"touch"],n=function(t,e){const o=d.add(-1*N(t)),n=c.byDistance(t,!b).distance;return b||T(t)<S?n:h&&e?.5*n:c.byIndex(o.get(),0).distance}(k(o),e),i=function(t,e){if(0===t||0===e)return 0;if(T(t)<=T(e))return 0;const o=P(T(t),T(e));return T(o/t)}(o,n),r=C-10*i,l=_+i/50;W=!1,E=!1,F.clear(),u.useDuration(r).useFriction(l),s.distance(n,!b),B=!1,p.emit("pointerUp")}function K(t){L&&(t.stopPropagation(),t.preventDefault(),L=!1)}return{init:function(t){if(!m)return;function l(l){(A(m)||m(t,l))&&function(t){const l=V(t,n);if(B=l,L=b&&l&&!t.buttons&&D,D=P(i.get(),r.get())>=2,l&&0!==t.button)return;if(function(t){const e=t.nodeName||"";return x.includes(e)}(t.target))return;E=!0,a.pointerDown(t),u.useFriction(0).useDuration(0),i.set(r),function(){const t=B?o:e;F.add(t,"touchmove",R,w).add(t,"touchend",q).add(t,"mousemove",R,w).add(t,"mouseup",q)}(),O=a.readPoint(t),I=a.readPoint(t,f),p.emit("pointerDown")}(l)}const s=e;v.add(s,"dragstart",t=>t.preventDefault(),w).add(s,"touchmove",()=>{},w).add(s,"touchend",()=>{}).add(s,"touchstart",l).add(s,"mousedown",l).add(s,"touchcancel",q).add(s,"contextmenu",q).add(s,"click",K,!0)},destroy:function(){v.clear(),F.clear()},pointerDown:function(){return E}}}function J(t,e){let o,n;function i(t){return t.timeStamp}function a(o,n){const i="client"+("x"===(n||t.scroll)?"X":"Y");return(V(o,e)?o:o.touches[0])[i]}return{pointerDown:function(t){return o=t,n=t,a(t)},pointerMove:function(t){const e=a(t)-a(n),r=i(t)-i(o)>170;return n=t,r&&(o=t),e},pointerUp:function(t){if(!o||!n)return 0;const e=a(n)-a(o),r=i(t)-i(o),l=i(t)-i(n)>170,s=e/r;return r&&!l&&T(s)>.1?s:0},readPoint:a}}function U(t,e,o,n,i,a,r){const l=[t].concat(n);let s,u,c=[],d=!1;function p(t){return i.measureSize(r.measure(t))}return{init:function(i){a&&(u=p(t),c=n.map(p),s=new ResizeObserver(o=>{(A(a)||a(i,o))&&function(o){for(const a of o){if(d)return;const o=a.target===t,r=n.indexOf(a.target),l=o?u:c[r];if(T(p(o?t:n[r])-l)>=.5){i.reInit(),e.emit("resize");break}}}(o)}),o.requestAnimationFrame(()=>{l.forEach(t=>s.observe(t))}))},destroy:function(){d=!0,s&&s.disconnect()}}}function Q(t,e,o,n,i){const a=i.measure(10),r=i.measure(50),l=H(.1,.99);let s=!1;function u(){return!s&&(!!t.reachedAny(o.get())&&!!t.reachedAny(e.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;const s=t.reachedMin(e.get())?"min":"max",c=T(t[s]-e.get()),d=o.get()-e.get(),p=l.constrain(c/r);o.subtract(d*p),!i&&T(d)<a&&(o.set(t.constrain(o.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(t){s=!t}}}function Y(t,e,o,n){const i=e.min+.1,a=e.max+.1,{reachedMin:r,reachedMax:l}=H(i,a);return{loop:function(e){if(!function(t){return 1===t?l(o.get()):-1===t&&r(o.get())}(e))return;const i=t*(-1*e);n.forEach(t=>t.add(i))}}}function Z(t,e,o,n,i){const{reachedAny:a,removeOffset:r,constrain:l}=n;function s(t){return t.concat().sort((t,e)=>T(t)-T(e))[0]}function u(e,n){const i=[e,e+o,e-o];if(!t)return e;if(!n)return s(i);const a=i.filter(t=>N(t)===n);return a.length?s(a):I(i)-o}return{byDistance:function(o,n){const s=i.get()+o,{index:c,distance:d}=function(o){const n=t?r(o):l(o),i=e.map((t,e)=>({diff:u(t-n,0),index:e})).sort((t,e)=>T(t.diff)-T(e.diff)),{index:a}=i[0];return{index:a,distance:n}}(s),p=!t&&a(s);return!n||p?{index:c,distance:o}:{index:c,distance:o+u(e[c]-d,0)}},byIndex:function(t,o){return{index:t,distance:u(e[t]-i.get(),o)}},shortcut:u}}function G(t,e,o,n,i,a,r,l){const s={passive:!0,capture:!0};let u=0;function c(t){"Tab"===t.code&&(u=(new Date).getTime())}return{init:function(d){l&&(a.add(document,"keydown",c,!1),e.forEach((e,c)=>{a.add(e,"focus",e=>{(A(l)||l(d,e))&&function(e){if((new Date).getTime()-u>10)return;r.emit("slideFocusStart"),t.scrollLeft=0;const a=o.findIndex(t=>t.includes(e));j(a)&&(i.useDuration(0),n.index(a,0),r.emit("slideFocus"))}(c)},s)}))}}}function $(t){let e=t;function o(t){return j(t)?t:t.get()}return{get:function(){return e},set:function(t){e=o(t)},add:function(t){e+=o(t)},subtract:function(t){e-=o(t)}}}function tt(t,e){const o="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},n=e.style;let i=null,a=!1;return{clear:function(){a||(n.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(a)return;const r=(l=t.direction(e),Math.round(100*l)/100);var l;r!==i&&(n.transform=o(r),i=r)},toggleActive:function(t){a=!t}}}function et(t,e,o,n,i,a,r,l,s){const u=O(i),c=O(i).reverse(),d=function(){const t=r[0];return b(y(c,t),o,!1)}().concat(function(){const t=e-r[0]-1;return b(y(u,t),-o,!0)}());function p(t,e){return t.reduce((t,e)=>t-i[e],e)}function y(t,e){return t.reduce((t,o)=>p(t,e)>0?t.concat([o]):t,[])}function b(i,r,u){const c=function(t){return a.map((o,i)=>({start:o-n[i]+.5+t,end:o+e-.5+t}))}(r);return i.map(e=>{const n=u?0:-o,i=u?o:0,a=u?"end":"start",r=c[e][a];return{index:e,loopPoint:r,slideLocation:$(-1),translate:tt(t,s[e]),target:()=>l.get()>r?n:i}})}return{canLoop:function(){return d.every(({index:t})=>p(u.filter(e=>e!==t),e)<=.1)},clear:function(){d.forEach(t=>t.translate.clear())},loop:function(){d.forEach(t=>{const{target:e,translate:o,slideLocation:n}=t,i=e();i!==n.get()&&(o.to(i),n.set(i))})},loopPoints:d}}function ot(t,e,o){let n,i=!1;return{init:function(a){o&&(n=new MutationObserver(t=>{i||(A(o)||o(a,t))&&function(t){for(const o of t)if("childList"===o.type){a.reInit(),e.emit("slidesChanged");break}}(t)}),n.observe(t,{childList:!0}))},destroy:function(){n&&n.disconnect(),i=!0}}}function nt(t,e,o,n){const i={};let a,r=null,l=null,s=!1;return{init:function(){a=new IntersectionObserver(t=>{s||(t.forEach(t=>{const o=e.indexOf(t.target);i[o]=t}),r=null,l=null,o.emit("slidesInView"))},{root:t.parentElement,threshold:n}),e.forEach(t=>a.observe(t))},destroy:function(){a&&a.disconnect(),s=!0},get:function(t=!0){if(t&&r)return r;if(!t&&l)return l;const e=function(t){return B(i).reduce((e,o)=>{const n=parseInt(o),{isIntersecting:a}=i[n];return(t&&a||!t&&!a)&&e.push(n),e},[])}(t);return t&&(r=e),t||(l=e),e}}}function it(t,e,o,n,i,a,r,l,s){const{startEdge:u,endEdge:c,direction:d}=t,p=j(o);return{groupSlides:function(t){return p?function(t,e){return O(t).filter(t=>t%e===0).map(o=>t.slice(o,o+e))}(t,o):function(t){return t.length?O(t).reduce((o,p,y)=>{const b=I(o)||0,g=0===b,h=p===E(t),_=i[u]-a[b][u],m=i[u]-a[p][c],f=!n&&g?d(r):0,k=T(m-(!n&&h?d(l):0)-(_+f));return y&&k>e+s&&o.push(p),h&&o.push(t.length),o},[]).map((e,o,n)=>{const i=Math.max(n[o-1]||0);return t.slice(i,e)}):[]}(t)}}}function at(t,e,o,n,i,a,r){const{align:l,axis:s,direction:u,startIndex:c,loop:d,duration:p,dragFree:y,dragThreshold:b,inViewThreshold:g,slidesToScroll:h,skipSnaps:_,containScroll:m,watchResize:f,watchSlides:k,watchDrag:x,watchFocus:w}=a,v={measure:function(t){const{offsetTop:e,offsetLeft:o,offsetWidth:n,offsetHeight:i}=t;return{top:e,right:o+n,bottom:e+i,left:o,width:n,height:i}}},F=v.measure(e),S=o.map(v.measure),z=function(t,e){const o="rtl"===e,n="y"===t,i=!n&&o?-1:1;return{scroll:n?"y":"x",cross:n?"x":"y",startEdge:n?"top":o?"right":"left",endEdge:n?"bottom":o?"left":"right",measureSize:function(t){const{height:e,width:o}=t;return n?e:o},direction:function(t){return t*i}}}(s,u),j=z.measureSize(F),A=function(t){return{measure:function(e){return t*(e/100)}}}(j),D=function(t,e){const o={start:function(){return 0},center:function(t){return n(t)/2},end:n};function n(t){return e-t}return{measure:function(n,i){return C(t)?o[t](n):t(e,n,i)}}}(l,j),B=!d&&!!m,R=d||!!m,{slideSizes:V,slideSizesWithGaps:at,startGap:rt,endGap:lt}=function(t,e,o,n,i,a){const{measureSize:r,startEdge:l,endEdge:s}=t,u=o[0]&&i,c=function(){if(!u)return 0;const t=o[0];return T(e[l]-t[l])}(),d=function(){if(!u)return 0;const t=a.getComputedStyle(I(n));return parseFloat(t.getPropertyValue(`margin-${s}`))}(),p=o.map(r),y=o.map((t,e,o)=>{const n=!e,i=W(o,e);return n?p[e]+c:i?p[e]+d:o[e+1][l]-t[l]}).map(T);return{slideSizes:p,slideSizesWithGaps:y,startGap:c,endGap:d}}(z,F,S,o,R,i),st=it(z,j,h,d,F,S,rt,lt,2),{snaps:ut,snapsAligned:ct}=function(t,e,o,n,i){const{startEdge:a,endEdge:r}=t,{groupSlides:l}=i,s=l(n).map(t=>I(t)[r]-t[0][a]).map(T).map(e.measure),u=n.map(t=>o[a]-t[a]).map(t=>-T(t)),c=l(u).map(t=>t[0]).map((t,e)=>t+s[e]);return{snaps:u,snapsAligned:c}}(z,D,F,S,st),dt=-I(ut)+I(at),{snapsContained:pt,scrollContainLimit:yt}=function(t,e,o,n,i){const a=H(-e+t,0),r=o.map((t,e)=>{const{min:n,max:i}=a,r=a.constrain(t),l=!e,u=W(o,e);return l?i:u||s(n,r)?n:s(i,r)?i:r}).map(t=>parseFloat(t.toFixed(3))),l=function(){const t=r[0],e=I(r);return H(r.lastIndexOf(t),r.indexOf(e)+1)}();function s(t,e){return P(t,e)<=1}return{snapsContained:function(){if(e<=t+i)return[a.max];if("keepSnaps"===n)return r;const{min:o,max:s}=l;return r.slice(o,s)}(),scrollContainLimit:l}}(j,dt,ct,m,2),bt=B?pt:ct,{limit:gt}=function(t,e,o){const n=e[0];return{limit:H(o?n-t:I(e),n)}}(dt,bt,d),ht=K(E(bt),c,d),_t=ht.clone(),mt=O(o),ft=q(n,i,()=>(({dragHandler:t,scrollBody:e,scrollBounds:o,options:{loop:n}})=>{n||o.constrain(t.pointerDown()),e.seek()})(Pt),t=>(({scrollBody:t,translate:e,location:o,offsetLocation:n,previousLocation:i,scrollLooper:a,slideLooper:r,dragHandler:l,animation:s,eventHandler:u,scrollBounds:c,options:{loop:d}},p)=>{const y=t.settled(),b=!c.shouldConstrain(),g=d?y:y&&b,h=g&&!l.pointerDown();h&&s.stop();const _=o.get()*p+i.get()*(1-p);n.set(_),d&&(a.loop(t.direction()),r.loop()),e.to(n.get()),h&&u.emit("settle"),g||u.emit("scroll")})(Pt,t)),kt=bt[ht.get()],xt=$(kt),wt=$(kt),vt=$(kt),Ft=$(kt),St=function(t,e,o,n,i,a){let r=0,l=0,s=i,u=a,c=t.get(),d=0;function p(t){return s=t,b}function y(t){return u=t,b}const b={direction:function(){return l},duration:function(){return s},velocity:function(){return r},seek:function(){const e=n.get()-t.get();let i=0;return s?(o.set(t),r+=e/s,r*=u,c+=r,t.add(r),i=c-d):(r=0,o.set(n),t.set(n),i=e),l=N(i),d=c,b},settled:function(){return T(n.get()-e.get())<.001},useBaseFriction:function(){return y(a)},useBaseDuration:function(){return p(i)},useFriction:y,useDuration:p};return b}(xt,vt,wt,Ft,p,.68),zt=Z(d,bt,dt,gt,Ft),jt=function(t,e,o,n,i,a,r){function l(i){const l=i.distance,s=i.index!==e.get();a.add(l),l&&(n.duration()?t.start():(t.update(),t.render(1),t.update())),s&&(o.set(e.get()),e.set(i.index),r.emit("select"))}return{distance:function(t,e){l(i.byDistance(t,e))},index:function(t,o){const n=e.clone().set(t);l(i.byIndex(n.get(),o))}}}(ft,ht,_t,St,zt,Ft,r),Ct=function(t){const{max:e,length:o}=t;return{get:function(t){return o?(t-e)/-o:0}}}(gt),At=M(),Dt=nt(e,o,r,g),{slideRegistry:Tt}=function(t,e,o,n,i,a){const{groupSlides:r}=i,{min:l,max:s}=n;return{slideRegistry:function(){const n=r(a),i=!t||"keepSnaps"===e;return 1===o.length?[a]:i?n:n.slice(l,s).map((t,e,o)=>{const n=!e,i=W(o,e);return n?L(I(o[0])+1):i?L(E(a)-I(o)[0]+1,I(o)[0]):t})}()}}(B,m,bt,yt,st,mt),Nt=G(t,o,Tt,jt,St,At,r,w),Pt={ownerDocument:n,ownerWindow:i,eventHandler:r,containerRect:F,slideRects:S,animation:ft,axis:z,dragHandler:X(z,t,n,i,Ft,J(z,i),xt,ft,jt,St,zt,ht,r,A,y,b,_,.68,x),eventStore:At,percentOfView:A,index:ht,indexPrevious:_t,limit:gt,location:xt,offsetLocation:vt,previousLocation:wt,options:a,resizeHandler:U(e,r,i,o,z,f,v),scrollBody:St,scrollBounds:Q(gt,vt,Ft,St,A),scrollLooper:Y(dt,gt,vt,[xt,vt,wt,Ft]),scrollProgress:Ct,scrollSnapList:bt.map(Ct.get),scrollSnaps:bt,scrollTarget:zt,scrollTo:jt,slideLooper:et(z,j,dt,V,at,ut,bt,vt,o),slideFocus:Nt,slidesHandler:ot(e,r,k),slidesInView:Dt,slideIndexes:mt,slideRegistry:Tt,slidesToScroll:st,target:Ft,translate:tt(z,e)};return Pt}const rt={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function lt(t){function e(t,e){return R(t,e||{})}const o={mergeOptions:e,optionsAtMedia:function(o){const n=o.breakpoints||{},i=B(n).filter(e=>t.matchMedia(e).matches).map(t=>n[t]).reduce((t,o)=>e(t,o),{});return e(o,i)},optionsMediaQueries:function(e){return e.map(t=>B(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}};return o}function st(t,e,o){const n=t.ownerDocument,i=n.defaultView,a=lt(i),r=function(t){let e=[];return{init:function(o,n){return e=n.filter(({options:e})=>!1!==t.optionsAtMedia(e).active),e.forEach(e=>e.init(o,t)),n.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){e=e.filter(t=>t.destroy())}}}(a),l=M(),s=function(){let t,e={};function o(t){return e[t]||[]}const n={init:function(e){t=e},emit:function(e){return o(e).forEach(o=>o(t,e)),n},off:function(t,i){return e[t]=o(t).filter(t=>t!==i),n},on:function(t,i){return e[t]=o(t).concat([i]),n},clear:function(){e={}}};return n}(),{mergeOptions:u,optionsAtMedia:c,optionsMediaQueries:d}=a,{on:p,off:y,emit:b}=s,g=z;let h,_,m,f,k=!1,x=u(rt,st.globalOptions),w=u(x),v=[];function F(e){const o=at(t,m,f,n,i,e,s);if(e.loop&&!o.slideLooper.canLoop()){return F(Object.assign({},e,{loop:!1}))}return o}function S(e,o){k||(x=u(x,e),w=c(x),v=o||v,function(){const{container:e,slides:o}=w,n=C(e)?t.querySelector(e):e;m=n||t.children[0];const i=C(o)?m.querySelectorAll(o):o;f=[].slice.call(i||m.children)}(),h=F(w),d([x,...v.map(({options:t})=>t)]).forEach(t=>l.add(t,"change",z)),w.active&&(h.translate.to(h.location.get()),h.animation.init(),h.slidesInView.init(),h.slideFocus.init(T),h.eventHandler.init(T),h.resizeHandler.init(T),h.slidesHandler.init(T),h.options.loop&&h.slideLooper.loop(),m.offsetParent&&f.length&&h.dragHandler.init(T),_=r.init(T,v)))}function z(t,e){const o=D();j(),S(u({startIndex:o},t),e),s.emit("reInit")}function j(){h.dragHandler.destroy(),h.eventStore.clear(),h.translate.clear(),h.slideLooper.clear(),h.resizeHandler.destroy(),h.slidesHandler.destroy(),h.slidesInView.destroy(),h.animation.destroy(),r.destroy(),l.clear()}function A(t,e,o){w.active&&!k&&(h.scrollBody.useBaseFriction().useDuration(!0===e?0:w.duration),h.scrollTo.index(t,o||0))}function D(){return h.index.get()}const T={canScrollNext:function(){return h.index.add(1).get()!==D()},canScrollPrev:function(){return h.index.add(-1).get()!==D()},containerNode:function(){return m},internalEngine:function(){return h},destroy:function(){k||(k=!0,l.clear(),j(),s.emit("destroy"),s.clear())},off:y,on:p,emit:b,plugins:function(){return _},previousScrollSnap:function(){return h.indexPrevious.get()},reInit:g,rootNode:function(){return t},scrollNext:function(t){A(h.index.add(1).get(),t,-1)},scrollPrev:function(t){A(h.index.add(-1).get(),t,1)},scrollProgress:function(){return h.scrollProgress.get(h.offsetLocation.get())},scrollSnapList:function(){return h.scrollSnapList},scrollTo:A,selectedScrollSnap:D,slideNodes:function(){return f},slidesInView:function(){return h.slidesInView.get()},slidesNotInView:function(){return h.slidesInView.get(!1)}};return S(e,o),setTimeout(()=>s.emit("init"),0),T}function ut(t={},o=[]){const n=e.useRef(t),i=e.useRef(o),[a,r]=e.useState(),[l,s]=e.useState(),u=e.useCallback(()=>{a&&a.reInit(n.current,i.current)},[a]);return e.useEffect(()=>{S(n.current,t)||(n.current=t,u())},[t,u]),e.useEffect(()=>{(function(t,e){if(t.length!==e.length)return!1;const o=z(t),n=z(e);return o.every((t,e)=>S(t,n[e]))})(i.current,o)||(i.current=o,u())},[o,u]),e.useEffect(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){st.globalOptions=ut.globalOptions;const t=st(l,n.current,i.current);return r(t),()=>t.destroy()}r(void 0)},[l,r]),[s,a]}st.globalOptions=void 0,ut.globalOptions=void 0;const ct=e.createContext(void 0);var dt=e.memo(function({node:e}){const[o,n]=ut(e.attributes);return t.jsx(ct.Provider,{value:n,children:t.jsx("div",{className:"carousel-provider",children:t.jsx("div",{className:"embla",children:t.jsx("div",{className:"embla__viewport",ref:o,children:e.children&&t.jsx(Tt,{node:e.children})})})})})});var pt=e.memo(function({node:o}){const n=e.useContext(ct),i=o.attributes?.buttonType||["previous_button","next_button"];return t.jsxs("div",{className:"embla__buttons",children:[i.includes("previous_button")&&t.jsx("button",{onClick:()=>n?.scrollPrev(),className:"embla__button embla__button--prev",children:"Previous"}),i.includes("next_button")&&t.jsx("button",{onClick:()=>n?.scrollNext(),className:"embla__button embla__button--next",children:"Next"}),i.includes("skip_button")&&t.jsx("button",{onClick:()=>n?.scrollTo(o.attributes?.skipNumber),className:"embla__button embla__button--skip",children:"Skip"})]})});var yt=e.memo(function({node:o}){const n=o.attributes?.dotType||"normal_dot",i=e.useContext(ct),[a,r]=e.useState(0),[l,s]=e.useState([]);return e.useEffect(()=>{i&&(s(i.scrollSnapList()),r(i.selectedScrollSnap()),i.on("select",()=>{r(i.selectedScrollSnap())}))},[i]),t.jsx("div",{className:`embla__dots embla__dots--${n}`,children:l.map((e,o)=>t.jsx("button",{onClick:()=>i?.scrollTo(e),className:"embla__dot "+(a===o?"embla__dot--selected":""),children:o===a?"●":"○"},o))})});var bt=e.memo(function({node:e}){return t.jsx("div",{className:"embla__slide",...e.attributes,children:e.children&&t.jsx(Tt,{node:e.children})})});var gt=e.memo(function({node:e}){return t.jsx("img",{className:"primitive primitive-image",src:e.attributes?.src,width:e.attributes?.width,height:e.attributes?.height,style:{width:e.attributes?.width,height:e.attributes?.height,borderRadius:e.attributes?.borderRadius,objectFit:"cover"===e.attributes?.resizeMode?"cover":"contain"===e.attributes?.resizeMode?"contain":"stretch"===e.attributes?.resizeMode?"fill":void 0},alt:""},e.key)});var ht=e.memo(function({node:e}){return t.jsx(v,{node:{...e,type:"carousel"}})});const _t=e.createContext(void 0);var mt=e.memo(function({node:o}){const[n,i]=ut(o.attributes),{theme:a,setWarning:r}=e.useContext(k)??{},[l,s]=e.useState(0),u=e.useMemo(()=>{const t=o.children.filter(t=>"Onboard"===t.type)[0];if("Onboard"!==t?.type)throw new Error("OnboardProvider at least has an Onboard child");const e=t.children[l].children.filter(t=>"OnboardButtons"==t?.type);return[...o.children,...e]},[l,o.children]);return e.useEffect(()=>{i&&(s(i.selectedScrollSnap()),i.on("select",()=>{s(i.selectedScrollSnap())}))},[i]),e.useEffect(()=>{a!==o.attributes?.theme&&r?.("Wrong theme")},[a]),t.jsx(_t.Provider,{value:{emblaApi:i,selectedIndex:l},children:t.jsx("div",{className:"carousel-provider",children:t.jsx("div",{className:"embla",children:t.jsx("div",{className:"embla__viewport",ref:n,children:o.children&&t.jsx(Tt,{node:u})})})})})});var ft=e.memo(function({node:o}){const{emblaApi:n}=e.useContext(_t)??{},{localication:i,defaultLanguage:a}=e.useContext(k)??{},r=o.attributes?.labelKey??"",l=i?.[a??"en"]?.[r]??r,s=o.attributes?.flex??1,u=o.attributes?.button_text_color??"#FFFFFF",c=o.attributes?.button_background_color??"#0066FF";return t.jsx("button",{className:"onboard__button",onClick:()=>{const t=o.attributes?.events||[];for(const e of t)"Permission"===e.type?alert(`Permission requested: ${e.permission??"unknown"}`):e.type;"number"==typeof o.attributes?.targetIndex&&n?.scrollTo(o.attributes.targetIndex)},style:{flex:s,color:u,backgroundColor:c,border:"none",borderRadius:20,height:"100%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:l})});const kt="#E5E7EB";var xt=e.memo(function({node:o}){const n=e.useContext(_t)??{};n.emblaApi;const[i,a]=e.useState(n.selectedIndex??0);e.useEffect(()=>{"number"==typeof n.selectedIndex&&a(n.selectedIndex)},[n.selectedIndex]);const r=o.attributes?.condition,l=o.attributes?.conditionVariable;if("carousel-index"===r&&"number"==typeof l&&l!==i)return null;const s="column"===o.attributes?.buttons_direction?"column":"row",u=o.attributes?.seperatorColor;return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"onboard__separator",style:{height:1,backgroundColor:u??kt,width:"100%"}}),t.jsx("div",{className:"onboard__buttons",style:{display:"flex",flexDirection:s,height:40,gap:12,alignItems:"center",justifyContent:"center",margin:"12px 24px"},children:Array.isArray(o.children)?o.children.map((e,o)=>t.jsx(Tt,{node:e},o)):t.jsx(Tt,{node:o.children})})]})});var wt=e.memo(function({node:e}){return t.jsx(yt,{node:{...e,type:"carouselDots"}})});var vt=e.memo(function({node:o}){const{localication:n,defaultLanguage:i}=e.useContext(k)??{},a=t=>t?n?.[i??"en"]?.[t]??t:"",r=a(o?.attributes?.textLocalizationKey),l={display:"flex",flexDirection:o?.attributes?.flexDirection??"column",gap:"number"==typeof o?.attributes?.gap?o.attributes.gap:0,padding:"number"==typeof o?.attributes?.padding?o.attributes.padding:void 0,margin:"number"==typeof o?.attributes?.margin?o.attributes.margin:void 0,backgroundColor:o?.attributes?.backgroundColor,borderRadius:"number"==typeof o?.attributes?.borderRadius?o.attributes.borderRadius:void 0,width:"number"==typeof o?.attributes?.width?o.attributes.width:void 0,height:"number"==typeof o?.attributes?.height?o.attributes.height:void 0,alignItems:o?.attributes?.alignItems,justifyContent:o?.attributes?.justifyContent},s=t=>({color:t,cursor:t?"pointer":void 0});return t.jsxs("div",{className:"primitive primitive-footer",style:l,children:[!!r&&t.jsx("p",{style:{color:o?.attributes?.textColor},children:r}),t.jsxs("div",{style:{display:"flex",gap:8},children:[o?.attributes?.linkedWordFirstLocalizationKey&&t.jsx("span",{style:s(o?.attributes?.linkedWordFirstColor),children:a(o?.attributes?.linkedWordFirstLocalizationKey)}),o?.attributes?.linkedWordSecondLocalizationKey&&t.jsx("span",{style:s(o?.attributes?.linkedWordSecondColor),children:a(o?.attributes?.linkedWordSecondLocalizationKey)})]})]})});var Ft=e.memo(function({node:e}){return t.jsx(gt,{node:{...e,type:"image"}})});var St=e.memo(function({node:o}){const n=e.useMemo(()=>(i(o.children)?o.children:[o.children]).filter(t=>"OnboardButtons"!=t?.type),[o.children]);return t.jsx(bt,{node:{...o,type:"carouselItem",children:n}})});var zt=e.memo(function({node:o}){const{localication:n,defaultLanguage:i}=e.useContext(k)??{},a=o.children;return t.jsx("p",{style:o.attributes,className:"primitive primitive-text",children:n?.[i??"en"]?.[a]??a})});var jt=e.memo(function({node:e}){return t.jsx(zt,{node:{...e,type:"text",attributes:{fontSize:14,fontWeight:"600",...e.attributes}}})});var Ct=e.memo(function({node:e}){return t.jsx(zt,{node:{...e,type:"text",attributes:{fontSize:24,fontWeight:"700",...e.attributes}}})});function At(t){const e={display:"flex",flexDirection:"column"};return t?((t?.scrollable??!1)&&("row"===t.flexDirection?(e.overflowX="auto",e.overflowY="hidden",e.maxWidth="100%",e.maxHeight="100%"):(e.overflowY="auto",e.overflowX="hidden",e.maxHeight="100%",e.maxWidth="100%")),t.flexDirection&&(e.flexDirection=t.flexDirection),t.alignItems&&(e.alignItems=t.alignItems),t.justifyContent&&(e.justifyContent=t.justifyContent),void 0!==t.gap&&(e.gap=t.gap),void 0!==t.padding&&(e.padding=t.padding),void 0!==t.margin&&(e.margin=t.margin),t.backgroundColor&&(e.backgroundColor=t.backgroundColor),void 0!==t.borderRadius&&(e.borderRadius=t.borderRadius),void 0!==t.width&&(e.width=t.width),void 0!==t.height&&(e.height=t.height),e):e}var Dt=e.memo(function({node:e}){return t.jsx("div",{style:At(e.attributes??{}),className:"primitive primitive-view",children:t.jsx(Tt,{node:e.children})})});var Tt=e.memo(function e({node:a}){if(o(a))return null;if(n(a))return t.jsx(zt,{node:{children:a,type:"text"}});if(i(a))return t.jsx(t.Fragment,{children:a.map((o,n)=>t.jsx(e,{node:o},n))});const r=a;switch(r?.type){case"button":return t.jsx(w,{node:r});case"carousel":return t.jsx(v,{node:r});case"carouselButtons":return t.jsx(pt,{node:r});case"carouselDots":return t.jsx(yt,{node:r});case"carouselItem":return t.jsx(bt,{node:r});case"carouselProvider":return t.jsx(dt,{node:r});case"image":return t.jsx(gt,{node:r});case"Onboard":return t.jsx(ht,{node:r});case"OnboardButton":return t.jsx(ft,{node:r});case"OnboardButtons":return t.jsx(xt,{node:r});case"OnboardDot":return t.jsx(wt,{node:r});case"OnboardFooter":return t.jsx(vt,{node:r});case"OnboardImage":return t.jsx(Ft,{node:r});case"OnboardItem":return t.jsx(St,{node:r});case"OnboardProvider":return t.jsx(mt,{node:r});case"OnboardSubtitle":return t.jsx(jt,{node:r});case"OnboardTitle":return t.jsx(Ct,{node:r});case"text":return t.jsx(zt,{node:r});case"view":return t.jsx(Dt,{node:r});default:return null}});var Nt=[{name:"iphone 12",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 12 pro",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 13",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 13 pro",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 14",platform:"ios",width:390,height:844,type:"phone",importance:1},{name:"iphone 14 pro",platform:"ios",width:393,height:852,type:"phone",importance:1},{name:"iphone 15",platform:"ios",width:393,height:852,type:"phone",importance:1},{name:"iphone 15 pro",platform:"ios",width:393,height:852,type:"phone",importance:1},{name:"pixel 3 xl",platform:"android",width:412,height:847,type:"phone",importance:1},{name:"pixel 4 xl",platform:"android",width:412,height:869,type:"phone",importance:1},{name:"pixel 6",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"pixel 6 pro",platform:"android",width:412,height:892,type:"phone",importance:1},{name:"pixel 7",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"pixel 7 pro",platform:"android",width:412,height:892,type:"phone",importance:1},{name:"pixel 8",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"pixel 8 pro",platform:"android",width:412,height:919,type:"phone",importance:1},{name:"galaxy s8",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s8+",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s9",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s9+",platform:"android",width:360,height:740,type:"phone",importance:1},{name:"galaxy s10",platform:"android",width:360,height:760,type:"phone",importance:1},{name:"galaxy s10+",platform:"android",width:412,height:869,type:"phone",importance:1},{name:"galaxy s20",platform:"android",width:360,height:800,type:"phone",importance:1},{name:"galaxy s20+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s20 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s21",platform:"android",width:360,height:800,type:"phone",importance:1},{name:"galaxy s21+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s21 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s22",platform:"android",width:360,height:780,type:"phone",importance:1},{name:"galaxy s22+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s22 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s23",platform:"android",width:360,height:780,type:"phone",importance:1},{name:"galaxy s23+",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"galaxy s23 ultra",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 8",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 8 pro",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 9",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"oneplus 9 pro",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"xiaomi mi 11",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"huawei p30",platform:"android",width:360,height:750,type:"phone",importance:1},{name:"huawei p30 pro",platform:"android",width:360,height:780,type:"phone",importance:1},{name:"oppo find x3 pro",platform:"android",width:412,height:915,type:"phone",importance:1},{name:"iphone 6 plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone 6s plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone 7 plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone 8 plus",platform:"ios",width:414,height:736,type:"phone",importance:2},{name:"iphone xs max",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone xr",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone 11",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone 11 pro max",platform:"ios",width:414,height:896,type:"phone",importance:2},{name:"iphone 12 pro max",platform:"ios",width:428,height:926,type:"phone",importance:2},{name:"iphone 13 pro max",platform:"ios",width:428,height:926,type:"phone",importance:2},{name:"iphone 14 plus",platform:"ios",width:428,height:926,type:"phone",importance:2},{name:"iphone 14 pro max",platform:"ios",width:430,height:932,type:"phone",importance:2},{name:"iphone 15 plus",platform:"ios",width:430,height:932,type:"phone",importance:2},{name:"iphone 15 pro max",platform:"ios",width:430,height:932,type:"phone",importance:2},{name:"pixel 2",platform:"android",width:411,height:731,type:"phone",importance:2},{name:"pixel 2 xl",platform:"android",width:411,height:823,type:"phone",importance:2},{name:"pixel 3",platform:"android",width:393,height:786,type:"phone",importance:2},{name:"pixel 4",platform:"android",width:411,height:869,type:"phone",importance:2},{name:"pixel 5",platform:"android",width:393,height:851,type:"phone",importance:2},{name:"xiaomi mi 9",platform:"android",width:393,height:851,type:"phone",importance:2},{name:"iphone 6",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 6s",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 7",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 8",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone x",platform:"ios",width:375,height:812,type:"phone",importance:3},{name:"iphone xs",platform:"ios",width:375,height:812,type:"phone",importance:3},{name:"iphone 11 pro",platform:"ios",width:375,height:812,type:"phone",importance:3},{name:"iphone se (2nd gen)",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone se (3rd gen)",platform:"ios",width:375,height:667,type:"phone",importance:3},{name:"iphone 12 mini",platform:"ios",width:360,height:780,type:"phone",importance:4},{name:"iphone 13 mini",platform:"ios",width:360,height:780,type:"phone",importance:4},{name:"iphone (1st gen)",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 3g",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 3gs",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 4",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 4s",platform:"ios",width:320,height:480,type:"phone",importance:5},{name:"iphone 5",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"iphone 5c",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"iphone 5s",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"iphone se (1st gen)",platform:"ios",width:320,height:568,type:"phone",importance:5},{name:"nexus 7 (2013)",platform:"android",width:600,height:960,type:"tablet",importance:5},{name:"nexus 9",platform:"android",width:768,height:1024,type:"tablet",importance:5},{name:"pixel c",platform:"android",width:900,height:1280,type:"tablet",importance:5},{name:"galaxy tab s6",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"galaxy tab s7",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"galaxy tab s8",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"galaxy tab a 10.1",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"lenovo tab p11",platform:"android",width:800,height:1280,type:"tablet",importance:5},{name:"fire hd 10",platform:"android",width:800,height:1280,type:"tablet",importance:5}];exports.AttributesEditor=d,exports.RenderMainNode=x,exports.RenderNode=Tt,exports.RenderPage=function({data:e,screenSize:o,theme:n,isRtl:i,screenStyle:a,localication:r,defaultLanguage:l}){const s=800,u=s*o.width/o.height;return t.jsx("div",{className:"stage-wrapper",style:{overflow:"auto"},children:t.jsx("div",{className:"stage",style:{width:u,height:s,minWidth:u,maxWidth:u,minHeight:s,maxHeight:s,overflow:"hidden",position:"relative",padding:4,direction:i?"rtl":"ltr",backgroundColor:"dark"===n?a.dark.backgroundColor:a.light.backgroundColor,color:"dark"===n?a.dark.color:a.light.color},children:t.jsx(x,{localication:r,defaultLanguage:l,theme:n,children:t.jsx(Tt,{node:e})})})})},exports.analyseNode=function t(e){if(o(e))return{valid:!0,message:"null or undefined is valid"};if(n(e))return{valid:!0,message:"string is valid"};if(i(e)){const o=e;for(const e of o){const{valid:o,message:n}=t(e);if(!o)return{valid:!1,message:n}}return{valid:!0,message:"Array is valid"}}const r=e;if(a(r))return{valid:!0,message:"empty object is valid"};if(r.children){const{valid:e,message:o}=t(r.children);if(!e)return{valid:!1,message:o}}return{valid:!0,message:"everthing is valid"}},exports.getBasicSamples=function(){return[p,y,b]},exports.getDevices=function(){return Nt},exports.getOnboardSamples=function(){return[g,h,_,m]},exports.getSamples=function(){const t=[{...g},{...h},{..._},{...m}];return t.forEach(t=>{t.data=f(t)}),[p,y,b,...t]},exports.isEmptyObject=a,exports.isNodeArray=i,exports.isNodeNullOrUndefined=o,exports.isNodeString=n,exports.novaToJson=f;