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AM,QAWsB,WAASlnD,EAXrCknD,EAAM,oBAYkC","sources":["webpack://rascal/./app/javascript/components/admin/pages/AdminSideBar.tsx","webpack://rascal/./app/javascript/components/hooks/MessageApi.tsx","webpack://rascal/./app/javascript/components/hooks/withRouteParams.tsx","webpack://rascal/./app/javascript/components/public/App.tsx","webpack://rascal/./app/javascript/components/public/Homepage.tsx","webpack://rascal/./app/javascript/components/public/billing_addresses/Form.tsx","webpack://rascal/./app/javascript/components/public/billing_addresses/Preview.tsx","webpack://rascal/./app/javascript/components/public/billing_addresses/SetupForm.tsx","webpack://rascal/./app/javascript/components/public/billing_addresses/_BillingAddresses.tsx","webpack://rascal/./app/javascript/components/public/coupons/CouponForm.tsx","webpack://rascal/./app/javascript/components/public/credit_cards/CreditCardNew.tsx","webpack://rascal/./app/javascript/components/public/credit_cards/SetupForm.tsx","webpack://rascal/./app/javascript/components/public/credit_cards/SimpleCreditCardForm.tsx","webpack://rascal/./app/javascript/components/public/credit_cards/StripePaymentForm.tsx","webpack://rascal/./app/javascript/components/public/credit_cards/_CreditCards.tsx","webpack://rascal/./app/javascript/components/public/modules/CountrySelect.tsx","webpack://rascal/./app/javascript/components/public/modules/Uploader.tsx","webpack://rascal/./app/javascript/components/public/modules/success_button/SuccessButton.tsx","webpack://rascal/./app/javascript/components/public/modules/value_editor/EditValueInPlace.tsx","webpack://rascal/./app/javascript/components/public/modules/value_editor/EditableNumber.tsx","webpack://rascal/./app/javascript/components/public/modules/value_editor/EditableParagraph.tsx","webpack://rascal/./app/javascript/components/public/modules/value_editor/EditableRichText.tsx","webpack://rascal/./app/javascript/components/public/modules/value_editor/EditableString.tsx","webpack://rascal/./app/javascript/components/public/pages/AppStoreRedirect.tsx","webpack://rascal/./app/javascript/components/public/pages/Billing.tsx","webpack://rascal/./app/javascript/components/public/pages/NotFound.tsx","webpack://rascal/./app/javascript/components/public/pages/PlayStoreRedirect.tsx","webpack://rascal/./app/javascript/components/public/pages/_Page.tsx","webpack://rascal/./app/javascript/layouts/DefaultOrAdminLayout.tsx","webpack://rascal/./app/javascript/components/public/pages/account_settings/AccountSettings.tsx","webpack://rascal/./app/javascript/components/public/pages/account_settings/ManageData.tsx","webpack://rascal/./app/javascript/components/public/pages/change_email/ChangeEmail.tsx","webpack://rascal/./app/javascript/components/public/pages/forgot_password/ForgotPassword.tsx","webpack://rascal/./app/javascript/components/public/pages/home/Catalogue.tsx","webpack://rascal/./app/javascript/components/public/pages/home/Home.tsx","webpack://rascal/./app/javascript/components/public/pages/home/StoryMultiPanel.tsx","webpack://rascal/./app/javascript/components/public/pages/home/StoryPanel.tsx","webpack://rascal/./app/javascript/components/public/pages/home/public/About.tsx","webpack://rascal/./app/javascript/components/public/pages/home/public/FAQ.tsx","webpack://rascal/./app/javascript/components/public/pages/home/public/NewsletterModal.tsx","webpack://rascal/./app/javascript/components/public/pages/home/public/policies/CookiePolicy.tsx","webpack://rascal/./app/javascript/components/public/pages/home/public/policies/PrivacyPolicy.tsx","webpack://rascal/./app/javascript/components/public/pages/home/public/policies/TermsAndConditions.tsx","webpack://rascal/./app/javascript/components/public/pages/invoices/InvoiceIndex.tsx","webpack://rascal/./app/javascript/components/public/pages/invoices/InvoiceShow.tsx","webpack://rascal/./app/javascript/components/public/pages/invoices/InvoicesTable.tsx","webpack://rascal/./app/javascript/components/public/pages/register/Register.tsx","webpack://rascal/./app/javascript/components/public/pages/register/UserEditName.tsx","webpack://rascal/./app/javascript/components/public/pages/reset_password/ResetPassword.tsx","webpack://rascal/./app/javascript/components/public/pages/sign_in/SignIn.tsx","webpack://rascal/./app/javascript/components/public/pages/static/StaticManageData.tsx","webpack://rascal/./app/javascript/components/public/pages/subscriptions/AuthorizePayment.tsx","webpack://rascal/./app/javascript/components/public/pages/subscriptions/BulkSubscribe.tsx","webpack://rascal/./app/javascript/components/shared/icons/CheckCircle.tsx","webpack://rascal/./app/javascript/components/public/pages/subscriptions/SubscriptionForm.tsx","webpack://rascal/./app/javascript/components/public/pages/subscriptions/SubscriptionManage.tsx","webpack://rascal/./app/javascript/components/public/pages/subscriptions/SubscriptionNew.tsx","webpack://rascal/./app/javascript/components/public/pages/subscriptions/SummaryPage.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/Credits.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/LoadingIcon.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/LoadingOverlay.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/Parallelogram.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/PauseMenuBackIcon.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/PauseMenuCogIcon.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/PauseMenuForwardIcon.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/PauseMenuPlayIcon.tsx","webpack://rascal/./app/javascript/components/shared/WindowSize.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryDetails.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryDetailsButton.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryDetailsEvents.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryDetailsHeader.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryDetailsToggle.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryInfo.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/StoryTitleImage.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/UnityEvents.tsx","webpack://rascal/./app/javascript/components/shared/icons/SoundIcon.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/UnityWrapper.tsx","webpack://rascal/./app/javascript/helpers/QueueSet.tsx","webpack://rascal/./app/javascript/components/shared/LanguageSelection.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/WebglApp.tsx","webpack://rascal/./app/javascript/components/shared/icons/DownloadIcon.tsx","webpack://rascal/./app/javascript/components/shared/icons/TickIcon.tsx","webpack://rascal/./app/javascript/components/public/pages/webgl_app/WebglOverlay.tsx","webpack://rascal/./app/javascript/components/shared/AppStoreLink.tsx","webpack://rascal/./app/javascript/components/shared/EmblaCarousel.tsx","webpack://rascal/./app/javascript/components/shared/GooglePlayLink.tsx","webpack://rascal/./app/javascript/components/shared/ImageWithFallback.tsx","webpack://rascal/./app/javascript/components/shared/PageTitle.tsx","webpack://rascal/./app/javascript/helpers/Tables.tsx","webpack://rascal/./app/javascript/components/shared/RascalTable.tsx","webpack://rascal/./app/javascript/components/shared/RascalTheme.tsx","webpack://rascal/./app/javascript/components/shared/TernarySlider.tsx","webpack://rascal/./app/javascript/components/shared/icons/Chevron.tsx","webpack://rascal/./app/javascript/components/shared/icons/PlayIcon.tsx","webpack://rascal/./app/javascript/components/shared/icons/RestartIcon.tsx","webpack://rascal/./app/javascript/config/Config.ts","webpack://rascal/./app/javascript/helpers/Format.tsx","webpack://rascal/./app/javascript/helpers/SEO.tsx","webpack://rascal/./app/javascript/helpers/ScrollToTop.tsx","webpack://rascal/./app/javascript/helpers/Value.tsx","webpack://rascal/./app/javascript/layouts/AdminLayout.tsx","webpack://rascal/./app/javascript/layouts/DefaultLayout.tsx","webpack://rascal/./app/javascript/layouts/footers/DefaultFooter.tsx","webpack://rascal/./app/javascript/components/shared/icons/BurgerMenu.tsx","webpack://rascal/./app/javascript/layouts/headers/DefaultHeader.tsx","webpack://rascal/./app/javascript/layouts/headers/RascalLogo.tsx","webpack://rascal/./app/javascript/lottie/lottie-assets.tsx","webpack://rascal/./app/javascript/models/Api.tsx","webpack://rascal/./app/javascript/models/AppInfo.tsx","webpack://rascal/./app/javascript/models/AbstractStore.tsx","webpack://rascal/./app/javascript/models/assetBundle/AssetBundleApi.tsx","webpack://rascal/./app/javascript/models/assetBundle/AssetBundleProvider.tsx","webpack://rascal/./app/javascript/models/LocalStoreWrapper.tsx","webpack://rascal/./app/javascript/models/PermanentStore.tsx","webpack://rascal/./app/javascript/models/IndexedDBWrapper.tsx","webpack://rascal/./app/javascript/models/assetBundle/AssetBundleIDB.tsx","webpack://rascal/./app/javascript/models/billingAddress/BillingAddressApi.tsx","webpack://rascal/./app/javascript/models/billingAddress/BillingAddressProvider.tsx","webpack://rascal/./app/javascript/models/InMemoryStore.tsx","webpack://rascal/./app/javascript/models/billingAddress/BillingAddressMemoryStore.tsx","webpack://rascal/./app/javascript/models/billingAddress/BillingAddressPermanentStore.tsx","webpack://rascal/./app/javascript/models/campaign/CampaignProvider.tsx","webpack://rascal/./app/javascript/models/collection/CollectionApi.tsx","webpack://rascal/./app/javascript/models/collection/CollectionProvider.tsx","webpack://rascal/./app/javascript/models/collection/CollectionMemoryStore.tsx","webpack://rascal/./app/javascript/models/collection/CollectionPermanentStore.tsx","webpack://rascal/./app/javascript/models/invoice/InvoiceProvider.tsx","webpack://rascal/./app/javascript/models/invoice/InvoiceMemoryStore.tsx","webpack://rascal/./app/javascript/models/invoice/InvoicePermanentStore.tsx","webpack://rascal/./app/javascript/models/session/SessionApi.tsx","webpack://rascal/./app/javascript/models/session/SessionProvider.tsx","webpack://rascal/./app/javascript/models/settings/SettingsProvider.tsx","webpack://rascal/./app/javascript/models/settings/SettingsMemoryStore.tsx","webpack://rascal/./app/javascript/models/settings/SettingsPermanentStore.tsx","webpack://rascal/./app/javascript/models/storyLocalisation/StoryLocalisationApi.tsx","webpack://rascal/./app/javascript/models/storyLocalisation/StoryLocalisationProvider.tsx","webpack://rascal/./app/javascript/models/storyLocalisation/StoryLocalisationMemoryStore.tsx","webpack://rascal/./app/javascript/models/storyLocalisation/StoryLocalisationPermanentStore.tsx","webpack://rascal/./app/javascript/models/story/StoryProvider.tsx","webpack://rascal/./app/javascript/models/story/StoryMemoryStore.tsx","webpack://rascal/./app/javascript/models/story/StoryPermanentStore.tsx","webpack://rascal/./app/javascript/models/storyRelease/StoryReleaseApi.tsx","webpack://rascal/./app/javascript/models/storyRelease/StoryReleaseProvider.tsx","webpack://rascal/./app/javascript/models/storyRelease/StoryReleaseMemoryStore.tsx","webpack://rascal/./app/javascript/models/storyRelease/StoryReleasePermanentStore.tsx","webpack://rascal/./app/javascript/models/storySession/StorySession.tsx","webpack://rascal/./app/javascript/models/storySession/StorySessionApi.tsx","webpack://rascal/./app/javascript/models/storySession/StorySessionProvider.tsx","webpack://rascal/./app/javascript/models/storySession/StorySessionMemoryStore.tsx","webpack://rascal/./app/javascript/models/storySession/StorySessionPermanentStore.tsx","webpack://rascal/./app/javascript/models/subscription/SubscriptionProvider.tsx","webpack://rascal/./app/javascript/models/subscriptionPlan/SubscriptionPlanApi.tsx","webpack://rascal/./app/javascript/models/subscriptionPlan/SubscriptionPlanProvider.tsx","webpack://rascal/./app/javascript/models/subscriptionPlan/SubscriptionPlanMemoryStore.tsx","webpack://rascal/./app/javascript/models/subscriptionPlan/SubscriptionPlanPermanentStore.tsx","webpack://rascal/./app/javascript/models/universe/UniverseApi.tsx","webpack://rascal/./app/javascript/models/universe/UniverseProvider.tsx","webpack://rascal/./app/javascript/models/user/UserProvider.tsx","webpack://rascal/./app/javascript/models/user/UserMemoryStore.tsx","webpack://rascal/./app/javascript/models/user/UserPermanentStore.tsx","webpack://rascal/./app/javascript/models/webgl/WebglAppApi.tsx","webpack://rascal/./app/javascript/models/webgl/WebglIDB.tsx","webpack://rascal/./app/javascript/models/webgl/WebglProvider.tsx","webpack://rascal/./app/javascript/models/coupon/CouponProvider.tsx","webpack://rascal/./app/javascript/models/RootStore.tsx","webpack://rascal/./app/javascript/models/SearchApi.tsx","webpack://rascal/./app/javascript/models/billingAddress/BillingAddress.tsx","webpack://rascal/./app/javascript/models/campaign/Campaign.tsx","webpack://rascal/./app/javascript/models/campaign/CampaignAPI.tsx","webpack://rascal/./app/javascript/models/collection/Collection.tsx","webpack://rascal/./app/javascript/models/coupon/Coupon.tsx","webpack://rascal/./app/javascript/models/coupon/CouponApi.tsx","webpack://rascal/./app/javascript/models/creditCard/CreditCardApi.tsx","webpack://rascal/./app/javascript/models/homepage/HomepageApi.tsx","webpack://rascal/./app/javascript/models/homepage/Homepage.tsx","webpack://rascal/./app/javascript/models/invoice/Invoice.tsx","webpack://rascal/./app/javascript/models/invoice/InvoiceApi.tsx","webpack://rascal/./app/javascript/models/session/SessionCookieStore.tsx","webpack://rascal/./app/javascript/models/settings/Language.tsx","webpack://rascal/./app/javascript/models/settings/Settings.tsx","webpack://rascal/./app/javascript/models/story/Story.tsx","webpack://rascal/./app/javascript/models/story/StoryApi.tsx","webpack://rascal/./app/javascript/models/storyLocalisation/StoryLocalisation.tsx","webpack://rascal/./app/javascript/models/storyRelease/AssetBundleManifest.tsx","webpack://rascal/./app/javascript/models/storyRelease/StoryRelease.tsx","webpack://rascal/./app/javascript/helpers/DateCalc.tsx","webpack://rascal/./app/javascript/helpers/EnumParser.tsx","webpack://rascal/./app/javascript/models/subscription/Subscription.tsx","webpack://rascal/./app/javascript/models/subscription/SubscriptionApi.tsx","webpack://rascal/./app/javascript/models/subscriptionPlan/SubscriptionPlanKey.tsx","webpack://rascal/./app/javascript/models/subscriptionPlan/SubscriptionPlan.tsx","webpack://rascal/./app/javascript/models/universe/Universe.tsx","webpack://rascal/./app/javascript/models/user/User.tsx","webpack://rascal/./app/javascript/models/user/UserApi.tsx","webpack://rascal/./app/javascript/routes/PrivateRoutes.tsx","webpack://rascal/./app/javascript/stylesheets/globals/Colors.tsx"],"sourcesContent":["import React, { Component } from 'react';\nimport { Link } from 'react-router-dom';\nimport { Layout, Menu } from 'antd';\nimport Cookies from 'universal-cookie';\nimport {\n AuditOutlined,\n BookOutlined,\n ClusterOutlined,\n GroupOutlined,\n HomeOutlined,\n IdcardOutlined,\n LinkOutlined,\n TagOutlined,\n UserOutlined,\n} from '@ant-design/icons';\n\nconst { Sider } = Layout;\n\ninterface ISideBarProps {\n\n}\n\ninterface ISideBarState {\n collapsed: boolean;\n}\n\nclass AdminSideBar extends Component {\n\n private static COOKIE_NAME = 'rascal-sidebar-collapsed';\n private cookies = new Cookies();\n\n constructor(props: ISideBarProps) {\n super(props);\n let collapsed: string | boolean = this.cookies.get(AdminSideBar.COOKIE_NAME);\n collapsed = collapsed === 'true';\n\n this.state = {\n collapsed: collapsed\n };\n\n this.onCollapse = this.onCollapse.bind(this);\n }\n\n public componentDidMount(): void {\n }\n\n public onCollapse(collapsed): void {\n this.cookies.set(AdminSideBar.COOKIE_NAME, collapsed, { sameSite: \"strict\", secure: true });\n this.setState({ collapsed });\n }\n\n public render(): React.ReactElement {\n const { collapsed } = this.state;\n\n return (\n
\n = 768 ? null : \"xs\" }\n collapsedWidth={ window.innerWidth >= 768 ? 80 : 30 }\n collapsible collapsed={ collapsed }\n onCollapse={ this.onCollapse }\n theme='light'\n >\n
\n \n }>\n Dashboard\n \n }>\n Stories\n \n }>\n Collections\n \n }>\n Subscription Plans\n \n }>\n Subscriptions\n \n }>\n Users\n \n }>\n Edit Catalogue\n \n }>\n Campaigns\n \n }>\n Coupons\n \n \n \n
\n );\n }\n}\n\nexport default AdminSideBar;\n","import {MessageInstance} from \"antd/lib/message/interface\";\n\nexport const MessageApi: () => MessageInstance = () => window.messageApi;\n\n// @ts-ignore\nwindow.m = MessageApi;\n\nexport default MessageApi;\n","import React, {Component, Key} from \"react\";\nimport {Path, useLocation, useParams} from \"react-router-dom\";\n\nconst withRouteParams = (Component) => (props) => {\n let params = useParams();\n let history = window.history;\n return \n}\n\nexport default withRouteParams;\n","\nimport React from 'react'\n\nimport {BrowserRouter, Route, Routes, Navigate} from 'react-router-dom'\n\nimport {CookiesProvider} from 'react-cookie';\n\nimport Page from './pages/_Page';\nimport PrivateRoute from '../../routes/PrivateRoutes';\nimport {ConfigProvider, message} from 'antd';\nimport RascalTheme from 'components/shared/RascalTheme';\nimport SessionCookieStore from 'models/session/SessionCookieStore';\nimport Homepage from 'components/public/Homepage';\nimport {MessageInstance} from \"antd/lib/message/interface\";\nimport About from \"components/public/pages/home/public/About\";\nimport PrivacyPolicy from \"components/public/pages/home/public/policies/PrivacyPolicy\";\nimport TermsAndConditions from \"components/public/pages/home/public/policies/TermsAndConditions\";\nimport CookiePolicy from \"components/public/pages/home/public/policies/CookiePolicy\";\nimport ScrollToTop from \"helpers/ScrollToTop\";\nimport FAQ from \"components/public/pages/home/public/FAQ\";\nimport SEO from \"helpers/SEO\";\n\nexport interface IAppProps {\n currentUserId: number | null;\n}\n\nexport interface IAppState {\n\n}\n\ndeclare global {\n interface Window {\n messageApi: MessageInstance;\n }\n}\n\nexport const MessageContext = () => {\n const [messageApi, contextHolder] = message.useMessage();\n window.messageApi = messageApi;\n return (\n \n {contextHolder}\n \n )\n}\n\nclass App extends React.Component {\n\n public constructor(props: IAppProps) {\n super(props);\n App.loadUser(this.props.currentUserId);\n }\n\n public static isAdmin(): boolean {\n return false;\n }\n\n public static loadUser(userId: number | null) {\n if (userId) {\n SessionCookieStore.store({\n user_id: userId\n });\n }\n }\n\n public static Routes(): React.ReactElement[] {\n return [\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n }/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n )}/>,\n ];\n }\n\n public static HomeRoute(): React.ReactElement[] {\n return [\n }/>,\n }/>,\n }/>,\n }/>\n ];\n }\n\n public render(): React.ReactElement {\n return (\n \n \n {SEO.DefaultHeaders}\n \n \n \n \n {App.Routes().map((route) => route)}\n {App.HomeRoute().map((route) => route)}\n \n \n \n \n );\n }\n}\n\nexport default App\n","import React from 'react'\nimport { Button, Col, Collapse, Row } from 'antd';\nimport * as _ from 'lodash';\nimport { Link } from \"react-router-dom\";\nimport { Helmet } from \"react-helmet\";\nimport { observable, runInAction } from 'mobx';\n\nimport { ComponentWithStore, withStore } from 'models/RootStore';\nimport { Story } from 'models/story/Story';\nimport { Homepage as HomepageModel } from 'models/homepage/Homepage';\nimport AppStoreLink from 'components/shared/AppStoreLink';\nimport Catalogue from 'components/public/pages/home/Catalogue';\nimport GooglePlayLink from 'components/shared/GooglePlayLink';\nimport StoryMultiPanel from 'components/public/pages/home/StoryMultiPanel';\n\nimport \"./pages/home/Home.scss\";\nimport './Homepage.scss';\nimport { observer } from \"mobx-react\";\nimport DefaultFooter from \"layouts/footers/DefaultFooter\";\nimport Chevron from 'components/shared/icons/Chevron';\nimport DefaultHeader from \"layouts/headers/DefaultHeader\";\nimport { SubscriptionPlan } from 'models/subscriptionPlan/SubscriptionPlan';\nimport { IBillingPeriod } from 'models/subscription/Subscription';\n\nconst { Panel } = Collapse;\n\ninterface IHomepageProps {\n}\n\ninterface IHomepageState {\n loaded: boolean;\n email: string;\n}\n\n// Logged Out Homepage\nclass Homepage extends ComponentWithStore {\n @observable private stories: Story[];\n @observable private homepage: HomepageModel;\n @observable private subscriptionPlans: SubscriptionPlan[] = [];\n @observable private subscriptionPlan: SubscriptionPlan = null;\n private mounted = false;\n\n public constructor(props: IHomepageProps) {\n super(props);\n\n this.state = {\n loaded: false,\n email: ''\n };\n }\n\n public componentDidMount(): void {\n history.replaceState({}, '', '/');\n this.mounted = true;\n\n if (!this.state.loaded) {\n Promise.all([\n new HomepageModel(this.store.StoryProvider).fetchData().then((homepage) => this.homepage = homepage),\n this.store.StoryProvider.getFavourites().then((stories: Story[]) => this.stories = stories),\n this.store.SubscriptionPlanProvider.fetchAllForUser()\n .then((subscriptionPlans: SubscriptionPlan[]) => runInAction(() => this.subscriptionPlans = subscriptionPlans))\n .finally(() => this.finishedLoadingSubscriptions())\n ])\n .then(() => {\n if (this.mounted) {\n this.setState({ loaded: true });\n }\n });\n }\n }\n\n public componentWillUnmount() {\n this.mounted = false;\n }\n\n private finishedLoadingSubscriptions() {\n if (this.mounted) {\n this.subscriptionPlans.forEach(plan => {\n console.log(!plan.isFree());\n console.log(plan.billing_period);\n if (!plan.isFree() && plan.billing_period === IBillingPeriod.MONTHLY) {\n console.log(plan);\n this.subscriptionPlan = plan;\n }\n })\n }\n }\n\n static async ScrollDelay(ms) {\n return new Promise(res => setTimeout(res, ms));\n }\n\n private static async ScrollTo(goal) {\n // Add the goal to the current scroll position to get the\n // actual absolute position of the component to scroll to\n goal += window.scrollY;\n const difference = window.scrollY < goal ? 25 : -25\n for (let location = window.scrollY; location <= goal; location += difference) {\n window.scrollTo({ top: location, behavior: 'smooth' })\n await Homepage.ScrollDelay(1);\n }\n }\n\n public render(): React.ReactElement {\n if (!this.state.loaded) return
\n return (\n
\n \n Homepage\n \n \n {this.renderHeaderSection()}\n {this.renderBannerSection()}\n {this.renderFavouritesSection()}\n {this.renderTilesSection()}\n {this.renderMultiPanelSection()}\n {this.renderFAQSection()}\n {this.renderDownloadSection()}\n \n
\n );\n }\n\n private gotToRegister(): void {\n const { email } = this.state;\n\n if (email) {\n window.location.href = `/register?email=${email}`;\n } else {\n window.location.href = '/register'\n }\n }\n\n private renderHeaderSection(): React.ReactElement {\n const signIn = (\n \n \n
\n About \n
\n \n \n \n \n \n
\n Login \n
\n \n
\n );\n\n return (\n
\n \n
);\n }\n\n private renderBannerSection() {\n let posterUrl = this.homepage != null ? this.homepage.landscape_banner_image_url || this.homepage.portrait_banner_image_url : ''\n\n return (\n
\n \n
\n \n
\n \n \n

Interactive Stories for Kids.

\n
\n

The all-new storytelling app with series and standalone stories to Play, Watch, and Read!

\n
\n {/* {\n if (event.key === 'Enter') return this.gotToRegister();\n }}\n onChange={(event => this.setState(\n {email: event.target.value.toString()}))}/>*/}\n \n
\n
\n {this.subscriptionPlan !== null &&\n

{this.subscriptionPlan.getBannerPriceString()}

\n }\n
\n {/*

Want to send someone a Rascal Subscription?
Gift a subscription here!

*/}\n
\n \n
\n \n \n \n \n \n \n
\n );\n }\n\n private renderFavouritesSection(): React.ReactElement {\n return (\n \n \n \n );\n }\n\n private renderInteractiveTile(): React.ReactElement {\n return (\n \n
\n \n \n
\n
\n

Rascal

\n
\n
\n

\n Unlimited access to interactive stories.\n

\n
\n TRY FREE\n LEARN MORE\n
\n
\n
\n \n \n
\n {'Phone\n
\n \n
\n
\n \n );\n }\n\n private renderWhyRascalTile(): React.ReactElement {\n return (\n \n
\n
\n

What's New

\n

\n Upcoming Stories\n

\n
\n
\n {'Phone\n
\n
\n
\n
\n \n );\n }\n\n private renderUnlimitedAccessTile(): React.ReactElement {\n return (\n \n
\n
\n

Safety

\n

\n No in-app purchasing.
\n No advertising.\n

\n
\n
\n {'Phone\n
\n
\n
\n
\n \n );\n }\n\n private renderTilesSection() {\n return (\n \n
\n \n {this.renderInteractiveTile()}\n {this.renderWhyRascalTile()}\n {this.renderUnlimitedAccessTile()}\n \n
\n
\n\n );\n }\n\n private renderMultiPanelSection() {\n return (\n
\n \n
\n );\n }\n\n private renderFAQHeader(text) {\n return (\n
\n {text}\n
\n
+
\n
\n
\n );\n }\n\n private renderFAQAccordion(): React.ReactElement {\n return (\n \n \n

\n Rascal is an interactive storytelling platform designed to reignite the joy of reading for children.\n It offers on-demand access to high-quality illustrated and animated stories that kids can Play, Watch and Read simultaneously.\n Stories are streamed through and downloaded to your device, so they’re always ready to enjoy, anytime, anywhere.\n Perfect for kids aged 3–8, Rascal makes reading fun and engaging, tailored to their reading level and comprehension.\n

\n
\n \n

\n When you sign up for Rascal, you’ll need to provide your card details, but don’t worry — you won’t be charged right away.\n We offer a 3-day free trial so you can explore our library of interactive stories.\n If you decide Rascal isn’t for you, you can cancel anytime during the trial, and you won’t be charged.\n After the trial, your monthly or annual subscription will begin automatically.\n

\n
\n \n

\n Absolutely! Rascal is designed to be a safe and secure environment for children to explore.\n With no in-app purchases or advertisements, all our content is hosted on our private servers in a fully controlled environment.\n Only stories reviewed and approved by our team make it onto the platform, ensuring quality and safety.\n Rascal does not stream content from external websites or companies, so you can trust every story your child interacts with.\n

\n
\n
\n );\n }\n\n private renderFAQSection() {\n return (\n
\n
\n \n \n
\n

Frequently Asked Questions

\n
\n \n
\n \n \n
\n {this.renderFAQAccordion()}\n
\n \n
\n
\n
\n );\n }\n\n private renderDownloadSection() {\n return (\n \n \n

Download Rascal

\n

\n Access Rascal on your mobile phone or tablet\n

\n
\n \n \n
\n \n
\n )\n }\n}\n\nexport default withStore(observer(Homepage));\n","import React, {ChangeEvent, Component} from 'react';\nimport {computed, makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Form as AntdForm, Input} from 'antd';\nimport {FormLayout} from 'antd/es/form/Form';\n\nimport Value from 'helpers/Value';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\nimport CountrySelect from '../modules/CountrySelect';\n\nimport \"./Form.scss\";\n\ninterface IFormProps {\n billingAddress: BillingAddress,\n layout?: FormLayout\n}\n\ninterface IBillingAddressState {\n billingAddress: BillingAddress\n}\n\nclass Form extends Component {\n @observable private billingAddress: BillingAddress;\n private readonly layout: FormLayout;\n\n constructor(props: IFormProps) {\n super(props);\n makeObservable(this);\n this.billingAddress = this.props.billingAddress;\n this.layout = Value.default(this.props.layout, 'vertical');\n\n this.handleInputChange = this.handleInputChange.bind(this);\n this.onCountryChange = this.onCountryChange.bind(this);\n this.getCountry = this.getCountry.bind(this);\n }\n\n public componentDidUpdate(prevProps: Readonly, prevState: Readonly, snapshot?: any) {\n if (prevProps.billingAddress !== this.props.billingAddress) {\n this.billingAddress = this.props.billingAddress;\n }\n }\n\n @computed get name() {\n return this.billingAddress?.name\n }\n\n public getCountry(): string {\n return this.billingAddress.country;\n }\n\n public onCountryChange(value: string): void {\n this.billingAddress.setValue('country', value);\n }\n\n private handleInputChange(event: ChangeEvent): void {\n this.billingAddress.setValue(event.target.name, event.target.value);\n }\n\n public render(): React.ReactElement {\n return (\n \n

Billing Address

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n }\n}\n\nexport default observer(Form);\n","import React from 'react';\nimport {observer} from 'mobx-react';\nimport {Button, Row} from 'antd';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\n\ninterface IPreviewProps {\n billingAddress: BillingAddress,\n onEdit?: (billingAddress: BillingAddress) => void\n}\n\ninterface IPreviewState {\n}\n\nclass Preview extends ComponentWithStore {\n\n constructor(props: IPreviewProps) {\n super(props);\n }\n\n private renderEditButton(): React.ReactElement {\n const {billingAddress, onEdit} = this.props;\n\n if (!onEdit) return \n\n return (\n \n \n \n );\n }\n\n public render(): React.ReactElement {\n const {billingAddress} = this.props;\n\n return (\n \n
\n

{billingAddress.name}

\n

{billingAddress.line1}

\n

{billingAddress.line2}

\n

{billingAddress.city}

\n

{billingAddress.state}

\n

{billingAddress.zip}

\n

{billingAddress.country}

\n
\n {this.renderEditButton()}\n
\n );\n }\n}\n\nexport default withStore(observer(Preview));\n","import React from 'react';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Form, Row} from 'antd';\nimport {FormLayout} from 'antd/es/form/Form';\n\nimport Value from 'helpers/Value';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\n\nimport BillingAddresses from './_BillingAddresses';\nimport CreditCards from '../credit_cards/_CreditCards';\n\ninterface IBillingAddressProps {\n billingAddress?: BillingAddress,\n onSave?: (BillingAddress) => void,\n layout?: FormLayout\n}\n\ninterface IBillingAddressState {\n disableSave: boolean\n}\n\nclass SetupForm extends ComponentWithStore {\n @observable private readonly billingAddress: BillingAddress;\n private readonly layout: FormLayout;\n\n constructor(props: IBillingAddressProps) {\n super(props);\n makeObservable(this);\n this.billingAddress = Value.default(this.props.billingAddress, (new BillingAddress(this.store.BillingAddressProvider)).withCurrentUser());\n this.layout = Value.default(this.props.layout, 'vertical');\n\n this.state = {\n disableSave: false\n };\n\n this.onSaveCreditCard = this.onSaveCreditCard.bind(this);\n this.saveClicked = this.saveClicked.bind(this);\n }\n\n public onSaveCreditCard(): void {\n if (this.props.onSave != null) {\n this.props.onSave(this.billingAddress);\n }\n }\n\n public saveClicked(): void {\n this.setState({disableSave: true});\n this.billingAddress.save()\n .then(() => {\n if (this.props.onSave != null) {\n this.props.onSave(this.billingAddress);\n }\n this.setState({disableSave: false});\n });\n }\n\n private renderSubmitButton(): React.ReactElement {\n return (\n \n \n \n );\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n \n \n \n \n {this.renderSubmitButton()}\n \n \n
\n );\n }\n}\n\nexport default withStore(observer(SetupForm));\n","import SetupForm from './SetupForm';\nimport Form from './Form';\nimport Preview from './Preview';\n\nconst BillingAddresses = {\n SetupForm: SetupForm,\n Form: Form,\n Preview: Preview\n};\n\nexport default BillingAddresses;","import React, {ChangeEvent, Component} from \"react\";\nimport {Button, Input, InputRef} from \"antd\";\nimport CouponApi from \"models/coupon/CouponApi\";\nimport {ICouponApiData} from \"models/coupon/ICouponApiData\";\nimport Coupon from \"models/coupon/Coupon\";\n\nimport \"./CouponForm.scss\";\n\ninterface ICouponFormProps {\n subscriptionPlanId: number;\n coupon?: Coupon | null;\n onCouponAdded: (coupon: Coupon) => Coupon | null;\n}\n\ninterface ICouponFormState {\n coupon: Coupon | null;\n loaded: boolean;\n addCoupon: boolean;\n\n errorMsg: string;\n}\n\nclass CouponForm extends Component {\n\n private mounted: boolean = false;\n private code: string;\n\n constructor(props: ICouponFormProps) {\n super(props);\n\n this.removeCoupon = this.removeCoupon.bind(this);\n this.handleEnterKey = this.handleEnterKey.bind(this);\n\n this.state = {\n coupon: null,\n loaded: false,\n addCoupon: false,\n errorMsg: null\n };\n }\n\n componentDidMount() {\n this.mounted = true;\n this.checkIfCampaignHasCoupon();\n }\n\n componentWillUnmount() {\n this.mounted = false;\n }\n\n handleEnterKey(event: React.KeyboardEvent) {\n if (event.key == \"Enter\") {\n this.checkCode();\n }\n }\n\n checkIfCampaignHasCoupon() {\n const {subscriptionPlanId, coupon} = this.props;\n CouponApi.getUserCampaignCoupon(subscriptionPlanId).then((couponData: ICouponApiData) => {\n if (this.mounted && coupon == null && couponData?.code != null) {\n const campaignCoupon = new Coupon().withData(couponData);\n this.setState({coupon: campaignCoupon, loaded: true});\n this.props.onCouponAdded(campaignCoupon);\n } else if (this.mounted) {\n if (coupon?.applicableTo(subscriptionPlanId)) {\n this.setState({loaded: true, coupon: coupon})\n } else {\n this.setState({loaded: true, coupon: null});\n this.props.onCouponAdded(null);\n }\n }\n });\n }\n\n checkCode() {\n const {subscriptionPlanId} = this.props;\n this.setState({errorMsg: null});\n CouponApi.check(this.code, subscriptionPlanId).then((couponData: ICouponApiData) => {\n if (this.mounted) {\n if (couponData?.code == null) {\n this.setState({coupon: null});\n this.props.onCouponAdded(null);\n } else {\n const coupon = new Coupon().withData(couponData);\n this.setState({coupon: coupon});\n this.props.onCouponAdded(coupon);\n }\n }\n }).then(() => {\n if (this.mounted) {\n this.setState({addCoupon: false});\n }\n }).catch((error) => {\n console.log('Error occurred while checking coupon code', error);\n if (error.status == 404) {\n error.json().then((errorData) => {\n this.setState({errorMsg: errorData.error});\n })\n }\n this.setState({errorMsg: error.message})\n });\n }\n\n removeCoupon() {\n this.code = '';\n this.setState({coupon: null});\n this.props.onCouponAdded(null);\n }\n\n render(): React.ReactElement {\n const {loaded} = this.state;\n if (!loaded) return ;\n return (\n
\n

Coupon

\n {this.renderContent()}\n
\n );\n }\n\n renderContent(): React.ReactElement {\n const {coupon, addCoupon, errorMsg} = this.state;\n if (coupon !== null) {\n return (\n
\n
Code: {coupon.code}
\n \n
{coupon.description}
\n
\n );\n }\n if (addCoupon) {\n return (\n
\n
\n this.handleEnterKey(event)} placeholder={'Enter code'} type={'text'} onChange={(evt: React.ChangeEvent) => this.code = evt.target.value} />\n
{errorMsg != null && errorMsg}
\n
\n
\n
\n );\n }\n\n return (\n
this.setState({addCoupon: true})}>\n \n
\n )\n }\n}\n\nexport default CouponForm;\n","import React from 'react';\nimport {observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {loadStripe} from '@stripe/stripe-js/pure';\nimport {StripeElementsOptions} from '@stripe/stripe-js';\nimport {Elements, ElementsConsumer} from '@stripe/react-stripe-js';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {Subscription} from 'models/subscription/Subscription';\nimport {CreditCardApi} from 'models/creditCard/CreditCardApi';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\n\nimport SimpleCreditCardForm from 'components/public/credit_cards/SimpleCreditCardForm';\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport '../stripe.scss'\nimport './style.scss'\n\nloadStripe.setLoadParameters({advancedFraudSignals: false});\n\ninterface IStripeCreditCardProps {\n routeParams: { subscriptionId: string };\n}\n\ninterface IStripeCreditCardState {\n stripePromise: any;\n options: StripeElementsOptions;\n loaded: boolean;\n selectedCreditCardId: number | null;\n}\n\nclass CreditCardNew extends ComponentWithStore {\n @observable private subscription: Subscription;\n @observable private billingAddress: BillingAddress;\n @observable private selectedCreditCardId: number | null;\n\n constructor(props: IStripeCreditCardProps) {\n super(props);\n\n this.state = {\n stripePromise: null,\n options: null,\n loaded: false,\n selectedCreditCardId: null\n };\n }\n\n public componentDidMount(): void {\n const {stripePromise} = this.state;\n\n let id: number = Number(this.props.routeParams.subscriptionId);\n this.subscription = new Subscription(this.store.SubscriptionProvider).withId(id);\n this.subscription.fetchData()\n .then(() => {\n this.billingAddress = new BillingAddress(this.store.BillingAddressProvider).withId(this.subscription.billing_address_id)\n return this.billingAddress.fetchData();\n })\n .then(() => this.setState({loaded: true}));\n\n CreditCardApi.newIntent(this.store.SessionProvider.userId())\n .then(newIntentJson => this.setState({options: {clientSecret: newIntentJson.client_secret}}));\n\n if (!stripePromise) {\n this.setState({stripePromise: loadStripe(process.env.STRIPE_KEY)});\n }\n }\n\n public render(): React.ReactElement {\n const {stripePromise, options, loaded, selectedCreditCardId} = this.state;\n\n if (stripePromise === null || options === null || !loaded) {\n return (\n
\n Loading...\n
\n );\n }\n\n return (\n \n
\n
\n \n \n {({stripe, elements}) => (\n this.setState({\n selectedCreditCardId: id\n })}\n />\n )}\n \n \n
\n
\n
\n );\n }\n}\n\nexport default observer(CreditCardNew);\n","import React from 'react';\nimport {observer} from 'mobx-react';\nimport {loadStripe} from '@stripe/stripe-js/pure';\nimport {StripeElementsOptions} from '@stripe/stripe-js';\nimport {Elements, ElementsConsumer} from '@stripe/react-stripe-js';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\nimport {CreditCardApi} from 'models/creditCard/CreditCardApi';\n\nimport StripePaymentForm from 'components/public/credit_cards/StripePaymentForm';\n\nimport '../stripe.scss'\nimport './style.scss'\nimport {LoadingOutlined} from \"@ant-design/icons\";\nimport Coupon from \"models/coupon/Coupon\";\n\nloadStripe.setLoadParameters({advancedFraudSignals: false});\n\ninterface IStripeCreditCardProps {\n billingAddress: BillingAddress;\n subscriptionPlan: SubscriptionPlan;\n coupon?: Coupon | null;\n onSave: (stripeSetupIntentId: string, creditCardId: number) => Promise;\n onCouponAdded: (coupon: Coupon) => Coupon | null;\n editBillingAddress: (event: React.MouseEvent) => void;\n editSubscriptionPlan: (event: React.MouseEvent) => void;\n disableSave?: boolean;\n errorMessage: { name: string, message: string } | null;\n}\n\ninterface IStripeCreditCardState {\n stripePromise: any;\n options: StripeElementsOptions;\n}\n\nconst MemoStripePaymentForm = React.memo(StripePaymentForm);\n\nclass SetupForm extends ComponentWithStore {\n mounted: boolean = false;\n\n constructor(props: IStripeCreditCardProps) {\n super(props);\n\n this.state = {\n stripePromise: null,\n options: null\n };\n }\n\n public componentDidMount(): void {\n this.mounted = true;\n const {stripePromise} = this.state;\n\n CreditCardApi.newIntent(this.store.SessionProvider.userId())\n .then(newIntentJson => this.setState({options: {clientSecret: newIntentJson.client_secret}}));\n\n if (!stripePromise) {\n const stripePromise = loadStripe(process.env.STRIPE_KEY)\n this.setState({\n stripePromise: stripePromise\n });\n }\n }\n\n public componentWillUnmount() {\n this.mounted = false;\n }\n\n public render(): React.ReactElement {\n const {stripePromise, options} = this.state;\n const {\n billingAddress,\n subscriptionPlan,\n coupon,\n onSave,\n onCouponAdded,\n editBillingAddress,\n editSubscriptionPlan,\n disableSave,\n errorMessage\n } = this.props;\n\n return (\n \n \n {({stripe, elements}) => {\n if (!stripe || !options) return this.renderLoadingSpinner();\n return (\n \n );\n }}\n \n \n );\n }\n\n renderLoadingSpinner(): React.ReactElement {\n return (\n
\n \n
\n );\n }\n}\n\nexport default SetupForm;\n","import React, {Fragment} from 'react';\nimport * as _ from 'lodash';\nimport logger from 'loglevel';\nimport {observer} from 'mobx-react';\nimport {loadStripe} from '@stripe/stripe-js/pure';\nimport {ConfirmCardSetupData, SetupIntent, Stripe, StripeElements, StripeElementsOptions} from '@stripe/stripe-js';\nimport {CardElement} from '@stripe/react-stripe-js';\nimport {PaymentMethodCreateParams} from '@stripe/stripe-js/types/api/payment-methods';\nimport {SetupIntentResult} from '@stripe/stripe-js/types/stripe-js/stripe';\nimport {Button, Radio, Row} from 'antd';\nimport {RadioChangeEvent} from 'antd/lib/radio/interface';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\nimport {Subscription} from 'models/subscription/Subscription';\nimport {CreditCardApi} from 'models/creditCard/CreditCardApi';\nimport {ICreditCardApiData} from 'models/creditCard/ICreditCardApiData';\n\nimport '../stripe.scss'\nimport './style.scss'\n\nloadStripe.setLoadParameters({advancedFraudSignals: false});\n\ninterface ICreditCardProps {\n stripe: Stripe;\n elements: StripeElements;\n options: StripeElementsOptions;\n subscription: Subscription;\n billingAddress: BillingAddress;\n selectedCreditCardId?: number | null;\n onCreditCardSelection?: (id: number) => void;\n}\n\ninterface ICreditCardState {\n errorMessage: string;\n submitting: boolean;\n newCreditCard: boolean;\n creditCards: ICreditCardApiData[];\n selectedCreditCardId?: number;\n}\n\nclass SimpleCreditCardForm extends ComponentWithStore {\n private readonly disableSave: boolean;\n\n constructor(props: ICreditCardProps) {\n super(props);\n\n let selectedCreditCardId = {}\n if (props.selectedCreditCardId) {\n selectedCreditCardId['selectedCreditCardId'] = props.selectedCreditCardId;\n }\n\n this.state = {\n errorMessage: '',\n submitting: false,\n newCreditCard: true,\n creditCards: [],\n ...selectedCreditCardId\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.handleSelectCreditCard = this.handleSelectCreditCard.bind(this);\n }\n\n public componentDidMount(): void {\n CreditCardApi.getAll(this.store.SessionProvider.userId())\n .then((creditCards: ICreditCardApiData[]) => {\n const {selectedCreditCardId} = this.state;\n let newSelectedCreditCardId = selectedCreditCardId;\n if (creditCards) {\n if (creditCards.length > 0 && !selectedCreditCardId) {\n newSelectedCreditCardId = creditCards[0].id;\n }\n this.setState({\n newCreditCard: creditCards.length === 0,\n creditCards: creditCards,\n selectedCreditCardId: newSelectedCreditCardId\n });\n }\n });\n }\n\n private handleSelectCreditCard(e: RadioChangeEvent): void {\n const {onCreditCardSelection} = this.props;\n let value = e.target.value;\n if (onCreditCardSelection) {\n onCreditCardSelection(value as number);\n }\n this.setState({\n selectedCreditCardId: e.target.value\n });\n };\n\n private onSaveCreditCard(stripeSetupIntentId: string, creditCardId: number): Promise {\n const {subscription} = this.props;\n\n return this.store.SubscriptionProvider.update(subscription.id, {\n stripe_setup_intent: stripeSetupIntentId,\n credit_card_id: creditCardId\n })\n .then((result) => {\n })\n .catch(response => response.json()\n .then((result) => {\n if (result.codes?.includes('ERK|602') || result.codes?.includes('ERK|604')) {\n console.log('Invalid key provided');\n } else if (result.codes?.includes('ERK|603')) {\n } else {\n logger.error('An error has occurred while submitting subscription:', result);\n console.log(result.message);\n }\n })\n .catch(error => {\n logger.error('An error has occurred while submitting subscription and it failed to parse:', response, error);\n })\n );\n }\n\n public async handleSubmit(event) {\n event.preventDefault();\n\n const {stripe, elements, billingAddress} = this.props;\n const {newCreditCard} = this.state;\n\n if (!stripe || !elements) {\n // Stripe.js has not yet loaded.\n // Make sure to disable form submission until Stripe.js has loaded.\n return;\n }\n\n this.setState({submitting: true});\n\n return this.confirmCardSetup()\n .then(({setupIntent, error}: SetupIntentResult) => {\n if (error) {\n console.log(error);\n this.setState({\n errorMessage: error.message,\n submitting: false\n });\n throw error;\n }\n\n return setupIntent;\n })\n .then((setupIntent: SetupIntent) => stripe.retrieveSetupIntent(setupIntent.client_secret))\n .then(({setupIntent, error}: SetupIntentResult) => {\n // Inspect the SetupIntent `status` to indicate the status of the payment\n // to your customer.\n //\n // Some payment methods will [immediately succeed or fail][0] upon\n // confirmation, while others will first enter a `processing` state.\n //\n // [0]: https://stripe.com/docs/payments/payment-methods#payment-notification\n\n if (error) {\n console.log(error);\n this.setState({\n errorMessage: error.message,\n submitting: false\n });\n throw error;\n }\n\n switch (setupIntent.status) {\n case 'processing':\n this.setState({errorMessage: 'Processing payment details. We\\'ll update you when processing is complete.'});\n break;\n\n case 'requires_payment_method':\n // Redirect your user back to your payment page to attempt collecting\n // payment again\n let message: string = 'Failed to process payment details. Please try another payment method.';\n this.setState({errorMessage: message});\n throw new Error(message);\n }\n\n if (newCreditCard) {\n return CreditCardApi.create({\n userId: this.store.SessionProvider.userId(),\n billingAddressId: billingAddress.id,\n paymentMethod: setupIntent.payment_method\n }).then((json: { credit_card: { id: number } }) => this.onSaveCreditCard(setupIntent.id, json.credit_card.id));\n } else {\n return this.onSaveCreditCard(setupIntent.id, this.getSelectedCreditCard().id);\n }\n })\n .then(() => {\n window.location.href = '/account';\n this.setState({submitting: false});\n })\n .catch(() => this.setState({submitting: false}));\n }\n\n private getSelectedCreditCard(): ICreditCardApiData | null {\n const {creditCards, selectedCreditCardId} = this.state;\n\n return _.find(creditCards, value => value.id === selectedCreditCardId);\n }\n\n private getExistingCardData(): ConfirmCardSetupData | null {\n let creditCard: ICreditCardApiData | null = this.getSelectedCreditCard();\n\n return creditCard ? {\n payment_method: creditCard.stripe_id\n } : null;\n\n }\n\n private getNewCardData(): ConfirmCardSetupData {\n const {elements} = this.props;\n\n return {\n payment_method: {\n card: elements.getElement(CardElement),\n billing_details: this.getBillingDetails()\n }\n };\n }\n\n private getBillingDetails(): PaymentMethodCreateParams.BillingDetails {\n const {billingAddress} = this.props;\n\n return {\n 'name': billingAddress.name,\n 'address': {\n 'city': billingAddress.city,\n 'country': billingAddress.country,\n 'line1': billingAddress.line1,\n 'line2': billingAddress.line2,\n 'postal_code': billingAddress.zip,\n 'state': billingAddress.state\n }\n };\n }\n\n private async confirmCardSetup(): Promise {\n const {stripe, options} = this.props;\n const {newCreditCard} = this.state;\n\n let data: ConfirmCardSetupData | null = newCreditCard ? this.getNewCardData() : this.getExistingCardData();\n\n if (!data) return {\n error: {\n type: 'invalid_request_error',\n message: 'Invalid card data provided'\n }\n }\n\n return await stripe.confirmCardSetup(options.clientSecret, data);\n }\n\n private renderSelectCreditCard(): React.ReactElement {\n const {creditCards, selectedCreditCardId} = this.state;\n\n return (\n \n {creditCards.length === 0 ?\n No existing cards\n :\n \n {creditCards.map(creditCard => (\n \n Card ending with {creditCard.last_four_digits}\n \n ))}\n \n }\n\n this.setState({newCreditCard: true})}>\n New Credit Card\n \n \n );\n }\n\n private renderCardElement(): React.ReactElement {\n return (\n \n \n
\n this.setState({newCreditCard: false})}>\n Use Saved Credit Card\n \n
\n
\n );\n }\n\n private renderButton(): React.ReactElement {\n const {elements, stripe} = this.props;\n const {submitting} = this.state;\n\n return (\n \n );\n }\n\n public render(): React.ReactElement {\n const {errorMessage, newCreditCard} = this.state;\n\n return (\n \n \n

Payment

\n
\n {newCreditCard ? this.renderCardElement() : this.renderSelectCreditCard()}\n
\n {errorMessage &&
{errorMessage}
}\n {this.renderButton()}\n
\n );\n }\n}\n\nexport default observer(SimpleCreditCardForm);\n","import React, {Fragment} from 'react';\nimport * as _ from 'lodash';\nimport {observer} from 'mobx-react';\nimport {loadStripe} from '@stripe/stripe-js/pure';\nimport {ConfirmCardSetupData, SetupIntent, Stripe, StripeElements, StripeElementsOptions} from '@stripe/stripe-js';\nimport {CardElement} from '@stripe/react-stripe-js';\nimport {PaymentMethodCreateParams} from '@stripe/stripe-js/types/api/payment-methods';\nimport {SetupIntentResult} from '@stripe/stripe-js/types/stripe-js/stripe';\nimport {Button, Radio, Row} from 'antd';\nimport {RadioChangeEvent} from 'antd/lib/radio/interface';\n\nimport Value from 'helpers/Value';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\nimport {CreditCardApi} from 'models/creditCard/CreditCardApi';\nimport {ICreditCardApiData} from 'models/creditCard/ICreditCardApiData';\n\nimport '../stripe.scss'\nimport './style.scss'\nimport {LoadingOutlined} from \"@ant-design/icons\";\nimport CouponForm from \"components/public/coupons/CouponForm\";\nimport Coupon from \"models/coupon/Coupon\";\n\nloadStripe.setLoadParameters({advancedFraudSignals: false});\n\ninterface ICreditCardProps {\n stripe: Stripe;\n elements: StripeElements;\n options: StripeElementsOptions;\n billingAddress: BillingAddress;\n subscriptionPlan?: SubscriptionPlan;\n coupon?: Coupon | null;\n disableSave?: boolean;\n onCouponAdded?: (coupon: Coupon) => Coupon | null;\n onSave: (stripeSetupIntentId: string, creditCardId: number) => Promise;\n editBillingAddress: (event: React.MouseEvent) => void;\n editSubscriptionPlan?: (event: React.MouseEvent) => void;\n\n hideHeader?: boolean;\n\n buttonText?: string;\n errorMessage?: { name: string, message: string } | null;\n}\n\ninterface ICreditCardState {\n errorMessage: string;\n submitting: boolean;\n newCreditCard: boolean;\n creditCards: ICreditCardApiData[];\n selectedCreditCardId?: number;\n coupon: Coupon | null;\n}\n\nclass StripePaymentForm extends ComponentWithStore {\n private readonly disableSave: boolean;\n private mounted = false;\n private loadedCards = false;\n private setupIntent: SetupIntent | null = null;\n\n constructor(props: ICreditCardProps) {\n super(props);\n\n this.disableSave = Value.defaultFalse(this.props.disableSave);\n\n this.state = {\n errorMessage: '',\n submitting: false,\n newCreditCard: true,\n creditCards: [],\n coupon: null,\n };\n\n this.handleSubmit = this.handleSubmit.bind(this);\n this.handleSelectCreditCard = this.handleSelectCreditCard.bind(this);\n this.handleCoupon = this.handleCoupon.bind(this);\n }\n\n public componentDidMount(): void {\n this.mounted = true;\n if (!this.loadedCards) {\n this.getCreditCards();\n }\n }\n\n public getCreditCards() {\n CreditCardApi.getAll(this.store.SessionProvider.userId())\n .then((creditCards: ICreditCardApiData[]) => {\n if (creditCards && this.mounted) {\n this.loadedCards = true;\n const {selectedCreditCardId} = this.state;\n let newSelectedCreditCardId = selectedCreditCardId;\n if (creditCards.length > 0 && !selectedCreditCardId) {\n newSelectedCreditCardId = creditCards[0].id;\n }\n this.setState({\n newCreditCard: creditCards.length === 0,\n creditCards: creditCards,\n selectedCreditCardId: newSelectedCreditCardId\n });\n }\n });\n }\n\n public componentWillUnmount() {\n this.mounted = false;\n }\n\n private handleSelectCreditCard(e: RadioChangeEvent): void {\n this.setState({\n selectedCreditCardId: e.target.value\n });\n };\n\n private handleCoupon(coupon) {\n const { onCouponAdded } = this.props;\n // this.setState({\n // coupon: coupon\n // });\n onCouponAdded(coupon);\n return coupon;\n }\n\n public async handleSubmit(event) {\n event.preventDefault();\n\n const {stripe, elements, billingAddress, onSave} = this.props;\n const {newCreditCard} = this.state;\n\n if (!stripe || !elements) {\n // Stripe.js has not yet loaded.\n // Make sure to disable form submission until Stripe.js has loaded.\n console.log('Stripe or Elements are not loaded...')\n return;\n }\n this.setState({errorMessage: null, submitting: true});\n if (billingAddress != null && billingAddress.id == null) {\n await billingAddress.save();\n }\n\n return this.confirmCardSetup().catch((error) => {\n console.log('confirmCardSetupError', error);\n })\n .then(({setupIntent, error}: SetupIntentResult) => {\n console.log('setupIntent!', setupIntent);\n if (error) {\n console.log(error);\n this.setState({\n errorMessage: error.message,\n submitting: false\n });\n throw error;\n }\n\n return setupIntent;\n })\n .then((setupIntent: SetupIntent) => stripe.retrieveSetupIntent(setupIntent.client_secret))\n .then(({setupIntent, error}: SetupIntentResult) => {\n // Inspect the SetupIntent `status` to indicate the status of the payment\n // to your customer.\n //\n // Some payment methods will [immediately succeed or fail][0] upon\n // confirmation, while others will first enter a `processing` state.\n //\n // [0]: https://stripe.com/docs/payments/payment-methods#payment-notification\n\n if (error) {\n console.log(error);\n this.setState({\n errorMessage: error.message,\n submitting: false\n });\n throw error;\n }\n\n this.setupIntent = setupIntent;\n switch (setupIntent.status) {\n case 'processing':\n this.setState({errorMessage: 'Processing payment details. We\\'ll update you when processing is complete.'});\n break;\n\n case 'requires_payment_method':\n // Redirect your user back to your payment page to attempt collecting\n // payment again\n let message: string = 'Failed to process payment details. Please try another payment method.';\n this.setState({errorMessage: message});\n throw new Error(message);\n }\n\n if (newCreditCard) {\n return CreditCardApi.create({\n userId: this.store.SessionProvider.userId(),\n billingAddressId: billingAddress?.id,\n paymentMethod: setupIntent.payment_method\n }).then((json: { credit_card: { id: number } }) => onSave(setupIntent.id, json.credit_card.id));\n } else {\n console.log('onSave!', setupIntent.id, this.getSelectedCreditCard().id);\n return onSave(setupIntent.id, this.getSelectedCreditCard().id);\n }\n })\n .then(() => {\n if (this.mounted) {\n this.setState({submitting: false});\n }\n })\n .catch((error) => {\n console.log(error);\n if (this.mounted) {\n this.setState({submitting: false});\n }\n });\n }\n\n private getExistingCardData(): ConfirmCardSetupData | null {\n let creditCard: ICreditCardApiData | null = this.getSelectedCreditCard();\n\n return creditCard ? {\n payment_method: creditCard.stripe_id\n } : null;\n\n }\n\n private getSelectedCreditCard(): ICreditCardApiData | null {\n const {creditCards, selectedCreditCardId} = this.state;\n\n return _.find(creditCards, value => value.id === selectedCreditCardId);\n }\n\n private getNewCardData(): ConfirmCardSetupData {\n const {elements} = this.props;\n\n return {\n payment_method: {\n card: elements.getElement(CardElement),\n billing_details: this.getBillingDetails()\n }\n };\n }\n\n private getBillingDetails(): PaymentMethodCreateParams.BillingDetails {\n const {billingAddress} = this.props;\n\n return {\n 'name': billingAddress.name,\n 'address': {\n 'city': billingAddress.city,\n 'country': billingAddress.country,\n 'line1': billingAddress.line1,\n 'line2': billingAddress.line2,\n 'postal_code': billingAddress.zip,\n 'state': billingAddress.state\n }\n };\n }\n\n private async confirmCardSetup(): Promise {\n const {newCreditCard} = this.state;\n const {stripe, options} = this.props;\n\n let data: ConfirmCardSetupData | null = newCreditCard ? this.getNewCardData() : this.getExistingCardData();\n\n if (!data) return {\n error: {\n type: 'invalid_request_error',\n message: 'Invalid card data provided'\n }\n }\n if (this.setupIntent && this.setupIntent.status === \"succeeded\") {\n return {\n setupIntent: this.setupIntent\n };\n }\n return await stripe.confirmCardSetup(options.clientSecret, data);\n }\n\n private renderBillingAddress() {\n const {billingAddress, editBillingAddress} = this.props;\n if (!billingAddress) return;\n\n return (\n
\n
\n
\n

Address

\n {billingAddress.name}
\n {billingAddress.line1}
\n {billingAddress.line2}
\n {billingAddress.city}
\n {billingAddress.state}
\n {billingAddress.zip}
\n {billingAddress.country}
\n
\n
\n Edit\n
\n
\n
\n );\n }\n\n private renderPaymentDetails(): React.ReactElement {\n const {subscriptionPlan, editSubscriptionPlan, onCouponAdded, coupon} = this.props;\n\n if (subscriptionPlan == null) return;\n\n return (\n \n
\n
\n

Subscription Details

\n {subscriptionPlan.getPriceString()}{subscriptionPlan.getPricePeriod()}
\n {coupon && this.renderCouponSegment(coupon, subscriptionPlan)}\n \n {subscriptionPlan.name} Plan
\n
\n
\n Edit\n
\n {onCouponAdded && }\n
\n
\n );\n }\n\n private renderCouponSegment(coupon, subscriptionPlan) {\n if (coupon.trial) {\n return (\n \n {coupon.trialDescription()}
\n
\n )\n }\n return (\n \n {subscriptionPlan.getCouponPriceString(coupon)}{subscriptionPlan.getPricePeriod()}
\n
\n )\n \n }\n\n private renderSelectCreditCard(): React.ReactElement {\n const {creditCards, selectedCreditCardId} = this.state;\n return (\n \n {creditCards.length === 0 ?\n No existing cards\n :\n \n {creditCards.map(creditCard => (\n \n Card ending with {creditCard.last_four_digits}\n \n ))}\n \n }\n
\n this.setState({newCreditCard: true})}>\n New Credit Card\n \n
\n\n
\n );\n }\n\n private renderCardElement(): React.ReactElement {\n const {creditCards} = this.state;\n\n return (\n \n \n\n {creditCards.length !== 0 && (\n
\n this.setState({newCreditCard: false})}>\n Use Saved Credit Card\n \n
\n\n )}\n
\n );\n }\n\n private renderButton(): React.ReactElement {\n const {elements, stripe, buttonText, errorMessage} = this.props;\n const {submitting} = this.state;\n\n let buttonInnerText = buttonText != null ? buttonText : 'Start Rascal Membership';\n let buttonElement = submitting ? : buttonInnerText;\n\n return (\n
\n {errorMessage &&
{errorMessage.message}
}\n\n \n
\n );\n }\n\n public render(): React.ReactElement {\n const {errorMessage, newCreditCard} = this.state;\n\n return (\n \n {this.renderHeader()}\n {this.renderBillingAddress()}\n {this.renderPaymentDetails()}\n
\n
\n

Credit Card

\n {newCreditCard ? this.renderCardElement() : this.renderSelectCreditCard()}\n
\n
\n
\n {errorMessage &&
{errorMessage}
}\n {this.renderButton()}\n
\n );\n }\n\n private renderHeader() {\n const {hideHeader} = this.props;\n if (hideHeader) return;\n return (\n \n \n

Payment

\n
\n \n

\n Access to Rascal starts as soon as you set up payment.\n

\n

\n Cancel anytime, effective at the end of the payment period.\n

\n
\n
\n );\n }\n}\n\nexport default observer(StripePaymentForm);\n","import SetupForm from './SetupForm';\n\nconst CreditCards = {\n SetupForm: SetupForm\n};\n\nexport default CreditCards;","import {Hash} from \"../../../types/hash\";\nimport React, {Component} from \"react\";\nimport {Select} from \"antd\";\nimport countryList from 'country-list';\n\nconst { Option } = Select;\n\ninterface ICountrySelectProps {\n country: string,\n onCountryChange: (string) => void\n}\n\nclass CountrySelect extends Component {\n public static countryListNames = countryList.getNames();\n\n render() {\n const { country, onCountryChange } = this.props;\n return (\n \n option.children.toString().toLowerCase().indexOf(input.toLowerCase()) >= 0\n }\n >\n {CountrySelect.countryListNames.sort().map((name) => {\n const code = countryList.getCode(name);\n return (\n \n );\n })}\n \n );\n }\n}\n\nexport default CountrySelect;\n","import React from 'react';\nimport {DashboardModal} from '@uppy/react';\nimport Uppy from '@uppy/core';\nimport AwsS3Multipart from '@uppy/aws-s3-multipart';\nimport {Button} from 'antd';\nimport {ExclamationCircleOutlined} from '@ant-design/icons'\nimport SuccessButton from 'components/public/modules/success_button/SuccessButton';\n\ninterface ISingleUploaderProps {\n onUploadSuccess: (response: any) => void;\n onUploadClear: () => void;\n}\n\ninterface ISingleUploaderState {\n modalOpen: boolean;\n uploaded: boolean;\n uploadedFile: any;\n}\n\nclass Single extends React.Component {\n private readonly uppy;\n\n constructor(props) {\n super(props);\n this.uppy = new Uppy({\n restrictions: {\n minNumberOfFiles: null,\n maxNumberOfFiles: 1\n }\n }).use(AwsS3Multipart, {\n limit: 4,\n companionUrl: '/'\n });\n\n this.uppy.on('upload-success', (file, response) => {\n response.url = response.uploadURL.replace(/\\?.*/, '');\n this.props.onUploadSuccess(response);\n this.setState({\n uploaded: true,\n uploadedFile: file\n })\n });\n\n this.state = {\n modalOpen: false,\n uploaded: false,\n uploadedFile: null\n };\n\n this.handleOpen = this.handleOpen.bind(this);\n this.handleClose = this.handleClose.bind(this);\n this.handleClear = this.handleClear.bind(this);\n }\n\n private handleOpen(): void {\n this.setState({modalOpen: true});\n }\n\n private handleClose(): void {\n this.setState({modalOpen: false});\n }\n\n private handleClear(): void {\n this.uppy.reset();\n this.setState({\n uploaded: false,\n uploadedFile: null\n });\n this.props.onUploadClear();\n }\n\n public componentWillUnmount(): void {\n this.uppy.close();\n }\n\n private renderClearButton(): React.ReactElement {\n if (!this.state.uploaded) return ;\n\n return (\n \n );\n }\n\n public render(): React.ReactElement {\n return (\n \n \n {this.renderClearButton()}\n \n \n );\n }\n}\n\nconst Uploader = {\n Single\n};\n\nexport default Uploader;\n","import React from \"react\";\nimport {Button} from \"antd\";\nimport {CheckCircleOutlined} from \"@ant-design/icons\";\n\nimport './styles.scss';\n\ninterface ISuccessButtonProps {\n success: boolean,\n defaultText: string,\n successText: string,\n onClick: () => void\n}\n\nclass SuccessButton extends React.Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n if (this.props.success) {\n return this.renderSuccessButton();\n } else {\n return this.renderDefaultButton();\n }\n }\n\n renderDefaultButton() {\n return (\n \n );\n }\n\n renderSuccessButton() {\n return (\n \n );\n }\n}\n\nexport default SuccessButton;\n","import React, {Component} from 'react';\nimport {notification, Typography} from 'antd';\nimport {EditOutlined} from '@ant-design/icons';\n\nimport './EditValueInPlace.scss';\n\nconst {Text} = Typography;\n\nexport interface IEditValueInPlaceProps {\n value: string | number | null;\n name: string;\n inline?: boolean;\n nullEmptyString?: boolean;\n error?: string;\n postText?: string | React.ReactElement;\n}\n\nexport interface IEditValueInPlaceState {\n error: string | null;\n editing: boolean;\n}\n\nclass EditValueInPlace extends Component {\n protected onChangeCallback: (value: string | number | null) => void;\n protected format: 'string' | 'number';\n protected allowNegative: boolean = false;\n protected className: string = 'rk-edit-value-in-place';\n\n constructor(props: T) {\n super(props);\n this.state = {\n error: this.props.error,\n editing: false\n };\n\n this.startedEditing = this.startedEditing.bind(this);\n this.onChange = this.onChange.bind(this);\n this.endedEditing = this.endedEditing.bind(this);\n }\n\n public componentDidUpdate(prevProps: Readonly, prevState: Readonly, snapshot?: any): void {\n if (this.props.error !== prevProps.error) {\n this.setState({\n error: this.props.error\n });\n\n if (this.props.error && this.props.error.length > 0) {\n this.openErrorNotification(this.props.error);\n }\n }\n }\n\n public openErrorNotification(errorDescription): void {\n const {name} = this.props;\n console.log('Opening an error notification!')\n notification['error']({\n message: `Error Changing ${name}`,\n description: errorDescription\n });\n }\n\n private signalError(errorMsg): void {\n this.setState({error: errorMsg});\n this.openErrorNotification(errorMsg);\n }\n\n public onChange(value: string): void {\n if (this.props.value == value) return; //allow coercion so we dont have to worry about numbers and strings.\n\n const {nullEmptyString} = this.props;\n this.setState({error: null});\n let newValue: string | number = value;\n\n if (this.format === 'string') {\n // Force the output value to be a string.\n newValue = `${value}`;\n } else if (this.format === 'number') {\n newValue = Number(newValue);\n if (Number.isNaN(newValue)) {\n this.signalError('Input must be a valid number');\n return;\n }\n\n if (!this.allowNegative && newValue < 0) {\n this.signalError('Input must be greater than 0');\n return;\n }\n }\n\n if (nullEmptyString && newValue) {\n // Force strings that are empty to be null.\n newValue = `${newValue}`.length > 0 ? newValue : null;\n }\n\n this.onChangeCallback(newValue);\n }\n\n public startedEditing(): void {\n this.setState({editing: true});\n }\n\n public endedEditing(): void {\n this.setState({editing: false});\n }\n\n public render(): React.ReactElement {\n const {value, inline, postText} = this.props;\n let className = this.className;\n if (inline) {\n className = `${className} rk-editable-inline-block`;\n }\n\n let icon = ;\n if (postText) {\n icon = {postText} \n }\n\n const formattedValue = value === undefined ? '' : `${value}`;\n return (\n \n \n {formattedValue}\n \n \n );\n }\n}\n\nexport default EditValueInPlace;\n","import EditValueInPlace, {IEditValueInPlaceProps} from \"components/public/modules/value_editor/EditValueInPlace\";\n\nexport interface IEditableNumberProps extends IEditValueInPlaceProps {\n onChange: (value: number) => void;\n allowNegative?: boolean;\n}\n\nclass EditableNumber extends EditValueInPlace {\n constructor(props: IEditableNumberProps) {\n super(props);\n this.format = 'number';\n this.allowNegative = props.allowNegative || false;\n this.onChangeCallback = props.onChange;\n }\n}\n\nexport default EditableNumber;\n","import EditValueInPlace, {IEditValueInPlaceProps} from \"components/public/modules/value_editor/EditValueInPlace\";\n\nexport interface IEditableParagraphProps extends IEditValueInPlaceProps {\n onChange: (value: string) => void;\n}\n\nclass EditableParagraph extends EditValueInPlace {\n constructor(props: IEditableParagraphProps) {\n super(props);\n\n this.sanitizeParagraph = this.sanitizeParagraph.bind(this);\n\n this.format = 'string';\n this.className = 'rk-edit-paragraph-in-place'\n this.onChangeCallback = this.sanitizeParagraph;\n }\n\n public sanitizeParagraph(value: string) {\n if (this.props.onChange) {\n this.props.onChange(value);\n }\n }\n\n\n}\n\nexport default EditableParagraph;\n","import {IEditValueInPlaceProps} from \"components/public/modules/value_editor/EditValueInPlace\";\nimport React, {Component} from \"react\";\nimport ReactQuill from 'react-quill';\n\nimport 'react-quill/dist/quill.snow.css';\nimport './EditableRichText.scss';\n\nexport interface IEditableRichTextProps extends IEditValueInPlaceProps {\n onChange: (value: string) => void;\n}\n\ninterface IEditableRichTextState {\n editing: boolean;\n}\n\nclass EditableRichText extends Component{\n\n private className: string;\n private onChangeCallback: (value: string) => void;\n private value: string;\n private notifyOnChange: NodeJS.Timeout = null;\n\n constructor(props: IEditableRichTextProps) {\n super(props);\n\n this.sanitizeParagraph = this.sanitizeParagraph.bind(this);\n this.className = 'rk-edit-rich-text-in-place'\n this.onChangeCallback = this.sanitizeParagraph;\n this.value = this.props.value?.toString() || null;\n\n this.state = {\n editing: false\n }\n }\n\n public sanitizeParagraph(value: string) {\n this.value = value;\n if (this.props.onChange) {\n clearTimeout(this.notifyOnChange);\n this.notifyOnChange = setTimeout(() => {\n this.props.onChange(value);\n }, 500);\n }\n }\n\n renderEditor(): React.ReactElement {\n return (\n
\n \n
\n \n
\n
\n )\n }\n\n renderDisplay(): React.ReactElement {\n return (\n
\n
\n
\n \n
\n
\n )\n }\n\n render(): React.ReactElement {\n const {editing} = this.state;\n if (editing) {\n return this.renderEditor();\n } else {\n return this.renderDisplay();\n }\n }\n}\n\nexport default EditableRichText;\n","import EditValueInPlace, {IEditValueInPlaceProps} from 'components/public/modules/value_editor/EditValueInPlace';\n\nexport interface IEditableStringProps extends IEditValueInPlaceProps {\n onChange: (value: string) => void;\n}\n\nclass EditableString extends EditValueInPlace {\n constructor(props: IEditableStringProps) {\n super(props);\n this.format = 'string';\n this.onChangeCallback = props.onChange;\n }\n}\n\nexport default EditableString;\n","import React from 'react';\n\nclass AppStoreRedirect extends React.Component {\n constructor(props) {\n super(props);\n }\n\n public componentDidMount() : void{\n window.location.replace('https://apps.apple.com/us/app/rascal/id1612015226');\n }\n\n public render(): React.ReactElement {\n return \n }\n}\n\nexport default AppStoreRedirect;\n","import React from 'react';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Row} from 'antd';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport BillingAddresses from '../billing_addresses/_BillingAddresses';\n\nimport './register/styles.scss';\n\ninterface IBillingAddressProps {\n}\n\ninterface IBillingAddressState {\n editBillingAddress: boolean\n}\n\nclass Billing extends ComponentWithStore {\n @observable private billingAddresses: BillingAddress[];\n @observable private currentBillingAddress: BillingAddress;\n\n public constructor(props: IBillingAddressProps) {\n super(props);\n\n makeObservable(this);\n\n this.state = {\n editBillingAddress: false\n };\n\n this.stopEditingBillingAddress = this.stopEditingBillingAddress.bind(this);\n this.editBillingAddress = this.editBillingAddress.bind(this);\n }\n\n public componentDidMount(): void {\n this.store.SessionProvider.authOnly();\n this.readModeFromParams()\n this.loadUserBillingAddresses()\n .then(_ignored => {});\n }\n\n private readModeFromParams(): void {\n const windowUrl = window.location.search;\n const params = new URLSearchParams(windowUrl);\n if (params.has('new')) {\n this.newBillingAddress();\n }\n }\n\n public loadUserBillingAddresses(force: boolean = false): Promise {\n return this.store.BillingAddressProvider\n .getAll(this.store.SessionProvider.userId(), force)\n .then((billingAddresses: BillingAddress[]) => {\n this.billingAddresses = billingAddresses;\n });\n }\n\n public stopEditingBillingAddress(): void {\n // TODO: Think of a smarter way to ensure that we are not showing unsaved edits\n this.loadUserBillingAddresses(true)\n .then(() => this.setState({editBillingAddress: false}))\n }\n\n public editBillingAddress(billingAddress: BillingAddress): void {\n this.currentBillingAddress = billingAddress;\n this.setState({editBillingAddress: true});\n }\n\n public newBillingAddress(): void {\n this.editBillingAddress(new BillingAddress(this.store.BillingAddressProvider).withCurrentUser());\n }\n\n private hasBillingAddresses(): boolean {\n return this.billingAddresses != null && this.billingAddresses.length > 0;\n }\n\n private renderButton() {\n if (this.state.editBillingAddress) {\n return (\n \n \n \n );\n } else {\n return (\n \n {/*\n \n*/}\n \n );\n }\n }\n\n private renderEditBillingAddress(): React.ReactElement {\n return (\n \n );\n }\n\n private renderNoBillingAddresses(): React.ReactElement {\n return (\n \n
\n You have no billing addresses. Please add at least one.\n
\n
\n );\n }\n\n private renderBillingAddresses(): React.ReactElement {\n if (!this.hasBillingAddresses()) return this.renderNoBillingAddresses();\n\n return (\n \n \n {this.billingAddresses.map((billingAddress: BillingAddress, index: number) => {\n return (\n \n \n \n );\n })}\n \n \n );\n }\n\n public renderContent(): React.ReactElement {\n let billingView;\n if (this.state.editBillingAddress) {\n billingView = this.renderEditBillingAddress();\n } else {\n billingView = this.renderBillingAddresses();\n }\n\n return (\n \n
\n {billingView}\n
\n {this.renderButton()}\n
\n
\n );\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n
\n {this.renderContent()}\n
\n
\n
\n );\n }\n}\n\nexport default withStore(observer(Billing));\n","import React from \"react\";\nimport DefaultLayout from \"layouts/DefaultLayout\";\nimport {Link} from \"react-router-dom\";\nimport {Col, Row} from \"antd\";\n\nclass NotFound extends React.Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n return (\n \n \n \n

404

\n

The page you were looking for was not found.

\n
\n

Take me home

\n \n
\n
\n );\n }\n}\n\nexport default NotFound;\n","import React from 'react';\n\nclass PlayStoreRedirect extends React.Component {\n constructor(props) {\n super(props);\n }\n\n public componentDidMount() : void{\n window.location.replace('https://play.google.com/store/apps/details?id=app.rascalkids.rascal');\n }\n\n public render(): React.ReactElement {\n return \n }\n}\n\nexport default PlayStoreRedirect;\n","import AccountSetting from 'components/public/pages/account_settings/AccountSettings';\nimport AppStoreRedirect from 'components/public/pages/AppStoreRedirect';\nimport AuthorizePayment from 'components/public/pages/subscriptions/AuthorizePayment';\nimport Billing from 'components/public/pages/Billing';\nimport Catalogue from 'components/public/pages/home/Catalogue';\nimport ChangeEmail from 'components/public/pages/change_email/ChangeEmail';\nimport CreditCardNew from 'components/public/credit_cards/CreditCardNew';\nimport ForgotPassword from 'components/public/pages/forgot_password/ForgotPassword';\nimport Home from 'components/public/pages/home/Home';\nimport InvoiceIndex from 'components/public/pages/invoices/InvoiceIndex';\nimport InvoiceShow from 'components/public/pages/invoices/InvoiceShow';\nimport NotFound from 'components/public/pages/NotFound';\nimport PlayStoreRedirect from 'components/public/pages/PlayStoreRedirect';\nimport Register from 'components/public/pages/register/Register';\nimport ResetPassword from 'components/public/pages/reset_password/ResetPassword';\nimport SignIn from 'components/public/pages/sign_in/SignIn';\nimport StoryDetails from 'components/public/pages/webgl_app/StoryDetails';\nimport SubscriptionNew from 'components/public/pages/subscriptions/SubscriptionNew';\nimport SubscriptionManage from \"components/public/pages/subscriptions/SubscriptionManage\";\nimport SummaryPage from 'components/public/pages/subscriptions/SummaryPage';\nimport withRouteParams from \"components/hooks/withRouteParams\";\nimport BulkSubscribe from \"components/public/pages/subscriptions/BulkSubscribe\";\nimport ManageData from \"components/public/pages/account_settings/ManageData\";\nimport StaticManageData from \"components/public/pages/static/StaticManageData\";\n\nconst Page = {\n AccountSetting: withRouteParams(AccountSetting),\n AccountManageData: withRouteParams(ManageData),\n AppStoreRedirect: AppStoreRedirect,\n AuthorizePayment: withRouteParams(AuthorizePayment),\n BillingAddress: Billing,\n Catalogue: Catalogue,\n ChangeEmail: ChangeEmail,\n CreditCardNew: withRouteParams(CreditCardNew),\n ForgotPassword: ForgotPassword,\n Home: Home,\n InvoiceIndex: InvoiceIndex,\n InvoiceShow: withRouteParams(InvoiceShow),\n NotFound: NotFound,\n PlayStoreRedirect: PlayStoreRedirect,\n Register: Register,\n ResetPassword: ResetPassword,\n SignIn: SignIn,\n StaticManageData: StaticManageData,\n StoryDetails: withRouteParams(StoryDetails),\n SubscriptionManage: withRouteParams(SubscriptionManage),\n BulkSubscribe: withRouteParams(BulkSubscribe),\n SubscriptionNew: SubscriptionNew,\n Summary: SummaryPage,\n};\n\nexport default Page;\n","import React, {Component} from 'react';\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport AdminLayout from 'layouts/AdminLayout';\n\ninterface IDefaultOrAdminLayout {\n admin: boolean;\n children: any;\n}\n\nclass DefaultOrAdminLayout extends Component {\n public render(): React.ReactElement {\n const {admin} = this.props\n\n if (admin) {\n return (\n \n {this.props.children}\n \n );\n }\n\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nexport default DefaultOrAdminLayout;\n","import React, {RefObject} from 'react';\nimport {Link} from 'react-router-dom';\nimport {action, makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport logger from 'loglevel';\nimport * as _ from 'lodash';\nimport {Button, Col, Divider, Drawer, Form, Input, Popconfirm, Row, Space, Table, Typography} from 'antd';\nimport {FormInstance} from 'antd/lib/form';\nimport {ColumnType} from 'antd/lib/table/interface';\n\nimport {Hash} from 'types/hash';\nimport {ComponentWithStore} from 'models/RootStore';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {IUserApiData, IUserApiDataUpdateRequest} from 'models/user/IUserApiData';\nimport {Subscription} from 'models/subscription/Subscription';\nimport {User} from 'models/user/User';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\n\nimport DefaultOrAdminLayout from 'layouts/DefaultOrAdminLayout';\nimport PageTitle from 'components/shared/PageTitle';\n\nimport './AccountSettings.scss';\nimport MessageApi from \"components/hooks/MessageApi\";\nimport AppInfo from \"models/AppInfo\";\n\nconst {Text} = Typography;\n\ninterface IAccountSettingProps {\n routeParams: { userId: string };\n}\n\ninterface IAccountSettingState {\n userId: number | null;\n selectedSubscriberRowKeys: any[];\n admin: boolean;\n loading: {\n kick: boolean;\n }\n}\n\nclass AccountSetting extends ComponentWithStore {\n @observable private captchaResponse: string;\n @observable private user: User = new User(this.store.UserProvider);\n @observable private billingAddress: BillingAddress = new BillingAddress(this.store.BillingAddressProvider);\n @observable private subscriptions: Hash = {};\n\n @observable private editNames: boolean = false;\n @observable private editEmail: boolean = false;\n @observable private editPassword: boolean = false;\n @observable private selectedSubscriptionId: string = undefined;\n @observable private deleteMyAccount: boolean = false;\n\n private namesForm: RefObject = React.createRef();\n private emailForm: RefObject = React.createRef();\n private passwordForm: RefObject = React.createRef();\n\n constructor(props) {\n super(props);\n\n makeObservable(this);\n\n let userId: number | null;\n let admin: boolean = AppInfo.isAdmin();\n let idParam: string | null = this.props.routeParams.userId;\n if (idParam) {\n userId = Number(idParam);\n } else {\n userId = this.store.SessionProvider.userId();\n }\n\n this.state = {\n userId: userId,\n admin: admin,\n selectedSubscriberRowKeys: [],\n loading: {\n kick: false\n },\n };\n\n this.signOut = this.signOut.bind(this);\n this.cancelSubscription = this.cancelSubscription.bind(this);\n this.leaveSubscription = this.leaveSubscription.bind(this);\n this.signOutOfAllDevices = this.signOutOfAllDevices.bind(this);\n this.pollUserData = this.pollUserData.bind(this);\n this.setUser = this.setUser.bind(this);\n this.setBillingAddress = this.setBillingAddress.bind(this);\n this.setSubscriptions = this.setSubscriptions.bind(this);\n this.updateUserInfo = this.updateUserInfo.bind(this);\n this.showEditNames = this.showEditNames.bind(this);\n this.hideEditNames = this.hideEditNames.bind(this);\n this.showEditEmail = this.showEditEmail.bind(this);\n this.hideEditEmail = this.hideEditEmail.bind(this);\n this.showEditPassword = this.showEditPassword.bind(this);\n this.hideEditPassword = this.hideEditPassword.bind(this);\n this.showDeleteMyAccount = this.showDeleteMyAccount.bind(this);\n this.hideDeleteMyAccount = this.hideDeleteMyAccount.bind(this);\n this.showManageSubscribers = this.showManageSubscribers.bind(this);\n this.hideManageSubscribers = this.hideManageSubscribers.bind(this);\n this.onFinishNames = this.onFinishNames.bind(this);\n this.onFinishFailedNames = this.onFinishFailedNames.bind(this);\n this.onFinishEmail = this.onFinishEmail.bind(this);\n this.onFinishFailedEmail = this.onFinishFailedEmail.bind(this);\n this.onFinishPassword = this.onFinishPassword.bind(this);\n this.onFinishFailedPassword = this.onFinishFailedPassword.bind(this);\n this.onFinishDeleteMyAccount = this.onFinishDeleteMyAccount.bind(this);\n this.onFinishFailedDeleteMyAccount = this.onFinishFailedDeleteMyAccount.bind(this);\n this.getSelectedSubscription = this.getSelectedSubscription.bind(this);\n this.handleSelectSubscriberChange = this.handleSelectSubscriberChange.bind(this);\n this.handleKickSubscriber = this.handleKickSubscriber.bind(this);\n this.clearSelection = this.clearSelection.bind(this);\n this.displayResponseAndReload = this.displayResponseAndReload.bind(this);\n this.displayResponseAndSignOut = this.displayResponseAndSignOut.bind(this);\n }\n\n public componentDidMount(): void {\n this.store.SessionProvider.authOnly();\n // noinspection JSIgnoredPromiseFromCall\n this.pollUserData().then(() => this.setState({}))\n }\n\n public signOut(e: React.MouseEvent): void {\n e.preventDefault();\n e.stopPropagation();\n this.store.SessionProvider.signOut().catch(() => 'doesnt matter we are signing out anyway.')\n .then(() => window.location.href = '/');\n }\n\n private cancelSubscription(subscription: Subscription): void {\n subscription.cancel().then(this.displayResponseAndReload);\n }\n\n private changeSubscription(subscription: Subscription): void {\n window.location.href = `/change_subscription/${subscription.id}`;\n }\n\n private changeCard(subscription: Subscription): void {\n window.location.href = `/change_card/${subscription.id}`;\n }\n\n private leaveSubscription(subscription: Subscription): void {\n subscription.leave().then(this.displayResponseAndReload);\n }\n\n private signOutOfAllDevices(): void {\n this.store.UserProvider.deleteSessions(this.user.id).then(this.displayResponseAndSignOut);\n }\n\n private pollUserData(): Promise {\n const {userId} = this.state;\n\n if (!userId) {\n logger.warn('Could not poll user as no id provided');\n return Promise.resolve();\n }\n\n return Promise.all([\n this.store.UserProvider.user(userId).then(this.setUser),\n this.store.BillingAddressProvider.getActive(userId).then(this.setBillingAddress),\n this.store.SubscriptionProvider.fetchAllForUser(userId).then(this.setSubscriptions)\n ]);\n }\n\n @action\n private setUser(user: IUserApiData): void {\n this.user = new User(this.store.UserProvider).withData(user);\n }\n\n @action\n private setBillingAddress(address: BillingAddress): void {\n this.billingAddress = address;\n }\n\n @action\n private setSubscriptions(subscriptions: Subscription[]): void {\n let subscriptionHash: Hash = {};\n subscriptions.forEach((subscription: Subscription) => subscriptionHash[subscription.id.toString()] = subscription);\n this.subscriptions = subscriptionHash;\n }\n\n @action\n private updateUserInfo(values: IUserApiDataUpdateRequest): void {\n this.store.UserProvider.update(this.user.id, values).then(this.displayResponseAndReload);\n }\n\n private showEditNames(): void {\n this.editNames = true;\n }\n\n private hideEditNames(): void {\n this.editNames = false;\n }\n\n private showEditEmail(): void {\n this.editEmail = true;\n }\n\n private hideEditEmail(): void {\n this.editEmail = false;\n }\n\n private showEditPassword(): void {\n this.editPassword = true;\n }\n\n private hideEditPassword(): void {\n this.editPassword = false;\n }\n\n private showDeleteMyAccount(): void {\n this.deleteMyAccount = true;\n }\n\n private hideDeleteMyAccount(): void {\n this.deleteMyAccount = false;\n }\n\n private showManageSubscribers(subscription: Subscription): void {\n this.selectedSubscriptionId = subscription.id.toString();\n }\n\n private hideManageSubscribers(): void {\n this.selectedSubscriptionId = undefined;\n this.setState({\n selectedSubscriberRowKeys: [],\n loading: {\n kick: false\n }\n });\n }\n\n private onFinishNames(values): void {\n this.store.UserProvider.changeNames(this.user.id, values)\n .then((response: ApiResponseData) => {\n if (response.success) {\n this.hideEditNames();\n this.namesForm.current.resetFields();\n }\n return this.displayResponseAndReload(response);\n });\n }\n\n private onFinishFailedNames(errorInfo): void {\n MessageApi().error('Failed: Incorrect Password');\n }\n\n private onFinishEmail(values): void {\n console.log(values)\n this.store.UserProvider.changeEmail(this.user.id, values)\n .then((response: ApiResponseData) => {\n if (response.success) {\n this.hideEditEmail();\n this.emailForm.current.resetFields();\n }\n return this.displayResponseAndReload(response);\n });\n }\n\n private onFinishFailedEmail(errorInfo): void {\n MessageApi().error('Failed:', errorInfo);\n }\n\n private onFinishPassword(values): void {\n this.store.UserProvider.changePassword(this.user.id, values)\n .then((response: ApiResponseData) => {\n if (response.success) {\n this.hideEditPassword();\n this.passwordForm.current.resetFields();\n }\n return this.displayResponseAndReload(response);\n });\n }\n\n private onFinishFailedPassword(errorInfo): void {\n MessageApi().error('Failed:', errorInfo);\n }\n\n private onFinishDeleteMyAccount(values): void {\n this.store.UserProvider.deleteUser(this.user.id, values)\n .then((response: ApiResponseData) => {\n if (response.success) this.hideDeleteMyAccount();\n return this.displayResponseAndSignOut(response);\n });\n }\n\n private onFinishFailedDeleteMyAccount(errorInfo): void {\n MessageApi().error('Failed:', errorInfo);\n }\n\n private getSelectedSubscription(): Subscription | undefined {\n return this.selectedSubscriptionId ? this.subscriptions[this.selectedSubscriptionId.toString()] : undefined;\n }\n\n private handleSelectSubscriberChange(selectedRowKeys): void {\n this.setState({selectedSubscriberRowKeys: selectedRowKeys});\n }\n\n private handleKickSubscriber(): Promise {\n const subscription: Subscription = this.getSelectedSubscription();\n if (!subscription) return Promise.resolve();\n\n const {loading, selectedSubscriberRowKeys} = this.state;\n loading.kick = true;\n this.setState({loading: loading});\n\n return subscription.kickSubscribers(selectedSubscriberRowKeys)\n .then((response: ApiResponseData) => {\n if (response.success) this.clearSelection();\n return this.displayResponseAndReload(response);\n });\n }\n\n private clearSelection(): void {\n this.setState({\n selectedSubscriberRowKeys: [],\n loading: {\n kick: false\n }\n });\n }\n\n private displayResponseAndReload(response: ApiResponseData): PromiseLike {\n if (response.success) {\n return Promise.all([\n MessageApi().success(response.message),\n this.pollUserData()\n ])\n .then(() => response);\n } else {\n return MessageApi().error(response.message).then(() => response);\n }\n }\n\n private displayResponseAndSignOut(response: ApiResponseData): PromiseLike {\n if (response.success) {\n return MessageApi().success(response.message)\n .then(() => {\n this.store.SessionProvider.clear();\n window.location.href = '';\n return response;\n });\n } else {\n return MessageApi().error(response.message).then(() => response);\n }\n }\n\n private renderChangeNames(): React.ReactElement {\n return (\n \n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n );\n }\n\n private renderChangeEmail(): React.ReactElement {\n return (\n \n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n );\n }\n\n private renderChangePassword(): React.ReactElement {\n return (\n \n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n );\n }\n\n private renderDeleteMyAccount(): React.ReactElement {\n return (\n \n
\n

\n Are you sure you want to delete your account?\n This action is irreversible. Your account will no longer be accessible.\n

\n \n \n \n

Please write 'I confirm' in the box below if you are sure you want to delete your account.

\n \n \n \n \n
\n
\n );\n }\n\n private getColumnStringProps(dataIndex: K): ColumnType {\n return {\n title: _.startCase(dataIndex),\n dataIndex: dataIndex,\n key: dataIndex,\n sorter: {\n compare: (a: User, b: User) => (a[dataIndex] as string).localeCompare(b[dataIndex] as string),\n multiple: 1\n },\n render: text => text\n };\n }\n\n private renderManageSubscribers(): React.ReactElement {\n const {loading, selectedSubscriberRowKeys} = this.state;\n const subscription: Subscription = this.getSelectedSubscription();\n const hasSelected: boolean = selectedSubscriberRowKeys.length > 0;\n const planName: string = subscription?.subscription_plan?.name || 'Unknown Plan';\n const subscribers: (User & { key?: number })[] = subscription?.subscribers || [];\n subscribers.forEach((subscriber: User & { key?: number }) => subscriber.key = subscriber.id);\n\n return (\n \n \n \n {hasSelected ? `${selectedSubscriberRowKeys.length} user${selectedSubscriberRowKeys.length > 1 ? 's'\n : ''} selected` : ''}\n \n\n ({disabled: subscription.isManagedByUser(subscriber.id)}),\n selections: [\n Table.SELECTION_ALL,\n Table.SELECTION_INVERT,\n Table.SELECTION_NONE\n ]\n }}/>\n \n );\n }\n\n private renderBillingAddress(): React.ReactElement {\n return (\n \n \n

Billing Address:

\n

{this.billingAddress.name}

\n
\n \n \n

{this.billingAddress.line1}

\n
\n \n \n

{this.billingAddress.line2}

\n
\n \n

Zip Code:

\n

{this.billingAddress.zip}

\n
\n \n

City:

\n

{this.billingAddress.city}

\n
\n \n

State:

\n

{this.billingAddress.state}

\n
\n \n

Country:

\n

{this.billingAddress.country}

\n
\n
\n );\n }\n\n private renderAddBillingAddressButton() {\n return (\n

window.location.href = '/billing?new'}>Add Billing\n Address

\n );\n }\n\n private renderMembershipAndBillingDetails(): React.ReactElement {\n return (\n
\n \n \n

Details

\n \n
\n \n

First Name:

\n

{this.user.first_name}

\n \n

Manage Names

\n \n
\n \n

Last Name:

\n

{this.user.last_name}

\n {/**/}\n {/*

Manage Names

*/}\n {/**/}\n
\n \n

Email:

\n

{this.user.email}

\n \n

Manage Email

\n \n
\n \n

Password:

\n

*******

\n \n

Manage Password

\n \n
\n
\n \n \n

Payment Info:

\n \n \n window.location.href = '/billing'}>\n Manage Billing\n \n \n
\n {this.billingAddress?.id ? this.renderBillingAddress() : this.renderAddBillingAddressButton()}\n {/*

Billing details:

*/}\n {/*

Redeem gift card or promo code:

*/}\n {/*

Where to buy gifts cards:

*/}\n
\n );\n }\n\n private renderSubscription(subscription: Subscription, count: number): React.ReactElement {\n return (\n \n \n

{subscription.name}

\n

{subscription.getStateMessage()}

\n

{subscription.getTrialMessage()}

\n

{subscription.getNextChargeMessage()}

\n \n \n \n {!subscription.isManagedByUser() &&\n this.leaveSubscription(subscription)}\n okText='Yes'\n cancelText='No'>\n

Leave Subscription

\n
}\n {subscription.canCancel() &&\n this.cancelSubscription(subscription)}\n okText='Yes'\n cancelText='No'>\n

Cancel Plan

\n
}\n {subscription.canCancel() &&\n this.changeSubscription(subscription)}\n okText='Yes'\n cancelText='No'>\n

Change Plan

\n
}\n {subscription.canSetPaymentMethod() &&\n this.changeCard(subscription)}\n okText='Yes'\n cancelText='No'>\n

Change Card

\n
}\n {subscription.canManageSubscribers() &&\n }\n {subscription.isManagedByUser() &&\n \n Manage Subscription\n \n }\n
\n \n {(count + 1) < Object.keys(this.subscriptions).length ? :
}\n \n );\n }\n\n private renderSettings(): React.ReactElement {\n const {admin, userId} = this.state;\n\n return (\n
\n {/*

Communication settings

\n

Marketing communications

\n

Parental Controls

\n\n

Test participation

\n

Manage download devices

\n

Activate a device

\n

Recent device streaming activity

*/}\n

\n \n Invoices\n \n

\n \n

Sign out of all devices

\n
\n

Delete my account

\n
\n );\n }\n\n private renderHeader(): React.ReactElement {\n const {admin} = this.state;\n\n return admin ? this.renderHeaderForAdmin() : this.renderHeaderForUser();\n }\n\n private renderHeaderForUser(): React.ReactElement {\n let months = ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October',\n 'November', 'December']\n let month = months[+String(this.user.created_at).split('T')[0].split('-')[1]]\n let year = String(this.user.created_at).split('T')[0].split('-')[0]\n\n return (\n \n \n

Account Settings

\n \n \n {typeof this.user.created_at !== 'undefined' ?\n

Member since: {`${month}, ${year}`}

\n :
\n }\n \n {this.divider()}\n \n );\n }\n\n private renderHeaderForAdmin(): React.ReactElement {\n const {userId} = this.state;\n\n return (\n \n \n
\n
\n );\n }\n\n private divider(): React.ReactElement {\n return (\n \n \n \n );\n }\n\n public render(): React.ReactElement {\n const {admin} = this.state;\n\n return (\n \n
\n \n {this.renderHeader()}\n\n \n \n

Membership & Billing

\n \n \n {this.renderMembershipAndBillingDetails()}\n \n {this.divider()}\n
\n\n \n \n

Plan Details

\n \n \n {_.reverse(_.values(this.subscriptions)).map(\n (subscription, count) => this.renderSubscription(subscription, count))}\n \n {!_.find(this.subscriptions, s => s.canCancel()) &&\n

\n \n New Subscription\n \n

\n }\n \n {this.divider()}\n
\n\n \n \n

Settings

\n \n \n {this.renderSettings()}\n \n
\n \n
\n
\n\n {this.renderChangeNames()}\n {this.renderChangeEmail()}\n {this.renderChangePassword()}\n {this.renderManageSubscribers()}\n {this.renderDeleteMyAccount()}\n
\n );\n }\n}\n\nexport default observer(AccountSetting);\n","// 1. Steps users take to request data deletion\n// 2. Types of data that are deleted or kept including any additional retention period.\n//\n//\n// Manage Account Data\n// Personal Data\n// First name, Last name, Billing Address,\n//\n// Usage Data\n// Start Time, End Time, Duration, Platform (Android, iOS, Web)\n//\nimport React from \"react\";\nimport {makeObservable, observable} from \"mobx\";\nimport AppInfo from \"models/AppInfo\";\nimport {User} from \"models/user/User\";\nimport {ComponentWithStore} from \"models/RootStore\";\nimport DefaultLayout from \"layouts/DefaultLayout\";\nimport {Col, Row} from \"antd\";\n\ninterface IManageDataProps {\n routeParams: { userId: string };\n}\n\nclass ManageData extends ComponentWithStore {\n\n @observable private user: User = new User(this.store.UserProvider);\n\n\n constructor(props: IManageDataProps) {\n super(props)\n\n makeObservable(this);\n\n let userId: number | null;\n let admin: boolean = AppInfo.isAdmin();\n let idParam: string | null = this.props.routeParams.userId;\n if (idParam) {\n userId = Number(idParam);\n } else {\n userId = this.store.SessionProvider.userId();\n }\n\n this.state = {\n userId: userId,\n admin: admin\n };\n }\n\n componentDidMount() {\n\n }\n\n render() {\n return (\n \n \n \n

Manage Account Data

\n

\n We collect data to understand the content that is enjoyed and platforms people use.\n We are building out a way for you to see your data, so we can provide insights into how your family is interacting with our content.\n

\n

\n The current data we collect is around user sessions, and what device was used.\n

\n

\n As we build out a stunning new dashboard...
\n If you wish to see your data you can send us an email at support@rascalkids.app and we will answer any further requests.\n

\n

\n You can delete your account completely by going to your account page and entering your password after selecting 'delete my account'.\n This will permanently close your account and delete all identifiable information except for details we are legally obligated to maintain.\n

\n \n
\n
\n )\n }\n\n private deleteMyUsageData() {\n // Tell them that we are deleting set information.\n // We will not remove their payment information\n // Get them to write in that they want to delete it.\n }\n}\n\nexport default ManageData;\n","import React from 'react';\nimport {Link} from 'react-router-dom';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Form, Input, Row} from 'antd';\nimport {Lego} from 'lottie/lottie-assets';\nimport {Lottie} from '@rascality/react-lottie';\n\nimport ScriptLoader from 'helpers/ScriptLoader';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport Api from 'models/Api';\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport Turnstile from \"react-turnstile\";\n\nconst turnstileSiteKey: string = process.env.TURNSTILE_SITE_KEY;\n\nclass ChangeEmail extends ComponentWithStore {\n @observable private captchaResponse: string;\n\n public constructor(props) {\n super(props);\n makeObservable(this);\n this.onFinish = this.onFinish.bind(this);\n this.errorCallback = this.errorCallback.bind(this);\n this.verifyCallback = this.verifyCallback.bind(this);\n this.expiredCallback = this.expiredCallback.bind(this);\n }\n\n public componentDidMount(): void {\n }\n\n public onFinish(values): void {\n // TODO: I think this is supposed to be calling UserProvider.changeEmail\n Api.post('api/v1/users', {\n body: JSON.stringify({\n user: values,\n 'cf-turnstile-response': this.captchaResponse\n })\n })\n .then(response => response.json())\n .then(json => {\n let result = this.store.SessionProvider.store(json);\n if (result.success) {\n window.location.href = '/home';\n }\n });\n };\n\n public onFinishFailed(errorInfo): void {\n console.log('Failed:', errorInfo);\n };\n\n\n public errorCallback(): void {\n }\n\n public verifyCallback(response: string): void {\n this.captchaResponse = response;\n }\n\n public expiredCallback(): void {\n this.captchaResponse = null;\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n
\n \n \n \n \n
\n

Change Email

\n

Enter your new email and we will send a change of email address request to confirm. Type it in\n twice so we can avoid any typos.

\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n \n \n
\n
\n \n
\n
\n

Feeling lost? Sign In here.

\n
\n \n
\n \n \n
\n \n
\n \n
\n
\n
\n
\n );\n }\n}\n\nexport default withStore(observer(ChangeEmail));\n","import React from 'react';\nimport {Link} from 'react-router-dom';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Form, Input, Row} from 'antd';\nimport {Lottie} from '@rascality/react-lottie';\nimport {Lego} from 'lottie/lottie-assets';\n\nimport ScriptLoader from 'helpers/ScriptLoader';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport Turnstile from \"react-turnstile\";\n\nconst turnstileSiteKey: string = process.env.TURNSTILE_SITE_KEY;\n\nclass ForgotPassword extends ComponentWithStore {\n @observable private captchaResponse: string;\n @observable private requestedEmail: string;\n @observable private finished: boolean = false;\n @observable private missing: boolean = false;\n\n constructor(props) {\n super(props);\n makeObservable(this);\n this.onFinish = this.onFinish.bind(this);\n this.verifyCallback = this.verifyCallback.bind(this);\n this.errorCallback = this.errorCallback.bind(this);\n this.expiredCallback = this.expiredCallback.bind(this);\n }\n\n public componentDidMount(): void {\n }\n\n public onFinish(values) {\n this.requestedEmail = values['email'];\n values['cf-turnstile-response'] = this.captchaResponse;\n this.store.UserProvider.forgotPassword(values)\n .then(result => {\n if (result) {\n this.finished = true;\n } else {\n this.missing = true;\n }\n });\n };\n\n public onFinishFailed(errorInfo) {\n console.log('Failed:', errorInfo);\n };\n\n public errorCallback() {\n }\n\n public verifyCallback(response: string) {\n this.captchaResponse = response;\n }\n\n public expiredCallback() {\n this.captchaResponse = null;\n }\n\n private renderFormOrError(): React.ReactElement {\n if (this.finished) {\n return (\n \n

Successfully requested password reset.

\n

You should receive an email to {this.requestedEmail} in 5-10 minutes with a password reset link.

\n
\n );\n }\n if (this.missing) {\n return (\n \n
\n

Entered Email Address was not found!

\n
\n {this.renderForm()}\n
\n );\n }\n return this.renderForm();\n }\n\n private renderForm(): React.ReactElement {\n return (\n \n
\n

Enter your email and we will send a password reset request to your email. It's that easy.

\n
\n
\n \n \n \n
\n
\n \n \n \n \n \n
\n
\n \n
\n
\n

Feeling lost? Sign In here.

\n
\n
\n );\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n
\n \n \n \n \n
\n

Forgot Password

\n
\n {this.renderFormOrError()}\n \n
\n \n \n
\n \n
\n \n
\n
\n
\n
\n );\n }\n}\n\nexport default withStore(observer(ForgotPassword))\n","import React from 'react';\nimport { action, makeObservable, observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport _ from 'lodash';\nimport { Button, Col, Row } from 'antd';\nimport { Link } from 'react-router-dom';\nimport { EmblaCarouselType } from 'embla-carousel-react';\n\nimport { ComponentWithStore, withStore } from 'models/RootStore';\nimport { Story } from 'models/story/Story';\n\nimport StoryPanel from 'components/public/pages/home/StoryPanel';\nimport Chevron from 'components/shared/icons/Chevron';\n// @ts-ignore\nimport EmblaCarousel from 'components/shared/EmblaCarousel';\n\nimport './Catalogue.scss';\n\ninterface ICatalogueProps {\n title: string;\n stories?: Story[];\n storyIds?: number[];\n admin?: boolean;\n collectionId?: number;\n showMessage?: boolean;\n layout?: 'centered' | 'medium' | 'full';\n align?: 'left' | 'right';\n panelLayout?: 'tall' | 'short';\n maxVisibleSlides?: number;\n homepage?: boolean;\n}\n\ninterface ICatalogueState {\n scrollItem: number;\n}\n\nclass Catalogue extends ComponentWithStore {\n @observable private stories: Story[];\n @observable private splashStory: Story;\n @observable private multiPanelStory: Story;\n\n private emblaRef: EmblaCarouselType;\n\n public constructor(props: ICatalogueProps) {\n super(props);\n\n makeObservable(this);\n\n if ( props.stories ) this.setStories(props.stories);\n\n this.state = {\n scrollItem: 0\n };\n\n this.setStories = this.setStories.bind(this);\n }\n\n public componentDidMount(): void {\n if ( this.props.storyIds ) {\n Promise.all(_.map(this.props.storyIds, id => this.store.StoryProvider.get(id)))\n .then(this.setStories);\n }\n }\n\n @action\n private setStories(stories: Story[]) {\n this.stories = stories;\n }\n\n private moveLeft(): void {\n if ( this.emblaRef === undefined ) return;\n this.emblaRef.scrollPrev();\n }\n\n private moveRight(): void {\n if ( this.emblaRef === undefined ) return;\n this.emblaRef.scrollNext();\n }\n\n private getStories(): Story[] | null {\n let { maxVisibleSlides } = this.props;\n let stories: Story[] = this.stories;\n\n if ( !(stories && stories.length > 0) ) {\n return null;\n }\n\n while ( stories.length <= (maxVisibleSlides || 8) ) {\n stories = stories.concat(stories);\n }\n\n return stories;\n }\n\n private renderCatalogueView(): React.ReactElement {\n const { admin, layout, panelLayout, showMessage, homepage, align } = this.props;\n\n let stories: Story[] | null = this.getStories();\n\n if ( !stories ) return \n\n return (\n \n \n \n this.emblaRef = emblaRef }>\n { stories.map((story: Story, index: number): React.ReactElement => (\n \n )) }\n \n \n \n \n );\n }\n\n public render(): React.ReactElement {\n const { admin, collectionId, title } = this.props;\n\n\n return (\n \n \n

{ title }

\n { admin === true && collectionId &&\n Edit }\n \n \n { this.renderCatalogueView() }\n \n
\n );\n }\n}\n\nexport default withStore(observer(Catalogue));\n","import React from 'react';\nimport { observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport { Button, Col, Row } from 'antd';\nimport * as _ from 'lodash';\n\nimport { ComponentWithStore, withStore } from 'models/RootStore';\nimport { Story } from 'models/story/Story';\nimport { Homepage as HomepageModel } from 'models/homepage/Homepage';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport Homepage from 'components/public/Homepage';\nimport AppStoreLink from 'components/shared/AppStoreLink';\nimport GooglePlayLink from 'components/shared/GooglePlayLink';\nimport Catalogue from 'components/public/pages/home/Catalogue';\nimport LoadingIcon from 'components/public/pages/webgl_app/LoadingIcon';\nimport StoryMultiPanel from 'components/public/pages/home/StoryMultiPanel';\nimport StoryTitleImage from 'components/public/pages/webgl_app/StoryTitleImage';\n\nimport './Home.scss';\n\ninterface IHomeProps {}\n\ninterface IHomeState {\n loaded: boolean;\n loggedIn: boolean;\n}\n\n// This renders either itself or Logged out Homepage.\nclass Home extends ComponentWithStore {\n @observable private stories: Story[];\n @observable private homepage: HomepageModel;\n\n constructor(props) {\n super(props);\n\n this.state = {\n loaded: false,\n loggedIn: true\n };\n }\n\n public signOut(): void {\n this.store.SessionProvider.signOut().then(success => {\n window.location.href = '/sign_in';\n });\n }\n\n public componentDidMount(): void {\n if (this.store.SessionProvider.hasCredentials()) {\n this.store.SessionProvider.hasValidCredentials().then(result => {\n if (!result) {\n if (this.store.SessionProvider.hasCredentials()) {\n this.store.SessionProvider.clear();\n }\n window.location.href = '/sign_in';\n } else {\n this.store.SubscriptionProvider.hasValidSubscription().then(result => {\n if (!result) {\n window.location.href = '/register';\n } else {\n return new HomepageModel(this.store.StoryProvider)\n .fetchData()\n .then(homepage => this.homepage = homepage)\n .then(() => this.store.StoryProvider.getAll())\n .then((stories: Story[]) => {\n this.stories = stories;\n this.setState({ loaded: true });\n });\n }\n });\n }\n });\n } else {\n this.setState({\n loggedIn: false\n });\n }\n }\n\n public render(): React.ReactElement {\n if (!this.store.SessionProvider.hasCredentials()) {\n if (!this.state.loggedIn) {\n return ;\n }\n }\n const { loaded } = this.state;\n if (!loaded) {\n return (\n \n
{this.renderLoading()}
\n
\n );\n }\n\n return (\n \n
\n {this.renderSplashStory()}\n {this.renderCatalogueRow()}\n {this.renderMultiPanelRow()}\n {this.renderDownloadRow()}\n
\n
\n );\n }\n\n private renderSplashStory() {\n const splashStory = this.homepage?.featured_story;\n const localisation = splashStory?.default_localisation;\n if (!splashStory || !localisation) return ;\n\n const landscapeImg = localisation.featured_landscape_image_url || localisation.featured_portrait_image_url;\n const portraitImg = localisation.featured_portrait_image_url || localisation.featured_landscape_image_url;\n\n return (\n \n \n
\n \n \n
\n \n \n
\n
\n \n
\n );\n }\n\n private renderLoading(): React.ReactElement {\n return (\n
\n \n
\n );\n }\n\n private renderCatalogueRow() {\n const { loaded } = this.state;\n\n if (!loaded) return this.renderLoading();\n\n return (\n
\n \n
\n );\n }\n\n private renderMultiPanelRow() {\n const { loaded } = this.state;\n\n if (!loaded) return this.renderLoading();\n return (\n \n \n \n );\n }\n\n private renderDownloadRow() {\n return (\n \n \n

Download Rascal:

\n

Welcome to Rascal. Now you can download our app and read our latest stories.

\n
\n \n \n
\n \n
\n );\n }\n}\n\nexport default observer(Home);\n","import React, { Component } from 'react';\nimport { Col, Row } from 'antd';\n\nimport { Story } from 'models/story/Story';\nimport EmblaCarousel from \"components/shared/EmblaCarousel\";\n\nimport './StoryMultiPanel.scss';\nimport {observer, Observer} from 'mobx-react';\nimport {observable} from \"mobx\";\n\ninterface IStoryMultiPanelProps {\n story: Story;\n}\n\ninterface IStoryMultiPanelState {\n}\n\nclass StoryMultiPanel extends Component {\n private SEPARATOR: string = ' • ';\n @observable private story: Story;\n\n public constructor(props: IStoryMultiPanelProps) {\n super(props);\n this.story = this.props.story;\n }\n\n componentDidMount(): void {\n const {story} = this.props;\n if (story !== null && (story.default_localisation === null || story.default_localisation === undefined)) {\n this.story = this.props.story.withDefaultLocalisation();\n this.setState({}); // force re-render\n } else if (story !== null) {\n this.story = story;\n }\n }\n\n public render(): React.ReactElement {\n if ( this.story == null || this.story.default_localisation == null ) return ;\n\n return (\n
\n \n \n

\n { this.story.title() }: New Series\n

\n

\n { this.story.default_localisation?.biography }\n

\n \n
\n \n \n
\n \n {this.renderStoryPanels().map((url, index) => {\n return (\n \n )\n })}\n \n
\n
\n );\n }\n\n private renderStoryPanels(): string[] {\n const urls = [\n this.story.default_localisation?.multi_panel_image_url1,\n this.story.default_localisation?.multi_panel_image_url2,\n this.story.default_localisation?.multi_panel_image_url3\n ];\n return urls.concat(urls);\n }\n}\n\nexport default observer(StoryMultiPanel);\n","import React, { Component } from 'react';\n\nimport { Story } from 'models/story/Story';\n\nimport './StoryPanel.scss';\n\ninterface IStoryPanelProps {\n story: Story;\n admin?: boolean;\n layout?: 'tall' | 'short';\n showMessage?: boolean;\n homepage?: boolean;\n}\n\ninterface IStoryPanelState {\n}\n\nclass StoryPanel extends Component {\n private SEPARATOR: string = ' • ';\n\n public constructor(props: IStoryPanelProps) {\n super(props);\n }\n\n public render(): React.ReactElement {\n const { story, admin, layout, showMessage, homepage } = this.props;\n\n let localisation = story.default_localisation;\n return (\n \n \n
\n

\n { story.genre }\n

\n

\n { story.title() }\n

\n

\n { localisation?.biography }\n

\n
\n
\n );\n }\n}\n\nexport default StoryPanel;\n","import React from 'react';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Row} from 'antd';\n\nimport {ComponentWithStore} from 'models/RootStore';\nimport {Story} from 'models/story/Story';\nimport {Homepage as HomepageModel} from 'models/homepage/Homepage';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport './About.scss';\nimport {Helmet} from \"react-helmet\";\n\n// This renders either itself or Logged out Homepage.\nclass About extends ComponentWithStore {\n constructor(props) {\n super(props);\n }\n\n public render(): React.ReactElement {\n return (\n \n \n Rascal - About\n \n
\n {this.renderAboutBannerSection()}\n {this.renderMissionSection()}\n {this.renderInteractionSection()}\n {this.renderSafetySection()}\n {this.renderLibrarySection()}\n {this.renderControlsSection()}\n {/*{this.renderStreamingSection()}*/}\n
\n
\n );\n }\n\n private renderAboutBannerSection() {\n return (\n
\n
\n
\n \n
\n
\n
\n \n \n

Made for kids

\n

Play. Watch. Read.

\n
\n

Providing an alternative for screen time. Interactive stories for kids to play,\n while reading and engaging with a story.\n

\n
\n \n
\n
\n );\n }\n\n private renderMissionSection() {\n return (\n
\n \n \n

Our Mission

\n
\n

To inspire and captivate kids through the power of storytelling and play!\n

\n
\n \n
\n
\n );\n }\n\n private renderInteractionSection() {\n return (\n
\n \n \n

Interaction

\n

Single touch gestures

\n
\n

Experience seamless storytelling with single-touch gestures. Designed with\n simplicity, a single touch on the screen is all it takes to progress through the narrative.\n

\n
\n \n
\n
\n
\n
\n
\n {'Phone\n
\n
\n
\n
\n {'Phone\n
\n
\n
\n

Button Design

\n

Rascal's unique button design, visibly shifting in each scene,\n promoting patience and engagement, ensuring a purposeful storytelling experience.\n

\n
\n
\n
\n
\n );\n }\n\n private renderSafetySection() {\n return (\n
\n \n \n

Safety

\n

Protected Play

\n
\n

Discover a secure environment for your child. Entirely ad-free and no\n in-app purchases, immersing them in captivating stories without any distractions.\n

\n
\n \n
\n
\n
\n
\n
\n {'Phone\n
\n
\n
\n
\n
\n

Ad-Free Experience

\n

\n Our commitment to ad-free extends beyond removing visual interruptions;\n we believe in digital spaces where you feel safe and your child's imagination\n can flourish without the influence of external marketing.\n

\n
\n
\n

Peace of Mind

\n

\n Our readable content is crafted to provide short stories for a guilt-free 10 minutes.\n Rascal's commitment to quality content, offers a balanced and controlled exposure to screen-time.\n

\n
\n
\n
\n
\n
\n
\n );\n }\n\n private renderLibrarySection() {\n return (\n
\n \n \n

Library

\n

Diverse Stories

\n
\n

In addition to our original stories, we proudly collaborate with creative teams from around the world,\n bringing a diverse array of captivating content to Rascal.\n

\n
\n \n
\n
\n
\n
\n
\n {'Phone\n
\n
\n
\n
\n
\n

Multiple Genres

\n

Our continued curated collection spans multiple genres, providing a\n diverse range of stories that cater to different interests and preferences.

\n
\n
\n

Language

\n

Language options, currently featuring Te Reo Māori and English, as\n we expand to introduce even more linguistic experiences. Promoting cultural appreciation and a love\n for diverse narratives.

\n
\n
\n
\n
\n
\n
\n );\n }\n\n private renderControlsSection() {\n return (\n
\n \n \n

Controls

\n

Music & Narration

\n
\n

Ease the journey of reading by letting Rascal take the reins. Enjoy narrated stories with\n music! A supplementary option for device handovers, enhancing the reading experience without replacing\n traditional story time.\n

\n
\n \n
\n
\n
\n {'Phone\n
\n
\n {'Phone\n
\n
\n
\n );\n }\n\n private renderStreamingSection() {\n return (\n
\n \n \n

Streaming

\n

Performance by design.

\n
\n

Our stories are downloadable, but like streaming video services, our stories don’t take long to start\n

\n
\n \n
\n
\n
\n {'Phone\n
\n
\n
\n );\n }\n\n}\n\n\n\nexport default About;\n","import React from 'react';\nimport {Button, Col, Row} from 'antd';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport './policies/PrivacyPolicy.scss';\nimport {Helmet} from \"react-helmet\";\n\n// This renders either itself or Logged out Homepage.\nclass FAQ extends ComponentWithStore {\n\n public render(): React.ReactElement {\n return (\n \n \n Rascal - FAQs\n \n {this.renderFAQSection()}\n \n );\n }\n\n private renderFAQSection() {\n return (\n
\n \n \n

FAQ

\n
\n

\n We appreciate that you have questions about our app!\n Rascal strives to keep things as clear as possible, if we haven't answered your question below, don't hesitate to reach out to our customer support.\n

\n
\n
\n

\n 1. How much does Rascal Cost?\n

\n

\n We have a free 3-day trial when you signup. After that, Rascal will charge $7 NZD a month. \n For more savings opt for our annual subscription plan at just $60 NZD.\n

\n\n

\n 2. How do I download Rascal?\n

\n

\n To start your Rascal adventure, the first step is to create an account.\n

\n
    \n
  • \n
      \n
    1. \n You're already on our site rascalkids.app click \"Sign Up\" above.\n Our user-friendly signup process will guide you every step of the way.\n
    2. \n
    3. \n Once you've successfully created an account, you can start playing Rascal on your browser, or you can\n head over to your preferred mobile app store. Whether you're using\n iOS or\n Android,\n you can find us on both stores under 'Rascal'. We will provide a convenient\n download link right after you sign up.\n
    4. \n
    5. \n After downloading the app, you can log in and dive into the world of Rascal,\n accessing all the fantastic content we have to offer.\n
    6. \n
    \n
  • \n
\n\n

\n 3. How many devices can I use Rascal on?\n

\n

\n Rascal can be downloaded onto as many devices as you own, mobile, tablet and browsers on PC's. However,\n you can only use 5 devices at one time with one account. If you need more devices, please send us an email at\n support@rascalkids.app\n

\n\n\n

\n 4. What languages are available?\n

\n

\n Rascal is currently available in English and Te Reo Māori. As our network and library of tales grow, we're eager to explore new horizons and\n bring more languages into our storytelling world. Stay tuned!\n

\n\n

\n 5. Who makes the stories?\n

\n

\n Rascal Originals: Rascal work's with a range of amazing creatives globally to develop stories designed specifically for the platform!\n
\n Rascal also acquires stories from established / produced 2d animation series, short films or published children's books!\n We're always looking for amazing new stories to host on the Rascal Platform!\n

\n\n

\n 6. How can I bring Rascal into my classroom?\n

\n

\n If you're interested in bringing Rascal into your classroom, we're thrilled to offer our services to\n schools for FREE! To get started, simply contact us at schools@rascal.nz,\n and we'll assist you in setting up Rascal as an invaluable resource for your classroom or kindergarten.\n

\n\n

\n 6. How can I get involved?\n

\n

\n Do you have a short animated film already produced?!\n
\n Maybe you've made a children's book and would love to see it developed into a readable / playable game?\n
\n Or... are you eager to explore creative opportunities with us on our productions?\n
\n
\n We are always looking for amazing talent and would love to hear from you! Reach out to us at:\n creatives@rascal.nz\n
\n
\n Please Note: We aren't looking for any submissions of work, just an expression of interest in working together.\n
\n
\n Unsolicited Submission Policy:\n Rascal does not accept or consider unsolicited ideas, suggestions, information, or materials of any nature\n whatsoever (“submissions”) and we request that you don’t provide submissions to us. The purpose of this\n policy is to avoid misunderstandings and disputes when Rascal stories, animations, and illustrations\n are similar or even identical to your submissions. Submissions to us or any affiliated entity or\n individual, regardless of any statements made in connection with such submission, the following terms apply:\n\n

    \n
  1. \n Rascal will consider the submission to be non-confidential and non-proprietary.\n
  2. \n
  3. \n Rascal will have no obligation of any nature whatsoever relating to the submission.\n
  4. \n
  5. \n The submission automatically becomes property of Rascal. Rascal may use, disclose and distribute\n the submission in any manner and for any purpose without compensation to you or any third party.\n
  6. \n
\n

\n\n

\n 7. You have some thoughts!?\n

\n

\n Rascal is ALWAYS looking for feedback, good and bad - we want Rascal to feel like a safe-haven for parents\n and kids, and we can only do that with your input. We want Rascal to be the best storytelling app that we can be, so\n please don't hesitate to reach out and give us your piece of mind support@rascalkids.app\n

\n

\n Alternativley leave a comment and rating on the app store of your choice.\n

\n
\n \n
\n
\n );\n }\n}\n\nexport default FAQ;\n\n","import React, {Component} from \"react\";\nimport {Button, FormInstance, Input, Modal} from \"antd\";\nimport {RootStore} from \"models/RootStore\";\nimport logger from \"loglevel\";\nimport Api from \"models/Api\";\nimport {UserApi} from \"models/user/UserApi\";\nimport Turnstile from \"react-turnstile\";\nimport {observable} from \"mobx\";\n\nimport './NewsletterModal.scss';\n\nconst turnstileSiteKey: string = process.env.TURNSTILE_SITE_KEY;\n\ninterface INewsletterModalProps {\n onClose: () => void;\n}\n\ninterface INewsletterModalState {\n open: boolean;\n submitting: boolean;\n finished: boolean;\n firstName: string;\n lastName: string;\n email: string;\n captchaResponse: string;\n}\n\nclass NewsletterModal extends Component {\n\n private store: RootStore;\n\n constructor(props: INewsletterModalProps) {\n super(props);\n this.store = RootStore.getStore();\n this.state = {\n open: true,\n submitting: false,\n finished: false,\n firstName: '',\n lastName: '',\n email: '',\n captchaResponse: null\n }\n this.onSubmit = this.onSubmit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n this.errorCallback = this.errorCallback.bind(this);\n this.verifyCallback = this.verifyCallback.bind(this);\n this.expiredCallback = this.expiredCallback.bind(this);\n }\n\n public errorCallback(): void {\n }\n\n public verifyCallback(response: string): void {\n this.setState({\n captchaResponse: response\n });\n }\n\n public expiredCallback(): void {\n this.setState({\n captchaResponse: null\n });\n }\n\n public onSubmit() {\n this.setState({\n open: false\n });\n this.props.onClose();\n }\n\n public onCancel() {\n this.setState({\n open: false\n });\n this.props.onClose();\n }\n\n private isSubmitDisabled(): boolean {\n const {submitting, captchaResponse} = this.state;\n return captchaResponse == null || submitting;\n }\n\n public render() {\n const {open, submitting} = this.state;\n return (\n \n {this.renderModalContent()}\n \n );\n }\n\n registerToNewsletter() {\n const {firstName, lastName, email, captchaResponse} = this.state;\n this.setState({\n submitting: true\n });\n UserApi.registerNewsletter({\n first_name: firstName,\n last_name: lastName,\n email: email,\n 'cf-turnstile-response': captchaResponse\n }).then((response) => {\n if (response.success) {\n this.setState({\n finished: true\n });\n }\n this.setState({\n submitting: false\n })\n }).catch((error) => {\n if (error.status) {\n console.log(error);\n } else {\n console.log('An unexpected error has occurred', error);\n }\n\n this.setState({\n submitting: false\n });\n })\n }\n\n renderSubmit() {\n const {firstName, lastName, email, finished} = this.state;\n if (finished) {\n return

Thank you! We have registered you to our Newsletter, you should be hearing from us soon.

\n } else {\n return (\n \n this.setState({firstName: event.target.value})} value={firstName} />\n this.setState({lastName: event.target.value})} value={lastName} />\n this.setState({email: event.target.value})} value={email}/>\n \n \n \n );\n }\n }\n\n renderModalContent() {\n const {finished} = this.state;\n return (\n
\n
\n

Subscribe to Rascal

\n {!finished &&

Our newsletter is where you can receive updates on new stories, new features, free resources for parents and more.

}\n
\n
\n {this.renderSubmit()}\n
\n
\n )\n }\n}\n\nexport default NewsletterModal;\n","import React, {Component} from 'react';\nimport {Button, Col, Row} from 'antd';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport './PrivacyPolicy.scss';\nimport {Helmet} from \"react-helmet\";\n\n// This renders either itself or Logged out Homepage.\nclass CookiePolicy extends Component {\n\n public render(): React.ReactElement {\n return (\n \n \n Rascal - Cookie Policy\n \n {this.renderCookieSection()}\n \n );\n }\n\n private renderCookieSection() {\n return (\n
\n \n \n

Cookie Policy

\n
\n

\n 1. Introduction\n

\n
    \n
  • \n Rascal Entertainment Limited, a New Zealand registered company of 94C Tinakori Road, Thorndon,\n Wellington, 6011 , New Zealand (Rascal) is committed to protecting your privacy.\n
  • \n
  • \n This Cookie Policy explains what cookies are, what types of cookies are placed on your device\n when you visit Rascal’s website rascalkids.app (Website) or use Rascal’s related mobile app\n (App), (together, the Service) and how Rascal uses them.\n
  • \n
  • \n This Cookie Policy does not address how Rascal deals with your personal information and data\n generally. To learn more about how Rascal processes your personal information, please see Rascal’s\n Privacy Policy.\n
  • \n
\n\n

\n 2. What are cookies?\n

\n
    \n
  • \n Cookies are small text files that are sent to or accessed from your web browser or your device's\n memory. A cookie typically contains the name of the domain (internet location) from which the cookie\n originated, the \"lifetime\" of the cookie (i.e., when it expires) and a randomly generated unique\n number or similar identifier. A cookie also may contain information about your device, such as user\n settings, browsing history and activities conducted while using the Service.\n
  • \n
\n\n

\n 3. Are there different types of cookies?\n

\n
    \n
  • \n First-party and third-party cookies\n
    \n ‍There are first-party cookies and third-party cookies. First-party cookies are placed on your\n device directly by us. For example, Rascal uses first-party cookies to adapt the Website to your\n browser's language preferences and to better understand your use of the Website. Third-party\n cookies are placed on your device by our partners and service providers. For example, Rascal\n uses third-party cookies to measure user numbers on the Website.\n
  • \n
  • \n Session and persistent cookies\n There are session cookies and persistent cookies. Session cookies only last until you close your\n browser. Rascal uses session cookies for a variety of reasons, including to learn more about\n your use of the Website during one single browser session and to help you to use the Website,\n App and Service more efficiently. Persistent cookies have a longer lifespan and aren't automatically\n deleted when you close your browser. These types of cookies are primarily used to help you quickly\n sign-in to the Website again and for analytical purposes.\n
  • \n
\n\n

\n 4. What about other tracking technologies, like web beacons?\n

\n
    \n
  • \n Other technologies such as web beacons (also calls pixel tags or clear gifs), tracking URLs or\n software development kits (SDKs) are used for similar purposes. Web beacons are tiny graphics\n files that contain a unique identifier that enable us to recognize when someone has visited the\n Website or App or opened an e-mail that Rascal has sent them. Tracking URLs are custom generated\n links that help us understand where the traffic to our web pages comes from. SDKs are small pieces\n of code included in apps, which function like cookies and web beacons.\n
  • \n
  • \n For simplicity, Rascal also refers to these technologies as \"cookies\" in this Cookie Policy.\n
  • \n
\n\n

\n 5. What does Rascal use cookies for?\n

\n
    \n
  • \n Like most providers of online services, Rascal uses cookies to provide, secure and improve the\n Website and App; including by remembering your preferences and recognizing you when you visit the\n Website. To accomplish these purposes, Rascal also may link information from cookies with other\n personal information Rascal holds about you.\n
  • \n
  • \n When you visit Rascal’s Website, some or all of the following types of cookies may be set on your device.\n
    \n
    \n Essential website cookies\n These cookies are strictly necessary to provide you with services available through the Website and\n to use some of its features, such as access to secure areas.\n
    \n
    \n Analytics cookies\n These cookies help us to understand how the Website is being used, how effective marketing campaigns\n are, and help us customize and improve the Website for you.\n
    \n
    \n Social networking cookies\n These cookies are used to enable you to share pages and content that you find interesting on Rascal’s\n Website through third-party social networking and other websites. These cookies may also be used for\n advertising purposes too.\n
  • \n
\n\n

\n 6. How can you control cookies?\n

\n
    \n
  • \n There are several cookie management options available to you. Please note that changes you make to\n your cookie preferences may make browsing the Website or using the App a less satisfying experience.\n In some cases, you may even find yourself unable to use all or part of the Website or App.\n
  • \n
  • \n Browser and devices controls\n
      \n
    1. \n Some web browsers provide settings that allow you to control or reject cookies or to alert you\n when a cookie is placed on your computer. The procedure for managing cookies is slightly different\n for each internet browser. You can check the specific steps in your particular browser help menu.\n
    2. \n
    3. \n You also may be able to reset device identifiers by activating the appropriate setting on your\n mobile device. The procedure for managing device identifiers is slightly different for each device.\n You can check the specific steps in the help or settings menu of your particular device.\n
    4. \n
    \n
  • \n
\n\n

\n 7. Social Cookies\n

\n
    \n
  • \n To allow you to share content on social media, some features of this Website and the App use social\n media plugins (e.g., Facebook™ \"Share to Facebook\"; or LinkedIn™ \"in\" buttons). Depending on your social\n media account settings, Rascal automatically receives information from the social media platform when\n you use the corresponding button on Rascal’s Website or Service.\n
  • \n
  • \n To learn more about social media cookies, Rascal suggests you refer to your social media platform's cookie policy and privacy policy.\n
  • \n
\n\n

\n 8. Google Analytics\n

\n
    \n
  • \n Rascal uses Google Analytics, which is a Google service that uses cookies and other data collection\n technologies to collect information about your use of the Website and App in order to report website trends.\n
  • \n
  • \n You can opt out of Google Analytics by visiting www.google.com/settings/ads or by downloading the\n Google Analytics opt-out browser add-on at https://tools.google.com/dlpage/gaoptout.\n
  • \n
\n\n

\n 9. How to Contact Us\n

\n
    \n
  • \n If you have questions about this Cookie Policy, here's how you can reach us:\n
    \n Email: support@rascalkids.app
    \n By Post: David Sowry, 94C Tinakori Road, Thorndon, 6011, New Zealand\n
  • \n
\n
\n \n
\n
\n );\n }\n}\n\nexport default CookiePolicy;\n","import React, {Component} from 'react';\nimport {Col, Row} from 'antd';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport './PrivacyPolicy.scss';\nimport {Helmet} from \"react-helmet\";\n\n// This renders either itself or Logged out Homepage.\nclass PrivacyPolicy extends Component {\n\n public render(): React.ReactElement {\n return (\n \n \n Rascal - Privacy Policy\n \n {this.renderPolicySection()}\n \n );\n }\n\n private renderPolicySection() {\n return (\n
\n \n \n

Privacy policy

\n
\n

Rascal Entertainment Limited, a New Zealand registered company of Lvl 1, 3 Blair Street, Te Aro,\n Wellington, 6011 , New Zealand (Rascal) is firmly committed to respecting the\n confidentiality of the personal information you supply to us and all data will be processed\n in accordance with applicable data privacy laws.\n < br />\n < br />\n The following policy discloses Rascal’s information gathering and dissemination practices for this\n website (the Website) and the associated Rascal mobile application (App) which provide an interactive\n way for family members to read and share stories with younger members of the family (the Website and\n the App, collectively, the Service). If you do not agree with our use of your personal information as\n set out in this Privacy Policy, you should not submit your personal information to us.\n < br />\n < br />\n Rascal reserves the right to make changes to this Privacy Policy at any time by posting a revised Policy on the\n Website and emailing a copy of the revised Policy to users without prior notice and such changes become effective\n once a revised Privacy Policy is posted on Rascal’s Website. Your continued use of Rascal’s Website and/or App\n constitutes your acceptance of such changes. Accordingly, you should review this Privacy Policy from time to time\n for changes. THIS PRIVACY POLICY WAS LAST UPDATED: February 2022.\n < br />\n < br />\n Registered users with the Service must be over the age of 18. Individuals under 18 years of age are only\n authorized to use or access the Website and the Service through the account of a parent or legal guardian\n that is over the age of 18 and is a Paid User.\n < br />\n < br />\n The protection of your privacy is very important and Rascal has adopted the following practices to safeguard\n the confidentiality of your personal information.\n

\n
\n
\n

\n 1. Your Rights in Connection with Personal Information\n

\n
    \n
  • \n Under certain circumstances, by law you have the right to:\n
      \n
    1. Object to processing of your personal information where Rascal is relying on a legitimate\n interest (or that of a third party) and there is something about your particular situation which\n makes you want to object to processing on this ground. You also have the right to object where\n Rascal is processing your personal information for direct marketing purposes.
    2. \n\n
    3. Request access to your personal information (commonly known as a “data subject access\n request”). This enables you to receive a copy of the personal information Rascal holds about you\n and to check that Rascal is processing it lawfully.\n
    4. \n\n
    5. Request correction of the personal information that Rascal holds about you. This enables\n you to have any incomplete or inaccurate information Rascal holds about you corrected.\n
    6. \n\n
    7. Request erasure of your personal information. This enables you to ask Rascal to delete or\n remove personal information where there is no good reason for Rascal continuing to process it.\n You also have the right to ask Rascal to delete or remove your personal information where you have\n exercised your right to object to processing (see above).\n
    8. \n\n
    9. Request the restriction of processing of your personal information. This enables you to ask\n Rascal to suspend the processing of personal information about you, for example if you want Rascal\n to establish its accuracy or the reason for processing it.\n
    10. \n\n
    11. Request the transfer of your personal information to another party in a machine-readable\n commonly used and structured format.\n
    12. \n
    \n
  • \n
  • \n If you want to exercise any of these rights then please contact Rascal through the Website or using\n the contact details set out at the end of this Privacy Policy. The various rights are not absolute\n and each is subject to certain exceptions or qualifications. For example, if you wish to withdraw your\n consent or object to processing, Rascal may need to discuss with you whether Rascal’s use of your data\n needs to continue for other lawful purposes, such as fulfilment of a legal or contractual requirement.\n
  • \n
  • \n Rascal will respond to your request within one month of receipt of your request. In some cases Rascal\n may not be able to fulfil your request to exercise the right before this date and may need to request\n more time. Where Rascal cannot provide a full response to you for any reason, Rascal will let you\n know about this in Rascal’s initial reply to your request.\n
  • \n
\n\n

\n 2. Your Duty to Inform Rascal of Changes\n

\n
    \n
  • \n It is important that the personal information Rascal holds about you is accurate and current.\n Please keep Rascal informed if your personal information changes during your working relationship\n with Rascal.\n
  • \n
\n\n

\n 3. Fees\n

\n
    \n
  • \n You will not have to pay a fee to access your personal information (or to exercise any of the other\n rights). In some cases, Rascal may charge a reasonable fee if your request for access is clearly\n unfounded or excessive, or if you request multiple copies of the information. Alternatively, Rascal\n may refuse to comply with the request in such circumstances.\n
  • \n
\n\n

\n 4. What Rascal May Need From You\n

\n
    \n
  • \n Rascal may need to request specific information from you to help Rascal confirm your identity and ensure\n your right to access the information (or to exercise any of your other rights). This is another\n appropriate security measure to ensure that personal information is not disclosed to any person who\n has no right to receive it.\n
  • \n
\n\n

\n 5. Right To Complain\n

\n
    \n
  • \n If you wish to request further information about any of the above rights, or if you are unhappy with\n how Rascal has handled your information, please contact Rascal through the Website or using the\n contact details set out at the end of this Privacy Policy. If you are not satisfied with Rascal’s\n response to your complaint or believe Rascal’s processing of your information does not comply with\n data protection law, you can make a complaint to the relevant supervisory authority in your\n jurisdiction. For example, the Office of the Privacy Commissioner in New Zealand.\n
  • \n
\n\n

\n 6. What Information Is Collected?\n

\n
    \n
  • \n Rascal collects two types of information: personally identifiable information (PII) and non-personally\n identifiable information (Non-PII), which is also referred to as aggregate and anonymous data.\n
  • \n
\n\n

\n 7. Collection of Information from Children\n

\n
    \n
  • \n Rascal may collect PII from children under the age of 13 by collecting the content that any person\n records using, or otherwise uploads to, the Service. A video or audio recording of a person is PII.\n Rascal does not otherwise require the provision of any PII about any users under the age of 18, who\n can only access the Website and the App through the account of their parent or legal guardian who is\n a Paid User. A child may use the Website or App to view content created by other users that are linked\n to their parent or legal guardian’s account without providing any PII.\n
  • \n
  • \n Where you are a parent or legal guardian, and you allow any child in your care to use the Service,\n you consent to Rascal collecting and using content created by, or featuring, that child in accordance\n with this Privacy Policy.\n
  • \n
  • \n You expressly consent to Rascal providing access to that content to other users that you have permitted\n to access content using your account.\n
  • \n
  • \n You can access the content that has been created through your account at any time. If you wish to\n remove any content, including content created by children under your care, please contact us at\n support@rascalkids.app.\n
  • \n
  • \n If you wish to prevent further use or collection of a child's PII, you can disable voice recordings\n under the account settings.\n
  • \n
  • \n Where you are a parent or legal guardian, and you allow any child in your care to use the Service,\n you consent to Rascal collecting and using content created by, or featuring, that child in accordance\n with this Privacy Policy.\n
  • \n
  • \n 7 Where you are a parent or legal guardian, and you allow any child in your care to use the Service,\n you consent to Rascal collecting and using content created by, or featuring, that child in accordance\n with this Privacy Policy.\n
  • \n
  • \n You agree that you will not provide access to the Website or App to any child that you:\n
      \n
    1. are not the parent or legal guardian of; and
    2. \n
    3. who you do not have the legal right to provide consent on behalf of.
    4. \n
    \n
  • \n
  • \n You agree that if you are not a Paid User, you will not allow any person under the age of 18 to use the Website or the App using your account.\n
  • \n
\n\n

\n 8. What information do you gather from visitors?\n

\n
    \n
  • \n Rascal gathers information about how you access the Website and use the App, including the type of\n device you use to access the Website or App, your domain name, your IP address, your phone number,\n and your internet browser software, operating system and platform. Rascal may also derive your\n approximate geolocation from your IP address or from your mobile device. Rascal also gathers\n information about your use of the Website and App, including statistical data about your visit\n such as the date and time of your visit, the number of links you have clicked on, the pages you\n have visited and the number of times you have visited.\n
  • \n
  • \n Rascal uses cookies to facilitate a more user-friendly experience. Cookies are small pieces of\n information that a web site places on your computer's hard drive so Rascal knows it's you when you\n visit. This helps Rascal to create a personalized experience for you when you visit the Website or\n use the App. The use of cookies is a very common practice on the Internet and provides for a more\n customized user experience of the Website. For further information on Rascal’s use of cookies, please\n refer to Rascal’s Cookie Policy available here: https://rascalkids.app/cookie-policy\n
  • \n
\n\n

\n 9. What information will you ask me for?\n

\n
    \n
  • \n When you establish an account with the Service you will be asked for PII and Non-PII which will\n enable Rascal to provide you with the Service. Rascal may collect and use information you provide\n Rascal with, including information such as your account user name, date of birth, email address and\n any other information you have provided to Rascal through your use of the Website or App or otherwise.\n If you do not provide Rascal with your email address, Rascal may not be able to set up a profile for you.\n
  • \n
  • \n You may create recordings, or submit other content, through the Website or App. That content may or\n may not include PII. Rascal will collect and use that content in accordance with this Privacy Policy.\n
  • \n
\n\n

\n 10. What information does Rascal collect from third parties?\n

\n
    \n
  • \n Rascal may collect information from other sources, including third party sites that you may choose to\n link to your Rascal account, such as Facebook. Rascal may obtain the information that you have\n provided to that third party, to the extent allowed by the third-party site and authorised by you.\n
  • \n
\n\n

\n 11. How will this information be used and who has access to it?\n

\n
    \n
  • \n Non-PII: Your Non-PII is used to personalize your experience, allow other users to access your content\n where you have provided that access through the Website or the App. Rascal may share some of this\n information for Rascal’s own analysis and research purposes with Rascal’s professional advisors or\n consultants and third-party partners in order to deliver, manage, monitor, maintain, develop and\n improve the Website or the App.\n
  • \n
  • \n PII: The PII Rascal collects from you is used in the course of providing Rascal’s Website and\n Service to you and to manage, monitor, maintain, develop or improve the content and functionality of\n Rascal’s Service and Website. Rascal may use your contact information to send you valuable updates and\n timely notices of promotions and mailbox status reports. Rascal may also use your PII to send electronic\n mail to you, for the purpose of informing you of changes or additions to the Service, or of any Rascal\n products and related services. Rascal will only send you marketing communications where Rascal has\n your consent to do so. You have the option to withdraw your consent at any time. Rascal does not rent,\n sell or otherwise provide your PII to third parties for marketing, direct marketing or solicitation\n purposes. The PII Rascal collects is not released to any non-affiliated third party without your prior consent.\n
  • \n
\n\n

\n 12. Payment\n

\n
    \n
  • \n Your credit card or payment details will be processed or transmitted through or via the Website.\n
  • \n
\n\n

\n 13. Advertisers and Third-Parties\n

\n
    \n
  • \n Rascal may disclose your Non-PII to third party organisations, agents and service providers to assist\n Rascal in providing the Services (for example, content-delivery, trends), as well as conducting market\n and business research and analysis for any of the purposes set out in this Privacy Policy.\n
  • \n
\n\n

\n 14. Third-Party Social Networking Sites\n

\n
    \n
  • \n When you have enabled the use of Rascal’s Services through a third-party social networking site,\n mobile application, or similar websites or applications (a Social Networking Site), such as\n Facebook or Twitter, you permit Rascal to access certain information about you that is made available\n to Rascal through or from that Social Networking Site. The information obtained by Rascal varies by\n Social Networking Site and may be affected by the privacy settings you establish at that Social\n Networking Site, but can include information such as your name, profile picture, network, gender,\n username, user ID, age range or birthday, language, location, country and other information. By\n accessing or using Rascal’s Services through a Social Networking Site, you are authorizing Rascal to\n collect, store, retain and use, in accordance with this Policy, any and all of your information that\n Rascal has obtained from the Social Networking Site, including to create a Rascal profile page and\n account for you. Your agreement to the foregoing takes place when you \"accept\" or \"allow\" or “go to\"\n (or other similar terms) Rascal’s application on a Social Networking Site or the transfer of\n information to Rascal from such site. If there is information about your “friends\" or people you\n are associated with in your Social Networking Site account, the information Rascal obtains about\n those persons may also depend on the privacy settings such people have with the applicable Social\n Networking Site. You acknowledge and agree that Rascal is not responsible for, and has no control\n over, any applicable privacy settings on any Social Networking Sites (including any settings related\n to any messages or advertisements about Rascal that the Social Networking Site may send to you or\n your friends). You should always review, and if necessary, adjust your privacy settings on Social\n Networking Sites before getting or using applications such as Rascal’s or linking or connecting your\n Social Networking Site account to the Services. You may also unlink your Social Networking Site\n account from the Services by adjusting your settings on the Social Networking Site.\n
  • \n
\n\n

\n 15. To enforce legal rights\n

\n
    \n
  • \n Rascal may disclose your PII to respond to law enforcement requests; or where required by applicable\n laws, court orders, or government regulations; or to protect against misuse or unauthorized use of\n our Website, App or Service; or to protect the personal safety or property of Rascal’s users or the\n public (among other things, this means that if you provide false information or attempt to pose as\n someone else, information about you may be disclosed as part of any investigation into your actions).\n
  • \n
\n\n

\n 16. Sale or Merger\n

\n
    \n
  • \n Rascal may disclose and sell PII in connection with the sale, assignment, or other transfer of the\n business or a portion of the business of Rascal’s Website, including a corporate merger, consolidation,\n restructuring, sale of assets or other corporate change of Rascal’s direct or indirect parent\n companies that affects Rascal.\n
  • \n
\n\n

\n 17. How Does Rascal Respond to Do Not Track Signals?\n

\n
    \n
  • \n The Website supports the Do Not Track browser setting. Do Not Track (DNT) is a preference you can\n set in your web browser to let the websites you visit know that you do not want them collecting certain\n information about you. For more details about Do Not Track, including how to enable or disable this\n preference, visit the Electronic Frontier Foundation page.\n
  • \n
  • \n Website users who send Do Not Track signals will not experience an adverse effect on their experience with the Website.\n
  • \n
\n\n

\n 18. Rascal’s bases for collecting and using the information\n

\n
    \n
  • \n Rascal is entitled to use your PII in the ways set out in this Privacy Policy on the following bases:\n
      \n
    1. \n the use of personal information in this way is necessary for the performance of a contract\n with you for provision of Rascal’s Services;\n
    2. \n
    3. \n the use of your personal information is necessary for Rascal’s legitimate interests in:\n
        \n
      1. \n ensuring the quality of the products and services Rascal provides to you;\n
      2. \n
      3. \n collecting information for marketing purposes;communicating with you; and\n
      4. \n
      5. \n statistical analysis;\n
      6. \n
      \n
    4. \n
    5. \n you have consented to such use; and/or\n
    6. \n
    7. \n to establish, exercise or defend Rascal’s legal rights for the purposes of legal proceedings.\n
    8. \n
    \n
  • \n
  • \n Rascal does not intend to collect any sensitive and special categories of information (this includes\n information concerning your health, personal information revealing your racial or ethnic origin,\n political opinions, religious or philosophical beliefs, or data concerning sexual orientation). If\n you choose to provide such information to Rascal, Rascal will only use that information where Rascal\n has asked for your explicit consent or otherwise where this is necessary for the establishment,\n exercise or defence of legal claims.\n
  • \n
  • \n In the case that you have obviously made information public (e.g. on social media) Rascal will\n process sensitive/special categories of information for the purposes of carrying out Rascal’s legal obligations.\n
  • \n
  • \n If provision of your PII is a legal or contractual requirement or a requirement necessary to enter\n into a contract with Rascal, and you choose not to provide it, Rascal may not be able to perform\n some of the tasks Rascal needs to in order to provide certain services to you.\n
  • \n
  • \n If you do choose to provide your consent you can withdraw it at any time by contacting Rascal\n through the Website or using the contact details set out at the end of this Privacy Policy.\n
  • \n
\n\n

\n 19. How long does Rascal keep the information that users have provided to Rascal?\n

\n
    \n
  • \n Rascal keeps the information you have given Rascal for as long as your account stays active and for\n at least 12 months afterwards.\n
  • \n
  • \n Your PII may be deleted from our systems (other than records kept as required by applicable law or\n for general backup, archival or record keeping purposes) if your account is inactive for 24 months.\n
  • \n
\n\n

\n 20. Updating your preferences\n

\n
    \n
  • \n By accessing and updating your email notification preferences, personal information and public\n information you have the opportunity to opt-out of certain communications and modify personal\n information or other information you have provided to Rascal at any time by going to the 'Settings'\n section on your profile. In some circumstances there may be a period of time before any changes are implemented.\n
  • \n
\n\n

\n 21. Unsolicited Contact (SPAM)\n

\n
    \n
  • \n Rascal does not send unsolicited email at any time. You may opt-out of receiving email messages at any\n time. Any abuse or evidence of unsolicited email that appears to have been initiated from Rascal,\n directly or indirectly, should be brought to the immediate attention of Rascal by contacting us at\n support@rascalkids.app.\n
  • \n
\n\n

\n 22. Does Rascal monitor online behaviour?\n

\n
    \n
  • \n Rascal’s users can send content to each other through the Website or the App if the Paid User has\n granted that ability to connected Other User accounts. While Rascal does not, as a rule, moderate or\n monitor such content, Rascal reserves the right to do so if Rascal suspects users being in breach of\n Rascal’s Terms & Conditions or Privacy Policy.\n
  • \n
\n\n

\n 23. Security\n

\n
    \n
  • \n Rascal treats data as an asset that must be protected against loss and unauthorized access. To\n safeguard the confidentiality and security of your PII, Rascal uses industry standard practices and\n technologies including but not limited to \"firewalls\", encrypted transmission via SSL (Secure Socket\n Layer) and strong data encryption of sensitive personal information when it is stored to disk.\n However, because the internet is an open network, Rascal cannot warrant or guarantee that your PII\n is safe from unauthorised access or use. Non-PII and PII may be kept on computer systems operated by\n third parties. Rascal will take reasonable precautions against unauthorised access and disclosure\n by those third parties.\n
  • \n
\n\n

\n 24. Does Rascal monitor online behaviour?\n

\n
    \n
  • \n Rascal is a New Zealand-based company and many of Rascal‘s external third parties are based outside\n the UK and the European Economic Area (EEA). Accordingly, to the extent you are based within the UK or\n EEA, the processing of your personal information may involve a transfer of information outside of\n these jurisdictions. Where your information is transferred to any country outside the UK or EEA,\n Rascal ensures that this is done using specific legally-approved safeguards. You can request further\n details and a copy of these safeguards by contacting Rascal using the contact details set out at the\n end of this Privacy Policy.\n
  • \n
\n\n

\n 25. Does Rascal monitor online behaviour?\n

\n
    \n
  • \n If you wish to contact Rascal about this Privacy Policy, including requesting access, amendments to,\n or deletion of your PII and Non-PII, you can contact Rascal at:\n
    \n Email: support@rascalkids.app\n
    \n By Post:\n
    \n David Sowry, Level 1, 3 Blair Street, Te Aro, 6011, Wellington, New Zealand\n
  • \n
\n\n
\n \n
\n
\n );\n }\n}\n\nexport default PrivacyPolicy;\n","import React, {Component} from 'react';\nimport {Button, Col, Row} from 'antd';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport './PrivacyPolicy.scss';\nimport {Helmet} from \"react-helmet\";\n\n// This renders either itself or Logged out Homepage.\nclass TermsAndConditions extends Component {\n\n public render(): React.ReactElement {\n return (\n \n \n Rascal - Terms and Conditions\n \n {this.renderTermsAndConditionsSection()}\n \n );\n }\n\n private renderTermsAndConditionsSection() {\n return (\n
\n \n \n

Terms and Conditions

\n
\n

Rascal Entertainment Limited, a New Zealand registered company of 94C Tinakori Road, Thorndon,\n Wellington, 6011 , New Zealand (Rascal) operates the website rascalkids.app (Website) and the\n associated RascalKids mobile application (App) which provide an interactive way for family members\n to read and share stories with younger members of the family (the Website and the App, collectively,\n the Service).\n < br />\n < br />\n Your use of the Service is subject to the following Terms and Conditions of Use (these Terms).\n The terms you, your and yourself each mean the person who accesses or uses the Service whether or\n not such person is a paid member.\n

\n
\n
\n

\n 1. Acceptance of Agreement\n

\n
    \n
  • \n By creating an account on the Service, (whether free or paid, through the App of the Website) you, as a user,\n are a registered member of the Service and agree to be bound by these Terms.\n
  • \n
  • \n These Terms are a legal contract made between you and Rascal. Your use of the Service (whether or not you are a\n paid member) will be governed by these Terms and the Privacy Policy.\n
  • \n
  • \n IF YOU DO NOT AGREE WITH THESE TERMS, DO NOT COMPLETE THE REGISTRATION PROCESS, USE OR OTHERWISE\n ACCESS THE SERVICE.\n
    \n
    \n RASCAL RESERVES THE RIGHT TO MAKE CHANGES ON REASONABLE GROUNDS TO THESE TERMS AT ANY TIME, AND ANY\n SUCH CHANGES WILL BE POSTED ON THE WEBSITE. YOU WILL BE GIVEN REASONABLE TIME TO ACCESS, READ AND\n CONSIDER ANY CHANGES. YOUR CONTINUED USE OF OUR SERVICE CONSTITUTES YOUR ACCEPTANCE OF SUCH CHANGES.\n YOU ARE RESPONSIBLE FOR REVIEWING THE WEBSITE REGULARLY TO OBTAIN TIMELY NOTICE OF ANY SUCH CHANGES.\n IF YOU DO NOT AGREE TO THESE TERMS, AS AMENDED AND UPDATED FROM TIME TO TIME, DO NOT CONTINUE TO USE OR\n ACCESS THE SERVICE. YOU CAN TERMINATE THIS AGREEMENT IMMEDIATELY ON NOTICE TO RASCAL WITHOUT PENALTY\n IF YOU DO NOT AGREE WITH THE UPDATED TERMS.\n
  • \n
\n\n

\n 2. Eligibility\n

\n
    \n
  • \n In order to create an account with the Service, you must meet the following requirements:\n
      \n
    1. \n you are at least 18 years old,\n
    2. \n
    3. \n you are able to form a legally binding contract,\n
    4. \n
    5. \n you have never been convicted of a violent or sexually related criminal or civil offence in any country and/or not required to register as a sex offender with any government entity, and\n
    6. \n
    7. \n you have never been banned from using the Service.\n
    8. \n
    \n
  • \n
  • \n If you are a Paid User (as defined below) you can allow children in your care to use the Service\n through your account, provided you comply with these Terms and the Privacy Policy. If you allow\n children in your care to use the Service, and create content, then you consent to us collecting\n and using that content.\n
  • \n
  • \n By registering as a member, you warrant to Rascal that you comply with all of these requirements.\n If you breach this warranty, without limitation to Rascal’s other rights and remedies, Rascal is\n entitled to terminate this Agreement under clause 8 below.\n
  • \n
  • \n Without limiting any other remedies available to Rascal (including Rascal’s rights to terminate in\n clause 8 below), RASCAL RESERVES THE RIGHT AT ANY TIME TO SUSPEND OR REMOVE YOUR ACCOUNT AND ANY\n CONTENT YOU SUBMIT FROM THE SERVICE AT RASCAL’S SOLE DISCRETION. TO THE MAXIMUM EXTENT PERMITTED\n BY LAW, IF RASCAL DOES REMOVE YOUR ACCOUNT AND/OR ANY CONTENT YOU SUBMIT RASCAL WILL NOT BE LIABLE\n TO YOU IN ANY WAY.\n
  • \n
\n\n

\n 3. Code of Conduct\n

\n
    \n
  • \n By using the Service, you agree to comply with the following;\n
      \n
    1. Your account is for your personal use only. You may not authorise others to use your account,\n except that where you are a parent or legal guardian you may authorise your children to use your\n account. You may not assign or otherwise transfer your account to any other person or entity.\n
    2. \n
    3. You must not enter any contact or identifying information into the Service or communicate and\n contact or identifying information through the Services except where expressly required when\n registering or when otherwise specifically requested by Rascal. This includes, but is not limited\n to, your email address, phone number or physical address.\n
    4. \n
    5. You must not disclose any details of any other user or disclose personal information of others\n through the Service or otherwise.\n
    6. \n
    7. You must provide accurate information regarding your identity when you register to become a\n user and use the Service and you must not use the Service under false pretenses.\n
    8. \n
    9. You must not interfere with or damage the Service, including, without limitation, through the\n use of viruses, registration bots, Trojan horses, harmful code, flood pings, denial of service\n attacks, packet or IP spoofing, forged routing or electronic mail address information or similar\n methods or technology, including methods that in any way reproduces or circumvents the\n navigational structure or presentation of the Service or its contents.\n
    10. \n
    \n
  • \n
  • \n If you breach these provisions, Rascal may terminate your account and your access to the Service for\n breach in accordance with clause 8 of these Terms. Upon request by Rascal, you agree to provide any\n further information to verify your identity and the accuracy of the personal information that you\n have provided. If you do not provide sufficient information for Rascal’s verification purposes, Rascal\n may terminate or suspend your account or access to the Service in accordance with clause 8.\n
  • \n
\n\n

\n 4. User Content\n

\n
    \n
  • \n By submitting or posting any content to our Service, you represent and warrant to us that the content\n is posted by you, that you have created the content and are the exclusive owner of the content and\n use of your content by us will not infringe or violate the rights of any third party. By submitting\n any content to the Service, you automatically grant, and you represent and warrant that you have the\n right to grant, to Rascal, and Rascal’s licensees, affiliates and successors, a perpetual, worldwide,\n non-exclusive, royalty-free right and license to use, reproduce, display, and modify such content or\n incorporate into other works such content, for the purposes of the operation of the Service.\n
  • \n
  • \n RASCAL IS NOT RESPONSIBLE FOR ANY CONTENT CREATED, POSTED OR ENTERED ON OR THROUGH RASCAL’S WEBSITE,\n APP, OR OTHERWISE THROUGH THE SERVICE. You are solely responsible for any content that you create,\n submit or transmit via the Service, and you shall be solely liable for any content created or uploaded\n via the Service that is deemed to infringe or violate any third party’s intellectual property rights.\n You agree not to include any illegal or unlawful information in your profile. You also agree not to\n post or submit any content that:\n
      \n
    1. is offensive or promotes racism, bigotry, hatred or physical harm of any kind against any group or individual;
    2. \n
    3. harasses or advocates harassment of another person;
    4. \n
    5. exploits people in a sexual or violent manner;
    6. \n
    7. contains excessive violence, or offensive subject matter;
    8. \n
    9. contains any personal information about any person or solicits any personal information from any person;
    10. \n
    11. \n constitutes or promotes information that you know is false or misleading or promotes illegal activities\n or conduct that is abusive, threatening, obscene, defamatory or libellous;\n
    12. \n
    13. constitutes or promotes an illegal or unauthorized copy of another person's copyrighted work;
    14. \n
    15. \n involves the transmission of \"junk mail,\" \"chain letters,\" or unsolicited mass mailing, instant\n messaging, \"spimming,\" or \"spamming\" or unsolicited electronic commercial messages;\n
    16. \n
    17. furthers or promotes any criminal activity or enterprise;
    18. \n
    19. solicits passwords or personal identifying information for commercial or unlawful purposes from other members;
    20. \n
    21. \n involves commercial activities and/or sales without prior written consent from Rascal such as\n contests, sweepstakes, barter, advertising, or pyramid schemes;\n
    22. \n
    23. \n includes a sound recording, photograph or video of another person that you have posted\n without that person's consent; or\n
    24. \n
    25. \n violates the privacy rights, publicity rights, defamation rights, copyrights, trademark rights,\n contract rights or any other rights of any person or entity.\n
    26. \n
    \n
  • \n
  • \n The foregoing is a partial list of the kind of content that is illegal or prohibited on Rascal’s\n Service. Rascal reserves the right to investigate and take appropriate legal action in Rascal’s\n sole discretion against anyone who violates this clause 4 or any other provision of these Terms,\n including without limitation, removing the offending communication from the Service, terminating\n the violator's account and access to the Service (in accordance with clause 8) and contacting and\n disclosing information to the relevant authorities.\n
  • \n
  • \n YOU SHALL BE SOLELY RESPONSIBLE FOR THE CONTENT OF MATERIALS YOU MAY CREATE THROUGH OR UPLOAD TO THE\n SERVICE. RASCAL CANNOT GUARANTEE, AND ASSUMES NO RESPONSIBILITY FOR, VERIFYING THE CONTENT CREATED\n OR PROVIDED BY OTHER USERS OF THE SERVICE.\n
  • \n
  • \n Without limiting any right that Rascal may have, Rascal may, at its sole discretion, edit, modify,\n or delete content from your account, delete any other content or material you have created through\n or uploaded to Rascal’s Website, App, or the Service, suspend or cancel your account if we believe\n that content entered creates, or may create, liability for Rascal, if Rascal believes the information\n to be misleading or inappropriate or if Rascal believes you have breached these Terms. To the maximum\n extent permitted by law, Rascal shall not be liable to you if Rascal exercises any of these rights,\n including cancellation of any type of account, or a permanent ban from using the Service.\n
  • \n
\n\n

\n 5. Subscriptions and Accounts\n

\n
    \n
  • \n In order to download and use the Service someone must purchase a paid subscription to the Service\n (Paid User). The Paid User can then provide access to the Service to other members of their\n family or close friends (Other Users), in accordance with the rules set by Rascal from time\n to time. Subject to those rules, the Other Users will be able to create an account with the Service\n without making any payment. The accounts of the Other Users are linked to the account of the Paid User,\n and if the Paid User ceases to be a user or otherwise has their account removed or suspended under\n these Terms, all Other Users will also cease to have access to the Service.\n
  • \n
  • \n SUBSCRIPTIONS OF PAID USERS AUTOMATICALLY RENEW, AND YOU ENTER INTO THIS AGREEMENT ACKNOWLEDGING\n THAT IF YOU PURCHASE A SUBSCRIPTION IT WILL AUTOMATICALLY RENEW AT THE END OF EVERY PERIOD UNLESS\n YOU CANCEL IT THROUGH YOUR APPLE APP STORE, GOOGLE PLAY, OR EQUIVALENT APP MARKETPLACE ACCOUNT, OR IF\n YOU HAVE PAID FOR YOUR SUBSCRIPTION THROUGH CREDIT CARD, REMOVING YOUR CREDIT CARD FROM YOUR ACCOUNT\n WILL STOP AUTO-RENEWAL CHARGES.\n
  • \n
\n\n

\n 6. Cancellations and Refunds\n

\n
    \n
  • \n Cancellation: You may cancel your account at any time, subject to these Terms. However, if you\n are a Paid User and do not wish to continue being charged, you must cancel your account at least 24\n hours prior to the end of the current period. There is no additional cancellation fee. UNINSTALLING\n THE SERVICE WILL NOT CANCEL A SUBSCRIPTION. You have to manually cancel your subscriptions through the Website.\n
  • \n
  • \n Refunds\n
      \n
    1. \n ALL CHARGES FOR PURCHASES ARE NON-REFUNDABLE, AND THERE ARE NO REFUNDS OR CREDITS FOR PARTIALLY\n USED PERIODS. Exceptions may be made if the laws applicable in your jurisdiction require refunds\n in certain limited circumstances.\n
    2. \n
    3. \n If you are a resident of California, you may be entitled to a refund provided you cancel your\n subscription within 10 business days after your subscription begins. If you have cancelled\n your subscription within 10 business days and you are a resident of California, please send\n us an email at support@rascalkids.app with your username and details in order to sort your refund.\n
    4. \n
    5. \n If you are a resident of the United Kingdom or the European Union, you may be entitled to a refund\n provided you cancel your subscription within 14 days after your subscription begins. If you are a\n resident of the United Kingdom or European Union, please send us an email at support@rascalkids.app\n with your username and details in order to sort your refund.\n
    6. \n
    \n
  • \n
\n\n

\n 7. Account Information and Data Deletion\n

\n
    \n
  • \n Username and password: YOU ARE RESPONSIBLE FOR KEEPING YOUR PASSWORD SECRET AND SECURE. WE ARE NOT\n RESPONSIBLE FOR THIRD PARTY ACCESS TO YOUR ACCOUNT THAT RESULTS FROM THEFT OR MISAPPROPRIATION OF YOUR\n USERNAME(S) OR PASSWORD(S). Without limiting the foregoing, you agree that:\n
      \n
    1. \n you will not permit any other person to use your user name and password (except for the ability\n to allow your children to use your account if you are a Paid User);\n
    2. \n
    3. you will not disclose, or provide to any other person, your password;
    4. \n
    5. you will immediately notify Rascal of any unauthorized use of your username and password or any other breach of security;
    6. \n
    7. you will ensure that you log off from your account at the end of each session; and
    8. \n
    9. you acknowledge and agree that you are responsible for all use of the Service under your user name and password.
    10. \n
    \n
  • \n
  • \n Account Deletion: You have the right to terminate your account if you do not wish to use the Service\n any longer. You may delete your account any time you wish by choosing the option to ‘Delete Account’\n in your profile settings. This will remove your profile and delete all your information from the Service.\n IF YOU CHOOSE TO DELETE YOUR ACCOUNT, WE WILL RETAIN YOUR CONTENT FOR A PERIOD OF 12 MONTHS FROM\n THE DATE OF DELETION. AFTER THAT PERIOD HAS EXPIRED, WE MAY DELETE YOUR CONTENT. PLEASE CONTACT\n US IF YOU ARE INTERESTED IN DOWNLOADING YOUR CONTENT, FOR WHICH THERE MAY BE A SEPARATE CHARGE.\n
  • \n
\n\n

\n 8. Termination\n

\n
    \n
  • \n Rascal reserves the right, and may exercise its right to terminate your subscription or account and your access to the Service if:\n
      \n
    1. you breach these Terms;
    2. \n
    3. Rascal considers (in its sole discretion) that you have violated or are likely to violate any applicable laws;
    4. \n
    5. a serious complaint or multiple complaints are received about you from any person;
    6. \n
    7. you impersonate another member or person; or
    8. \n
    9. Rascal, in its sole discretion, deems your behaviour whilst using the Service or in connection with your use of the Service, to be unacceptable.
    10. \n
    \n
  • \n
  • \n YOU AGREE THAT ANY TERMINATION OF YOUR ACCOUNT AND ACCESS TO THE SERVICE UNDER THESE TERMS PURSUANT\n TO CLAUSE 8.1 MAY BE EFFECTED WITHOUT PRIOR NOTICE, AND ACKNOWLEDGE AND AGREE THAT RASCAL MAY\n IMMEDIATELY DEACTIVATE YOUR ACCOUNTS (INCLUDING ANY ACCOUNTS OF OTHER USERS THAT ARE TIED TO YOUR\n PAID USER ACCOUNT) AND/OR BAR ANY FURTHER ACCESS TO THE SERVICE. FURTHER, YOU AGREE THAT, TO THE\n MAXIMUM EXTENT PERMITTED BY LAW, RASCAL WILL NOT BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY COSTS\n OR DAMAGES OF ANY KIND FOR OR RESULTING FROM ANY SUCH TERMINATION OF YOUR ACCOUNT OR ACCESS TO THE\n SERVICE.\n
  • \n
  • \n You may terminate your access to the Service at any time via Rascal’s Website or by sending Rascal\n written or email notice of termination to the contact information provided below. IN THE EVENT THAT\n YOU TERMINATE YOUR ACCOUNT AND SUBSCRIPTION, YOU WILL NOT BE ENTITLED TO ANY REFUND OF ANY PAID\n SUBSCRIPTION FEES, unless as specified otherwise in these Terms or required under applicable law.\n
  • \n
\n\n

\n 9. Links, Advertisements and Non-commercial Use\n

\n
    \n
  • \n Rascal Service may occasionally contain links and advertisements to third-party websites, companies\n and products. These links and advertisements are provided solely as a convenience to you and not as\n an endorsement of the contents, value, quality, safety, products, or accuracy on such third-party websites.\n
  • \n
  • \n Rascal is not responsible for the content, value, quality, safety, products or accuracy of linked\n third-party websites, companies and products; and do not make any representations regarding the content,\n value, quality, safety, products, or accuracy of materials on such third party websites. If you decide to\n access, use, or purchase from linked third-party websites, companies or products, you do so at your own risk.\n
  • \n
  • \n Rascal’s Service is for personal use only and must not be used in connection with any commercial\n purposes. Organizations, companies, and/or businesses must not use the Service for any purpose.\n
  • \n
\n\n

\n 10. Disclaimer\n

\n
    \n
  • \n You expressly understand and agree that YOUR USE OF RASCAL’S SERVICE IS AT YOUR SOLE RISK. RASCAL\n EXPRESSLY DISCLAIMS, TO THE MAXIMUM EXTENT PERMITTED BY LAW, ALL REPRESENTATIONS, WARRANTIES OR\n GUARANTEES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY REPRESENTATIONS,\n WARRANTIES OR GUARANTEES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.\n
  • \n
  • \n Rascal makes no representation, warranty or guarantee, to the maximum extent permitted by law, that\n
      \n
    1. the Service provided will be uninterrupted, timely, secure, or error free;
    2. \n
    3. the content provided on the Website or in the Service is error-free or appropriate for any particular age or person; or
    4. \n
    5. the quality of any products or services obtained through the Service will meet your requirements.
    6. \n
    \n
  • \n
  • \n YOU DO NOT ENTER INTO THIS AGREEMENT IN RELIANCE ON ANY REPRESENTATION, WARRANTY, GUARANTEE OR\n OTHER TERM, EXCEPT AS EXPRESSLY SET OUT IN THESE TERMS.\n
  • \n
  • \n No advice or information that is obtained by you from Rascal or otherwise shall create any\n representation, warranty or guarantee not expressly stated in these Terms.\n
  • \n
\n\n

\n 11. Limitation of Liability\n

\n

YOU EXPRESSLY UNDERSTAND AND AGREE THAT, TO THE MAXIMUM EXTENT PERMITTED BY LAW:

\n
    \n
  • \n Neither party shall be liable to the other under any circumstances for any indirect, incidental,\n special, consequential or exemplary loss or damages, including but not limited to damages for loss of\n profit, goodwill, use, data, or other intangible losses that result from the Service, or the\n inability to access the Service.\n
  • \n
  • \n Rascal shall not be liable for the cost of procurement of substitute goods or services resulting from\n services provided by Rascal.\n
  • \n
  • \n Rascal shall not be liable for the conduct or statements of other users or third parties in relation\n to the Service.\n
  • \n
  • \n None of the disclaimers, limitations or exclusions set out in these Terms will limit or exclude\n any form of liability to the extent such liability cannot be limited or excluded under applicable\n law, for example, under the Consumer Guarantees Act 1993 (New Zealand), the Fair Trading Act 1986\n (New Zealand) or any other applicable consumer protection legislation.\n
  • \n
\n\n

\n 12. Indemnity\n

\n
    \n
  • \n YOU AGREE TO INDEMNIFY RASCAL FULLY FROM AND AGAINST ALL CLAIMS, LIABILITY, LOSS, COSTS AND EXPENSES\n (INCLUDING THE FULL AMOUNT OF LEGAL COSTS) INCURRED OR SUFFERED BY RASCAL IN RESPECT OF OR IN CONNECTION WITH:\n
      \n
    1. information contained in your account;
    2. \n
    3. any material, including (without limitation) recordings, you enter on the Website or App or that is created using the Service;
    4. \n
    5. your communications with or behaviour towards other users;
    6. \n
    7. any death, personal injury or damage to property you may cause; or
    8. \n
    9. your breach of these Terms or any applicable laws.
    10. \n
    \n
  • \n
\n\n

\n 13. Binding Arbitration and Class Action Waiver\n

\n

Except for members residing within the UK, EU or European Economic Area and elsewhere where prohibited by applicable law:

\n
    \n
  • \n You acknowledge that any disputes pursued against Rascal will be on an individual basis. Any dispute,\n controversy or claim arising out of, relating to or in connection with this Agreement, including the\n breach, termination or validity thereof, shall be finally resolved by binding arbitration.\n
  • \n
  • \n Neither you nor Rascal, will bring nor participate in any class action or other class proceeding in\n connection with any dispute with the other party. Further, neither you nor Rascal agrees to class\n arbitration or any arbitration where a person brings a dispute as a representative of the other person.\n
    \n BY USING THE SERVICE YOU WAIVE ANY RIGHT TO ASSERT ANY CLAIMS AGAINST RASCAL AS A REPRESENTATIVE OR\n MEMBER IN ANY CLASS OR REPRESENTATIVE ACTION, EXCEPT WHERE SUCH WAIVER IS PROHIBITED BY LAW OR\n DEEMED BY A COURT OF LAW TO BE AGAINST PUBLIC POLICY.\n
  • \n
  • \n TO THE EXTENT EITHER PARTY IS PERMITTED BY LAW OR COURT OF LAW TO PROCEED WITH A CLASS OR\n REPRESENTATIVE ACTION AGAINST THE OTHER, THE PARTIES AGREE THAT: (a) THE PREVAILING PARTY SHALL NOT BE\n ENTITLED TO RECOVER ATTORNEYS’ FEES OR COSTS ASSOCIATED WITH PURSUING THE CLASS OR REPRESENTATIVE\n ACTION (NOT WITHSTANDING ANY OTHER PROVISION IN THIS AGREEMENT); AND (b) THE PARTY WHO INITIATES OR\n PARTICIPATES AS A MEMBER OF THE CLASS WILL NOT SUBMIT A CLAIM OR OTHERWISE PARTICIPATE IN ANY\n RECOVERY SECURED THROUGH THE CLASS OR REPRESENTATIVE ACTION.\n
  • \n
\n\n

\n 14. General Provisions\n

\n
    \n
  • \n Compliance with applicable laws: The Service is intended for use in a number of jurisdictions,\n including in the United States, the European Union and the United Kingdom. You agree to comply with\n all applicable laws when using the Service and dealing with other users. This includes compliance with\n any and all applicable local, state, national and international laws and regulations, including,\n but not limited to, United States export control laws.\n
  • \n
  • \n System integrity: Rascal will use its reasonable endeavours to ensure the availability of the\n Service, subject to any downtime required for maintenance. However, to the maximum extent permitted by\n law, Rascal takes no responsibility for any system unavailability, or for any loss that is incurred as\n a result of the Service being unavailable. Further, to the maximum extent permitted by law, Rascal\n assumes no responsibility for the corruption of any content, data or information held by Rascal.\n
  • \n
  • \n Force Majeure: Rascal shall have no liability for any lack of performance, damages, unavailability or\n failure of our Service, or for any failure on Rascal’s part to comply with these Terms where the same\n arises from any cause reasonably beyond the control of Rascal.\n
  • \n
  • \n No Waiver: If Rascal does not exercise or enforce any right available to Rascal under these\n Terms, it does not constitute a waiver of those rights.\n
  • \n
  • \n Partial Invalidity: If any provision of these Terms become or are held to be invalid,\n unenforceable or illegal for any reason and in any respect, that provision shall be severed from the\n remaining terms and conditions, which shall continue in full force and effect.\n
  • \n
  • \n Governing Law: These Terms and your membership are governed by the laws of New Zealand. You submit to\n the non-exclusive jurisdiction of the Courts of New Zealand. You agree that the United Nations Convention\n on Contracts for the International Sale of Goods does not apply.\n
  • \n
  • \n Intellectual Property Rights: Rascal owns all intellectual property rights and other proprietary\n rights in the Website and the App (including content, text, graphics, logos, icons and sound recordings,\n but excluding content recorded by users) and the software and other material underlying and forming\n part of the Service and the Website or App. You may not without Rascal’s prior written permission,\n in any form or by any means:\n
      \n
    1. \n adapt, reproduce, copy, store, distribute, print, display, perform, publish or create derivative\n works from any part of the Website, App or Service; or\n
    2. \n
    3. \n commercialise, copy or on-sell any content, information or items obtained from any part of the\n Website, App or Service.\n
    4. \n
    \n
  • \n
  • \n Entire agreement: These Terms, Rascal’s Privacy Policy and the Cookie Policy supersede all previous\n conditions, understandings, commitments, agreements and representations whatsoever, whether oral or\n written; and constitutes the entire agreement between the parties relating to the subject matter of\n these Terms.\n
  • \n
  • \n Privacy: Please refer to our Privacy Policy available at the following link: https://rascalkids.app/privacy-policy.\n
  • \n
  • \n Emails and newsletters: Rascal will send you emails relating to your account, changes to these Terms,\n transactions and other activities on our Website or App, and for promoting and marketing other Rascal\n products and services to you. Rascal may also send regular electronic newsletters to members.\n Newsletters will contain clear and obvious instructions for how you can unsubscribe from the mailing list.\n
  • \n
  • \n Acknowledgement: You represent and warrant that you:\n
      \n
    1. \n are not located in a country that is subject to a US Government embargo, or that has been\n designated by the US Government as a 'terrorist supporting' country; and\n
    2. \n
    3. \n are not listed on any US Government list of prohibited or restricted persons.\n
    4. \n
    \n
  • \n

    \n If you have any questions or concerns about these Terms, the Services, or the Website, you may contact\n a representative of our company by contacting us by email at support@rascalkids.app.\n

    \n
\n
\n \n
\n
\n );\n }\n}\n\nexport default TermsAndConditions;\n\n","import React from 'react';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Col, Row} from 'antd';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {User} from 'models/user/User';\n\nimport InvoicesTable from 'components/public/pages/invoices/InvoicesTable';\nimport DefaultLayout from 'layouts/DefaultLayout';\n\nimport './InvoiceIndex.scss';\n\ninterface IInvoiceProps {\n}\n\ninterface IInvoiceState {\n userId: number | null;\n}\n\nclass InvoiceIndex extends ComponentWithStore {\n @observable private user: User = new User(this.store.UserProvider);\n\n public constructor(props: IInvoiceProps) {\n super(props);\n\n makeObservable(this);\n\n let userId: number | null = this.store.SessionProvider.userId();\n\n this.state = {\n userId: userId\n };\n }\n\n\n public componentDidMount(): void {\n const {userId} = this.state;\n\n this.store.UserProvider.user(userId)\n .then(user => this.user = new User(this.store.UserProvider).withData(user))\n }\n\n private renderHeader(): React.ReactElement {\n return (\n \n \n
\n

Invoices

\n
\n \n
\n );\n }\n\n public render(): React.ReactElement {\n const {userId} = this.state;\n\n return (\n \n
\n {this.renderHeader()}\n \n
\n
\n );\n }\n}\n\nexport default withStore(observer(InvoiceIndex));\n","import React from 'react';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Col, Row} from 'antd';\n\nimport Format from 'helpers/Format';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {Invoice} from 'models/invoice/Invoice';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport PageTitle from 'components/shared/PageTitle';\n\nimport './InvoiceIndex.scss';\n\ninterface IInvoiceProps {\n routeParams: { invoiceId: string }\n}\n\ninterface IInvoiceState {\n loaded: boolean;\n userId: number | null;\n}\n\nclass InvoiceShow extends ComponentWithStore {\n @observable private invoice: Invoice;\n\n public constructor(props: IInvoiceProps) {\n super(props);\n\n makeObservable(this);\n\n let userId: number | null = this.store.SessionProvider.userId();\n\n this.state = {\n loaded: false,\n userId: userId\n };\n }\n\n public componentDidMount(): void {\n let invoiceId: number = Number(this.props.routeParams.invoiceId);\n this.invoice = new Invoice(this.store.InvoiceProvider).withId(invoiceId);\n this.invoice.fetchData().then(() => this.setState({loaded: true}));\n }\n\n private renderInvoiceDetails(): React.ReactElement {\n if (!this.invoice) return \n\n return (\n \n
\n \n \n Period\n \n \n From {this.invoice.period_start && Format.longDate(this.invoice.period_start)} to {this.invoice.period_end && Format.longDate(this.invoice.period_end)}\n \n \n \n \n Amount Charged ({this.invoice.currency})\n \n \n {this.invoice.amount_charged}\n \n \n \n \n Paid At\n \n \n {this.invoice.paid_at ? Format.longDate(this.invoice.paid_at) : '—'}\n \n \n \n \n Payment Method\n \n \n Card ending with {this.invoice.last_four_digits}\n \n \n
\n \n \n Customer Name\n \n \n {this.invoice.customer_name}\n \n \n \n \n Email\n \n \n {this.invoice.email}\n \n \n \n \n Address\n \n \n {this.invoice.line1 && {this.invoice.line1}
}\n {this.invoice.line2 && {this.invoice.line2}
}\n {this.invoice.state && {this.invoice.state}
}\n {this.invoice.zip && {this.invoice.zip}
}\n {this.invoice.country && {this.invoice.country}
}\n \n
\n
\n
\n );\n }\n\n private renderHeader(): React.ReactElement {\n return (\n \n \n \n );\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n {this.renderHeader()}\n {this.renderInvoiceDetails()}\n
\n
\n );\n }\n}\n\nexport default withStore(observer(InvoiceShow));\n","import React from 'react';\nimport {observer} from 'mobx-react';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {Invoice} from 'models/invoice/Invoice';\nimport './InvoicesTable.scss';\nimport {RascalTable} from \"components/shared/RascalTable\";\nimport {ITableProps, ITableState} from \"helpers/Tables\";\n\ninterface IInvoiceTableProps extends Partial> {\n userId: number\n}\n\ninterface IInvoiceTableState extends Partial> {\n}\n\nclass InvoicesTable extends ComponentWithStore {\n constructor(props) {\n super(props);\n\n this.getInvoiceSearch = this.getInvoiceSearch.bind(this);\n }\n\n public render(): React.ReactElement {\n return (\n
\n `/invoices/${invoice.id}`\n },\n {key: 'period_end', type: 'date', getHref: (invoice: Invoice) => `/invoices/${invoice.id}`},\n {key: 'paid_at', type: 'date'},\n {key: 'customer_name', type: 'search'},\n {key: 'plan_name', type: 'search'},\n {key: 'last_four_digits', type: 'text'},\n {key: 'Price', type: 'text'},\n ]}\n getTableSearch={this.getInvoiceSearch}/>\n
\n );\n }\n\n private async getInvoiceSearch(searchParams) {\n const {userId} = this.props;\n\n searchParams.user_ids = [userId];\n\n return await this.store.InvoiceProvider.getInvoiceSearch(searchParams)\n .then((data) => {\n return {data: data.invoices, total: data.total, currentPage: data.page, pageSize: data.page_size}\n });\n }\n}\n\nexport default withStore(observer(InvoicesTable));\n","import React, {RefObject} from 'react';\nimport {Link} from 'react-router-dom';\nimport Turnstile from 'react-turnstile';\nimport Cookies from 'universal-cookie';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Checkbox, Col, Form, Input, Row} from 'antd';\nimport {FormInstance} from 'antd/es';\nimport {LoadingOutlined} from '@ant-design/icons';\n\nimport Value from 'helpers/Value';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport Api from 'models/Api';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport SubscriptionNew from 'components/public/pages/subscriptions/SubscriptionNew';\nimport RegisterSetName from 'components/public/pages/register/UserEditName';\n\nimport './styles.scss';\nimport {ApiResponseData} from \"models/ApiResponseData\";\n\nconst turnstileSiteKey: string = process.env.TURNSTILE_SITE_KEY;\n\ninterface IRegisterProps {\n\n}\n\ninterface IRegisterState {\n loaded: boolean;\n registered: boolean;\n nameIsMissing: boolean;\n submitting: boolean;\n acceptedTerms: boolean;\n newsletter: boolean;\n userId: number | null;\n campaign_code: string | boolean;\n showToken: boolean;\n errorMessage: ApiResponseData | null;\n}\n\nclass Register extends ComponentWithStore {\n private static COOKIE_NAME: string = 'campaign';\n @observable private captchaResponse: string;\n private cookies: Cookies = new Cookies();\n private subscriptionKey: String;\n @observable private defaultToken: string | null = null;\n\n private formRef: RefObject = React.createRef();\n\n public constructor(props) {\n super(props);\n makeObservable(this);\n\n let userId = this.store.SessionProvider.userId();\n\n this.state = {\n loaded: false,\n registered: false,\n nameIsMissing: false,\n submitting: false,\n acceptedTerms: false,\n newsletter: false,\n userId: userId,\n campaign_code: this.cookies.get(Register.COOKIE_NAME),\n showToken: false,\n errorMessage: null\n };\n\n this.onFinish = this.onFinish.bind(this);\n this.verifyCallback = this.verifyCallback.bind(this);\n this.errorCallback = this.errorCallback.bind(this);\n this.expiredCallback = this.expiredCallback.bind(this);\n this.showToken = this.showToken.bind(this);\n this.updateSubscriptionKey = this.updateSubscriptionKey.bind(this);\n }\n\n public componentDidMount(): void {\n const {userId} = this.state;\n\n\n Promise.all([\n this.checkIfRegistered(),\n this.checkIfNameIsMissing(userId)\n ]).finally(() => {\n this.setState({\n showToken: this.showToken(),\n loaded: true\n })\n });\n\n\n this.readParams();\n }\n\n private checkIfNameIsMissing(userId: number): Promise {\n if (!userId) return Promise.resolve();\n\n return this.store.UserProvider.user(userId)\n .then(user => {\n if (user) {\n this.setState({nameIsMissing: !user.first_name && !user.last_name})\n }\n })\n }\n\n private checkIfRegistered(): Promise {\n // TODO: Re enable check so logged in people can't do this again.\n return this.store.SessionProvider.hasValidCredentials()\n .then((result: boolean) => {\n if (result) {\n this.setState({registered: true});\n }\n });\n }\n\n public onFinish(values): void {\n const {newsletter, campaign_code, showToken} = this.state;\n\n this.setState({submitting: true, errorMessage: null});\n values.newsletter = newsletter;\n values.campaign_code = campaign_code;\n if (showToken) {\n values.subscription_key = this.subscriptionKey;\n }\n // TODO: Use UserProvider\n Api.post('api/v1/users', {\n body: JSON.stringify({\n user: values,\n 'cf-turnstile-response': this.captchaResponse\n })\n })\n .then(response => response.json())\n .then(json => this.store.SessionProvider.store(json))\n .then(result => {\n this.setState({submitting: false});\n if (result.success) {\n if (showToken) {\n // Try and load the homepage, worst case we will redirect back to the subscription page.\n window.location.href = '/'\n } else {\n this.setState({registered: true});\n }\n } else {\n this.setState({errorMessage: result});\n }\n })\n .catch((response) => {\n if (response?.status == 402) {\n response.json().then((json) => {\n this.setState({errorMessage: {success: false, message: json.message }})\n });\n } else if (response?.status) {\n response.json().then((json) => {\n this.setState({errorMessage: json});\n });\n }\n this.setState({submitting: false});\n });\n }\n\n public updateSubscriptionKey(key: string): void {\n this.subscriptionKey = key;\n }\n\n public onFinishFailed(errorInfo): void {\n console.log('Failed:', errorInfo);\n }\n\n public errorCallback(): void {\n }\n\n public verifyCallback(response: string): void {\n this.captchaResponse = response;\n }\n\n public expiredCallback(): void {\n this.captchaResponse = null;\n }\n\n private readParams() {\n const windowUrl = window.location.search;\n const params = new URLSearchParams(windowUrl);\n if (params.has('email')) {\n const form = this.formRef?.current;\n if (form) {\n form.setFields([{\n name: 'email',\n value: params.get('email')\n }]);\n } else {\n setTimeout(() => {\n const form = this.formRef?.current;\n if (form) {\n form.setFields([{\n name: 'email',\n value: params.get('email')\n }]);\n }\n }, 100);\n }\n }\n }\n\n private showToken() {\n const windowUrl = window.location;\n const params = new URLSearchParams(windowUrl.search);\n if (windowUrl.href.includes('subscribe')) {\n if (params.has('token')) {\n this.defaultToken = params.get('token');\n this.subscriptionKey ||= this.defaultToken;\n }\n return true;\n }\n return false;\n }\n\n private isSubmitDisabled(): boolean {\n const {acceptedTerms, submitting} = this.state;\n let formInstance: FormInstance = this.formRef.current;\n\n if (!formInstance) return true;\n\n return this.captchaResponse == null ||\n !acceptedTerms ||\n !formInstance.isFieldsTouched(['first_name', 'last_name', 'password'], true) ||\n Value.isNullOrEmptyString(formInstance.getFieldValue('email')) ||\n submitting ||\n formInstance.getFieldsError().filter(({errors}) => errors.length).length > 0;\n }\n\n private toggleAcceptTerms() {\n const {acceptedTerms} = this.state;\n this.setState({\n acceptedTerms: !acceptedTerms\n });\n }\n\n private toggleJoinNewsletter() {\n const {newsletter} = this.state;\n this.setState({\n newsletter: !newsletter\n });\n }\n\n private renderRegisterStep(number: number): React.ReactElement {\n return (\n \n

STEP {number} OF 4

\n
\n );\n }\n\n private renderButton(): React.ReactElement {\n const {submitting} = this.state;\n return (\n \n );\n }\n\n private renderForm(): React.ReactElement {\n const {showToken} = this.state;\n return (\n
\n

Sign up

\n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n {showToken &&\n \n

Subscription Key

\n \n this.updateSubscriptionKey(evt.target.value)}/>\n \n
\n }\n\n \n \n \n\n \n \n \n\n \n \n \n \n \n\n \n {this.renderErrorMessage()}\n {this.renderButton()}\n \n\n {/**/}\n {/*

Need Help?

*/}\n {/**/}\n\n
\n

Already have an account? Login here.

\n
\n
\n );\n }\n\n private renderErrorMessage(): React.ReactElement {\n const {errorMessage} = this.state;\n let error = \"\"\n if (errorMessage) {\n error = errorMessage.message;\n }\n return {error};\n }\n\n private renderNewSubscriptionFlow() {\n return (\n \n );\n }\n\n private renderRegisterPage() {\n return (\n
this.setState({})}\n onFinish={this.onFinish}\n onFinishFailed={this.onFinishFailed}>\n {this.renderRegisterStep(1)}\n\n \n \n {this.renderForm()}\n \n \n
\n )\n }\n\n private renderPages(): React.ReactElement {\n const {loaded, registered, nameIsMissing, userId} = this.state;\n if (!loaded) {\n return ;\n } else if (registered && nameIsMissing) {\n return this.setState({nameIsMissing: isMissing})}/>\n } else if (registered) {\n return this.renderNewSubscriptionFlow();\n }\n return this.renderRegisterPage();\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n
\n {this.renderPages()}\n
\n
\n
\n );\n }\n}\n\nexport default withStore(observer(Register));\n","import React, {RefObject} from 'react';\nimport {Button, Col, Form, Input, Row} from 'antd';\nimport {LoadingOutlined} from '@ant-design/icons';\nimport {FormInstance} from 'antd/es';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\n\nimport './styles.scss';\n\n\ninterface IUserEditNameProps {\n userId: number;\n callback: (nameIsMissing: boolean) => void;\n}\n\ninterface IUserEditNameState {\n loaded: boolean;\n submitting: boolean;\n errorMessage: { name: string, message: string } | null;\n}\n\nclass UserEditName extends ComponentWithStore {\n private formRef: RefObject = React.createRef();\n\n public constructor(props) {\n super(props);\n\n this.state = {\n loaded: false,\n submitting: false,\n errorMessage: null\n };\n\n this.onFinish = this.onFinish.bind(this);\n }\n\n public onFinish(values): void {\n const {userId} = this.props;\n\n if (!userId) {\n console.log('Trying to save user without an id'); // How did you get here\n return;\n }\n\n this.setState({submitting: true});\n\n this.store.UserProvider.update(userId, {\n first_name: values.first_name,\n last_name: values.last_name\n })\n .then(result => {\n this.setState({submitting: false});\n if (result.success) {\n this.props.callback(false);\n }\n })\n .catch(() => {\n this.setState({submitting: false});\n });\n }\n\n public onFinishFailed(errorInfo): void {\n console.log('Failed:', errorInfo);\n }\n\n private isSubmitDisabled(): boolean {\n const {submitting} = this.state;\n let formInstance: FormInstance = this.formRef.current;\n\n if (!formInstance) return true;\n\n return !formInstance.isFieldsTouched(['first_name', 'last_name'], true) ||\n submitting ||\n formInstance.getFieldsError().filter(({errors}) => errors.length).length > 0;\n }\n\n private renderRegisterStep(number: number): React.ReactElement {\n return (\n \n

STEP {number} OF 4

\n
\n );\n }\n\n private renderButton(): React.ReactElement {\n const {submitting} = this.state;\n return (\n \n );\n }\n\n private renderForm(): React.ReactElement {\n return (\n
\n

Sign up

\n\n \n \n \n\n \n \n \n\n \n {this.renderButton()}\n \n
\n );\n }\n\n public render(): React.ReactElement {\n let formInstance: FormInstance = this.formRef.current;\n\n return (\n
this.setState({})}\n onFinish={this.onFinish}\n onFinishFailed={this.onFinishFailed}>\n {this.renderRegisterStep(1)}\n\n \n \n {this.renderForm()}\n \n \n
\n )\n }\n}\n\nexport default withStore(UserEditName);\n","import React from 'react';\nimport {Link} from 'react-router-dom';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Form, Input, Row} from 'antd';\nimport {Lego} from 'lottie/lottie-assets';\nimport {Lottie} from '@rascality/react-lottie';\n\nimport ScriptLoader from 'helpers/ScriptLoader';\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport Turnstile from \"react-turnstile\";\n\nconst turnstileSiteKey: string = process.env.TURNSTILE_SITE_KEY;\n\nclass ResetPassword extends ComponentWithStore {\n @observable private captchaResponse: string;\n @observable private tokenError: boolean = false;\n @observable private finished: boolean = false;\n\n @observable private email: string;\n @observable private token: string;\n\n constructor(props) {\n super(props);\n makeObservable(this);\n this.onFinish = this.onFinish.bind(this);\n this.verifyCallback = this.verifyCallback.bind(this);\n this.errorCallback = this.errorCallback.bind(this);\n this.expiredCallback = this.expiredCallback.bind(this);\n this.setError = this.setError.bind(this);\n }\n\n public componentDidMount(): void {\n let params = new URLSearchParams(window.location.search);\n this.email = params.get('email');\n this.token = params.get('token');\n this.store.UserProvider.resetPasswordTokenIsValid(this.email, this.token).then(result => {\n if (!result) {\n this.setError(true);\n } else {\n this.setError(false);\n }\n })\n }\n\n public onFinish(values) {\n values['email'] = this.email;\n values['token'] = this.token;\n values['cf-turnstile-response'] = this.captchaResponse;\n this.store.UserProvider.resetPassword(values)\n .then(result => {\n if (result) {\n this.finished = true;\n }\n });\n };\n\n public onFinishFailed(errorInfo) {\n console.log('Failed:', errorInfo);\n };\n\n public errorCallback() {\n }\n\n public verifyCallback(response: string) {\n this.captchaResponse = response;\n }\n\n public expiredCallback() {\n this.captchaResponse = null;\n }\n\n public setError(tokenError: boolean) {\n this.tokenError = tokenError;\n }\n\n private renderFormOrError(): React.ReactElement {\n if (this.finished) {\n return (\n \n

Successfully changed password.

\n

Login here

\n
\n );\n }\n if (!this.tokenError) {\n return this.renderForm();\n }\n return (\n \n
\n

Unfortunately this password reset request has expired.

\n

Please open a new request using forgot password.

\n
\n
\n );\n }\n\n private renderForm(): React.ReactElement {\n return (\n \n
\n

Change is natural. Enter your new password twice and we will update it for you.

\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n \n \n
\n
\n \n
\n
\n

Feeling lost? Sign In here.

\n
\n
\n );\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n
\n \n \n \n \n
\n

Reset Password

\n
\n {this.renderFormOrError()}\n \n
\n \n \n
\n \n
\n \n
\n
\n
\n
\n );\n }\n}\n\nexport default withStore(observer(ResetPassword));\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { observer } from 'mobx-react';\nimport { Checkbox, Col, Form, Input, message, Row } from 'antd';\n\nimport { ComponentWithStore, withStore } from 'models/RootStore';\nimport { ApiResponseData } from 'models/ApiResponseData';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport './styles.scss';\nimport {MessageInstance} from \"antd/lib/message/interface\";\nimport MessageApi from \"components/hooks/MessageApi\";\n\nclass SignIn extends ComponentWithStore {\n private messageApi: MessageInstance = window.messageApi;\n public constructor(props: any) {\n super(props);\n\n this.onFinish = this.onFinish.bind(this);\n this.onFinishFailed = this.onFinishFailed.bind(this);\n }\n\n public componentDidMount(): void {\n this.store.SessionProvider.hasValidCredentials()\n .then(result => {\n if ( result ) {\n this.redirect();\n }\n });\n }\n\n public onFinish(values): void {\n this.store.SessionProvider.signIn(JSON.stringify(values))\n .then((result: ApiResponseData) => {\n if ( result.success ) {\n MessageApi().success(result.message);\n this.redirect();\n } else {\n MessageApi().error(result.message);\n }\n }).catch((result) => {\n console.log(result);\n if ( result.status === 401 ) {\n MessageApi().error(\"Incorrect email or password.\");\n }\n });\n }\n\n public onFinishFailed(errorInfo): void {\n console.log('Failed:', errorInfo);\n // if (errorInfo) {\n // messageApi.error(errorInfo.message);\n // }\n };\n\n public render(): React.ReactElement {\n return (\n \n
\n
\n \n \n
\n
\n

Login

\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n
\n
\n

Forgot Password?\n

\n

New to Rascal? Sign up now.

\n
\n
\n \n
\n
\n
\n
\n );\n }\n\n private redirect(): void {\n this.store.SubscriptionProvider.hasValidSubscription().then(result => {\n window.location.href = result ? '/home' : '/register';\n });\n }\n}\n\nexport default observer(SignIn);\n","import {ComponentWithStore} from \"models/RootStore\";\nimport {makeObservable, observable} from \"mobx\";\nimport {User} from \"models/user/User\";\nimport AppInfo from \"models/AppInfo\";\nimport DefaultLayout from \"layouts/DefaultLayout\";\nimport {Col, Row} from \"antd\";\nimport React from \"react\";\n\nclass StaticManageData extends ComponentWithStore {\n\n @observable private user: User = new User(this.store.UserProvider);\n\n\n constructor(props) {\n super(props)\n }\n\n componentDidMount() {\n\n }\n\n render() {\n return (\n \n \n \n

Rascal – Manage Account Data

\n

\n We collect data to understand the content that is enjoyed and platforms people use.\n We are building out a way for you to see your data, so we can provide insights into how your family is interacting with our content.\n

\n

Data Collection

\n

\n The current data we collect is around user sessions.\n

    \n
  • When you start and stop viewing
  • \n
  • If you completed the story
  • \n
  • Device type used
  • \n
\n

\n

Delete My Account

\n

\n You can delete your account completely (on your own) by\n

    \n
  • Navigating to your account page
  • \n
  • Selecting delete my account.
  • \n
  • Entering your password to confirm deletion
  • \n
\n This will permanently close your account and delete all identifiable information except for any billing details we are legally obligated to maintain.\n You can read about our processing and handling of data further in our Privacy Policy\n

\n

Manually Request – Data or Account Deletion

\n

\n You can also request that your account or personal data is deleted by emailing support@rascalkids.app.\n We will ask some questions to confirm your identity before fulfilling your request.\n

\n \n
\n
\n )\n }\n}\n\nexport default StaticManageData;\n","import React, { Component } from \"react\";\nimport {ComponentWithStore} from \"models/RootStore\";\nimport {Invoice} from \"models/invoice/Invoice\";\nimport {LoadingOutlined} from \"@ant-design/icons\";\nimport DefaultLayout from \"layouts/DefaultLayout\";\nimport {loadStripe} from \"@stripe/stripe-js/pure\";\nimport {PaymentIntent, SetupIntent, Stripe, StripeElements, StripeElementsOptions} from \"@stripe/stripe-js\";\nimport {Elements, ElementsConsumer} from \"@stripe/react-stripe-js\";\nimport {observable, runInAction} from \"mobx\";\nimport {observer} from \"mobx-react\";\nimport {Navigate} from \"react-router-dom\";\nimport StripePaymentForm from \"components/public/credit_cards/StripePaymentForm\";\nimport {BillingAddress} from \"models/billingAddress/BillingAddress\";\nimport {elements} from \"chart.js\";\nimport BillingAddresses from \"components/public/billing_addresses/_BillingAddresses\";\nimport {Button, Row} from \"antd\";\nimport {CreditCardApi} from \"models/creditCard/CreditCardApi\";\n\ninterface IAuthorizePaymentProps {\n routeParams: { invoiceId: string };\n}\n\ninterface IAuthorizePaymentState {\n invoice: Invoice | null;\n stripePromise: any;\n options: StripeElementsOptions;\n paid: boolean;\n previously_paid: boolean;\n counter: number;\n error: any;\n editing_billing: boolean;\n hasBillingAddress: boolean;\n submitting: boolean;\n}\n\nconst MemoStripePaymentForm = React.memo(StripePaymentForm)\n\nclass AuthorizePayment extends ComponentWithStore {\n\n private confirmed: boolean = false;\n\n @observable private paymentIntent: PaymentIntent | null = null;\n\n @observable private billingAddress: BillingAddress;\n\n constructor(props: IAuthorizePaymentProps) {\n super(props);\n\n this.saveBillingAddress = this.saveBillingAddress.bind(this);\n this.editBillingAddress = this.editBillingAddress.bind(this);\n this.saveBilling = this.saveBilling.bind(this);\n\n this.state = {\n invoice: null,\n stripePromise: null,\n options: null,\n paid: false,\n previously_paid: false,\n counter: 3,\n error: null,\n editing_billing: false,\n hasBillingAddress: false,\n submitting: false\n };\n }\n\n componentDidMount() {\n const {invoice, stripePromise} = this.state;\n let id: number = Number(this.props.routeParams.invoiceId);\n\n if (!stripePromise) {\n const stripePromise = loadStripe(process.env.STRIPE_KEY)\n this.setState({\n stripePromise: stripePromise\n });\n }\n\n if (!invoice) {\n this.store.InvoiceProvider.getInvoice(id).then((invoice) => {\n this.setState({\n invoice: invoice,\n previously_paid: invoice.isPaid()\n });\n this.confirmInvoicePayment(invoice);\n }).catch((error) => {\n if (error.status === 401) {\n window.location.href = '/sign_in';\n }\n });\n } else {\n console.log('Invoice already loaded', invoice);\n }\n }\n\n public confirmInvoicePayment(invoice: Invoice) {\n if (invoice.stripe_error_code === 'authentication_required') {\n invoice.getPaymentIntent().then((intent: PaymentIntent) => {\n const previously_paid = intent.status === 'succeeded';\n this.setState({\n previously_paid: previously_paid,\n options: {clientSecret: intent.client_secret}\n });\n this.paymentIntent = intent;\n\n if (previously_paid) {\n this.fireRedirectCountdown();\n }\n });\n } else {\n invoice.getBillingAddress(this.store.BillingAddressProvider).then((billingAddress) => {\n this.billingAddress = billingAddress;\n this.setState({\n hasBillingAddress: true\n });\n });\n\n // Check that we have not already paid the invoice\n invoice.getPaymentIntent().then((intent: PaymentIntent) => {\n if (intent.status === 'succeeded') {\n this.setState({\n previously_paid: true\n });\n this.fireRedirectCountdown();\n }\n });\n\n // Get the stripe setup info so we can setup billing again.\n CreditCardApi.newIntent(this.store.SessionProvider.userId())\n .then(newIntentJson => this.setState({options: {clientSecret: newIntentJson.client_secret}}));\n }\n }\n\n public confirmCardPayment(stripe, invoice, intent) {\n if (!invoice || !intent || this.confirmed) {\n return;\n }\n\n stripe.confirmCardPayment(intent.client_secret, {\n payment_method: intent.payment_method || intent.last_payment_error?.payment_method?.id\n }).then((result) => {\n if (result.error) {\n // Show error to your customer (e.g., insufficient funds)\n console.log(result.error.message);\n this.setState({\n error: result.error\n });\n } else {\n // The payment has been processed!\n if (result.paymentIntent.status === 'succeeded') {\n this.confirmed = true;\n this.setState({\n paid: true\n });\n this.fireRedirectCountdown();\n // Show a success message to your customer\n // There's a risk of the customer closing the window before callback\n // execution. Set up a webhook or plugin to listen for the\n // payment_intent.succeeded event that handles any business critical\n // post-payment actions.\n }\n }\n });\n }\n\n private saveBilling() {\n this.setState({\n submitting: true\n });\n this.billingAddress.save().then(() => {\n this.setState({\n editing_billing: false,\n submitting: false\n });\n });\n }\n\n private saveBillingAddress(stripeSetupIntentId: string, creditCardId: number): Promise {\n const invoice = this.state.invoice;\n return invoice.pay({\n stripe_setup_intent: stripeSetupIntentId,\n credit_card_id: creditCardId,\n billing_address_id: this.billingAddress.id\n }).then(() => {\n const success = invoice.isPaid();\n if (success) {\n this.setState({\n paid: success\n });\n this.confirmed = true;\n this.fireRedirectCountdown();\n } else {\n this.state.stripePromise.then((stripe: Stripe) => {\n invoice.getPaymentIntent().then((intent: PaymentIntent) => {\n this.paymentIntent = intent;\n if (invoice.stripe_error_message === 'authentication_required') {\n this.confirmCardPayment(stripe, invoice, intent);\n } else {\n const error_message = intent.last_payment_error?.message || 'An unknown error occurred. Please try again later.';\n this.setState({\n error: error_message,\n options: {clientSecret: intent.client_secret}\n });\n }\n });\n });\n }\n });\n }\n\n private editBillingAddress(event: React.MouseEvent) {\n this.setState({\n editing_billing: true\n });\n }\n\n render(): React.ReactElement {\n const {invoice} = this.state;\n let body;\n if (!invoice) {\n body = this.renderLoading();\n } else {\n body = this.renderPayment();\n }\n\n if (this.state.counter == 0) {\n return \n }\n\n return (\n \n {body}\n \n );\n }\n\n renderPayment(): React.ReactElement {\n return (\n
\n

Authorize Payment

\n
\n {this.renderStripeAuthorizePayment()}\n
\n
\n );\n }\n\n renderStripeAuthorizePayment(): React.ReactElement {\n const {stripePromise, options, invoice, paid, previously_paid} = this.state;\n if (!stripePromise || !options || !invoice) {\n return this.renderLoading();\n }\n if (previously_paid) {\n return (\n
\n

Invoice is already paid

\n

We will automatically redirect you to the app... {this.state.counter}

\n
\n );\n }\n if (paid) {\n return (\n
\n

Payment Confirmed

\n

Thank you for your payment.

\n

We will automatically redirect you to the app... {this.state.counter}

\n
\n );\n }\n return (\n \n \n {({stripe, elements}) => {\n return (\n
\n

{invoice.paymentErrorMessage()}

\n

{invoice.header()}

\n

Rascal {invoice.paymentPeriod()} Subscription

\n

Amount: $ {invoice.amount} {invoice.currency.toLocaleUpperCase()}

\n {this.renderPaymentDetails(stripe, elements)}\n {this.renderErrorMessage()}\n
\n );\n }}\n
\n
\n );\n }\n\n renderLoading(): React.ReactElement {\n return (\n
\n \n
\n );\n }\n\n private renderErrorMessage() {\n const {error} = this.state;\n if (error) {\n return (\n
\n

{error.message}

\n
\n )\n } else {\n return null;\n }\n }\n\n private fireRedirectCountdown() {\n setTimeout(() => {\n if (this.state.counter > 0) {\n this.setState({\n counter: this.state.counter - 1\n });\n this.fireRedirectCountdown();\n }\n }, 1000);\n }\n\n private confirmPayment(stripe: Stripe) {\n const {invoice} = this.state;\n if (!invoice || !stripe) return;\n this.confirmCardPayment(stripe, invoice, this.paymentIntent);\n }\n\n private renderPaymentDetails(stripe: Stripe, elements: StripeElements) {\n const {invoice, options, editing_billing, submitting} = this.state;\n if (invoice.stripe_error_code === 'authentication_required') {\n return (\n
\n \n
\n );\n } else if (editing_billing) {\n return (\n
\n

Update Billing Address

\n \n \n {this.billingAddress.hasRequiredFields ?\n \n :\n \n }\n \n
\n )\n } else {\n return (\n
\n \n
\n )\n }\n }\n}\n\nexport default observer(AuthorizePayment);\n\n","import React, {Component} from \"react\";\nimport {Button, Checkbox, Col, Input, List, message, Row} from \"antd\";\nimport {DeleteOutlined} from \"@ant-design/icons\";\nimport DefaultLayout from \"layouts/DefaultLayout\";\nimport Papa from \"papaparse\";\nimport _ from \"lodash\";\nimport {SubscriptionApi} from \"models/subscription/SubscriptionApi\";\nimport {Subscription} from \"models/subscription/Subscription\";\nimport {ComponentWithStore} from \"models/RootStore\";\nimport {ApiResponseData} from \"models/ApiResponseData\";\nimport MessageApi from \"components/hooks/MessageApi\";\nimport {Hash} from \"types/hash\";\nimport FileSaver, {saveAs} from \"file-saver\";\n\nexport interface UserInfo {\n email: string;\n first_name: string;\n last_name: string;\n password?: string;\n state?: 'created' | 'added' | 'existing' | 'failed';\n}\n\ninterface UserInfoResultStub {\n email: string;\n password?: string;\n created: boolean;\n}\n\nexport interface UserInfoResult {\n result: Hash;\n}\n\ninterface IBulkSubscribeProps {\n routeParams: { subscriptionId: string };\n}\n\ninterface IBulkSubscribeState {\n userInfoList: UserInfo[];\n submitting: boolean;\n exportable: boolean;\n}\n\nclass BulkSubscribe extends ComponentWithStore {\n\n private subscription: Subscription = null;\n private file: File = null;\n\n constructor(props) {\n super(props);\n\n this.state = {\n userInfoList: [],\n submitting: false,\n exportable: false\n }\n\n this.finishedReadingFile = this.finishedReadingFile.bind(this);\n this.handleErrorResponse = this.handleErrorResponse.bind(this);\n }\n\n componentDidMount() {\n let id: number = Number(this.props.routeParams.subscriptionId);\n this.subscription = new Subscription(this.store.SubscriptionProvider).withId(id);\n }\n\n changedFile(event) {\n this.file = event.target.files[0];\n Papa.parse(event.target.files[0], {\n header: true,\n transformHeader: this.transformHeader,\n \tcomplete: this.finishedReadingFile\n });\n }\n\n transformHeader(originalHeader: string) {\n let header = originalHeader.toLowerCase().trim().replace(/\\s+/g, '_');\n if (header.includes('email')) {\n return 'email';\n }\n return header;\n }\n\n finishedReadingFile(results) {\n if (results.data) {\n const data = results.data;\n let userInfoList: UserInfo[] = _.map(data, (result) => {\n return {\n email: result.email.trim().toLowerCase(),\n first_name: result.first_name,\n last_name: result.last_name\n };\n });\n userInfoList = _.filter(userInfoList, (userInfo) => {\n return userInfo['email'].length > 0;\n });\n this.setState({\n userInfoList: userInfoList\n });\n } else {\n console.log('Failed to parse data', results);\n }\n }\n\n removeUser(index: number) {\n const {userInfoList} = this.state;\n userInfoList.splice(index, 1);\n this.setState({\n userInfoList: [...userInfoList]\n })\n }\n\n submitUserInfo() {\n const {userInfoList} = this.state;\n this.setState({submitting: true})\n SubscriptionApi.bulkCreateSubscribers(this.subscription.id, { users: userInfoList }).then((response) => {\n if (response.success) {\n _.each(userInfoList, (userInfo: UserInfo) => {\n const result: UserInfoResultStub = response.result[userInfo.email];\n if (result == null) {\n userInfo.state = response.success ? 'existing' : 'failed';\n } else {\n if (result.created) {\n userInfo.state = 'created';\n userInfo.password = result.password;\n } else {\n userInfo.state = 'added';\n userInfo.password = null;\n }\n }\n });\n this.setState({\n exportable: true,\n userInfoList: [...userInfoList]\n });\n MessageApi().success(`${response.message}`);\n } else {\n console.log(response);\n MessageApi().error(`${response.message}`);\n }\n }).catch(this.handleErrorResponse)\n .finally(() => this.setState({ submitting: false }));\n }\n\n downloadUserInfoCSV() {\n const {userInfoList} = this.state;\n const csv: string = Papa.unparse(userInfoList, {\n header: true,\n columns: [\"email\", \"password\", \"state\"]\n });\n const blob = new Blob([csv], {type: 'text/csv'});\n FileSaver.saveAs(blob, \"subscribed_\" + this.file.name);\n }\n\n private handleErrorResponse(response): Promise {\n this.setState({submitting: false});\n return response.json()\n .then((body: ApiResponseData) => {\n console.log('Error', body);\n MessageApi().error(`${body.message}`)\n })\n .catch((error) => {\n console.log('Error', error);\n MessageApi().error('An error occurred')\n })\n }\n\n render() {\n const {userInfoList} = this.state;\n return (\n \n \n \n

Bulk Subscribe (Expect input csv file).

\n

(Admin only because it looks bad and is not smart currently)

\n

(TODO: Improve bulk subscribe to be in a async worker and then poll the task for updates. This is otherwise likely to timeout when putting in lists greater than 300 Users.)

\n

Looks for headers that match (any case): email, first_name, last_name

\n this.changedFile(event)}/>\n\n {this.renderDetails()}\n {this.renderUserInfoList()}\n \n
\n
\n )\n }\n\n renderDetails() {\n const {userInfoList, submitting} = this.state;\n if (userInfoList.length <= 0) { return }\n return (\n
\n

Loaded {userInfoList.length} users

\n \n {this.renderResponse()}\n
\n )\n }\n\n renderResponse() {\n const {exportable} = this.state;\n if (!exportable) return \n return (\n
\n \n
\n )\n }\n\n renderUserInfoList() {\n const {userInfoList} = this.state;\n return (\n
\n \n {userInfoList.map((userInfo, index) => this.renderUserInfo(userInfo, index))}\n \n
\n )\n }\n\n renderUserInfo(userInfo: UserInfo, index: number): JSX.Element {\n const {exportable} = this.state;\n return (\n this.removeUser(index)}>]}>\n
\n \n \n
\n
{userInfo.first_name} {userInfo.last_name}
\n {userInfo.email}\n
\n \n \n
\n
{exportable ? userInfo.state : ''}
\n
\n \n
\n
\n
\n );\n }\n}\n\nexport default BulkSubscribe;\n","import React, {Component} from \"react\";\nimport {ColorTheme} from \"components/shared/RascalTheme\";\n\ninterface ICheckCircleProps {\n checked: boolean;\n color: string;\n selectedColor?: string;\n backgroundColor?: string;\n}\n\nclass CheckCircle extends Component {\n\n public currentColor(): string {\n return this.props.checked ? this.props.selectedColor || this.props.color : this.props.color;\n }\n\n public backgroundColor(): string {\n return this.props.backgroundColor || ColorTheme.white;\n }\n\n public colorIfChecked() {\n return this.props.checked ? this.currentColor() : 'none';\n }\n\n public\n\n render(): React.ReactElement {\n const {checked} = this.props;\n const colorIfChecked = this.colorIfChecked();\n const checkedColor = this.currentColor();\n return (\n \n \n \n \n \n {checked && }\n \n );\n }\n}\n\nexport default CheckCircle;\n","import React, {createRef, ErrorInfo, RefObject} from 'react';\nimport {makeObservable, observable, runInAction} from 'mobx';\nimport {observer} from 'mobx-react';\nimport logger from 'loglevel';\nimport _ from 'lodash'\nimport numWords from 'num-words'\nimport {EqualHeight, EqualHeightElement} from 'react-equal-height';\nimport {Button, Card, Form, FormInstance, Input, Radio, Row, Space, Tooltip} from 'antd';\nimport {RadioChangeEvent} from 'antd/lib/radio/interface';\nimport {InfoCircleOutlined} from '@ant-design/icons';\n\nimport {ComponentWithStore, withStore} from 'models/RootStore';\nimport {IBillingPeriod, ISubscriptionState} from 'models/subscription/Subscription';\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport PageTitle from 'components/shared/PageTitle';\nimport CheckCircle from \"components/shared/icons/CheckCircle\";\n\nimport './SubscriptionForm.scss';\nimport {ColorTheme} from \"components/shared/RascalTheme\";\nimport Coupon from 'models/coupon/Coupon';\nimport CouponApi from 'models/coupon/CouponApi';\nimport { ICouponApiData } from 'models/coupon/ICouponApiData';\n\ninterface IProps {\n embedded: boolean;\n selectedSubscriptionId?: number;\n coupon?: Coupon | null;\n onFinish: (selectedSubscription: SubscriptionPlan, enteredSubscriptionKey?: string) => void;\n onFinishFailed?: (errorInfo: any) => void;\n}\n\nenum SubscriptionsPages {\n DEFAULT = 'default',\n KEY_INPUT = 'key-input',\n SUCCESS = 'success'\n}\n\ninterface IState {\n selectedSubscriptionId?: number;\n selectedSubscription?: SubscriptionPlan;\n enteredSubscriptionKey?: string;\n loadedSubscriptions: boolean;\n show: SubscriptionsPages;\n coupon?: Coupon | null;\n}\n\nclass SubscriptionForm extends ComponentWithStore {\n @observable private subscriptionPlans: SubscriptionPlan[] = [];\n private formRef: RefObject = createRef();\n private mounted = false;\n\n constructor(props: IProps) {\n super(props);\n makeObservable(this);\n\n this.state = {\n show: SubscriptionsPages.DEFAULT,\n loadedSubscriptions: false\n };\n\n this.handleSubscriptionSelectionChange = this.handleSubscriptionSelectionChange.bind(this);\n this.handleSubscriptionKeyChange = this.handleSubscriptionKeyChange.bind(this);\n this.onFinish = this.onFinish.bind(this);\n this.onFinishFailed = this.onFinishFailed.bind(this);\n this.renderSubscriptionPlan = this.renderSubscriptionPlan.bind(this);\n this.finishedLoadingSubscriptions = this.finishedLoadingSubscriptions.bind(this);\n this.isLoading = this.isLoading.bind(this);\n this.checkIfCampaignHasCoupon = this.checkIfCampaignHasCoupon.bind(this);\n }\n\n public componentDidMount(): void {\n this.mounted = true;\n this.store.SessionProvider.authOnly();\n this.store.SubscriptionPlanProvider.fetchAllForUser()\n .then((subscriptionPlans: SubscriptionPlan[]) => {\n runInAction(() => {\n this.subscriptionPlans = subscriptionPlans\n this.checkIfCampaignHasCoupon();\n this.finishedLoadingSubscriptions();\n });\n }).catch(() => {\n this.finishedLoadingSubscriptions();\n });\n }\n\n public checkIfCampaignHasCoupon() {\n const {coupon} = this.props;\n if (coupon == null) {\n console.log('checkIfCampaignHasCoupon!');\n CouponApi.getUserCampaignCouponForPlans(this.subscriptionPlans.map((plan) => plan.id)).then((couponData: ICouponApiData) => {\n if (this.mounted && couponData?.code != null) {\n const campaignCoupon = new Coupon().withData(couponData);\n console.log('checkIfCampaignHasCoupon - has coupon!', campaignCoupon);\n this.setState({coupon: campaignCoupon});\n }\n });\n } else {\n if (this.mounted) {\n this.setState({coupon: coupon});\n }\n }\n }\n\n public componentWillUnmount() {\n this.mounted = false;\n }\n\n public componentDidUpdate(prevProps: Readonly, prevState: Readonly, snapshot?: any) {\n const selectedSubscriptionId = this.props.selectedSubscriptionId;\n if (prevProps.selectedSubscriptionId !== selectedSubscriptionId && selectedSubscriptionId !== this.state.selectedSubscriptionId && !this.state.loadedSubscriptions) {\n if (selectedSubscriptionId != null) {\n const subscriptionPlan: SubscriptionPlan = this.subscriptionPlans.filter((plan) => plan.id === selectedSubscriptionId).pop();\n if (subscriptionPlan != null) {\n this.setState({\n selectedSubscriptionId: selectedSubscriptionId,\n selectedSubscription: subscriptionPlan,\n loadedSubscriptions: true\n });\n return;\n }\n }\n }\n }\n\n public onFinish(): void {\n const {selectedSubscription, enteredSubscriptionKey, show} = this.state;\n\n if (show === SubscriptionsPages.SUCCESS && !this.props.embedded) {\n window.location.href = '/home';\n return;\n }\n\n if (selectedSubscription) {\n window.scrollTo(0, window.screenTop);\n if (selectedSubscription.key_required) {\n if (show === SubscriptionsPages.KEY_INPUT && enteredSubscriptionKey) {\n this.submit(selectedSubscription.id, enteredSubscriptionKey);\n } else {\n this.setState({show: SubscriptionsPages.KEY_INPUT})\n }\n } else {\n this.submit(selectedSubscription.id);\n }\n }\n };\n\n private finishedLoadingSubscriptions() {\n let {selectedSubscriptionId} = this.props;\n if (this.mounted) {\n let subscriptionPlan: SubscriptionPlan = null;\n if (selectedSubscriptionId != null) {\n subscriptionPlan = this.subscriptionPlans.filter((plan) => plan.id === selectedSubscriptionId).pop();\n } else {\n subscriptionPlan = this.subscriptionPlans.filter((plan) => plan.name == 'Monthly').pop();\n }\n if (subscriptionPlan != null) {\n const options = {\n selectedSubscriptionId: subscriptionPlan.id,\n selectedSubscription: subscriptionPlan,\n loadedSubscriptions: true,\n show: subscriptionPlan.key_required ? SubscriptionsPages.KEY_INPUT : SubscriptionsPages.DEFAULT\n }\n this.setState(options);\n return;\n }\n this.setState({\n loadedSubscriptions: true\n });\n }\n }\n\n private isLoading() {\n const {loadedSubscriptions, show} = this.state;\n return show !== SubscriptionsPages.DEFAULT || loadedSubscriptions;\n }\n\n private submit(subscriptionPlanId: number, subscriptionPlanKey?: string): void {\n let selectedSubscriptionPlan: SubscriptionPlan = this.getSelectedSubscriptionPlan(subscriptionPlanId);\n\n if (selectedSubscriptionPlan.isFree()) {\n this.store.SubscriptionProvider.createSubscription({\n user_id: this.store.SessionProvider.userId(),\n subscription_plan_id: subscriptionPlanId,\n subscription_plan_key: subscriptionPlanKey\n })\n .then((result) => {\n if (result.subscription_id) {\n if (this.mounted) {\n this.setState({show: SubscriptionsPages.SUCCESS});\n }\n } else {\n logger.error('Failed to add subscription:', result);\n this.displayGenericErrorMessage(result.message);\n }\n })\n .catch(response => response.json()\n .then((result) => {\n if (result.codes.includes('ERK|602') || result.codes.includes('ERK|604')) {\n this.displayKeyInputErrorMessage();\n } else if (result.codes.includes('ERK|603')) {\n if (this.mounted) {\n this.setState({show: SubscriptionsPages.SUCCESS});\n }\n } else {\n logger.error('An error has occurred while submitting subscription:', result);\n this.displayGenericErrorMessage(result.message);\n }\n })\n .catch(error => {\n logger.error('An error has occurred while submitting subscription and it failed to parse:', response, error);\n this.displayGenericErrorMessage();\n })\n )\n .finally(() => {\n if (this.props.onFinish && ((selectedSubscriptionPlan.key_required && this.state.show === SubscriptionsPages.SUCCESS) || !selectedSubscriptionPlan.key_required)) {\n this.props.onFinish(selectedSubscriptionPlan, subscriptionPlanKey);\n }\n });\n } else {\n if (this.props.onFinish && (selectedSubscriptionPlan.key_required && subscriptionPlanKey.length > 0 || !selectedSubscriptionPlan.key_required)) {\n this.props.onFinish(selectedSubscriptionPlan, subscriptionPlanKey);\n }\n }\n }\n\n private onFinishFailed(errorInfo: any): void {\n logger.error('An error has occurred:', errorInfo);\n this.displayGenericErrorMessage();\n if (this.props.onFinishFailed) {\n this.props.onFinishFailed(errorInfo);\n }\n }\n\n private displayGenericErrorMessage(message: string = 'An error has occurred. Please try again.'): void {\n this.displayErrorMessage('generic_error_message', message);\n }\n\n private displayKeyInputErrorMessage(message: string = 'Invalid access key'): void {\n this.displayErrorMessage('subscription_plan_key', message);\n }\n\n private displayErrorMessage(name: string, message: string): void {\n this.formRef.current?.setFields([{\n name: name,\n errors: [message]\n }]);\n }\n\n private getSelectedSubscriptionPlan(subscriptionPlanId: number): SubscriptionPlan | undefined {\n return _.find(this.subscriptionPlans, (subscriptionPlan: SubscriptionPlan) => subscriptionPlan.id === subscriptionPlanId);\n }\n\n private handleSubscriptionSelectionChange(e: RadioChangeEvent): void {\n this.setState({\n selectedSubscriptionId: e.target.value,\n selectedSubscription: this.getSelectedSubscriptionPlan(e.target.value)\n });\n };\n\n private handleSubscriptionKeyChange(e): void {\n this.setState({enteredSubscriptionKey: e.target.value});\n }\n\n public renderSubscriptionPlan(subscriptionPlan: SubscriptionPlan): React.ReactElement {\n const {selectedSubscriptionId, coupon} = this.state;\n\n const maxNumberOfUsersDescription: string = SubscriptionPlan.getMaxUsersMessage(subscriptionPlan.max_number_of_users);\n let trialDescription: string = `${_.startCase(numWords(subscriptionPlan.trial_days))} day trial`;\n const maxNumberOfDevicesDescription: string = SubscriptionPlan.getMaxDevicesMessage(subscriptionPlan.max_number_of_devices);\n const priceTitle: string = `${subscriptionPlan.getPriceString()}`;\n const priceSubtitle: string = `${subscriptionPlan.getPriceStringMonthly()}`;\n\n let couponPriceTitle: string | null = null;\n let couponPriceSubtitle: string | null = null;\n let couponDescription: string | null = null;\n if (coupon && coupon.applicableTo(subscriptionPlan.id)) {\n couponPriceTitle = `${subscriptionPlan.getCouponPriceString(coupon)}`;\n couponPriceSubtitle = `${subscriptionPlan.getCouponPriceStringMonthly(coupon)}`;\n couponDescription = '';\n\n if (couponPriceTitle == priceTitle) {\n couponPriceTitle = null;\n }\n\n if (coupon.trial) {\n trialDescription = ''; // Remove trial description as coupon is overtaking the trial with its own X free.\n couponDescription = coupon.trialDescription();\n }\n }\n\n /*{subscriptionPlan.trial && }*/\n /*{subscriptionPlan.max_number_of_users > 1 &&*/\n /* }*/\n /**/\n /**/\n /*{subscriptionPlan.billing_period === IBillingPeriod.YEARLY &&*/\n /* }*/\n /*{subscriptionPlan.key_required && }*/\n const selected = subscriptionPlan.id === selectedSubscriptionId;\n return (\n
\n \n
\n
\n

\n {subscriptionPlan.name}\n

\n

\n \n {priceTitle}\n {subscriptionPlan.billing_period === IBillingPeriod.YEARLY && {priceSubtitle}}\n \n {couponPriceTitle &&\n \n {couponPriceTitle}\n {subscriptionPlan.billing_period === IBillingPeriod.YEARLY && {couponPriceSubtitle}}\n \n }\n {couponDescription &&\n \n
\n {couponDescription}\n
}\n

\n
\n
\n \n
\n
\n \n
\n );\n }\n\n private renderSubscriptionSelection(subscriptionPlans: SubscriptionPlan[]): React.ReactElement {\n const {selectedSubscriptionId} = this.state;\n let isRequired = !selectedSubscriptionId;\n\n return (\n \n \n \n {subscriptionPlans.map(this.renderSubscriptionPlan)}\n \n \n \n );\n }\n\n private renderKeyInput(): React.ReactElement {\n const {selectedSubscription, enteredSubscriptionKey} = this.state;\n\n return (\n \n {this.renderSubscriptionSelection([selectedSubscription])}\n \n \n \n \n \n }/>\n \n \n \n );\n }\n\n public renderSuccess(): React.ReactElement {\n const {selectedSubscription} = this.state;\n return (\n
\n )\n }\n\n public render(): React.ReactElement {\n const {selectedSubscription, show} = this.state;\n\n let subtitle: string;\n let onClickHandler: (event: any) => void;\n let pageContent: React.ReactElement;\n switch (show) {\n case SubscriptionsPages.DEFAULT:\n subtitle = '';\n pageContent = this.renderSubscriptionSelection(this.subscriptionPlans);\n break;\n case SubscriptionsPages.KEY_INPUT:\n subtitle = selectedSubscription.name;\n onClickHandler = () => this.setState({show: SubscriptionsPages.DEFAULT});\n pageContent = this.renderKeyInput();\n break;\n case SubscriptionsPages.SUCCESS:\n subtitle = 'Success';\n pageContent = this.renderSuccess();\n break;\n }\n\n const form = (\n
\n \n {pageContent}\n {this.isLoading() &&\n \n {show === SubscriptionsPages.DEFAULT &&\n \n
    \n
  • Unlimited reading entertainment on all your devices.
  • \n
  • Advert-free. Cancel anytime.
  • \n
  • Free 3-day trial.
  • \n
\n
\n }\n \n \n {show === SubscriptionsPages.KEY_INPUT &&\n \n }\n \n \n \n
\n }\n
\n
\n );\n\n if (this.props.embedded) {\n return form;\n }\n\n return (\n \n \n {form}\n \n );\n }\n}\n\nexport default withStore(observer(SubscriptionForm));\n","import React, {Component} from \"react\";\nimport {observable} from \"mobx\";\nimport {Subscription} from \"models/subscription/Subscription\";\nimport {ComponentWithStore} from \"models/RootStore\";\nimport {StoryApi} from \"models/story/StoryApi\";\nimport {IStoryApiData} from \"models/story/IStoryApiData\";\nimport {LoadingOutlined} from \"@ant-design/icons\";\nimport {Button, Col, Image, Row} from \"antd\";\nimport DefaultLayout from \"layouts/DefaultLayout\";\n\nimport \"./SubscriptionManage.scss\";\nimport {SubscriptionApi} from \"models/subscription/SubscriptionApi\";\nimport _ from \"lodash\";\nimport PageTitle from \"components/shared/PageTitle\";\nimport AppInfo from \"models/AppInfo\";\n\ninterface ISubscriptionManageState {\n loaded: boolean;\n stories: IStoryApiData[];\n blocked_stories: number[];\n}\n\ninterface ISubscriptionManageProps {\n routeParams: { subscriptionId: string };\n}\n\nexport class SubscriptionManage extends ComponentWithStore {\n @observable public subscription: Subscription;\n @observable public stories: IStoryApiData[];\n\n constructor(props: ISubscriptionManageProps) {\n super(props);\n this.state = {\n loaded: false,\n stories: [],\n blocked_stories: []\n };\n }\n\n\n componentDidMount() {\n let id: number = Number(this.props.routeParams.subscriptionId);\n this.subscription = new Subscription(this.store.SubscriptionProvider).withId(id);\n // noinspection JSIgnoredPromiseFromCall\n this.subscription.fetchData()\n .then(() => StoryApi.getAllIncludingBlocked())\n .then((stories) =>this.stories = stories)\n .then(() => this.setState({\n stories: this.stories,\n blocked_stories: this.subscription.blocked_stories,\n loaded: true\n }))\n }\n\n toggleBlockStory(id: number) {\n const {blocked_stories} = this.state;\n if (blocked_stories.includes(id)) {\n _.remove(blocked_stories, (value) => value == id);\n } else {\n blocked_stories.push(id);\n }\n console.log(blocked_stories);\n\n //locally save\n this.subscription.blocked_stories = blocked_stories;\n this.setState({\n blocked_stories: [...blocked_stories]\n });\n\n // update server and propagate\n SubscriptionApi.update(this.subscription.id, {\n blocked_stories: blocked_stories\n }).then((subscriptionApiData) => this.subscription.load(subscriptionApiData))\n .then(() => this.setState({\n blocked_stories: this.subscription.blocked_stories\n }));\n }\n\n render() {\n const {loaded} = this.state;\n return (\n \n \n \n {loaded && }\n
\n

Manage Subscription

\n
\n \n
\n \n \n {loaded ? this.renderContent() : }\n \n \n
\n )\n }\n\n renderContent() {\n return (\n
\n {AppInfo.isAdmin() && Bulk add users (Admin Only)}\n {this.renderBlockedStories()}\n
\n );\n }\n\n renderBlockedStories() {\n const {stories, blocked_stories} = this.state;\n console.log(blocked_stories);\n return (\n
\n
\n

Blocked Stories

\n
\n
\n {stories.map((story) => {\n console.log(blocked_stories);\n const blocked = blocked_stories.includes(story.id);\n const storyClass = `story ${blocked ? 'blocked' : ''}`;\n return (\n
\n
this.toggleBlockStory(story.id)}>\n {story.default_localisation.title}\n
\n
{blocked ? 'BLOCKED' : 'BLOCK?'}
\n
\n {story.default_localisation.title}\n
\n )\n })}\n
\n
\n )\n }\n}\n\nexport default SubscriptionManage;\n","import React, {Fragment} from 'react';\nimport logger from 'loglevel';\nimport {makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Button, Col, Row} from 'antd';\n\nimport {ComponentWithStore} from 'models/RootStore';\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\nimport {Subscription} from 'models/subscription/Subscription';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport BillingAddresses from 'components/public/billing_addresses/_BillingAddresses';\nimport CreditCards from 'components/public/credit_cards/_CreditCards';\nimport SubscriptionForm from 'components/public/pages/subscriptions/SubscriptionForm';\n\nimport './SubscriptionNew.scss';\nimport SummaryPage from \"components/public/pages/subscriptions/SummaryPage\";\nimport {LoadingOutlined} from \"@ant-design/icons\";\nimport Chevron from \"components/shared/icons/Chevron\";\nimport Coupon from \"models/coupon/Coupon\";\n\ninterface ISubscriptionNewProps {\n nested: boolean;\n routeParams?: { subscriptionId: number }\n}\n\ninterface ISubscriptionNewState {\n planSelected: boolean;\n hasBillingAddress: boolean;\n subscribed: boolean;\n submitting: boolean;\n selectedSubscriptionId?: number;\n selectedSubscription?: SubscriptionPlan;\n enteredSubscriptionKey?: string;\n coupon: Coupon;\n errorMessage: { name: string, message: string } | null;\n}\n\nconst MemoSubscriptionForm = React.memo(SubscriptionForm)\n\nclass SubscriptionNew extends ComponentWithStore {\n @observable private billingAddress: BillingAddress;\n @observable private oldSubscription: Subscription;\n\n private coupon: Coupon;\n\n private hasOneBillingAddress = false;\n\n public constructor(props) {\n super(props);\n makeObservable(this);\n\n this.selectSubscription = this.selectSubscription.bind(this);\n this.handleSubscriptionError = this.handleSubscriptionError.bind(this);\n this.submitBillingAddress = this.submitBillingAddress.bind(this);\n this.onSaveCreditCard = this.onSaveCreditCard.bind(this);\n this.editBillingAddress = this.editBillingAddress.bind(this);\n this.editSubscriptionPlan = this.editSubscriptionPlan.bind(this);\n this.onCouponAdded = this.onCouponAdded.bind(this);\n\n\n const state: Partial = {};\n const subscriptionKey = this.readParams();\n if (subscriptionKey != null) {\n state.enteredSubscriptionKey = subscriptionKey\n }\n\n this.state = {\n planSelected: false,\n hasBillingAddress: false,\n subscribed: false,\n submitting: false,\n errorMessage: null,\n coupon: null,\n ...state\n };\n }\n\n public componentDidMount(): void {\n if (this.props.hasOwnProperty('routeParams') && this.props.routeParams?.subscriptionId) {\n let id: number = Number(this.props.routeParams.subscriptionId);\n this.oldSubscription = new Subscription(this.store.SubscriptionProvider).withId(id);\n // noinspection JSIgnoredPromiseFromCall\n this.oldSubscription.fetchData();\n }\n\n this.billingAddress = new BillingAddress(this.store.BillingAddressProvider).withCurrentUser();\n\n this.store.BillingAddressProvider\n .getActive(this.store.SessionProvider.userId())\n .then((address: BillingAddress) => {\n if (address) {\n this.setState({hasBillingAddress: true})\n this.billingAddress = address;\n this.hasOneBillingAddress = true;\n }\n });\n }\n\n private readParams(): string {\n const windowUrl = window.location.search;\n const params = new URLSearchParams(windowUrl);\n if (params.has('beta_key')) {\n return params.get('beta_key');\n }\n return null;\n }\n\n private submitBillingAddress(): void {\n this.setState({submitting: true});\n\n this.billingAddress.save()\n // TODO: Shouldn't need to do this - need to look into what is happening\n .then(() => this.store.BillingAddressProvider.getActive(this.store.SessionProvider.userId()))\n .then((address: BillingAddress) => {\n if (address) {\n this.billingAddress = address;\n }\n })\n .then(() => this.setState({hasBillingAddress: true, submitting: false}))\n .catch(error => {\n this.setState({submitting: false});\n console.error(error);\n });\n }\n\n private cancelOldSubscription(): Promise {\n if (this.oldSubscription?.id) {\n return this.oldSubscription.cancel();\n } else {\n return Promise.resolve()\n }\n }\n\n private ifFreeCancelOldSubscription(selectedSubscription: SubscriptionPlan): Promise {\n if (selectedSubscription?.isFree()) {\n return this.cancelOldSubscription();\n } else {\n return Promise.resolve()\n }\n }\n\n private selectSubscription(selectedSubscription: SubscriptionPlan, enteredSubscriptionKey?: string): void {\n this.ifFreeCancelOldSubscription(selectedSubscription)\n .then(() => {\n window.scrollTo(0, window.screenTop);\n this.setState({\n selectedSubscriptionId: selectedSubscription.id,\n selectedSubscription: selectedSubscription,\n enteredSubscriptionKey: enteredSubscriptionKey,\n planSelected: true\n });\n });\n }\n\n private handleSubscriptionError(errorInfo: any) {\n console.log('ErrorInfo: ', errorInfo);\n }\n\n private onCouponAdded(coupon: Coupon): Coupon {\n this.coupon = coupon\n this.setState({\n coupon: coupon\n });\n return coupon;\n }\n\n private onSaveCreditCard(stripeSetupIntentId: string, creditCardId: number): Promise {\n const {selectedSubscriptionId, enteredSubscriptionKey} = this.state;\n this.setState({\n errorMessage: null\n });\n return this.store.SubscriptionProvider.createSubscription({\n user_id: this.store.SessionProvider.userId(),\n subscription_plan_id: selectedSubscriptionId,\n subscription_plan_key: enteredSubscriptionKey,\n billing_address_id: this.billingAddress.id,\n stripe_setup_intent: stripeSetupIntentId,\n credit_card_id: creditCardId,\n coupon_id: this.coupon?.id\n })\n .then((result) => {\n if (result.subscription_id) {\n this.cancelOldSubscription().then(() => this.setState({subscribed: true}));\n } else {\n logger.error('Failed to add subscription:', result);\n this.displayGenericErrorMessage(result.message);\n }\n })\n .catch(response => response.json()\n .then((result) => {\n if (result.codes.includes('ERK|602') || result.codes.includes('ERK|604')) {\n this.displayKeyInputErrorMessage('Invalid key provided');\n this.setState({\n planSelected: false,\n enteredSubscriptionKey: undefined\n });\n } else if (result.codes.includes('ERK|605') || result.codes.includes('ERK|606')) {\n this.displayGenericErrorMessage(result.message);\n } else if (result.codes.includes('ERK|603')) {\n this.cancelOldSubscription().then(() => this.setState({subscribed: true}));\n } else {\n logger.error('An error has occurred while submitting subscription:', result);\n this.displayGenericErrorMessage(result.message);\n }\n })\n .catch(error => {\n logger.error('An error has occurred while submitting subscription and it failed to parse:', response, error);\n this.displayGenericErrorMessage();\n })\n );\n }\n\n private editBillingAddress(_event: React.MouseEvent): void {\n this.setState({hasBillingAddress: false});\n }\n\n private editSubscriptionPlan(_event: React.MouseEvent): void {\n this.setState({planSelected: false});\n }\n\n private displayGenericErrorMessage(message: string = 'An error has occurred. Please try again.'): void {\n this.displayErrorMessage('generic_error_message', message);\n }\n\n private displayKeyInputErrorMessage(message: string = 'Invalid access key'): void {\n this.displayErrorMessage('subscription_plan_key', message);\n }\n\n private displayErrorMessage(name: string, message: string): void {\n this.setState({\n errorMessage: {\n name: name,\n message: message\n }\n });\n }\n\n private renderRegisterStep(number: number): React.ReactElement {\n const {nested} = this.props;\n\n if (!nested) return \n\n return (\n \n

STEP {number} OF 4

\n
\n );\n }\n\n private renderNewCreditCardFrom(): React.ReactElement {\n const {selectedSubscription, coupon, errorMessage} = this.state;\n\n return (\n \n \n
\n
\n );\n }\n\n private renderCreditCardPage(): React.ReactElement {\n const {selectedSubscription, errorMessage} = this.state;\n\n return (\n \n {this.renderRegisterStep(4)}\n\n {selectedSubscription && this.renderNewCreditCardFrom()}\n \n );\n }\n\n private renderBillingAddressPage(): React.ReactElement {\n const {submitting, hasBillingAddress} = this.state;\n return (\n \n {this.renderRegisterStep(3)}\n\n \n\n \n \n {this.renderPreviousStepButton()}\n \n \n {this.billingAddress.hasRequiredFields ?\n \n :\n \n }\n \n \n \n );\n }\n\n private renderSubscriptionSelectionPage(): React.ReactElement {\n const {errorMessage, selectedSubscriptionId, coupon} = this.state;\n\n return (\n
\n {this.renderRegisterStep(2)}\n\n
\n

Subscribe to a plan

\n
\n \n
\n

{errorMessage ? errorMessage.message :  }

\n
\n
\n
\n
\n )\n }\n\n private renderPages(): React.ReactElement {\n const {planSelected, subscribed, selectedSubscription} = this.state;\n\n if (planSelected) {\n const {hasBillingAddress} = this.state;\n if (selectedSubscription?.isFree()) {\n history.pushState({}, document.title, '/subscribed');\n return ;\n }\n if (hasBillingAddress) {\n if (subscribed) {\n history.pushState({}, document.title, '/subscribed');\n return ;\n }\n return this.renderCreditCardPage();\n }\n return this.renderBillingAddressPage();\n }\n return this.renderSubscriptionSelectionPage();\n }\n\n public hasPreviousStep(): boolean {\n const {planSelected, hasBillingAddress, subscribed, selectedSubscription} = this.state;\n return !subscribed && planSelected && (hasBillingAddress || !selectedSubscription?.isFree());\n }\n\n public moveToPreviousStep() {\n const {planSelected, hasBillingAddress} = this.state;\n if (planSelected) {\n if (hasBillingAddress && !this.hasOneBillingAddress) {\n this.setState({\n hasBillingAddress: false\n });\n } else {\n this.setState({\n planSelected: false\n });\n }\n }\n }\n\n private renderPreviousStepButton() {\n if (!this.hasPreviousStep()) return null;\n const {submitting} = this.state;\n\n if (submitting) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n }\n\n public render(): React.ReactElement {\n const {nested} = this.props;\n\n if (nested) return this.renderPages();\n\n return (\n \n
\n
\n {this.renderPages()}\n
\n
\n
\n );\n }\n}\n\nexport default observer(SubscriptionNew);\n","import React from 'react';\nimport {Link} from 'react-router-dom';\nimport {Row} from 'antd';\nimport {LoadingOutlined} from '@ant-design/icons';\n\nimport {ComponentWithStore} from 'models/RootStore';\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\n\nimport DefaultLayout from 'layouts/DefaultLayout';\nimport GooglePlayLink from 'components/shared/GooglePlayLink';\nimport AppStoreLink from 'components/shared/AppStoreLink';\n\nimport './SubscriptionNew.scss'\n\ninterface ISummaryPageProps {\n embedded?: boolean;\n subscriptionPlan?: SubscriptionPlan\n}\n\ninterface ISummaryPageState {\n subscriptionPlan?: SubscriptionPlan\n platform?: 'android' | 'ios' | 'webgl'\n}\n\nclass SummaryPage extends ComponentWithStore {\n private mounted = false;\n\n public constructor(props) {\n super(props);\n if (this.props.subscriptionPlan) {\n this.state = {\n subscriptionPlan: this.props.subscriptionPlan\n };\n } else {\n this.state = {\n subscriptionPlan: null,\n platform: null\n };\n }\n }\n\n public componentDidMount(): void {\n this.mounted = true;\n const {subscriptionPlan} = this.props;\n if (!subscriptionPlan) {\n this.store.SubscriptionPlanProvider.current().then((subscriptionPlan: SubscriptionPlan) => {\n this.setState({\n subscriptionPlan: subscriptionPlan\n });\n });\n this.store.UserProvider.getPlatform().then(platform => this.setState({platform: platform}))\n }\n }\n\n componentWillUnmount() {\n this.mounted = false;\n }\n\n public render(): React.ReactElement {\n const {embedded} = this.props;\n if (embedded) {\n return this.renderComponent();\n }\n return this.renderWithLayout();\n }\n\n public renderWithLayout(): React.ReactElement {\n return (\n \n
\n
\n {this.renderComponent()}\n
\n
\n
\n );\n }\n\n public renderComponent(): React.ReactElement {\n const {subscriptionPlan, platform} = this.state;\n if (!subscriptionPlan) {\n return (\n
\n \n
\n )\n }\n\n return (\n
\n \n

Welcome to Rascal!

\n
\n
\n\n \n Explore\n \n\n \n
\n {platform == 'android' &&\n \n Start Watching\n \n \n }\n {platform == 'ios' && }\n
\n
\n
\n );\n }\n}\n\nexport default SummaryPage;\n","import React, {Component} from 'react';\nimport {action, makeObservable, observable} from 'mobx';\nimport {observer} from 'mobx-react';\nimport {Col, Drawer, Row} from 'antd';\n\nimport {Story} from 'models/story/Story';\nimport {IPerson, IRole} from 'models/story/IStoryUpdateApiData';\n\nimport LoadingIcon from 'components/public/pages/webgl_app/LoadingIcon';\nimport {StoryDetailsEvents} from 'components/public/pages/webgl_app/StoryDetailsEvents';\n\nimport './Credits.scss'\n\ninterface ICreditsProps {\n story: Story;\n}\n\ninterface ICreditsState {\n isLoaded: boolean;\n isCreditsVisible: boolean;\n}\n\nclass Credits extends Component {\n @observable private credits: IRole[] = [];\n\n public constructor(props: ICreditsProps) {\n super(props);\n\n makeObservable(this);\n\n this.state = {\n isLoaded: false,\n isCreditsVisible: false\n };\n\n this.renderRole = this.renderRole.bind(this);\n this.onToggleCreditsVisibility = this.onToggleCreditsVisibility.bind(this);\n }\n\n public componentDidMount(): void {\n this.getCredits().finally(() => this.setState({isLoaded: true}));\n window.addEventListener(StoryDetailsEvents.TOGGLE_CREDITS_VISIBILITY_EVENT, this.onToggleCreditsVisibility)\n }\n\n public componentWillUnmount() {\n window.removeEventListener(StoryDetailsEvents.TOGGLE_CREDITS_VISIBILITY_EVENT, this.onToggleCreditsVisibility)\n }\n\n @action\n private getCredits(): Promise {\n const {story} = this.props;\n\n return story.getCredits()\n .then(res => {\n this.credits = res;\n });\n }\n\n private onToggleCreditsVisibility(): void {\n const {isCreditsVisible} = this.state;\n\n this.setState({isCreditsVisible: !isCreditsVisible})\n }\n\n private renderRole(role: IRole, i: number): React.ReactElement {\n let people: IPerson[] = role?.people ?? [{id: -1, name: ''}];\n let renderBlank: React.ReactElement =  \n\n return (\n \n {people.map((person: IPerson, j: number) =>\n \n \n
\n {role?.role && j === 0 ? role.role : renderBlank}\n
\n \n \n
\n {person?.name ? person.name : renderBlank}\n
\n \n
\n )}\n
\n )\n }\n\n private renderLoading(): React.ReactElement {\n return (\n
\n \n
\n );\n }\n\n public render(): React.ReactElement {\n const {story} = this.props;\n const {isCreditsVisible, isLoaded} = this.state;\n\n return (\n this.setState({isCreditsVisible: false})}\n open={isCreditsVisible}>\n
\n {isLoaded ? this.credits?.map(this.renderRole) : this.renderLoading()}\n
\n
\n );\n }\n}\n\nexport default observer(Credits);\n","import React, {Component} from 'react';\nimport './LoadingIcon.scss'\n\nexport interface IStoryDetailsButtonProps {\n color: 'blue' | 'white';\n}\n\nclass LoadingIcon extends Component {\n public render(): React.ReactElement {\n const {color} = this.props;\n let colorHex: string\n switch (color) {\n case 'blue':\n colorHex = '#1c2039'\n break;\n case 'white':\n colorHex = '#f2f2f2'\n break;\n }\n\n return (\n
\n
\n \n \n \n \n \n \n
\n
\n );\n }\n}\n\nexport default LoadingIcon;","import React, {Component} from 'react';\nimport LoadingIcon from 'components/public/pages/webgl_app/LoadingIcon';\nimport './LoadingOverlay.scss'\n\nexport interface IStoryDetailsButtonProps {\n}\n\nclass LoadingOverlay extends Component {\n public render(): React.ReactElement {\n\n return (\n
\n \n
\n );\n }\n}\n\nexport default LoadingOverlay;","import React, { Component } from 'react';\nimport './Parallelogram.scss';\n\nexport interface IParallelogramProps {\n label: string;\n background: string;\n textColor: 'white' | 'black'\n}\n\nclass Parallelogram extends Component {\n public render(): React.ReactElement {\n const { label, background, textColor } = this.props;\n\n return (\n
\n
\n {label}\n
\n
\n );\n }\n}\n\nexport default Parallelogram;\n","import React, {Component} from 'react';\n\nclass PauseMenuBackIcon extends Component {\n public render(): React.ReactElement {\n return (\n
\n
\n \n \n \n
\n
\n );\n }\n}\n\nexport default PauseMenuBackIcon;","import React, {Component} from 'react';\n\nclass PauseMenuCogIcon extends Component {\n public render(): React.ReactElement {\n return (\n
\n
\n \n \n \n
\n
\n );\n }\n}\n\nexport default PauseMenuCogIcon;","import React, {Component} from 'react';\n\nclass PauseMenuForwardIcon extends Component {\n public render(): React.ReactElement {\n return (\n
\n
\n \n \n \n
\n
\n );\n }\n}\n\nexport default PauseMenuForwardIcon;","import React, {Component} from 'react';\n\nclass PauseMenuPlayIcon extends Component {\n public render(): React.ReactElement {\n return (\n
\n
\n \n \n \n
\n
\n );\n }\n}\n\nexport default PauseMenuPlayIcon;","// TODO: Work in progress, WindowSize will need to be hooked into a listener on the component that uses it.\n// Ideally we would create a singleton global listener that would update all ScalingValues of the change which can then notify\n// the components that use them.\n\n\nexport type IScalingNumber = ScalingNumber | number;\nexport type IScalingString = ScalingString | string;\nexport type ScalingNumber = ScalingValue;\nexport type ScalingString = ScalingValue;\nexport interface ScalingValue {\n xs?: T;\n sm?: T;\n md?: T;\n lg?: T;\n xl?: T;\n}\n\nclass WindowSize {\n public static xs: number = 0;\n public static sm: number = 576;\n public static md: number = 768;\n public static lg: number = 992;\n public static xl: number = 1200;\n\n public static isXS(): boolean {\n return window.innerWidth < WindowSize.sm;\n }\n\n public static isSM(): boolean {\n return window.innerWidth >= WindowSize.sm && window.innerWidth < WindowSize.md;\n }\n\n public static isMD(): boolean {\n return window.innerWidth >= WindowSize.md && window.innerWidth < WindowSize.lg;\n }\n\n public static isLG(): boolean {\n return window.innerWidth >= WindowSize.lg && window.innerWidth < WindowSize.xl;\n }\n\n public static isXL(): boolean {\n return window.innerWidth >= WindowSize.xl;\n }\n\n public static getScalingNumber(value: IScalingNumber, defaultValue = 0): number {\n if (value == undefined) {\n return defaultValue;\n }\n if (typeof value === \"number\") {\n return value as number;\n }\n if (typeof value !== \"number\") {\n WindowSize.getScalingValue(value, defaultValue);\n }\n }\n\n public static getScalingString(value: IScalingString, defaultValue = ''): string {\n if (value == undefined) {\n return defaultValue;\n }\n if (typeof value === \"string\") {\n return value as string;\n }\n if (typeof value !== \"string\") {\n WindowSize.getScalingValue(value, defaultValue);\n }\n }\n\n private static getScalingValue(value: ScalingValue, defaultValue: T): T {\n if (value == undefined) {\n return defaultValue;\n }\n\n if (typeof value === typeof defaultValue) {\n return value as T;\n }\n\n if (WindowSize.isXS()) {\n return value?.xs || defaultValue;\n } else if (WindowSize.isSM()) {\n return value.sm || value.xs || defaultValue;\n } else if (WindowSize.isMD()) {\n return value.md || value.sm || value.xs || defaultValue;\n } else if (WindowSize.isLG()) {\n return value.lg || value.md || value.sm || value.xs || defaultValue;\n } else if (WindowSize.isXL()) {\n return value.xl || value.lg || value.md || value.sm || value.xs || defaultValue;\n }\n }\n}\n\nexport default WindowSize;\n","import React from 'react';\nimport { action, makeObservable, observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport { UnityConfig } from 'react-unity-webgl';\nimport _ from 'lodash';\nimport { Col, Row } from 'antd';\n\nimport Config from 'config/Config';\nimport { ComponentWithStore } from 'models/RootStore';\nimport { StoryRelease } from 'models/storyRelease/StoryRelease';\nimport { Story } from 'models/story/Story';\nimport { Settings } from 'models/settings/Settings';\nimport { Collection } from 'models/collection/Collection';\nimport { StorySession } from 'models/storySession/StorySession';\nimport AppInfo from 'models/AppInfo';\n\nimport Catalogue from 'components/public/pages/home/Catalogue';\nimport LoadingIcon from 'components/public/pages/webgl_app/LoadingIcon';\nimport StoryDetailsHeader from 'components/public/pages/webgl_app/StoryDetailsHeader';\nimport StoryInfo from 'components/public/pages/webgl_app/StoryInfo';\nimport { WebglApp } from 'components/public/pages/webgl_app/WebglApp';\nimport WebglOverlay from 'components/public/pages/webgl_app/WebglOverlay';\nimport DefaultFooter from 'layouts/footers/DefaultFooter';\nimport WindowSize from 'components/shared/WindowSize';\n\nimport './StoryDetails.scss';\nimport './WebglApp.scss';\n\ninterface IStoryDetailsProps {\n routeParams: { storyId: string };\n play?: boolean;\n}\n\ninterface IStoryDetailsState {\n isInfoLoaded: boolean;\n isUnityConfigLoaded: boolean;\n}\n\nclass StoryDetails extends ComponentWithStore {\n @observable public story: Story;\n @observable private related: Story[];\n @observable private collections: Collection[];\n @observable private releases: StoryRelease[];\n @observable private release: StoryRelease;\n @observable private storySession: StorySession;\n\n @observable private config: UnityConfig;\n @observable private revokeConfigUrlsCallback: Function;\n @observable private settings: Settings;\n\n private storyId: number;\n\n private doPlay: () => void = () => {\n console.log('play not init');\n };\n\n public constructor(props: IStoryDetailsProps) {\n super(props);\n\n makeObservable(this);\n let id: number = Number(this.props.routeParams.storyId);\n this.storyId = id;\n this.story = new Story(this.store.StoryProvider).withId(id);\n\n this.state = {\n isInfoLoaded: false,\n isUnityConfigLoaded: false\n };\n }\n\n public componentDidMount(): void {\n this.store.SessionProvider.authOnly();\n this.story\n .withDefaultLocalisation()\n .thenGetData()\n .then(() => Promise.all([\n this.getRelated(),\n this.getCollections(),\n this.getReleases(),\n this.getSettings(),\n this.getStorySession()\n ]))\n .finally(() => this.setState({ isInfoLoaded: true }));\n this.getWebgl()\n .finally(() => this.setState({ isUnityConfigLoaded: true }));\n }\n\n @action\n private async getRelated(): Promise {\n this.related = await this.story.getRelated();\n }\n\n @action\n private async getCollections(): Promise {\n this.collections = await this.story.getCollections();\n }\n\n @action\n private async getReleases(): Promise {\n this.releases = await this.story.getStoryReleases();\n this.release = StoryRelease.filterForLatest(this.releases);\n }\n\n @action\n private async getStorySession(): Promise {\n this.storySession = await this.story.getStorySession(true);\n }\n\n @action\n private async getSettings(): Promise {\n this.settings = await this.store.SettingsProvider.localSettings();\n }\n\n @action\n private async getWebgl(): Promise {\n console.log('StoryDetails.getWebgl');\n if (Config.useLocalWebGLBuild) {\n return Promise.resolve();\n }\n\n let res = await this.store.WebglProvider.latest();\n console.log('StoryDetails.res', res);\n if (res.config) this.config = res.config;\n this.revokeConfigUrlsCallback = res.callback;\n }\n\n private renderMobileView(): React.ReactElement {\n return (\n
\n \n \n
\n

Download soon:

\n \n \n
\n \n
\n
\n );\n }\n\n private renderWebgl(): React.ReactElement {\n const { play } = this.props;\n const { isUnityConfigLoaded } = this.state;\n\n if (AppInfo.isMobile()) {\n const portrait = window.innerWidth <= WindowSize.sm;\n return (\n \n \n \n );\n }\n\n return (\n \n {isUnityConfigLoaded &&\n void) => (this.doPlay = doPlay)}\n config={this.config}\n settings={this.settings}\n revokeConfigUrlsCallback={this.revokeConfigUrlsCallback}\n store={this.store}\n />}\n \n \n );\n }\n\n private renderStorySession(): React.ReactElement {\n // TODO: Delete this\n return (\n \n Story Session:\n
    \n
  • id: {this.storySession?.remote_id}
  • \n
  • story_id: {this.storySession?.story_id}
  • \n
  • started_at: {this.storySession?.started_at?.toString()}
  • \n
  • finished_at: {this.storySession?.finished_at?.toString()}
  • \n
  • exited_at: {this.storySession?.exited_at?.toString()}
  • \n
  • duration: {this.storySession?.duration}
  • \n
  • current_asset_bundle: {this.storySession?.current_asset_bundle}
  • \n
  • current_scene: {this.storySession?.current_scene}
  • \n
\n
\n );\n }\n\n private renderCatalogues(): React.ReactElement {\n return (\n \n {_.map(\n _.orderBy(this.collections, collection => _.includes(_.map(collection.story_collections, sc => sc.story_id), this.story.id), 'desc'),\n collection => (\n \n \n sc.story_id)} />\n \n \n )\n )}\n {this.related?.length > 0 && (\n \n \n \n \n \n )}\n \n );\n }\n\n public render(): React.ReactElement {\n const { isInfoLoaded } = this.state;\n\n if (!isInfoLoaded) {\n return (\n
\n \n
\n );\n }\n\n return (\n \n
\n
\n
\n \n {this.renderWebgl()}\n {this.renderCatalogues()}\n \n
\n
\n
\n \n
\n );\n }\n}\n\nexport default observer(StoryDetails);\n","import React, {Component} from 'react';\nimport LoadingIcon from 'components/public/pages/webgl_app/LoadingIcon';\nimport './StoryDetailsButton.scss'\n\nexport interface IStoryDetailsButtonProps {\n label: string;\n icon?: React.ReactElement;\n loading?: boolean;\n color: 'blue' | 'white' | 'inactive';\n cursor: 'pointer' | 'progress' | 'not-allowed'\n onClick?: (e: React.MouseEvent) => void;\n}\n\nclass StoryDetailsButton extends Component {\n public render(): React.ReactElement {\n const {onClick, label, icon, loading, color, cursor} = this.props;\n\n return (\n \n );\n }\n}\n\nexport default StoryDetailsButton;\n","export class StoryDetailsEvents {\n public static readonly TOGGLE_CREDITS_VISIBILITY_EVENT: string = 'TOGGLE_CREDITS_VISIBILITY';\n public static readonly UNITY_STARTUP_COMPLETE_EVENT: string = 'UNITY_STARTUP_COMPLETE';\n public static readonly START_STORY_EVENT: string = 'START_STORY';\n public static readonly SET_LOADING_STATE_EVENT: string = 'SET_LOADING_STATE';\n public static readonly SET_STORY_SESSION_EVENT: string = 'SET_STORY_SESSION';\n public static readonly SET_ERROR_MESSAGE_EVENT: string = 'SET_ERROR_MESSAGE';\n public static readonly SET_PAUSED_STATE_EVENT: string = 'SET_PAUSED_STATE';\n public static readonly EXIT_EVENT: string = 'EXIT';\n}\n","import React, {Component} from 'react';\nimport {Col, Row} from 'antd';\n\nimport {Story} from 'models/story/Story';\n\nimport {StoryDetailsEvents} from 'components/public/pages/webgl_app/StoryDetailsEvents';\n\nimport './StoryDetailsHeader.scss';\nimport Chevron from \"components/shared/icons/Chevron\";\n\ninterface IStoryDetailsHeaderProps {\n story: Story;\n}\n\ninterface IStoryDetailsHeaderState {\n}\n\nclass StoryDetailsHeader extends Component {\n private onClickExitButton(): void {\n window.dispatchEvent(new Event(StoryDetailsEvents.EXIT_EVENT));\n }\n\n public render(): React.ReactElement {\n const {story} = this.props;\n\n return (\n \n \n \n \n \n this.onClickExitButton()}>\n \n \n \n \n {story.title()}\n \n \n \n \n \n );\n }\n}\n\nexport default StoryDetailsHeader;\n","import React, {Component} from 'react';\nimport {Switch} from 'antd';\nimport './StoryDetailsToggle.scss'\nimport {ComponentWithStore} from \"models/RootStore\";\nimport {ISettingsListener} from \"models/settings/ISettingsListener\";\nimport {Settings} from \"models/settings/Settings\";\n\nexport interface IStoryDetailsToggleProps {\n label: string;\n icon?: React.ReactElement;\n cursor: 'pointer' | 'progress' | 'not-allowed'\n isOn: () => boolean;\n color?: 'white' | 'black';\n getValue: (settings: Settings) => boolean;\n onChangeSwitch: (checked: boolean, event: React.MouseEvent) => void;\n}\n\ninterface IStoryDetailsToggleState {\n value: boolean;\n}\n\nclass StoryDetailsToggle extends ComponentWithStore implements ISettingsListener {\n\n constructor(props: IStoryDetailsToggleProps) {\n super(props);\n this.state = {\n value: this.props.isOn()\n }\n }\n\n componentDidMount() {\n this.store.SettingsProvider.registerUpdateListener(this);\n }\n\n componentWillUnmount() {\n this.store.SettingsProvider.unregisterUpdateListener(this);\n }\n\n onSettingsUpdate(settings: Settings): void {\n this.setState({ value: this.props.getValue(settings)});\n }\n\n public render(): React.ReactElement {\n const {onChangeSwitch, label, icon, cursor} = this.props;\n const {value} = this.state;\n const color = this.props.color ? this.props.color : 'black';\n\n return (\n \n );\n }\n}\n\nexport default StoryDetailsToggle;\n","import React, {Component} from 'react';\nimport {Col, Row} from 'antd';\n\nimport {Story} from 'models/story/Story';\n\nimport './StoryInfo.scss';\n\ninterface IStoryInfoProps {\n story: Story;\n}\n\ninterface IStoryInfoState {\n}\n\nclass StoryInfo extends Component {\n public constructor(props: IStoryInfoProps) {\n super(props);\n }\n\n public render(): React.ReactElement {\n const {story} = this.props;\n \n return (\n \n \n \n \n
\n

\n About\n

\n

\n {story.default_localisation?.biography}\n

\n
\n \n
\n \n \n
\n
\n Released\n
\n
\n {story.released_at?.getFullYear().toString()}\n
\n
\n
\n
\n Rated\n
\n
\n {`Age appropriate for ${story.minimum_age ? `${story.minimum_age}+` : 'all ages'}.`}\n
\n
\n \n \n
\n
\n Languages\n
\n
\n English, Te Reo\n
\n
\n \n
\n \n
\n );\n }\n}\n\nexport default StoryInfo;\n","import {Row} from 'antd';\nimport React from 'react';\n\nimport {ComponentWithStore} from 'models/RootStore';\nimport {Story} from 'models/story/Story';\n\nimport './StoryTitleImage.scss'\n\ninterface IStoryTitleImageProps {\n story: Story;\n center?: boolean;\n}\n\ninterface IStoryTitleImageState {\n}\n\nclass StoryTitleImage extends ComponentWithStore {\n public constructor(props: IStoryTitleImageProps) {\n super(props);\n\n this.state = {};\n }\n\n public render(): React.ReactElement {\n const {story, center} = this.props;\n\n let color: string = story.default_localisation?.featured_text_color || '#000';\n\n return (\n \n {story.default_localisation?.title_image_url\n ? (\n
\n \n
\n )\n : story.title()}\n
\n );\n }\n}\n\nexport default StoryTitleImage;\n","export class UnityEvents {\n public static readonly STARTUP_COMPLETE_EVENT: string = 'rkStartupComplete';\n public static readonly VERSION_MISMATCH_EVENT: string = 'rkVersionMismatch';\n public static readonly SPLASH_SCREEN_GONE_EVENT: string = 'rkSplashScreenGone';\n public static readonly WAITING_FOR_CHAPTER_TO_DOWNLOAD_EVENT: string = 'rkWaitingForChapterToDownload';\n public static readonly WAITING_FOR_CHAPTER_TO_LOAD_EVENT: string = 'rkWaitingForChapterToLoad';\n public static readonly FINISHED_WAITING_FOR_EVENT: string = 'rkFinishedWaitingFor';\n public static readonly START_STORY_SESSION_EVENT: string = 'rkStartStorySession';\n public static readonly STARTING_STORY_EVENT: string = 'rkStartingStory';\n public static readonly UPDATE_BUNDLE_EVENT: string = 'rkUpdateBundle';\n public static readonly UPDATE_SCENE_EVENT: string = 'rkUpdateScene';\n public static readonly FINISH_STORY_SESSION_EVENT: string = 'rkFinishStorySession';\n public static readonly RESTART_STORY_EVENT: string = 'rkRestartStory';\n public static readonly DISPLAY_ERROR_EVENT: string = 'rkDisplayError';\n public static readonly STORY_SET_EVENT: string = 'rkStorySet';\n public static readonly PROGRESS_STATE_CHANGE_EVENT: string = 'rkProgressStateChange';\n public static readonly EXIT_EVENT: string = 'rkExit';\n public static readonly EXITED_TUTORIAL_EVENT: string = 'rkExitedTutorial';\n}","import React, {Component} from \"react\";\n\nclass SoundIcon extends Component {\n render() {\n return (\n \n \n \n \n \n \n \n );\n }\n}\n\nexport default SoundIcon;\n","import React, { Component, createRef } from 'react';\nimport { observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport { Col, Row } from 'antd';\nimport { DownOutlined, ExpandOutlined, UpOutlined } from '@ant-design/icons/lib';\n\nimport AppInfo from 'models/AppInfo';\nimport { Story } from 'models/story/Story';\nimport { Settings } from 'models/settings/Settings';\nimport { ComponentWithStore } from 'models/RootStore';\nimport { Language } from 'models/settings/Language';\n\nimport LanguageSelection from 'components/shared/LanguageSelection';\nimport LoadingOverlay from 'components/public/pages/webgl_app/LoadingOverlay';\nimport { StoryDetailsEvents } from 'components/public/pages/webgl_app/StoryDetailsEvents';\nimport StoryDetailsToggle from 'components/public/pages/webgl_app/StoryDetailsToggle';\nimport SoundIcon from 'components/shared/icons/SoundIcon';\nimport RestartIcon from 'components/shared/icons/RestartIcon';\nimport PlayIcon from 'components/shared/icons/PlayIcon';\nimport PauseMenuBackIcon from 'components/public/pages/webgl_app/PauseMenuBackIcon';\nimport PauseMenuCogIcon from 'components/public/pages/webgl_app/PauseMenuCogIcon';\nimport PauseMenuPlayIcon from 'components/public/pages/webgl_app/PauseMenuPlayIcon';\nimport PauseMenuForwardIcon from 'components/public/pages/webgl_app/PauseMenuForwardIcon';\n\ninterface IUnityWrapperProps {\n story: Story;\n onGoToNext: (event?: React.MouseEvent) => void;\n onGoToPrevious: (event?: React.MouseEvent) => void;\n onChangeLanguage: (value: string) => void;\n onChangeMusic: (enabled: boolean, event?: React.MouseEvent) => void;\n onChangeNarration: (enabled: boolean, event?: React.MouseEvent) => void;\n onRestart: (event?: React.MouseEvent) => void;\n onToggleFullscreen: () => void;\n checkPausedState: (showMenu: boolean) => void;\n children: React.ReactNode;\n}\n\ninterface IUnityWrapperState {\n showPause: boolean;\n showPauseBackground: boolean;\n showMenu: boolean;\n showLanguage: boolean;\n currentLanguage: string;\n fullscreen: boolean;\n loadingState: string;\n}\n\nexport class UnityWrapper extends ComponentWithStore {\n private clicks: number = 0;\n private static TOUCHED_DELAY: number = 500;\n private static TAP_SPEED: number = 200;\n private lastTouchedAt: number = Date.now();\n\n private timeout = null;\n\n private wrapperRef: React.RefObject = createRef();\n\n private mounted: boolean = false;\n\n @observable private settings: Settings = new Settings(this.store.SettingsProvider).withDefaultValues(this.store.SessionProvider.userId());\n\n constructor(props: IUnityWrapperProps) {\n super(props);\n this.onSetLoadingState = this.onSetLoadingState.bind(this);\n this.onSetPauseState = this.onSetPauseState.bind(this);\n this.onDismissLanguage = this.onDismissLanguage.bind(this);\n this.toggleLanguage = this.toggleLanguage.bind(this);\n this.changeLanguage = this.changeLanguage.bind(this);\n this.setPauseState = this.setPauseState.bind(this);\n this.captureTap = this.captureTap.bind(this);\n this.setFullscreen = this.setFullscreen.bind(this);\n this.requestFullscreen = this.requestFullscreen.bind(this);\n this.cancelFullscreen = this.cancelFullscreen.bind(this);\n this.isFullscreen = this.isFullscreen.bind(this);\n this.stopPropagation = this.stopPropagation.bind(this);\n this.dismiss = this.dismiss.bind(this);\n this.dismissMenuOr = this.dismissMenuOr.bind(this);\n this.resume = this.resume.bind(this);\n this.prev = this.prev.bind(this);\n this.next = this.next.bind(this);\n this.restart = this.restart.bind(this);\n\n this.state = {\n showPause: false,\n showPauseBackground: false,\n showMenu: false,\n showLanguage: false,\n currentLanguage: null,\n fullscreen: false,\n loadingState: ''\n };\n }\n\n public componentDidMount() {\n this.mounted = true;\n this.store.SettingsProvider.localSettings().then(settings => {\n this.settings = settings;\n this.setState({ currentLanguage: this.settings.language });\n });\n window.addEventListener(StoryDetailsEvents.SET_LOADING_STATE_EVENT, this.onSetLoadingState);\n window.addEventListener(StoryDetailsEvents.SET_PAUSED_STATE_EVENT, this.onSetPauseState);\n window.addEventListener('click', this.onDismissLanguage);\n this.store.SettingsProvider.registerUpdateListener(this);\n }\n\n public componentWillUnmount() {\n this.store.SettingsProvider.unregisterUpdateListener(this);\n window.removeEventListener(StoryDetailsEvents.SET_LOADING_STATE_EVENT, this.onSetLoadingState);\n window.removeEventListener(StoryDetailsEvents.SET_PAUSED_STATE_EVENT, this.onSetPauseState);\n window.removeEventListener('click', this.onDismissLanguage);\n this.mounted = false;\n }\n\n public onSettingsUpdate(settings: Settings): void {\n this.setState({ currentLanguage: settings.language });\n }\n\n public onDismissLanguage(): void {\n const { showLanguage } = this.state;\n if (showLanguage) {\n this.setState({ showLanguage: false });\n }\n }\n\n public toggleLanguage(e: React.MouseEvent): void {\n const { showLanguage } = this.state;\n this.stopPropagation(e);\n this.setState({ showLanguage: !showLanguage });\n }\n\n public changeLanguage(e: React.MouseEvent, language: Language): void {\n const { onChangeLanguage } = this.props;\n this.stopPropagation(e);\n onChangeLanguage(language);\n this.setState({ showLanguage: false });\n }\n\n private onSetLoadingState(event: Event): void {\n this.setState({ loadingState: event['detail'] });\n }\n\n private onSetPauseState(event: Event): void {\n this.setPauseState(event['detail']);\n }\n\n public isFullscreen() {\n return this.state.fullscreen;\n }\n\n public setFullscreen(fullscreen: boolean): void {\n if (this.state.fullscreen !== fullscreen && this.mounted) {\n this.setState({ fullscreen: fullscreen });\n }\n }\n\n public requestFullscreen(): Promise {\n return this.wrapperRef?.current?.requestFullscreen();\n }\n\n public cancelFullscreen(): Promise {\n if (document.fullscreenElement !== null) {\n return document.exitFullscreen();\n } else {\n return Promise.resolve();\n }\n }\n\n private captureTap(event: React.MouseEvent) {\n this.handleTap(event);\n return false;\n }\n\n private setPauseState(pause: boolean) {\n this.setState({\n showPause: pause,\n showMenu: false\n });\n setTimeout(() => {\n this.setState({ showPauseBackground: pause });\n }, UnityWrapper.TOUCHED_DELAY);\n this.props.checkPausedState(pause);\n }\n\n private handleTap(event: React.MouseEvent) {\n const { showMenu } = this.state;\n if (showMenu) {\n if (!this.recentlyTouched()) {\n this.setPauseState(false);\n }\n return;\n }\n\n this.clicks += 1;\n this.lastTouchedAt = Date.now();\n if (this.clicks >= 3) {\n this.setPauseState(true);\n }\n clearTimeout(this.timeout);\n this.timeout = setTimeout(() => {\n this.clicks = 0;\n }, UnityWrapper.TAP_SPEED);\n }\n\n private recentlyTouched(): boolean {\n return this.lastTouchedAt + UnityWrapper.TOUCHED_DELAY > Date.now();\n }\n\n private stopPropagation(e: React.MouseEvent) {\n e.stopPropagation();\n e.preventDefault();\n return true;\n }\n\n private dismiss(e: React.MouseEvent) {\n const { showMenu } = this.state;\n if (!showMenu) {\n this.setPauseState(false);\n } else {\n this.setState({ showMenu: false });\n }\n }\n\n private dismissMenuOr(f: Function) {\n const { showMenu } = this.state;\n if (showMenu) {\n this.setState({ showMenu: false });\n } else {\n f();\n }\n }\n\n private resume(e: React.MouseEvent) {\n this.dismissMenuOr(() => {\n e.stopPropagation();\n this.setPauseState(false);\n });\n }\n\n private prev(e: React.MouseEvent) {\n this.dismissMenuOr(() => {\n e.stopPropagation();\n this.setPauseState(false);\n this.setState({ loadingState: 'loading' });\n this.props.onGoToPrevious();\n });\n }\n\n private next(e: React.MouseEvent) {\n this.dismissMenuOr(() => {\n e.stopPropagation();\n this.setPauseState(false);\n this.setState({ loadingState: 'loading' });\n this.props.onGoToNext();\n });\n }\n\n private restart(e: React.MouseEvent) {\n e.stopPropagation();\n this.setPauseState(false);\n this.setState({ loadingState: 'loading' });\n this.props.onRestart();\n }\n\n private renderMenu(): React.ReactElement {\n const { story, onChangeNarration, onToggleFullscreen, onChangeMusic } = this.props;\n const { showMenu, showLanguage, currentLanguage, fullscreen } = this.state;\n\n if (currentLanguage === null) {\n return ;\n }\n\n return (\n
\n
\n
\n

{story.title()}

\n
\n
\n
\n
\n
Language
\n
\n
\n
\n {currentLanguage} {showLanguage ? : }\n
\n
\n
\n {Object.values(Language).map(lang => (\n
this.changeLanguage(e, lang)}>\n
{lang}
\n
\n ))}\n
\n
\n
\n }\n cursor='pointer'\n isOn={() => this.settings.is_music_on}\n getValue={(settings: Settings) => settings.is_music_on}\n onChangeSwitch={onChangeMusic} />\n
\n
\n }\n cursor='pointer' isOn={() => this.settings.is_narration_on}\n getValue={(settings: Settings) => settings.is_narration_on}\n onChangeSwitch={onChangeNarration} />\n
\n
\n
\n
\n Restart Story\n
\n
\n
\n
\n
\n
\n {fullscreen ? 'Exit Fullscreen' : 'Fullscreen'}\n
\n
\n
\n
\n
\n
\n );\n }\n\n private renderPopup(): React.ReactElement {\n const { story } = this.props;\n const { showPause, showPauseBackground, showMenu } = this.state;\n\n return (\n
\n
\n
\n
\n

{story.title()}

\n
\n
this.setState({ showMenu: !showMenu })}>\n \n
\n \n \n
\n \n
\n \n \n
\n \n
\n \n \n
\n \n
\n \n
\n {this.renderMenu()}\n
\n
\n );\n }\n\n public render(): React.ReactElement {\n const { fullscreen, loadingState } = this.state;\n\n if (AppInfo.isMobile()) {\n return
;\n }\n\n return (\n
\n {loadingState === 'loading' && }\n {this.renderPopup()}\n {this.props.children}\n
\n );\n }\n}\n\nexport default observer(UnityWrapper);\n","export class QueueSet {\n private elements: T[] = []\n\n public enqueue(value: T) {\n if (!this.elements.includes(value)) {\n this.elements.push(value);\n }\n }\n\n public dequeue(): T | null {\n if (this.elements.length <= 0) return null;\n return this.elements.shift();\n }\n\n public insertAtHead(value: T) {\n if (!this.elements.includes(value)) {\n this.elements.unshift(value);\n }\n }\n\n public get Head(): T | null {\n return this.elements.at(0);\n }\n\n public get Tail(): T | null {\n return this.elements.at(-1);\n }\n}\n","import React, { Component } from 'react';\nimport { Select } from 'antd';\nimport { ComponentWithStore } from 'models/RootStore';\nimport { ISettingsListener } from 'models/settings/ISettingsListener';\nimport { Settings } from 'models/settings/Settings';\nimport { Language } from 'models/settings/Language';\n\ninterface ILanguageSelectionProps {\n options?: string[];\n color?: 'white' | 'black';\n defaultLanguage: Language;\n onChange: (value: string) => void;\n}\n\ninterface ILanguageSelectionState {\n currentLanguage: string;\n}\n\nclass LanguageSelection extends ComponentWithStore implements ISettingsListener {\n constructor(props: ILanguageSelectionProps) {\n super(props);\n this.state = {\n currentLanguage: props.defaultLanguage\n };\n }\n\n public componentDidMount() {\n this.store.SettingsProvider.registerUpdateListener(this);\n }\n\n public componentWillUnmount() {\n this.store.SettingsProvider.unregisterUpdateListener(this);\n }\n\n public onSettingsUpdate(settings: Settings): void {\n this.setState({ currentLanguage: settings.language });\n }\n\n public render() {\n const { onChange, color } = this.props;\n const { currentLanguage } = this.state;\n let options = this.props.options;\n if (!options || options.length === 0) {\n options = [Language.English, Language.TeReo];\n }\n\n return (\n \n );\n }\n}\n\nexport default LanguageSelection;\n","import React, { createRef, useCallback, useEffect, useState } from 'react';\nimport { Unity, UnityConfig, useUnityContext } from 'react-unity-webgl';\nimport logger from 'loglevel';\nimport { ExpandOutlined, PauseOutlined } from '@ant-design/icons';\n\nimport Config from 'config/Config';\nimport { QueueSet } from 'helpers/QueueSet';\nimport { RootStore } from 'models/RootStore';\nimport { Settings } from 'models/settings/Settings';\nimport { Story } from 'models/story/Story';\nimport { Collection } from 'models/collection/Collection';\nimport { StorySession } from 'models/storySession/StorySession';\nimport { StoryRelease } from 'models/storyRelease/StoryRelease';\nimport { AssetBundle, AssetBundleManifest } from 'models/storyRelease/AssetBundleManifest';\nimport { ISceneBundle, IStoryBundle, JsonStoryBundle } from 'models/storyRelease/IAssetBundleManifest';\nimport { ProgressState } from 'models/storyRelease/AssetBundleManifest';\n\nimport StoryDetailsButton from 'components/public/pages/webgl_app/StoryDetailsButton';\nimport StoryDetailsToggle from 'components/public/pages/webgl_app/StoryDetailsToggle';\nimport { StoryDetailsEvents } from 'components/public/pages/webgl_app/StoryDetailsEvents';\nimport { UnityEvents } from 'components/public/pages/webgl_app/UnityEvents';\nimport UnityWrapperElement, { UnityWrapper } from 'components/public/pages/webgl_app/UnityWrapper';\nimport LanguageSelection from 'components/shared/LanguageSelection';\nimport RestartIcon from 'components/shared/icons/RestartIcon';\nimport PlayIcon from 'components/shared/icons/PlayIcon';\nimport { Language } from 'models/settings/Language';\n\nenum DownloadProgressStateEnum {\n NotStarted,\n Started,\n Downloading,\n Unpacking,\n Loading,\n Completed\n}\n\nconst REMOTE_UNITY_CONFIG: UnityConfig = {\n dataUrl: '/webgl_app/data',\n frameworkUrl: '/webgl_app/framework',\n loaderUrl: '/webgl_app/loader',\n codeUrl: '/webgl_app/wasm'\n};\n\nconst LOCAL_UNITY_CONFIG: UnityConfig = {\n dataUrl: '/app/webgl_app/Build/webgl_app.data',\n frameworkUrl: '/app/webgl_app/Build/webgl_app.framework.js',\n loaderUrl: '/app/webgl_app/Build/webgl_app.loader.js',\n codeUrl: '/app/webgl_app/Build/webgl_app.wasm'\n};\n\ninterface IUnityContextCreatorProps {\n story: Story;\n release: StoryRelease;\n collections: Collection[];\n setPlay: (callback: () => void) => void;\n config?: UnityConfig;\n revokeConfigUrlsCallback: Function;\n settings: Settings;\n store: RootStore;\n}\n\nexport function WebglApp(props: IUnityContextCreatorProps): React.ReactElement {\n const { story, release, setPlay, config, revokeConfigUrlsCallback, settings, store } = props;\n const [storySession, setStorySession] = useState(null);\n const [startupCompleteCalled, setStartupCompleteCalled] = useState(false);\n const [isWaiting, setIsWaiting] = useState(false);\n const [paused, setPaused] = useState(false);\n const unityWrapper: React.RefObject = createRef();\n const _waitingForQueue = new QueueSet();\n\n const { unityProvider, requestFullscreen, addEventListener, removeEventListener, sendMessage } = useUnityContext(config || (Config.useLocalWebGLBuild ? LOCAL_UNITY_CONFIG : REMOTE_UNITY_CONFIG));\n\n function updateStorySession(storySession: StorySession): void {\n setStorySession(storySession);\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_STORY_SESSION_EVENT, { detail: storySession }));\n }\n\n useEffect(() => {\n store.StorySessionProvider.getForStory(story.id).then(storySession => updateStorySession(storySession));\n }, []);\n\n function invokeStoryControlsMethod(method: string, param: string | number | undefined = undefined) {\n sendMessage('Story Controls(Clone)', method, param);\n }\n\n function invokeStartupMethod(method: string, param: string | number | undefined = undefined) {\n sendMessage('Startup', method, param);\n }\n\n const doPlay = useCallback((): void => {\n invokeStartupMethod('Play');\n }, []);\n\n useEffect(() => {\n setPlay && setPlay(doPlay);\n }, [setPlay, doPlay]);\n\n function isMusicOn(): boolean {\n return settings ? settings.is_music_on : true;\n }\n\n function isNarrationOn(): boolean {\n return settings ? settings.is_narration_on : true;\n }\n\n function getLanguage(): Language {\n return settings ? settings.language : Language.English;\n }\n\n function getLanguageKey(value: Language): string {\n const i = Object.values(Language).indexOf(value);\n if (i < 0) return 'English';\n return Object.keys(Language)[i];\n }\n\n function onFullscreenChange() {\n invokeStoryControlsMethod('OnResize');\n setTimeout(() => invokeStoryControlsMethod('OnResize'), 100);\n }\n\n // This is called when an event is received from the window.\n function onRemoteFullscreenChange() {\n unityWrapper.current?.setFullscreen(document.fullscreenElement !== null);\n onFullscreenChange();\n }\n\n function onToggleFullscreen() {\n const isFullscreen = document.fullscreenElement !== null;\n if (isFullscreen) {\n unityWrapper.current?.cancelFullscreen();\n } else {\n unityWrapper.current?.requestFullscreen();\n unityWrapper.current?.setFullscreen(true);\n }\n }\n\n function onStartupComplete(response: string): string {\n if (startupCompleteCalled) return response;\n setStartupCompleteCalled(true);\n\n revokeConfigUrlsCallback?.();\n\n let storyId = story?.id ?? -1;\n let releaseId = release?.id ?? -1;\n let watchTutorial = false;\n // TODO: let watchTutorial = CatalogueViewModelActor.getInstance().getWatchTutorial();\n logger.debug(`RKStartupComplete: called with story = ${storyId} and watchTutorial = ${watchTutorial}`);\n\n if (watchTutorial) {\n logger.debug(`RKStartupComplete: ${response} watching tutorial`);\n // TODO: startTutorial()\n } else if (storyId < 0) {\n logger.debug(`RKStartupComplete: ${response} without story key provided`);\n } else if (releaseId < 0) {\n logger.debug(`RKStartupComplete: ${response} without release key provided`);\n } else {\n logger.debug(`RKStartupComplete: ${response} setting story key ${storyId}`);\n\n // TODO: setInitialValuesForSession(storyId)\n window.dispatchEvent(new Event(StoryDetailsEvents.UNITY_STARTUP_COMPLETE_EVENT));\n invokeStoryControlsMethod('SetIsMusicOn', isMusicOn() ? 1 : 0);\n invokeStoryControlsMethod('SetIsNarrationOn', isNarrationOn() ? 1 : 0);\n invokeStoryControlsMethod('SetLanguage', getLanguageKey(getLanguage()));\n\n let blob = createJsonBlob();\n console.log(`invokeStartupMethod(RKSetStoryData, ${JSON.stringify(blob)})`);\n invokeStartupMethod('RKSetStoryData', JSON.stringify(blob));\n // sendDownloadedChapters();\n\n window.addEventListener('resize', (): void => invokeStoryControlsMethod('OnResize'));\n document.addEventListener('webkitfullscreenchange', onRemoteFullscreenChange);\n document.addEventListener('mozfullscreenchange', onRemoteFullscreenChange);\n document.addEventListener('fullscreenchange', onRemoteFullscreenChange);\n document.addEventListener('MSFullscreenChange', onRemoteFullscreenChange);\n window.addEventListener('keyup', (e: KeyboardEvent): void => {\n if (e.key === 'Esc' || e.key === 'Escape') onRemoteFullscreenChange();\n });\n }\n\n return response;\n }\n\n function createJsonBlob() {\n let storyBundle: IStoryBundle = release.unity_asset_manifest.getStoryBundle();\n storyBundle.current_scene_bundle = storySession?.current_asset_bundle;\n store.AssetBundleProvider.storeStoryBundleInWindow(storyBundle);\n\n let bundleJson: JsonStoryBundle = AssetBundleManifest.toJsonStoryBundle(storyBundle);\n let paths: Set = new Set();\n bundleJson.scene_bundles.forEach(scene => {\n scene.asset_bundles.forEach(bundle => {\n paths.add(bundle);\n });\n });\n\n if (paths.size != release.unity_asset_manifest?.asset_bundles?.length) {\n logger.debug(`Sanity check failed: ${paths.size} != ${release.unity_asset_manifest?.asset_bundles?.length} we need to re-get release data from api`);\n // TODO: re-get release data from api\n // let releases = await this.story.getStoryReleases();\n // release = StoryRelease.filterForLatest(releases);\n }\n\n return { story: story.toJSON(), release: release.toJSON(), bundle: bundleJson };\n }\n\n function doStartStory(event: Event): void {\n sendDownloadedChapters();\n\n let bundle: IStoryBundle = store.AssetBundleProvider.readStoryBundleFromWindow();\n invokeStartupMethod('Play', bundle.current_scene_bundle);\n\n downloadRemainingScenes();\n }\n\n function downloadRemainingScenes(): void {\n setIsWaiting(true);\n\n store.AssetBundleProvider.downloadRemainingScenes(story, storySession, false, async () => {\n sendDownloadedChapters();\n await downloadWaitingFor();\n })\n .catch(e => {\n logger.error(e);\n })\n .finally(() => {\n setIsWaiting(false);\n sendDownloadedChapters();\n return downloadWaitingFor();\n });\n }\n\n useEffect(() => {\n window.addEventListener(StoryDetailsEvents.START_STORY_EVENT, doStartStory);\n return () => window.removeEventListener(StoryDetailsEvents.START_STORY_EVENT, doStartStory);\n }, [window.addEventListener, window.removeEventListener, doStartStory]);\n\n function dequeueWaitingFor(): string | null {\n return _waitingForQueue.dequeue();\n }\n\n function enqueueWaitingFor(chapterName: string): void {\n _waitingForQueue.enqueue(chapterName);\n }\n\n function sendDownloadedChapters() {\n let storyBundle: IStoryBundle = store.AssetBundleProvider.readStoryBundleFromWindow();\n let assetBundles: AssetBundle[] = Array.from(new Set(storyBundle.scene_bundles.flatMap(scene => scene.asset_bundles)));\n let downloadedAssetBundles = assetBundles.filter(bundle => bundle.isDownloadComplete());\n\n let downloadedInfo = new Set();\n downloadedAssetBundles.forEach(bundle => downloadedInfo.add(bundle.name));\n downloadedAssetBundles.forEach(bundle => downloadedInfo.add(bundle.url));\n\n let downloadedChapters: ISceneBundle[] = [];\n storyBundle.scene_bundles.forEach(scene => {\n let add = true;\n if (downloadedInfo.has(scene.name)) {\n scene.asset_bundles.forEach(bundle => {\n if (!downloadedInfo.has(bundle.url)) {\n add = false;\n }\n });\n } else {\n add = false;\n }\n if (add) {\n downloadedChapters.push(scene);\n }\n });\n\n invokeStoryControlsMethod('rkSetDownloadedChapters', JSON.stringify(downloadedChapters.map(chapter => chapter.name)));\n }\n\n async function sendDownloadedChapter(chapter: ISceneBundle) {\n invokeStoryControlsMethod('rkAddDownloadedChapter', chapter.name);\n }\n\n async function downloadWaitingFor(): Promise {\n if (!release) return;\n // Do nothing if there are no elements in the queue\n let chapterName = dequeueWaitingFor();\n if (!chapterName) return;\n\n let storyBundle: IStoryBundle = store.AssetBundleProvider.readStoryBundleFromWindow();\n let chapter: ISceneBundle = storyBundle.scene_bundles.find(scene => scene.name === chapterName);\n if (!chapter) {\n logger.debug(`downloadWaitingFor ${chapterName} no chapter found with name`);\n return;\n }\n\n let success: boolean = false;\n\n if (story) {\n let _ = await store.AssetBundleProvider.awaitDownloadChapter(story, chapter);\n let allComplete = chapter.asset_bundles.every(bundle => bundle.progress_state === ProgressState.COMPLETED);\n if (allComplete) {\n await sendDownloadedChapter(chapter);\n success = true;\n }\n }\n\n if (!success) {\n logger.debug(`downloadWaitingFor ${chapterName} did not successfully download or load`);\n await new Promise(resolve => setTimeout(resolve, 2000));\n logger.debug(`downloadWaitingFor ${chapterName} reinserting in queue at head`);\n _waitingForQueue.insertAtHead(chapterName);\n }\n\n // Recur until all elements have been dequeued\n return await downloadWaitingFor();\n }\n\n useEffect(() => {\n addEventListener(UnityEvents.STARTUP_COMPLETE_EVENT, onStartupComplete);\n return () => removeEventListener(UnityEvents.STARTUP_COMPLETE_EVENT, onStartupComplete);\n }, [addEventListener, removeEventListener, onStartupComplete]);\n\n useEffect(() => {\n addEventListener(UnityEvents.WAITING_FOR_CHAPTER_TO_DOWNLOAD_EVENT, onWaitingForChapterToDownload);\n return () => removeEventListener(UnityEvents.WAITING_FOR_CHAPTER_TO_DOWNLOAD_EVENT, onWaitingForChapterToDownload);\n }, [addEventListener, removeEventListener, onWaitingForChapterToDownload]);\n\n useEffect(() => {\n addEventListener(UnityEvents.WAITING_FOR_CHAPTER_TO_LOAD_EVENT, onWaitingForChapterToLoad);\n return () => removeEventListener(UnityEvents.WAITING_FOR_CHAPTER_TO_LOAD_EVENT, onWaitingForChapterToLoad);\n }, [addEventListener, removeEventListener, onWaitingForChapterToLoad]);\n\n useEffect(() => {\n addEventListener(UnityEvents.FINISHED_WAITING_FOR_EVENT, onFinishedWaitingFor);\n return () => removeEventListener(UnityEvents.FINISHED_WAITING_FOR_EVENT, onFinishedWaitingFor);\n }, [addEventListener, removeEventListener, onFinishedWaitingFor]);\n\n useEffect(() => {\n addEventListener(UnityEvents.START_STORY_SESSION_EVENT, onStartStorySession);\n return () => removeEventListener(UnityEvents.START_STORY_SESSION_EVENT, onStartStorySession);\n }, [addEventListener, removeEventListener, onStartStorySession]);\n\n useEffect(() => {\n addEventListener(UnityEvents.STARTING_STORY_EVENT, onStartingStory);\n return () => removeEventListener(UnityEvents.STARTING_STORY_EVENT, onStartingStory);\n }, [addEventListener, removeEventListener, onStartingStory]);\n\n useEffect(() => {\n addEventListener(UnityEvents.UPDATE_BUNDLE_EVENT, onUpdateBundle);\n return () => removeEventListener(UnityEvents.UPDATE_BUNDLE_EVENT, onUpdateBundle);\n }, [addEventListener, removeEventListener, onUpdateBundle]);\n\n useEffect(() => {\n addEventListener(UnityEvents.UPDATE_SCENE_EVENT, onUpdateScene);\n return () => removeEventListener(UnityEvents.UPDATE_SCENE_EVENT, onUpdateScene);\n }, [addEventListener, removeEventListener, onUpdateScene]);\n\n useEffect(() => {\n addEventListener(UnityEvents.FINISH_STORY_SESSION_EVENT, onFinishStory);\n return () => removeEventListener(UnityEvents.FINISH_STORY_SESSION_EVENT, onFinishStory);\n }, [addEventListener, removeEventListener, onFinishStory]);\n\n useEffect(() => {\n addEventListener(UnityEvents.RESTART_STORY_EVENT, onRestartStoryFromUnity);\n return () => removeEventListener(UnityEvents.RESTART_STORY_EVENT, onRestartStoryFromUnity);\n }, [addEventListener, removeEventListener, onRestartStoryFromUnity]);\n\n useEffect(() => {\n addEventListener(UnityEvents.EXIT_EVENT, onClickExitButton);\n return () => removeEventListener(UnityEvents.EXIT_EVENT, onClickExitButton);\n }, [addEventListener, removeEventListener, onClickExitButton]);\n\n useEffect(() => {\n addEventListener(UnityEvents.EXITED_TUTORIAL_EVENT, onExitedTutorial);\n return () => removeEventListener(UnityEvents.EXITED_TUTORIAL_EVENT, onExitedTutorial);\n }, [addEventListener, removeEventListener, onExitedTutorial]);\n\n useEffect(() => {\n window.addEventListener(StoryDetailsEvents.EXIT_EVENT, onClickExitButton);\n return () => window.removeEventListener(StoryDetailsEvents.EXIT_EVENT, onClickExitButton);\n }, [window.addEventListener, window.removeEventListener, onClickExitButton]);\n\n useEffect(() => {\n addEventListener(UnityEvents.DISPLAY_ERROR_EVENT, onUnityError);\n return () => removeEventListener(UnityEvents.DISPLAY_ERROR_EVENT, onUnityError);\n }, [addEventListener, removeEventListener, onUnityError]);\n\n function onUnityError(message: string) {\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_ERROR_MESSAGE_EVENT, { detail: message }));\n return message;\n }\n\n function onStorySet(response: string): string {\n return response;\n }\n\n useEffect(() => {\n addEventListener(UnityEvents.STORY_SET_EVENT, onStorySet);\n return () => removeEventListener(UnityEvents.STORY_SET_EVENT, onStorySet);\n }, [addEventListener, removeEventListener, onStorySet]);\n\n function onProgressStateChange(response: string) {\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_LOADING_STATE_EVENT, { detail: response }));\n return response;\n }\n\n useEffect(() => {\n addEventListener(UnityEvents.PROGRESS_STATE_CHANGE_EVENT, onProgressStateChange);\n return () => removeEventListener(UnityEvents.PROGRESS_STATE_CHANGE_EVENT, onProgressStateChange);\n }, [addEventListener, removeEventListener, onProgressStateChange]);\n\n function onRestartStoryFromUnity(finished: string): void {\n if (!storySession?.remote_id) {\n endCurrentStorySession(finished === 'true', true).then(() => onRestartStory());\n } else {\n onRestartStory();\n }\n }\n\n function onRestartStory(event?: React.MouseEvent): void {\n invokeStoryControlsMethod('RestartStory');\n }\n\n function onGoToPreviousChapter(event?: React.MouseEvent): void {\n invokeStoryControlsMethod('rkGoToPreviousChapter');\n }\n\n function onGoToNextChapter(event?: React.MouseEvent): void {\n invokeStoryControlsMethod('rkGoToNextChapter');\n }\n\n function onChangeMusicSwitch(checked: boolean, event?: React.MouseEvent): void {\n settings.is_music_on = checked;\n // noinspection JSIgnoredPromiseFromCall\n store.SettingsProvider.update(settings);\n invokeStoryControlsMethod('SetIsMusicOn', isMusicOn() ? 1 : 0);\n }\n\n function onChangeNarrationSwitch(checked: boolean, event?: React.MouseEvent): void {\n settings.is_narration_on = checked;\n // noinspection JSIgnoredPromiseFromCall\n store.SettingsProvider.update(settings);\n invokeStoryControlsMethod('SetIsNarrationOn', isNarrationOn() ? 1 : 0);\n }\n\n function onChangeLanguage(value: Language): void {\n console.log(`onChangeLanguage(${value}) -> ${getLanguageKey(value)}`);\n settings.language = value;\n // noinspection JSIgnoredPromiseFromCall\n store.SettingsProvider.update(settings);\n invokeStoryControlsMethod('SetLanguage', getLanguageKey(value));\n }\n\n function onWaitingForChapterToDownload(chapterName: string): void {\n setIsWaiting(true);\n enqueueWaitingFor(chapterName);\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_LOADING_STATE_EVENT, { detail: 'downloading' }));\n Promise.resolve().then(() => downloadWaitingFor());\n }\n\n function onWaitingForChapterToLoad(chapterName: string): void {\n setIsWaiting(true);\n enqueueWaitingFor(chapterName);\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_LOADING_STATE_EVENT, { detail: 'loading' }));\n Promise.resolve().then(() => downloadWaitingFor());\n }\n\n function onFinishedWaitingFor(): void {\n setIsWaiting(false);\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_LOADING_STATE_EVENT, { detail: 'completed' }));\n }\n\n function onStartStorySession(): void {\n if (!story?.id) return;\n\n if (!storySession?.remote_id) {\n store.StorySessionProvider.start(story.id).then(storySession => updateStorySession(storySession));\n }\n }\n\n function onStartingStory() {\n console.log('onStartingStory called');\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_LOADING_STATE_EVENT, { detail: 'completed' }));\n }\n\n function onUpdateBundle(bundle: string): string {\n if (!bundle || !story?.id) return bundle;\n\n store.StorySessionProvider.update(story.id, { current_asset_bundle: bundle }).then(storySession => updateStorySession(storySession));\n return bundle;\n }\n\n function onUpdateScene(scene: string): string {\n if (!scene || !story?.id) return scene;\n\n store.StorySessionProvider.update(story.id, { current_scene: scene }).then(storySession => updateStorySession(storySession));\n return scene;\n }\n\n function onFinishStory(): void {\n if (!story?.id) return;\n\n store.StorySessionProvider.finish(story.id).then(storySession => updateStorySession(storySession));\n }\n\n async function endCurrentStorySession(finished: boolean, newSession: boolean): Promise {\n if (!story?.id) return;\n\n if (finished) {\n await store.StorySessionProvider.finish(story.id).then(storySession => updateStorySession(storySession));\n } else {\n await store.StorySessionProvider.exit(story.id).then(storySession => updateStorySession(storySession));\n }\n\n if (newSession) {\n setStorySession(null);\n onStartStorySession();\n }\n }\n\n function onClickExitButton(): void {\n if (!story?.id) {\n window.location.href = '/';\n return;\n }\n\n store.StorySessionProvider.exit(story.id).finally(() => (window.location.href = '/'));\n }\n\n function onExitedTutorial(): void {\n logger.debug('onExitedTutorial', story?.id);\n // TODO\n }\n\n function renderRestartButton(): React.ReactElement {\n return (\n }\n color='blue'\n cursor='pointer'\n onClick={onRestartStory} />\n );\n }\n\n function renderPauseButton(): React.ReactElement {\n if (paused) {\n return (\n
window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_PAUSED_STATE_EVENT, { detail: false }))}>\n \n
\n );\n } else {\n return (\n window.dispatchEvent(new CustomEvent(StoryDetailsEvents.SET_PAUSED_STATE_EVENT, { detail: true }))} />\n );\n }\n }\n\n function renderMusicToggle(): React.ReactElement {\n return (\n settings.is_music_on}\n onChangeSwitch={onChangeMusicSwitch} />\n );\n }\n\n function renderNarrationToggle(): React.ReactElement {\n return (\n settings.is_narration_on}\n onChangeSwitch={onChangeNarrationSwitch} />\n );\n }\n\n function renderLanguageSelection(): React.ReactElement {\n let defaultValue: Language = getLanguage();\n return ;\n }\n\n function renderFullscreenButton(): React.ReactElement {\n return (\n {\n unityWrapper?.current?.requestFullscreen();\n onRemoteFullscreenChange();\n }}\n />\n );\n }\n\n function renderRecordButton(): React.ReactElement {\n return (\n \n );\n }\n\n function checkPausedState(pause: boolean) {\n setPaused(pause);\n if (pause) {\n invokeStoryControlsMethod('rkPauseTimeline');\n } else {\n invokeStoryControlsMethod('rkResumeTimeline');\n }\n }\n\n return (\n
\n
\n \n \n \n
\n {renderPauseButton()}\n
\n {renderMusicToggle()}\n {renderNarrationToggle()}\n
\n
\n {renderLanguageSelection()}\n {renderFullscreenButton()}\n
\n
\n
\n
\n );\n}\n","import React from \"react\";\n\nclass DownloadIcon extends React.Component {\n render() {\n return (\n \n \n \n \n \n \n );\n }\n}\nexport default DownloadIcon;\n\n","import React, {Component} from \"react\";\n\nclass TickIcon extends Component {\n render() {\n return (\n \n \n \n );\n }\n}\n\nexport default TickIcon;\n","import React from 'react';\nimport { makeObservable, observable } from 'mobx';\nimport { observer } from 'mobx-react';\nimport { Col, Row } from 'antd';\n\nimport { ComponentWithStore, withStore } from 'models/RootStore';\nimport { Story } from 'models/story/Story';\nimport { IRole } from 'models/story/IStoryUpdateApiData';\nimport { StorySession } from 'models/storySession/StorySession';\nimport { IStoryBundle } from 'models/storyRelease/IAssetBundleManifest';\nimport { StoryRelease } from 'models/storyRelease/StoryRelease';\nimport AppInfo from 'models/AppInfo';\n\nimport ImageWithFallback from 'components/shared/ImageWithFallback';\nimport Credits from 'components/public/pages/webgl_app/Credits';\nimport StoryDetailsButton from 'components/public/pages/webgl_app/StoryDetailsButton';\nimport Parallelogram from 'components/public/pages/webgl_app/Parallelogram';\nimport LoadingOverlay from 'components/public/pages/webgl_app/LoadingOverlay';\nimport { StoryDetailsEvents } from 'components/public/pages/webgl_app/StoryDetailsEvents';\nimport StoryTitleImage from 'components/public/pages/webgl_app/StoryTitleImage';\nimport DownloadIcon from 'components/shared/icons/DownloadIcon';\nimport PlayIcon from 'components/shared/icons/PlayIcon';\nimport TickIcon from 'components/shared/icons/TickIcon';\nimport { ColorTheme } from 'components/shared/RascalTheme';\nimport RascalLogo from 'layouts/headers/RascalLogo';\n\nimport './WebglApp.scss';\n\ninterface IWebglOverlayProps {\n story: Story;\n storySession: StorySession;\n portrait?: boolean;\n play?: boolean;\n}\n\ninterface IWebglOverlayState {\n isLoaded: boolean;\n isDownloading: boolean;\n isStartupComplete: boolean;\n fetchReleaseComplete: boolean;\n release: StoryRelease | null;\n loadingState: string;\n errorMessage: string;\n storySession: StorySession;\n}\n\nclass WebglOverlay extends ComponentWithStore {\n @observable private credits: IRole[] = [];\n\n public constructor(props: IWebglOverlayProps) {\n super(props);\n\n makeObservable(this);\n\n this.state = {\n isLoaded: false,\n isDownloading: false,\n isStartupComplete: false,\n fetchReleaseComplete: false,\n release: null,\n loadingState: '',\n errorMessage: '',\n storySession: this.props.storySession\n };\n\n this.onUnityStartupComplete = this.onUnityStartupComplete.bind(this);\n this.onSetLoadingState = this.onSetLoadingState.bind(this);\n this.onSetStorySession = this.onSetStorySession.bind(this);\n this.onSetErrorMessage = this.onSetErrorMessage.bind(this);\n }\n\n public componentDidMount(): void {\n window.addEventListener(StoryDetailsEvents.UNITY_STARTUP_COMPLETE_EVENT, this.onUnityStartupComplete);\n window.addEventListener(StoryDetailsEvents.SET_LOADING_STATE_EVENT, this.onSetLoadingState);\n window.addEventListener(StoryDetailsEvents.SET_STORY_SESSION_EVENT, this.onSetStorySession);\n window.addEventListener(StoryDetailsEvents.SET_ERROR_MESSAGE_EVENT, this.onSetErrorMessage);\n\n this.props.story\n .getLatestCompatibleStoryRelease()\n .then(release => this.setState({ release: release }))\n .finally(() => this.setState({ fetchReleaseComplete: true }));\n }\n\n public componentWillUnmount() {\n window.removeEventListener(StoryDetailsEvents.UNITY_STARTUP_COMPLETE_EVENT, this.onUnityStartupComplete);\n window.removeEventListener(StoryDetailsEvents.SET_LOADING_STATE_EVENT, this.onSetLoadingState);\n window.removeEventListener(StoryDetailsEvents.SET_STORY_SESSION_EVENT, this.onSetStorySession);\n window.removeEventListener(StoryDetailsEvents.SET_ERROR_MESSAGE_EVENT, this.onSetErrorMessage);\n }\n\n private onUnityStartupComplete(event: Event): void {\n const { play } = this.props;\n\n this.setState({ isStartupComplete: true });\n\n if (play === true) this.playClicked();\n }\n\n private onSetLoadingState(event: Event): void {\n this.setState({ loadingState: event['detail'] });\n }\n\n private onSetStorySession(event: Event): void {\n this.setState({ storySession: event['detail'] });\n }\n\n private onSetErrorMessage(event: Event): void {\n this.setState({ errorMessage: event['detail'] });\n }\n\n private async doDownload(storySession?: StorySession): Promise {\n const { story } = this.props;\n this.setState({ isDownloading: true });\n await this.store.AssetBundleProvider.downloadInitialSceneBundles(story, storySession);\n this.setState({ isDownloading: false });\n }\n\n private async downloadClicked(): Promise {\n const { isDownloading } = this.state;\n\n // TODO: Download the whole story when download is clicked\n try {\n this.setState({ errorMessage: '' });\n if (!isDownloading) await this.doDownload();\n } catch (e) {\n this.setState({\n errorMessage: e.message,\n isDownloading: false\n });\n }\n }\n\n private playClicked(resume: boolean = false): void {\n const { story } = this.props;\n const { isDownloading } = this.state;\n\n if (AppInfo.isIOS()) {\n // @ts-ignore\n window.location = `app.rascalkids.rascal://playstory/${story.id}`;\n // @ts-ignore\n setTimeout(() => window.open('https://apps.apple.com/us/app/rascal/id1612015226'), 1000);\n return;\n } else if (AppInfo.isAndroid()) {\n // @ts-ignore\n setTimeout(() => window.open(`intent://playstory/${story.id}#Intent;scheme=app.rascalkids.rascal;package=app.rascalkids.rascal;end`), 25);\n return;\n }\n\n Promise.resolve()\n .then(() => this.setState({ errorMessage: '' }))\n .then(async () => {\n if (!isDownloading) {\n let storySession: StorySession | null = null;\n if (story?.id) {\n storySession = await this.store.StorySessionProvider.getForStory(story.id);\n }\n // TODO: Close the previous session potentially? and start a fresh new one.\n // Also this will screw up if you have watched the same story on different devices with each overriding their session.\n // We need to rethink how we handle sessions in a larger piece of work.\n if (!resume && storySession != null) {\n storySession.current_scene = '';\n storySession.current_asset_bundle = '';\n }\n await this.doDownload(storySession);\n return window.dispatchEvent(new Event(StoryDetailsEvents.START_STORY_EVENT));\n }\n })\n .catch(e => this.setState({ errorMessage: e.message }))\n .finally(() => this.setState({ isDownloading: false }));\n }\n\n private renderResumeButton(): React.ReactElement {\n return } color='white' cursor='pointer' onClick={e => this.playClicked(true)} />;\n }\n\n private renderPlayButton(): React.ReactElement {\n return } color='blue' cursor='pointer' onClick={e => this.playClicked()} />;\n }\n\n private renderDownloadButton(): React.ReactElement {\n return } color='white' cursor='pointer' onClick={e => this.downloadClicked()} />;\n }\n\n private renderLoadingButton() {\n return ;\n }\n\n private renderDownloadingButton() {\n return ;\n }\n\n private renderDownloadedButton(): React.ReactElement {\n return } color='inactive' cursor='not-allowed' />;\n }\n\n private renderComingSoonMessage(): React.ReactElement {\n return ;\n }\n\n private renderNoCompatibleReleasesMessage(): React.ReactElement {\n return ;\n }\n\n private renderButton(): React.ReactElement {\n const { story } = this.props;\n const { isStartupComplete, fetchReleaseComplete, isDownloading, storySession, release } = this.state;\n\n if (AppInfo.isIOS()) {\n return (\n \n {this.renderPlayButton()}\n \n );\n } else if (AppInfo.isAndroid()) {\n return (\n \n {this.renderPlayButton()}\n \n );\n } else if (story?.coming_soon === true) {\n return this.renderComingSoonMessage();\n } else if (!isStartupComplete || !fetchReleaseComplete) {\n return {this.renderLoadingButton()};\n } else if (!release) {\n return this.renderNoCompatibleReleasesMessage();\n } else if (isDownloading) {\n return (\n \n {this.renderDownloadingButton()}\n \n );\n } else if (storySession?.current_asset_bundle) {\n return (\n \n \n {this.renderPlayButton()}\n \n \n {this.renderResumeButton()}\n \n \n );\n } else {\n return (\n \n {this.renderPlayButton()}\n \n );\n }\n }\n\n private renderInformation(): React.ReactElement {\n const { story } = this.props;\n const { errorMessage } = this.state;\n\n let color: string = story.default_localisation?.featured_text_color || '#000';\n\n return (\n
\n
\n \n
\n \n
\n \n \n \n \n {this.renderButton()}\n \n \n {errorMessage &&

{errorMessage}

}\n

\n {story.default_localisation?.biography}\n

\n

{story.getSubtitle()}

\n \n \n

\n Written by {story.author}\n

\n \n \n
\n
\n );\n }\n\n private renderInformationPortrait(): React.ReactElement {\n const { story } = this.props;\n const { errorMessage } = this.state;\n\n let color: string = story.default_localisation?.featured_text_color || '#000';\n\n return (\n
\n
\n \n
\n \n
\n \n \n \n {this.renderButton()}\n \n {errorMessage &&

{errorMessage}

}\n \n \n

{story.getSubtitle()}

\n \n \n

{story.default_localisation?.biography}

\n \n \n

\n Written by {story.author}\n

\n \n \n
\n
\n );\n }\n\n private renderImageOverlay(): React.ReactElement {\n const { story, portrait } = this.props;\n const url = portrait ? story?.default_localisation?.featured_portrait_image_url : story?.default_localisation?.featured_landscape_image_url;\n const imageClassName = portrait ? 'webgl-overlay--image-portrait' : 'webgl-overlay--image-landscape';\n const containerClassName = portrait ? 'webgl-overlay--portrait-container' : 'webgl-overlay--container';\n\n return (\n
\n \n {portrait ? this.renderInformationPortrait() : this.renderInformation()}\n
\n );\n }\n\n public render(): React.ReactElement {\n const { story } = this.props;\n const { isDownloading, loadingState } = this.state;\n\n return (\n \n {loadingState === '' && this.renderImageOverlay()}\n {isDownloading && }\n \n \n );\n }\n}\n\nexport default withStore(observer(WebglOverlay));\n","import React, {Component} from 'react';\n\nclass AppStoreLink extends Component {\n public render(): React.ReactElement {\n return (\n \n \n Download on the App Store\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default AppStoreLink;\n","import React from 'react'\nimport useEmblaCarousel, {EmblaCarouselType, EmblaOptionsType} from 'embla-carousel-react'\n\nimport \"./EmblaCarousel.scss\";\n\ntype PropType = {\n options?: EmblaOptionsType;\n onRender?: (emblaRef: EmblaCarouselType) => void;\n children?: React.ReactNode;\n}\n\nconst EmblaCarousel: React.FC = (props) => {\n const {options, children, onRender } = props;\n const [emblaRef, emblaApi] = useEmblaCarousel(options);\n if (onRender) onRender(emblaApi);\n\n return (\n
\n
\n
\n {children}\n
\n
\n
\n )\n}\n\nexport default EmblaCarousel\n","import React, {Component} from 'react';\n\nclass GooglePlayLink extends Component {\n public render(): React.ReactElement {\n return (\n \n Get it on Google Play\n \n )\n }\n}\n\nexport default GooglePlayLink;\n","import React, {Component} from 'react';\nimport {Image} from 'antd';\n\ninterface IImageWithFallbackProps {\n imageUrl: string;\n className: string;\n}\n\nclass ImageWithFallback extends Component {\n private readonly BROKEN_IMAGE: string = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAwqADAAQAAAABAAAAwwAAAAD9b/HnAAAHlklEQVR4Ae3dP3PTWBSGcbGzM6GCKqlIBRV0dHRJFarQ0eUT8LH4BnRU0NHR0UEFVdIlFRV7TzRksomPY8uykTk/zewQfKw/9znv4yvJynLv4uLiV2dBoDiBf4qP3/ARuCRABEFAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEk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oVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg==';\n\n public render(): React.ReactElement {\n const {imageUrl, className} = this.props;\n\n return (\n }\n src={imageUrl || this.BROKEN_IMAGE}\n fallback={this.BROKEN_IMAGE}/>\n );\n }\n}\n\nexport default ImageWithFallback;\n\n","import React, {Component, MouseEventHandler} from 'react';\nimport {Space} from 'antd';\nimport {ArrowLeftOutlined} from '@ant-design/icons';\nimport {Link} from 'react-router-dom';\nimport './PageTitle.scss'\n\ninterface IPageTitleProps {\n to?: string;\n onClick?: (event: any) => void;\n title: string;\n subtitle?: string;\n}\n\nclass PageTitle extends Component {\n public render(): React.ReactElement {\n const {to, onClick, title, subtitle} = this.props;\n return (\n
\n
\n {to &&

}\n {onClick &&

}\n

{title}

\n {subtitle &&

{subtitle}

}\n
\n
\n );\n }\n}\n\nexport default PageTitle;\n","import {Button, DatePicker, Input, Space} from \"antd\";\nimport React, {ReactNode} from \"react\";\nimport {\n ColumnType,\n FilterConfirmProps,\n FilterDropdownProps,\n FilterValue,\n SorterResult,\n SortOrder,\n TablePaginationConfig\n} from \"antd/lib/table/interface\";\nimport {\n CalendarOutlined,\n CalendarTwoTone,\n CheckOutlined,\n CloseOutlined,\n FilterOutlined,\n FilterTwoTone,\n SearchOutlined,\n UndoOutlined\n} from \"@ant-design/icons\";\nimport {Colors} from \"stylesheets/globals/Colors\";\nimport Highlighter from \"react-highlight-words\";\nimport _ from \"lodash\";\nimport Value from \"helpers/Value\";\nimport TernarySlider from \"components/shared/TernarySlider\";\nimport {IUserApiSearchFilterParams, IUserApiSearchOrdering} from \"models/user/UserApi\";\nimport {Hash} from \"types/hash\";\nimport {Link} from \"react-router-dom\";\nimport Format from \"helpers/Format\";\n\ninterface ISearchDropdownProps extends FilterDropdownProps {\n dataIndex: keyof T;\n}\n\nexport interface IColumn {\n columnType: Partial>;\n filter?: (filteredInfo: any) => (null | {});\n}\n\nexport interface IColumnProps {\n key: keyof T,\n type: 'search' | 'date' | 'boolean' | 'text' | 'length' | 'custom',\n getHref?: (object: T) => string,\n getValue?: (object: T) => string,\n render?: (object: T) => ReactNode,\n filter?: 'boolean'\n}\n\nexport interface ITableProps {\n columns: IColumnProps[];\n data?: T[] | any;\n getTableSearch: Function;\n selectable?: boolean;\n}\n\nexport interface ITableState {\n filteredInfo: any;\n sortedInfo?: { column: IUserApiSearchOrdering, order: SortOrder };\n searchInfo: Hash;\n selectedRows: any[];\n loading: {\n generate: boolean;\n activate: boolean;\n deactivate: boolean;\n }\n currentPage: number;\n pageSize: number;\n total: number;\n columns: IColumn[];\n data: T[] | any;\n}\n\nclass Tables {\n private static readonly DATE_DIVIDER: string = '&';\n private static searchInput: any;\n\n static initialState(data?: T[]): ITableState {\n return {\n filteredInfo: {},\n columns: [],\n searchInfo: {},\n selectedRows: [],\n loading: {\n generate: false,\n activate: false,\n deactivate: false\n },\n currentPage: 1,\n total: 0,\n pageSize: 20,\n data: []\n }\n }\n\n static getSearchFilters(state: Partial>): IUserApiSearchFilterParams {\n const {filteredInfo, sortedInfo, columns} = state;\n const filters: IUserApiSearchFilterParams = {};\n\n if (filteredInfo) {\n columns.map((column) => {\n _.assign(filters, column.filter(filteredInfo));\n });\n }\n\n if (sortedInfo) {\n filters.order_by = sortedInfo.column\n filters.order = sortedInfo.order\n }\n\n return filters;\n }\n\n static clearSelection(): Partial> {\n return {\n selectedRows: [],\n loading: {\n generate: false,\n activate: false,\n deactivate: false\n }\n };\n }\n\n //region onChange Handlers\n static handleSearch(\n props: ISearchDropdownProps, state, filterConfirmProps?: FilterConfirmProps): Partial> {\n let {searchInfo} = state;\n searchInfo[props.dataIndex] = props.selectedKeys[0];\n\n props.confirm(filterConfirmProps);\n return {searchInfo: searchInfo};\n }\n\n static handleChangeSearchText(\n props: ISearchDropdownProps, state: any,\n event: React.ChangeEvent): Partial> {\n let {searchInfo} = state;\n let searchText: string = '';\n let selectedKeys: React.Key[] = [];\n\n if (event.target.value) {\n searchText = event.target.value;\n searchInfo[props.dataIndex] = searchText;\n selectedKeys.push(searchText);\n }\n\n props.setSelectedKeys(selectedKeys);\n return {searchInfo: searchInfo};\n }\n\n static handleClearSearch(props: ISearchDropdownProps, state): Partial> {\n let {searchInfo} = state;\n delete (searchInfo[props.dataIndex]);\n\n props.clearFilters();\n props.confirm();\n return {searchInfo: searchInfo};\n }\n\n static handleOnChange(page: number, size: number, resetPage: boolean): Partial> {\n if (resetPage) {\n page = 1;\n }\n return {\n pageSize: size,\n currentPage: page\n };\n }\n\n static handleChange(\n pagination: TablePaginationConfig, filters: Record,\n sorter: SorterResult): any {\n let sortedInfo = null;\n if (sorter.order != null) {\n sortedInfo = {\n column: sorter.columnKey,\n order: sorter.order\n }\n }\n\n let filteredInfo = {};\n if (filters) {\n _.keys(filters).forEach((key) => {\n filteredInfo[key] = Value.stripArrayIfSingle(filters[key]);\n });\n }\n\n return {\n filteredInfo: filteredInfo,\n sortedInfo: sortedInfo,\n currentPage: pagination.current,\n pageSize: pagination.pageSize\n }\n }\n\n //endregion\n\n static pagination(\n currentPage: number, pageSize: number, total: number, handleOnChange: Function): TablePaginationConfig {\n return {\n current: currentPage,\n pageSize,\n pageSizeOptions: ['5', '10', '20', '50', '100'],\n onChange: (page, pageSize) => handleOnChange(page, pageSize, false),\n onShowSizeChange: (current, size) => handleOnChange(current, size, true),\n showSizeChanger: true,\n total: total\n }\n }\n\n static renderSearch(text: any, object: T, column: IColumnProps, searchInfo: Hash) {\n const dataIndex: keyof T = column.key;\n const {getHref} = column;\n if (!getHref) {\n return searchInfo[String(dataIndex)] ? Tables.renderHighlighted(text, searchInfo[dataIndex] as string)\n : text\n }\n return (\n \n {searchInfo[String(dataIndex)] ? Tables.renderHighlighted(text, searchInfo[dataIndex] as string)\n : text}\n \n );\n }\n\n static renderDate(date: Date, object: T, getHref?: (object: T) => string): React.ReactElement {\n if (!date) {\n return (\n -\n );\n }\n\n if (!(date instanceof Date)) {\n date = new Date(date);\n }\n\n if (!getHref) {\n return (\n \n {Format.longDate(date)}\n \n );\n }\n\n return (\n \n {Format.longDate(date)}\n \n );\n }\n\n static renderBoolean(bool: boolean, object: T, getHref?: (object: T) => string): React.ReactElement {\n if (!getHref) {\n return bool ? : ;\n }\n\n return (\n \n {bool ? : }\n \n );\n }\n\n static renderHighlighted(text: string, searchText: string): React.ReactElement {\n return (\n \n );\n }\n\n static renderBooleanFilterBox(props: ISearchDropdownProps, clear: Function, search: Function): React.ReactElement {\n return (\n \n {\n if (state === null) {\n clear(props);\n } else {\n props.setSelectedKeys([state.toString()]);\n search(props);\n }\n }}/>\n \n );\n }\n\n static renderDateFilterBox(props: ISearchDropdownProps, clear: Function, search: Function): React.ReactElement {\n return (\n \n {\n if (start.length === 0 && end.length === 0) {\n clear(props);\n } else {\n props.setSelectedKeys([`${start}${Tables.DATE_DIVIDER}${end}`]);\n search(props, {closeDropdown: start.length > 0 && end.length > 0})\n }\n }}/>\n \n );\n }\n\n static renderSearchBox(\n props: ISearchDropdownProps, changeSearch: Function, search: Function, clear: Function): React.ReactElement {\n return (\n \n \n \n this.searchInput = node}\n placeholder={`Search ${String(props.dataIndex)}`}\n value={props.selectedKeys[0]}\n onChange={(event: React.ChangeEvent) => changeSearch(props, event)}\n onPressEnter={() => search(props)}\n style={{width: 298}}/>\n \n \n \n \n \n \n \n );\n }\n\n\n // Columns Type\n public static SearchColumnType(): Partial> {\n return {\n filterIcon: (filtered: boolean) => ,\n onFilterDropdownOpenChange: (visible: boolean) => visible ? setTimeout(\n () => this.searchInput.select(),\n 100\n ) : void 0,\n sorter: true,\n }\n }\n\n public static filterSearchColumnType(dataIndex: K) {\n return (filtered: any) => {\n let obj = null;\n if (filtered.hasOwnProperty(dataIndex)) {\n obj = {};\n obj[dataIndex] = filtered[dataIndex];\n }\n return obj;\n };\n }\n\n public static filterBooleanColumnType(dataIndex: K) {\n return this.filterSearchColumnType(dataIndex)\n }\n\n public static BooleanColumnType(): Partial> {\n return {\n filterIcon: (filtered: boolean) => filtered ? :\n ,\n sorter: true,\n }\n }\n\n public static DateColumnType(): Partial> {\n return {\n filterIcon: (filtered: boolean) => filtered ?\n : ,\n defaultSortOrder: 'descend',\n sorter: true,\n }\n }\n\n public static filterDateColumnType(dataIndex: K) {\n return (filtered: any) => {\n let obj = null;\n if (filtered.hasOwnProperty(dataIndex) && filtered[dataIndex] != null) {\n obj = {};\n const value = filtered[dataIndex];\n const filterDates: string[] = value.toString().split(Tables.DATE_DIVIDER);\n if (filterDates.length !== 2) {\n return null;\n }\n obj[dataIndex] = filterDates.join(',');\n }\n return obj;\n };\n }\n\n public static TextColumnType(): Partial> {\n return {\n render: text => text,\n }\n }\n\n public static filterTextColumnType() {\n return (filtered: any) => {\n return null;\n };\n }\n\n public static LengthColumnType(): Partial> {\n return {\n render: text => text.length,\n }\n }\n\n public static filterLengthColumnType() {\n return (filtered: any) => {\n return null;\n };\n }\n}\n\nexport default Tables;\n","import {ComponentWithStore} from \"models/RootStore\";\nimport Tables, {IColumn, IColumnProps, ITableProps, ITableState} from \"helpers/Tables\";\nimport {\n ColumnType,\n FilterConfirmProps,\n FilterDropdownProps,\n FilterValue,\n SorterResult,\n TablePaginationConfig\n} from \"antd/lib/table/interface\";\nimport React from \"react\";\nimport _ from \"lodash\";\nimport {Table} from \"antd\";\nimport {IUserApiSearchParams} from \"models/user/UserApi\";\n\ninterface ISearchDropdownProps extends FilterDropdownProps {\n dataIndex: keyof T;\n}\n\nexport class RascalTable extends ComponentWithStore>, Partial>> {\n private mounted: boolean = false;\n\n constructor(props: Partial>) {\n super(props);\n\n this.state = {\n ...Tables.initialState(this.props.data)\n }\n\n this.updateDataWithQuery = this.updateDataWithQuery.bind(this);\n this.handleChange = this.handleChange.bind(this);\n this.handleOnChange = this.handleOnChange.bind(this);\n this.handleSelectChange = this.handleSelectChange.bind(this);\n this.clearSelection = this.clearSelection.bind(this);\n this.handleSearch = this.handleSearch.bind(this);\n this.handleChangeSearchText = this.handleChangeSearchText.bind(this);\n this.handleClearSearch = this.handleClearSearch.bind(this);\n this.switchColumnProps = this.switchColumnProps.bind(this);\n }\n\n componentDidMount() {\n this.mounted = true;\n\n this.updateDataWithQuery().then(() => {\n if (this.mounted) {\n this.setState({});\n }\n });\n\n this.setState({\n columns: this.props.columns.map((column) => this.switchColumnProps(column))\n })\n }\n\n componentWillUnmount() {\n this.mounted = false\n }\n\n public render(): React.ReactElement {\n const {selectedRows, currentPage, pageSize, total, columns, data} = this.state;\n\n const pagination: TablePaginationConfig = Tables.pagination(\n currentPage, pageSize, total, this.handleOnChange)\n\n return (\n
\n col.columnType)}\n dataSource={data}\n rowSelection={this.props.selectable ? {\n selectedRowKeys: selectedRows,\n onChange: this.handleSelectChange,\n selections: [\n Table.SELECTION_ALL,\n Table.SELECTION_INVERT,\n Table.SELECTION_NONE\n ]\n } : null}\n pagination={pagination}\n onChange={this.handleChange}/>\n
\n );\n }\n\n private async updateDataWithQuery(): Promise {\n const {currentPage, pageSize} = this.state;\n\n const searchParams: IUserApiSearchParams = {\n page: currentPage,\n page_size: pageSize,\n filters: Tables.getSearchFilters(this.state)\n };\n if (this.props.getTableSearch) {\n this.setState(await this.props.getTableSearch(searchParams));\n } else {\n this.setState({ data: this.props.data });\n }\n }\n\n private switchColumnProps(\n // TODO: Add the filter boolean to the columns from the AdminInvoicesTable\n column: IColumnProps,\n filter?: 'boolean'): IColumn {\n switch (column.type) {\n case 'search': {\n return this.getColumnSearchProps(column);\n }\n case 'boolean': {\n return this.getColumnBooleanProps(column);\n }\n case 'date': {\n return this.getColumnDateProps(column);\n }\n case 'text': {\n return this.getColumnTextProps(column);\n }\n case 'length': {\n return this.getColumnLengthProps(column);\n }\n case 'custom' : {\n return this.getColumnCustomProps(column);\n }\n }\n }\n\n //region Handle Change Functions\n private handleChange(\n pagination: TablePaginationConfig, filters: Record, sorter: SorterResult): void {\n this.setState(Tables.handleChange(pagination, filters, sorter), this.updateDataWithQuery);\n }\n\n private handleSelectChange(selectedRows): void {\n this.setState({selectedRows: selectedRows});\n }\n\n private clearSelection(): void {\n this.setState(Tables.clearSelection());\n }\n\n private handleChangeSearchText(props: ISearchDropdownProps, event: React.ChangeEvent): void {\n this.setState(Tables.handleChangeSearchText(props, this.state, event));\n }\n\n private handleSearch(props: ISearchDropdownProps, filterConfirmProps?: FilterConfirmProps): void {\n this.setState(Tables.handleSearch(props, this.state, filterConfirmProps));\n }\n\n private handleClearSearch(props: ISearchDropdownProps): void {\n this.setState(Tables.handleClearSearch(props, this.state));\n }\n\n private handleOnChange(page: number, size: number, resetPage: boolean) {\n this.setState(Tables.handleOnChange(page, size, resetPage));\n }\n\n //endregion\n\n\n //region Render Search and filter boxes\n private renderSearchBox(props: ISearchDropdownProps): React.ReactElement {\n return Tables.renderSearchBox(\n props, this.handleChangeSearchText, this.handleSearch, this.handleClearSearch);\n }\n\n private renderBooleanFilterBox(props: ISearchDropdownProps): React.ReactElement {\n return Tables.renderBooleanFilterBox(props, this.handleClearSearch, this.handleSearch);\n }\n\n private renderDateFilterBox(props: ISearchDropdownProps): React.ReactElement {\n return Tables.renderDateFilterBox(props, this.handleClearSearch, this.handleSearch);\n }\n\n //endregion\n\n\n //region Partial Column Options\n private partialColumnOptions(dataIndex: keyof T): Partial> {\n return {\n title: _.startCase(String(dataIndex)),\n dataIndex: String(dataIndex),\n key: String(dataIndex),\n }\n }\n\n private partialColumnSearchOptions(dataIndex: keyof T): Partial> {\n return {\n ...this.partialColumnOptions(dataIndex),\n filterDropdown: (props: FilterDropdownProps) => this.renderSearchBox({\n ...props, ...{dataIndex: dataIndex}\n }),\n }\n }\n\n private partialColumnBooleanOptions(dataIndex: keyof T): Partial> {\n return {\n ...this.partialColumnOptions(dataIndex),\n filterDropdown: (props: FilterDropdownProps) => this.renderBooleanFilterBox({\n ...props, ...{dataIndex: dataIndex}\n }),\n }\n }\n\n private partialColumnDateOptions(dataIndex: keyof T): Partial> {\n return {\n ...this.partialColumnOptions(dataIndex),\n filterDropdown: (props: FilterDropdownProps) => this.renderDateFilterBox({\n ...props, ...{dataIndex: dataIndex}\n }),\n }\n }\n\n //endregion\n\n\n //region Column Props\n private getColumnSearchProps(column: IColumnProps): IColumn {\n const {searchInfo} = this.state;\n const dataIndex: keyof T = column.key;\n const {getValue} = column;\n\n const columnType: Partial> = {\n ...this.partialColumnSearchOptions(dataIndex),\n ...Tables.SearchColumnType(),\n render: (text, object: T) => Tables.renderSearch(getValue ? getValue(object) : text, object, column, searchInfo)\n };\n\n return {\n columnType: columnType,\n filter: Tables.filterSearchColumnType(dataIndex)\n }\n }\n\n private getColumnBooleanProps(column: IColumnProps): IColumn {\n const dataIndex: keyof T = column.key;\n const columnType: Partial> = {\n ...this.partialColumnBooleanOptions(dataIndex),\n ...Tables.BooleanColumnType(),\n render: (bool: boolean, object: T) => Tables.renderBoolean(bool, object, column.getHref),\n };\n\n return {\n columnType: columnType,\n filter: Tables.filterBooleanColumnType(dataIndex)\n }\n }\n\n private getColumnDateProps(column: IColumnProps): IColumn {\n const dataIndex: keyof T = column.key;\n const columnType: Partial> = {\n ...this.partialColumnDateOptions(dataIndex),\n ...Tables.DateColumnType(),\n render: (date: Date, object: T) => Tables.renderDate(date, object, column.getHref)\n };\n\n return {\n columnType: columnType,\n filter: Tables.filterDateColumnType(dataIndex)\n }\n }\n\n private getColumnTextProps(column: IColumnProps): IColumn {\n const dataIndex: keyof T = column.key;\n const {getValue} = column;\n const columnType: Partial> = {\n ...this.partialColumnOptions(dataIndex),\n ...Tables.TextColumnType(),\n render: (text: string, object: T) => getValue ? getValue(object) : text\n };\n\n return {\n columnType: columnType,\n filter: Tables.filterTextColumnType()\n }\n }\n\n private getColumnLengthProps(column: IColumnProps): IColumn {\n const dataIndex: keyof T = column.key;\n const columnType: Partial> = {\n ...this.partialColumnOptions(dataIndex),\n ...Tables.LengthColumnType()\n };\n\n return {\n columnType: columnType,\n filter: Tables.filterLengthColumnType()\n }\n }\n\n private getColumnCustomProps(column: IColumnProps): IColumn {\n const dataIndex: keyof T = column.key;\n const {render} = column;\n const columnType: Partial> = {\n ...this.partialColumnOptions(dataIndex),\n ...Tables.TextColumnType(),\n render: (text: string, object: T) => render(object)\n };\n\n return {\n columnType: columnType,\n filter: Tables.filterTextColumnType()\n }\n }\n\n //endregion\n}\n","import { ThemeConfig } from \"antd/es/config-provider\";\nimport {number} from \"prop-types\";\n\nconst Color = {\n black: '#1C2238',\n white: '#FEFEFE',\n greyLight: '#F2F2F2',\n\n orange: '#FF8C68',\n purple: '#7D4DD8',\n aquamarine: '#05EDBF',\n\n yellow: '#FCDE4C',\n pink: '#F8B6FD',\n red: '#F94141',\n blue: '#0074FF'\n}\n\n\nexport { Color as ColorTheme }\n\nconst RascalTheme: ThemeConfig = {\n token: {\n //Colors\n colorPrimary: Color.orange,\n colorInfo: Color.orange,\n fontFamily: 'SFProDisplay, sans-serif',\n colorBorder: Color.black,\n colorBgBase: Color.white,\n colorTextBase: Color.black,\n\n colorPrimaryBorder: Color.black,\n\n colorWarningText: Color.yellow,\n colorError: Color.red,\n colorSuccess: Color.aquamarine,\n colorLink: Color.orange,\n colorBgContainerDisabled: Color.greyLight,\n colorErrorOutline: Color.red,\n colorTextLightSolid: Color.greyLight,\n colorPrimaryBg: Color.orange,\n colorPrimaryText: Color.white,\n\n\n //fonts\n fontSize: 16,\n\n fontSizeHeading1: 55,\n lineHeightHeading1: 60,\n\n fontSizeHeading2: 30,\n lineHeightHeading2: 35,\n\n fontSizeHeading3: 20,\n lineHeightHeading3: 35,\n\n //boxes\n borderRadius: 0,\n lineType: 'solid',\n opacityImage: 1,\n controlHeight: 50,\n },\n\n};\n\nexport default RascalTheme;\n","import React, {Component} from 'react';\nimport {CheckOutlined, CloseOutlined, LineOutlined} from '@ant-design/icons';\nimport './TernarySlider.scss';\n\ninterface ITernarySliderProps {\n handleStateChange?: (state: boolean | null) => void;\n}\n\ninterface ITernarySliderState {\n checked: boolean | null;\n}\n\nclass TernarySlider extends Component {\n constructor(props: ITernarySliderProps) {\n super(props);\n this.state = {\n checked: null\n };\n }\n\n private handleStateChange(checked: boolean | null): void {\n this.setState({checked: checked});\n this.props.handleStateChange?.(checked);\n }\n\n public render() {\n const {checked} = this.state;\n\n return (\n
\n\n this.handleStateChange(true)}/>\n \n\n this.handleStateChange(null)}/>\n \n\n this.handleStateChange(false)}/>\n \n\n
\n );\n }\n}\n\nexport default TernarySlider;","import React, { Component } from \"react\";\n\nimport \"./Chevron.scss\"\n\ninterface IChevronProps {\n direction: 'left' | 'right' | 'up' | 'down';\n}\n\ninterface IChevronState {\n\n}\n\nclass Chevron extends Component {\n render() {\n const { direction } = this.props;\n if (direction === 'left' || direction === 'right') {\n return (\n \n \n \n )\n } else {\n return (\n \n \n \n )\n }\n }\n}\n\nexport default Chevron;\n","import React, {Component} from 'react';\n\nclass PlayIcon extends Component {\n render() {\n return (\n \n \n \n );\n }\n}\n\nexport default PlayIcon;\n","import React, { Component } from 'react';\n\nclass RestartIcon extends Component {\n public render() {\n return (\n \n \n \n );\n }\n}\n\nexport default RestartIcon;\n","import {LogLevelDesc} from 'loglevel';\n\ninterface IConfig {\n sdkVersion: string;\n useLocalWebGLBuild: boolean;\n forceCacheUpdate: boolean;\n loglevel: LogLevelDesc;\n}\n\nlet config: IConfig = require('./config.json');\nlet localConfig: any = {};\nif (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test') {\n try {\n localConfig = require('./config.local.json');\n } catch (e) {\n console.log(\"'config.local.json' does not exist, using default\");\n }\n}\n\nfor (let key in config) {\n if (config.hasOwnProperty(key) && localConfig.hasOwnProperty(key)) {\n config[key] = localConfig[key];\n }\n}\n\nexport default config;\n","import {IMoney} from 'models/subscriptionPlan/IMoney';\n\nclass Format {\n public static capitalize(value: string): string {\n return value.charAt(0).toUpperCase() + value.slice(1);\n }\n\n public static money(money: IMoney): string {\n if (!money) return 'Free'\n const options: Intl.NumberFormatOptions = {\n style: 'currency',\n currency: money.currency,\n currencyDisplay: 'code',\n }\n const currencyFormatter: Intl.NumberFormat = new Intl.NumberFormat('en-NZ', options);\n return money.amount > 0 ? currencyFormatter.format(money.amount) : 'Free'\n }\n\n public static longDate(date: Date): string {\n let dateFormatter: Intl.DateTimeFormat = new Intl.DateTimeFormat('en-NZ', {\n weekday: 'long',\n year: 'numeric',\n month: 'long',\n day: 'numeric'\n });\n\n return dateFormatter.format(date);\n }\n\n public static shortDate(date: Date): string {\n let dateFormatter: Intl.DateTimeFormat = new Intl.DateTimeFormat('en-CA', {\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n timeZone: 'Pacific/Auckland'\n });\n\n return dateFormatter.format(date);\n }\n}\n\nexport default Format;\n","import React from \"react\";\nimport {Helmet} from \"react-helmet\";\n\n\nclass SEO {\n static title: string = 'Rascal – Play, Watch, and Read children stories.'\n static description: string = `Rascal is an interactive children's storytelling platform. Offering stories that delight and entertain.\n Access them instantly on the web from your personal computer, tablet or smartphone.`\n\n\n static DefaultHeaders = (\n \n {SEO.title}\n \n \n \n \n \n \n \n \n \n )\n\n static BuildHeaders(options) {\n\n }\n}\n\nexport default SEO;\n","import { useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nexport default function ScrollToTop() {\n const { pathname, hash } = useLocation();\n\n useEffect(() => {\n // \"document.documentElement.scrollTo\" is the magic for React Router Dom v6\n console.log(hash);\n if (!hash) {\n document.documentElement.scrollTo({\n top: 0,\n left: 0,\n behavior: \"instant\", // Optional if you want to skip the scrolling animation\n });\n } else {\n setTimeout(() => {\n const id = hash.replace('#', '');\n const element = document.getElementById(id);\n if (element) {\n element.scrollIntoView({\n behavior: \"smooth\"\n });\n }\n }, 100);\n }\n }, [pathname]);\n\n return null;\n}","import {StoryLocalisation} from 'models/storyLocalisation/StoryLocalisation';\nimport {StoryLocalisationProvider} from 'models/storyLocalisation/StoryLocalisationProvider';\n\nclass Value {\n public static defaultFalse(field: boolean): boolean {\n return field == null ? false : field;\n }\n\n public static defaultTrue(field: boolean): boolean {\n return field == null ? true : field;\n }\n\n public static defaultZero(field: number): number {\n return field == null ? 0 : field;\n }\n\n public static default(field: T | null, defaultResponse: T): T {\n return field == null ? defaultResponse : field;\n }\n\n public static nullIfEmptyString(value: any): string {\n if (value != null && value instanceof String && value.length == 0) {\n return null\n }\n return value;\n }\n\n public static isNullOrEmptyString(value: any): boolean {\n return value == null || ((typeof value === 'string' || value instanceof String) && value.length == 0);\n }\n\n public static dateOrNull(value: any): Date | null {\n if (value == null) {\n return null;\n }\n if (value instanceof Date) {\n return value;\n }\n if (typeof value === 'string') {\n return new Date(value);\n }\n return null;\n }\n\n public static localisationOrNull(provider: StoryLocalisationProvider, value: any): StoryLocalisation | null {\n if (value == null || !(value instanceof Object)) {\n return null\n }\n return new StoryLocalisation(provider).withData(value);\n }\n\n public static stripArrayIfSingle(value: any): any {\n if (value instanceof Array && value.length === 1) {\n return value[0];\n }\n return value;\n }\n\n static numberOrNull(value: any): number | null {\n if (typeof value === \"number\" || !isNaN(value)) {\n return value;\n }\n return null;\n }\n\n static ifDefined(value: T | undefined, newValue: T): T {\n if (newValue !== null && newValue !== undefined) {\n return newValue;\n }\n return value;\n }\n\n static ifDefinedCallback(value: S | undefined, callback: () => T): T | undefined {\n if (value !== undefined && value !== null) {\n return callback();\n }\n return null;\n }\n}\n\nexport default Value;\n","import React, {Component} from 'react';\nimport {Layout} from 'antd';\nimport {Content} from 'antd/lib/layout/layout';\n\nimport DefaultFooter from 'layouts/footers/DefaultFooter';\nimport DefaultHeader from 'layouts/headers/DefaultHeader';\nimport AdminSideBar from 'components/admin/pages/AdminSideBar';\n\ninterface IAdminLayoutProps {\n childContent?: React.ReactElement;\n children?: any;\n}\n\ninterface IAdminLayoutState {\n}\n\nclass AdminLayout extends Component {\n\n constructor(props: IAdminLayoutProps) {\n super(props);\n }\n\n public render(): React.ReactElement {\n return (\n
\n
\n \n
\n
\n \n \n \n
\n
\n {this.props.children}\n
\n
\n \n
\n
\n
\n
\n
\n
\n );\n }\n}\n\nexport default AdminLayout;\n","import React, {Component} from 'react';\nimport DefaultFooter from 'layouts/footers/DefaultFooter';\nimport DefaultHeader from 'layouts/headers/DefaultHeader';\n\nclass DefaultLayout extends Component {\n public render(): React.ReactElement {\n return (\n
\n
\n \n
\n
\n {this.props.children}\n
\n
\n \n
\n
\n );\n }\n}\n\nexport default DefaultLayout;\n","import React, {useState} from \"react\";\nimport {Col, Row, Button, Modal, Select} from \"antd\";\nimport {Logger} from \"sass\";\nimport logger from \"loglevel\";\nimport {observer} from \"mobx-react\";\nimport CouponCampaignModal from \"components/admin/pages/coupons/CouponCampaignModal\";\nimport NewsletterModal from \"components/public/pages/home/public/NewsletterModal\";\n\n\nclass DefaultFooter extends React.Component {\n\n private newsletterModal: Boolean = false;\n\n constructor(props) {\n super(props);\n this.state = {\n open: false,\n submitting: false,\n }\n this.onSubmit = this.onSubmit.bind(this);\n this.onCancel = this.onCancel.bind(this);\n }\n\n componentDidMount() {\n this.setState({\n open: false,\n submitting: false\n });\n }\n\n public onSubmit() {\n logger.debug(\"Trying to submit the Newsletter modal.\")\n }\n\n public onCancel() {\n this.setState({\n open: false\n });\n }\n\n private renderRascalCol(): React.ReactElement {\n return (\n \n
\n

Rascal

\n
\n \n
\n iOS App\n
\n \n \n );\n }\n\n private openNewsletterModal(open) {\n this.setState({\n open: open\n });\n }\n\n private renderForParentsCol(): React.ReactElement {\n const {open} = this.state;\n\n return (\n \n
\n

For Parents

\n
\n \n \n {open && this.setState({open: false})} /> }\n \n );\n }\n\n private renderAboutCol(): React.ReactElement {\n return (\n \n
\n

ABOUT

\n
\n
\n FAQ \n
\n \n \n );\n }\n\n private renderContactUsCol(): React.ReactElement {\n return (\n \n
\n

CONTACT US

\n
\n \n \n );\n }\n\n private renderTermsRow(): React.ReactElement {\n return (\n \n \n
\n

© Copyright Rascal Entertainment Limited. All rights reserved.

\n
\n \n \n \n \n \n \n \n \n \n \n
\n );\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n \n \n \n { this.renderRascalCol() }\n { this.renderAboutCol() }\n { this.renderForParentsCol() }\n { this.renderContactUsCol() }\n \n { this.renderTermsRow() }\n \n \n
\n \n );\n }\n}\n\nexport default DefaultFooter;\n","import React, { Component } from \"react\";\n\nimport \"./BurgerMenu.scss\"\n\ninterface IBurgerMenuProps {\n}\n\ninterface IBurgerMenuState {\n\n}\n\nclass BurgerMenu extends Component {\n render() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default BurgerMenu;\n","import React from 'react';\nimport {Link} from 'react-router-dom';\nimport {observer} from 'mobx-react';\nimport {Col, Dropdown, MenuProps, Row, Space} from 'antd';\n\nimport {ComponentWithStore} from 'models/RootStore';\nimport AppInfo from 'models/AppInfo';\n\nimport RascalLogo from 'layouts/headers/RascalLogo';\nimport BurgerMenu from 'components/shared/icons/BurgerMenu';\n\ninterface IDefaultHeaderProps {\n childContent?: React.ReactElement;\n customAccountBanner?: React.ReactElement;\n}\n\ninterface IDefaultHeaderState {\n displayChildContent: boolean;\n}\n\nclass DefaultHeader extends ComponentWithStore {\n private mounted: boolean = false;\n\n public constructor(props: IDefaultHeaderProps) {\n super(props);\n\n this.state = {\n displayChildContent: false\n }\n\n this.scrollListener = this.scrollListener.bind(this);\n this.signOut = this.signOut.bind(this);\n }\n\n public componentDidMount(): void {\n this.mounted = true;\n window.addEventListener('scroll', this.scrollListener);\n }\n\n public componentWillUnmount() {\n this.mounted = false;\n window.removeEventListener('scroll', this.scrollListener)\n }\n\n private createMenuItems(): MenuProps['items'] {\n let items: MenuProps['items'];\n\n if (AppInfo.isAdmin()) {\n items = [\n {label: Admin, key: 0, danger: true},\n {label: Settings, key: 1,},\n {type: 'divider'},\n {label: Sign Out, key: 2,}\n ];\n } else {\n items = [\n {label: Settings, key: 0,},\n {type: 'divider',},\n {label: Sign Out, key: 1,}\n ];\n }\n return items;\n }\n\n private scrollListener() {\n this.setState({displayChildContent: window.scrollY > 100});\n }\n\n private signOut(e: React.MouseEvent): void {\n e.preventDefault();\n e.stopPropagation();\n this.store.SessionProvider.signOut()\n .catch(() => 'doesnt matter we are signing out anyway.')\n .then(() => window.location.href = '/');\n }\n\n public renderAccountBanner(): React.ReactElement {\n let items: MenuProps['items'] = this.createMenuItems();\n\n if (this.store.SessionProvider.hasCredentials()) {\n // Logged In User\n return (\n \n e.preventDefault()}>\n \n Account\n \n \n \n \n \n \n \n \n \n \n );\n } else {\n if (window.location.href.includes('/register')) {\n return (\n Login \n );\n }\n // Not logged in.\n return (\n Sign up \n );\n }\n }\n\n public render(): React.ReactElement {\n return (\n \n
\n \n \n \n \n \n {this.props.customAccountBanner ? this.props.customAccountBanner :\n \n \n {this.props.childContent}\n \n \n {this.renderAccountBanner()}\n \n }\n \n \n
\n
\n );\n }\n}\n\nexport default observer(DefaultHeader);\n","import React, { Component } from 'react';\nimport { Link } from 'react-router-dom';\n\ninterface IRascalLogoProps {\n width?: number;\n color?: string;\n}\n\ninterface IRascalLogoState {\n}\n\nclass RascalLogo extends Component {\n public constructor(props: IRascalLogoProps) {\n super(props);\n }\n\n public render(): React.ReactElement {\n const { color, width } = this.props;\n\n return (\n \n \n \n \n \n );\n }\n}\n\nexport default RascalLogo;\n","import LegoData from './lego.json';\nexport const Lego = LegoData;\n\nconst lottieAssets = {\n Lego: LegoData\n};","import React from 'react';\nimport promiseRetry from 'promise-retry';\nimport _ from 'lodash';\n\nnamespace Api {\n export function retryFetch(url, params = {}, format = 'json'): Promise {\n addAuthHeaders(params);\n addFormatHeaders(format, params);\n return promiseRetry(\n (retry: Function, attemptNumber: number) => {\n if ( attemptNumber > 1 ) console.log(`Attempt number ${ attemptNumber }`);\n return window.fetch(url, params)\n .then(checkStatus)\n .catch((response: Response) => doRetry(response, retry));\n });\n }\n\n export function fetch(url, params = {}, format = 'json'): Promise {\n addAuthHeaders(params);\n addFormatHeaders(format, params);\n return window.fetch(url, params)\n .then(checkStatus);\n }\n\n export function get(url, params = {}, format = 'json'): Promise {\n params['method'] = 'GET';\n return retryFetch(url, params, format);\n }\n\n export function post(url, params = {}, format = 'json', retry = true): Promise {\n params['method'] = 'POST';\n if ( !retry ) return fetch(url, params, format)\n return retryFetch(url, params, format);\n }\n\n export function put(url, params = {}, format = 'json'): Promise {\n params['method'] = 'PUT';\n return retryFetch(url, params, format);\n }\n\n export function del(url, params = {}, format = 'json'): Promise {\n params['method'] = 'DELETE';\n return retryFetch(url, params, format);\n }\n\n function addAuthHeaders(params): void {\n _.set(params, 'credentials', 'include');\n }\n\n function addFormatHeaders(format, params): void {\n switch ( format ) {\n case 'json':\n _.set(params, 'headers.Accept', 'application/json');\n _.set(params, 'headers.Content-Type', 'application/json');\n break;\n default:\n throw `Format: '${ format }' does not have supported headers.`;\n }\n }\n\n export function checkStatus(response: Response): Promise {\n return isError(response) ? Promise.reject(response) : Promise.resolve(response);\n }\n\n export function doRetry(response: Response, retry) {\n if ( !isClientError(response) ) {\n return retry(response);\n }\n return response.status === 422 ? Promise.resolve(response) : Promise.reject(response);\n }\n\n export function isError(response: Response): boolean {\n return response.status >= 400;\n }\n\n export function isClientError(response: Response): boolean {\n return response.status >= 400 && response.status < 500;\n }\n}\n\nexport default Api;\n","import {computed} from \"mobx\";\n\nclass AppInfo {\n @computed\n public static isAdmin(): boolean {\n return false;\n }\n\n public static isMobile() {\n return /Android|iPhone|iPad|iPod|iOS/i.test(window.navigator.userAgent);\n }\n\n public static isIOS() {\n return /iPhone|iPad|iPod|iOS/i.test(window.navigator.userAgent);\n }\n\n public static isAndroid() {\n return /Android/i.test(window.navigator.userAgent);\n }\n}\n\nexport default AppInfo;\n","import {RootStore} from 'models/RootStore';\n\nimport {AssetBundleProvider} from 'models/assetBundle/AssetBundleProvider';\nimport {AssetBundleIDB} from 'models/assetBundle/AssetBundleIDB';\n\nimport {BillingAddressProvider} from 'models/billingAddress/BillingAddressProvider';\nimport {BillingAddressMemoryStore} from 'models/billingAddress/BillingAddressMemoryStore';\nimport {BillingAddressPermanentStore} from 'models/billingAddress/BillingAddressPermanentStore';\n\nimport {CampaignProvider} from \"models/campaign/CampaignProvider\";\n\nimport {CollectionProvider} from 'models/collection/CollectionProvider';\nimport {CollectionMemoryStore} from 'models/collection/CollectionMemoryStore';\nimport {CollectionPermanentStore} from 'models/collection/CollectionPermanentStore';\n\nimport {CouponProvider} from 'models/coupon/CouponProvider';\n\nimport {InvoiceProvider} from 'models/invoice/InvoiceProvider';\nimport {InvoiceMemoryStore} from 'models/invoice/InvoiceMemoryStore';\nimport {InvoicePermanentStore} from 'models/invoice/InvoicePermanentStore';\n\nimport {SessionProvider} from 'models/session/SessionProvider';\n\nimport {SettingsProvider} from 'models/settings/SettingsProvider';\nimport {SettingsMemoryStore} from 'models/settings/SettingsMemoryStore';\nimport {SettingsPermanentStore} from 'models/settings/SettingsPermanentStore';\n\nimport {StoryLocalisationProvider} from 'models/storyLocalisation/StoryLocalisationProvider';\nimport {StoryLocalisationMemoryStore} from 'models/storyLocalisation/StoryLocalisationMemoryStore';\nimport {StoryLocalisationPermanentStore} from 'models/storyLocalisation/StoryLocalisationPermanentStore';\n\nimport {StoryProvider} from 'models/story/StoryProvider';\nimport {StoryMemoryStore} from 'models/story/StoryMemoryStore';\nimport {StoryPermanentStore} from 'models/story/StoryPermanentStore';\n\nimport {StoryReleaseProvider} from 'models/storyRelease/StoryReleaseProvider';\nimport {StoryReleaseMemoryStore} from 'models/storyRelease/StoryReleaseMemoryStore';\nimport {StoryReleasePermanentStore} from 'models/storyRelease/StoryReleasePermanentStore';\n\nimport {StorySessionProvider} from 'models/storySession/StorySessionProvider';\nimport {StorySessionMemoryStore} from 'models/storySession/StorySessionMemoryStore';\nimport {StorySessionPermanentStore} from 'models/storySession/StorySessionPermanentStore';\n\nimport {SubscriptionProvider} from 'models/subscription/SubscriptionProvider';\n// import {SubscriptionMemoryStore} from 'models/subscription/SubscriptionMemoryStore';\n// import {SubscriptionPermanentStore} from 'models/subscription/SubscriptionPermanentStore';\nimport {SubscriptionPlanProvider} from 'models/subscriptionPlan/SubscriptionPlanProvider';\nimport {SubscriptionPlanMemoryStore} from 'models/subscriptionPlan/SubscriptionPlanMemoryStore';\nimport {SubscriptionPlanPermanentStore} from 'models/subscriptionPlan/SubscriptionPlanPermanentStore';\n\nimport {UniverseProvider} from 'models/universe/UniverseProvider';\n\nimport {UserProvider} from 'models/user/UserProvider';\nimport {UserMemoryStore} from 'models/user/UserMemoryStore';\nimport {UserPermanentStore} from 'models/user/UserPermanentStore';\n\nimport {WebglProvider} from 'models/webgl/WebglProvider';\nimport {WebglIDB} from 'models/webgl/WebglIDB';\n\nexport abstract class AbstractStore {\n private readonly _rootStore: RootStore;\n private readonly _databaseName: string;\n\n protected constructor(rootStore: RootStore, databaseName: string) {\n this._rootStore = rootStore;\n this._databaseName = `RK.${databaseName}`;\n }\n\n protected resetAll(): void {\n this.BillingAddressMemoryStore.resetAll();\n this.InvoiceMemoryStore.resetAll();\n this.StoryMemoryStore.resetAll();\n this.StoryLocalisationMemoryStore.resetAll();\n this.StoryReleaseMemoryStore.resetAll();\n this.StorySessionMemoryStore.resetAll();\n this.SubscriptionPlanMemoryStore.resetAll();\n this.UserMemoryStore.resetAll();\n }\n\n protected get RootStore(): RootStore {\n return this._rootStore;\n }\n\n protected get AssetBundleProvider(): AssetBundleProvider {\n return this.RootStore.AssetBundleProvider;\n }\n\n protected get AssetBundleIDB(): AssetBundleIDB {\n return this.RootStore.AssetBundleIDB;\n }\n\n public get BillingAddressProvider(): BillingAddressProvider {\n return this.RootStore.BillingAddressProvider;\n }\n\n protected get BillingAddressMemoryStore(): BillingAddressMemoryStore {\n return this.RootStore.BillingAddressMemoryStore;\n }\n\n protected get BillingAddressPermanentStore(): BillingAddressPermanentStore {\n return this.RootStore.BillingAddressPermanentStore;\n }\n\n public get CampaignProvider(): CampaignProvider {\n return this.RootStore.CampaignProvider;\n }\n\n public get CollectionProvider(): CollectionProvider {\n return this.RootStore.CollectionProvider;\n }\n\n protected get CollectionMemoryStore(): CollectionMemoryStore {\n return this.RootStore.CollectionMemoryStore;\n }\n\n protected get CollectionPermanentStore(): CollectionPermanentStore {\n return this.RootStore.CollectionPermanentStore;\n }\n\n public get CouponProvider(): CouponProvider {\n return this.RootStore.CouponProvider;\n }\n\n public get InvoiceProvider(): InvoiceProvider {\n return this.RootStore.InvoiceProvider;\n }\n\n protected get InvoiceMemoryStore(): InvoiceMemoryStore {\n return this.RootStore.InvoiceMemoryStore;\n }\n\n protected get InvoicePermanentStore(): InvoicePermanentStore {\n return this.RootStore.InvoicePermanentStore;\n }\n\n public get SessionProvider(): SessionProvider {\n return this.RootStore.SessionProvider;\n }\n\n public get SettingsProvider(): SettingsProvider {\n return this.RootStore.SettingsProvider;\n }\n\n protected get SettingsMemoryStore(): SettingsMemoryStore {\n return this.RootStore.SettingsMemoryStore;\n }\n\n protected get SettingsPermanentStore(): SettingsPermanentStore {\n return this.RootStore.SettingsPermanentStore;\n }\n\n public get StoryProvider(): StoryProvider {\n return this.RootStore.StoryProvider;\n }\n\n protected get StoryMemoryStore(): StoryMemoryStore {\n return this.RootStore.StoryMemoryStore;\n }\n\n protected get StoryPermanentStore(): StoryPermanentStore {\n return this.RootStore.StoryPermanentStore;\n }\n\n public get StoryLocalisationProvider(): StoryLocalisationProvider {\n return this.RootStore.StoryLocalisationProvider;\n }\n\n protected get StoryLocalisationMemoryStore(): StoryLocalisationMemoryStore {\n return this.RootStore.StoryLocalisationMemoryStore;\n }\n\n protected get StoryLocalisationPermanentStore(): StoryLocalisationPermanentStore {\n return this.RootStore.StoryLocalisationPermanentStore;\n }\n\n public get StoryReleaseProvider(): StoryReleaseProvider {\n return this.RootStore.StoryReleaseProvider;\n }\n\n protected get StoryReleaseMemoryStore(): StoryReleaseMemoryStore {\n return this.RootStore.StoryReleaseMemoryStore;\n }\n\n protected get StoryReleasePermanentStore(): StoryReleasePermanentStore {\n return this.RootStore.StoryReleasePermanentStore;\n }\n\n public get StorySessionProvider(): StorySessionProvider {\n return this.RootStore.StorySessionProvider;\n }\n\n protected get StorySessionMemoryStore(): StorySessionMemoryStore {\n return this.RootStore.StorySessionMemoryStore;\n }\n\n protected get StorySessionPermanentStore(): StorySessionPermanentStore {\n return this.RootStore.StorySessionPermanentStore;\n }\n\n public get SubscriptionProvider(): SubscriptionProvider {\n return this.RootStore.SubscriptionProvider;\n }\n\n /*\n protected get SubscriptionMemoryStore(): SubscriptionMemoryStore {\n return this.RootStore.SubscriptionMemoryStore;\n }\n\n protected get SubscriptionPermanentStore(): SubscriptionPermanentStore {\n return this.RootStore.SubscriptionPermanentStore;\n }\n */\n\n public get SubscriptionPlanProvider(): SubscriptionPlanProvider {\n return this.RootStore.SubscriptionPlanProvider;\n }\n\n protected get SubscriptionPlanMemoryStore(): SubscriptionPlanMemoryStore {\n return this.RootStore.SubscriptionPlanMemoryStore;\n }\n\n protected get SubscriptionPlanPermanentStore(): SubscriptionPlanPermanentStore {\n return this.RootStore.SubscriptionPlanPermanentStore;\n }\n\n public get UniverseProvider(): UniverseProvider {\n return this.RootStore.UniverseProvider;\n }\n\n public get UserProvider(): UserProvider {\n return this.RootStore.UserProvider;\n }\n\n protected get UserMemoryStore(): UserMemoryStore {\n return this.RootStore.UserMemoryStore;\n }\n\n protected get UserPermanentStore(): UserPermanentStore {\n return this.RootStore.UserPermanentStore;\n }\n\n protected get WebglProvider(): WebglProvider {\n return this.RootStore.WebglProvider;\n }\n\n protected get WebglIDB(): WebglIDB {\n return this.RootStore.WebglIDB;\n }\n\n protected get DatabaseName(): string {\n return this._databaseName;\n }\n}\n","import React from 'react';\nimport Api from 'models/Api';\n\nexport interface AssetUrlEntity {\n asset_url: string;\n}\n\nexport class AssetBundleApi {\n public static getAssetUrl(story_release_id: number | null): Promise {\n if (story_release_id == null) {\n return Promise.resolve(null);\n }\n\n return Api.get(`/api/v1/story_releases/${story_release_id}/asset_url`)\n .then(response => response.json());\n }\n\n public static getAssetUrlWithName(story_release_id: number | null, name: string): Promise {\n if (story_release_id == null) {\n return Promise.resolve(null);\n }\n\n return Api.get(`/api/v1/story_releases/${story_release_id}/${name}/asset_url`)\n .then(response => response.json());\n }\n}\n","import * as _ from 'lodash';\nimport logger from 'loglevel';\nimport promiseRetry from 'promise-retry';\n\nimport Api from 'models/Api';\nimport {AbstractStore} from 'models/AbstractStore';\nimport {AssetBundleApi, AssetUrlEntity} from 'models/assetBundle/AssetBundleApi';\nimport {Story} from 'models/story/Story';\nimport {StoryRelease} from 'models/storyRelease/StoryRelease';\nimport {AssetBundle, ProgressState} from 'models/storyRelease/AssetBundleManifest';\nimport {ISceneBundle, IStoryBundle} from 'models/storyRelease/IAssetBundleManifest';\nimport {StorySession} from 'models/storySession/StorySession';\nimport {RootStore} from 'models/RootStore';\nimport {StoryLocalisation} from 'models/storyLocalisation/StoryLocalisation';\nimport { release } from 'os';\n\nexport class AssetBundleProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'AssetBundleProvider');\n }\n\n public getObjectUrl(storyId: number): Promise {\n return this.AssetBundleIDB.open()\n .then(() => this.AssetBundleIDB.readObjectUrl(storyId));\n }\n\n public getAllAssetBundles(storyBundle: IStoryBundle): AssetBundle[] {\n let sceneBundles: ISceneBundle[] = storyBundle.scene_bundles;\n return Array.from(new Set(sceneBundles.flatMap(s => s.asset_bundles)));\n }\n\n private getAllDependentAssetBundles(\n assetBundle: AssetBundle,\n assetBundles: AssetBundle[],\n orderedAssetBundles: AssetBundle[]\n ): void {\n assetBundle.dependencies.forEach(name => {\n let dependencyBundle = assetBundles.find(bundle => bundle.name == name);\n if (dependencyBundle != null && !orderedAssetBundles.includes(dependencyBundle)) {\n this.getAllDependentAssetBundles(dependencyBundle, assetBundles, orderedAssetBundles)\n }\n });\n orderedAssetBundles.push(assetBundle);\n }\n\n private getOrderedBundles(storyBundle: IStoryBundle): AssetBundle[] {\n let sceneBundles: ISceneBundle[] = storyBundle.scene_bundles;\n let assetBundles = Array.from(new Set(sceneBundles.flatMap(s => s.asset_bundles)));\n let sortedAssetBundleScenes = assetBundles.filter(bundle => bundle.is_scene)\n .sort((bundle1: AssetBundle, bundle2: AssetBundle) => bundle1.index - bundle2.index);\n let orderedAssetBundles: AssetBundle[] = [];\n\n sortedAssetBundleScenes.forEach(assetBundleIsScene => this.getAllDependentAssetBundles(\n assetBundleIsScene,\n assetBundles,\n orderedAssetBundles\n ));\n\n return orderedAssetBundles;\n }\n\n public calculateInitialSceneBundles(storyBundle: IStoryBundle): AssetBundle[] {\n let sceneBundles: ISceneBundle[] = storyBundle.scene_bundles;\n let firstScenes: ISceneBundle[] = sceneBundles.slice(0, 2)\n if (storyBundle.current_scene_bundle) {\n let i: number = sceneBundles.indexOf(sceneBundles.find(bundle => bundle.name == storyBundle.current_scene_bundle));\n if (i > -1) {\n firstScenes.push(sceneBundles[i])\n if (i + 1 < sceneBundles.length) firstScenes.push(sceneBundles[i + 1])\n }\n }\n\n return Array.from(new Set(firstScenes.flatMap(s => s.asset_bundles)));\n }\n\n public async downloadInitialSceneBundles(story: Story, storySession: StorySession): Promise {\n let release = await story.getLatestCompatibleStoryRelease(true);\n if (!release) throw new Error('Compatible version could not be found');\n\n story.current_release = release;\n if (!story.current_release.unity_asset_manifest) throw new Error('No manifest provided');\n\n story.current_release.unity_asset_manifest.setReleaseId(story.current_release.id);\n\n let storyBundle: IStoryBundle = this.readStoryBundleFromWindow();\n storyBundle.current_scene_bundle = storySession?.current_asset_bundle || '';\n let bundles: AssetBundle[] = this.calculateInitialSceneBundles(storyBundle);\n\n return Promise.all(_.map(bundles, assetBundle => this.downloadOrLoadBundle(story, assetBundle)\n .then(blob => this.storeDataInWindow(blob, assetBundle))));\n }\n\n public async downloadRemainingScenes(story: Story, storySession: StorySession, force: boolean, callback: Function) {\n let release = story.current_release;\n if (!release) throw new Error('Compatible version could not be found');\n if (!story.current_release.unity_asset_manifest) throw new Error('No manifest provided');\n\n let storyBundle: IStoryBundle = this.readStoryBundleFromWindow();\n let orderedAssetBundles = this.getOrderedBundles(storyBundle);\n\n for (const assetBundle of orderedAssetBundles) {\n let blob = await this.downloadOrLoadBundle(story, assetBundle)\n await this.storeDataInWindow(blob, assetBundle);\n if (assetBundle.is_scene) await callback();\n }\n }\n\n public downloadSceneBundle(story: Story, name: string): Promise {\n let storyBundle: IStoryBundle = this.readStoryBundleFromWindow();\n\n let sceneBundle = _.find(storyBundle.scene_bundles, (value: ISceneBundle) => value.name === name);\n\n if (!sceneBundle) {\n throw new Error(`Scene bundle not found ${name}`);\n }\n\n return Promise.all(_.map(sceneBundle.asset_bundles, bundle =>\n this.downloadOrLoadBundle(story, bundle)\n .then(blob => {\n if (!blob) {\n logger.debug(`Blob is null for ${bundle.name}, assuming it is already stored in the window`);\n // Assume it is already stored in the window\n return bundle.name;\n }\n\n return this.storeDataInWindow(blob, bundle);\n })));\n\n }\n\n public async awaitDownloadChapter(story: Story, sceneBundle: ISceneBundle): Promise {\n let localisation: StoryLocalisation = story.default_localisation;\n let storyTitle: String = localisation?.title ?? 'Untitled';\n story.current_release.unity_asset_manifest.setReleaseId(story.current_release.id);\n\n return await Promise.all(_.map(sceneBundle.asset_bundles, async bundle => {\n let bundleName = bundle.name;\n let blob = await this.downloadOrLoadBundle(story, bundle);\n if (!blob) {\n logger.debug(`Blob is null for ${bundle.name}, assuming it is already stored in the window`);\n // Assume it is already stored in the window\n return bundle.name;\n }\n return this.storeDataInWindow(blob, bundle);\n }));\n }\n\n private async downloadOrLoadBundle(story: Story, bundle: AssetBundle): Promise {\n switch (bundle.progress_state) {\n default:\n bundle.progress_state = ProgressState.IN_PROGRESS;\n\n if (!bundle.release_id) {\n // bundle.progress_state = ProgressState.ERROR;\n // throw new Error('Release not provided');\n // TODO: Fix this earlier\n bundle.release_id = story.current_release.id;\n }\n\n try {\n let blob = await this.doDownloadOrLoadBundle(story, bundle);\n bundle.progress_state = ProgressState.COMPLETED;\n return blob;\n } catch (e) {\n bundle.progress_state = ProgressState.ERROR;\n throw e;\n }\n case ProgressState.IN_PROGRESS:\n logger.debug('Download already in progress');\n // return backOff(() => this.downloadOrLoadBundle(story,bundle), )\n return Promise.resolve(null);\n case ProgressState.COMPLETED:\n let buffer: ArrayBuffer = this.readDataFromWindow(bundle);\n if (!buffer) {\n logger.debug(`Download already complete for ${story.id} but no file - restarting`);\n bundle.progress_state = ProgressState.NOT_STARTED;\n return this.downloadOrLoadBundle(story, bundle);\n } else {\n logger.debug(`Download complete for ${story.id} - setting download percentage to 100`);\n // TODO: Set downloading percentage to 100\n return Promise.resolve(new Blob([buffer]));\n }\n }\n }\n\n private async doDownloadOrLoadBundle(story: Story, bundle: AssetBundle): Promise {\n try {\n await this.AssetBundleIDB.open();\n } catch (e) {\n logger.error('Asset: Failed to open database', e);\n let assetUrlEntity: AssetUrlEntity = await this.getAssetUrlWithName(bundle.release_id, bundle.name);\n return this.downloadAndDecode(assetUrlEntity.asset_url)\n }\n\n let assetUrl: string = await this.getAssetUrlWithNameAndStore(story, bundle.release_id, bundle.name);\n let requiresUpdate = await this.AssetBundleIDB.requiresUpdate(story, story.current_release);\n let blob: Blob;\n if (!requiresUpdate) {\n blob = await this.AssetBundleIDB.readBlob(story, bundle);\n if (blob) return blob;\n }\n try {\n blob = await this.downloadAndDecode(assetUrl);\n } catch (error) {\n logger.error('AssetBundleProvider Failed', error, `... Retrying downloadAndDecode(${assetUrl})`);\n return this.downloadAndDecode(assetUrl);\n }\n return this.AssetBundleIDB.storeAll(story, story.current_release, blob, bundle);\n }\n\n private getAssetUrl(story: Story): Promise {\n return this.AssetBundleIDB.open()\n .then(() => this.AssetBundleIDB.readAssetUrl(story.id))\n .then((url: string | null) => {\n if (url) return url;\n\n return AssetBundleApi.getAssetUrl(story.current_release.id)\n .then(entity => this.AssetBundleIDB.storeAssetUrl(story, entity.asset_url));\n });\n }\n\n private getAssetUrlWithName(release_id: number, name: string): Promise {\n return AssetBundleApi.getAssetUrlWithName(release_id, name);\n }\n\n private async getAssetUrlWithNameAndStore(story: Story, release_id: number, name: string): Promise {\n let entity = await this.getAssetUrlWithName(release_id, name);\n return await this.AssetBundleIDB.storeAssetUrl(story, entity.asset_url, name);\n }\n\n\n private downloadAndDecode(assetUrl: string): Promise {\n return promiseRetry(\n (retry, attemptNumber) => {\n if (attemptNumber > 1) logger.debug(`Attempt number ${attemptNumber}`);\n return fetch(assetUrl)\n .then(Api.checkStatus)\n .catch((response: Response) => Api.doRetry(response, retry));\n })\n .then((response: Response) => response.blob());\n }\n\n private async storeDataInWindow(blob: Blob, bundle: AssetBundle): Promise {\n let binary: ArrayBuffer = await blob.arrayBuffer();\n window[bundle.DataPath] = binary;\n return bundle.name;\n }\n\n private readDataFromWindow(bundle: AssetBundle): ArrayBuffer {\n return window[bundle.DataPath];\n }\n\n public storeStoryBundleInWindow(storyBundle: IStoryBundle): void {\n window['story_bundle_data'] = storyBundle;\n }\n\n public readStoryBundleFromWindow(): IStoryBundle {\n return window['story_bundle_data'];\n }\n}\n","import logger from 'loglevel';\nimport store, {StoreAPI} from 'store2';\n\nimport {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {IPermanentStore, PermanentStore} from 'models/PermanentStore';\n\nexport class LocalStoreWrapper extends AbstractStore implements IPermanentStore {\n private readonly _localStorage: StoreAPI;\n\n public constructor(rootStore: RootStore, databaseName: string, tableName: string) {\n super(rootStore, `LocalStore.${databaseName}.${tableName}`);\n this._localStorage = store.namespace(this.DatabaseName);\n }\n\n public doStore(_ignored: string, key: string, value: T, expiresInMinutes?: number): Promise {\n this._localStorage.set(key, JSON.stringify({\n data: value,\n expiresAt: PermanentStore.getExpiresAt(expiresInMinutes)\n }));\n\n return Promise.resolve();\n }\n\n public doRead(_ignored: string, key: string): Promise {\n let dataString: string | null = this._localStorage.get(key);\n\n if (!dataString) {\n return Promise.resolve(null);\n }\n\n let dataObject: { data: T, expiresAt: number } = JSON.parse(dataString);\n\n if (PermanentStore.hasExpired(dataObject.expiresAt)) {\n return Promise.resolve(null);\n }\n\n return Promise.resolve(dataObject.data);\n }\n\n public clear(): Promise {\n this._localStorage.clear();\n return;\n }\n}\n","import logger from 'loglevel';\nimport {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {IndexedDBWrapper} from 'models/IndexedDBWrapper';\nimport {LocalStoreWrapper} from 'models/LocalStoreWrapper';\n\nexport interface IExposedPermanentStore {\n getKey(id: number): string;\n\n store(data: T, id?: number): Promise;\n\n read(id: number): Promise;\n}\n\nexport interface IPermanentStore {\n doStore(table: string, key: string, value: T, expiresInMinutes?: number): Promise;\n\n doRead(table: string, key: string): Promise;\n\n clear(table?: string): Promise;\n}\n\nenum StoreOpenState {\n OPENING,\n OPENED_IDB,\n OPENED_LOCAL\n}\n\nexport abstract class PermanentStore extends AbstractStore implements IPermanentStore {\n private static _openState: StoreOpenState = StoreOpenState.OPENING;\n private static _promiseToBeOpened: Promise = null;\n private static _idbStore: IndexedDBWrapper | null = null;\n private _localStore: LocalStoreWrapper | null = null;\n\n private static readonly DATABASE_NAME = 'Permanent';\n public static readonly TABLE_NAMES = {\n BillingAddressPermanentStore: 'BillingAddress',\n CollectionPermanentStore: 'Collection',\n InvoicePermanentStore: 'Invoice',\n SettingsPermanentStore: 'Settings',\n StoryLocalisationPermanentStore: 'Localisation',\n StoryPermanentStore: 'Story',\n StoryReleasePermanentStore: 'StoryRelease',\n StorySessionPermanentStore: 'StorySession',\n SubscriptionPlanPermanentStore: 'SubscriptionPlan',\n UserPermanentStore: 'User'\n };\n\n protected abstract get TableName(): string;\n\n private get Store(): IndexedDBWrapper | LocalStoreWrapper | null {\n switch (PermanentStore._openState) {\n case StoreOpenState.OPENING:\n return null;\n case StoreOpenState.OPENED_IDB:\n return PermanentStore._idbStore;\n case StoreOpenState.OPENED_LOCAL:\n if (this._localStore === null) {\n try {\n this._localStore = new LocalStoreWrapper(this.RootStore, this.DatabaseName, this.TableName);\n logger.info(`Successfully created LocalStore for ${this.DatabaseName}`);\n } catch (e) {\n logger.warn(`Failed to create IDB and LocalStore for ${this.DatabaseName}`);\n }\n }\n return this._localStore;\n\n }\n }\n\n protected constructor(rootStore: RootStore) {\n super(rootStore, PermanentStore.DATABASE_NAME);\n }\n\n private getStore(): Promise {\n if (PermanentStore._openState !== StoreOpenState.OPENING) return Promise.resolve(this.Store);\n\n if (PermanentStore._promiseToBeOpened === null) {\n PermanentStore._idbStore = new IndexedDBWrapper(this.RootStore, PermanentStore.DATABASE_NAME, Object.values(PermanentStore.TABLE_NAMES), true);\n PermanentStore._promiseToBeOpened = PermanentStore._idbStore.open()\n .then(() => {\n logger.info(`Successfully opened IDB for ${this.DatabaseName}`);\n PermanentStore._openState = StoreOpenState.OPENED_IDB;\n })\n .catch(e => {\n logger.info(`Failed to create IDB for ${this.DatabaseName}: ${e}`);\n PermanentStore._openState = StoreOpenState.OPENED_LOCAL;\n })\n .then(() => this.Store);\n }\n\n return PermanentStore._promiseToBeOpened;\n }\n\n public static getExpiresAt(expiresInMinutes: number): number {\n return Date.now() + (expiresInMinutes * 60 * 1000);\n }\n\n public static hasExpired(expiresAt: number): boolean {\n if (expiresAt === null) return false;\n return Date.now() > expiresAt;\n }\n\n public async doStore(table: string, key: string, value: T, expiresInMinutes?: number): Promise {\n const store = await this.getStore();\n return await store.doStore(table, key, value, expiresInMinutes);\n }\n\n public async doRead(table: string, key: string): Promise {\n const store = await this.getStore();\n return await store.doRead(table, key);\n }\n\n public async clear(): Promise {\n const store = await this.getStore();\n return await store.clear(this.TableName);\n }\n}\n","import logger from 'loglevel';\n\nimport { AbstractStore } from 'models/AbstractStore';\nimport { RootStore } from 'models/RootStore';\nimport { IPermanentStore, PermanentStore } from 'models/PermanentStore';\n\nexport class IndexedDBWrapper extends AbstractStore implements IPermanentStore {\n private static readonly VERSION: number = 3;\n\n private _db: IDBDatabase;\n private readonly _json: boolean;\n private readonly _tableNames: string[];\n\n public constructor(rootStore: RootStore, databaseName: string, tableNames: string[], json: boolean = false) {\n super(rootStore, `IndexedDB.${databaseName}`);\n this._json = json;\n this._tableNames = tableNames;\n logger.debug(`RKDB.init: ${databaseName}`);\n }\n\n private static get IndexedDB(): IDBFactory {\n return window['indexedDB'] || window['mozIndexedDB'] || window['webkitIndexedDB'] || window['msIndexedDB'];\n }\n\n private static get IndexedDBTransaction(): IDBTransaction {\n return window['IDBTransaction'] || window['webkitIDBTransaction'] || window['msIDBTransaction'];\n }\n\n private static get IndexedDBKeyRange(): IDBKeyRange {\n return window['IDBKeyRange'] || window['webkitIDBKeyRange'] || window['msIDBKeyRange'];\n }\n\n private static expiryKey(key: string): string {\n return `${key}_expiry`;\n }\n\n public open(): Promise {\n let indexedDB: IDBFactory = IndexedDBWrapper.IndexedDB;\n\n if (!indexedDB) {\n logger.warn(`IndexedDBWrapper<${this.DatabaseName}>.open(): Your browser doesn't support a stable version of IndexedDB.`);\n return Promise.reject();\n }\n\n return new Promise((resolve, reject) => {\n let dbOpenDBRequest: IDBOpenDBRequest = indexedDB.open(this.DatabaseName, IndexedDBWrapper.VERSION);\n\n let _reject = reject;\n setTimeout(() => {\n if (dbOpenDBRequest.readyState === 'pending') {\n logger.error(`IndexedDBWrapper<${this.DatabaseName}>.open(): Timeout - Failed to load IndexedDB.`);\n _reject();\n }\n }, 1200);\n\n dbOpenDBRequest.onblocked = () => {\n logger.error(`IndexedDBWrapper<${this.DatabaseName}>.open(): OnBlocked - Failed to load IndexedDB.`);\n reject();\n };\n\n dbOpenDBRequest.onupgradeneeded = evt => {\n logger.debug(`IndexedDBWrapper<${this.DatabaseName}>.open(): OnUpgradeNeeded ${evt.oldVersion} -> ${evt.newVersion}}`);\n this._db = dbOpenDBRequest.result;\n // Create the store only if it is missing... somehow.\n // TODO: We should check with IndexDB standards as the web evolves.\n this._tableNames.forEach(name => {\n if (!this._db.objectStoreNames.contains(name)) {\n // Then create a new store.\n this._db.createObjectStore(name);\n }\n });\n };\n\n dbOpenDBRequest.onsuccess = () => {\n this._db = dbOpenDBRequest.result;\n resolve();\n };\n\n dbOpenDBRequest.onerror = e => {\n logger.error(`IndexedDBWrapper<${this.DatabaseName}>.open(): OnError - Failed to load IndexedDB. ${JSON.stringify(e)}`);\n reject(e);\n };\n });\n }\n\n public doStore(table: string, key: string, value: T, expiresInMinutes?: number): Promise {\n return new Promise((resolve, reject) => {\n let transaction: IDBTransaction = this._db.transaction(table, 'readwrite');\n\n transaction.oncomplete = () => {\n resolve();\n };\n\n transaction.onerror = () => {\n logger.error(`IndexedDBWrapper<${this.DatabaseName}>.store(${key}): OnError`);\n reject();\n };\n\n transaction.objectStore(table).put(this._json ? JSON.stringify(value) : value, key);\n transaction.objectStore(table).put(PermanentStore.getExpiresAt(expiresInMinutes), IndexedDBWrapper.expiryKey(key));\n });\n }\n\n public doRead(table: string, key: string): Promise {\n return new Promise((resolve, reject) => {\n let transaction: IDBTransaction = this._db.transaction(table, 'readwrite');\n let dataRequest: IDBRequest;\n let expiryRequest: IDBRequest;\n\n transaction.oncomplete = () => {\n if (PermanentStore.hasExpired(expiryRequest.result)) {\n resolve(null);\n } else {\n resolve(dataRequest.result);\n }\n };\n\n transaction.onerror = () => {\n logger.error(`IndexedDBWrapper<${this.DatabaseName}>.read(${key}): OnError`);\n reject(transaction.error);\n };\n\n dataRequest = transaction.objectStore(table).get(key);\n expiryRequest = transaction.objectStore(table).get(IndexedDBWrapper.expiryKey(key));\n }).then((result: T | string) => (this._json && typeof result === 'string' ? JSON.parse(result) : result));\n }\n\n public clear(table: string = null): Promise {\n let indexedDB: IDBFactory = IndexedDBWrapper.IndexedDB;\n\n if (!indexedDB) {\n logger.warn(`IndexedDBWrapper<${this.DatabaseName}>.clear(): Your browser doesn't support a stable version of IndexedDB.`);\n return;\n }\n\n if (table === null) {\n logger.warn(`IndexedDBWrapper<${this.DatabaseName}>.clear(): Deleting database.`);\n indexedDB.deleteDatabase(this._db.name);\n return;\n }\n\n return new Promise((resolve, reject) => {\n let transaction: IDBTransaction = this._db.transaction(table, 'readwrite');\n let request: IDBRequest;\n\n transaction.oncomplete = () => {\n resolve();\n };\n\n transaction.onerror = () => {\n logger.error(`IndexedDBWrapper<${this.DatabaseName}>.clear(): OnError`);\n reject(transaction.error);\n };\n\n request = transaction.objectStore(table).clear();\n });\n }\n}\n","import logger from 'loglevel';\n\nimport {RootStore} from 'models/RootStore';\nimport {IndexedDBWrapper} from 'models/IndexedDBWrapper';\nimport {Story} from 'models/story/Story';\nimport {StoryRelease} from 'models/storyRelease/StoryRelease';\nimport {AssetBundle} from 'models/storyRelease/AssetBundleManifest';\n\nexport class AssetBundleIDB extends IndexedDBWrapper {\n private static readonly TABLE_NAME = 'Bundles';\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'Assets', [AssetBundleIDB.TABLE_NAME]);\n }\n\n public open(): Promise {\n return super.open();\n }\n\n private createBlobKey(storyId: number, bundle: AssetBundle): string {\n let keyArray: string[] = ['story', storyId.toString(), 'blob'];\n if (bundle != null) keyArray.splice(2, 0, bundle.name);\n return keyArray.join('_');\n }\n\n private createVersionKey(storyId: number): string {\n return `story_${storyId}_version`;\n }\n\n private createAssetUrlKey(storyId: number, bundleName: string): string {\n return `story_${storyId}_asset_url_${bundleName}`;\n }\n\n private createObjectUrlKey(storyId: number): string {\n return `story_${storyId}_object_url`;\n }\n\n public storeAll(story: Story, release: StoryRelease, blob: Blob, bundle: AssetBundle): Promise {\n return this.storeBlob(story, blob, bundle)\n // Store version last so that we don't update the version unless other data is successfully stored\n .then(() => this.storeVersion(story, release.version()))\n .then(() => {\n logger.debug('Asset: Successfully stored data')\n return blob;\n })\n .catch(error => {\n logger.error('Asset: Failed to store data', error);\n throw error;\n });\n }\n\n private storeBlob(story: Story, blob: Blob, bundle: AssetBundle) {\n return super.doStore(AssetBundleIDB.TABLE_NAME, this.createBlobKey(story.id, bundle), blob);\n }\n\n public async readBlob(story: Story, bundle?: AssetBundle): Promise {\n let key: string = this.createBlobKey(story.id, bundle);\n const blob = await super.doRead(AssetBundleIDB.TABLE_NAME, key);\n // console.log(`got blob of length ${blob?.size} from key \"${key}\"`);\n return blob;\n }\n\n private async readByteArray(story: Story, bundle?: AssetBundle): Promise {\n const blob = await this.readBlob(story, bundle);\n return await blob.arrayBuffer();\n }\n\n private storeVersion(story: Story, value: string): Promise {\n return super.doStore(AssetBundleIDB.TABLE_NAME, this.createVersionKey(story.id), value);\n }\n\n public readVersion(story: Story): Promise {\n return super.doRead(AssetBundleIDB.TABLE_NAME, this.createVersionKey(story.id));\n }\n\n public async storeAssetUrl(story: Story, value: string, bundleName: string = 'unnamed_bundle'): Promise {\n await super.doStore(AssetBundleIDB.TABLE_NAME, this.createAssetUrlKey(story.id, bundleName), value);\n return value;\n }\n\n public readAssetUrl(storyId: number, bundleName: string = 'unnamed_bundle'): Promise {\n return super.doRead(AssetBundleIDB.TABLE_NAME, this.createAssetUrlKey(storyId, bundleName));\n }\n\n private storeObjectUrl(story: Story, value: string): Promise {\n return super.doStore(AssetBundleIDB.TABLE_NAME, this.createObjectUrlKey(story.id), value);\n }\n\n public readObjectUrl(storyId: number): Promise {\n return super.doRead(AssetBundleIDB.TABLE_NAME, this.createObjectUrlKey(storyId));\n }\n\n public async requiresUpdate(story: Story, release: StoryRelease): Promise {\n const version = await this.readVersion(story);\n // console.log(`release.version() !== version ? ${release.version() !== version} [release.version() = ${release.version()}] [version ${version}]`);\n return release.version() !== version;\n }\n\n public async createObjectUrl(story: Story, bundle?: AssetBundle): Promise {\n let url = window.URL || window.webkitURL;\n\n const blob = await this.readBlob(story, bundle);\n if (!blob) return null;\n\n let objectURL: string = url.createObjectURL(blob);\n await this.storeObjectUrl(story, objectURL);\n return objectURL;\n }\n\n public revokeObjectUrl(objectUrl: string): void {\n let url = window.URL || window.webkitURL;\n\n url.revokeObjectURL(objectUrl)\n }\n}\n","import Api from 'models/Api';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\nimport {IBillingAddressApiData} from 'models/billingAddress/IBillingAddressApiData';\n\nexport class BillingAddressApi {\n\n public static get(id: number): Promise {\n return Api.get(`/api/v1/billing_addresses/${id}`)\n .then(response => response.json())\n .then(json => json.billing_address);\n }\n\n public static create(billingAddress: BillingAddress): Promise {\n return Api.post('/api/v1/billing_addresses', {\n body: JSON.stringify({\n billing_address: {\n user_id: billingAddress.user_id,\n name: billingAddress.name,\n line1: billingAddress.line1,\n line2: billingAddress.line2,\n state: billingAddress.state,\n zip: billingAddress.zip,\n city: billingAddress.city,\n country: billingAddress.country\n }\n })\n }).then(response => response.json())\n }\n\n public static update(billingAddress: BillingAddress): Promise {\n return Api.put(`/api/v1/billing_addresses/${billingAddress.id}`, {\n body: JSON.stringify({\n billing_address: {\n user_id: billingAddress.user_id,\n name: billingAddress.name,\n line1: billingAddress.line1,\n line2: billingAddress.line2,\n state: billingAddress.state,\n zip: billingAddress.zip,\n city: billingAddress.city,\n country: billingAddress.country\n }\n })\n }).then(response => response.json()).then(json => json.billing_address);\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {BillingAddress} from 'models/billingAddress/BillingAddress';\nimport {IBillingAddressApiData} from 'models/billingAddress/IBillingAddressApiData';\nimport {UserApi} from 'models/user/UserApi';\nimport {BillingAddressApi} from 'models/billingAddress/BillingAddressApi';\n\nexport class BillingAddressProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'BillingAddressProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public get(id: number): Promise {\n return BillingAddressApi.get(id).then(this.apiDataToModel);\n }\n\n public getAll(userId: number, force: boolean = false): Promise {\n if (userId == null) return Promise.reject('No user id specified for loading all Billing Addresses.');\n\n if (force) return this.getAllFromApiAndUpdateStore(userId);\n\n return this.BillingAddressMemoryStore.read(userId)\n .then((billingAddresses: IBillingAddressApiData[] | null) => {\n return billingAddresses\n ? this.apiDataArrayToModelArray(billingAddresses)\n : this.getAllFromApiAndUpdateStore(userId);\n });\n }\n\n public getActive(userId: number): Promise {\n if (userId == null) return Promise.reject('No user id specified for loading all Billing Addresses.');\n\n return this.getActiveFromApiAndUpdateStore(userId);\n }\n\n public create(param: BillingAddress): Promise {\n return BillingAddressApi.create(param)\n .then((response: IBillingAddressApiData) => this.BillingAddressMemoryStore.storeOne(response, param.user_id)\n .then(() => response));\n }\n\n public update(param: BillingAddress): Promise {\n return BillingAddressApi.update(param)\n .then((response: IBillingAddressApiData) => this.BillingAddressMemoryStore.storeOne(response, param.user_id)\n .then(() => response));\n }\n\n private getAllFromApiAndUpdateStore(userId: number): Promise {\n return UserApi.getBillingAddresses(userId)\n .then((billingAddresses: IBillingAddressApiData[]) => this.BillingAddressMemoryStore.store(billingAddresses, userId)\n .then(() => this.apiDataArrayToModelArray(billingAddresses)));\n }\n\n private getActiveFromApiAndUpdateStore(userId: number): Promise {\n return UserApi.getActiveBillingAddress(userId)\n .then((billingAddress: IBillingAddressApiData) => {\n if (!billingAddress) return null;\n\n return this.BillingAddressMemoryStore.storeOne(billingAddress, userId)\n .then(() => this.apiDataToModel(billingAddress));\n });\n }\n\n private apiDataArrayToModelArray(billingAddresses: IBillingAddressApiData[]): BillingAddress[] {\n return billingAddresses.map(this.apiDataToModel);\n }\n\n private apiDataToModel(billingAddress: IBillingAddressApiData): BillingAddress {\n return new BillingAddress(this).withData(billingAddress);\n }\n}\n","import { action, computed, makeObservable, observable } from 'mobx';\nimport { AbstractStore } from 'models/AbstractStore';\nimport { RootStore } from 'models/RootStore';\nimport { IPermanentStore } from 'models/PermanentStore';\n\nexport class IStoreData {\n @observable private _id: number;\n @observable private _data: T | null;\n @observable private _isSet: boolean = false;\n private _store: InMemoryStore;\n\n public constructor(id: number, data: T, store: InMemoryStore) {\n this._id = id;\n this._data = data;\n this._store = store;\n makeObservable(this);\n }\n\n @computed\n public get IsSet(): boolean {\n return this._isSet;\n }\n\n @computed\n public get Data(): T | null {\n return this._data;\n }\n\n @action\n public setData(value: T) {\n this._data = value;\n this._isSet = true;\n }\n\n @computed\n public get LoadData(): Promise {\n return this.IsSet ? Promise.resolve(this.Data) : this._store.loadFromPermanentStore(this._id).then(() => this.Data);\n }\n}\n\nexport abstract class InMemoryStore extends AbstractStore {\n protected constructor(rootStore: RootStore, storeName: string) {\n super(rootStore, `InMemory.${storeName}`);\n makeObservable(this);\n }\n\n protected abstract get PermanentStore(): IPermanentStore;\n\n public abstract loadFromPermanentStore(id: number): Promise;\n\n protected abstract getIStoreData(id: number): IStoreData;\n\n protected abstract set(value: T, id?: number): void;\n\n public abstract store(data: T, id?: number): void;\n\n public abstract read(id: number): Promise;\n\n public resetAll(): void {\n this.PermanentStore.clear();\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport _ from 'lodash';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {BillingAddressPermanentStore} from 'models/billingAddress/BillingAddressPermanentStore';\nimport {IBillingAddressApiData} from 'models/billingAddress/IBillingAddressApiData';\n\nexport class BillingAddressMemoryStore extends InMemoryStore {\n @observable private _billingAddresses: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'BillingAddress');\n makeObservable(this);\n }\n\n protected get PermanentStore(): BillingAddressPermanentStore {\n return this.BillingAddressPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._billingAddresses = {};\n }\n\n @action\n public loadFromPermanentStore(userId: number): Promise {\n return this.PermanentStore.read(userId)\n .then((billingAddresses: IBillingAddressApiData[] | null) => {\n if (billingAddresses) {\n this.set(billingAddresses, userId);\n }\n });\n }\n\n protected getIStoreData(userId: number): IStoreData {\n let data: IStoreData = this._billingAddresses[userId.toString()];\n if (!data) {\n data = new IStoreData(userId, null, this);\n this._billingAddresses[userId.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: IBillingAddressApiData[], userId: number): void {\n this.getIStoreData(userId).setData(value);\n }\n\n @action\n public storeOne(item: IBillingAddressApiData, userId: number): Promise {\n return this.PermanentStore.read(userId)\n .then((data: IBillingAddressApiData[] | null) => !data ? [] : data)\n .then((data: IBillingAddressApiData[]) => {\n let index: number = _.findIndex(data, (storedItem: IBillingAddressApiData) => storedItem && item && storedItem.id === item.id);\n if (index < 0) {\n // Item does not exist, add it\n data.push(item);\n } else {\n // Item already exists, delete it and replace it with the new one\n data.splice(index, 1, item);\n }\n this.set(data, userId);\n return this.PermanentStore.store(data, userId);\n });\n }\n\n @action\n public store(data: IBillingAddressApiData[], userId: number): Promise {\n this.set(data, userId);\n return this.PermanentStore.store(data, userId);\n }\n\n public read(userId: number): Promise {\n return this.getIStoreData(userId).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IBillingAddressApiData} from 'models/billingAddress/IBillingAddressApiData';\n\nexport class BillingAddressPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.BillingAddressPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_billing_addresses_${id}`;\n }\n\n public store(data: IBillingAddressApiData[], id: number): Promise {\n return this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import {AbstractStore} from \"models/AbstractStore\";\nimport {RootStore} from \"models/RootStore\";\nimport {CampaignAPI, ICampaignApiSearchParams} from \"models/campaign/CampaignAPI\";\nimport {ICampaignApiData} from \"models/campaign/ICampaignApiData\";\nimport {Campaign} from \"models/campaign/Campaign\";\nimport {CampaignSearchData, ICampaignSearchApiData} from \"models/campaign/ICampaignSearchApiData\";\n\n\nexport class CampaignProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'CampaignProvider');\n\n this.apiDataToModel = this.apiDataToModel.bind(this);\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n }\n\n public getCampaignSearch(searchParams?: ICampaignApiSearchParams): Promise {\n return CampaignAPI.getCampaignSearch(searchParams)\n .then((data: ICampaignSearchApiData) => ({\n page: data.page,\n page_size: data.page_size,\n total: data.total,\n campaigns: this.apiDataArrayToModelArray(data.campaigns)\n }));\n }\n\n public getAll(): Promise {\n return CampaignAPI.getAll()\n .then(this.apiDataArrayToModelArray);\n }\n\n private apiDataToModel(campaign: ICampaignApiData): Campaign {\n return new Campaign(this).withData(campaign);\n }\n\n public apiDataArrayToModelArray(apiCampaign?: ICampaignApiData[]): Campaign[] {\n return apiCampaign ? apiCampaign.map(this.apiDataToModel) : [];\n }\n}\n","import Api from 'models/Api';\nimport {\n ICollectionApiCreateRequest,\n ICollectionApiResponseData,\n ICollectionApiUpdateRequest\n} from 'models/collection/ICollectionApiData';\n\nexport class CollectionApi {\n public static create(data: ICollectionApiCreateRequest): Promise {\n return Api.post('/api/v1/collections', {\n body: JSON.stringify(data)\n })\n .then(response => response.json())\n .then(json => json.collection);\n }\n\n public static update(id: number, data: ICollectionApiUpdateRequest): Promise {\n return Api.put(`/api/v1/collections/${id}`, {\n body: JSON.stringify(data)\n })\n .then(response => response.json())\n .then(json => json.collection);\n }\n\n public static get(collectionId: number): Promise {\n return Api.get(`/api/v1/collections/${collectionId}`)\n .then(response => response.json())\n .then(json => json.collection);\n }\n\n public static getAllForStory(storyId: number): Promise {\n return Api.get(`/api/v1/stories/${storyId}/collections`)\n .then(response => response.json())\n .then(json => json.collections);\n }\n\n public static getAll(): Promise {\n return Api.get(`/api/v1/collections`)\n .then(response => response.json())\n .then(json => json.collections);\n }\n}\n","import * as _ from 'lodash';\n\nimport {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {Collection} from 'models/collection/Collection';\nimport {CollectionApi} from 'models/collection/CollectionApi';\nimport {\n ICollectionApiCreateRequest,\n ICollectionApiResponseData,\n ICollectionApiUpdateRequest\n} from 'models/collection/ICollectionApiData';\n\nexport class CollectionProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'CollectionProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public get(collectionId: number, collection: Collection = new Collection(this), force: boolean = false): Promise {\n if (collectionId == null) return Promise.resolve(null);\n if (force) return this.getFromApiAndUpdateStore(collectionId, collection);\n\n return this.CollectionMemoryStore.read(collectionId)\n .then((apiData: ICollectionApiResponseData | null) => {\n return apiData\n ? this.apiDataToModel(apiData)\n : this.getFromApiAndUpdateStore(collectionId, collection);\n });\n }\n\n public getAllFor(storyId: number): Promise {\n if (storyId == null) return Promise.resolve([]);\n\n return this.getAllFromApiAndUpdateStoreFor(storyId);\n }\n\n public getAll(): Promise {\n return this.getAllFromApiAndUpdateStore();\n }\n\n public create(data: ICollectionApiCreateRequest): Promise {\n return CollectionApi.create(data)\n .then((apiData: ICollectionApiResponseData) => this.CollectionMemoryStore.store(apiData, apiData.id)\n .then(() => this.apiDataToModel(apiData)));\n }\n\n public update(collectionId: number, data: ICollectionApiUpdateRequest, collection: Collection = new Collection(this)): Promise {\n return CollectionApi.update(collectionId, data)\n .then((apiData: ICollectionApiResponseData) => this.CollectionMemoryStore.store(apiData, apiData.id)\n .then(() => this.apiDataToModel(apiData, collection)));\n }\n\n private getAllFromApiAndUpdateStoreFor(storyId: number): Promise {\n return CollectionApi.getAllForStory(storyId)\n .then((collections: ICollectionApiResponseData[]) => Promise.all(_.map(collections, apiData => this.CollectionMemoryStore.store(apiData, apiData.id)))\n .then(() => this.apiDataArrayToModelArray(collections)));\n }\n\n private getAllFromApiAndUpdateStore(): Promise {\n return CollectionApi.getAll()\n .then((collections: ICollectionApiResponseData[]) => Promise.all(_.map(collections, apiData => this.CollectionMemoryStore.store(apiData, apiData.id)))\n .then(() => this.apiDataArrayToModelArray(collections)));\n }\n\n private getFromApiAndUpdateStore(collectionId: number, collection: Collection = new Collection(this)): Promise {\n return CollectionApi.get(collectionId)\n .then((apiData: ICollectionApiResponseData) => this.CollectionMemoryStore.store(apiData, apiData.id)\n .then(() => this.apiDataToModel(apiData, collection)));\n }\n\n private apiDataArrayToModelArray(collections: ICollectionApiResponseData[]): Collection[] {\n return collections.map((apiData: ICollectionApiResponseData) => this.apiDataToModel(apiData));\n }\n\n private apiDataToModel(apiData: ICollectionApiResponseData, collection: Collection = new Collection(this)): Collection {\n return collection.withData(apiData);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {CollectionPermanentStore} from 'models/collection/CollectionPermanentStore';\nimport {ICollectionApiResponseData} from 'models/collection/ICollectionApiData';\n\nexport class CollectionMemoryStore extends InMemoryStore {\n @observable private _collections: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'Collection');\n makeObservable(this);\n }\n\n protected get PermanentStore(): CollectionPermanentStore {\n return this.CollectionPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._collections = {};\n }\n\n @action\n public loadFromPermanentStore(collectionId: number): Promise {\n return this.PermanentStore.read(collectionId)\n .then((collections: ICollectionApiResponseData | null) => {\n if (collections) {\n this.set(collections, collectionId);\n }\n });\n }\n\n protected getIStoreData(collectionId: number): IStoreData {\n let data: IStoreData = this._collections[collectionId.toString()];\n if (!data) {\n data = new IStoreData(collectionId, null, this);\n this._collections[collectionId.toString()] = data;\n }\n return data;\n }\n\n @action\n protected set(value: ICollectionApiResponseData, collectionId: number): void {\n this.getIStoreData(collectionId).setData(value);\n }\n\n @action\n public store(data: ICollectionApiResponseData, collectionId: number): Promise {\n this.set(data, collectionId);\n return this.PermanentStore.store(data, collectionId);\n }\n\n public read(collectionId: number): Promise {\n let data = this.getIStoreData(collectionId);\n\n return data.LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {ICollectionApiResponseData} from 'models/collection/ICollectionApiData';\n\nexport class CollectionPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.CollectionPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_collection_${id}`;\n }\n\n public store(data: ICollectionApiResponseData, id: number): Promise {\n return this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {Invoice} from 'models/invoice/Invoice';\nimport {IInvoiceApiData} from 'models/invoice/IInvoiceApiData';\nimport {IInvoiceApiUpdateData} from 'models/invoice/IInvoiceUpdateApiData';\nimport {IInvoiceApiSearchParams, InvoiceApi} from 'models/invoice/InvoiceApi';\nimport {IInvoiceSearchApiData, InvoiceSearchData} from 'models/invoice/IInvoiceSearchApiData';\nimport {ApiResponseData} from 'models/ApiResponseData';\n\nexport class InvoiceProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'InvoiceProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public get(id: number): Promise {\n return InvoiceApi.get(id);\n }\n\n public getInvoice(id: number): Promise {\n return InvoiceApi.get(id)\n .then((data: IInvoiceApiData) => this.apiDataToModel(data));\n }\n\n public getAllForSubscription(subscriptionId: number, force: boolean = false): Promise {\n if (subscriptionId == null) return Promise.reject('No subscription id specified for loading all Invoices.');\n\n return InvoiceApi.getAllForSubscription(subscriptionId)\n .then((invoices: IInvoiceApiData[]) => this.apiDataArrayToModelArray(invoices));\n }\n\n public getAllForUser(userId: number, force: boolean = false): Promise {\n if (userId == null) return Promise.reject('No user id specified for loading all Invoices.');\n\n if (force) return this.getAllForUserFromApiAndUpdateStore(userId);\n\n return this.InvoiceMemoryStore.read(userId)\n .then((invoices: IInvoiceApiData[] | null) => {\n return invoices\n ? this.apiDataArrayToModelArray(invoices)\n : this.getAllForUserFromApiAndUpdateStore(userId);\n });\n }\n\n private getAllForUserFromApiAndUpdateStore(userId: number): Promise {\n return InvoiceApi.getAllForUser(userId)\n .then((invoices: IInvoiceApiData[]) => this.InvoiceMemoryStore.store(invoices, userId)\n .then(() => this.apiDataArrayToModelArray(invoices)));\n }\n\n public getAllForBillingAddress(billingAddress: number, force: boolean = false): Promise {\n if (billingAddress == null) return Promise.reject('No billing address id specified for loading all Invoices.');\n\n return InvoiceApi.getAllForSubscription(billingAddress)\n .then((invoices: IInvoiceApiData[]) => this.apiDataArrayToModelArray(invoices));\n }\n\n public getInvoiceSearch(searchParams?: IInvoiceApiSearchParams): Promise {\n return InvoiceApi.getInvoiceSearch(searchParams)\n .then((data: IInvoiceSearchApiData) => ({\n page: data.page,\n page_size: data.page_size,\n total: data.total,\n invoices: this.apiDataArrayToModelArray(data.invoices)\n }));\n }\n\n public deleteInvoice(id: number): Promise {\n return InvoiceApi.deleteInvoice(id);\n }\n\n public editInvoice(id: number, params: IInvoiceApiUpdateData): Promise {\n return InvoiceApi.editInvoice(id, params)\n .then(invoice => this.apiDataToModel(invoice));\n }\n\n private apiDataArrayToModelArray(invoices: IInvoiceApiData[]): Invoice[] {\n return invoices.map(this.apiDataToModel);\n }\n\n private apiDataToModel(invoice: IInvoiceApiData): Invoice {\n return new Invoice(this).withData(invoice);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport _ from 'lodash';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {InvoicePermanentStore} from 'models/invoice/InvoicePermanentStore';\nimport {IInvoiceApiData} from 'models/invoice/IInvoiceApiData';\n\nexport class InvoiceMemoryStore extends InMemoryStore {\n @observable private _invoices: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'Invoice');\n makeObservable(this);\n }\n\n protected get PermanentStore(): InvoicePermanentStore {\n return this.InvoicePermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._invoices = {};\n }\n\n @action\n public loadFromPermanentStore(userId: number): Promise {\n return this.PermanentStore.read(userId)\n .then((invoices: IInvoiceApiData[] | null) => {\n if (invoices) {\n this.set(invoices, userId);\n }\n });\n }\n\n protected getIStoreData(userId: number): IStoreData {\n let data: IStoreData = this._invoices[userId.toString()];\n if (!data) {\n data = new IStoreData(userId, null, this);\n this._invoices[userId.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: IInvoiceApiData[], userId: number): void {\n this.getIStoreData(userId).setData(value);\n }\n\n @action\n public storeOne(item: IInvoiceApiData, userId: number): Promise {\n return this.PermanentStore.read(userId)\n .then((data: IInvoiceApiData[] | null) => !data ? [] : data)\n .then((data: IInvoiceApiData[]) => {\n let index: number = _.findIndex(data, (storedItem: IInvoiceApiData) => storedItem && item && storedItem.id === item.id);\n if (index < 0) {\n // Item does not exist, add it\n data.push(item);\n } else {\n // Item already exists, delete it and replace it with the new one\n data.splice(index, 1, item);\n }\n this.set(data, userId);\n return this.PermanentStore.store(data, userId);\n });\n }\n\n @action\n public store(data: IInvoiceApiData[], userId: number): Promise {\n this.set(data, userId);\n return this.PermanentStore.store(data, userId);\n }\n\n public read(userId: number): Promise {\n return this.getIStoreData(userId).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IInvoiceApiData} from 'models/invoice/IInvoiceApiData';\n\nexport class InvoicePermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.InvoicePermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_invoice_${id}`;\n }\n\n public store(data: IInvoiceApiData[], id: number): Promise {\n return this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import Api from 'models/Api';\nimport {ISessionSignInRequestApiData, ISessionSignInResponseApiData} from 'models/session/ISessionApiData';\nimport Cookies from \"universal-cookie\";\nimport SessionCookieStore from \"models/session/SessionCookieStore\";\n\nexport class SessionApi {\n public static hasValidCredentials(): Promise {\n return Api.get('/api/v1/users/valid_session')\n .then(response => {\n return response;\n })\n .then(response => response.json())\n .then(json => json.valid);\n }\n\n public static hasValidAdminCredentials(): Promise {\n return Api.get('/api/v1/users/valid_admin_session')\n .then(response => response.json())\n .then(json => json.valid);\n }\n\n public static signIn(body: ISessionSignInRequestApiData): Promise {\n return Api.post('/api/v1/users/sign_in', {\n body: body\n })\n .then(response => response.json())\n }\n\n public static signOut(): Promise {\n return Api.post('/api/v1/users/sign_out', {}, 'json', false)\n .then(response => response.json())\n .then((_json) => {\n //SessionCookieStore.remove();\n });\n }\n}\n","import {backOff} from 'exponential-backoff';\nimport logger from 'loglevel';\nimport {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport SessionCookieStore from 'models/session/SessionCookieStore';\nimport {SessionApi} from 'models/session/SessionApi';\n\nexport class SessionProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'SessionProvider');\n }\n\n public userId(): number {\n return SessionCookieStore.userId();\n }\n\n public hasCredentials(): boolean {\n return SessionCookieStore.hasCredentials();\n }\n\n public clear(): void {\n logger.error('SessionProvider', 'clear()', 'Removing Session Cookie');\n return SessionCookieStore.clear();\n }\n\n public store(response): ApiResponseData {\n return SessionCookieStore.store(response);\n }\n\n private static logRetry(method: string): (e: any, attemptNumber: number) => boolean {\n return (e: any, attemptNumber: number): boolean => {\n logger.error('SessionProvider', method, e, 'retrying', attemptNumber);\n return true;\n };\n }\n\n public hasValidCredentials(): Promise {\n if (SessionCookieStore.hasCredentials()) {\n return backOff(() => SessionApi.hasValidCredentials(), {numOfAttempts: 1})\n .then(result => {\n if (!result) {\n logger.error('SessionProvider', 'hasValidCredentials()', 'Session does not have valid credentials');\n this.clear();\n }\n return result;\n })\n .catch(e => {\n logger.error('SessionProvider', 'hasValidCredentials()', e);\n this.clear();\n return false;\n });\n } else {\n return Promise.resolve(false);\n }\n }\n\n public hasValidAdminCredentials(): Promise {\n if (SessionCookieStore.hasCredentials()) {\n return backOff(() => SessionApi.hasValidAdminCredentials(), {numOfAttempts: 1})\n } else {\n return Promise.resolve(false);\n }\n }\n\n public authOnly(redirect_url: string = '/sign_in'): void {\n this.hasValidCredentials().then(result => {\n if (!result) {\n window.location.href = redirect_url;\n }\n });\n }\n\n public adminOnly(redirect_url: string = '/sign_in'): void {\n this.hasValidAdminCredentials()\n .then(result => {\n if (!result) {\n logger.error('SessionProvider', 'hasValidAdminCredentials()', 'Session does not have valid admin credentials');\n this.clear();\n window.location.href = redirect_url;\n }\n })\n .catch(e => {\n logger.error('SessionProvider', 'hasValidAdminCredentials()', e);\n window.location.href = redirect_url;\n })\n }\n\n public signIn(body): Promise {\n return SessionApi.signIn(body)\n .then(json => SessionCookieStore.store(json));\n }\n\n public signOut(): Promise {\n logger.info('SessionProvider', 'signOut()');\n return SessionApi.signOut()\n .catch((e) => console.log(e.message))\n .then(() => SessionCookieStore.clear())\n .then(() => super.resetAll());\n }\n}\n","import { AbstractStore } from 'models/AbstractStore';\nimport { RootStore } from 'models/RootStore';\nimport { Settings } from 'models/settings/Settings';\nimport { ISettingsApiData } from 'models/settings/ISettingsApiData';\nimport { ISettingsListener } from 'models/settings/ISettingsListener';\n\nexport class SettingsProvider extends AbstractStore {\n private listeners: ISettingsListener[] = [];\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'SettingsProvider');\n\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public async get(): Promise {\n const settings = await this.SettingsMemoryStore.read(this.SessionProvider.userId());\n return this.apiDataToModel(settings);\n }\n\n public async localSettings(): Promise {\n let settings: Settings | null = await this.get();\n if (!settings) {\n settings = new Settings(this).withDefaultValues(this.SessionProvider.userId());\n this.SettingsMemoryStore.store(settings.toData(), settings.user_id);\n }\n return settings;\n }\n\n public async update(param: Settings): Promise {\n this.notifyListeners(param);\n await this.SettingsMemoryStore.store(param.toData(), this.SessionProvider.userId());\n return await this.SettingsMemoryStore.read(this.SessionProvider.userId());\n }\n\n private apiDataToModel(settings: ISettingsApiData): Settings {\n return new Settings(this).withData(settings);\n }\n\n public registerUpdateListener(listener: ISettingsListener): void {\n this.listeners.push(listener);\n }\n\n public unregisterUpdateListener(listener: ISettingsListener): void {\n this.listeners = this.listeners.filter(l => l !== listener);\n }\n\n public notifyListeners(settings: Settings): void {\n this.listeners.forEach(l => l.onSettingsUpdate(settings));\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport _ from 'lodash';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {SettingsPermanentStore} from 'models/settings/SettingsPermanentStore';\nimport {ISettingsApiData} from 'models/settings/ISettingsApiData';\n\nexport class SettingsMemoryStore extends InMemoryStore {\n @observable private _settings: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'Settings');\n makeObservable(this);\n }\n\n protected get PermanentStore(): SettingsPermanentStore {\n return this.SettingsPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._settings = {};\n }\n\n @action\n public async loadFromPermanentStore(userId: number): Promise {\n const settings = await this.PermanentStore.read(userId);\n if (settings) {\n this.set(settings, userId);\n }\n }\n\n protected getIStoreData(userId: number): IStoreData {\n let data: IStoreData = this._settings[userId.toString()];\n if (!data) {\n data = new IStoreData(userId, null, this);\n this._settings[userId.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: ISettingsApiData, userId: number): void {\n this.getIStoreData(userId).setData(value);\n }\n\n @action\n public store(data: ISettingsApiData, userId: number): Promise {\n this.set(data, userId);\n return this.PermanentStore.store(data, userId);\n }\n\n public read(userId: number): Promise {\n return this.getIStoreData(userId).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {ISettingsApiData} from 'models/settings/ISettingsApiData';\n\nexport class SettingsPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.SettingsPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_settings_${id}`;\n }\n\n public async store(data: ISettingsApiData, id: number): Promise {\n return await this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public async read(id: number): Promise {\n return await this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import Api from 'models/Api';\nimport {IStoryLocalisationApiData} from 'models/storyLocalisation/IStoryLocalisationApiData';\n\nexport class StoryLocalisationApi {\n\n public static getAll(storyId: number): Promise {\n return Api.get(`/api/v1/stories/${storyId}/localisations`)\n .then(response => response.json())\n .then(json => json.story_localisations);\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {StoryLocalisation} from 'models/storyLocalisation/StoryLocalisation';\nimport {IStoryLocalisationApiData} from 'models/storyLocalisation/IStoryLocalisationApiData';\nimport {StoryLocalisationApi} from 'models/storyLocalisation/StoryLocalisationApi';\n\nexport class StoryLocalisationProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'StoryLocalisationProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public getAll(storyId: number, force: boolean = false): Promise {\n if (storyId == null) return Promise.resolve([]);\n if (force) return this.getAllFromApiAndUpdateStore(storyId);\n\n return this.StoryLocalisationMemoryStore.read(storyId)\n .then((localisations: IStoryLocalisationApiData[] | null) => {\n return localisations\n ? this.apiDataArrayToModelArray(localisations)\n : this.getAllFromApiAndUpdateStore(storyId);\n });\n }\n\n private getAllFromApiAndUpdateStore(storyId: number): Promise {\n return StoryLocalisationApi.getAll(storyId)\n .then((localisation: IStoryLocalisationApiData[]) => this.StoryLocalisationMemoryStore.store(localisation, storyId)\n .then(() => this.apiDataArrayToModelArray(localisation)));\n }\n\n private apiDataArrayToModelArray(storyLocalisations: IStoryLocalisationApiData[]): StoryLocalisation[] {\n return storyLocalisations.map(this.apiDataToModel);\n }\n\n private apiDataToModel(localisation: IStoryLocalisationApiData): StoryLocalisation {\n return new StoryLocalisation(this).withData(localisation);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {StoryLocalisationPermanentStore} from 'models/storyLocalisation/StoryLocalisationPermanentStore';\nimport {IStoryLocalisationApiData} from 'models/storyLocalisation/IStoryLocalisationApiData';\n\nexport class StoryLocalisationMemoryStore extends InMemoryStore {\n @observable private _localisations: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'Localisation');\n makeObservable(this);\n }\n\n protected get PermanentStore(): StoryLocalisationPermanentStore {\n return this.StoryLocalisationPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._localisations = {};\n }\n\n @action\n public loadFromPermanentStore(storyId: number): Promise {\n return this.PermanentStore.read(storyId)\n .then((localisations: IStoryLocalisationApiData[] | null) => {\n if (localisations) {\n this.set(localisations, storyId);\n }\n });\n }\n\n protected getIStoreData(storyId: number): IStoreData {\n let data: IStoreData = this._localisations[storyId.toString()];\n if (!data) {\n data = new IStoreData(storyId, null, this);\n this._localisations[storyId.toString()] = data;\n }\n return data;\n }\n\n @action\n protected set(value: IStoryLocalisationApiData[], storyId: number): void {\n this.getIStoreData(storyId).setData(value);\n }\n\n @action\n public store(data: IStoryLocalisationApiData[], storyId: number): Promise {\n this.set(data, storyId);\n return this.PermanentStore.store(data, storyId);\n }\n\n public read(storyId: number): Promise {\n let data = this.getIStoreData(storyId);\n\n return data.LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IStoryLocalisationApiData} from 'models/storyLocalisation/IStoryLocalisationApiData';\n\nexport class StoryLocalisationPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.StoryLocalisationPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_story_localisation_${id}`;\n }\n\n public store(data: IStoryLocalisationApiData[], id: number): Promise {\n return this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import _ from 'lodash';\n\nimport {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {Story} from 'models/story/Story';\nimport {IStoryApiData} from 'models/story/IStoryApiData';\nimport {StoryApi} from 'models/story/StoryApi';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {IRole, IStoryUpdateApiData} from 'models/story/IStoryUpdateApiData';\n\nexport class StoryProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'StoryProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public getAll(): Promise {\n return this.getAllFromApiAndUpdateStore();\n }\n\n public getFavourites(): Promise {\n return this.getFavouritesFromApiAndUpdateStore();\n }\n\n public getRelated(id: number): Promise {\n return this.getRelatedFromApiAndUpdateStore(id);\n }\n\n public get(id: number, story: Story = new Story(this), force: boolean = false): Promise {\n if (id == null) return Promise.reject('Story Id is null');\n if (force) return this.getFromApiAndUpdateStore(id, story);\n\n return this.StoryMemoryStore.read(id)\n .then((apiData: IStoryApiData | null) => {\n return apiData\n ? this.apiDataToModel(apiData)\n : this.getFromApiAndUpdateStore(id, story);\n });\n }\n\n public create(story: Story): Promise {\n return StoryApi.create(story);\n }\n\n public update(id: number, data: IStoryUpdateApiData): Promise {\n return StoryApi.update(id, data);\n }\n\n private getAllFromApiAndUpdateStore(): Promise {\n return StoryApi.getAll()\n .then((stories: IStoryApiData[]) => this.StoryMemoryStore.storeAll(stories)\n .then(() => this.apiDataArrayToModelArray(stories)));\n }\n\n private getFavouritesFromApiAndUpdateStore(): Promise {\n return StoryApi.getFavourites()\n .then((stories: IStoryApiData[]) => this.StoryMemoryStore.storeAll(stories)\n .then(() => this.apiDataArrayToModelArray(stories)));\n }\n\n private getRelatedFromApiAndUpdateStore(id: number): Promise {\n return this.StoryMemoryStore.read(id)\n .then((apiData: IStoryApiData | null) => apiData || StoryApi.get(id))\n .then((apiData: IStoryApiData) => {\n if (apiData.related) return Promise.all(_.map(apiData.related, relatedId => this.get(relatedId)))\n\n return StoryApi.getRelated(id)\n .then((stories: IStoryApiData[]) =>\n this.StoryMemoryStore.storeAll(stories)\n .then(() => apiData.related = _.map(stories, story => story.id))\n .then(() => this.StoryMemoryStore.store(apiData))\n .then(() => this.apiDataArrayToModelArray(stories)));\n });\n }\n\n private getFromApiAndUpdateStore(id: number, story: Story = new Story(this)): Promise {\n return StoryApi.get(id)\n .then((apiData: IStoryApiData) => this.StoryMemoryStore.store(apiData)\n .then(() => this.apiDataToModel(apiData, story)));\n }\n\n public getCredits(id: number): Promise {\n return StoryApi.getCredits(id);\n }\n\n private apiDataArrayToModelArray(stories: IStoryApiData[]): Story[] {\n return stories.map((apiData: IStoryApiData) => this.apiDataToModel(apiData));\n }\n\n private apiDataToModel(apiData: IStoryApiData, story: Story = new Story(this)): Story {\n return story.withData(apiData);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {StoryPermanentStore} from 'models/story/StoryPermanentStore';\nimport {IStoryApiData} from 'models/story/IStoryApiData';\n\nexport class StoryMemoryStore extends InMemoryStore {\n @observable private _stories: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'Story');\n makeObservable(this);\n }\n\n protected get PermanentStore(): StoryPermanentStore {\n return this.StoryPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._stories = {};\n }\n\n @action\n public loadFromPermanentStore(id: number): Promise {\n return this.PermanentStore.read(id)\n .then((data: IStoryApiData | null) => {\n if (data) {\n this.set(data);\n }\n });\n }\n\n @action\n protected setAll(values: IStoryApiData[]): void {\n values.map(value => this.set(value));\n }\n\n protected getIStoreData(id: number): IStoreData {\n let data: IStoreData = this._stories[id.toString()];\n if (!data) {\n data = new IStoreData(id, null, this);\n this._stories[id.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: IStoryApiData): void {\n this.getIStoreData(value.id).setData(value);\n }\n\n @action\n public storeAll(dataArray: IStoryApiData[]): Promise {\n return Promise.all(dataArray.map((data: IStoryApiData) => this.store(data)))\n }\n\n @action\n public store(data: IStoryApiData): Promise {\n this.set(data);\n return this.PermanentStore.store(data);\n }\n\n public read(id: number): Promise {\n return this.getIStoreData(id).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IStoryApiData} from 'models/story/IStoryApiData';\n\nexport class StoryPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.StoryPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_stories_${id}`;\n }\n\n public store(data: IStoryApiData): Promise {\n return this.doStore(this.TableName, this.getKey(data.id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import {SortOrder} from 'antd/lib/table/interface';\n\nimport Api from 'models/Api';\nimport {SearchApi} from 'models/SearchApi';\nimport {IStoryReleaseSearchApiData} from 'models/storyRelease/IStoryReleaseSearchApiData';\nimport {\n IStoryReleaseApiDataCreateRequest,\n IStoryReleaseApiDataGetResponse,\n IStoryReleaseApiDataUpdateRequest\n} from 'models/storyRelease/IStoryReleaseApiData';\n\nexport type IStoryReleaseApiSearchOrdering = 'id' | 'active' | 'created_at';\n\nexport interface IStoryReleaseApiSearchFilterParams {\n id?: string;\n active?: boolean;\n created_at?: string;\n order_by?: IStoryReleaseApiSearchOrdering;\n order?: SortOrder;\n}\n\nexport interface IStoryReleaseApiSearchParams {\n story_ids?: number[];\n page?: number;\n page_size?: number;\n filters?: IStoryReleaseApiSearchFilterParams\n}\n\nexport class StoryReleaseApi {\n\n public static create(storyRelease: IStoryReleaseApiDataCreateRequest): Promise {\n return Api.post('/api/v1/story_releases', {\n body: JSON.stringify({\n story_release: storyRelease\n })\n })\n .then(response => response.json())\n .then(json => json.story_release);\n }\n\n public static getAll(storyId: number | null = null): Promise {\n let request: Promise;\n if (storyId) {\n request = Api.get(`/api/v1/stories/${storyId}/story_releases`)\n } else {\n request = Api.get(`/api/v1/story_releases`)\n }\n\n return request\n .then(response => response.json())\n .then(json => json.story_releases);\n }\n\n public static getStoryReleaseSearch(searchParams?: IStoryReleaseApiSearchParams): Promise {\n let query: string[] = [];\n let queryStr = ''\n if (searchParams) {\n const {story_ids} = searchParams;\n if (story_ids && story_ids.length > 0) {\n query.push(`story_ids=${searchParams.story_ids.join(',')}`);\n }\n queryStr = SearchApi.buildQueryFromParams(searchParams, query);\n }\n\n return Api.get(`/api/v1/story_releases/search${queryStr}`)\n .then(response => response.json());\n }\n\n public static update(id: number, data: IStoryReleaseApiDataUpdateRequest): Promise {\n return Api.put(`/api/v1/story_releases/${id}`, {\n body: JSON.stringify({\n story_release: data\n })\n })\n .then(response => response.json())\n .then(json => json.story_release);\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {StoryRelease} from 'models/storyRelease/StoryRelease';\nimport {IStoryReleaseApiSearchParams, StoryReleaseApi} from 'models/storyRelease/StoryReleaseApi';\nimport {IStoryReleaseSearchApiData, StoryReleaseSearchData} from 'models/storyRelease/IStoryReleaseSearchApiData';\nimport {\n IStoryReleaseApiDataCreateRequest,\n IStoryReleaseApiDataGetResponse,\n IStoryReleaseApiDataUpdateRequest\n} from 'models/storyRelease/IStoryReleaseApiData';\n\nexport class StoryReleaseProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'StoryReleaseProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public create(storyReleaseApiData: IStoryReleaseApiDataCreateRequest): Promise {\n return StoryReleaseApi.create(storyReleaseApiData)\n .then((response: IStoryReleaseApiDataGetResponse) => {\n return this.StoryReleaseMemoryStore.storeOne(response, response.story_id)\n .then(() => response);\n });\n }\n\n public getAllForStory(storyId: number | null = null, force: boolean = false): Promise {\n if (force) {\n this.StoryReleaseMemoryStore.resetAll()\n return this.getAllForStoryFromApiAndUpdateStore(storyId);\n }\n\n return this.StoryReleaseMemoryStore.read(storyId)\n .then((releases: IStoryReleaseApiDataGetResponse[]) => {\n return releases\n ? this.apiDataArrayToModelArray(releases)\n : this.getAllForStoryFromApiAndUpdateStore(storyId);\n });\n }\n\n private getAllForStoryFromApiAndUpdateStore(storyId: number | null = null): Promise {\n return StoryReleaseApi.getAll(storyId)\n .then((storyReleases: IStoryReleaseApiDataGetResponse[]) => this.StoryReleaseMemoryStore.store(storyReleases, storyId)\n .then(() => this.apiDataArrayToModelArray(storyReleases)));\n }\n\n private apiDataArrayToModelArray(storyReleases: IStoryReleaseApiDataGetResponse[]): StoryRelease[] {\n return storyReleases.map(this.apiDataToModel);\n }\n\n private apiDataToModel(storyRelease: IStoryReleaseApiDataGetResponse): StoryRelease {\n return new StoryRelease(this).withData(storyRelease);\n }\n\n public getStoryReleaseSearch(searchParams: IStoryReleaseApiSearchParams): Promise {\n return StoryReleaseApi.getStoryReleaseSearch(searchParams)\n .then((data: IStoryReleaseSearchApiData) => ({\n page: data.page,\n page_size: data.page_size,\n total: data.total,\n story_releases: this.apiDataArrayToModelArray(data.story_releases)\n }));\n }\n\n public update(id: number, data: IStoryReleaseApiDataUpdateRequest): Promise {\n return StoryReleaseApi.update(id, data);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport _ from 'lodash';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {StoryReleasePermanentStore} from 'models/storyRelease/StoryReleasePermanentStore';\nimport {IStoryReleaseApiDataGetResponse} from 'models/storyRelease/IStoryReleaseApiData';\n\nexport class StoryReleaseMemoryStore extends InMemoryStore {\n @observable private _releases: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'StoryRelease');\n makeObservable(this);\n }\n\n protected get PermanentStore(): StoryReleasePermanentStore {\n return this.StoryReleasePermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._releases = {};\n }\n\n @action\n public loadFromPermanentStore(storyId: number): Promise {\n return this.PermanentStore.read(storyId)\n .then((releases: IStoryReleaseApiDataGetResponse[] | null) => {\n if (releases) {\n this.set(releases, storyId);\n }\n });\n }\n\n protected getIStoreData(storyId: number): IStoreData {\n let data: IStoreData = this._releases[storyId.toString()];\n if (!data) {\n data = new IStoreData(storyId, null, this);\n this._releases[storyId.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: IStoryReleaseApiDataGetResponse[], storyId: number): void {\n this.getIStoreData(storyId).setData(value);\n }\n\n @action\n public storeOne(item: IStoryReleaseApiDataGetResponse, storyId: number): Promise {\n return this.PermanentStore.read(storyId)\n .then((data: IStoryReleaseApiDataGetResponse[] | null) => !data ? [] : data)\n .then((data: IStoryReleaseApiDataGetResponse[]) => {\n let index: number = _.findIndex(data, (storedItem: IStoryReleaseApiDataGetResponse) => storedItem.id === item.id);\n if (index < 0) {\n // Item does not exist, add it\n data.push(item);\n } else {\n // Item already exists, delete it and replace it with the new one\n data.splice(index, 1, item);\n }\n this.set(data, storyId);\n return this.PermanentStore.store(data, storyId);\n });\n }\n\n @action\n public store(data: IStoryReleaseApiDataGetResponse[], storyId: number): Promise {\n this.set(data, storyId);\n return this.PermanentStore.store(data, storyId);\n }\n\n public read(storyId: number): Promise {\n return this.getIStoreData(storyId).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IStoryReleaseApiDataGetResponse} from 'models/storyRelease/IStoryReleaseApiData';\n\nexport class StoryReleasePermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.StoryReleasePermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_story_releases_${id}`;\n }\n\n public store(data: IStoryReleaseApiDataGetResponse[], id: number): Promise {\n return this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport Value from 'helpers/Value';\nimport {StorySessionProvider} from 'models/storySession/StorySessionProvider';\nimport {IStorySessionApiDataGetResponse} from 'models/storySession/IStorySessionApiData';\n\nexport class StorySession {\n private readonly provider: StorySessionProvider;\n\n @observable public remote_id: number;\n @observable public local_id: number;\n\n @observable public story_id: number;\n @observable public user_id: number;\n @observable public started_at: Date;\n @observable public changed_at: Date;\n @observable public finished_at: Date;\n @observable public exited_at: Date;\n @observable public duration: number;\n @observable public current_asset_bundle: string;\n @observable public current_scene: string;\n @observable public changed_locally: boolean;\n\n constructor(provider: StorySessionProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number): StorySession {\n this.remote_id = id;\n return this;\n }\n\n public withData(data: IStorySessionApiDataGetResponse): StorySession {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IStorySessionApiDataGetResponse): void {\n this.remote_id = data.id;\n this.local_id = data.local_id;\n this.story_id = data.story_id;\n this.user_id = data.user_id;\n\n this.started_at = Value.dateOrNull(data.started_at);\n this.changed_at = Value.dateOrNull(data.changed_at);\n this.finished_at = Value.dateOrNull(data.finished_at);\n this.exited_at = Value.dateOrNull(data.exited_at);\n\n this.duration = data.duration;\n this.current_asset_bundle = data.current_asset_bundle;\n this.current_scene = data.current_scene;\n this.changed_locally = false;\n }\n\n public finished(): boolean {\n return this.finished_at != null;\n }\n}\n","import Api from 'models/Api';\nimport {\n IStorySessionApiDataGetResponse,\n IStorySessionApiDataUpdateRequest\n} from 'models/storySession/IStorySessionApiData';\n\nexport class StorySessionApi {\n public static start(storyId: number, data?: IStorySessionApiDataUpdateRequest): Promise {\n console.log(`StorySessionApi.start called with storyId: ${storyId} and data: ${JSON.stringify(data)}`);\n let params = data ? {body: JSON.stringify(data)} : {};\n return Api.post(`/api/v1/stories/${storyId}/story_session/start`, params)\n .then(response => response.json());\n }\n\n public static async finish(storyId: number, storySessionId: number, changedAt?: Date): Promise {\n console.log(`StorySessionApi.finish called with storyId: ${storyId} and storySessionId: ${storySessionId}`);\n let params = changedAt ? {body: JSON.stringify({changedAt: changedAt})} : {};\n let response = await Api.post(`/api/v1/stories/${storyId}/story_session/${storySessionId}/finish`, params);\n return await response.json();\n }\n\n public static exit(storyId: number, storySessionId: number): Promise {\n console.log(`StorySessionApi.exit called with storyId: ${storyId} and storySessionId: ${storySessionId}`);\n return Api.post(`/api/v1/stories/${storyId}/story_session/${storySessionId}/exit`)\n .then(response => response.json());\n }\n\n public static update(storyId: number, storySessionId: number, data: IStorySessionApiDataUpdateRequest): Promise {\n console.log(`StorySessionApi.update called with storyId: ${storyId}, storySessionId: ${storySessionId} and data: ${JSON.stringify(data)}`);\n return Api.put(`/api/v1/stories/${storyId}/story_session/${storySessionId}`, {\n body: JSON.stringify({\n story_session: data\n })\n })\n .then(response => response.json());\n }\n\n public static getCurrentSessionForStory(storyId: number | null = null): Promise {\n console.log(`StorySessionApi.getCurrentSessionForStory called with storyId: ${storyId}`);\n return Api.get(`/api/v1/stories/${storyId}/story_session/`)\n .then(response => response.json());\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {StorySession} from 'models/storySession/StorySession';\nimport {StorySessionApi} from 'models/storySession/StorySessionApi';\nimport {\n IStorySessionApiDataGetResponse,\n IStorySessionApiDataUpdateRequest\n} from 'models/storySession/IStorySessionApiData';\n\nexport class StorySessionProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'StorySessionProvider');\n\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public start(storyId: number, data?: IStorySessionApiDataUpdateRequest): Promise {\n return StorySessionApi.start(storyId, data)\n .then((response: IStorySessionApiDataGetResponse) => {\n return this.StorySessionMemoryStore.store(response, storyId)\n .then(() => this.apiDataToModel(response));\n });\n }\n\n public async finish(storyId: number): Promise {\n let now = new Date();\n\n let storySession = await this.getApiDataForStory(storyId);\n storySession.changed_at = now;\n storySession.finished_at = now;\n storySession.changed_locally = true;\n await this.StorySessionMemoryStore.store(storySession, storyId)\n if (storySession?.id) {\n let response = await StorySessionApi.finish(storyId, storySession.id, storySession.changed_at);\n await this.StorySessionMemoryStore.store(response, storyId);\n return this.apiDataToModel(response);\n }\n }\n\n public exit(storyId: number): Promise {\n return this.getForStory(storyId)\n .then(storySession => {\n if (storySession?.remote_id) {\n return this.exitById(storyId, storySession.remote_id);\n }\n });\n }\n\n private exitById(storyId: number, storySessionId: number): Promise {\n return StorySessionApi.exit(storyId, storySessionId)\n .then((response: IStorySessionApiDataGetResponse) => {\n return this.StorySessionMemoryStore.store(response, storyId)\n .then(() => this.apiDataToModel(response));\n });\n }\n\n public update(storyId: number, data: IStorySessionApiDataUpdateRequest): Promise {\n return this.getForStory(storyId)\n .then(storySession => !storySession?.remote_id\n ? StorySessionApi.start(storyId, data)\n : StorySessionApi.update(storyId, storySession.remote_id, data))\n .then((response: IStorySessionApiDataGetResponse) => {\n return this.StorySessionMemoryStore.store(response, storyId)\n .then(() => this.apiDataToModel(response));\n });\n }\n\n public async getForStory(storyId: number | null = null, force: boolean = false): Promise {\n let storySession = await this.getApiDataForStory(storyId, force);\n if (storySession) return this.apiDataToModel(storySession);\n return null;\n }\n\n private async getApiDataForStory(storyId: number | null = null, force: boolean = false): Promise {\n try {\n if (!force) {\n let session = await this.StorySessionMemoryStore.read(storyId);\n if (session) return session;\n }\n return await this.getCurrentSessionForStoryFromApiAndUpdateStore(storyId);\n } catch (e) {\n return null;\n }\n }\n\n private async getCurrentSessionForStoryFromApiAndUpdateStore(storyId: number | null = null): Promise {\n let storySession = await StorySessionApi.getCurrentSessionForStory(storyId);\n if (storySession != null) await this.StorySessionMemoryStore.store(storySession, storyId);\n return storySession;\n }\n\n private apiDataToModel(storySession: IStorySessionApiDataGetResponse): StorySession {\n return new StorySession(this).withData(storySession);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {StorySessionPermanentStore} from 'models/storySession/StorySessionPermanentStore';\nimport {IStorySessionApiDataGetResponse} from 'models/storySession/IStorySessionApiData';\n\nexport class StorySessionMemoryStore extends InMemoryStore {\n @observable private _sessions: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'StorySession');\n makeObservable(this);\n }\n\n protected get PermanentStore(): StorySessionPermanentStore {\n return this.StorySessionPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._sessions = {};\n }\n\n @action\n public loadFromPermanentStore(storyId: number): Promise {\n return this.PermanentStore.read(storyId)\n .then((session: IStorySessionApiDataGetResponse | null) => {\n if (session) {\n this.set(session, storyId);\n }\n });\n }\n\n protected getIStoreData(storyId: number): IStoreData {\n let data: IStoreData = this._sessions[storyId.toString()];\n if (!data) {\n data = new IStoreData(storyId, null, this);\n this._sessions[storyId.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: IStorySessionApiDataGetResponse, storyId: number): void {\n this.getIStoreData(storyId).setData(value);\n }\n\n @action\n public store(data: IStorySessionApiDataGetResponse, storyId: number): Promise {\n this.set(data, storyId);\n return this.PermanentStore.store(data, storyId);\n }\n\n public read(storyId: number): Promise {\n return this.getIStoreData(storyId).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IStorySessionApiDataGetResponse} from 'models/storySession/IStorySessionApiData';\n\nexport class StorySessionPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.StorySessionPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_story_session_${id}`;\n }\n\n public store(data: IStorySessionApiDataGetResponse, id: number): Promise {\n return this.doStore(this.TableName, this.getKey(id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {ISubscriptionApiData, ISubscriptionUpdateApiData} from 'models/subscription/ISubscriptionApiData';\nimport {IUserApiData} from 'models/user/IUserApiData';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {ISubscriptionSearchApiData, SubscriptionSearchData} from 'models/subscription/ISubscriptionSearchApiData';\nimport {ISubscriptionApiSearchParams, SubscriptionApi} from 'models/subscription/SubscriptionApi';\nimport {Subscription} from 'models/subscription/Subscription';\n\nexport class SubscriptionProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'SubscriptionProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public get(id: number): Promise {\n return SubscriptionApi.get(id);\n }\n\n public getAll() {\n return SubscriptionApi.getAll();\n }\n\n public hasValidSubscription(user_id: number = this.SessionProvider.userId()): Promise {\n return SubscriptionApi.hasValidSubscription(user_id);\n }\n\n public userSubscriptions(user_id: number = this.SessionProvider.userId()): Promise {\n return SubscriptionApi.userSubscriptions(user_id);\n }\n\n public createSubscription(body: {\n user_id: number,\n subscription_plan_id: number,\n subscription_plan_key?: string,\n billing_address_id?: number,\n stripe_setup_intent?: string,\n credit_card_id?: number,\n coupon_id?: number\n }): Promise {\n return SubscriptionApi.createSubscription(body);\n }\n\n public getSubscribers(subscription_id: number): Promise {\n return SubscriptionApi.getSubscribers(subscription_id);\n }\n\n public cancelSubscription(subscription_id: number): Promise {\n return SubscriptionApi.cancelSubscription(subscription_id);\n }\n\n public resumeSubscription(subscription_id: number): Promise {\n return SubscriptionApi.resumeSubscription(subscription_id);\n }\n\n public promoteToManager(subscription_id: number, body: { user_id: number }): Promise {\n return SubscriptionApi.promoteToManager(subscription_id, body);\n }\n\n public addSubscribersToSubscription(subscription_id: number, body: {\n subscriber_ids: string[]\n }): Promise {\n return SubscriptionApi.addSubscribersToSubscription(subscription_id, body);\n }\n\n public leaveSubscription(subscription_id: number): Promise {\n return SubscriptionApi.leaveSubscription(subscription_id);\n }\n\n public kickSubscriber(subscription_id: number, body: { subscriber_ids: number[] }): Promise {\n return SubscriptionApi.kickSubscriber(subscription_id, body);\n }\n\n public countSubscriptions(searchParams?: { subscription_plan_ids?: number[] }): Promise {\n return SubscriptionApi.countSubscriptions(searchParams);\n }\n\n public getSubscriptionSearch(searchParams?: ISubscriptionApiSearchParams): Promise {\n return SubscriptionApi.getSubscriptionSearch(searchParams)\n .then((data: ISubscriptionSearchApiData) => ({\n page: data.page,\n page_size: data.page_size,\n total: data.total,\n subscriptions: this.apiDataArrayToModelArray(data.subscriptions)\n }));\n }\n\n public getSubscriptions(subscription_ids: number[]) {\n return SubscriptionApi.getSubscriptions(subscription_ids);\n }\n\n public fetchAll() {\n return SubscriptionApi.getAll().then(this.apiDataArrayToModelArray);\n }\n\n public fetchAllForUser(user_id: number = this.SessionProvider.userId()): Promise {\n if (user_id == null) return this.fetchAll();\n return SubscriptionApi.userSubscriptions(user_id).then(this.apiDataArrayToModelArray);\n }\n\n public update(id: number, params: ISubscriptionUpdateApiData): Promise {\n return SubscriptionApi.update(id, params);\n }\n\n public apiDataArrayToModelArray(apiSubscriptions?: ISubscriptionApiData[]): Subscription[] {\n return apiSubscriptions ? apiSubscriptions.map(this.apiDataToModel) : [];\n }\n\n private apiDataToModel(data: ISubscriptionApiData): Subscription {\n return new Subscription(this).withData(data);\n }\n}\n","import Api from 'models/Api';\nimport {ISubscriptionPlanApiData} from 'models/subscriptionPlan/ISubscriptionPlanApiData';\nimport {ISubscriptionPlanKeyApiData} from 'models/subscriptionPlan/ISubscriptionPlanKeyApiData';\nimport {ISubscriptionPlanUpdateApiData} from 'models/subscriptionPlan/ISubscriptionPlanUpdateApiData';\n\nexport class SubscriptionPlanApi {\n public static get(id: number): Promise {\n return Api.get(`/api/v1/subscription_plans/${id}`)\n .then(response => response.json())\n .then(json => json.subscription_plan);\n }\n\n public static getCurrentPlan(): Promise {\n return Api.get(`/api/v1/subscription_plans/current`)\n .then(response => response.json())\n .then(json => json.subscription_plan);\n }\n\n public static getAll(): Promise {\n return Api.get('/api/v1/subscription_plans')\n .then(response => response.json())\n .then(json => json.subscription_plans);\n }\n\n public static getAllValid(): Promise {\n return Api.get('/api/v1/subscription_plans?valid=true')\n .then(response => response.json())\n .then(json => json.subscription_plans);\n }\n\n public static getAllAdmin(): Promise {\n return Api.get('/api/v1/subscription_plans/all')\n .then(response => response.json())\n .then(json => json.subscription_plans);\n }\n\n public static create(data: { subscription_plan: ISubscriptionPlanUpdateApiData }): Promise {\n return Api.post(`/api/v1/subscription_plans`, {\n body: JSON.stringify(data)\n }).then(response => response.json())\n .then(json => json.subscription_plan);\n }\n\n public static update(id: number, data: ISubscriptionPlanUpdateApiData): Promise {\n console.log('Updating with data', data);\n return Api.put(`/api/v1/subscription_plans/${id}`, {\n body: JSON.stringify(data)\n }).then(response => response.json())\n .then(json => json.subscription_plan);\n }\n\n public static getKeys(id: number): Promise {\n return Api.get(`/api/v1/subscription_plans/${id}/keys`)\n .then(response => response.json())\n .then(json => json.keys);\n }\n\n public static generateKeys(id: number, amount: number): Promise<{ keys: ISubscriptionPlanKeyApiData[], key_required: boolean }> {\n return Api.post(`/api/v1/subscription_plans/${id}/keys/generate`, {\n body: JSON.stringify({\n amount: amount\n })\n })\n .then(response => response.json());\n }\n\n public static activateKeys(id: number, keys: string[]): Promise {\n return Api.post(`/api/v1/subscription_plans/${id}/keys/activate`, {\n body: JSON.stringify({\n keys: keys\n })\n })\n .then(response => response.json())\n .then(json => json.keys);\n }\n\n public static deactivateKeys(id: number, keys: string[]): Promise {\n return Api.post(`/api/v1/subscription_plans/${id}/keys/deactivate`, {\n body: JSON.stringify({\n keys: keys\n })\n })\n .then(response => response.json())\n .then(json => json.keys);\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\nimport {ISubscriptionPlanApiData} from 'models/subscriptionPlan/ISubscriptionPlanApiData';\nimport {SubscriptionPlanApi} from 'models/subscriptionPlan/SubscriptionPlanApi';\nimport {ISubscriptionPlanUpdateApiData} from 'models/subscriptionPlan/ISubscriptionPlanUpdateApiData';\nimport {ISubscriptionPlanKeyApiData} from 'models/subscriptionPlan/ISubscriptionPlanKeyApiData';\n\nexport class SubscriptionPlanProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'SubscriptionPlanProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public get(id: number, force: boolean = false): Promise {\n if (force) return this.getFromApiAndUpdateStore(id);\n\n return this.SubscriptionPlanMemoryStore.read(id)\n .then((apiData: ISubscriptionPlanApiData | null) => {\n return apiData\n ? this.apiDataToModel(apiData)\n : this.getFromApiAndUpdateStore(id);\n });\n }\n\n public current(): Promise {\n return this.getCurrentFromApiAndUpdateStore();\n }\n\n public fetchAll(): Promise {\n return this.getAllFromApiAndUpdateStore();\n }\n\n public fetchAllForUser(user_id: number = this.SessionProvider.userId()): Promise {\n if (user_id == null) return this.fetchAll();\n return SubscriptionPlanApi.getAllValid().then(this.apiDataArrayToModelArray);\n }\n\n public fetchAllAdmin(): Promise {\n return this.getAllAdminFromApiAndUpdateStore();\n }\n\n public create(data: { subscription_plan: ISubscriptionPlanUpdateApiData }): Promise {\n return SubscriptionPlanApi.create(data);\n }\n\n public update(id: number, data: ISubscriptionPlanUpdateApiData): Promise {\n return SubscriptionPlanApi.update(id, data);\n }\n\n public getKeys(id: number): Promise {\n return SubscriptionPlanApi.getKeys(id);\n }\n\n public generateKeys(id: number, amount: number): Promise<{\n keys: ISubscriptionPlanKeyApiData[],\n key_required: boolean\n }> {\n return SubscriptionPlanApi.generateKeys(id, amount);\n }\n\n public activateKeys(id: number, keys: string[]): Promise {\n return SubscriptionPlanApi.activateKeys(id, keys);\n }\n\n public deactivateKeys(id: number, keys: string[]): Promise {\n return SubscriptionPlanApi.deactivateKeys(id, keys);\n }\n\n private getFromApiAndUpdateStore(id: number): Promise {\n return SubscriptionPlanApi.get(id)\n .then((plan: ISubscriptionPlanApiData) => this.SubscriptionPlanMemoryStore.store(plan)\n .then(() => this.apiDataToModel(plan)));\n }\n\n private getCurrentFromApiAndUpdateStore(): Promise {\n return SubscriptionPlanApi.getCurrentPlan().then((plan: ISubscriptionPlanApiData) => this.SubscriptionPlanMemoryStore.store(plan)\n .then(() => this.apiDataToModel(plan)));\n }\n\n private getAllFromApiAndUpdateStore(): Promise {\n return SubscriptionPlanApi.getAll()\n .then((plans: ISubscriptionPlanApiData[]) => this.SubscriptionPlanMemoryStore.storeAll(plans)\n .then(() => this.apiDataArrayToModelArray(plans)));\n }\n\n private getAllAdminFromApiAndUpdateStore(): Promise {\n return SubscriptionPlanApi.getAllAdmin()\n .then((plans: ISubscriptionPlanApiData[]) => this.SubscriptionPlanMemoryStore.storeAll(plans)\n .then(() => this.apiDataArrayToModelArray(plans)));\n }\n\n private apiDataArrayToModelArray(apiPlans?: ISubscriptionPlanApiData[]): SubscriptionPlan[] {\n return apiPlans ? apiPlans.map(this.apiDataToModel) : [];\n }\n\n private apiDataToModel(data: ISubscriptionPlanApiData) {\n return new SubscriptionPlan(this).withData(data);\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {SubscriptionPlanPermanentStore} from 'models/subscriptionPlan/SubscriptionPlanPermanentStore';\nimport {ISubscriptionPlanApiData} from 'models/subscriptionPlan/ISubscriptionPlanApiData';\n\nexport class SubscriptionPlanMemoryStore extends InMemoryStore {\n @observable private _subscriptionPlans: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'SubscriptionPlan');\n makeObservable(this);\n }\n\n protected get PermanentStore(): SubscriptionPlanPermanentStore {\n return this.SubscriptionPlanPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._subscriptionPlans = {};\n }\n\n @action\n public loadFromPermanentStore(id: number): Promise {\n return this.PermanentStore.read(id)\n .then((plan: ISubscriptionPlanApiData | null) => {\n if (plan) {\n this.set(plan);\n }\n });\n }\n\n @action\n protected setAll(values: ISubscriptionPlanApiData[]): void {\n values.map(value => this.set(value));\n }\n\n protected getIStoreData(id: number): IStoreData {\n let data: IStoreData = this._subscriptionPlans[id.toString()];\n if (!data) {\n data = new IStoreData(id, null, this);\n this._subscriptionPlans[id.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: ISubscriptionPlanApiData): void {\n this.getIStoreData(value.id).setData(value);\n }\n\n @action\n public storeAll(dataArray: ISubscriptionPlanApiData[]): Promise {\n return Promise.all(dataArray.map((data: ISubscriptionPlanApiData) => this.store(data)))\n }\n\n @action\n public store(data: ISubscriptionPlanApiData): Promise {\n this.set(data);\n return this.PermanentStore.store(data);\n }\n\n public read(id: number): Promise {\n return this.getIStoreData(id).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {ISubscriptionPlanApiData} from 'models/subscriptionPlan/ISubscriptionPlanApiData';\n\nexport class SubscriptionPlanPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.SubscriptionPlanPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_subscription_plan_${id}`;\n }\n\n public store(data: ISubscriptionPlanApiData): Promise {\n return this.doStore(this.TableName, this.getKey(data.id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import Api from 'models/Api';\nimport {\n IUniverseApiCreateRequest,\n IUniverseApiResponseData,\n IUniverseApiUpdateRequest\n} from 'models/universe/IUniverseApiData';\n\nexport class UniverseApi {\n public static create(data: IUniverseApiCreateRequest): Promise {\n return Api.post('/api/v1/universes', {\n body: JSON.stringify(data)\n })\n .then(response => response.json())\n .then(json => json.universe);\n }\n\n public static update(id: number, data: IUniverseApiUpdateRequest): Promise {\n return Api.put(`/api/v1/universes/${id}`, {\n body: JSON.stringify(data)\n })\n .then(response => response.json())\n .then(json => json.universe);\n }\n\n public static getAll(): Promise {\n return Api.get(`/api/v1/universes`)\n .then(response => response.json())\n .then(json => json.universes);\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {Universe} from 'models/universe/Universe';\nimport {UniverseApi} from 'models/universe/UniverseApi';\nimport {\n IUniverseApiCreateRequest,\n IUniverseApiResponseData,\n IUniverseApiUpdateRequest\n} from 'models/universe/IUniverseApiData';\n\nexport class UniverseProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'UniverseProvider');\n\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public getAll(): Promise {\n return UniverseApi.getAll()\n .then((universes: IUniverseApiResponseData[]) => this.apiDataArrayToModelArray(universes));\n }\n\n public create(data: IUniverseApiCreateRequest): Promise {\n return UniverseApi.create(data)\n .then((apiData: IUniverseApiResponseData) => this.apiDataToModel(apiData));\n }\n\n public update(universeId: number, data: IUniverseApiUpdateRequest, universe: Universe = new Universe(this)): Promise {\n return UniverseApi.update(universeId, data)\n .then((apiData: IUniverseApiResponseData) => this.apiDataToModel(apiData, universe));\n }\n\n private apiDataArrayToModelArray(universes: IUniverseApiResponseData[]): Universe[] {\n return universes.map((apiData: IUniverseApiResponseData) => this.apiDataToModel(apiData));\n }\n\n private apiDataToModel(apiData: IUniverseApiResponseData, universe: Universe = new Universe(this)): Universe {\n return universe.withData(apiData);\n }\n}\n","import {AbstractStore} from 'models/AbstractStore';\nimport {RootStore} from 'models/RootStore';\nimport {User} from 'models/user/User';\nimport {IUserApiSearchParams, UserApi} from 'models/user/UserApi';\nimport {\n IUserApiData,\n IUserApiDataDeleteRequest,\n IUserApiDataEmailUpdateRequest,\n IUserApiDataNameUpdateRequest,\n IUserApiDataPasswordUpdateRequest,\n IUserApiDataStatsResponse,\n IUserApiDataUpdateRequest\n} from 'models/user/IUserApiData';\nimport {IUserSearchApiData, UserSearchData} from 'models/user/IUserSearchApiData';\nimport {ApiResponseData} from 'models/ApiResponseData';\n\nexport class UserProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'UserProvider');\n\n this.apiDataToModel = this.apiDataToModel.bind(this);\n }\n\n public resetPasswordTokenIsValid(email: string | null, token: string | null): Promise {\n return UserApi.resetPasswordTokenIsValid(email, token);\n }\n\n public resetPassword(body): Promise {\n return UserApi.resetPassword(body);\n }\n\n public forgotPassword(body): Promise {\n return UserApi.forgotPassword(body);\n }\n\n public user(userId: number = this.SessionProvider.userId(), force: boolean = false): Promise {\n if (force) return this.getFromApiAndUpdateStore(userId);\n\n return this.UserMemoryStore.read(userId)\n .then((user: IUserApiData | null) => {\n return user\n ? this.apiDataToModel(user)\n : this.getFromApiAndUpdateStore(userId);\n });\n }\n\n public getUserSearch(searchParams?: IUserApiSearchParams): Promise {\n return UserApi.getUserSearch(searchParams)\n .then((data: IUserSearchApiData) => ({\n page: data.page,\n page_size: data.page_size,\n total: data.total,\n users: this.apiDataArrayToModelArray(data.users)\n }));\n }\n\n public update(userId: number, body: IUserApiDataUpdateRequest): Promise {\n return UserApi.update(userId, body)\n .then((response: ApiResponseData) => this.saveNameChange(response, userId, body));\n }\n\n public changeNames(userId: number, body: IUserApiDataNameUpdateRequest): Promise {\n return UserApi.changeNames(userId, body)\n .then((response: ApiResponseData) => this.saveNameChange(response, userId, body));\n }\n\n private saveNameChange(response: ApiResponseData, userId: number, body: IUserApiDataUpdateRequest) {\n if (!response.success) return response;\n\n return this.UserMemoryStore.read(userId)\n .then((user: IUserApiData | null) => {\n if (!user) return response;\n\n user.first_name = body.first_name || user.first_name;\n user.last_name = body.last_name || user.last_name;\n return this.UserMemoryStore.store(user)\n .then(() => response);\n });\n }\n\n public changeEmail(userId: number, body: IUserApiDataEmailUpdateRequest): Promise {\n return UserApi.changeEmail(userId, body)\n .then((response: ApiResponseData) => {\n if (!response.success) return response;\n\n return this.UserMemoryStore.read(userId)\n .then((user: IUserApiData | null) => {\n if (!user) return response;\n\n user.email = body.email || user.email;\n return this.UserMemoryStore.store(user)\n .then(() => response);\n })\n });\n }\n\n public changePassword(userId: number, body: IUserApiDataPasswordUpdateRequest): Promise {\n return UserApi.changePassword(userId, body);\n }\n\n public deleteSessions(userId: number = this.SessionProvider.userId()): Promise {\n return UserApi.deleteSessions(userId);\n }\n\n public deleteUser(userId: number, body: IUserApiDataDeleteRequest): Promise {\n return UserApi.deleteUser(userId, body);\n }\n\n public getPlatform(userId: number = this.SessionProvider.userId()) {\n return UserApi.getPlatform(userId);\n }\n\n public getStats(userId: number): Promise {\n return UserApi.getStatsFor(userId);\n }\n\n private getFromApiAndUpdateStore(userId: number): Promise {\n return UserApi.user(userId)\n .then((user: IUserApiData) => this.UserMemoryStore.store(user)\n .then(() => this.apiDataToModel(user)));\n }\n\n private apiDataToModel(user: IUserApiData): User {\n return new User(this).withData(user);\n }\n\n public apiDataArrayToModelArray(apiUsers?: IUserApiData[]): User[] {\n return apiUsers ? apiUsers.map(this.apiDataToModel) : [];\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport {RootStore} from 'models/RootStore';\nimport {InMemoryStore, IStoreData} from 'models/InMemoryStore';\nimport {UserPermanentStore} from 'models/user/UserPermanentStore';\nimport {IUserApiData} from 'models/user/IUserApiData';\n\nexport class UserMemoryStore extends InMemoryStore {\n @observable private _users: Hash> = {};\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'User');\n makeObservable(this);\n }\n\n protected get PermanentStore(): UserPermanentStore {\n return this.UserPermanentStore;\n }\n\n public resetAll(): void {\n super.resetAll();\n this._users = {};\n }\n\n public loadFromPermanentStore(id: number): Promise {\n return this.PermanentStore.read(id)\n .then((user: IUserApiData | null) => {\n if (user) {\n this.set(user);\n }\n });\n }\n\n protected getIStoreData(id: number): IStoreData {\n let data: IStoreData = this._users[id.toString()];\n if (!data) {\n data = new IStoreData(id, null, this);\n this._users[id.toString()] = data;\n }\n\n return data;\n }\n\n @action\n protected set(value: IUserApiData): void {\n this.getIStoreData(value.id).setData(value);\n }\n\n @action\n public store(data: IUserApiData): Promise {\n this.set(data);\n return this.PermanentStore.store(data);\n }\n\n public read(id: number): Promise {\n return this.getIStoreData(id).LoadData;\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IExposedPermanentStore, PermanentStore} from 'models/PermanentStore';\nimport {IUserApiData} from 'models/user/IUserApiData';\n\n\nexport class UserPermanentStore extends PermanentStore implements IExposedPermanentStore {\n protected get TableName(): string {\n return PermanentStore.TABLE_NAMES.UserPermanentStore;\n }\n\n constructor(rootStore: RootStore) {\n super(rootStore);\n }\n\n public getKey(id: number): string {\n return `api_users_${id}`;\n }\n\n public store(data: IUserApiData): Promise {\n return this.doStore(this.TableName, this.getKey(data.id), data);\n }\n\n public read(id: number): Promise {\n return this.doRead(this.TableName, this.getKey(id));\n }\n}\n","import React from 'react';\nimport Api from 'models/Api';\n\nexport interface WebglAppConfig {\n data: string;\n framework: string;\n loader: string;\n wasm: string;\n version: string;\n}\n\nexport class WebglAppApi {\n public static latest(user_id: number | null): Promise {\n if (user_id == null) {\n return Promise.resolve(null);\n }\n return Api.get('/webgl_app/latest')\n .then(response => response.json());\n }\n}\n","import {RootStore} from 'models/RootStore';\nimport {IndexedDBWrapper} from 'models/IndexedDBWrapper';\nimport {WebglAppConfig} from 'models/webgl/WebglAppApi';\nimport {IWebglBlobs} from 'models/webgl/WebglProvider';\n\nexport class WebglIDB extends IndexedDBWrapper {\n private static readonly TABLE_NAME = 'WebGLData';\n\n private static readonly KEY_NAMES = {\n data: 'data',\n framework: 'framework',\n loader: 'loader',\n wasm: 'wasm',\n version: 'version',\n };\n\n // This has to be kept in sync with app/models/webgl_app_config.rb\n public static readonly FILE_DATA_TYPES = {\n data: {extension: 'data', content_type: 'gzip', required_in_dev: true},\n framework: {extension: 'framework.js', content_type: 'application/javascript', required_in_dev: true},\n loader: {extension: 'loader.js', content_type: 'application/javascript', required_in_dev: true},\n wasm: {extension: 'wasm', content_type: 'application/wasm', required_in_dev: true},\n data_compressed: {extension: 'data.gz', content_type: 'gzip', required_in_dev: false},\n framework_compressed: {extension: 'framework.js.gz', content_type: 'gzip', required_in_dev: false},\n wasm_compressed: {extension: 'wasm.gz', content_type: 'gzip', required_in_dev: false}\n };\n\n public constructor(rootStore: RootStore) {\n super(rootStore, 'WebGL', [WebglIDB.TABLE_NAME]);\n }\n\n public open(): Promise {\n return super.open();\n }\n\n public storeData(blob: Blob): Promise {\n return super.doStore(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.data, blob);\n }\n\n private readData(): Promise {\n return super.doRead(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.data);\n }\n\n public storeFramework(blob: Blob): Promise {\n return super.doStore(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.framework, blob);\n }\n\n private readFramework(): Promise {\n return super.doRead(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.framework);\n }\n\n public storeLoader(blob: Blob): Promise {\n return super.doStore(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.loader, blob);\n }\n\n private readLoader(): Promise {\n return super.doRead(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.loader);\n }\n\n public storeWasm(blob: Blob): Promise {\n return super.doStore(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.wasm, blob);\n }\n\n private readWasm(): Promise {\n return super.doRead(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.wasm);\n }\n\n public storeVersion(value: string): Promise {\n return super.doStore(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.version, value);\n }\n\n public readVersion(): Promise {\n return super.doRead(WebglIDB.TABLE_NAME, WebglIDB.KEY_NAMES.version);\n }\n\n public requiresUpdate(currentVersion: string): Promise {\n return this.readVersion().then((version: string) => {\n console.log(`Current version: ${currentVersion}, stored version: ${version}, ${version !== currentVersion}`);\n return version !== currentVersion;\n });\n }\n\n public storeAll(blobs: IWebglBlobs, config: WebglAppConfig): Promise {\n return Promise.all([\n this.WebglIDB.storeData(blobs.dataBlob),\n this.WebglIDB.storeFramework(blobs.frameworkBlob),\n this.WebglIDB.storeLoader(blobs.loaderBlob),\n this.WebglIDB.storeWasm(blobs.wasmBlob)\n ])\n .then(() => this.WebglIDB.storeVersion(config.version));\n // Store version last so that we don't update the version unless all the other data is successfully stored\n }\n\n public readAll(): Promise {\n let blobs: IWebglBlobs = {\n dataBlob: null,\n frameworkBlob: null,\n loaderBlob: null,\n wasmBlob: null\n };\n\n return Promise.all([\n this.readData().then((blob: Blob) => blobs.dataBlob = blob),\n this.readFramework().then((blob: Blob) => blobs.frameworkBlob = blob),\n this.readLoader().then((blob: Blob) => blobs.loaderBlob = blob),\n this.readWasm().then((blob: Blob) => blobs.wasmBlob = blob)\n ]).then(() => blobs);\n }\n}\n","import pako from 'pako';\nimport {UnityConfig} from 'react-unity-webgl';\n\nimport logger from 'loglevel';\nimport Config from 'config/Config';\n\nimport {RootStore} from 'models/RootStore';\nimport {AbstractStore} from 'models/AbstractStore';\nimport {WebglAppApi, WebglAppConfig} from 'models/webgl/WebglAppApi';\nimport {WebglIDB} from 'models/webgl/WebglIDB';\n\nexport interface IWebglBlobs {\n dataBlob: Blob;\n frameworkBlob: Blob;\n loaderBlob: Blob;\n wasmBlob: Blob;\n}\n\nexport class WebglProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'WebglProvider');\n }\n\n public latest(): Promise<{ config: UnityConfig | null; callback: Function | null }> {\n return WebglAppApi.latest(this.SessionProvider.userId())\n .then((response: WebglAppConfig | null) => {\n if (!response) {\n logger.error('WebglApp: WebglAppApi.latest: Failed to get, did not receive response');\n return {\n config: null,\n callback: null\n };\n }\n\n return this.WebglIDB.open()\n .then(() => this.WebglIDB.requiresUpdate(response.version))\n .then((requiresUpdate: boolean) => {\n if (Config.forceCacheUpdate) logger.debug('WebglApp: Force cache update enable, ignoring stored data');\n\n if (requiresUpdate || Config.forceCacheUpdate) {\n return this.fetchAll(response)\n .then(blobs => this.WebglIDB.storeAll(blobs, response)\n .then(() => logger.debug('WebglApp: Successfully stored data'))\n .catch(error => {\n logger.error('WebglApp: Failed to store data', error);\n throw error;\n })\n .then(() => this.buildConfig(blobs)));\n } else {\n return this.WebglIDB.readAll()\n .then((blobs: IWebglBlobs) => this.buildConfig(blobs));\n }\n })\n .catch(error => {\n logger.error('WebglApp: Failed to open database', error);\n return this.fetchAll(response)\n .then(blobs => this.buildConfig(blobs));\n })\n .then((config: UnityConfig) => {\n return {\n config: config,\n callback: () => {\n console.log('unityContext.addEventListener(loaded)');\n return this.revokeConfigUrls(config);\n }\n };\n });\n })\n }\n\n private static isCompressedURL(url: string): boolean {\n return url.split('?')[0].endsWith('.gz')\n }\n\n private static uncompress(blob: Blob, type: string): Promise {\n return blob.arrayBuffer()\n .then((arrayBuffer: ArrayBuffer) => pako.ungzip(new Uint8Array(arrayBuffer)))\n .then((binaryData: Uint8Array) => new Blob([binaryData], {type: type}));\n }\n\n private static uncompressedGzip(url: string, blob: Blob, type: string): Promise {\n return WebglProvider.isCompressedURL(url) ? this.uncompress(blob, type) : Promise.resolve(blob);\n }\n\n public fetchAll(config: WebglAppConfig): Promise {\n let blobs: IWebglBlobs = {\n dataBlob: null,\n frameworkBlob: null,\n loaderBlob: null,\n wasmBlob: null\n };\n\n return Promise.all([\n this.fetchData(config.data).then((blob: Blob) => blobs.dataBlob = blob),\n this.fetchFramework(config.framework).then((blob: Blob) => blobs.frameworkBlob = blob),\n this.fetchLoader(config.loader).then((blob: Blob) => blobs.loaderBlob = blob),\n this.fetchWasm(config.wasm).then((blob: Blob) => blobs.wasmBlob = blob)\n ]).then(() => blobs);\n }\n\n private fetchData(url: string): Promise {\n return fetch(url)\n .then((response: Response) => response.blob())\n .then((blob: Blob) => WebglProvider.uncompressedGzip(url, blob, WebglIDB.FILE_DATA_TYPES.data.content_type));\n }\n\n private fetchFramework(url: string): Promise {\n return fetch(url)\n .then((response: Response) => response.blob())\n .then((blob: Blob) => WebglProvider.uncompressedGzip(url, blob, WebglIDB.FILE_DATA_TYPES.framework.content_type));\n }\n\n private fetchLoader(url: string): Promise {\n return fetch(url)\n .then((response: Response) => response.blob());\n }\n\n private fetchWasm(url: string): Promise {\n return fetch(url)\n .then((response: Response) => response.blob())\n .then((blob: Blob) => WebglProvider.uncompressedGzip(url, blob, WebglIDB.FILE_DATA_TYPES.wasm.content_type));\n }\n\n private buildConfig(blobs: IWebglBlobs): UnityConfig {\n let url = window.URL || window.webkitURL;\n\n return {\n dataUrl: url.createObjectURL(blobs.dataBlob),\n frameworkUrl: url.createObjectURL(blobs.frameworkBlob),\n loaderUrl: url.createObjectURL(blobs.loaderBlob),\n codeUrl: url.createObjectURL(blobs.wasmBlob)\n };\n }\n\n private revokeConfigUrls(config: UnityConfig): void {\n let url = window.URL || window.webkitURL;\n Object.values(config).forEach((objectUrl: string) => {\n url.revokeObjectURL(objectUrl)\n });\n }\n}\n","import {AbstractStore} from \"models/AbstractStore\";\nimport {RootStore} from \"models/RootStore\";\nimport Coupon from \"models/coupon/Coupon\";\nimport {ICouponApiData} from \"models/coupon/ICouponApiData\";\nimport CouponApi from \"models/coupon/CouponApi\";\nimport {ICouponUpdateApiData} from \"models/coupon/ICouponUpdateApiData\";\n\nexport class CouponProvider extends AbstractStore {\n public constructor(rootStore: RootStore) {\n super(rootStore, 'CouponProvider');\n\n this.apiDataToModel = this.apiDataToModel.bind(this);\n this.apiDataArrayToModelArray = this.apiDataArrayToModelArray.bind(this);\n }\n\n public getAll(): Promise {\n return CouponApi.getAll()\n .then(this.apiDataArrayToModelArray);\n }\n\n public get(id: number): Promise {\n return CouponApi.get(id)\n .then(this.apiDataToModel);\n }\n\n public update(id: number, data: ICouponUpdateApiData): Promise {\n return CouponApi.update(id, data);\n }\n\n private apiDataToModel(coupon: ICouponApiData): Coupon {\n if (coupon == null) return null;\n return new Coupon().withData(coupon);\n }\n\n public apiDataArrayToModelArray(apiCoupon?: ICouponApiData[]): Coupon[] {\n return apiCoupon ? apiCoupon.map(this.apiDataToModel) : [];\n }\n}\n\nexport default CouponProvider;\n","import React, {Component, ComponentType} from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\n\nimport {AssetBundleProvider} from 'models/assetBundle/AssetBundleProvider';\nimport {AssetBundleIDB} from 'models/assetBundle/AssetBundleIDB';\n\nimport {BillingAddressProvider} from 'models/billingAddress/BillingAddressProvider';\nimport {BillingAddressMemoryStore} from 'models/billingAddress/BillingAddressMemoryStore';\nimport {BillingAddressPermanentStore} from 'models/billingAddress/BillingAddressPermanentStore';\n\nimport {CampaignProvider} from \"models/campaign/CampaignProvider\";\n\nimport {CollectionProvider} from 'models/collection/CollectionProvider';\nimport {CollectionMemoryStore} from 'models/collection/CollectionMemoryStore';\nimport {CollectionPermanentStore} from 'models/collection/CollectionPermanentStore';\n\nimport {InvoiceProvider} from 'models/invoice/InvoiceProvider';\nimport {InvoiceMemoryStore} from 'models/invoice/InvoiceMemoryStore';\nimport {InvoicePermanentStore} from 'models/invoice/InvoicePermanentStore';\n\nimport {SessionProvider} from 'models/session/SessionProvider';\n\nimport {SettingsProvider} from 'models/settings/SettingsProvider';\nimport {SettingsMemoryStore} from 'models/settings/SettingsMemoryStore';\nimport {SettingsPermanentStore} from 'models/settings/SettingsPermanentStore';\n\nimport {StoryLocalisationProvider} from 'models/storyLocalisation/StoryLocalisationProvider';\nimport {StoryLocalisationMemoryStore} from 'models/storyLocalisation/StoryLocalisationMemoryStore';\nimport {StoryLocalisationPermanentStore} from 'models/storyLocalisation/StoryLocalisationPermanentStore';\n\nimport {StoryProvider} from 'models/story/StoryProvider';\nimport {StoryMemoryStore} from 'models/story/StoryMemoryStore';\nimport {StoryPermanentStore} from 'models/story/StoryPermanentStore';\n\nimport {StoryReleaseProvider} from 'models/storyRelease/StoryReleaseProvider';\nimport {StoryReleaseMemoryStore} from 'models/storyRelease/StoryReleaseMemoryStore';\nimport {StoryReleasePermanentStore} from 'models/storyRelease/StoryReleasePermanentStore';\n\nimport {StorySessionProvider} from 'models/storySession/StorySessionProvider';\nimport {StorySessionMemoryStore} from 'models/storySession/StorySessionMemoryStore';\nimport {StorySessionPermanentStore} from 'models/storySession/StorySessionPermanentStore';\n\nimport {SubscriptionProvider} from 'models/subscription/SubscriptionProvider';\n// import {SubscriptionMemoryStore} from 'models/subscription/SubscriptionMemoryStore';\n// import {SubscriptionPermanentStore} from 'models/subscription/SubscriptionPermanentStore';\nimport {SubscriptionPlanProvider} from 'models/subscriptionPlan/SubscriptionPlanProvider';\nimport {SubscriptionPlanMemoryStore} from 'models/subscriptionPlan/SubscriptionPlanMemoryStore';\nimport {SubscriptionPlanPermanentStore} from 'models/subscriptionPlan/SubscriptionPlanPermanentStore';\n\nimport {UniverseProvider} from 'models/universe/UniverseProvider';\n\nimport {UserProvider} from 'models/user/UserProvider';\nimport {UserMemoryStore} from 'models/user/UserMemoryStore';\nimport {UserPermanentStore} from 'models/user/UserPermanentStore';\n\nimport {WebglProvider} from 'models/webgl/WebglProvider';\nimport {WebglIDB} from 'models/webgl/WebglIDB';\nimport CouponProvider from \"models/coupon/CouponProvider\";\n\ndeclare global {\n interface Window {\n store: RootStore;\n }\n}\n\nexport class RootStore {\n private _assetBundleProvider: AssetBundleProvider;\n private _assetBundleIDB: AssetBundleIDB;\n\n private _billingAddressProvider: BillingAddressProvider;\n private _billingAddressMemoryStore: BillingAddressMemoryStore;\n private _billingAddressPermanentStore: BillingAddressPermanentStore;\n\n private _campaignProvider: CampaignProvider;\n\n private _collectionProvider: CollectionProvider;\n private _collectionMemoryStore: CollectionMemoryStore;\n private _collectionPermanentStore: CollectionPermanentStore;\n\n private _couponProvider: CouponProvider;\n\n private _invoiceProvider: InvoiceProvider;\n private _invoiceMemoryStore: InvoiceMemoryStore;\n private _invoicePermanentStore: InvoicePermanentStore;\n\n private _sessionProvider: SessionProvider;\n\n private _settingsProvider: SettingsProvider;\n private _settingsMemoryStore: SettingsMemoryStore;\n private _settingsPermanentStore: SettingsPermanentStore;\n\n private _localisationProvider: StoryLocalisationProvider;\n private _localisationMemoryStore: StoryLocalisationMemoryStore;\n private _localisationPermanentStore: StoryLocalisationPermanentStore;\n\n private _storyProvider: StoryProvider;\n private _storyMemoryStore: StoryMemoryStore;\n private _storyPermanentStore: StoryPermanentStore;\n\n private _storyReleaseProvider: StoryReleaseProvider;\n private _storyReleaseMemoryStore: StoryReleaseMemoryStore;\n private _storyReleasePermanentStore: StoryReleasePermanentStore;\n\n private _storySessionProvider: StorySessionProvider;\n private _storySessionMemoryStore: StorySessionMemoryStore;\n private _storySessionPermanentStore: StorySessionPermanentStore;\n\n private _subscriptionProvider: SubscriptionProvider;\n // private _subscriptionMemoryStore: SubscriptionMemoryStore;\n // private _subscriptionPermanentStore: SubscriptionPermanentStore;\n\n private _subscriptionPlanProvider: SubscriptionPlanProvider;\n private _subscriptionPlanMemoryStore: SubscriptionPlanMemoryStore;\n private _subscriptionPlanPermanentStore: SubscriptionPlanPermanentStore;\n\n private _universeProvider: UniverseProvider;\n\n private _userProvider: UserProvider;\n private _userMemoryStore: UserMemoryStore;\n private _userPermanentStore: UserPermanentStore;\n\n private _webglProvider: WebglProvider;\n private _webglIDB: WebglIDB;\n\n public get AssetBundleProvider(): AssetBundleProvider {\n if (!this._assetBundleProvider) {\n this._assetBundleProvider = new AssetBundleProvider(this);\n }\n return this._assetBundleProvider;\n }\n\n public get AssetBundleIDB(): AssetBundleIDB {\n if (!this._assetBundleIDB) {\n this._assetBundleIDB = new AssetBundleIDB(this);\n }\n return this._assetBundleIDB;\n }\n\n public get BillingAddressProvider(): BillingAddressProvider {\n if (!this._billingAddressProvider) {\n this._billingAddressProvider = new BillingAddressProvider(this);\n }\n return this._billingAddressProvider;\n }\n\n public get BillingAddressMemoryStore(): BillingAddressMemoryStore {\n if (!this._billingAddressMemoryStore) {\n this._billingAddressMemoryStore = new BillingAddressMemoryStore(this);\n }\n return this._billingAddressMemoryStore;\n }\n\n public get BillingAddressPermanentStore(): BillingAddressPermanentStore {\n if (!this._billingAddressPermanentStore) {\n this._billingAddressPermanentStore = new BillingAddressPermanentStore(this);\n }\n return this._billingAddressPermanentStore;\n }\n\n public get CampaignProvider(): CampaignProvider {\n if (!this._campaignProvider) {\n this._campaignProvider = new CampaignProvider(this);\n }\n return this._campaignProvider;\n }\n\n public get CollectionProvider(): CollectionProvider {\n if (!this._collectionProvider) {\n this._collectionProvider = new CollectionProvider(this);\n }\n return this._collectionProvider;\n }\n\n public get CollectionMemoryStore(): CollectionMemoryStore {\n if (!this._collectionMemoryStore) {\n this._collectionMemoryStore = new CollectionMemoryStore(this);\n }\n return this._collectionMemoryStore;\n }\n\n public get CollectionPermanentStore(): CollectionPermanentStore {\n if (!this._collectionPermanentStore) {\n this._collectionPermanentStore = new CollectionPermanentStore(this);\n }\n return this._collectionPermanentStore;\n }\n\n public get CouponProvider(): CouponProvider {\n if (!this._couponProvider) {\n this._couponProvider = new CouponProvider(this);\n }\n return this._couponProvider;\n }\n\n public get InvoiceProvider(): InvoiceProvider {\n if (!this._invoiceProvider) {\n this._invoiceProvider = new InvoiceProvider(this);\n }\n return this._invoiceProvider;\n }\n\n public get InvoiceMemoryStore(): InvoiceMemoryStore {\n if (!this._invoiceMemoryStore) {\n this._invoiceMemoryStore = new InvoiceMemoryStore(this);\n }\n return this._invoiceMemoryStore;\n }\n\n public get InvoicePermanentStore(): InvoicePermanentStore {\n if (!this._invoicePermanentStore) {\n this._invoicePermanentStore = new InvoicePermanentStore(this);\n }\n return this._invoicePermanentStore;\n }\n\n public get SessionProvider(): SessionProvider {\n if (!this._sessionProvider) {\n this._sessionProvider = new SessionProvider(this);\n }\n return this._sessionProvider;\n }\n\n public get SettingsProvider(): SettingsProvider {\n if (!this._settingsProvider) {\n this._settingsProvider = new SettingsProvider(this);\n }\n return this._settingsProvider;\n }\n\n public get SettingsMemoryStore(): SettingsMemoryStore {\n if (!this._settingsMemoryStore) {\n this._settingsMemoryStore = new SettingsMemoryStore(this);\n }\n return this._settingsMemoryStore;\n }\n\n public get SettingsPermanentStore(): SettingsPermanentStore {\n if (!this._settingsPermanentStore) {\n this._settingsPermanentStore = new SettingsPermanentStore(this);\n }\n return this._settingsPermanentStore;\n }\n\n public get StoryLocalisationProvider(): StoryLocalisationProvider {\n if (!this._localisationProvider) {\n this._localisationProvider = new StoryLocalisationProvider(this);\n }\n return this._localisationProvider;\n }\n\n public get StoryLocalisationMemoryStore(): StoryLocalisationMemoryStore {\n if (!this._localisationMemoryStore) {\n this._localisationMemoryStore = new StoryLocalisationMemoryStore(this);\n }\n return this._localisationMemoryStore;\n }\n\n public get StoryLocalisationPermanentStore(): StoryLocalisationPermanentStore {\n if (!this._localisationPermanentStore) {\n this._localisationPermanentStore = new StoryLocalisationPermanentStore(this);\n }\n return this._localisationPermanentStore;\n }\n\n public get StoryProvider(): StoryProvider {\n if (!this._storyProvider) {\n this._storyProvider = new StoryProvider(this);\n }\n return this._storyProvider;\n }\n\n public get StoryMemoryStore(): StoryMemoryStore {\n if (!this._storyMemoryStore) {\n this._storyMemoryStore = new StoryMemoryStore(this);\n }\n return this._storyMemoryStore;\n }\n\n public get StoryPermanentStore(): StoryPermanentStore {\n if (!this._storyPermanentStore) {\n this._storyPermanentStore = new StoryPermanentStore(this);\n }\n return this._storyPermanentStore;\n }\n\n public get StoryReleaseProvider(): StoryReleaseProvider {\n if (!this._storyReleaseProvider) {\n this._storyReleaseProvider = new StoryReleaseProvider(this);\n }\n return this._storyReleaseProvider;\n }\n\n public get StoryReleaseMemoryStore(): StoryReleaseMemoryStore {\n if (!this._storyReleaseMemoryStore) {\n this._storyReleaseMemoryStore = new StoryReleaseMemoryStore(this);\n }\n return this._storyReleaseMemoryStore;\n }\n\n public get StoryReleasePermanentStore(): StoryReleasePermanentStore {\n if (!this._storyReleasePermanentStore) {\n this._storyReleasePermanentStore = new StoryReleasePermanentStore(this);\n }\n return this._storyReleasePermanentStore;\n }\n\n public get StorySessionProvider(): StorySessionProvider {\n if (!this._storySessionProvider) {\n this._storySessionProvider = new StorySessionProvider(this);\n }\n return this._storySessionProvider;\n }\n\n public get StorySessionMemoryStore(): StorySessionMemoryStore {\n if (!this._storySessionMemoryStore) {\n this._storySessionMemoryStore = new StorySessionMemoryStore(this);\n }\n return this._storySessionMemoryStore;\n }\n\n public get StorySessionPermanentStore(): StorySessionPermanentStore {\n if (!this._storySessionPermanentStore) {\n this._storySessionPermanentStore = new StorySessionPermanentStore(this);\n }\n return this._storySessionPermanentStore;\n }\n\n public get SubscriptionProvider(): SubscriptionProvider {\n if (!this._subscriptionProvider) {\n this._subscriptionProvider = new SubscriptionProvider(this);\n }\n return this._subscriptionProvider;\n }\n\n /*\n public get SubscriptionMemoryStore(): SubscriptionMemoryStore {\n if (!this._subscriptionMemoryStore) {\n this._subscriptionMemoryStore = new SubscriptionMemoryStore(this);\n }\n return this._subscriptionMemoryStore;\n }\n\n public get SubscriptionPermanentStore(): SubscriptionPermanentStore {\n if (!this._subscriptionPermanentStore) {\n this._subscriptionPermanentStore = new SubscriptionPermanentStore(this);\n }\n return this._subscriptionPermanentStore;\n }\n */\n\n public get SubscriptionPlanProvider(): SubscriptionPlanProvider {\n if (!this._subscriptionPlanProvider) {\n this._subscriptionPlanProvider = new SubscriptionPlanProvider(this);\n }\n return this._subscriptionPlanProvider;\n }\n\n public get SubscriptionPlanMemoryStore(): SubscriptionPlanMemoryStore {\n if (!this._subscriptionPlanMemoryStore) {\n this._subscriptionPlanMemoryStore = new SubscriptionPlanMemoryStore(this);\n }\n return this._subscriptionPlanMemoryStore;\n }\n\n public get SubscriptionPlanPermanentStore(): SubscriptionPlanPermanentStore {\n if (!this._subscriptionPlanPermanentStore) {\n this._subscriptionPlanPermanentStore = new SubscriptionPlanPermanentStore(this);\n }\n return this._subscriptionPlanPermanentStore;\n }\n\n public get UniverseProvider(): UniverseProvider {\n if (!this._universeProvider) {\n this._universeProvider = new UniverseProvider(this);\n }\n return this._universeProvider;\n }\n\n public get UserProvider(): UserProvider {\n if (!this._userProvider) {\n this._userProvider = new UserProvider(this);\n }\n return this._userProvider;\n }\n\n public get UserMemoryStore(): UserMemoryStore {\n if (!this._userMemoryStore) {\n this._userMemoryStore = new UserMemoryStore(this);\n }\n return this._userMemoryStore;\n }\n\n public get UserPermanentStore(): UserPermanentStore {\n if (!this._userPermanentStore) {\n this._userPermanentStore = new UserPermanentStore(this);\n }\n return this._userPermanentStore;\n }\n\n public get WebglProvider(): WebglProvider {\n if (!this._webglProvider) {\n this._webglProvider = new WebglProvider(this);\n }\n return this._webglProvider;\n }\n\n public get WebglIDB(): WebglIDB {\n if (!this._webglIDB) {\n this._webglIDB = new WebglIDB(this);\n }\n return this._webglIDB;\n }\n\n\n public static getStore(): RootStore {\n const {store} = window;\n\n if (!store) {\n window.store = new RootStore();\n }\n\n return window.store;\n }\n}\n\n// Store helpers\nexport const StoreContext: React.Context = React.createContext(new RootStore());\n\nexport const StoreProvider = ({children, store}): React.ReactElement => (\n {children}\n);\n\nexport const useStore = () => React.useContext(StoreContext);\n\nexport type TWithStoreHOC =

(Component: ComponentType

) => (props: P) => React.ReactElement;\n\n\nexport const withStore: TWithStoreHOC = (WrappedComponent) => (props) => {\n const ComponentWithStore: () => React.ReactElement = () => {\n const store = useStore();\n return ;\n };\n\n ComponentWithStore[\"defaultProps\"] = {...WrappedComponent.defaultProps};\n ComponentWithStore[\"displayName\"] = `WithStores(${\n WrappedComponent[\"name\"] || WrappedComponent.displayName\n })`;\n\n hoistNonReactStatics(ComponentWithStore, WrappedComponent);\n\n return ;\n}\n\nexport class ComponentWithStore extends Component {\n protected store: RootStore;\n\n constructor(props: P) {\n super(props);\n this.store = RootStore.getStore();\n }\n}\n","import _ from \"lodash\";\n\nexport class SearchApi {\n public static buildQueryFromParams(searchParams, query) {\n const {page, page_size, filters} = searchParams;\n if (page) {\n query.push(`p=${page}`);\n }\n if (page_size) {\n query.push(`s=${page_size}`);\n }\n if (filters) {\n _.map(filters, (value, key) => {\n if (value) {\n query.push(`${key}=${value}`);\n }\n });\n }\n return `?${query.join('&')}`;\n }\n}\n","import {action, computed, makeObservable, observable} from 'mobx';\n\nimport Value from 'helpers/Value';\nimport {IBillingAddressApiData} from 'models/billingAddress/IBillingAddressApiData';\nimport {BillingAddressProvider} from 'models/billingAddress/BillingAddressProvider';\n\nexport class BillingAddress {\n private readonly provider: BillingAddressProvider;\n\n @observable public id: number;\n @observable public name: string;\n @observable public city: string;\n @observable public country: string;\n @observable public line1: string;\n @observable public line2: string;\n @observable public state: string;\n @observable public zip: string;\n @observable public user_id: number;\n\n constructor(provider: BillingAddressProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number): BillingAddress {\n this.id = id;\n return this;\n }\n\n public withData(data: IBillingAddressApiData): BillingAddress {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IBillingAddressApiData) {\n this.id = data.id;\n this.name = data.name;\n this.city = data.city;\n this.country = data.country;\n this.line1 = data.line1;\n this.line2 = data.line2;\n this.state = data.state;\n this.zip = data.zip;\n\n this.user_id = data.user_id;\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n\n @computed\n public get hasRequiredFields() {\n return (\n !Value.isNullOrEmptyString(this.user_id) &&\n !Value.isNullOrEmptyString(this.name) &&\n !Value.isNullOrEmptyString(this.line1) &&\n !Value.isNullOrEmptyString(this.country) &&\n !Value.isNullOrEmptyString(this.zip)\n );\n }\n\n @computed\n public get hasInvalidFields() {\n return this.user_id == null || this.name == null;\n }\n\n public withCurrentUser(): BillingAddress {\n this.user_id = this.provider.SessionProvider.userId();\n return this;\n }\n\n public async save(): Promise {\n if (this.id == null) {\n return this.create();\n } else {\n return this.update();\n }\n }\n\n public fetchData(): Promise {\n return this.provider.get(this.id).then(this.withData);\n }\n\n private create(): Promise {\n if (this.user_id == null) {\n this.withCurrentUser();\n }\n\n return this.provider.create(this)\n .then(json => this.load(json));\n }\n\n private update(): Promise {\n return this.provider.update(this)\n .then(json => this.load(json));\n }\n}\n","import { action, makeObservable, observable } from \"mobx\";\nimport { ICampaignApiData } from \"models/campaign/ICampaignApiData\";\nimport Value from \"helpers/Value\";\nimport { CampaignProvider } from \"models/campaign/CampaignProvider\";\nimport Coupon from \"models/coupon/Coupon\";\n\nexport class Campaign {\n private readonly provider: CampaignProvider | null;\n @observable public id: number;\n @observable public coupon_id: number;\n @observable public coupon: Coupon;\n @observable public key: number;\n @observable public name: string;\n @observable public notes: string;\n @observable public created_at: Date;\n\n constructor(provider: CampaignProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withData = this.withData.bind(this);\n this.withName = this.withName.bind(this);\n }\n\n @action\n public withData(data: ICampaignApiData): this {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: ICampaignApiData) {\n this.id = data.id;\n this.coupon_id = data.coupon_id;\n if (data.coupon != null) {\n this.coupon = new Coupon().withData(data.coupon);\n }\n this.key = data.id;\n this.name = data.name;\n this.notes = data.notes;\n this.created_at = Value.dateOrNull(data.created_at);\n }\n\n @action\n withName(name: string, notes?: string) {\n this.name = name;\n if ( typeof notes !== \"undefined\" ) {\n this.notes = notes\n }\n return this;\n }\n\n @action\n public withCoupon(): Campaign {\n if (this.coupon_id !== null) {\n this.provider.CouponProvider.get(this.coupon_id).then((coupon) => {\n this.coupon = coupon;\n });\n }\n return this;\n }\n}\n","import Api from 'models/Api';\nimport { ICampaignApiData } from \"models/campaign/ICampaignApiData\";\nimport { Campaign } from \"models/campaign/Campaign\";\nimport { ApiResponseData } from \"models/ApiResponseData\";\nimport { SortOrder } from \"antd/lib/table/interface\";\nimport { SearchApi } from \"models/SearchApi\";\nimport { ICampaignSearchApiData } from \"models/campaign/ICampaignSearchApiData\";\n\nexport type ICampaignApiSearchOrdering = 'id' | 'name' | 'created_at';\n\nexport interface ICampaignApiSearchFilterParams {\n id?: number;\n name?: string;\n created_at: Date;\n order_by?: ICampaignApiSearchOrdering;\n order?: SortOrder;\n}\n\nexport interface ICampaignApiSearchParams {\n campaign_ids?: number[];\n page?: number;\n page_size?: number;\n filters?: ICampaignApiSearchFilterParams\n}\n\nexport class CampaignAPI {\n public static getAll(): Promise> {\n return Api.get(`/api/v1/campaigns`)\n .then(response => response.json())\n .then(json => json.campaigns)\n }\n\n public static create(campaign: Campaign): Promise {\n return Api.post(`/api/v1/campaigns`, {\n body: JSON.stringify({\n campaign: {\n name: campaign.name,\n notes: campaign?.notes\n }\n })\n })\n .then(response => response.json())\n }\n\n public static getCampaignSearch(searchParams?: ICampaignApiSearchParams): Promise {\n console.log(\"Campaign Search API call\")\n let query: string[] = [];\n let queryStr = ''\n if ( searchParams ) {\n const { campaign_ids } = searchParams;\n if ( campaign_ids && campaign_ids.length > 0 ) {\n query.push(`campaign_ids=${ searchParams.campaign_ids.join(',') }`);\n }\n queryStr = SearchApi.buildQueryFromParams(searchParams, query);\n }\n\n return Api.get(`/api/v1/campaigns/search${ queryStr }`)\n .then(response => response.json());\n }\n}","import _ from 'lodash';\nimport {action, makeObservable, observable} from 'mobx';\n\nimport Value from 'helpers/Value';\n\nimport {Story} from 'models/story/Story';\nimport {CollectionProvider} from 'models/collection/CollectionProvider';\nimport {ICollectionApiResponseData, IStoryCollectionApiResponseData} from 'models/collection/ICollectionApiData';\n\nexport class StoryCollection {\n private readonly provider: CollectionProvider;\n\n @observable public order: number;\n @observable public story_id: number;\n\n constructor(provider: CollectionProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withData = this.withData.bind(this);\n }\n\n public withData(data: IStoryCollectionApiResponseData): StoryCollection {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IStoryCollectionApiResponseData): void {\n this.order = data.order;\n this.story_id = data.story_id;\n }\n}\n\nexport class Collection {\n private readonly provider: CollectionProvider;\n\n @observable public id: number;\n\n @observable public name: string;\n @observable public story_collections: StoryCollection[];\n\n @observable public published_at: Date;\n\n constructor(provider: CollectionProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number) {\n this.id = id;\n return this;\n }\n\n public withData(data: ICollectionApiResponseData) {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: ICollectionApiResponseData) {\n this.id = data.id;\n this.name = data.name;\n this.story_collections = _.orderBy(_.map(data.story_collections, sc => new StoryCollection(this.provider).withData(sc)), value => value.order);\n this.published_at = Value.dateOrNull(data.published_at);\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n\n public static getStories(stories: Story[], story_collections: StoryCollection[]): Story[] {\n return _.map(_.orderBy(story_collections, value => value.order), value => _.find(stories, s => s.id === value.story_id));\n }\n}\n","import {SubscriptionPlan} from \"models/subscriptionPlan/SubscriptionPlan\";\nimport {Campaign} from \"models/campaign/Campaign\";\nimport {ICouponApiData} from \"models/coupon/ICouponApiData\";\nimport {RootStore} from \"models/RootStore\";\nimport {observer} from \"mobx-react\";\nimport {computed, observable} from \"mobx\";\nimport Value from \"helpers/Value\";\nimport CouponApi from \"models/coupon/CouponApi\";\nimport { IMoney } from \"models/subscriptionPlan/IMoney\";\n\nclass Coupon {\n @observable public id: number;\n @observable public name: string;\n @observable public code: string;\n @observable public description: string;\n @observable public trial: boolean;\n @observable public discount_amount: number;\n @observable public discount_percentage: number;\n @observable public expired: boolean;\n @observable public years: number;\n @observable public months: number;\n @observable public days: number;\n\n @observable public expires_at: Date | null;\n @observable public campaign: Campaign;\n @observable public subscription_plans: SubscriptionPlan[];\n\n private readonly store: RootStore;\n\n constructor() {\n this.store = RootStore.getStore();\n }\n\n public withData(data: ICouponApiData): Coupon {\n this.load(data);\n return this;\n }\n\n load(data: ICouponApiData): void {\n this.id = Value.numberOrNull(data.id);\n this.name = data.name;\n this.code = data.code;\n this.description = data.description;\n this.trial = data.trial;\n this.discount_amount = data.discount_amount;\n this.discount_percentage = data.discount_percentage;\n this.expired = data.expired;\n this.years = data.years;\n this.months = data.months;\n this.days = data.days;\n\n this.expires_at = Value.dateOrNull(data.expires_at);\n\n if (data.campaign) {\n this.campaign = new Campaign(this.store.CampaignProvider).withData(data.campaign);\n } else if (data.campaign === null) {\n // only set to null if it really is null. If it's undefined, leave it alone.\n this.campaign = null;\n }\n\n if (data.subscription_plans) {\n this.subscription_plans = data.subscription_plans.map((plan) => new SubscriptionPlan(this.store.SubscriptionPlanProvider).withData(plan));\n }\n }\n\n public getCampaignName(): string {\n return this.campaign ? this.campaign.name : '';\n }\n\n public static getAll(): Promise {\n return CouponApi.getAll().then((couponApiDataArray) => {\n return couponApiDataArray.map((coupon) => new Coupon().withData(coupon));\n });\n }\n\n public applicableTo(subscriptionPlanId): boolean {\n return this.subscription_plans.findIndex((plan) => plan.id == subscriptionPlanId) >= 0;\n }\n\n public apply(price: IMoney): IMoney {\n let amount = price.amount;\n if (this.discount_percentage > 0) {\n amount = price.amount * ((100 - this.discount_percentage) / 100);\n } else if (this.discount_amount > 0) {\n amount = Math.max(0, price.amount - this.discount_amount);\n }\n\n return {\n amount: amount,\n currency: price.currency\n }\n }\n\n public trialDescription(): string {\n if (!this.trial) return '';\n\n let days = this.days % 30;\n let days_in_months = Math.floor(this.days / 30.0);\n let months = Math.floor((this.months + days_in_months) / 12.0);\n let months_in_years = (this.months + days_in_months) % 12;\n let years = this.years + months_in_years;\n\n let trialDesc = [];\n if (years > 0) { trialDesc.push((years == 1) ? '1 Year' : `${years} Years`); }\n if (months > 0) { trialDesc.push((months == 1) ? '1 Month' : `${months} Months`); }\n if (days > 0) { trialDesc.push((days == 1) ? '1 Day' : `${days} Days`); }\n return trialDesc.join(', ') + 'Free';\n }\n}\n\nexport default Coupon;\n","import Api from \"models/Api\";\nimport {IDashboardApiData} from \"models/dashboard/IDashboardApiData\";\nimport {ICouponApiData} from \"models/coupon/ICouponApiData\";\nimport {ICouponUpdateApiData} from \"models/coupon/ICouponUpdateApiData\";\nimport {ICouponCreateApiData} from \"models/coupon/ICouponCreateApiData\";\nimport {ApiResponseData} from \"models/ApiResponseData\";\n\nclass CouponApi {\n public static getAll(): Promise> {\n return Api.get(`/api/v1/coupons`)\n .then(response => response.json())\n .then(json => json.coupons);\n }\n\n public static get(id: number): Promise {\n return Api.get(`/api/v1/coupons/${id}`)\n .then(response => response.json())\n .then(json => json.coupon);\n }\n\n public static create(data: ICouponCreateApiData): Promise {\n return Api.post(`/api/v1/coupons`, {\n body: JSON.stringify({\n coupon: data\n })\n })\n .then(response => {\n if (response.status === 422) {\n return response.json().then(json => Promise.reject(json));\n }\n return response.json().then(json => json.coupon);\n });\n }\n\n public static update(id: number, data: ICouponUpdateApiData): Promise {\n return Api.put(`/api/v1/coupons/${id}`, {\n body: JSON.stringify(data)\n })\n .then(response => {\n if (response.status === 422) {\n return response.json().then(json => Promise.reject(json));\n }\n return response.json().then(json => json.coupon);\n });\n }\n\n public static check(code: string, subscriptionPlanId: number): Promise {\n return Api.get(`/api/v1/coupons/check?code=${code}&subscription_plan_id=${subscriptionPlanId}`)\n .then(response => response.json());\n }\n\n public static getUserCampaignCoupon(subscriptionId: number): Promise {\n return Api.get(`/api/v1/coupon?subscription_plan_ids[]=${subscriptionId}`)\n .then(response => response.json());\n }\n\n public static getUserCampaignCouponForPlans(subscriptionIds: number[]): Promise {\n return Api.get(`/api/v1/coupon?subscription_plan_ids[]=${subscriptionIds.join(',')}`)\n .then(response => response.json())\n }\n}\nexport default CouponApi;\n","import Api from 'models/Api';\nimport {PaymentMethod} from '@stripe/stripe-js/types/api/payment-methods';\n\nimport {ICreditCardApiData} from 'models/creditCard/ICreditCardApiData';\n\nexport class CreditCardApi {\n public static getAll(userId: number): Promise {\n return Api.get(`/api/v1/users/${userId}/credit_cards`)\n .then(response => response.json())\n .then(json => json.credit_cards);\n }\n\n public static newIntent(userId: number): Promise<{ client_secret: any }> {\n return Api.get(`/api/v1/users/${userId}/credit_cards/new`)\n .then(response => response.json());\n }\n\n public static create(body: { userId: number, billingAddressId: number, paymentMethod: string | PaymentMethod }): Promise<{ credit_card: { id: number } }> {\n return Api.post(`/api/v1/credit_cards`, {\n body: JSON.stringify({\n user_id: body.userId,\n payment_method: body.paymentMethod,\n billing_address_id: body.billingAddressId\n })\n }).then(response => response.json());\n }\n}","import Api from 'models/Api';\nimport {IHomepageApiData} from 'models/homepage/IHomepageApiData';\nimport {IHomepageUpdateApiData} from 'models/homepage/IHomepageUpdateApiData';\n\nexport class HomepageApi {\n public static get(): Promise {\n return Api.get(`/api/v1/homepage`)\n .then(response => response.json());\n }\n\n public static update(updateData: IHomepageUpdateApiData): Promise {\n return Api.post(`/api/v1/homepage`, {\n body: JSON.stringify(updateData)\n }).then(response => response.json());\n }\n}\n","import {IHomepageApiData} from 'models/homepage/IHomepageApiData';\nimport {action, makeObservable, observable} from 'mobx';\nimport {Story} from 'models/story/Story';\nimport {StoryProvider} from 'models/story/StoryProvider';\nimport Value from 'helpers/Value';\nimport {HomepageApi} from 'models/homepage/HomepageApi';\nimport {IStoryApiData} from 'models/story/IStoryApiData';\nimport {IHomepageUpdateApiData} from 'models/homepage/IHomepageUpdateApiData';\n\nexport class Homepage {\n\n @observable provider: StoryProvider;\n\n @observable landscape_banner_image_url: string;\n @observable portrait_banner_image_url: string;\n @observable android_featured_image_url: string;\n @observable ios_featured_image_url: string;\n @observable multi_panel_story: Story;\n @observable featured_story: Story;\n\n constructor(provider: StoryProvider) {\n this.provider = provider;\n makeObservable(this);\n this.withData = this.withData.bind(this);\n }\n\n public withData(data: IHomepageApiData) {\n this.load(data);\n return this;\n }\n\n public fetchData(): Promise {\n return fetch('/api/v1/homepage')\n .then(response => response.json())\n .then(data => this.withData(data));\n }\n\n @action.bound\n private load(data: IHomepageApiData) {\n this.portrait_banner_image_url = Value.ifDefined(this.portrait_banner_image_url, data.portrait_banner_image_url);\n this.landscape_banner_image_url = Value.ifDefined(this.landscape_banner_image_url, data.landscape_banner_image_url);\n this.android_featured_image_url = Value.ifDefined(this.android_featured_image_url, data.android_featured_image_url);\n this.ios_featured_image_url = Value.ifDefined(this.ios_featured_image_url, data.ios_featured_image_url);\n this.multi_panel_story = Value.ifDefinedCallback(data.multi_panel_story, () => {\n return new Story(this.provider).withData(data.multi_panel_story)\n });\n this.featured_story = Value.ifDefinedCallback(data.featured_story, () => {\n return new Story(this.provider).withData(data.featured_story)\n });\n }\n\n public update(data: IHomepageUpdateApiData): Promise {\n return HomepageApi.update(data).then(this.withData);\n }\n}\n\nexport default Homepage;\n","import {action, computed, makeObservable, observable} from 'mobx';\n\nimport Format from 'helpers/Format';\nimport Value from 'helpers/Value';\n\nimport {IInvoiceApiData} from 'models/invoice/IInvoiceApiData';\nimport {InvoiceProvider} from 'models/invoice/InvoiceProvider';\nimport {InvoiceApi} from \"models/invoice/InvoiceApi\";\nimport {PaymentIntent, SetupIntent} from \"@stripe/stripe-js\";\nimport {BillingAddress} from \"models/billingAddress/BillingAddress\";\nimport {BillingAddressProvider} from \"models/billingAddress/BillingAddressProvider\";\n\nexport class Invoice {\n private readonly provider: InvoiceProvider;\n @observable public id: number;\n\n @observable public reference: string;\n @observable public stripe_setup_intent: string;\n\n @observable public stripe_customer_id: string;\n\n @observable public customer_name: string;\n @observable public email: string;\n @observable public line1: string;\n @observable public line2: string;\n @observable public city: string;\n @observable public state: string;\n @observable public zip: string;\n @observable public country: string;\n\n @observable public plan_name: string;\n @observable public period_start: Date | null;\n @observable public period_end: Date | null;\n\n @observable public currency: string;\n @observable public amount: number;\n @observable public amount_charged: number;\n @observable public stripe_credit_card_id: string;\n @observable public last_four_digits: string;\n\n @observable public paid_at: Date | null;\n @observable public cancelled_at: Date | null;\n @observable public deleted_at: Date | null;\n\n @observable public stripe_error_code: string;\n @observable public stripe_error_message: string;\n\n @observable public next_revision_id: number | null;\n @observable public prev_revision_id: number | null;\n\n @observable public user_id: number | null;\n @observable public subscription_id: number | null;\n @observable public billing_address_id: number | null;\n\n constructor(provider: InvoiceProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number): Invoice {\n this.id = id;\n return this;\n }\n\n public withData(data: IInvoiceApiData): Invoice {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IInvoiceApiData) {\n this.id = data.id;\n this.reference = data.reference;\n this.stripe_setup_intent = data.stripe_setup_intent;\n\n this.stripe_customer_id = data.stripe_customer_id;\n this.customer_name = data.customer_name;\n this.email = data.email;\n this.line1 = data.line1;\n this.line2 = data.line2;\n this.city = data.city;\n this.state = data.state;\n this.zip = data.zip;\n this.country = data.country;\n\n this.plan_name = data.plan_name;\n this.period_start = Value.dateOrNull(data.period_start);\n this.period_end = Value.dateOrNull(data.period_end);\n\n this.currency = data.currency;\n this.amount = data.amount;\n this.amount_charged = data.amount_charged;\n this.stripe_credit_card_id = data.stripe_credit_card_id;\n this.last_four_digits = data.last_four_digits;\n\n this.paid_at = Value.dateOrNull(data.paid_at);\n this.cancelled_at = Value.dateOrNull(data.cancelled_at);\n this.deleted_at = Value.dateOrNull(data.deleted_at);\n\n this.stripe_error_code = data.stripe_error_code;\n this.stripe_error_message = data.stripe_error_message;\n\n this.next_revision_id = data.next_revision_id;\n this.prev_revision_id = data.prev_revision_id;\n\n this.user_id = data.user_id;\n this.subscription_id = data.subscription_id;\n this.billing_address_id = data.billing_address_id;\n }\n\n public save(): Promise {\n return this.provider.editInvoice(this.id, {\n reference: this.reference,\n stripe_setup_intent: this.stripe_setup_intent,\n\n stripe_customer_id: this.stripe_customer_id,\n customer_name: this.customer_name,\n email: this.email,\n line1: this.line1,\n line2: this.line2,\n city: this.city,\n state: this.state,\n zip: this.zip,\n country: this.country,\n\n plan_name: this.plan_name,\n period_start: this.period_start,\n period_end: this.period_end,\n\n currency: this.currency,\n amount_charged: this.amount_charged,\n stripe_credit_card_id: this.stripe_credit_card_id,\n last_four_digits: this.last_four_digits,\n\n paid_at: this.paid_at,\n cancelled_at: this.cancelled_at,\n deleted_at: this.deleted_at,\n\n stripe_error_code: this.stripe_error_code,\n stripe_error_message: this.stripe_error_message,\n\n user_id: this.user_id,\n subscription_id: this.subscription_id,\n billing_address_id: this.billing_address_id\n });\n }\n\n public fetchData(): Promise {\n return this.provider.get(this.id).then(this.withData);\n }\n\n @computed\n public get Price() {\n return Format.money({amount: this.amount_charged, currency: this.currency})\n }\n\n public paymentErrorMessage() {\n if (!this.stripe_error_message) {\n return 'Unfortunately we ran into an error, while processing your payment. Please check your details and authorize payment.';\n } else {\n switch (this.stripe_error_code) {\n case 'authentication_required':\n return 'You bank has requested authentication. Please confirm the payment.';\n case 'card_declined':\n return 'Your card was declined. Please check your details and ensure that funds are available.';\n case 'expired_card':\n return 'Your card has expired. Please update your card details.';\n case 'incorrect_cvc':\n return 'Your card\\'s security code is incorrect. Please update your card details.';\n case 'incorrect_number':\n return 'Your card number is incorrect. Please update your card details.';\n case 'incorrect_zip':\n return 'Your card\\'s zip code is incorrect. Please update your billing details.';\n case 'invalid_cvc':\n return 'Your card\\'s security code is invalid. Please update your card details.';\n case 'invalid_expiry_month':\n return 'Your card\\'s expiration month is invalid. Please update your card details.';\n case 'invalid_expiry_year':\n return 'Your card\\'s expiration year is invalid. Please update your card details.';\n case 'invalid_number': // This is a generic error code, so we need to check the message\n if (this.stripe_error_message.includes('Your card number is incorrect.')) {\n return 'Your card number is incorrect. Please update your card details.';\n } else {\n return 'Unfortunately we ran into an error, while processing your payment. Please check your details and authorize payment.';\n }\n case 'processing_error':\n return 'Unfortunately we ran into an error, while processing your payment. Please check your details and authorize payment.';\n default:\n return 'Unfortunately we ran into an error, while processing your payment. Please check your details and authorize payment.';\n }\n }\n }\n\n public getPaymentIntent(): Promise {\n return InvoiceApi.getPaymentIntent(this.id).then((json) => {\n return json.payment_intent;\n });\n }\n\n public header(): string {\n if (this.period_start == null) {\n return `Invoice #${this.id}`;\n }\n const month = this.period_start?.toLocaleString('default', {month: 'long'}) || '';\n const year = this.period_start?.getFullYear() || '';\n return `Invoice ${month} ${year}`;\n }\n\n public paymentPeriod(): string {\n const diffDays = Math.ceil((this.period_end?.getTime() || 0) - (this.period_start?.getTime() || 0)) / (1000 * 3600 * 24);\n if (diffDays < 360) { // 1 year (it is close enough)\n return 'Monthly'\n } else {\n return 'Yearly'\n }\n }\n\n public pay(param: { billing_address_id: number; stripe_setup_intent: string; credit_card_id: number }): Promise {\n return InvoiceApi.pay(this.id, param).then((json) => {\n this.load(json.invoice);\n });\n }\n\n public isPaid(): boolean {\n return this.paid_at != null;\n }\n\n public getBillingAddress(billingAddressProvider: BillingAddressProvider): Promise {\n return billingAddressProvider.get(this.billing_address_id);\n }\n}\n","import {SortOrder} from 'antd/lib/table/interface';\nimport Api from 'models/Api';\nimport {SearchApi} from 'models/SearchApi';\nimport {IInvoiceApiData} from 'models/invoice/IInvoiceApiData';\nimport {IInvoiceSearchApiData} from 'models/invoice/IInvoiceSearchApiData';\nimport {IInvoiceApiUpdateData} from 'models/invoice/IInvoiceUpdateApiData';\nimport {ApiResponseData} from 'models/ApiResponseData';\n\nexport type IInvoiceApiSearchOrdering = 'id';\n\nexport interface IInvoiceApiSearchFilterParams {\n id?: string;\n customer_name?: string;\n plan_name?: string;\n period_start?: string;\n period_end?: string;\n paid_at?: string;\n deleted_at?: boolean;\n next_revision_id?: boolean;\n order_by?: IInvoiceApiSearchOrdering;\n order?: SortOrder;\n}\n\nexport interface IInvoiceApiSearchParams {\n subscription_ids?: number[];\n user_ids?: number[];\n billing_address_ids?: number[];\n page?: number;\n page_size?: number;\n filters?: IInvoiceApiSearchFilterParams\n}\n\nexport class InvoiceApi {\n public static getAllForSubscription(subscriptionId: number): Promise {\n return Api.get(`/api/v1/subscriptions/${subscriptionId}/invoices`)\n .then(response => response.json())\n }\n\n public static getAllForUser(userId: number): Promise {\n return Api.get(`/api/v1/users/${userId}/invoices`)\n .then(response => response.json())\n }\n\n public static getAllForBillingAddresses(addressId: number): Promise {\n return Api.get(`/api/v1/users/${addressId}/invoices`)\n .then(response => response.json())\n }\n\n public static getInvoiceSearch(searchParams?: IInvoiceApiSearchParams): Promise {\n let query: string[] = [];\n let queryStr = ''\n if (searchParams) {\n const {subscription_ids, user_ids, billing_address_ids} = searchParams;\n if (subscription_ids && subscription_ids.length > 0) {\n query.push(`subscription_ids=${subscription_ids.join(',')}`);\n }\n if (user_ids && user_ids.length > 0) {\n query.push(`user_ids=${user_ids.join(',')}`);\n }\n if (billing_address_ids && billing_address_ids.length > 0) {\n query.push(`billing_address_ids=${billing_address_ids.join(',')}`);\n }\n queryStr = SearchApi.buildQueryFromParams(searchParams, query);\n }\n\n return Api.get(`/api/v1/invoices/search${queryStr}`)\n .then(response => response.json());\n }\n\n public static get(id: number): Promise {\n return Api.get(`/api/v1/invoices/${id}`)\n .then(response => response.json())\n .then(json => json.invoice);\n }\n\n public static deleteInvoice(id: number): Promise {\n return Api.del(`/api/v1/invoices/${id}`)\n .then(response => response.json());\n }\n\n public static editInvoice(id: number, params: IInvoiceApiUpdateData): Promise {\n return Api.put(`/api/v1/invoices/${id}`, {\n body: JSON.stringify({\n invoice: params\n })\n })\n .then(response => response.json())\n .then(json => json.invoice);\n }\n\n static getPaymentIntent(id: number) {\n return Api.get(`/api/v1/invoices/${id}/payment_intent`)\n .then(response => response.json());\n }\n\n static pay(id: number, param: { billing_address_id: number; stripe_setup_intent: string; credit_card_id: number }) {\n return Api.put(`/api/v1/invoices/${id}/pay`, {\n body: JSON.stringify(param)\n }).then(response => response.json());\n }\n}\n","import Cookies from 'universal-cookie';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {SessionApi} from 'models/session/SessionApi';\nimport * as path from \"path\";\n\nnamespace SessionCookieStore {\n // The session cookie should not hold any identifiable data / functional info as we will leave it unsecure.\n // This is so we can compile assets once and they can run anywhere.\n // It is not like secure is even that strong a protection anyhow.\n const secure = false;\n\n const cookies = new Cookies();\n const USER_ID = 'rascal-user-id';\n const API_KEY = 'rascal-api-key';\n const BYPASS_TOKEN = 'jwt';\n const ONE_YEAR_IN_SECONDS = 31557600;\n\n export function userId(): number {\n const userId = cookies.get(USER_ID);\n return !!userId ? Number(userId) : null;\n }\n\n export function hasCredentials(): boolean {\n return !!userId();\n }\n\n export function clear(): void {\n cookies.remove(USER_ID);\n cookies.remove(API_KEY);\n cookies.remove(BYPASS_TOKEN);\n }\n\n export function store(response): ApiResponseData {\n if (response['user_id']) {\n cookies.set(USER_ID, response['user_id'], {\n path: '/',\n secure: secure,\n sameSite: \"strict\",\n maxAge: ONE_YEAR_IN_SECONDS\n });\n }\n let success = SessionCookieStore.hasCredentials();\n return {success: success, message: success ? 'Signed in successfully' : 'Incorrect email or password'};\n }\n}\n\nexport default SessionCookieStore;\n","export enum Language {\n English = \"English\",\n TeReo = \"Te Reo Maori\"\n}\n","import { action, computed, makeObservable, observable } from 'mobx';\n\nimport Value from 'helpers/Value';\nimport { ISettingsApiData } from 'models/settings/ISettingsApiData';\nimport { SettingsProvider } from 'models/settings/SettingsProvider';\nimport { Language } from './Language';\n\nexport class Settings {\n private readonly provider: SettingsProvider;\n\n @observable public user_id: number;\n\n @observable public is_music_on: boolean;\n @observable public is_narration_on: boolean;\n @observable public language: Language;\n\n constructor(provider: SettingsProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withData = this.withData.bind(this);\n }\n\n public withData(data: ISettingsApiData): Settings {\n this.load(data);\n return this;\n }\n\n public toData(): ISettingsApiData {\n return {\n user_id: this.user_id,\n is_music_on: this.is_music_on,\n is_narration_on: this.is_narration_on,\n language: this.language\n };\n }\n\n @action.bound\n public load(data: ISettingsApiData) {\n this.is_music_on = Value.defaultTrue(data?.is_music_on);\n this.is_narration_on = Value.defaultTrue(data?.is_narration_on);\n switch (data?.language) {\n case Language.English:\n this.language = Language.English;\n break;\n case Language.TeReo:\n this.language = Language.TeReo;\n break;\n default:\n this.language = Language.English;\n }\n\n this.withCurrentUser();\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n\n @computed\n public get hasRequiredFields() {\n return true;\n }\n\n public withCurrentUser(): Settings {\n this.user_id = this.provider.SessionProvider.userId();\n return this;\n }\n\n public async save(): Promise {\n return this.update();\n }\n\n public fetchData(): Promise {\n return this.provider.get().then(this.withData);\n }\n\n private update(): Promise {\n return this.provider.update(this).then(json => this.load(json));\n }\n\n withDefaultValues(user_id: number) {\n this.user_id = user_id;\n this.is_music_on = true;\n this.is_narration_on = true;\n this.language = Language.English;\n return this;\n }\n}\n","import * as _ from 'lodash';\nimport {action, makeObservable, observable, runInAction} from 'mobx';\n\nimport {Hash} from 'types/hash';\nimport Value from 'helpers/Value';\n\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {IStoryApiData} from 'models/story/IStoryApiData';\nimport {StoryProvider} from 'models/story/StoryProvider';\nimport {StoryLocalisation} from 'models/storyLocalisation/StoryLocalisation';\nimport {StoryRelease} from 'models/storyRelease/StoryRelease';\nimport {StorySession} from 'models/storySession/StorySession';\nimport {IRole} from 'models/story/IStoryUpdateApiData';\nimport {Collection} from 'models/collection/Collection';\nimport {Universe} from 'models/universe/Universe';\n\nexport class Story {\n private readonly provider: StoryProvider\n\n @observable public id: number;\n\n @observable public default_localisation_id: number;\n @observable public default_localisation: StoryLocalisation;\n @observable public localisations: Hash;\n @observable public coming_soon: boolean;\n @observable public author: string;\n @observable public read_time: string;\n @observable public genre: string;\n @observable public minimum_age: number;\n @observable public related: number[];\n @observable public universe: Universe;\n\n @observable public published_at: Date;\n @observable public released_at: Date;\n\n // TODO: Update has_been_read when a story has been read\n @observable public has_been_read: boolean = false;\n\n @observable public current_release: StoryRelease;\n\n constructor(provider: StoryProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number) {\n this.id = id;\n return this;\n }\n\n public withData(data: IStoryApiData) {\n this.load(data);\n return this;\n }\n\n @action.bound\n public withDefaultLocalisation(): Story {\n if (this.default_localisation != null) {\n return this;\n }\n\n this.provider.StoryLocalisationProvider.getAll(this.id)\n .then((localisations: StoryLocalisation[]) => {\n this.localisations = {};\n localisations.map((localisation: StoryLocalisation) => {\n this.localisations[localisation.locale] = localisation;\n\n if (this.default_localisation_id === localisation.id) {\n runInAction(() => {\n this.default_localisation = localisation;\n })\n }\n });\n\n if (this.default_localisation == null) {\n if (this.default_localisation_id == null) {\n // Create a new localisation if we dont have one.\n runInAction(() => {\n this.default_localisation = new StoryLocalisation(this.provider.StoryLocalisationProvider);\n this.localisations[this.default_localisation.locale] = this.default_localisation;\n });\n } else {\n // I don't know what to do in this case\n // If we are here it means we have a default_localisation_id that does not match any of the localisations associated with this story\n }\n }\n });\n\n return this;\n }\n\n @action.bound\n public load(data: IStoryApiData) {\n this.id = data.id;\n\n this.default_localisation_id = data.default_localisation_id;\n this.published_at = Value.dateOrNull(data.published_at);\n this.released_at = Value.dateOrNull(data.released_at);\n\n if (data.default_localisation) {\n this.default_localisation = new StoryLocalisation(this.provider.StoryLocalisationProvider).withData(data.default_localisation)\n }\n\n this.coming_soon = data.coming_soon;\n this.author = data.author;\n this.genre = data.genre;\n if (data.universe) {\n this.universe = new Universe(this.provider.UniverseProvider).withData(data.universe);\n }\n this.read_time = data.read_time;\n this.minimum_age = data.minimum_age;\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n\n public create(): Promise {\n return this.provider.create(this);\n }\n\n public newStoryRelease() {\n let storyRelease = new StoryRelease(this.provider.StoryReleaseProvider);\n storyRelease.story_id = this.id;\n return storyRelease;\n }\n\n public title() {\n return this.default_localisation?.title || 'Untitled';\n }\n\n public locale() {\n return this.default_localisation?.locale || '';\n }\n\n public getData(): void {\n // noinspection JSIgnoredPromiseFromCall\n this.thenGetData();\n }\n\n public thenGetData(): Promise {\n return this.provider.get(this.id, this, true);\n }\n\n public async getLatestCompatibleStoryRelease(force: boolean = false): Promise {\n let releases = await this.getStoryReleases(force);\n return StoryRelease.filterForLatest(releases);\n }\n\n public getStoryReleases(force: boolean = false): Promise {\n if (this.id) {\n return this.provider.StoryReleaseProvider.getAllForStory(this.id, force);\n } else {\n return Promise.reject('Story Id is null');\n }\n }\n\n public async getLatestStoryReleases(force: boolean = false): Promise {\n let releases: StoryRelease[] = await this.provider.StoryReleaseProvider.getAllForStory(this.id, force);\n return StoryRelease.filterForLatest(releases);\n }\n\n public getRelated(): Promise {\n if (this.id) {\n return this.provider.StoryProvider.getRelated(this.id);\n } else {\n return Promise.reject('Story Id is null');\n }\n }\n\n public getCollections(): Promise {\n if (this.id) {\n return this.provider.CollectionProvider.getAllFor(this.id);\n } else {\n return Promise.reject('Story Id is null');\n }\n }\n\n public getCredits(): Promise {\n return this.provider.getCredits(this.id);\n }\n\n public getStoryRelease(id: number): Promise {\n return this.getStoryReleases(true).then((storyReleases: StoryRelease[]) => {\n for (let i = 0; i < storyReleases.length; i++) {\n const storyRelease = storyReleases[i];\n if (storyRelease.id === id) {\n return storyRelease;\n }\n }\n })\n }\n\n public getStorySession(force: boolean): Promise {\n return this.provider.StorySessionProvider.getForStory(this.id, force);\n }\n\n public getSubtitle(): string {\n const SEPARATOR: string = ' • ';\n\n let items: string[] = [];\n if (this.released_at != null) {\n items.push(this.released_at?.getFullYear().toString());\n }\n if (this.genre) {\n items.push(this.genre);\n }\n if (this.read_time) {\n items.push(this.read_time);\n }\n\n return _.join(items, SEPARATOR);\n }\n\n public hasCompatibleOfflineStoryRelease(): boolean {\n // TODO: Calculate if a story has compatible story release assets stored locally\n return false;\n }\n\n public hasCompatibleOnlineStoryRelease() {\n // TODO: Calculate if a story has compatible story release assets online\n return false;\n }\n\n public toJSON() {\n return {\n id: this.id,\n defaultLocalisationId: this.default_localisation_id ?? -1,\n previewAt: null, // TODO\n publishedAt: this.published_at,\n updatedAt: null, // TODO\n releasedAt: this.released_at,\n comingSoon: this.coming_soon,\n author: this.author,\n genre: this.genre,\n readTime: this.read_time,\n minimumAge: this.minimum_age ?? 0,\n currentReleaseId: this.current_release?.id ?? -1\n }\n }\n}\n","import Api from 'models/Api';\nimport {Story} from 'models/story/Story';\nimport {IStoryApiData} from 'models/story/IStoryApiData';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {IRole, IStoryUpdateApiData} from 'models/story/IStoryUpdateApiData';\n\nexport class StoryApi {\n\n public static get(id: number): Promise {\n return Api.get(`/api/v1/stories/${id}`).then(response => response.json())\n }\n\n public static getCredits(id: number): Promise {\n return Api.get(`/api/v1/stories/${id}/credits`).then(response => response.json())\n }\n\n public static getAll(): Promise {\n return Api.get(`/api/v1/stories/`)\n .then(response => response.json())\n .then(json => json.stories);\n }\n\n public static getAllIncludingBlocked(): Promise {\n return Api.get(`/api/v1/stories/all`)\n .then(response => response.json())\n .then(json => json.stories);\n }\n\n public static getFavourites(): Promise {\n return Api.get(`/api/v1/stories/favourites`)\n .then(response => response.json())\n .then(json => json.stories);\n }\n\n public static getRelated(id: number): Promise {\n return Api.get(`/api/v1/stories/${id}/related`)\n .then(response => response.json())\n .then(json => json.stories);\n }\n\n public static create(story: Story): Promise {\n return Api.post(`/api/v1/stories`, {\n body: JSON.stringify({\n story: {\n default_localisation: {\n locale: story.default_localisation.locale,\n title: story.default_localisation.title,\n biography: story.default_localisation.biography,\n image_url: story.default_localisation.image_url,\n portrait_image_url: story.default_localisation.portrait_image_url\n }\n }\n })\n })\n .then(response => response.json())\n }\n\n public static update(id: number, data: IStoryUpdateApiData): Promise {\n return Api.put(`/api/v1/stories/${id}`, {\n body: JSON.stringify(data)\n })\n .then(response => response.json())\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport {Story} from 'models/story/Story';\nimport {StoryLocalisationProvider} from 'models/storyLocalisation/StoryLocalisationProvider';\nimport {IStoryLocalisationApiData} from 'models/storyLocalisation/IStoryLocalisationApiData';\n\nexport class StoryLocalisation {\n private readonly provider: StoryLocalisationProvider;\n\n @observable public id: number;\n\n @observable public title: string;\n @observable public biography: string;\n @observable public locale: string;\n @observable public title_image_url: string;\n @observable public image_url: string;\n @observable public portrait_image_url: string;\n @observable public featured_portrait_image_url: string;\n @observable public featured_landscape_image_url: string;\n @observable public multi_panel_image_url1: string;\n @observable public multi_panel_image_url2: string;\n @observable public multi_panel_image_url3: string;\n @observable public featured_text_color: string;\n\n @observable public story_id: number;\n @observable public story: Story;\n\n constructor(provider: StoryLocalisationProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number) {\n this.id = id;\n return this;\n }\n\n public withData(data: IStoryLocalisationApiData) {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IStoryLocalisationApiData) {\n this.id = data.id;\n this.title = data.title;\n this.biography = data.biography;\n this.locale = data.locale;\n this.title_image_url = data.title_image_url;\n this.image_url = data.image_url;\n this.portrait_image_url = data.portrait_image_url;\n this.featured_portrait_image_url = data.featured_portrait_image_url;\n this.featured_landscape_image_url = data.featured_landscape_image_url;\n this.multi_panel_image_url1 = data.multi_panel_image_url1;\n this.multi_panel_image_url2 = data.multi_panel_image_url2;\n this.multi_panel_image_url3 = data.multi_panel_image_url3;\n this.featured_text_color = data.featured_text_color;\n this.story_id = data.story_id;\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n}\n","import _ from 'lodash';\nimport {action, makeObservable, observable} from 'mobx';\n\nimport {\n IAssetBundle,\n IAssetBundleManifest,\n ISceneBundle,\n IStoryBundle,\n JsonStoryBundle\n} from 'models/storyRelease/IAssetBundleManifest';\nimport {IAssetBundleInfo, IYamlManifest} from 'models/storyRelease/Manifest';\n\nexport enum ProgressState {\n ERROR = -1,\n NOT_STARTED = 0,\n IN_PROGRESS = 1,\n COMPLETED = 2,\n PROGRESS_LOST = 3,\n}\n\nexport class AssetBundle {\n @observable public release_id: number;\n @observable public name: string;\n @observable public index: number;\n @observable public is_scene: boolean;\n @observable public url: string;\n @observable public dependencies: string[];\n\n @observable public progress_state: ProgressState = ProgressState.NOT_STARTED;\n\n public get DataPath(): string {\n return `${this.url.split('/').at(-1)}_asset_data`\n }\n\n public get PointerPath(): string {\n return `${this.url.split('/').at(-1)}_asset_pointer`\n }\n\n constructor() {\n }\n\n private withData(data: IAssetBundle): AssetBundle {\n this.load(data);\n return this;\n }\n\n @action.bound\n private load(data: IAssetBundle): void {\n this.name = data.name;\n let index: number = parseInt(data.name.replace(/\\D/g, ''));\n this.index = isNaN(index) ? 0 : index;\n this.is_scene = !data.name.includes('assets');\n this.url = data.url;\n this.dependencies = data.dependencies;\n }\n\n public withYamlData(yaml: IAssetBundleInfo): AssetBundle {\n this.loadFromYaml(yaml);\n return this;\n }\n\n @action.bound\n public loadFromYaml(yaml: IAssetBundleInfo): void {\n console.log(yaml);\n this.name = yaml.Name;\n this.dependencies = _.values(yaml.Dependencies);\n }\n\n public isDownloadComplete(): boolean {\n return this.progress_state == ProgressState.COMPLETED; //TODO: && fileExists()\n }\n\n public static LoadAllFromArray(array: IAssetBundle[]): AssetBundle[] {\n return !array ? [] : array.map(bundle => new AssetBundle().withData(bundle));\n }\n\n public static LoadAllFromYamlObject(obj: IYamlManifest): AssetBundle[] {\n let bundleInfos: Record = obj.AssetBundleManifest.AssetBundleInfos;\n return _.map(_.values(bundleInfos), (value: IAssetBundleInfo) => new AssetBundle().withYamlData(value));\n }\n}\n\nexport class AssetBundleManifest {\n @observable public asset_bundles: AssetBundle[];\n\n\n constructor() {\n makeObservable(this);\n\n this.withData = this.withData.bind(this);\n }\n\n public withData(data: IAssetBundleManifest): AssetBundleManifest {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IAssetBundleManifest): void {\n if (data) this.asset_bundles = AssetBundle.LoadAllFromArray(data.asset_bundles);\n }\n\n public withYamlData(yaml: IYamlManifest): AssetBundleManifest {\n this.loadFromYaml(yaml);\n return this;\n }\n\n @action.bound\n public loadFromYaml(yaml: IYamlManifest): void {\n this.asset_bundles = AssetBundle.LoadAllFromYamlObject(yaml)\n }\n\n public setReleaseId(id: number): void {\n _.map(this.asset_bundles, bundle => bundle.release_id = id);\n }\n\n public getBundleByName(name: string): AssetBundle | undefined {\n return _.find(this.asset_bundles, bundle => bundle.name === name);\n }\n\n public getStoryBundle(): IStoryBundle {\n let orderedScenes: AssetBundle[] = _.orderBy(_.filter(this.asset_bundles, bundle => bundle.is_scene), bundle => bundle.index);\n\n let orderedBundles: IStoryBundle = {\n scene_bundles: [],\n current_scene_bundle: ''\n };\n\n _.map(orderedScenes, scene => {\n\n let sceneBundle: ISceneBundle = {name: scene.name, asset_bundles: []};\n _.map(scene.dependencies, dependencyName => {\n let bundleByName = this.getBundleByName(dependencyName);\n if (bundleByName) sceneBundle.asset_bundles.push(bundleByName);\n });\n sceneBundle.asset_bundles.push(scene);\n\n orderedBundles.scene_bundles.push(sceneBundle);\n });\n\n return orderedBundles;\n }\n\n public static toJsonStoryBundle(storyBundle: IStoryBundle): JsonStoryBundle {\n return {\n scene_bundles: storyBundle.scene_bundles.map(scene => ({\n name: scene.name,\n asset_bundles: scene.asset_bundles.map(bundle => bundle.url)\n })),\n current_scene_bundle: storyBundle.current_scene_bundle\n };\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport _ from 'lodash';\nimport semver from 'semver';\n\nimport Config from 'config/Config';\nimport Value from 'helpers/Value';\nimport {StoryReleaseProvider} from 'models/storyRelease/StoryReleaseProvider';\nimport {AssetBundleManifest} from 'models/storyRelease/AssetBundleManifest';\nimport {\n IStoryReleaseApiDataCreateRequest,\n IStoryReleaseApiDataGetResponse\n} from 'models/storyRelease/IStoryReleaseApiData';\n\nexport class StoryRelease {\n private readonly provider: StoryReleaseProvider;\n\n @observable public id: number;\n\n @observable public story_id: number;\n @observable public platform: string;\n @observable public major_version: number;\n @observable public minor_version: number;\n @observable public patch_version: number;\n @observable public sdk_major_version: number;\n @observable public sdk_minor_version: number;\n @observable public sdk_patch_version: number;\n @observable public compatible_versions: string[];\n @observable public current_chapter_bundle: string;\n @observable public is_current_release_for_story_id: number;\n @observable public unity_asset_url: string;\n @observable public unity_asset_manifest: AssetBundleManifest = new AssetBundleManifest();\n\n @observable public published_at: Date;\n @observable public created_at: Date;\n\n constructor(provider: StoryReleaseProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number): StoryRelease {\n this.id = id;\n return this;\n }\n\n public withData(data: IStoryReleaseApiDataGetResponse | StoryRelease): StoryRelease {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IStoryReleaseApiDataGetResponse | StoryRelease) {\n this.id = data.id;\n this.story_id = data.story_id;\n\n this.platform = data.platform;\n this.major_version = data.major_version;\n this.minor_version = data.minor_version;\n this.patch_version = data.patch_version;\n this.sdk_major_version = data.sdk_major_version;\n this.sdk_minor_version = data.sdk_minor_version;\n this.sdk_patch_version = data.sdk_patch_version;\n this.compatible_versions = data.compatible_versions;\n\n this.unity_asset_url = data.unity_asset_url;\n this.unity_asset_manifest = new AssetBundleManifest().withData(data.unity_asset_manifest);\n\n this.published_at = Value.dateOrNull(data.published_at);\n this.created_at = Value.dateOrNull(data.created_at);\n }\n\n public published(): boolean {\n return this.published_at != null;\n }\n\n public version(): string {\n return `${this.major_version}.${this.minor_version}.${this.patch_version}`;\n }\n\n public sdkVersion(): string {\n return `${this.sdk_major_version}.${this.sdk_minor_version}.${this.sdk_patch_version}`;\n }\n\n public create(): Promise {\n let storyReleaseApiData: IStoryReleaseApiDataCreateRequest = {\n story_id: this.story_id,\n platform: this.platform,\n major_version: this.major_version,\n minor_version: this.minor_version,\n patch_version: this.patch_version,\n sdk_major_version: this.sdk_major_version,\n sdk_minor_version: this.sdk_minor_version,\n sdk_patch_version: this.sdk_patch_version,\n compatible_versions: this.compatible_versions,\n unity_asset_url: this.unity_asset_url,\n unity_asset_manifest: this.unity_asset_manifest\n }\n\n return this.provider.create(storyReleaseApiData);\n }\n\n public setSDKVersion(sdk_major_version: number, sdk_minor_version: number, sdk_patch_version: number): void {\n this.sdk_major_version = sdk_major_version;\n this.sdk_minor_version = sdk_minor_version;\n this.sdk_patch_version = sdk_patch_version;\n }\n\n public isCompatibleWithSDK(): boolean {\n if (this.platform !== 'webgl') return false;\n\n return this.compatible_versions.some(version => semver.satisfies(Config.sdkVersion, version));\n }\n\n public hasAssetUrl(): boolean {\n let bundles = this.unity_asset_manifest?.asset_bundles;\n let bundlesWithUrl = _.filter(bundles, bundle => !!bundle.url);\n return this.unity_asset_url !== null || (bundles.length > 0 && bundles.length === bundlesWithUrl.length);\n }\n\n public static filterForLatest(releases: StoryRelease[]): StoryRelease | null {\n let res = releases.filter(release => release.isCompatibleWithSDK())\n .sort((release1: StoryRelease, release2: StoryRelease) => {\n let major1 = release1.major_version;\n let major2 = release2.major_version;\n let minor1 = release1.minor_version;\n let minor2 = release2.minor_version;\n let patch1 = release1.patch_version;\n let patch2 = release2.patch_version;\n if (isNaN(major1)) return -1;\n if (isNaN(major2)) return 1;\n if (major1 != major2) return major1 - major2;\n if (isNaN(minor1)) return -1;\n if (isNaN(minor2)) return 1;\n if (minor1 != minor2) return minor1 - minor2;\n if (isNaN(patch1)) return -1;\n if (isNaN(patch2)) return 1;\n return patch1 - patch2;\n });\n return res.length > 0 ? res[res.length - 1] : null;\n }\n\n public toJSON() {\n return {\n id: this.id,\n storyId: this.story_id,\n platform: this.platform == 'webgl' ? 2 : this.platform == 'ios' ? 1 : 0,\n majorVersion: this.major_version,\n minorVersion: this.minor_version,\n patchVersion: this.patch_version,\n sdkMajorVersion: this.sdk_major_version,\n sdkMinorVersion: this.sdk_minor_version,\n sdkPatchVersion: this.sdk_patch_version,\n compatibleVersions: this.compatible_versions,\n unityAssetUrl: this.unity_asset_url,\n publishedAt: this.published_at\n }\n }\n}\n","export class DateCalc {\n public static daysBetween(firstDate: Date, secondDate: Date): number {\n const oneDayInMillis: number = 24 * 60 * 60 * 1000;\n const diffInMillis: number = firstDate.valueOf() - secondDate.valueOf();\n\n return Math.round(diffInMillis / oneDayInMillis);\n }\n}","export class EnumParser {\n public static parseEnum(value: string, enumType: T): T[keyof T] | null {\n if (value) {\n for (const property in enumType) {\n if (enumType.hasOwnProperty(property)) {\n const enumMember: T[keyof T] | null = enumType[property];\n if (typeof enumMember === 'string' && enumMember.toUpperCase() === value.toUpperCase()) {\n const key = enumMember as string as keyof typeof enumType;\n return enumMember;\n }\n }\n }\n }\n\n return null;\n }\n}","import React from 'react';\nimport {action, makeObservable, observable} from 'mobx';\nimport * as _ from 'lodash';\nimport pluralize from 'pluralize'\nimport numWords from 'num-words'\n\nimport {DateCalc} from 'helpers/DateCalc';\nimport {EnumParser} from 'helpers/EnumParser';\nimport Format from 'helpers/Format';\nimport Value from 'helpers/Value';\n\nimport {SubscriptionPlan} from 'models/subscriptionPlan/SubscriptionPlan';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {ISubscriptionApiData} from 'models/subscription/ISubscriptionApiData';\nimport {IUserApiData} from 'models/user/IUserApiData';\nimport {User} from 'models/user/User';\nimport {SubscriptionProvider} from 'models/subscription/SubscriptionProvider';\n\n\nexport enum IBillingPeriod {\n MONTHLY = 'monthly',\n YEARLY = 'yearly'\n}\n\nexport enum ISubscriptionState {\n ACTIVATED,\n DEACTIVATED,\n CANCELED\n}\n\nexport class Subscription {\n private readonly provider: SubscriptionProvider;\n\n @observable public id: number;\n @observable public name: string;\n\n @observable public subscription_plan: SubscriptionPlan;\n @observable public subscribers: User[];\n\n @observable public managed_by_id: number;\n @observable public manager: User;\n\n @observable public subscription_plan_key: string | null;\n @observable public active: boolean;\n\n @observable public max_number_of_users: number;\n @observable public max_number_of_devices: number;\n @observable public billing_period: IBillingPeriod | null;\n @observable public price: number;\n @observable public currency: string;\n @observable public billing_address_id: number | null;\n @observable public stripe_setup_intent: string | null;\n @observable public credit_card_last_four_digits: string | null;\n @observable public last_successful_charge: Date | null;\n @observable public cancelled_at: Date | null;\n\n @observable public blocked_stories: number[] | null;\n\n @observable public created_at: Date | null;\n @observable public updated_at: Date | null;\n\n constructor(provider: SubscriptionProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.subscription_plan = new SubscriptionPlan(this.provider.SubscriptionPlanProvider);\n this.subscribers = [];\n this.manager = new User(this.provider.UserProvider);\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n this.withSubscribers = this.withSubscribers.bind(this);\n this.withSubscriptionPlan = this.withSubscriptionPlan.bind(this);\n }\n\n @action\n public withId(id: number): Subscription {\n this.id = id;\n return this;\n }\n\n @action\n public withData(data: ISubscriptionApiData): Subscription {\n this.load(data);\n return this;\n }\n\n @action\n public withSubscribers(subscribers: User[]): Subscription {\n this.subscribers = subscribers;\n return this;\n }\n\n @action\n public withSubscriptionPlan(plan: SubscriptionPlan): Subscription {\n this.subscription_plan = plan;\n return this;\n }\n\n @action\n public load(data: ISubscriptionApiData): void {\n this.id = data.id;\n this.name = data.name;\n\n if (data.subscription_plan) this.subscription_plan = this.subscription_plan.withSubscriptionData(data.subscription_plan);\n if (data.subscribers) this.subscribers = data.subscribers.map((data: ISubscriptionApiData.ISubscriberData) => new User(this.provider.UserProvider).withSubscriptionData(data));\n\n this.managed_by_id = data.managed_by_id;\n if (data.manager) this.manager = this.manager.withSubscriptionData(data.manager);\n this.subscription_plan_key = data.subscription_plan_key;\n this.active = Value.defaultFalse(data.subscription_plan.active);\n\n this.max_number_of_users = data.max_number_of_users;\n this.max_number_of_devices = data.max_number_of_devices;\n this.billing_period = EnumParser.parseEnum(data.billing_period, IBillingPeriod);\n this.price = Value.defaultZero(data.price);\n this.currency = data.currency;\n this.billing_address_id = data.billing_address_id;\n this.stripe_setup_intent = data.stripe_setup_intent;\n this.credit_card_last_four_digits = data.credit_card?.last_four_digits || '';\n this.last_successful_charge = Value.dateOrNull(data.last_successful_charge);\n this.cancelled_at = Value.dateOrNull(data.cancelled_at);\n\n this.blocked_stories = data.blocked_stories;\n\n this.created_at = Value.dateOrNull(data.created_at);\n this.updated_at = Value.dateOrNull(data.updated_at);\n }\n\n @action\n public setValue(field: string, value: any): void {\n this[field] = value;\n }\n\n public isManagedByUser(userId: number = this.provider.SessionProvider.userId()): boolean {\n return Number(userId) === Number(this.managed_by_id);\n }\n\n public canCancel(): boolean {\n return this.isManagedByUser() && this.getState() === ISubscriptionState.ACTIVATED;\n }\n\n public canManageSubscribers(): boolean {\n return this.isManagedByUser() && this.subscribers?.length > 1;\n }\n\n public getState(): ISubscriptionState {\n if (!this.active) {\n return ISubscriptionState.DEACTIVATED;\n } else if (this.cancelled_at === null) {\n return ISubscriptionState.ACTIVATED;\n } else {\n return ISubscriptionState.CANCELED;\n }\n }\n\n public getStateMessage(): string {\n switch (this.getState()) {\n case ISubscriptionState.ACTIVATED:\n return 'Active'\n case ISubscriptionState.DEACTIVATED:\n return 'Deactivated';\n case ISubscriptionState.CANCELED:\n return `Cancelled on ${Format.longDate(this.cancelled_at)}`;\n }\n }\n\n public getTrialMessage(): string {\n if (!this.subscription_plan?.trial) {\n return '';\n }\n\n const now: Date = new Date();\n const endDate: Date = this.getTrailEndDate();\n const dateString: string = Format.longDate(endDate);\n const daysBetween: number = DateCalc.daysBetween(endDate, now);\n\n if (daysBetween === 0) {\n return `Your trial will end today`;\n } else if (daysBetween === 1) {\n return `Your trial will end tomorrow`;\n } else if (daysBetween > 0) {\n return `Your trial will end in ${(daysBetween)} days, on ${dateString}`;\n } else {\n return `Your trial ended on ${dateString}`;\n }\n }\n\n public getNextChargeMessage(): string {\n const date = this.getNextChargeDate();\n const dateString: string = Format.longDate(date);\n const priceString: string = this.getPriceString();\n\n switch (this.getState()) {\n case ISubscriptionState.ACTIVATED:\n if (this.price <= 0) {\n return 'Free subscription';\n }\n\n if (!this.isManagedByUser()) {\n return '';\n }\n\n let message: string = `You will be charged ${priceString} on ${dateString}`;\n if (this.credit_card_last_four_digits) {\n message += ` to card ending with ${this.credit_card_last_four_digits}`;\n }\n return message;\n case ISubscriptionState.CANCELED:\n return `Your plan will be terminated on ${Format.longDate(date)}`;\n case ISubscriptionState.DEACTIVATED:\n return '';\n }\n }\n\n public canSetPaymentMethod(): boolean {\n return this.price > 0 &&\n this.getState() === ISubscriptionState.ACTIVATED &&\n this.isManagedByUser()\n }\n\n private getPriceString(): string {\n return Format.money({amount: this.price, currency: this.currency});\n }\n\n private getNextChargeDate(): Date {\n if (this.isTrailEndedDateInTheFuture()) return this.getTrailEndDate();\n\n let date = this.last_successful_charge || this.getTrailEndDate();\n switch (this.billing_period) {\n case IBillingPeriod.MONTHLY:\n date = new Date(date.setMonth(date.getMonth() + 1));\n break;\n case IBillingPeriod.YEARLY:\n date = new Date(date.setFullYear(date.getFullYear() + 1));\n break;\n }\n\n return date;\n }\n\n private isTrailEndedDateInTheFuture(): boolean {\n let trailEndDate: Date = this.getTrailEndDate();\n let now: Date = new Date();\n\n return now < trailEndDate;\n }\n\n private getTrailEndDate(): Date {\n let date: Date = new Date(this.created_at.valueOf());\n if (this.subscription_plan?.trial) {\n date.setDate(this.created_at.getDate() + this.subscription_plan.trial_days);\n }\n\n return date;\n }\n\n public getSubscriberCountMessage(): string {\n return `${_.startCase(numWords(this.subscribers.length))} ${pluralize('subscriber', this.subscribers.length)}`\n }\n\n public fetchData(): Promise {\n return this.provider.get(this.id).then(this.withData);\n }\n\n public cancel(isAdmin: boolean = false): Promise {\n if (this.isManagedByUser() || isAdmin) {\n return this.provider.cancelSubscription(this.id);\n } else {\n return Promise.resolve({success: false, message: 'You are not the manager of this subscription'});\n }\n }\n\n public resume(isAdmin: boolean = false): Promise {\n if (this.isManagedByUser() || isAdmin) {\n return this.provider.resumeSubscription(this.id);\n } else {\n return Promise.resolve({success: false, message: 'You are not the manager of this subscription'});\n }\n }\n\n public promoteToManager(userId: number, isAdmin: boolean): Promise {\n if (this.isManagedByUser() || isAdmin) {\n return this.provider.promoteToManager(this.id, {user_id: userId});\n } else {\n return Promise.resolve({success: false, message: 'You are not the manager of this subscription'});\n }\n }\n\n public addSubscribersToSubscription(subscriberIds: string[], isAdmin: boolean = false): Promise {\n if (this.isManagedByUser() || isAdmin) {\n return this.provider.addSubscribersToSubscription(this.id, {subscriber_ids: subscriberIds});\n } else {\n return Promise.resolve({success: false, message: 'You are not the manager of this subscription'});\n }\n }\n\n public leave(): Promise {\n return this.provider.leaveSubscription(this.id);\n }\n\n public kickSubscribers(subscriberIds: number[], isAdmin: boolean = false): Promise {\n if (this.isManagedByUser() || isAdmin) {\n return this.provider.kickSubscriber(this.id, {subscriber_ids: subscriberIds});\n } else {\n return Promise.resolve({success: false, message: 'You are not the manager of this subscription'});\n }\n }\n\n public fetchSubscribers(isAdmin: boolean = false): Promise {\n if (this.isManagedByUser() || isAdmin) {\n return this.provider.getSubscribers(this.id)\n .then((apiSubscribers: IUserApiData[]) => apiSubscribers.map(userData => new User(this.provider.UserProvider).withData(userData)))\n .then(this.withSubscribers);\n } else {\n return Promise.resolve(this);\n }\n }\n}\n","import _ from 'lodash';\n\nimport Api from 'models/Api';\nimport {ApiResponseData, ApiResponseDataWithResult} from 'models/ApiResponseData';\nimport {ISubscriptionApiData, ISubscriptionUpdateApiData} from 'models/subscription/ISubscriptionApiData';\nimport {ISubscriptionSearchApiData} from 'models/subscription/ISubscriptionSearchApiData';\nimport {IUserApiData} from 'models/user/IUserApiData';\n\nimport {SortOrder} from 'antd/lib/table/interface';\nimport {SearchApi} from \"models/SearchApi\";\nimport {UserInfo, UserInfoResult} from \"components/public/pages/subscriptions/BulkSubscribe\";\n\nexport type ISubscriptionApiSearchOrdering = 'id' | 'active' | 'created_at';\n\nexport interface ISubscriptionApiSearchFilterParams {\n id?: string;\n active?: boolean;\n created_at?: string;\n order_by?: ISubscriptionApiSearchOrdering;\n order?: SortOrder;\n}\n\nexport interface ISubscriptionApiSearchParams {\n subscription_plan_ids?: number[];\n page?: number;\n page_size?: number;\n filters?: ISubscriptionApiSearchFilterParams\n}\n\nexport class SubscriptionApi {\n public static get(id: number): Promise {\n return Api.get(`/api/v1/subscriptions/${id}`)\n .then(response => response.json())\n .then(json => json.subscription);\n }\n\n public static getAll() {\n return Api.get('/api/v1/subscriptions')\n .then(response => response.json())\n .then(json => json.subscriptions);\n }\n\n public static hasValidSubscription(user_id: number): Promise {\n if (user_id == null) {\n return Promise.resolve(false);\n }\n return Api.get(`/api/v1/users/${user_id}/valid_subscription`)\n .then(response => response.json())\n .then(json => json.valid);\n }\n\n public static userSubscriptions(user_id: number): Promise {\n return Api.get(`/api/v1/users/${user_id}/subscriptions`)\n .then(response => response.json())\n .then(json => json.subscriptions);\n }\n\n public static createSubscription(body: {\n user_id: number,\n subscription_plan_id: number,\n subscription_plan_key?: string,\n billing_address_id?: number,\n stripe_setup_intent?: string,\n credit_card_id?: number\n }): Promise {\n return Api.post('/api/v1/subscriptions', {\n body: JSON.stringify({\n user_id: body.user_id.toString(),\n subscription_plan_id: body.subscription_plan_id.toString(),\n subscription_plan_key: body.subscription_plan_key,\n stripe_setup_intent: body.stripe_setup_intent,\n credit_card_id: body.credit_card_id ? body.credit_card_id.toString() : undefined,\n billing_address_id: body.billing_address_id ? body.billing_address_id.toString() : undefined,\n })\n })\n .then(response => response.json());\n }\n\n public static getSubscribers(subscription_id: number): Promise {\n return Api.get(`/api/v1/subscriptions/${subscription_id}/subscribers`)\n .then(response => response.json())\n .then(json => json.subscribers);\n }\n\n public static update(subscription_id: number, params: ISubscriptionUpdateApiData): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}`, {\n body: JSON.stringify(params)\n })\n .then(response => response.json())\n .then(json => json.subscription);\n }\n\n public static cancelSubscription(subscription_id: number): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/cancel`)\n .then(response => response.json());\n }\n\n public static resumeSubscription(subscription_id: number): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/resume`)\n .then(response => response.json());\n }\n\n public static promoteToManager(subscription_id: number, body: { user_id: number }): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/promote`, {\n body: JSON.stringify(body)\n })\n .then(response => response.json());\n }\n\n public static addSubscribersToSubscription(subscription_id: number, body: { subscriber_ids: string[] }): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/add_subscribers`, {\n body: JSON.stringify(body)\n })\n .then(response => response.json());\n }\n\n public static bulkCreateSubscribers(subscription_id: number, body: { users: UserInfo[] }): Promise> {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/create_subscribers`, {\n body: JSON.stringify(body)\n }).then (response => response.json());\n }\n\n public static leaveSubscription(subscription_id: number): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/leave`)\n .then(response => response.json());\n }\n\n public static kickSubscriber(subscription_id: number, body: { subscriber_ids: number[] }): Promise {\n return Api.post(`/api/v1/subscriptions/${subscription_id}/kick`, {\n body: JSON.stringify(body)\n })\n .then(response => response.json());\n }\n\n public static countSubscriptions(searchParams?: { subscription_plan_ids?: number[] }): Promise {\n let query = '';\n if (searchParams) {\n query += '?';\n if (searchParams.subscription_plan_ids && searchParams.subscription_plan_ids.length > 0) {\n query += `subscription_plan_ids=${searchParams.subscription_plan_ids.join(',')}`;\n }\n }\n return Api.get(`/api/v1/subscriptions/count${query}`)\n .then(response => response.json());\n }\n\n public static getSubscriptionSearch(searchParams?: ISubscriptionApiSearchParams): Promise {\n let query: string[] = [];\n let queryStr = ''\n if (searchParams) {\n const {subscription_plan_ids} = searchParams;\n if (subscription_plan_ids && subscription_plan_ids.length > 0) {\n query.push(`plan_ids=${searchParams.subscription_plan_ids.join(',')}`);\n }\n queryStr = SearchApi.buildQueryFromParams(searchParams, query);\n }\n\n return Api.get(`/api/v1/subscriptions/search${queryStr}`)\n .then(response => response.json());\n }\n\n public static getSubscriptions(subscription_ids: number[]) {\n let query: string[] = [];\n let queryStr = ''\n if (subscription_ids) {\n query.push(`ids=${subscription_ids.join(',')}`);\n }\n queryStr = `?${query.join('&')}`;\n return Api.get(`/api/v1/subscriptions${queryStr}`)\n .then(response => response.json());\n }\n}\n","import React from 'react';\nimport {action, makeObservable, observable} from 'mobx';\n\nimport Value from 'helpers/Value';\n\nimport {ISubscriptionPlanKeyApiData} from 'models/subscriptionPlan/ISubscriptionPlanKeyApiData';\n\nexport class SubscriptionPlanKey {\n @observable public id: number;\n @observable public name: string;\n\n @observable public key: string;\n @observable public active: boolean;\n @observable public subscription_plan_id: number;\n @observable public subscription: any;\n @observable public used: boolean;\n\n @observable public created_at: Date;\n @observable public updated_at: Date;\n\n constructor() {\n makeObservable(this);\n this.withData = this.withData.bind(this);\n }\n\n public withData(data: ISubscriptionPlanKeyApiData) {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: ISubscriptionPlanKeyApiData) {\n this.id = data.id;\n this.name = data.name;\n this.key = data.key;\n this.active = Value.defaultFalse(data.active);\n this.subscription_plan_id = data.subscription_plan_id;\n this.subscription = data.subscription;\n this.used = this.subscription !== null;\n\n this.created_at = Value.dateOrNull(data.created_at);\n this.updated_at = Value.dateOrNull(data.updated_at);\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n}\n","import React from 'react';\nimport {action, makeObservable, observable, toJS} from 'mobx';\nimport * as _ from 'lodash';\nimport pluralize from 'pluralize'\nimport numWords from 'num-words'\n\nimport Format from 'helpers/Format';\nimport {Hash} from 'types/hash';\nimport Value from 'helpers/Value';\n\nimport {IMoney} from 'models/subscriptionPlan/IMoney';\nimport {ISubscriptionPlanApiData} from 'models/subscriptionPlan/ISubscriptionPlanApiData';\nimport {SubscriptionPlanKey} from 'models/subscriptionPlan/SubscriptionPlanKey';\nimport {ISubscriptionPlanKeyApiData} from 'models/subscriptionPlan/ISubscriptionPlanKeyApiData';\nimport {ISubscriptionApiData} from 'models/subscription/ISubscriptionApiData';\nimport {IBillingPeriod, Subscription} from 'models/subscription/Subscription';\nimport {ISubscriptionPlanUpdateApiData} from 'models/subscriptionPlan/ISubscriptionPlanUpdateApiData';\nimport {SubscriptionPlanProvider} from 'models/subscriptionPlan/SubscriptionPlanProvider';\nimport Coupon from 'models/coupon/Coupon';\n\nexport class SubscriptionPlan {\n private readonly provider: SubscriptionPlanProvider;\n\n @observable public id: number;\n\n @observable public name: string;\n @observable public trial: boolean;\n @observable public trial_days: number;\n @observable public max_number_of_users: number;\n @observable public max_number_of_devices: number;\n @observable public billing_period: string;\n @observable public country_pricing: Hash | null;\n @observable public pricing: IMoney;\n\n @observable public active: boolean;\n @observable public is_public: boolean;\n @observable public key_required: boolean;\n\n @observable public created_at: Date;\n @observable public updated_at: Date;\n\n @observable public image_url: string | null;\n @observable public subscribed_success_message: string | null;\n\n @observable public order: number;\n\n // Loaded with extra requests.\n @observable public subscriptions: Hash = {};\n @observable public keys: Hash = {};\n\n constructor(provider: SubscriptionPlanProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n this.withKeys = this.withKeys.bind(this);\n this.withKeysResponse = this.withKeysResponse.bind(this);\n }\n\n @action\n public withDefault(): SubscriptionPlan {\n this.active = false;\n this.trial = true;\n this.trial_days = 30;\n this.max_number_of_users = 1;\n this.max_number_of_devices = 3;\n this.country_pricing = {'world': {amount: 0, currency: 'NZD'}};\n this.order = 0;\n return this;\n }\n\n @action\n public withId(id: number): SubscriptionPlan {\n this.id = id;\n return this;\n }\n\n @action\n public withData(data: ISubscriptionPlanApiData): SubscriptionPlan {\n this.load(data);\n return this;\n }\n\n @action\n public withSubscriptionData(data: ISubscriptionApiData.IPlanData): SubscriptionPlan {\n this.id = data.id;\n\n this.name = data.name;\n this.trial = Value.defaultFalse(data.trial);\n this.trial_days = Value.defaultZero(data.trial_days);\n this.image_url = data.image_url;\n\n return this;\n }\n\n @action\n public withKeys(apiKeys: ISubscriptionPlanKeyApiData[]): SubscriptionPlan {\n let newKeys: Hash = {};\n _.values(this.keys).forEach((oldKey: SubscriptionPlanKey) => newKeys[oldKey.key] = oldKey);\n apiKeys.forEach((apiKey: ISubscriptionPlanKeyApiData) => newKeys[apiKey.key] = new SubscriptionPlanKey().withData(apiKey));\n\n this.keys = newKeys;\n return this;\n }\n\n @action\n public withSubscriptions(apiSubscriptions: ISubscriptionApiData[]): SubscriptionPlan {\n let newSubscriptions: Hash = {};\n _.values(this.subscriptions).forEach((oldSubscription: Subscription) => newSubscriptions[oldSubscription.id.toString()] = oldSubscription);\n apiSubscriptions.forEach((apiSubscription: ISubscriptionApiData) => newSubscriptions[apiSubscription.id.toString()] = new Subscription(this.provider.SubscriptionProvider).withData(apiSubscription));\n\n this.subscriptions = newSubscriptions;\n return this;\n }\n\n @action\n private withKeysResponse(response: { keys: ISubscriptionPlanKeyApiData[], key_required: boolean }): SubscriptionPlan {\n this.key_required = response.key_required;\n return this.withKeys(response.keys)\n }\n\n @action\n public load(data: ISubscriptionPlanApiData): void {\n this.id = data.id;\n\n this.name = data.name;\n this.trial = Value.defaultFalse(data.trial);\n this.trial_days = Value.defaultZero(data.trial_days);\n this.max_number_of_users = data.max_number_of_users;\n this.max_number_of_devices = data.max_number_of_devices;\n this.billing_period = data.billing_period;\n this.country_pricing = data.country_pricing;\n this.pricing = data.pricing;\n this.active = Value.defaultFalse(data.active);\n this.is_public = Value.defaultFalse(data.is_public);\n this.key_required = Value.defaultFalse(data.key_required);\n this.image_url = data.image_url;\n this.subscribed_success_message = data.subscribed_success_message;\n this.order = data.order;\n\n this.created_at = Value.dateOrNull(data.created_at);\n this.updated_at = Value.dateOrNull(data.updated_at);\n }\n\n @action\n public setValue(field: string, value: any): void {\n this[field] = value;\n }\n\n public getImageURL(): string {\n return this.image_url || '/images/default_subscription_plan_icon.png';\n }\n\n public getPrice(country_code = null): number {\n if (country_code == null && this.pricing != null) {\n return this.pricing.amount;\n }\n if (this.country_pricing == null) { return 0 }\n let pricing: IMoney = this.getPricing(country_code);\n return pricing.amount;\n }\n\n public getPricing(country_code = null): IMoney {\n let defaultPricing: IMoney = { amount: 0, currency: 'NZD' }\n if (country_code == null && this.pricing) {\n return this.pricing;\n }\n if (this.country_pricing == null) { return defaultPricing }\n let pricing: IMoney = this.country_pricing[country_code];\n pricing ||= this.country_pricing['world'];\n return pricing || defaultPricing;\n }\n\n public getPriceString(country_code = null): string {\n return Format.money(this.getPricing(country_code));\n }\n\n public getCouponPricing(coupon: Coupon | null, country_code = null): IMoney {\n return coupon.apply(this.getPricing(country_code));\n }\n\n public getCouponPriceString(coupon: Coupon | null, country_code = null): string {\n if (coupon == null || !coupon.applicableTo(this.id)) return this.getPriceString(country_code);\n\n return Format.money(this.getCouponPricing(coupon, country_code)); \n }\n\n public getPricePeriod(): string {\n switch (this.billing_period) {\n case IBillingPeriod.MONTHLY:\n return ' / month'\n case IBillingPeriod.YEARLY:\n return ' / year'\n }\n }\n\n public getBannerPriceString(): string {\n const trailPriceString = this.trial ? `${this.trial_days} days free, then ` : '';\n return `${trailPriceString}${this.getPriceString()}${this.getPricePeriod()}`;\n }\n\n public isFree(country_code: string | null = null, coupon: Coupon | null = null): boolean {\n if (country_code != null) {\n return this.getCouponPricing(coupon, country_code).amount > 0;\n }\n // console.log('isFree?', this.id, this.pricing, this);\n return this.pricing.amount === 0;\n }\n\n public getPriceStringMonthly(country_code: string | null = null): string {\n if (this.isFree(country_code)) return this.getPriceString(country_code);\n\n switch (this.billing_period) {\n case IBillingPeriod.YEARLY:\n let yearlyPrice: IMoney = this.getPricing(country_code);\n let monthlyPrice = {amount: yearlyPrice.amount / 12.0, currency: yearlyPrice.currency};\n return Format.money(monthlyPrice) + ' p/month'\n\n }\n return this.getPriceString();\n }\n\n public getCouponPriceStringMonthly(coupon: Coupon | null, country_code: string | null = null) {\n if (coupon == null) return this.getPriceStringMonthly(country_code);\n if (this.isFree(country_code)) return this.getCouponPriceString(coupon, country_code);\n\n switch (this.billing_period) {\n case IBillingPeriod.YEARLY:\n let yearlyPrice: IMoney = this.getCouponPricing(coupon, country_code);\n let monthlyPrice = {amount: yearlyPrice.amount / 12.0, currency: yearlyPrice.currency};\n return Format.money(monthlyPrice) + ' p/month'\n\n }\n return this.getCouponPriceString(coupon, country_code);\n }\n\n public toAPIData(): ISubscriptionPlanUpdateApiData {\n return {\n name: this.name,\n trial: this.trial,\n trial_days: this.trial_days,\n max_number_of_users: this.max_number_of_users,\n max_number_of_devices: this.max_number_of_devices,\n country_pricing: this.country_pricing,\n active: this.active,\n key_required: this.key_required,\n image_url: this.image_url,\n subscribed_success_message: this.subscribed_success_message\n }\n }\n\n public static getMaxUsersMessage(maxUsers: number): string {\n return `Maximum of ${numWords(maxUsers)} ${pluralize('user', maxUsers)}`\n }\n\n public static getMaxDevicesMessage(maxDevices: number): string {\n return maxDevices > 1 ?\n `${_.startCase(numWords(maxDevices))} different devices` :\n `${_.startCase(numWords(maxDevices))} device`\n }\n\n public fetchData(force: boolean = false): Promise {\n return this.provider.get(this.id, force).then(this.withData);\n }\n\n public fetchKeys(): Promise {\n return this.provider.getKeys(this.id).then(this.withKeys);\n }\n\n public generateKeys(amount: number): Promise {\n return this.provider.generateKeys(this.id, amount).then(this.withKeysResponse);\n }\n\n public activateKeys(keys: any[]): Promise {\n return this.provider.activateKeys(this.id, keys).then(this.withKeys);\n }\n\n public deactivateKeys(keys: any[]): Promise {\n return this.provider.deactivateKeys(this.id, keys).then(this.withKeys);\n }\n}\n","import _ from 'lodash';\nimport {action, makeObservable, observable} from 'mobx';\n\nimport Value from 'helpers/Value';\n\nimport {Story} from 'models/story/Story';\nimport {UniverseProvider} from 'models/universe/UniverseProvider';\nimport {IUniverseApiResponseData} from 'models/universe/IUniverseApiData';\n\nexport class Universe {\n private readonly provider: UniverseProvider;\n\n @observable public id: number;\n\n @observable public name: string;\n\n constructor(provider: UniverseProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number) {\n this.id = id;\n return this;\n }\n\n public withData(data: IUniverseApiResponseData) {\n this.load(data);\n return this;\n }\n\n @action.bound\n public load(data: IUniverseApiResponseData) {\n this.id = data.id;\n this.name = data.name;\n }\n\n @action.bound\n public setValue(field: string, value: any) {\n this[field] = value;\n }\n}\n","import {action, makeObservable, observable} from 'mobx';\nimport {UserProvider} from 'models/user/UserProvider';\nimport {IUserApiData, IUserApiDataStatsResponse} from 'models/user/IUserApiData';\nimport {ISubscriptionApiData} from 'models/subscription/ISubscriptionApiData';\n\nexport class User {\n private readonly provider: UserProvider | null;\n\n @observable public id: number;\n\n @observable public key: number;\n @observable public email: string;\n @observable public first_name: string;\n @observable public last_name: string;\n @observable public created_at: Date;\n\n constructor(provider: UserProvider) {\n makeObservable(this);\n\n this.provider = provider;\n\n this.withId = this.withId.bind(this);\n this.withData = this.withData.bind(this);\n }\n\n public withId(id: number) {\n this.id = id;\n this.key = id;\n return this;\n }\n\n public withData(data: IUserApiData) {\n this.load(data);\n return this;\n }\n\n @action\n public withSubscriptionData(data: ISubscriptionApiData.ISubscriberData): User {\n this.id = data.id;\n this.key = data.id;\n this.first_name = data.first_name;\n this.last_name = data.last_name;\n\n\n return this;\n }\n\n public get FullName(): string {\n return `${this.first_name || ''} ${this.last_name || ''}`;\n }\n\n @action.bound\n public load(data: IUserApiData) {\n this.id = data.id;\n this.key = data.id;\n this.email = data.email;\n this.first_name = data.first_name;\n this.last_name = data.last_name;\n this.created_at = data.created_at;\n }\n\n public fetch(force: boolean = false): Promise {\n return this.provider.user(this.id, force)\n .then((data: IUserApiData) => this.withData(data))\n }\n\n public getStats(): Promise {\n return this.provider.getStats(this.id)\n }\n}\n","import React from 'react';\nimport {SortOrder} from 'antd/lib/table/interface';\n\nimport Api from 'models/Api';\nimport {ApiResponseData} from 'models/ApiResponseData';\nimport {\n IUserApiData,\n IUserApiDataDeleteRequest,\n IUserApiDataEmailUpdateRequest,\n IUserApiDataNameUpdateRequest,\n IUserApiDataPasswordUpdateRequest, IUserApiDataStatsResponse,\n IUserApiDataUpdateRequest\n} from 'models/user/IUserApiData';\nimport {IUserSearchApiData} from 'models/user/IUserSearchApiData';\nimport {IBillingAddressApiData} from 'models/billingAddress/IBillingAddressApiData';\nimport {SearchApi} from 'models/SearchApi';\n\nexport type IUserApiSearchOrdering = 'id' | 'first_name' | 'last_name' | 'email';\n\nexport interface IUserApiSearchFilterParams {\n id?: number;\n email?: string;\n first_name?: string;\n last_name?: string;\n order_by?: IUserApiSearchOrdering;\n order?: SortOrder;\n}\n\nexport interface IUserApiSearchParams {\n user_ids?: number[];\n page?: number;\n page_size?: number;\n filters?: IUserApiSearchFilterParams\n}\n\nexport class UserApi {\n public static resetPasswordTokenIsValid(email, token): Promise {\n if (email == null || token == null) {\n return Promise.resolve(false);\n }\n return Api.get(`/api/v1/users/password_reset/valid_token?email=${email}&token=${token}`)\n .then(response => response.json())\n .then(json => json.valid);\n }\n\n public static resetPassword(body): Promise {\n return Api.post(`/api/v1/users/password_reset`, {\n body: JSON.stringify(body)\n })\n .then(response => response.json())\n .then(json => json.valid)\n }\n\n public static registerNewsletter(body): Promise {\n return Api.post(`/api/v1/users/newsletter`, {\n body: JSON.stringify(body)\n })\n .then(response => response.json())\n .then(json => json)\n }\n\n public static forgotPassword(body): Promise {\n return Api.post(`/api/v1/users/forgot_password`, {\n body: JSON.stringify(body)\n })\n .then(response => response.json())\n .then(json => json.valid);\n }\n\n public static user(user_id: number): Promise {\n return Api.get(`/api/v1/users/${user_id}`)\n .then(response => response.json())\n .then(json => json['user']);\n }\n\n public static getUserSearch(searchParams?: IUserApiSearchParams): Promise {\n let query: string[] = [];\n let queryStr = ''\n if (searchParams) {\n const {user_ids} = searchParams;\n if (user_ids && user_ids.length > 0) {\n query.push(`user_ids=${searchParams.user_ids.join(',')}`);\n }\n queryStr = SearchApi.buildQueryFromParams(searchParams, query);\n }\n\n return Api.get(`/api/v1/users/search${queryStr}`)\n .then(response => response.json());\n }\n\n public static update(user_id: number, body: IUserApiDataUpdateRequest): Promise {\n return Api.put(`/api/v1/users/${user_id}/`, {\n body: JSON.stringify(body)\n }).then(response => response.json());\n }\n\n public static changeNames(user_id: number, body: IUserApiDataNameUpdateRequest): Promise {\n return Api.put(`/api/v1/users/${user_id}/names`, {\n body: JSON.stringify(body)\n }).then(response => response.json());\n }\n\n public static changeEmail(user_id: number, body: IUserApiDataEmailUpdateRequest): Promise {\n return Api.put(`/api/v1/users/${user_id}/email`, {\n body: JSON.stringify(body)\n }).then(response => response.json());\n }\n\n public static changePassword(user_id: number, body: IUserApiDataPasswordUpdateRequest): Promise {\n return Api.put(`/api/v1/users/${user_id}/password`, {\n body: JSON.stringify(body)\n }).then(response => response.json());\n }\n\n public static deleteSessions(user_id: number): Promise {\n return Api.del(`/api/v1/users/${user_id}/sessions`)\n .then(response => response.json());\n }\n\n public static deleteUser(user_id: number, body: IUserApiDataDeleteRequest): Promise {\n return Api.del(`/api/v1/users/${user_id}/`, {\n body: JSON.stringify(body)\n }).then(response => response.json());\n }\n\n public static deleteUserData(user_id: number, body: IUserApiDataDeleteRequest): Promise {\n return Api.del(`/api/v1/users/${user_id}/data`, {\n body: JSON.stringify(body)\n }).then(response => response.json());\n }\n\n public static getBillingAddresses(user_id: number): Promise {\n return Api.get(`/api/v1/users/${user_id}/billing_addresses`).then(response => response.json()).then(\n json => json.billing_addresses || []);\n }\n\n public static getActiveBillingAddress(user_id: number): Promise {\n return Api.get(`/api/v1/users/${user_id}/active_billing_address`).then(response => response.json()).then(\n json => json.billing_address || null);\n }\n\n public static getStats() {\n return Api.get(`/api/v1/users/stats`).then(response => response.json());\n }\n\n public static getStatsFor(userId: number): Promise {\n return Api.get(`/api/v1/users/${userId}/stats`).then(response => response.json());\n }\n\n public static getPlatform(user_id: number): Promise<\"android\" | \"ios\" | \"webgl\"> {\n return Api.get(`/api/v1/users/${user_id}/platform`)\n .then(response => response.json())\n .then(json => json['platform'])\n .then((platform) => {\n console.log(platform)\n return platform\n });\n }\n}\n","/* PrivateRoute component definition */\nimport React from 'react';\nimport {Route, Navigate} from 'react-router';\nimport SessionCookieStore from 'models/session/SessionCookieStore';\n\nfunction RequireAuth({children}: { children: React.ReactElement }): React.ReactElement {\n if (SessionCookieStore.hasCredentials()) {\n return children;\n } else {\n return ;\n }\n}\n\nfunction PrivateRoute(element: React.ReactElement): React.ReactElement {\n return {element};\n}\n\nexport default PrivateRoute;\n","export class Colors {\n public static readonly BLACK: string = '#333333';\n public static readonly WHITE: string = '#FEFEFE';\n\n public static readonly GREY_LIGHT: string = '#F2F2F2';\n public static readonly GREY_MID: string = '#BFBFBF';\n public static readonly GREY_DARK: string = '#888888';\n\n public static readonly ORANGE: string = '#FF8C68';\n public static readonly RED: string = '#EB0000';\n\n public static readonly GREEN: string = '#228B22';\n public static readonly GREEN_HOVER_LIGHT: string = '#63B26D';\n}"],"names":["Sider","Layout","AdminSideBar","_Component","props","_this","_classCallCheck","_defineProperty","_assertThisInitialized","_callSuper","Cookies","collapsed","cookies","get","COOKIE_NAME","state","onCollapse","bind","_inherits","key","value","this","set","sameSite","secure","setState","React","className","breakpoint","window","innerWidth","collapsedWidth","collapsible","theme","Menu","mode","Item","icon","AuditOutlined","Link","to","BookOutlined","ClusterOutlined","GroupOutlined","IdcardOutlined","UserOutlined","HomeOutlined","LinkOutlined","TagOutlined","Component","MessageApi","messageApi","m","params","useParams","history","Object","assign","routeParams","MessageContext","_message$useMessage2","_slicedToArray","message","useMessage","contextHolder","App","_React$Component","loadUser","currentUserId","userId","SessionCookieStore","store","user_id","Route","path","element","Page","SignIn","Register","ChangeEmail","ResetPassword","ForgotPassword","Homepage","About","PrivacyPolicy","TermsAndConditions","CookiePolicy","FAQ","StaticManageData","PrivateRoute","SubscriptionNew","nested","SubscriptionManage","BulkSubscribe","CreditCardNew","Summary","BillingAddress","AccountSetting","AccountManageData","InvoiceIndex","InvoiceShow","AuthorizePayment","Catalogue","title","StoryDetails","play","PlayStoreRedirect","AppStoreRedirect","Home","NotFound","Navigate","replace","ConfigProvider","RascalTheme","CookiesProvider","SEO","DefaultHeaders","BrowserRouter","ScrollToTop","Routes","map","route","HomeRoute","_regeneratorRuntime","e","t","r","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","gen","reject","_next","_throw","info","error","_asyncToGenerator","fn","self","args","arguments","apply","err","undefined","_initializerDefineProperty","target","property","descriptor","context","initializer","_defineProperties","_toPropertyKey","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","Reflect","construct","Boolean","valueOf","ReferenceError","_setPrototypeOf","toPrimitive","String","Number","_toPrimitive","_applyDecoratedDescriptor","decorators","desc","reduce","decorator","Panel","Collapse","_class","_ComponentWithStore","obj","instance","Constructor","_descriptor","_descriptor2","_descriptor3","_descriptor4","loaded","email","protoProps","staticProps","_ScrollTo","_ScrollDelay","subClass","superClass","_this2","replaceState","mounted","all","HomepageModel","StoryProvider","fetchData","homepage","getFavourites","stories","SubscriptionPlanProvider","fetchAllForUser","subscriptionPlans","runInAction","finishedLoadingSubscriptions","_this3","plan","console","log","isFree","billing_period","IBillingPeriod","MONTHLY","subscriptionPlan","Helmet","content","renderHeaderSection","renderBannerSection","renderFavouritesSection","renderTilesSection","renderMultiPanelSection","renderFAQSection","renderDownloadSection","DefaultFooter","location","href","concat","signIn","Row","justify","align","Col","DefaultHeader","customAccountBanner","_this4","landscape_banner_image_url","portrait_banner_image_url","span","poster","playsInline","muted","loop","autoPlay","preload","style","transform","src","xs","offset","md","Button","onClick","gotToRegister","getBannerPriceString","top","document","querySelector","getBoundingClientRect","ScrollTo","Chevron","direction","id","_","layout","maxVisibleSlides","lg","alt","gutter","renderInteractiveTile","renderWhyRascalTile","renderUnlimitedAccessTile","StoryMultiPanel","story","multi_panel_story","text","accordion","bordered","header","renderFAQHeader","showArrow","xl","renderFAQAccordion","AppStoreLink","GooglePlayLink","_callee","ms","_context","res","setTimeout","_x","_callee2","goal","difference","_context2","scrollY","scrollTo","behavior","ScrollDelay","_x2","ComponentWithStore","observable","withStore","observer","Form","makeObservable","billingAddress","Value","handleInputChange","onCountryChange","getCountry","prevProps","prevState","snapshot","_this$billingAddress","country","setValue","event","AntdForm","rules","required","Input","defaultValue","placeholder","onChange","line1","line2","city","zip","CountrySelect","computed","getOwnPropertyDescriptor","Preview","_this$props","onEdit","renderEditButton","SetupForm","BillingAddressProvider","withCurrentUser","disableSave","onSaveCreditCard","saveClicked","onSave","save","disabled","hasRequiredFields","BillingAddresses","renderSubmitButton","CouponForm","removeCoupon","handleEnterKey","coupon","addCoupon","errorMsg","checkIfCampaignHasCoupon","checkCode","subscriptionPlanId","CouponApi","getUserCampaignCoupon","couponData","code","campaignCoupon","Coupon","withData","onCouponAdded","applicableTo","check","status","json","errorData","renderContent","_this$state","description","onKeyDown","evt","loadStripe","setLoadParameters","advancedFraudSignals","stripePromise","options","selectedCreditCardId","subscriptionId","subscription","Subscription","SubscriptionProvider","withId","billing_address_id","CreditCardApi","newIntent","SessionProvider","newIntentJson","clientSecret","client_secret","process","DefaultLayout","Elements","stripe","ElementsConsumer","_ref","elements","SimpleCreditCardForm","onCreditCardSelection","MemoStripePaymentForm","StripePaymentForm","editBillingAddress","editSubscriptionPlan","errorMessage","renderLoadingSpinner","display","minWidth","justifyContent","LoadingOutlined","fontSize","spin","ownKeys","getOwnPropertySymbols","filter","getOwnPropertyDescriptors","defineProperties","_objectSpread","submitting","newCreditCard","creditCards","handleSubmit","handleSelectCreditCard","_confirmCardSetup","_handleSubmit","getAll","newSelectedCreditCardId","stripeSetupIntentId","creditCardId","update","stripe_setup_intent","credit_card_id","result","response","_result$codes","_result$codes2","_result$codes3","codes","includes","logger","preventDefault","confirmCardSetup","setupIntent","retrieveSetupIntent","_ref2","billingAddressId","paymentMethod","payment_method","credit_card","getSelectedCreditCard","creditCard","stripe_id","card","getElement","CardElement","billing_details","getBillingDetails","_this$props2","data","getNewCardData","getExistingCardData","_this$state2","Radio","checked","last_four_digits","_this5","hidePostalCode","_this$props3","_this$state3","Fragment","renderCardElement","renderSelectCreditCard","renderButton","defaultFalse","handleCoupon","loadedCards","getCreditCards","_this$props4","trial","getPriceString","getPricePeriod","renderCouponSegment","trialDescription","getCouponPriceString","_this$props5","buttonText","buttonInnerText","buttonElement","renderHeader","renderBillingAddress","renderPaymentDetails","hideHeader","CreditCards","Option","Select","showSearch","width","optionFilterProp","filterOption","input","option","children","toString","toLowerCase","indexOf","countryListNames","sort","countryList","Uploader","Single","uppy","Uppy","restrictions","minNumberOfFiles","maxNumberOfFiles","use","AwsS3Multipart","limit","companionUrl","on","file","url","uploadURL","onUploadSuccess","uploaded","uploadedFile","modalOpen","handleOpen","handleClose","handleClear","onUploadClear","close","danger","marginLeft","ExclamationCircleOutlined","SuccessButton","success","defaultText","successText","renderClearButton","DashboardModal","closeModalOnClickOutside","open","proudlyDisplayPoweredByUppy","onRequestClose","renderSuccessButton","renderDefaultButton","CheckCircleOutlined","Text","Typography","EditValueInPlace","editing","startedEditing","endedEditing","openErrorNotification","errorDescription","notification","nullEmptyString","newValue","format","signalError","allowNegative","onChangeCallback","inline","postText","EditOutlined","color","formattedValue","editable","onStart","onEnd","onCancel","autoSize","ellipsis","EditableNumber","_EditValueInPlace","EditableParagraph","sanitizeParagraph","EditableRichText","_this$props$value","clearTimeout","notifyOnChange","ReactQuill","dangerouslySetInnerHTML","__html","renderEditor","renderDisplay","EditableString","Billing","stopEditingBillingAddress","authOnly","readModeFromParams","loadUserBillingAddresses","_ignored","windowUrl","search","URLSearchParams","has","newBillingAddress","force","billingAddresses","currentBillingAddress","hasBillingAddresses","index","renderNoBillingAddresses","billingView","renderEditBillingAddress","renderBillingAddresses","withRouteParams","ManageData","SummaryPage","DefaultOrAdminLayout","admin","AdminLayout","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","AppInfo","isAdmin","idParam","selectedSubscriberRowKeys","loading","kick","signOut","cancelSubscription","leaveSubscription","signOutOfAllDevices","pollUserData","setUser","setBillingAddress","setSubscriptions","updateUserInfo","showEditNames","hideEditNames","showEditEmail","hideEditEmail","showEditPassword","hideEditPassword","showDeleteMyAccount","hideDeleteMyAccount","showManageSubscribers","hideManageSubscribers","onFinishNames","onFinishFailedNames","onFinishEmail","onFinishFailedEmail","onFinishPassword","onFinishFailedPassword","onFinishDeleteMyAccount","onFinishFailedDeleteMyAccount","getSelectedSubscription","handleSelectSubscriberChange","handleKickSubscriber","clearSelection","displayResponseAndReload","displayResponseAndSignOut","stopPropagation","cancel","leave","UserProvider","deleteSessions","user","getActive","User","address","subscriptions","subscriptionHash","editNames","editEmail","editPassword","deleteMyAccount","selectedSubscriptionId","changeNames","namesForm","current","resetFields","errorInfo","changeEmail","emailForm","changePassword","passwordForm","_this6","deleteUser","selectedRowKeys","_this7","kickSubscribers","_this8","clear","Drawer","onClose","ref","onFinish","onFinishFailed","htmlType","dataIndex","sorter","compare","b","localeCompare","multiple","render","_subscription$subscri","hasSelected","planName","subscription_plan","subscribers","subscriber","Space","marginBottom","size","Table","columns","getColumnStringProps","dataSource","rowSelection","getCheckboxProps","isManagedByUser","selections","SELECTION_ALL","SELECTION_INVERT","SELECTION_NONE","flex","first_name","last_name","renderAddBillingAddressButton","count","_this9","getStateMessage","getTrialMessage","getNextChargeMessage","Popconfirm","placement","onConfirm","_e","okText","cancelText","canCancel","changeSubscription","canSetPaymentMethod","changeCard","canManageSubscribers","Divider","renderHeaderForAdmin","renderHeaderForUser","month","created_at","split","year","divider","PageTitle","subtitle","FullName","_this10","renderMembershipAndBillingDetails","renderSubscription","renderSettings","renderChangeNames","renderChangeEmail","renderChangePassword","renderManageSubscribers","renderDeleteMyAccount","action","sm","xxl","errorCallback","verifyCallback","expiredCallback","Api","post","body","JSON","stringify","captchaResponse","Turnstile","sitekey","onError","onVerify","onExpire","retry","retryInterval","Lottie","speed","config","animationData","Lego","requestedEmail","forgotPassword","finished","missing","renderForm","renderFormOrError","setStories","scrollItem","storyIds","emblaRef","scrollPrev","scrollNext","panelLayout","showMessage","getStories","moveLeft","EmblaCarousel","dragFree","onRender","StoryPanel","moveRight","collectionId","renderCatalogueView","loggedIn","hasCredentials","hasValidCredentials","hasValidSubscription","renderSplashStory","renderCatalogueRow","renderMultiPanelRow","renderDownloadRow","renderLoading","_this$homepage","splashStory","featured_story","localisation","default_localisation","landscapeImg","featured_landscape_image_url","featured_portrait_image_url","portraitImg","StoryTitleImage","height","LoadingIcon","_this$homepage2","withDefaultLocalisation","_this$story$default_l","biography","renderStoryPanels","_this$story$default_l2","_this$story$default_l3","_this$story$default_l4","urls","multi_panel_image_url1","multi_panel_image_url2","multi_panel_image_url3","image_url","portrait_image_url","hasCompatibleOfflineStoryRelease","has_been_read","coming_soon","genre","renderAboutBannerSection","renderMissionSection","renderInteractionSection","renderSafetySection","renderLibrarySection","renderControlsSection","NewsletterModal","RootStore","getStore","firstName","lastName","onSubmit","Modal","centered","confirmLoading","destroyOnClose","onOk","footer","renderModalContent","UserApi","registerNewsletter","_this$state4","registerToNewsletter","isSubmitDisabled","renderSubmit","renderCookieSection","renderPolicySection","renderTermsAndConditionsSection","InvoicesTable","invoiceId","invoice","Invoice","InvoiceProvider","period_start","Format","longDate","period_end","currency","amount_charged","paid_at","customer_name","_this$invoice","plan_name","renderInvoiceDetails","getInvoiceSearch","_getInvoiceSearch","RascalTable","getHref","getTableSearch","searchParams","user_ids","invoices","total","currentPage","page","pageSize","page_size","_Register","registered","nameIsMissing","acceptedTerms","newsletter","campaign_code","showToken","updateSubscriptionKey","checkIfRegistered","checkIfNameIsMissing","readParams","subscription_key","subscriptionKey","_this$formRef","form","formRef","setFields","_this6$formRef","defaultToken","formInstance","isFieldsTouched","isNullOrEmptyString","getFieldValue","getFieldsError","errors","number","Checkbox","toggleJoinNewsletter","toggleAcceptTerms","renderErrorMessage","renderRegisterStep","RegisterSetName","callback","isMissing","renderNewSubscriptionFlow","renderRegisterPage","renderPages","UserEditName","setError","token","resetPasswordTokenIsValid","resetPassword","tokenError","redirect","saveBillingAddress","saveBilling","paid","previously_paid","counter","editing_billing","hasBillingAddress","getInvoice","isPaid","confirmInvoicePayment","stripe_error_code","getPaymentIntent","intent","paymentIntent","fireRedirectCountdown","getBillingAddress","_intent$last_payment_","confirmed","confirmCardPayment","last_payment_error","pay","stripe_error_message","_intent$last_payment_2","error_message","renderPayment","renderStripeAuthorizePayment","paymentErrorMessage","paymentPeriod","amount","toLocaleUpperCase","confirmPayment","userInfoList","exportable","finishedReadingFile","handleErrorResponse","files","Papa","transformHeader","originalHeader","trim","results","userInfo","splice","_toConsumableArray","SubscriptionApi","bulkCreateSubscribers","users","created","password","csv","blob","Blob","FileSaver","changedFile","renderDetails","renderUserInfoList","submitUserInfo","renderResponse","downloadUserInfoCSV","List","renderUserInfo","actions","removeUser","DeleteOutlined","CheckCircle","_len","Array","_key","selectedColor","backgroundColor","ColorTheme","white","currentColor","colorIfChecked","checkedColor","xmlns","viewBox","strokeWidth","fill","stroke","cx","cy","SubscriptionsPages","SubscriptionForm","createRef","show","DEFAULT","loadedSubscriptions","handleSubscriptionSelectionChange","handleSubscriptionKeyChange","renderSubscriptionPlan","isLoading","getUserCampaignCouponForPlans","selectedSubscription","enteredSubscriptionKey","SUCCESS","embedded","screenTop","key_required","KEY_INPUT","submit","subscriptionPlanKey","selectedSubscriptionPlan","getSelectedSubscriptionPlan","createSubscription","subscription_plan_id","subscription_plan_key","subscription_id","displayGenericErrorMessage","displayKeyInputErrorMessage","displayErrorMessage","_this$formRef$current","priceTitle","SubscriptionPlan","getMaxUsersMessage","max_number_of_users","numWords","trial_days","getMaxDevicesMessage","max_number_of_devices","priceSubtitle","getPriceStringMonthly","couponPriceTitle","couponPriceSubtitle","couponDescription","getCouponPriceStringMonthly","selected","YEARLY","black","orange","isRequired","renderSubscriptionSelection","suffix","Tooltip","InfoCircleOutlined","subscribed_success_message","onClickHandler","pageContent","_this$state5","renderKeyInput","renderSuccess","blocked_stories","StoryApi","getAllIncludingBlocked","subscriptionApiData","load","renderBlockedStories","blocked","storyClass","toggleBlockStory","MemoSubscriptionForm","selectSubscription","handleSubscriptionError","submitBillingAddress","planSelected","subscribed","_this$props$routePara","oldSubscription","hasOneBillingAddress","_this$oldSubscription","cancelOldSubscription","ifFreeCancelOldSubscription","_this$coupon","coupon_id","_event","renderNewCreditCardFrom","renderPreviousStepButton","_this$state6","pushState","renderCreditCardPage","renderBillingAddressPage","renderSubscriptionSelectionPage","_this$state7","_this$state8","hasPreviousStep","moveToPreviousStep","platform","getPlatform","renderComponent","renderWithLayout","Credits","isLoaded","isCreditsVisible","renderRole","onToggleCreditsVisibility","getCredits","addEventListener","StoryDetailsEvents","TOGGLE_CREDITS_VISIBILITY_EVENT","removeEventListener","credits","role","_role$people","people","renderBlank","person","j","_story$default_locali","_story$default_locali2","_this$credits","colorHex","LoadingOverlay","Parallelogram","label","background","textColor","PauseMenuBackIcon","PauseMenuCogIcon","PauseMenuForwardIcon","PauseMenuPlayIcon","WindowSize","getScalingValue","isXS","isSM","isMD","isLG","isXL","storyId","Story","isInfoLoaded","isUnityConfigLoaded","_getWebgl","_getSettings","_getStorySession","_getReleases","_getCollections","_getRelated","thenGetData","getRelated","getCollections","getReleases","getSettings","getStorySession","getWebgl","related","collections","_callee3","_context3","getStoryReleases","releases","release","StoryRelease","filterForLatest","_callee4","_context4","storySession","_callee5","_context5","SettingsProvider","localSettings","settings","_callee6","_context6","Config","useLocalWebGLBuild","WebglProvider","latest","revokeConfigUrlsCallback","isMobile","portrait","WebglOverlay","WebglApp","setPlay","doPlay","_this$storySession","_this$storySession2","_this$storySession3","_this$storySession4","_this$storySession5","_this$storySession6","_this$storySession7","_this$storySession8","remote_id","story_id","started_at","finished_at","exited_at","duration","current_asset_bundle","current_scene","_this$related","collection","story_collections","sc","StoryDetailsHeader","renderWebgl","renderCatalogues","StoryInfo","StoryDetailsButton","cursor","_createClass","dispatchEvent","Event","EXIT_EVENT","onClickExitButton","textAlign","StoryDetailsToggle","isOn","registerUpdateListener","unregisterUpdateListener","getValue","onChangeSwitch","Switch","defaultChecked","_story$released_at","released_at","getFullYear","minimum_age","_story$default_locali3","center","featured_text_color","title_image_url","UnityEvents","SoundIcon","UnityWrapper","_UnityWrapper","Date","now","onSetLoadingState","onSetPauseState","onDismissLanguage","toggleLanguage","changeLanguage","setPauseState","captureTap","setFullscreen","requestFullscreen","cancelFullscreen","isFullscreen","dismiss","dismissMenuOr","resume","restart","showPause","showPauseBackground","showMenu","showLanguage","currentLanguage","fullscreen","loadingState","language","SET_LOADING_STATE_EVENT","SET_PAUSED_STATE_EVENT","onChangeLanguage","_this$wrapperRef","wrapperRef","fullscreenElement","exitFullscreen","handleTap","pause","TOUCHED_DELAY","checkPausedState","recentlyTouched","clicks","lastTouchedAt","timeout","TAP_SPEED","onGoToPrevious","onGoToNext","onRestart","onChangeNarration","onToggleFullscreen","onChangeMusic","onMouseDown","UpOutlined","DownOutlined","Language","lang","is_music_on","is_narration_on","RestartIcon","ExpandOutlined","renderMenu","renderPopup","Settings","withDefaultValues","QueueSet","shift","unshift","at","LanguageSelection","defaultLanguage","English","TeReo","variant","arr","isArray","_arrayWithHoles","_iterableToArrayLimit","minLen","_arrayLikeToArray","from","test","_unsupportedIterableToArray","_nonIterableRest","len","arr2","REMOTE_UNITY_CONFIG","dataUrl","frameworkUrl","loaderUrl","codeUrl","LOCAL_UNITY_CONFIG","_useState2","useState","setStorySession","_useState4","startupCompleteCalled","setStartupCompleteCalled","_useState6","setIsWaiting","_useState8","paused","setPaused","unityWrapper","_waitingForQueue","_useUnityContext","useUnityContext","unityProvider","sendMessage","updateStorySession","CustomEvent","SET_STORY_SESSION_EVENT","detail","invokeStoryControlsMethod","invokeStartupMethod","useEffect","StorySessionProvider","getForStory","useCallback","isMusicOn","isNarrationOn","getLanguage","getLanguageKey","onRemoteFullscreenChange","_unityWrapper$current","onStartupComplete","_story$id","_release$id","releaseId","UNITY_STARTUP_COMPLETE_EVENT","_release$unity_asset_","storyBundle","unity_asset_manifest","getStoryBundle","current_scene_bundle","AssetBundleProvider","storeStoryBundleInWindow","_release$unity_asset_2","bundleJson","AssetBundleManifest","toJsonStoryBundle","paths","Set","scene_bundles","scene","asset_bundles","bundle","add","toJSON","createJsonBlob","doStartStory","sendDownloadedChapters","readStoryBundleFromWindow","downloadRemainingScenes","downloadWaitingFor","enqueueWaitingFor","chapterName","enqueue","downloadedAssetBundles","flatMap","isDownloadComplete","downloadedInfo","downloadedChapters","chapter","sendDownloadedChapter","_sendDownloadedChapter","_downloadWaitingFor","dequeue","find","awaitDownloadChapter","every","progress_state","ProgressState","COMPLETED","insertAtHead","onUnityError","SET_ERROR_MESSAGE_EVENT","onStorySet","onProgressStateChange","onRestartStoryFromUnity","onRestartStory","_x3","_endCurrentStorySession","endCurrentStorySession","onChangeMusicSwitch","onChangeNarrationSwitch","onWaitingForChapterToDownload","onWaitingForChapterToLoad","onFinishedWaitingFor","onStartStorySession","start","onStartingStory","onUpdateBundle","onUpdateScene","onFinishStory","newSession","exit","onExitedTutorial","START_STORY_EVENT","STARTUP_COMPLETE_EVENT","WAITING_FOR_CHAPTER_TO_DOWNLOAD_EVENT","WAITING_FOR_CHAPTER_TO_LOAD_EVENT","FINISHED_WAITING_FOR_EVENT","START_STORY_SESSION_EVENT","STARTING_STORY_EVENT","UPDATE_BUNDLE_EVENT","UPDATE_SCENE_EVENT","FINISH_STORY_SESSION_EVENT","RESTART_STORY_EVENT","EXITED_TUTORIAL_EVENT","DISPLAY_ERROR_EVENT","STORY_SET_EVENT","PROGRESS_STATE_CHANGE_EVENT","UnityWrapperElement","_unityWrapper$current2","_unityWrapper$current3","_unityWrapper$current4","Unity","PlayIcon","PauseOutlined","_unityWrapper$current5","DownloadIcon","TickIcon","isDownloading","isStartupComplete","fetchReleaseComplete","onUnityStartupComplete","onSetStorySession","onSetErrorMessage","_downloadClicked","_doDownload","getLatestCompatibleStoryRelease","playClicked","downloadInitialSceneBundles","doDownload","t0","isIOS","isAndroid","downloadClicked","purple","renderPlayButton","renderComingSoonMessage","renderDownloadingButton","renderResumeButton","renderNoCompatibleReleasesMessage","renderLoadingButton","RascalLogo","order","getSubtitle","author","_story$default_locali4","_story$default_locali5","_story$default_locali6","imageClassName","containerClassName","ImageWithFallback","imageUrl","renderInformationPortrait","renderInformation","renderImageOverlay","_useEmblaCarousel2","useEmblaCarousel","emblaApi","Image","preview","BROKEN_IMAGE","fallback","ArrowLeftOutlined","Tables","filteredInfo","searchInfo","selectedRows","generate","activate","deactivate","sortedInfo","filters","column","order_by","filterConfirmProps","selectedKeys","confirm","searchText","setSelectedKeys","clearFilters","resetPage","pagination","columnKey","stripArrayIfSingle","handleOnChange","pageSizeOptions","onShowSizeChange","showSizeChanger","object","renderHighlighted","date","bool","CheckOutlined","CloseOutlined","Highlighter","textToHighlight","searchWords","highlightStyle","Colors","ORANGE","padding","autoEscape","TernarySlider","handleStateChange","DatePicker","RangePicker","allowEmpty","_moments","end","DATE_DIVIDER","closeDropdown","changeSearch","node","searchInput","onPressEnter","SearchOutlined","UndoOutlined","filterIcon","filtered","onFilterDropdownOpenChange","visible","select","filterSearchColumnType","FilterTwoTone","twoToneColor","FilterOutlined","CalendarTwoTone","CalendarOutlined","defaultSortOrder","filterDates","join","initialState","updateDataWithQuery","handleChange","handleSelectChange","handleSearch","handleChangeSearchText","handleClearSearch","switchColumnProps","_updateDataWithQuery","rowKey","col","columnType","selectable","getSearchFilters","t1","getColumnSearchProps","getColumnBooleanProps","getColumnDateProps","getColumnTextProps","getColumnLengthProps","getColumnCustomProps","renderSearchBox","renderBooleanFilterBox","renderDateFilterBox","partialColumnOptions","filterDropdown","partialColumnSearchOptions","SearchColumnType","renderSearch","partialColumnBooleanOptions","BooleanColumnType","renderBoolean","filterBooleanColumnType","partialColumnDateOptions","DateColumnType","renderDate","filterDateColumnType","TextColumnType","filterTextColumnType","LengthColumnType","filterLengthColumnType","Color","greyLight","aquamarine","yellow","pink","red","blue","colorPrimary","colorInfo","fontFamily","colorBorder","colorBgBase","colorTextBase","colorPrimaryBorder","colorWarningText","colorError","colorSuccess","colorLink","colorBgContainerDisabled","colorErrorOutline","colorTextLightSolid","colorPrimaryBg","colorPrimaryText","fontSizeHeading1","lineHeightHeading1","fontSizeHeading2","lineHeightHeading2","fontSizeHeading3","lineHeightHeading3","borderRadius","lineType","opacityImage","controlHeight","_this$props$handleSta","htmlFor","LineOutlined","require","localConfig","toUpperCase","money","currencyDisplay","currencyFormatter","Intl","NumberFormat","DateTimeFormat","weekday","day","hour","minute","timeZone","_SEO","_useLocation","useLocation","pathname","hash","getElementById","scrollIntoView","documentElement","left","field","defaultResponse","provider","StoryLocalisation","childContent","Content","rel","openNewsletterModal","renderRascalCol","renderAboutCol","renderForParentsCol","renderContactUsCol","renderTermsRow","BurgerMenu","strokeLinecap","displayChildContent","scrollListener","items","createMenuItems","Dropdown","menu","trigger","overlayStyle","hidden","renderAccountBanner","LegoData","_Api","retryFetch","addAuthHeaders","addFormatHeaders","promiseRetry","attemptNumber","fetch","checkStatus","doRetry","isError","isClientError","put","del","navigator","userAgent","AbstractStore","rootStore","databaseName","_rootStore","_databaseName","BillingAddressMemoryStore","resetAll","InvoiceMemoryStore","StoryMemoryStore","StoryLocalisationMemoryStore","StoryReleaseMemoryStore","StorySessionMemoryStore","SubscriptionPlanMemoryStore","UserMemoryStore","AssetBundleIDB","BillingAddressPermanentStore","CampaignProvider","CollectionProvider","CollectionMemoryStore","CollectionPermanentStore","CouponProvider","InvoicePermanentStore","SettingsMemoryStore","SettingsPermanentStore","StoryPermanentStore","StoryLocalisationProvider","StoryLocalisationPermanentStore","StoryReleaseProvider","StoryReleasePermanentStore","StorySessionPermanentStore","SubscriptionPlanPermanentStore","UniverseProvider","UserPermanentStore","WebglIDB","AssetBundleApi","story_release_id","_AbstractStore","_storeDataInWindow","_getAssetUrlWithNameAndStore","_doDownloadOrLoadBundle","_downloadOrLoadBundle","_awaitDownloadChapter","_downloadRemainingScenes","_downloadInitialSceneBundles","readObjectUrl","sceneBundles","assetBundle","assetBundles","orderedAssetBundles","dependencies","dependencyBundle","getAllDependentAssetBundles","sortedAssetBundleScenes","is_scene","bundle1","bundle2","assetBundleIsScene","firstScenes","bundles","current_release","setReleaseId","calculateInitialSceneBundles","downloadOrLoadBundle","storeDataInWindow","_iterator","_step","getOrderedBundles","_createForOfIteratorHelper","_x4","_x5","_x6","sceneBundle","_x9","_x7","_x8","buffer","IN_PROGRESS","release_id","doDownloadOrLoadBundle","ERROR","readDataFromWindow","NOT_STARTED","_x10","_x11","assetUrlEntity","assetUrl","getAssetUrlWithName","downloadAndDecode","asset_url","getAssetUrlWithNameAndStore","requiresUpdate","readBlob","storeAll","_x12","_x13","readAssetUrl","getAssetUrl","entity","storeAssetUrl","_callee7","_context7","_x14","_x15","_x16","_callee8","binary","_context8","arrayBuffer","DataPath","_x17","_x18","LocalStoreWrapper","tableName","_localStorage","DatabaseName","expiresInMinutes","expiresAt","PermanentStore","getExpiresAt","dataString","dataObject","parse","hasExpired","StoreOpenState","DATABASE_NAME","_clear","_doRead","_doStore","_openState","OPENING","OPENED_IDB","_idbStore","OPENED_LOCAL","_localStore","TableName","Store","_promiseToBeOpened","IndexedDBWrapper","TABLE_NAMES","table","doStore","doRead","tableNames","_json","_tableNames","indexedDB","IndexedDB","dbOpenDBRequest","VERSION","_reject","readyState","onblocked","onupgradeneeded","oldVersion","newVersion","_db","objectStoreNames","contains","createObjectStore","onsuccess","onerror","transaction","oncomplete","objectStore","expiryKey","dataRequest","expiryRequest","deleteDatabase","_get","receiver","base","_superPropBase","_IndexedDBWrapper","TABLE_NAME","_createObjectUrl","_requiresUpdate","_storeAssetUrl","_readByteArray","_readBlob","keyArray","bundleName","storeBlob","storeVersion","version","createBlobKey","createVersionKey","_args3","createAssetUrlKey","createObjectUrlKey","readVersion","objectURL","URL","webkitURL","createObjectURL","storeObjectUrl","objectUrl","revokeObjectURL","BillingAddressApi","billing_address","apiDataArrayToModelArray","apiDataToModel","getAllFromApiAndUpdateStore","read","getActiveFromApiAndUpdateStore","param","storeOne","getBillingAddresses","getActiveBillingAddress","IStoreData","_id","_data","_store","_isSet","IsSet","Data","loadFromPermanentStore","InMemoryStore","storeName","_InMemoryStore","_billingAddresses","getIStoreData","setData","item","storedItem","LoadData","_PermanentStore","getKey","CampaignAPI","getCampaignSearch","campaigns","campaign","Campaign","apiCampaign","CollectionApi","Collection","getFromApiAndUpdateStore","apiData","getAllFromApiAndUpdateStoreFor","getAllForStory","_collections","InvoiceApi","getAllForSubscription","getAllForUserFromApiAndUpdateStore","getAllForUser","deleteInvoice","editInvoice","_invoices","SessionApi","valid","backOff","numOfAttempts","hasValidAdminCredentials","redirect_url","_update","_localSettings","toData","notifyListeners","listener","listeners","onSettingsUpdate","_loadFromPermanentStore","_settings","_read","StoryLocalisationApi","story_localisations","localisations","storyLocalisations","_localisations","getFavouritesFromApiAndUpdateStore","getRelatedFromApiAndUpdateStore","relatedId","_stories","dataArray","StoryReleaseApi","storyRelease","story_release","story_releases","query","queryStr","story_ids","SearchApi","buildQueryFromParams","storyReleaseApiData","getAllForStoryFromApiAndUpdateStore","storyReleases","getStoryReleaseSearch","_releases","StorySession","_dec","bound","_descriptor10","_descriptor11","_descriptor12","local_id","dateOrNull","changed_at","changed_locally","StorySessionApi","_finish","storySessionId","changedAt","story_session","_getCurrentSessionForStoryFromApiAndUpdateStore","_getApiDataForStory","_getForStory","getApiDataForStory","exitById","_args2","session","getCurrentSessionForStoryFromApiAndUpdateStore","_args4","getCurrentSessionForStory","_sessions","userSubscriptions","getSubscribers","resumeSubscription","promoteToManager","addSubscribersToSubscription","kickSubscriber","countSubscriptions","getSubscriptionSearch","subscription_ids","getSubscriptions","fetchAll","apiSubscriptions","SubscriptionPlanApi","subscription_plans","getCurrentFromApiAndUpdateStore","getAllValid","getAllAdminFromApiAndUpdateStore","getKeys","generateKeys","activateKeys","deactivateKeys","getCurrentPlan","plans","getAllAdmin","apiPlans","_subscriptionPlans","UniverseApi","universe","universes","universeId","Universe","getUserSearch","saveNameChange","getStatsFor","apiUsers","_users","WebglAppApi","KEY_NAMES","framework","loader","wasm","currentVersion","blobs","storeData","dataBlob","storeFramework","frameworkBlob","storeLoader","loaderBlob","storeWasm","wasmBlob","readData","readFramework","readLoader","readWasm","extension","content_type","required_in_dev","data_compressed","framework_compressed","wasm_compressed","endsWith","pako","Uint8Array","binaryData","isCompressedURL","uncompress","forceCacheUpdate","buildConfig","readAll","revokeConfigUrls","fetchFramework","fetchLoader","fetchWasm","uncompressedGzip","FILE_DATA_TYPES","apiCoupon","_assetBundleProvider","_assetBundleIDB","_billingAddressProvider","_billingAddressMemoryStore","_billingAddressPermanentStore","_campaignProvider","_collectionProvider","_collectionMemoryStore","_collectionPermanentStore","_couponProvider","_invoiceProvider","_invoiceMemoryStore","_invoicePermanentStore","_sessionProvider","_settingsProvider","_settingsMemoryStore","_settingsPermanentStore","_localisationProvider","_localisationMemoryStore","_localisationPermanentStore","_storyProvider","_storyMemoryStore","_storyPermanentStore","_storyReleaseProvider","_storyReleaseMemoryStore","_storyReleasePermanentStore","_storySessionProvider","_storySessionMemoryStore","_storySessionPermanentStore","_subscriptionProvider","_subscriptionPlanProvider","_subscriptionPlanMemoryStore","_subscriptionPlanPermanentStore","_universeProvider","_userProvider","_userMemoryStore","_userPermanentStore","_webglProvider","_webglIDB","StoreContext","WrappedComponent","defaultProps","hoistNonReactStatics","_dec2","_save","withName","notes","campaign_ids","StoryCollection","_dec3","_class2","published_at","_descriptor13","_descriptor14","couponApiDataArray","numberOrNull","discount_amount","discount_percentage","expired","years","months","days","expires_at","findIndex","price","Math","max","days_in_months","floor","months_in_years","trialDesc","coupons","subscriptionIds","credit_cards","HomepageApi","updateData","ifDefined","android_featured_image_url","ios_featured_image_url","ifDefinedCallback","_descriptor15","_descriptor16","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","_descriptor30","reference","stripe_customer_id","stripe_credit_card_id","cancelled_at","deleted_at","next_revision_id","prev_revision_id","payment_intent","_this$period_start","_this$period_start2","toLocaleString","_this$period_end","_this$period_start3","ceil","getTime","billingAddressProvider","addressId","billing_address_ids","_SessionCookieStore","USER_ID","remove","maxAge","defaultTrue","_getLatestStoryReleases","_getLatestCompatibleStoryRelease","locale","default_localisation_id","read_time","_this$default_localis","_this$default_localis2","_args","getAllFor","_this$released_at","_this$default_localis3","_this$minimum_age","_this$current_release","_this$current_release2","defaultLocalisationId","previewAt","publishedAt","updatedAt","releasedAt","comingSoon","readTime","minimumAge","currentReleaseId","AssetBundle","parseInt","yaml","loadFromYaml","Name","Dependencies","array","bundleInfos","AssetBundleInfos","withYamlData","_dec4","LoadAllFromArray","LoadAllFromYamlObject","orderedScenes","orderedBundles","dependencyName","bundleByName","getBundleByName","isCompatibleWithSDK","release1","release2","major1","major_version","major2","minor1","minor_version","minor2","patch1","patch_version","patch2","sdk_major_version","sdk_minor_version","sdk_patch_version","compatible_versions","unity_asset_url","some","semver","sdkVersion","_this$unity_asset_man","bundlesWithUrl","majorVersion","minorVersion","patchVersion","sdkMajorVersion","sdkMinorVersion","sdkPatchVersion","compatibleVersions","unityAssetUrl","DateCalc","firstDate","secondDate","diffInMillis","round","EnumParser","enumType","enumMember","ISubscriptionState","manager","withSubscribers","withSubscriptionPlan","_data$credit_card","withSubscriptionData","managed_by_id","active","parseEnum","defaultZero","credit_card_last_four_digits","last_successful_charge","updated_at","getState","ACTIVATED","_this$subscribers","CANCELED","DEACTIVATED","_this$subscription_pl","endDate","getTrailEndDate","dateString","daysBetween","getNextChargeDate","priceString","isTrailEndedDateInTheFuture","setMonth","getMonth","setFullYear","trailEndDate","_this$subscription_pl2","setDate","getDate","pluralize","subscriberIds","subscriber_ids","apiSubscribers","userData","subscription_plan_ids","SubscriptionPlanKey","used","withKeys","withKeysResponse","country_pricing","apiKeys","newKeys","oldKey","apiKey","newSubscriptions","apiSubscription","pricing","is_public","country_code","getPricing","defaultPricing","getCouponPricing","trailPriceString","yearlyPrice","monthlyPrice","maxUsers","maxDevices","getStats","billing_addresses","RequireAuth"],"sourceRoot":""}