@social-mail/social-mail-hosted-web 1.2.8 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/AppIndex.pack.js +140 -15
  2. package/dist/AppIndex.pack.js.map +1 -1
  3. package/dist/AppIndex.pack.min.js +16 -4
  4. package/dist/AppIndex.pack.min.js.map +1 -1
  5. package/dist/admin/AdminAppIndex.pack.js +5 -2
  6. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  7. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  8. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  9. package/dist/pages/terms/Terms.js +71 -0
  10. package/dist/pages/terms/Terms.js.map +1 -0
  11. package/dist/pages/terms/TermsPage.js +34 -0
  12. package/dist/pages/terms/TermsPage.js.map +1 -0
  13. package/dist/pages/users/signup/SignupPage.js +22 -12
  14. package/dist/pages/users/signup/SignupPage.js.map +1 -1
  15. package/dist/pages/users/signup/SignupPage.pack.js +17116 -0
  16. package/dist/pages/users/signup/SignupPage.pack.js.map +1 -0
  17. package/dist/pages/users/signup/SignupPage.pack.min.js +829 -0
  18. package/dist/pages/users/signup/SignupPage.pack.min.js.map +1 -0
  19. package/dist/tsconfig.tsbuildinfo +1 -1
  20. package/node_modules/@web-atoms/core/dist/services/FetchBuilder.d.ts.map +1 -1
  21. package/node_modules/@web-atoms/core/dist/services/FetchBuilder.js +2 -1
  22. package/node_modules/@web-atoms/core/dist/services/FetchBuilder.js.map +1 -1
  23. package/node_modules/@web-atoms/core/dist/services/http/JsonError.d.ts.map +1 -1
  24. package/node_modules/@web-atoms/core/dist/services/http/JsonError.js +5 -2
  25. package/node_modules/@web-atoms/core/dist/services/http/JsonError.js.map +1 -1
  26. package/node_modules/@web-atoms/core/dist/tsconfig.tsbuildinfo +1 -1
  27. package/node_modules/@web-atoms/core/package.json +1 -1
  28. package/node_modules/@web-atoms/core/src/services/FetchBuilder.ts +5 -1
  29. package/node_modules/@web-atoms/core/src/services/http/JsonError.ts +3 -2
  30. package/package.json +2 -2
  31. package/src/pages/terms/Terms.tsx +219 -0
  32. package/src/pages/terms/TermsPage.tsx +24 -0
  33. package/src/pages/users/signup/SignupPage.tsx +17 -8
@@ -1976,7 +1976,7 @@ const UMD = new UMDClass();
1976
1976
 
1977
1977
  AmdLoader.instance.register(
1978
1978
  ["@social-mail/social-mail-hosted-web","@web-atoms/core","@web-atoms/web-controls","reflect-metadata","@web-atoms/date-time","@web-atoms/data-styles"],
1979
- ["@social-mail/social-mail-hosted-web/dist/AppIndex","@web-atoms/core/dist/Pack","@web-atoms/web-controls/dist/desktop-app/MobileDesktopApp","@web-atoms/web-controls/dist/mobile-app/MobileApp","@web-atoms/core/dist/core/AtomLoader","@web-atoms/core/dist/services/JsonService","@web-atoms/core/dist/core/StringHelper","@web-atoms/core/dist/di/RegisterSingleton","@web-atoms/core/dist/di/Register","@web-atoms/core/dist/core/types","reflect-metadata","@web-atoms/core/dist/core/AtomMap","@web-atoms/core/dist/di/ServiceCollection","@web-atoms/core/dist/di/TypeKey","@web-atoms/date-time/dist/DateTime","@web-atoms/date-time/dist/TimeSpan","@web-atoms/core/dist/services/ReferenceService","@web-atoms/core/dist/di/DISingleton","@web-atoms/core/dist/core/AtomUri","@web-atoms/core/dist/web/core/AtomUI","@web-atoms/core/dist/core/Command","@web-atoms/core/dist/core/EventScope","@web-atoms/core/dist/core/Route","@web-atoms/core/dist/core/InheritedProperty","@web-atoms/core/dist/core/AtomBinder","@web-atoms/core/dist/core/sleep","@web-atoms/core/dist/core/XNode","@web-atoms/core/dist/core/Bind","@web-atoms/core/dist/core/ExpressionParser","@web-atoms/core/dist/services/NavigationService","@web-atoms/core/dist/core/AtomComponent","@web-atoms/core/dist/App","@web-atoms/core/dist/core/AtomDispatcher","@web-atoms/core/dist/di/ServiceProvider","@web-atoms/core/dist/core/TransientDisposable","@web-atoms/core/dist/di/Inject","@web-atoms/core/dist/services/BusyIndicatorService","@web-atoms/core/dist/core/AtomDisposableList","@web-atoms/core/dist/core/AtomWatcher","@web-atoms/core/dist/core/Hacks","@web-atoms/core/dist/core/PropertyMap","@web-atoms/core/dist/core/FormattedString","@web-atoms/core/dist/web/controls/AtomControl","@web-atoms/core/dist/core/BindableProperty","@web-atoms/core/dist/core/WebImage","@web-atoms/core/dist/web/styles/AtomStyle","@web-atoms/core/dist/web/styles/AtomStyleSheet","@web-atoms/core/dist/web/services/PopupService","@web-atoms/core/dist/style/styled","@web-atoms/core/dist/web/services/PopupWindow","@web-atoms/web-controls/dist/PageNavigator","@web-atoms/web-controls/dist/desktop-app/DesktopApp","@social-mail/social-mail-hosted-web/dist/style/GlobalStyle","@web-atoms/core/dist/core/AtomList","@social-mail/social-mail-hosted-web/dist/style/OverrideAppStyle","@web-atoms/data-styles/data-styles","@social-mail/social-mail-hosted-web/dist/commands/AppCommands","@social-mail/social-mail-hosted-web/dist/pages/home/HomePage","@social-mail/social-mail-hosted-web/dist/controls/basic/AppBar","@social-mail/social-mail-hosted-web/dist/common/ContentFolder","@social-mail/social-mail-hosted-web/dist/controls/basic/Spacer","@social-mail/social-mail-hosted-web/dist/controls/basic/SubHeading","@social-mail/social-mail-hosted-web/dist/controls/basic/FeatureList","@social-mail/social-mail-hosted-web/dist/controls/basic/Box","@social-mail/social-mail-hosted-web/dist/controls/basic/PriceGrid","@social-mail/social-mail-hosted-web/dist/controls/basic/Banner","@social-mail/social-mail-hosted-web/dist/controls/basic/Heading","@social-mail/social-mail-hosted-web/dist/pages/products/archival-server/ArchivalPage","@social-mail/social-mail-hosted-web/dist/controls/basic/Footer","@social-mail/social-mail-hosted-web/dist/pages/users/signup/SignupPage","@web-atoms/web-controls/dist/basic/Form","@web-atoms/web-controls/dist/basic/FormField","@web-atoms/web-controls/dist/basic/styles/form-field-style","@social-mail/social-mail-hosted-web/dist/controls/countries/CountrySelect","@web-atoms/web-controls/dist/basic/DropDown","@web-atoms/web-controls/dist/basic/AtomRepeater","@web-atoms/core/dist/core/Colors","@web-atoms/core/dist/core/WatchProperty","@web-atoms/web-controls/dist/basic/InlinePopup","@web-atoms/web-controls/dist/basic/styles/inline-popup-style","@web-atoms/web-controls/dist/basic/MergeNode","@web-atoms/web-controls/dist/basic/ItemPath","@web-atoms/web-controls/dist/basic/styles/ui-display-none-style","@web-atoms/web-controls/dist/basic/styles/popup-style","@web-atoms/web-controls/dist/basic/styles/suggestion-popup","@web-atoms/web-controls/dist/basic/styles/repeater-style","@web-atoms/web-controls/dist/DataAttributes","@web-atoms/web-controls/dist/basic/styles/drop-down-style","@web-atoms/core/dist/services/FetchBuilder","@web-atoms/core/dist/services/http/JsonError","@web-atoms/web-controls/dist/basic/MaskedInput","@web-atoms/web-controls/dist/basic/styles/masked-input-style","@web-atoms/core/dist/view-model/Action","@social-mail/social-mail-hosted-web/dist/drawer/AppDrawer","@social-mail/social-mail-hosted-web/dist/controls/color-full-bg/ColorFullBg","@web-atoms/core/dist/web/WebApp","@web-atoms/core/dist/core/AtomOnce","@web-atoms/core/dist/web/services/WebBusyIndicatorService","@web-atoms/core/dist/web/styles/StyleBuilder","@web-atoms/core/dist/web/services/WindowService","@web-atoms/core/dist/Atom","@web-atoms/core/dist/core/FormattedError","@web-atoms/core/dist/view-model/AtomWindowViewModel","@web-atoms/core/dist/view-model/AtomViewModel","@web-atoms/core/dist/view-model/baseTypes","@web-atoms/core/dist/web/controls/AtomAlertWindow","@web-atoms/core/dist/web/styles/AtomAlertWindowStyle","@web-atoms/core/dist/web/styles/AtomWindowStyle","@web-atoms/core/src/web/images/close-button-hover.svg","@web-atoms/core/dist/web/controls/AtomWindow","@web-atoms/core/dist/web/controls/AtomTemplate","@web-atoms/core/dist/web/controls/AtomNotification","@web-atoms/core/dist/web/styles/AtomNotificationStyle","@web-atoms/core/dist/web/styles/AtomPopupStyle","@web-atoms/core/dist/web/services/NotificationPopup","@web-atoms/core/dist/web/styles/AtomTheme"]);
1979
+ ["@social-mail/social-mail-hosted-web/dist/AppIndex","@web-atoms/core/dist/Pack","@web-atoms/web-controls/dist/desktop-app/MobileDesktopApp","@web-atoms/web-controls/dist/mobile-app/MobileApp","@web-atoms/core/dist/core/AtomLoader","@web-atoms/core/dist/services/JsonService","@web-atoms/core/dist/core/StringHelper","@web-atoms/core/dist/di/RegisterSingleton","@web-atoms/core/dist/di/Register","@web-atoms/core/dist/core/types","reflect-metadata","@web-atoms/core/dist/core/AtomMap","@web-atoms/core/dist/di/ServiceCollection","@web-atoms/core/dist/di/TypeKey","@web-atoms/date-time/dist/DateTime","@web-atoms/date-time/dist/TimeSpan","@web-atoms/core/dist/services/ReferenceService","@web-atoms/core/dist/di/DISingleton","@web-atoms/core/dist/core/AtomUri","@web-atoms/core/dist/web/core/AtomUI","@web-atoms/core/dist/core/Command","@web-atoms/core/dist/core/EventScope","@web-atoms/core/dist/core/Route","@web-atoms/core/dist/core/InheritedProperty","@web-atoms/core/dist/core/AtomBinder","@web-atoms/core/dist/core/sleep","@web-atoms/core/dist/core/XNode","@web-atoms/core/dist/core/Bind","@web-atoms/core/dist/core/ExpressionParser","@web-atoms/core/dist/services/NavigationService","@web-atoms/core/dist/core/AtomComponent","@web-atoms/core/dist/App","@web-atoms/core/dist/core/AtomDispatcher","@web-atoms/core/dist/di/ServiceProvider","@web-atoms/core/dist/core/TransientDisposable","@web-atoms/core/dist/di/Inject","@web-atoms/core/dist/services/BusyIndicatorService","@web-atoms/core/dist/core/AtomDisposableList","@web-atoms/core/dist/core/AtomWatcher","@web-atoms/core/dist/core/Hacks","@web-atoms/core/dist/core/PropertyMap","@web-atoms/core/dist/core/FormattedString","@web-atoms/core/dist/web/controls/AtomControl","@web-atoms/core/dist/core/BindableProperty","@web-atoms/core/dist/core/WebImage","@web-atoms/core/dist/web/styles/AtomStyle","@web-atoms/core/dist/web/styles/AtomStyleSheet","@web-atoms/core/dist/web/services/PopupService","@web-atoms/core/dist/style/styled","@web-atoms/core/dist/web/services/PopupWindow","@web-atoms/web-controls/dist/PageNavigator","@web-atoms/web-controls/dist/desktop-app/DesktopApp","@social-mail/social-mail-hosted-web/dist/style/GlobalStyle","@web-atoms/core/dist/core/AtomList","@social-mail/social-mail-hosted-web/dist/style/OverrideAppStyle","@web-atoms/data-styles/data-styles","@social-mail/social-mail-hosted-web/dist/commands/AppCommands","@social-mail/social-mail-hosted-web/dist/pages/home/HomePage","@social-mail/social-mail-hosted-web/dist/controls/basic/AppBar","@social-mail/social-mail-hosted-web/dist/common/ContentFolder","@social-mail/social-mail-hosted-web/dist/controls/basic/Spacer","@social-mail/social-mail-hosted-web/dist/controls/basic/SubHeading","@social-mail/social-mail-hosted-web/dist/controls/basic/FeatureList","@social-mail/social-mail-hosted-web/dist/controls/basic/Box","@social-mail/social-mail-hosted-web/dist/controls/basic/PriceGrid","@social-mail/social-mail-hosted-web/dist/controls/basic/Banner","@social-mail/social-mail-hosted-web/dist/controls/basic/Heading","@social-mail/social-mail-hosted-web/dist/pages/products/archival-server/ArchivalPage","@social-mail/social-mail-hosted-web/dist/controls/basic/Footer","@social-mail/social-mail-hosted-web/dist/pages/users/signup/SignupPage","@web-atoms/web-controls/dist/basic/Form","@web-atoms/web-controls/dist/basic/FormField","@web-atoms/web-controls/dist/basic/styles/form-field-style","@social-mail/social-mail-hosted-web/dist/controls/countries/CountrySelect","@web-atoms/web-controls/dist/basic/DropDown","@web-atoms/web-controls/dist/basic/AtomRepeater","@web-atoms/core/dist/core/Colors","@web-atoms/core/dist/core/WatchProperty","@web-atoms/web-controls/dist/basic/InlinePopup","@web-atoms/web-controls/dist/basic/styles/inline-popup-style","@web-atoms/web-controls/dist/basic/MergeNode","@web-atoms/web-controls/dist/basic/ItemPath","@web-atoms/web-controls/dist/basic/styles/ui-display-none-style","@web-atoms/web-controls/dist/basic/styles/popup-style","@web-atoms/web-controls/dist/basic/styles/suggestion-popup","@web-atoms/web-controls/dist/basic/styles/repeater-style","@web-atoms/web-controls/dist/DataAttributes","@web-atoms/web-controls/dist/basic/styles/drop-down-style","@web-atoms/core/dist/services/FetchBuilder","@web-atoms/core/dist/services/http/JsonError","@web-atoms/web-controls/dist/basic/MaskedInput","@web-atoms/web-controls/dist/basic/styles/masked-input-style","@web-atoms/core/dist/view-model/Action","@social-mail/social-mail-hosted-web/dist/pages/terms/TermsPage","@social-mail/social-mail-hosted-web/dist/pages/terms/Terms","@social-mail/social-mail-hosted-web/dist/drawer/AppDrawer","@social-mail/social-mail-hosted-web/dist/controls/color-full-bg/ColorFullBg","@web-atoms/core/dist/web/WebApp","@web-atoms/core/dist/core/AtomOnce","@web-atoms/core/dist/web/services/WebBusyIndicatorService","@web-atoms/core/dist/web/styles/StyleBuilder","@web-atoms/core/dist/web/services/WindowService","@web-atoms/core/dist/Atom","@web-atoms/core/dist/core/FormattedError","@web-atoms/core/dist/view-model/AtomWindowViewModel","@web-atoms/core/dist/view-model/AtomViewModel","@web-atoms/core/dist/view-model/baseTypes","@web-atoms/core/dist/web/controls/AtomAlertWindow","@web-atoms/core/dist/web/styles/AtomAlertWindowStyle","@web-atoms/core/dist/web/styles/AtomWindowStyle","@web-atoms/core/src/web/images/close-button-hover.svg","@web-atoms/core/dist/web/controls/AtomWindow","@web-atoms/core/dist/web/controls/AtomTemplate","@web-atoms/core/dist/web/controls/AtomNotification","@web-atoms/core/dist/web/styles/AtomNotificationStyle","@web-atoms/core/dist/web/styles/AtomPopupStyle","@web-atoms/core/dist/web/services/NotificationPopup","@web-atoms/core/dist/web/styles/AtomTheme"]);
1980
1980
 
1981
1981
  System.register([], function (_export, _context) {
1982
1982
  "use strict";
@@ -15688,8 +15688,11 @@ System.register([], function (_export, _context) {
15688
15688
  }
15689
15689
  get details() {
15690
15690
  var _a;
15691
- if (this.json.paramErrors) {
15692
- return this.errors.map(x => `${x.name}: ${x.reason}`).join("\n");
15691
+ const {
15692
+ errors
15693
+ } = this;
15694
+ if (errors.length) {
15695
+ return errors.map(x => `${x.name}: ${x.reason}`).join("\n");
15693
15696
  }
15694
15697
  return (_a = this.json) === null || _a === void 0 ? void 0 : _a.details;
15695
15698
  }
@@ -15856,6 +15859,7 @@ System.register(["tslib", "./http/JsonError"], function (_export, _context) {
15856
15859
  return fetch(this.request.url, this.request);
15857
15860
  }
15858
15861
  ensureSuccess(r) {
15862
+ var _a, _b, _c, _d;
15859
15863
  return __awaiter(this, void 0, void 0, function* () {
15860
15864
  if (r.status <= 300) {
15861
15865
  return;
@@ -15863,7 +15867,7 @@ System.register(["tslib", "./http/JsonError"], function (_export, _context) {
15863
15867
  const type = r.headers.get("content-type");
15864
15868
  if (/\/json/i.test(type)) {
15865
15869
  const json = yield r.json();
15866
- throw new JsonError(`Failed for ${this.request.url}`, json);
15870
+ throw new JsonError((_d = (_c = (_b = (_a = json.title) !== null && _a !== void 0 ? _a : json.detail) !== null && _b !== void 0 ? _b : json.message) !== null && _c !== void 0 ? _c : json.exceptionMessage) !== null && _d !== void 0 ? _d : "Json Server Error", json);
15867
15871
  }
15868
15872
  const text = yield r.text();
15869
15873
  throw new Error(`Failed for ${this.request.url}\n${text}`);
@@ -16301,11 +16305,121 @@ System.register(["tslib", "../App", "../core/Command", "../core/EventScope", "..
16301
16305
 
16302
16306
  AmdLoader.instance.setup("@web-atoms/core/dist/view-model/Action");
16303
16307
 
16304
- System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "../../../controls/countries/CountrySelect", "@web-atoms/web-controls/dist/basic/MaskedInput", "@web-atoms/core/dist/services/FetchBuilder", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/style/styled"], function (_export, _context) {
16308
+ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/style/styled"], function (_export, _context) {
16309
+ "use strict";
16310
+
16311
+ var XNode, styled, css;
16312
+ function Terms() {
16313
+ return XNode.create("div", {
16314
+ class: css
16315
+ }, XNode.create("pre", null, XNode.create("h4", null, "YOUR CONTENT"), XNode.create("p", null, "Allthough, your emails are private to you and from our perspective, since you are hosting your private information on our server (servers that are part of Social Mail Network). These terms are applicable to the user as we are liable for the content hosted on our network. These terms are not applicable for self hosted servers, you can purchase Social Mail License and everything is private within your control."), XNode.create("h4", null, "ACCESSING SITE"), XNode.create("p", null, "Some information on the Site can be viewed by all visitors to our Site, without registration. If you wish to access specific Services, you must register and set up a profile."), XNode.create("h4", null, "ACCOUNT INTERGRITY AND AUTHENTIC IDENTITY"), XNode.create("p", null, "We may seek further information about an account in certain circumstances, as outlined below, before taking actions ranging from temporarily restricting accounts to permanently disabling them.", XNode.create("ol", {
16316
+ type: "a"
16317
+ }, XNode.create("li", null, "The accounts misrepresented their identity in the following ways:"), XNode.create("ul", null, XNode.create("li", null, "Using a name other than your real name in public;"), XNode.create("li", null, "Falsifying date of birth;"), XNode.create("li", null, "Creating a single account that represents or is used by more than one individual;"), XNode.create("li", null, "Creating multiple accounts as a single user.")), XNode.create("li", null, "Accounts that are compromised."), XNode.create("li", null, "Accounts that are inactive for a prolonged period of time."))), XNode.create("h4", null, "ELIGIBILITY"), XNode.create("p", null, "The minimum age to access our site or to become a member is Eighteen. Candidates under Eighteen are not permitted to register or subscribe. However, the parent or guardian of a candidate under the age of eighteen may use the Site and Services on behalf of that candidate. Such permission is provided in writing or it is confirmed electronically."), XNode.create("h4", null, "MEMBERSHIP"), XNode.create("p", null, "Your membership will last for the length of the term for which you choose to subscribe, and will entitle you to access all features of the site during that period. SocialMail.me.com reserves the right to terminate your membership early if you violate these Terms in any fashion."), XNode.create("h4", null, "FREE MEMBERSHIP"), XNode.create("p", null, "Applying for jobs is free and will always remain free. You do not need any paid subscription to apply for job. You can even upload your video auditions for free. Free membership is subjected to fair usage, multiple accounts for same person will result in termination of free membership. Promoting copyrighted materials in free membership will also result in termination of free membership."), XNode.create("h4", null, "REFUND / CHARGES FOR SUBSCRIPTION SERVICES"), XNode.create("p", null, XNode.create("i", {
16318
+ "data-color": "blue"
16319
+ }, "[This section is for clients and other paid memberships for products such as promotions/contests/contest fees/elite job listing etc.]"), "The subscription period will commence as we receive payment from you. Once paid, your membership fees are completely non-refundable. If you terminate your membership before your subscription period has expired, or if SocialMail.me.com terminates your membership due to your violation of these Terms, you will not receive a refund for the unutilized portion of your subscription period. Therefore, please thoughtfully consider the length of time for which you wish to join before signing up for membership. Refer to \"REFUND and CANCELLATION\" on https://SocialMail.me.com/index.html for more information."), XNode.create("p", null, "Presently the subscription feature is optional and payment is applicable to Clients seeking to use advanced features offerred by SocialMail.me for Jobs section. Job Applicants can apply to any job or engage with community free of cost."), XNode.create("h4", null, "MODIFICATION OF TERMS OF USE"), XNode.create("p", null, "SocialMail.me reserves the right to change these \"Terms of Use\" at its sole discretion and at any time without personal notice to you. All the changes are effective immediately when we post them. It is your responsibility to review these Terms of Use for any changes, and your access or use of the service after it has notified you of a change in these Terms of Use constitutes your acceptance of and agreement to be bound by all changes. If you do not agree to be bound by the changes, you must immediately stop using the service."), XNode.create("h4", null, "INTENDED USE OF SITES AND SERVICES"), XNode.create("p", null, "We do not routinely check all the content provided by users and third parties and cannot guarantee their accuracy or lawfulness. You may take your own steps to confirm information, back-up your content, and ensure that communications reach their intended recipient promptly and securely. You agree not to hold us responsible for any loss or damage caused as a result of:", XNode.create("ul", null, XNode.create("li", null, "rely on any content from or about other users or third parties, or about opportunities or services provided by them; nor "), XNode.create("li", null, "any communications, contracts, or dealings with other users or third parties.")), XNode.create("p", null, "You can report any ", XNode.create("b", null, "scam"), " you may encounter by contacting us or raising the issue through the app. We will take appropriate action against the issue once we have reviewed it.")), XNode.create("p", null, "You are solely responsible for all User-Provided Content that you make available via our site. Under no circumstances SocialMail.me will be liable to you in any way for any User-Provided Content that you upload, post, or otherwise make available via our site, including, but not limited to, any error or omission in User-Provided Content, or for any loss or damage of any nature incurred as a result of the information uploaded by the User. In addition, you hereby release SocialMail.me from any and all claims, liens, demands, actions, or suits in connection with the User-Provided Content, including, without limitation, any and all liability for any use or non-use of your User-Provided Content, defamation claims, invasion of privacy, right of publicity, emotional distress or economic loss."), XNode.create("h4", null, "REPORTING UNLAWFUL CONTENT"), XNode.create("p", null, "You may report to us any content or communication which seems unlawful, inaccurate or otherwise inappropriate, or if you have a negative experience with any other user or third party in connection with our Sites or Services. We may, in our sole discretion, investigate and take measures we deem appropriate in the circumstances."), XNode.create("h4", null, "CONDUCT"), XNode.create("p", null, "You agree not to use this site, or any information collected from this site, for purposes other than its intended use. You shall not publish any information on the site that is defamatory, threatening, abusive, profane, offensive, obscene, in violation of copyright or trademark laws, illegal, or otherwise unacceptable. You will not use the contact information provided on the site to harass, libel, threaten, or abuse any other member, on or off the website. This provision is considered extremely serious, and offenders may be referred to the appropriate law enforcement agency."), XNode.create("h4", null, "PROHIBITION ON PROVIDING UNLAWFUL CONTENT"), XNode.create("p", null, "You may not upload or transmit any unlawful, unauthorized, or offensive content, including but not limited to:", XNode.create("ul", null, XNode.create("li", null, "content which is discriminatory, defamatory, indecent, obscene, or abusive;"), XNode.create("li", null, "unauthorized marketing materials or communications;"), XNode.create("li", null, "content containing personal political or religious views and opinions;"), XNode.create("li", null, "content that leads to breach of copyright or other intellectual property rights, data protection or confidentiality obligations, or any rights of privacy; and"), XNode.create("li", null, "incorrect content about yourself or another party."))), XNode.create("h4", null, "COPYRIGHT AND INTELLECTUAL PROPERTY NOTICE"), XNode.create("p", null, "All contents present on this site are the exclusive property of SocialMail.me. The software, text, images, graphics, video, and audio used on this site belong to SocialMail.me.com. No material from this site may be copied, modified, reproduced, republished, uploaded, transmitted, posted, or distributed in any form without prior written permission from SocialMail.me.com. All rights not explicitly accorded hereto are reserved. SocialMail.me is not responsible if any information submitted by a registered user on the site is found to be false or misleading. The liability of SocialMail.me is limited to deleting the content only. Recruiters/Clients are advised to follow their verification process if they hire/book any applicant/talent from our site. If you find any objectionable or false content on the site, please ", XNode.create("i", {
16320
+ "data-font-weight": "bold"
16321
+ }, "Report"), " the content or create support ticket through the ", XNode.create("a", {
16322
+ href: "https://SocialMail.me.com/support/emails",
16323
+ target: "_blank"
16324
+ }, "Contact"), " page, we will take action immediately. All third-party trademarks, logos, photographs, images, audio and audio-visual content, programming, excluding audition tapes uploaded by Users and other intellectual property contained on or within the site are the property of respective third parties, including the respective content owners, and may be protected by applicable copyright, trademark or other intellectual property laws. Each such third party explicitly reserves all rights to such intellectual property."), XNode.create("h4", null, "PRIVACY POLICY"), XNode.create("p", null, "Your privacy is very important to us. The SocialMail.me Privacy Policy describes what data we collect from you, the purpose for collecting it in conjunction with the SocialMail.me Sites and Services, and how we share, process, and manage your Personal Data. If you do not agree with the terms of this Privacy Policy or the Terms of Use, you should immediately stop using or visiting SocialMail.me. We collect Personal Data that you voluntarily provide us, when you register on SocialMail.me, create user, talent, or an employer profile. Personal Data may contain your name, email, contact information, your location, as well as other information you provide to SocialMail.me. When you visit the Site, we automatically collect certain information about your web browser, IP address, and time zone. Additionally, as you browse the website, we gather information about the individual web pages or products that you view, and what websites or search terms referred you to the Site. We might also store cookies on your computer in order to collect certain aggregate data about our users and to customize certain aspects of your specific user experience. SocialMail.me reserves the right, but has no obligation, to monitor information, comments, or other content that you voluntarily disclose and post to the Websites. SocialMail.me is committed to protecting the security of your Personal Data. We implement a variety of security technologies and procedures to help protect Your personal data. However, no measures are 100% secure. We cannot make any promises or guarantees that your data will be safe, and you provide information to us at your own risk. SocialMail.me reserves the right to change this Privacy Policy at any time. SocialMail.me does not undertake to provide you with personal notice of any changes. Your continued use of SocialMail.me following the posting of changes to this Privacy Policy means you accept those changes."), XNode.create("p", null, "On behalf of NeuroSpeech Technologies, dba SocialMail.me (referred to as \"SocialMail,\" \"SocialMail.me,\", \"us\" or \"we\"), we welcome you to SocialMail.me.com (the \"Site\"). We recognize that your privacy is important. This Policy discloses the privacy practices for the Site, and also covers how personal and other information that we receive or collect about you is treated. Please read the information below to learn the following regarding your use of the Site. You further acknowledge that this Privacy Policy is designed to be read in conjunction with our applicable User Agreement and that by accessing or using the Site, you agree to be bound by the User Agreement applicable to the software being uses, as well as this Privacy Policy. We reserve the right to change this Privacy Policy from time to time. If we make any changes to our privacy practices or this Privacy Policy we will post the revised Privacy Policy on this page. Your continued use of the Site and/or Services available through the Site after such modifications will constitute your acknowledgment of the modified Policy, and your agreement to abide and be bound by the Policy. If you have any questions, please contact us by sending an email to support@neurospeech.com.", XNode.create("strong", null), XNode.create("br", null)), XNode.create("br", null), XNode.create("strong", null, "IMPORTANT: BY USING THE SITE AND/OR OFFERINGS AVAILABLE ON THIS SITE, YOU GIVE YOUR CONSENT THAT ALL PERSONAL DATA THAT YOU SUBMIT MAY BE PROCESSED BY US IN THE MANNER AND FOR THE PURPOSES DESCRIBED BELOW. IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS, DO NOT USE THE SITE.", XNode.create("br", null), XNode.create("br", null)), " ", XNode.create("br", null), XNode.create("h4", null, "1. TYPES OF INFORMATION WE COLLECT"), XNode.create("p", null, "Generally, we may collect information that can identify you such as your name and email address (\"Personally Identifiable Information\") and other information that does not necessarily identify you (\u201CAggregate Information\u201D). We may collect this information through our website or mobile application. By using the Site, and registering a Member Account you are authorizing us to gather, parse and retain data related to the provision of the Service. Largely, we may collect two types of information about our users: a. Personally Identifiable Information and b. Aggregate Information:", XNode.create("ol", {
16325
+ type: "a"
16326
+ }, XNode.create("li", null, XNode.create("p", null, "Personally Identifiable Information (\u201CPII\u201D)"), XNode.create("p", null, "This refers to information that lets us know the specifics of who you are. We may collect and store any PII you provide while using our Service and/or Site or in some other manner. This may include identifying information, such as your name, address, email address and telephone number, and, if you transact business with us, financial information. You may also provide us photos, videos, a personal description and information about your gender, and location which may be shared with other your elected talent agent and industry professional clients. You may also voluntarily provide other PII, whether or not specifically requested by us, by voluntarily supplying your own details through the \u201CContact Us\u201D form, or by posting publicly viewable comments on the Site. You agree that we may collect any PII voluntarily supplied by you, whether or not we have requested it. You must not submit any PII relating to a third party which you do have permission from such third party to provide to us. We do not knowingly collect any information relating to third parties which you do not have permission to provide. Please note, that when you engage in certain activities on our Site, such as sending us a message through a \u201CContact Us\u201D form, we will ask you to provide certain PII."), XNode.create("p", null, "You may register a Member Account using an existing third-party social media or network account including, but not limited to, Facebook, Twitter, or Google+ (hereinafter \u201CThird-Party Account\u201D) If you do so, you authorize SocialMail.me access to certain information from your Third-Party Account, such as your public profile, your email address, interests, likes, gender, birthday, education history, current city, photos, personal description, friend list, and information about and photos of your friends and/or connections who might be common friends and/or connections with other SocialMail.me users. Moreover you allow SocialMail.me to post content onto your Third-Party Account. You will also be asked to allow SocialMail.me to collect your location information from your device when you download or use the Service.")), XNode.create("li", null, XNode.create("p", null, "Aggregate Information"), XNode.create("p", null, "This refers to information that does not by itself identify a specific individual. We gather certain information about you based upon where you visit on our Site and what other Site may have directed you to us. This information includes, but is not limited to; information about your computer's IP address; technical information about your computer or mobile device (such as type of device, web browser or operating system); your preferences and settings (time zone, language, privacy preferences, product preferences, etc.); the URL of the last web page you visited before coming to one of our site; the buttons, controls and ads you clicked on (if any); how long you used SocialMail.me \u00A0and which services and features you used; and your online or offline status of SocialMail.me. This information, which is collected in a variety of different ways, is compiled and analyzed on both a personal and an aggregated basis. This information may include the Site\u2019s Uniform Resource Locator (\"URL\") that points to the site you just came from, which URL you go to after visiting our Site, what browser you are using, and your Internet Protocol (\"IP\") address.")))), XNode.create("h4", null, "2. HOW WE COLLECT AND USE INFORMATION"), XNode.create("p", null, " We do not collect any PII about you unless you voluntarily provide it to us. However, you may be required to provide certain PII to us when you elect to use certain services available on the Site, such as requesting that we contact you by sending us a message through a \u201CContact Us\u201D form on the Site. We will primarily use your PII to provide information and service offerings to you. We will also use certain forms of PII to enhance the operation of our Site, improve our internal marketing and promotional efforts, statistically analyze Site use, improve our information offerings, and customize the Site\u2019 content, layout, and services. We may use PII to deliver information or service offerings to you, and to contact you if you request that we do so. Finally, we may use your PII to enforce our agreements with you, including our User Agreements, and this Privacy Policy."), XNode.create("p", null, "We may also collect certain Aggregate Information. For example, we may use your IP address to diagnose problems with our servers, software, to administer our Site and to gather demographic information. If your web browser emits \u201Cdo not track\u201D signals, or you use other mechanisms that provide you the opportunity to prevent the collection of PII or Aggregate Information about your online activities, we honor these signals or mechanisms by refraining from collecting information about you."), XNode.create("h4", null, "3. HOW WE COLLECT AND USE INFORMATION"), XNode.create("p", null, "Depending on how you use our Site, we may store cookies on your computer in order to collect certain aggregate data about our users and to customize certain aspects of your specific user experience. A cookie is a small data text file which is stored on your computer that uniquely identifies your browser. Cookies may also include more personalized information, such as your IP address, browser type, the server your computer is logged onto, the area code and zip code associated with your server, and your first name to welcome you back to our Site. We may use cookies to perform tasks such as: monitoring aggregate Site usage metrics, storing and remembering your passwords (if you allow us to do so), storing account and advertising preferences that you have set, and personalizing the Services we make available to you. However, we do not use cookies to track your browsing behaviors."), XNode.create("p", null, "Most browsers are initially set up to accept cookies, but you can reset your browser to refuse all cookies or to indicate when a cookie is being sent. However, some aspects of the Site may not function properly if you elect to disable cookies."), XNode.create("h4", null, "4. RELEASE OF INFORMATION"), XNode.create("p", null, "We will not sell, trade, or rent your PII to others. We do provide some of our service offerings through contractual arrangements made with affiliates, service providers, partners and other third parties (\"Service Partners\"). We and our Service Partners may need to use some PII in order to perform tasks between our respective sites, or to deliver services to you. For example, we use Service Partners to assist us in delivering our electronic newsletters and communications to you. The use of your PII by our Service Partners is governed by the respective privacy policies of those providers and is not subject to our control."), XNode.create("p", null, "Except as otherwise discussed in this Privacy Policy, this document only addresses the use and disclosure of information we collect from you. Any other site accessible through our Site, including those of our Service Partners, have their own privacy policies and data collection, use and disclosure practices. Please consult each site's privacy policy. We are not responsible for the policies or practices of third parties."), XNode.create("p", null, "Other than our Service Partners, we do not allow third parties to collect PII or Aggregate information about you or your online activities when you use our Site."), XNode.create("p", null, "Occasionally we may be required by law enforcement or judicial authorities to provide PII to the appropriate governmental authorities. In such cases, we will disclose PII upon receipt of a court order, subpoena, or to cooperate with a law enforcement investigation. We fully cooperate with law enforcement agencies in identifying those who use our services for illegal activities. We reserve the right to report to law enforcement agencies any activities that we in good faith believe to be unlawful."), XNode.create("h4", null, "5. UPDATING AND CORRECTING INFORMATION"), XNode.create("p", null, "We believe you should have the ability to access and edit the PII that you have provided to us. You may change any of your PII in your account online at any time through your Member Account. We encourage you to promptly update your PII if it changes. You may ask to have the information on your account deleted or removed; however, some information, such as past transactions, logs of technical support email, or other information may not be deleted. In addition, it may be impossible to completely delete your information without some residual information because of backups."), XNode.create("h4", null, "6. USER CHOICES ON COLLECTION AND USE OF INFORMATION"), XNode.create("p", null, "We may, from time to time, send you e-mail and/or information or services that we feel may interest you. Only SocialMail.me (or agents working on behalf of SocialMail.me and under confidentiality agreements) will send you these notifications. If you do not want to receive correspondence from us, you can \"opt-out\" by clicking on the \u201CUnsubscribe\u201D link at the bottom of each correspondence. You also have choices with respect to cookies, as described above. By modifying your browser preferences, you have the choice to accept all cookies, to be notified when a cookie is set, or to reject all cookies. If you choose to reject all cookies some parts of our Site may not work properly in your case."), XNode.create("h4", null, "7. SECURITY OF YOUR PII"), XNode.create("p", null, "At SocialMail.me.com you can be assured that your PII is secure as we strive to take appropriate security measures to protect against unauthorized access to or unauthorized alteration, disclosure or destruction of your PII. For example:", XNode.create("ul", null, XNode.create("li", null, "We work hard to ensure that the data we collect is reliable, accurate, complete and current. We use PII only for the purposes for which it was collected or to comply with any applicable legal or ethical reporting or document retention requirements."), XNode.create("li", null, "We limit access to PII only to specific employees, your elected talent agent or industry professional clients who have a reasonable need to come into contact with your information."), XNode.create("li", null, "Additionally, we also employ a number of physical, electronic, and procedural safeguards to protect PII. Our secure servers and our data centers are protected by encryption, and our servers reside behind firewalls and password protection."), XNode.create("li", null, "Unfortunately, no data transmission over the Internet or any wireless network can be guaranteed to be 100% secure. As a result, while we strive to protect your PII, you acknowledge that: (a) there are security and privacy limitations inherent to the Internet which are beyond our control; and (b) the security, integrity and privacy of any and all information and data exchanged between you and us through the Site cannot be guaranteed."))), XNode.create("p", null, "You should also be aware that when Personally Identifiable Information is voluntarily disclosed (i.e. your name, email address, etc.) by you in the comments you post on the Site, that information, along with any information disclosed in your communication, can be collected and used by third parties and may result in unsolicited messages (including unwanted spam messages) from third parties. Such activities are beyond our control and this Policy does not apply to such information."), XNode.create("h4", null, "8. CALIFORNIA ONLINE PRIVACY PROTECTION ACT"), XNode.create("p", null, XNode.create("strong", null, "CalOPPA"), " is the first state law in the nation to require commercial websites and online services to post a privacy policy. The law's reach stretches well beyond California to require any person or company in the United States (and conceivably the world) that operates websites collecting Personally Identifiable Information from California consumers to post a conspicuous privacy policy on its website stating exactly the information being collected and those individuals or companies with whom it is being shared. According to CalOPPA, we agree to the following:", XNode.create("ul", null, XNode.create("li", null, "Users can visit our site anonymously. "))), XNode.create("p", null, "See more at: ", XNode.create("u", null, XNode.create("a", {
16327
+ href: "http://consumercal.org/california-online-privacy-protection-act-caloppa/#sthash.0FdRbT51.dpuf",
16328
+ target: "_blank"
16329
+ }, "California Online Privacy Protection Act Caloppa"))), XNode.create("h4", null, "9. COPPA (CHILDREN ONLINE PRIVACY PROTECTION ACT)"), XNode.create("p", null, "When it comes to the collection of personal information from children under the age of 13 years old, the Children's Online Privacy Protection Act (COPPA) puts parents in control. The Federal Trade Commission, United States' consumer protection agency, enforces the COPPA Rule, which spells out what operators of websites and online services must do to protect children's privacy and safety online"), XNode.create("p", null, "Do we market to and collect information from children under 13.?"), XNode.create("p", null, "No."), XNode.create("p", null, "In order to remove your child's information please create support ticket through the", XNode.create("br", null), XNode.create("a", {
16330
+ href: "https://SocialMail.me.com/support/emails",
16331
+ target: "_blank"
16332
+ }, "Contact"), " page."), XNode.create("h4", null, "10. GENERAL DATA PROTECTION REGULATION (GDPR) - EUROPE"), XNode.create("p", null, "GDPR is a legislation which is aimed at protecting the privacy of consumers. However, under Article 8(1) of the GDPR deals with age limit of the child with respect to personal data. It lays down that the processing of personal data of a child shall be lawful where the child is at least 16 years old.", XNode.create("u", null, XNode.create("a", {
16333
+ href: "https://gdpr-info.eu/",
16334
+ target: "_blank"
16335
+ }, "GDPR Info")), "."), XNode.create("h4", null, "11. DATA PROTECTION BILL - INDIA"), XNode.create("p", null, "Digital Personal Data Protection Bill, 2022.", XNode.create("u", null, XNode.create("a", {
16336
+ href: "https://www.meity.gov.in/writereaddata/files/The%20Digital%20Personal%20Data%20Potection%20Bill%2C%202022_0.pdf",
16337
+ target: "_blank"
16338
+ }, "Data Protection Act")), "."), XNode.create("p", null, "No act for children"), XNode.create("h4", null, "10. Data PROTECTION ACT (1998) - UK"), XNode.create("p", null, "In the U.K. the nearest equivalent would be the Data Protection Act 1998 which has sections relating to children and online data.", XNode.create("u", null, XNode.create("a", {
16339
+ href: "https://www.legislation.gov.uk/ukpga/1998/29/contents",
16340
+ target: "_blank"
16341
+ }, "Data Protection - UK"))), XNode.create("h4", null, "10. REFUND and CANCELLATION ", XNode.create("i", {
16342
+ "data-color": "blue"
16343
+ }, "[NOT APPLICABLE to the JOB APPLICANTS]")), XNode.create("p", null, "SocialMail.me offers a Freemium model that caters to both applicants and clients in the industry. While applicants can enjoy the platform entirely for free, clients have access to basic features and can invite up to 25 applicants per role without any cost. Additional features and services, such as accessing more applicants or sharing and collaborating with other users, are available at a cost. In the free version of our platform, you will be able to have up to 25 applicants per role without incurring any charges. There is no requirement or binding for the Client to select applicant/talent exclusively from our network. Clients who desire access to advanced features may upgrade their account to unlock additional functionalities which may enhance their experience with our platform."), XNode.create("p", null, "Free version grants Client the ability to contact applicant/talent without any percentage or fee being deducted from the professional's payment."), XNode.create("h5", null, "A. Premium Profile Subscription"), XNode.create("p", null, "You can ask for refund for your premium profile within 7 days after activation. Please raise support ticket through the ", XNode.create("a", {
16344
+ href: "https://SocialMail.me.com/support/emails",
16345
+ target: "_blank"
16346
+ }, "Contact"), " page and we will refund you the purchase. However, once refunded, your profile will become free profile. Once your profile becomes free, you will have 15 days to download and delete your old information."), XNode.create("p", null, "Frequent refunds in same profile will result in termination of profile and permanent bar from the network."), XNode.create("h5", null, "B. Elite Listing"), XNode.create("p", null, "You can ask for refund for Elite listing within 2 days after activation. Please raise support ticket through the ", XNode.create("a", {
16347
+ href: "https://SocialMail.me.com/support/emails",
16348
+ target: "_blank"
16349
+ }, "Contact"), " page and we will refund you the purchase. Incase of no show up, if you do not receive any job applicants within job due date, you will be eligible to receive full refund or you can extend the due date. There will be no refund after 2 days if you have received any applicant. If in case the applicant will be removed from system due to any violation of terms, and you have no applicants, you will be eligible for refund."), XNode.create("p", null, "Frequent refunds or chargebacks (except in no participation) in same profile will result in termination of profile and permanent bar from the network."), XNode.create("h5", null, "C. Contests"), XNode.create("p", null, "Once the contest has began, and if there are any participant entries, you cannot cancel the contest and you will not be eligible for any refund."), XNode.create("p", null, "In case of violation of terms, if participants are removed, or due to any copyright violations, contest is cancelled, you may be eligible for refund only if your content is not in copyright violation. Only in case of no participants in specified due date, you will receive full refund."), XNode.create("p", null, "Frequent refunds or chargebacks (except in no participation) in same profile will result in termination of profile and permanent bar from the network."), XNode.create("h4", null, "11. CONTACT US"), XNode.create("p", null, "If you have any questions, concerns or inquiries about our Privacy Policy, or our use of your PII, or our privacy practices, please raise a support ticket through the ", XNode.create("a", {
16350
+ href: "https://SocialMail.me.com/support/emails",
16351
+ target: "_blank"
16352
+ }, "Contact"), " page."), XNode.create("h4", null, "12. EFFECTIVE DATE"), XNode.create("p", null, "This Privacy Policy is effective as of January 1, 2023."), XNode.create("h4", null, "13. REGISTERED ADDRESS"), XNode.create("pre", null, "NeuroSpeech Technologies Pvt Ltd.", XNode.create("br", null), "Unit 103, Building 3, Sector 3,", XNode.create("br", null), "Millennium Business Park, Mahape,", XNode.create("br", null), "Navi Mumbai, 400710.", XNode.create("br", null), "CIN: U72900MH2008PTC186919", XNode.create("br", null), "GSTIN: 27AACCN8896Q1ZA", XNode.create("br", null), "Phone: +91 9372375135", XNode.create("br", null))));
16353
+ }
16354
+ _export("default", Terms);
16355
+ return {
16356
+ setters: [function (_webAtomsCoreDistCoreXNode) {
16357
+ XNode = _webAtomsCoreDistCoreXNode.default;
16358
+ }, function (_webAtomsCoreDistStyleStyled) {
16359
+ styled = _webAtomsCoreDistStyleStyled.default;
16360
+ }],
16361
+ execute: function () {
16362
+ css = styled.css`
16363
+ white-space: break-spaces;
16364
+ overflow-x: hidden;
16365
+ background-color: white;
16366
+ color: black;
16367
+ padding: 10px;
16368
+ border-radius: 10px;
16369
+ opacity: 0.75;
16370
+ & pre {
16371
+ overflow-x: hidden;
16372
+ white-space: break-spaces;
16373
+ }
16374
+ `.installLocal();
16375
+ }
16376
+ };
16377
+ });
16378
+ //# sourceMappingURL=Terms.js.map
16379
+
16380
+ AmdLoader.instance.setup("@social-mail/social-mail-hosted-web/dist/pages/terms/Terms");
16381
+
16382
+ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "./Terms"], function (_export, _context) {
16305
16383
  "use strict";
16306
16384
 
16307
- var __awaiter, __decorate, __metadata, Bind, XNode, Form, FormField, ContentPage, CountrySelect, formatForCountry, isdForCountry, MaskedInput, FetchBuilder, Action, styled, SignupPage, css;
16385
+ var __awaiter, XNode, PopupWindowPage, Terms, TermsPage;
16308
16386
  _export("default", void 0);
16387
+ return {
16388
+ setters: [function (_tslib) {
16389
+ __awaiter = _tslib.__awaiter;
16390
+ }, function (_webAtomsCoreDistCoreXNode) {
16391
+ XNode = _webAtomsCoreDistCoreXNode.default;
16392
+ }, function (_webAtomsWebControlsDistMobileAppMobileApp) {
16393
+ PopupWindowPage = _webAtomsWebControlsDistMobileAppMobileApp.PopupWindowPage;
16394
+ }, function (_Terms) {
16395
+ Terms = _Terms.default;
16396
+ }],
16397
+ execute: function () {
16398
+ _export("default", TermsPage = class TermsPage extends PopupWindowPage {
16399
+ init() {
16400
+ return __awaiter(this, void 0, void 0, function* () {
16401
+ this.title = "Terms";
16402
+ this.renderer = XNode.create("div", null, XNode.create(Terms, null));
16403
+ this.footerRenderer = () => XNode.create("div", {
16404
+ "data-layout": "command-row"
16405
+ }, XNode.create("button", {
16406
+ "event-click": () => this.close(true),
16407
+ "data-layout": "go-button"
16408
+ }, "I Agree"));
16409
+ });
16410
+ }
16411
+ });
16412
+ }
16413
+ };
16414
+ });
16415
+ //# sourceMappingURL=TermsPage.js.map
16416
+
16417
+ AmdLoader.instance.setup("@social-mail/social-mail-hosted-web/dist/pages/terms/TermsPage");
16418
+
16419
+ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/Form", "@web-atoms/web-controls/dist/basic/FormField", "../../../controls/countries/CountrySelect", "@web-atoms/web-controls/dist/basic/MaskedInput", "@web-atoms/core/dist/services/FetchBuilder", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/Pack", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/web-controls/dist/PageNavigator", "../../terms/TermsPage"], function (_export, _context) {
16420
+ "use strict";
16421
+
16422
+ var __awaiter, __decorate, __metadata, Bind, XNode, Form, FormField, CountrySelect, formatForCountry, isdForCountry, MaskedInput, FetchBuilder, Action, styled, Pack, ContentPage, PageNavigator, TermsPage, css, SignupPage;
16309
16423
  return {
16310
16424
  setters: [function (_tslib) {
16311
16425
  __awaiter = _tslib.__awaiter;
@@ -16319,8 +16433,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16319
16433
  Form = _webAtomsWebControlsDistBasicForm.default;
16320
16434
  }, function (_webAtomsWebControlsDistBasicFormField) {
16321
16435
  FormField = _webAtomsWebControlsDistBasicFormField.default;
16322
- }, function (_webAtomsWebControlsDistMobileAppMobileApp) {
16323
- ContentPage = _webAtomsWebControlsDistMobileAppMobileApp.ContentPage;
16324
16436
  }, function (_controlsCountriesCountrySelect) {
16325
16437
  CountrySelect = _controlsCountriesCountrySelect.CountrySelect;
16326
16438
  formatForCountry = _controlsCountriesCountrySelect.formatForCountry;
@@ -16333,6 +16445,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16333
16445
  Action = _webAtomsCoreDistViewModelAction.default;
16334
16446
  }, function (_webAtomsCoreDistStyleStyled) {
16335
16447
  styled = _webAtomsCoreDistStyleStyled.default;
16448
+ }, function (_webAtomsCoreDistPack) {
16449
+ Pack = _webAtomsCoreDistPack.default;
16450
+ }, function (_webAtomsWebControlsDistMobileAppMobileApp) {
16451
+ ContentPage = _webAtomsWebControlsDistMobileAppMobileApp.ContentPage;
16452
+ }, function (_webAtomsWebControlsDistPageNavigator) {
16453
+ PageNavigator = _webAtomsWebControlsDistPageNavigator.default;
16454
+ }, function (_termsTermsPage) {
16455
+ TermsPage = _termsTermsPage.default;
16336
16456
  }],
16337
16457
  execute: function () {
16338
16458
  css = styled.css`
@@ -16363,9 +16483,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16363
16483
  }
16364
16484
  }
16365
16485
  `.installLocal();
16366
- _export("default", SignupPage = class SignupPage extends ContentPage {
16486
+ SignupPage = class SignupPage extends ContentPage {
16367
16487
  constructor() {
16368
16488
  super(...arguments);
16489
+ this.termsAgreed = false;
16369
16490
  this.model = {
16370
16491
  name: "",
16371
16492
  username: "",
@@ -16397,6 +16518,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16397
16518
  "data-padding": "auto"
16398
16519
  }, XNode.create("input", {
16399
16520
  "data-border": "none",
16521
+ autofocus: true,
16400
16522
  style: "outline: none",
16401
16523
  type: "text",
16402
16524
  value: Bind.twoWaysImmediate(() => this.model.username)
@@ -16436,12 +16558,17 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16436
16558
  type: "tel",
16437
16559
  value: Bind.twoWaysImmediate(() => this.model.captchaCode)
16438
16560
  })), XNode.create("div", null, XNode.create("button", {
16561
+ "data-layout": "go-button",
16439
16562
  "data-submit-event": "signup"
16440
16563
  }, "Signup")))));
16441
16564
  });
16442
16565
  }
16443
16566
  signup() {
16444
16567
  return __awaiter(this, void 0, void 0, function* () {
16568
+ if (!this.termsAgreed) {
16569
+ yield PageNavigator.pushPageForResult(TermsPage);
16570
+ this.termsAgreed = true;
16571
+ }
16445
16572
  const isdCode = yield isdForCountry(this.model.country);
16446
16573
  const phoneNumber = this.model.phoneNumberText.replace(/[^0-9]/g, "");
16447
16574
  this.model.phoneNumber = isdCode.startsWith("+") ? isdCode + phoneNumber : `+${isdCode}${phoneNumber}`;
@@ -16450,11 +16577,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16450
16577
  phoneVerificationID
16451
16578
  } = yield FetchBuilder.post("/api/users/signup").jsonBody(this.model).responseAsJson();
16452
16579
  if (userID) {
16453
- if (/test/i.test(location.host)) {
16454
- location.href = "https://test.socialmail.me";
16455
- return;
16456
- }
16457
- location.href = "https://mails.socialmail.me";
16580
+ location.href = "/";
16458
16581
  return;
16459
16582
  }
16460
16583
  if (phoneVerificationID) {
@@ -16477,10 +16600,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
16477
16600
  }, "Complete Signup")))));
16478
16601
  });
16479
16602
  }
16480
- });
16603
+ };
16481
16604
  __decorate([Action({
16482
16605
  onEvent: "signup"
16483
16606
  }), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], SignupPage.prototype, "signup", null);
16607
+ SignupPage = __decorate([Pack], SignupPage);
16608
+ _export("default", SignupPage);
16484
16609
  }
16485
16610
  };
16486
16611
  });