@shift72/core-template 1.9.11 → 1.9.13

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/shift72/core-template/compare/1.9.11...HEAD)
3
+ ## [Unreleased](https://github.com/shift72/core-template/compare/1.9.13...HEAD)
4
4
 
5
5
  ### Added
6
6
 
@@ -8,6 +8,26 @@
8
8
 
9
9
  ### Fixed
10
10
 
11
+ ## [1.9.13](https://github.com/shift72/core-template/compare/1.9.12...1.9.13)
12
+
13
+ ### Changed
14
+
15
+ - Hid can-be-watched button for logged out users
16
+
17
+ ### Fixed
18
+
19
+ ## [1.9.12](https://github.com/shift72/core-template/compare/1.9.11...1.9.12)
20
+
21
+ ### Changed
22
+
23
+ - Better UX for the account deletion pages
24
+ - Support setting language for Checkout
25
+ - Updated CHeckout options to new format
26
+
27
+ ### Fixed
28
+
29
+ - Support nav menu not being present
30
+
11
31
  ## [1.9.11](https://github.com/shift72/core-template/compare/1.9.10...1.9.11)
12
32
 
13
33
  ### Added
package/kibble.json CHANGED
@@ -194,5 +194,5 @@
194
194
  "pageSize": 0
195
195
  }
196
196
  ],
197
- "coreTemplateVersion": "1.9.11"
197
+ "coreTemplateVersion": "1.9.13"
198
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shift72/core-template",
3
- "version": "1.9.11",
3
+ "version": "1.9.13",
4
4
  "description": "Shift72 core template",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -1730,7 +1730,7 @@
1730
1730
  "other": "تأكيد الحذف"
1731
1731
  },
1732
1732
  "confirm_delete_message": {
1733
- "other": "هذا الإجراء دائم ولا يمكن التراجع عنه! بعد حذف حسابك، سيتم تسجيل خروجك على الفور ولن تتمكن من الوصول إلى مشترياتك بعد الآن."
1733
+ "other": "ستفقد على الفور إمكانية الوصول إلى أي محتوى قمت بشرائه."
1734
1734
  },
1735
1735
  "confirm_delete_success_page_header": {
1736
1736
  "other": "تم حذف الحساب!"
@@ -1767,5 +1767,17 @@
1767
1767
  },
1768
1768
  "account_form_account_delete_successful": {
1769
1769
  "other": "نجح طلب الحذف"
1770
+ },
1771
+ "confirm_delete_user_email": {
1772
+ "other": "الحساب الذي يتم حذفه:"
1773
+ },
1774
+ "confirm_delete_is_permanent": {
1775
+ "other": "هذا الإجراء دائم ولا يمكن التراجع عنه."
1776
+ },
1777
+ "confirm_delete_error_invalid_token": {
1778
+ "other": "لا يمكن حذف الحساب بسبب وجود رمز غير صالح. حاول استخدام الرابط من بريدك الإلكتروني مرة أخرى، أو ابدأ هذه العملية من جديد."
1779
+ },
1780
+ "confirm_delete_check_box_message": {
1781
+ "other": "أفهم أن هذا الإجراء دائم"
1770
1782
  }
1771
1783
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Confirmeu la supressió"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Aquesta acció és permanent i no es pot desfer! Després d'eliminar el vostre compte, es tancarà la sessió immediatament i ja no podreu accedir a les vostres compres."
1669
+ "other": "Immediatament perdràs l'accés a qualsevol contingut que hagis comprat."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Compte suprimit!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Sol·licitud d'eliminació correcta"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Compte que s'està suprimint:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Aquesta acció és permanent i no es pot desfer."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "No es pot suprimir el compte a causa d'un testimoni no vàlid. Torneu a provar l'enllaç del vostre correu electrònic o torneu a començar aquest procés."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Entenc que aquesta acció és permanent"
1706
1718
  }
1707
1719
  }
@@ -1,6 +1,7 @@
1
1
  {{extends "templates/application/application.jet"}}
2
2
 
3
3
  {{block head()}}
4
+ <script>localStorage.removeItem('shift72.authToken')</script>
4
5
  {{yield seo(title=i18n("confirm_delete_header"), index=false)}}
5
6
  {{end}}
6
7
 
@@ -11,7 +12,7 @@
11
12
  </div>
12
13
  <div class="page-content">
13
14
  <p>{{ i18n("confirm_delete_message") }}</p>
14
- <s72-confirm-delete-form />
15
+ <s72-confirm-delete-form></s72-confirm-delete-form>
15
16
  </div>
16
17
  </main>
17
18
  {{end}}
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Bekræft sletning"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Denne handling er permanent og kan ikke fortrydes! Efter sletning af din konto bliver du logget ud med det samme og vil ikke længere kunne få adgang til dine køb."
1669
+ "other": "Du vil øjeblikkeligt miste adgangen til alt indhold, du har købt."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Konto slettet!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Anmodning om sletning lykkedes"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Konto, der slettes:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Denne handling er permanent og kan ikke fortrydes."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Kan ikke slette kontoen på grund af et ugyldigt token. Prøv linket fra din e-mail igen, eller start denne proces forfra."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Jeg forstår, at denne handling er permanent"
1706
1718
  }
1707
1719
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Löschung bestätigen"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Diese Aktion ist dauerhaft und kann nicht rückgängig gemacht werden! Nach der Löschung Ihres Kontos werden Sie sofort abgemeldet und haben keinen Zugriff mehr auf Ihre Einkäufe."
1669
+ "other": "Sie verlieren sofort den Zugriff auf alle von Ihnen gekauften Inhalte."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Konto gelöscht!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Löschanforderung erfolgreich"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Konto, das gelöscht wird:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Diese Aktion ist dauerhaft und kann nicht rückgängig gemacht werden."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Das Konto kann aufgrund eines ungültigen Tokens nicht gelöscht werden. Versuchen Sie es erneut mit dem Link aus Ihrer E-Mail oder beginnen Sie den Vorgang erneut."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Ich verstehe, dass diese Aktion dauerhaft ist"
1706
1718
  }
1707
1719
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Επιβεβαίωση Διαγραφής"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Αυτή η ενέργεια είναι μόνιμη και δεν μπορεί να αναιρεθεί! Μετά τη διαγραφή του λογαριασμού σας θα αποσυνδεθείτε αμέσως και δεν θα έχετε πλέον πρόσβαση στις αγορές σας."
1669
+ "other": "Θα χάσετε αμέσως την πρόσβαση σε οποιοδήποτε περιεχόμενο που έχετε αγοράσει."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Ο λογαριασμός διαγράφηκε!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Επιτυχές αίτημα διαγραφής"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Λογαριασμός που διαγράφεται:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Αυτή η ενέργεια είναι μόνιμη και δεν μπορεί να αναιρεθεί."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Δεν είναι δυνατή η διαγραφή του λογαριασμού λόγω μη έγκυρου διακριτικού. Δοκιμάστε ξανά τον σύνδεσμο από το email σας ή ξεκινήστε αυτήν τη διαδικασία από την αρχή."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Κατανοώ ότι αυτή η ενέργεια είναι μόνιμη"
1706
1718
  }
1707
1719
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Confirm Deletion"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "This action is permanent and cannot be undone! After deleting your account you will be logged out immediately and will not be able to access your purchases any more."
1669
+ "other": "You will immediately lose access to any content that you have purchased."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Account Deleted!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Deletion request successful"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Account which is being deleted:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "This action is permanent and cannot be undone."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Cannot delete the account due to an invalid token. Try the link from your email again, or start this process over."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "I understand that this action is permanent"
1706
1718
  }
1707
1719
  }
@@ -1670,7 +1670,7 @@
1670
1670
  "other": "Confirmar la eliminación"
1671
1671
  },
1672
1672
  "confirm_delete_message": {
1673
- "other": "¡Esta acción es permanente y no se puede deshacer! Después de eliminar su cuenta, se cerrará su sesión inmediatamente y ya no podrá acceder a sus compras."
1673
+ "other": "Inmediatamente perderá el acceso a cualquier contenido que haya comprado."
1674
1674
  },
1675
1675
  "confirm_delete_success_page_header": {
1676
1676
  "other": "¡Cuenta borrada!"
@@ -1707,5 +1707,17 @@
1707
1707
  },
1708
1708
  "account_form_account_delete_successful": {
1709
1709
  "other": "Solicitud de eliminación exitosa"
1710
+ },
1711
+ "confirm_delete_user_email": {
1712
+ "other": "Cuenta que se está eliminando:"
1713
+ },
1714
+ "confirm_delete_is_permanent": {
1715
+ "other": "Esta acción es permanente y no se puede deshacer."
1716
+ },
1717
+ "confirm_delete_error_invalid_token": {
1718
+ "other": "No se puede eliminar la cuenta debido a un token no válido. Pruebe el enlace de su correo electrónico nuevamente o comience este proceso de nuevo."
1719
+ },
1720
+ "confirm_delete_check_box_message": {
1721
+ "other": "Entiendo que esta acción es permanente"
1710
1722
  }
1711
1723
  }
@@ -1670,7 +1670,7 @@
1670
1670
  "other": "Confirmar la eliminación"
1671
1671
  },
1672
1672
  "confirm_delete_message": {
1673
- "other": "¡Esta acción es permanente y no se puede deshacer! Después de eliminar su cuenta, se cerrará su sesión inmediatamente y ya no podrá acceder a sus compras."
1673
+ "other": "Inmediatamente perderá el acceso a cualquier contenido que haya comprado."
1674
1674
  },
1675
1675
  "confirm_delete_success_page_header": {
1676
1676
  "other": "¡Cuenta borrada!"
@@ -1707,5 +1707,17 @@
1707
1707
  },
1708
1708
  "account_form_account_delete_successful": {
1709
1709
  "other": "Solicitud de eliminación exitosa"
1710
+ },
1711
+ "confirm_delete_user_email": {
1712
+ "other": "Cuenta que se está eliminando:"
1713
+ },
1714
+ "confirm_delete_is_permanent": {
1715
+ "other": "Esta acción es permanente y no se puede deshacer."
1716
+ },
1717
+ "confirm_delete_error_invalid_token": {
1718
+ "other": "No se puede eliminar la cuenta debido a un token no válido. Pruebe el enlace de su correo electrónico nuevamente o comience este proceso de nuevo."
1719
+ },
1720
+ "confirm_delete_check_box_message": {
1721
+ "other": "Entiendo que esta acción es permanente"
1710
1722
  }
1711
1723
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Kinnitage kustutamine"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "See toiming on püsiv ja seda ei saa tagasi võtta! Pärast konto kustutamist logitakse teid kohe välja ja te ei pääse enam oma ostudele juurde."
1669
+ "other": "Kaotate kohe juurdepääsu kogu ostetud sisule."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Konto kustutatud!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Kustutamistaotlus õnnestus"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Konto, mida kustutatakse:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "See toiming on püsiv ja seda ei saa tagasi võtta."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Kontot ei saa kustutada kehtetu märgi tõttu. Proovige uuesti oma meilis olevat linki või alustage seda protsessi uuesti."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Saan aru, et see toiming on püsiv"
1706
1718
  }
1707
1719
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Vahvista poisto"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Tämä toiminto on pysyvä, eikä sitä voi kumota! Tilin poistamisen jälkeen kirjaudut ulos välittömästi etkä voi enää käyttää ostoksia."
1669
+ "other": "Menetät välittömästi pääsyn ostamaasi sisältöön."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Tili poistettu!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Poistopyyntö onnistui"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Tili, jota ollaan poistamassa:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Tämä toiminto on pysyvä, eikä sitä voi kumota."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Tiliä ei voi poistaa virheellisen tunnuksen vuoksi. Kokeile sähköpostisi linkkiä uudelleen tai aloita tämä prosessi alusta."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Ymmärrän, että tämä toimenpide on pysyvä"
1706
1718
  }
1707
1719
  }
@@ -1670,7 +1670,7 @@
1670
1670
  "other": "Confirmer la suppression"
1671
1671
  },
1672
1672
  "confirm_delete_message": {
1673
- "other": "Cette action est permanente et ne peut être annulée ! Après avoir supprimé votre compte, vous serez immédiatement déconnecté et ne pourrez plus accéder à vos achats."
1673
+ "other": "Vous perdrez immédiatement l'accès à tout contenu que vous avez acheté."
1674
1674
  },
1675
1675
  "confirm_delete_success_page_header": {
1676
1676
  "other": "Compte supprimé !"
@@ -1707,5 +1707,17 @@
1707
1707
  },
1708
1708
  "account_form_account_delete_successful": {
1709
1709
  "other": "Demande de suppression réussie"
1710
+ },
1711
+ "confirm_delete_user_email": {
1712
+ "other": "Compte en cours de suppression :"
1713
+ },
1714
+ "confirm_delete_is_permanent": {
1715
+ "other": "Cette action est permanente et ne peut être annulée."
1716
+ },
1717
+ "confirm_delete_error_invalid_token": {
1718
+ "other": "Impossible de supprimer le compte en raison d'un jeton invalide. Essayez à nouveau le lien de votre e-mail ou recommencez ce processus."
1719
+ },
1720
+ "confirm_delete_check_box_message": {
1721
+ "other": "Je comprends que cette action est permanente"
1710
1722
  }
1711
1723
  }
@@ -1668,7 +1668,7 @@
1668
1668
  "other": "Potvrdite brisanje"
1669
1669
  },
1670
1670
  "confirm_delete_message": {
1671
- "other": "Ova radnja je trajna i ne može se poništiti! Nakon brisanja računa odmah ćete biti odjavljeni i više nećete moći pristupiti svojim kupnjama."
1671
+ "other": "Odmah ćete izgubiti pristup svim sadržajima koje ste kupili."
1672
1672
  },
1673
1673
  "confirm_delete_success_page_header": {
1674
1674
  "other": "Račun izbrisan!"
@@ -1705,5 +1705,17 @@
1705
1705
  },
1706
1706
  "account_form_account_delete_successful": {
1707
1707
  "other": "Zahtjev za brisanje uspješan"
1708
+ },
1709
+ "confirm_delete_user_email": {
1710
+ "other": "Račun koji se briše:"
1711
+ },
1712
+ "confirm_delete_is_permanent": {
1713
+ "other": "Ova radnja je trajna i ne može se poništiti."
1714
+ },
1715
+ "confirm_delete_error_invalid_token": {
1716
+ "other": "Nije moguće izbrisati račun zbog nevažećeg tokena. Pokušajte ponovno s vezom iz svoje e-pošte ili počnite ovaj postupak ispočetka."
1717
+ },
1718
+ "confirm_delete_check_box_message": {
1719
+ "other": "Razumijem da je ova akcija trajna"
1708
1720
  }
1709
1721
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "A törlés megerősítésére"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Ez a művelet végleges, és nem vonható vissza! Fiókja törlése után azonnal kijelentkezik, és többé nem fog tudni hozzáférni vásárlásaihoz."
1669
+ "other": "Azonnal elveszíti hozzáférését minden megvásárolt tartalomhoz."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Fiók törölve!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "A törlési kérelem sikeres"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Törlés alatt álló fiók:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Ez a művelet végleges, és nem vonható vissza."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "A fiók érvénytelen token miatt nem törölhető. Próbálja újra az e-mailben található hivatkozást, vagy kezdje elölről a folyamatot."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Megértem, hogy ez a művelet végleges"
1706
1718
  }
1707
1719
  }
@@ -1670,7 +1670,7 @@
1670
1670
  "other": "Confermare la cancellazione"
1671
1671
  },
1672
1672
  "confirm_delete_message": {
1673
- "other": "Questa azione è permanente e non può essere annullata! Dopo aver eliminato il tuo account verrai disconnesso immediatamente e non potrai più accedere ai tuoi acquisti."
1673
+ "other": "Perderai immediatamente l'accesso a qualsiasi contenuto che hai acquistato."
1674
1674
  },
1675
1675
  "confirm_delete_success_page_header": {
1676
1676
  "other": "Account cancellato!"
@@ -1707,5 +1707,17 @@
1707
1707
  },
1708
1708
  "account_form_account_delete_successful": {
1709
1709
  "other": "Richiesta di cancellazione riuscita"
1710
+ },
1711
+ "confirm_delete_user_email": {
1712
+ "other": "Account in fase di eliminazione:"
1713
+ },
1714
+ "confirm_delete_is_permanent": {
1715
+ "other": "Questa azione è permanente e non può essere annullata."
1716
+ },
1717
+ "confirm_delete_error_invalid_token": {
1718
+ "other": "Impossibile eliminare l'account a causa di un token non valido. Prova di nuovo il collegamento presente nella tua email o avvia nuovamente la procedura."
1719
+ },
1720
+ "confirm_delete_check_box_message": {
1721
+ "other": "Capisco che questa azione è permanente"
1710
1722
  }
1711
1723
  }
@@ -1653,7 +1653,7 @@
1653
1653
  "other": "削除の確認"
1654
1654
  },
1655
1655
  "confirm_delete_message": {
1656
- "other": "このアクションは永続的なものであり、元に戻すことはできません。アカウントを削除するとすぐにログアウトされ、購入したものにアクセスできなくなります。"
1656
+ "other": "購入したコンテンツにはすぐにアクセスできなくなります。"
1657
1657
  },
1658
1658
  "confirm_delete_success_page_header": {
1659
1659
  "other": "アカウントが削除されました!"
@@ -1690,5 +1690,17 @@
1690
1690
  },
1691
1691
  "account_form_account_delete_successful": {
1692
1692
  "other": "削除リクエストが成功しました"
1693
+ },
1694
+ "confirm_delete_user_email": {
1695
+ "other": "削除されるアカウント:"
1696
+ },
1697
+ "confirm_delete_is_permanent": {
1698
+ "other": "このアクションは永続的であり、元に戻すことはできません。"
1699
+ },
1700
+ "confirm_delete_error_invalid_token": {
1701
+ "other": "トークンが無効なため、アカウントを削除できません。メールのリンクをもう一度試すか、このプロセスを最初からやり直してください。"
1702
+ },
1703
+ "confirm_delete_check_box_message": {
1704
+ "other": "このアクションは永続的なものであることを理解しています"
1693
1705
  }
1694
1706
  }
@@ -1698,7 +1698,7 @@
1698
1698
  "other": "Patvirtinkite ištrynimą"
1699
1699
  },
1700
1700
  "confirm_delete_message": {
1701
- "other": "Šis veiksmas yra nuolatinis ir jo negalima anuliuoti! Ištrynę paskyrą būsite iš karto atsijungę ir nebegalėsite pasiekti savo pirkinių."
1701
+ "other": "Nedelsdami prarasite prieigą prie bet kokio įsigyto turinio."
1702
1702
  },
1703
1703
  "confirm_delete_success_page_header": {
1704
1704
  "other": "Paskyra ištrinta!"
@@ -1735,5 +1735,17 @@
1735
1735
  },
1736
1736
  "account_form_account_delete_successful": {
1737
1737
  "other": "Ištrynimo užklausa sėkminga"
1738
+ },
1739
+ "confirm_delete_user_email": {
1740
+ "other": "Paskyra, kuri ištrinama:"
1741
+ },
1742
+ "confirm_delete_is_permanent": {
1743
+ "other": "Šis veiksmas yra nuolatinis ir jo negalima anuliuoti."
1744
+ },
1745
+ "confirm_delete_error_invalid_token": {
1746
+ "other": "Nepavyko ištrinti paskyros dėl netinkamo prieigos rakto. Išbandykite el. pašto nuorodą dar kartą arba pradėkite šį procesą iš naujo."
1747
+ },
1748
+ "confirm_delete_check_box_message": {
1749
+ "other": "Suprantu, kad šis veiksmas yra nuolatinis"
1738
1750
  }
1739
1751
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Bevestig verwijdering"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Deze actie is permanent en kan niet ongedaan worden gemaakt! Nadat u uw account heeft verwijderd, wordt u onmiddellijk uitgelogd en heeft u geen toegang meer tot uw aankopen."
1669
+ "other": "U verliest onmiddellijk de toegang tot alle inhoud die u hebt gekocht."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Account verwijderd!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Verwijderingsverzoek succesvol"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Account dat wordt verwijderd:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Deze actie is permanent en kan niet ongedaan worden gemaakt."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Kan het account niet verwijderen vanwege een ongeldig token. Probeer de link uit uw e-mail opnieuw of begin dit proces opnieuw."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Ik begrijp dat deze actie permanent is"
1706
1718
  }
1707
1719
  }
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Bekreft sletting"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Denne handlingen er permanent og kan ikke angres! Etter å ha slettet kontoen din vil du bli logget ut umiddelbart og vil ikke ha tilgang til kjøpene dine lenger."
1669
+ "other": "Du vil umiddelbart miste tilgangen til alt innhold du har kjøpt."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Konto slettet!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Forespørsel om sletting vellykket"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Konto som slettes:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Denne handlingen er permanent og kan ikke angres."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Kan ikke slette kontoen på grunn av et ugyldig token. Prøv koblingen fra e-posten din på nytt, eller start denne prosessen på nytt."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Jeg forstår at denne handlingen er permanent"
1706
1718
  }
1707
1719
  }
@@ -1743,7 +1743,7 @@
1743
1743
  "other": "Potwierdź usunięcie"
1744
1744
  },
1745
1745
  "confirm_delete_message": {
1746
- "other": "Ta czynność jest trwała i nie można jej cofnąć! Po usunięciu konta zostaniesz natychmiast wylogowany i nie będziesz mieć już dostępu do swoich zakupów."
1746
+ "other": "Natychmiast utracisz dostęp do wszelkich zakupionych treści."
1747
1747
  },
1748
1748
  "confirm_delete_success_page_header": {
1749
1749
  "other": "Konto usunięte!"
@@ -1780,5 +1780,17 @@
1780
1780
  },
1781
1781
  "account_form_account_delete_successful": {
1782
1782
  "other": "Żądanie usunięcia zakończone pomyślnie"
1783
+ },
1784
+ "confirm_delete_user_email": {
1785
+ "other": "Konto, które jest usuwane:"
1786
+ },
1787
+ "confirm_delete_is_permanent": {
1788
+ "other": "Ta czynność jest trwała i nie można jej cofnąć."
1789
+ },
1790
+ "confirm_delete_error_invalid_token": {
1791
+ "other": "Nie można usunąć konta z powodu nieprawidłowego tokena. Wypróbuj ponownie link z wiadomości e-mail lub rozpocznij proces od nowa."
1792
+ },
1793
+ "confirm_delete_check_box_message": {
1794
+ "other": "Rozumiem, że to działanie ma charakter trwały"
1783
1795
  }
1784
1796
  }
@@ -1670,7 +1670,7 @@
1670
1670
  "other": "Confirmar exclusão"
1671
1671
  },
1672
1672
  "confirm_delete_message": {
1673
- "other": "Esta ação é permanente e não pode ser desfeita! Após excluir sua conta você será desconectado imediatamente e não poderá mais acessar suas compras."
1673
+ "other": "Você perderá imediatamente o acesso a qualquer conteúdo que tenha adquirido."
1674
1674
  },
1675
1675
  "confirm_delete_success_page_header": {
1676
1676
  "other": "Conta excluída!"
@@ -1707,5 +1707,17 @@
1707
1707
  },
1708
1708
  "account_form_account_delete_successful": {
1709
1709
  "other": "Solicitação de exclusão bem-sucedida"
1710
+ },
1711
+ "confirm_delete_user_email": {
1712
+ "other": "Conta que está sendo excluída:"
1713
+ },
1714
+ "confirm_delete_is_permanent": {
1715
+ "other": "Esta ação é permanente e não pode ser desfeita."
1716
+ },
1717
+ "confirm_delete_error_invalid_token": {
1718
+ "other": "Não é possível excluir a conta devido a um token inválido. Tente o link do seu e-mail novamente ou reinicie o processo."
1719
+ },
1720
+ "confirm_delete_check_box_message": {
1721
+ "other": "Entendo que esta ação é permanente"
1710
1722
  }
1711
1723
  }
@@ -1670,7 +1670,7 @@
1670
1670
  "other": "Confirmar exclusão"
1671
1671
  },
1672
1672
  "confirm_delete_message": {
1673
- "other": "Esta ação é permanente e não pode ser desfeita! Após excluir sua conta você será desconectado imediatamente e não poderá mais acessar suas compras."
1673
+ "other": "Você perderá imediatamente o acesso a qualquer conteúdo que tenha adquirido."
1674
1674
  },
1675
1675
  "confirm_delete_success_page_header": {
1676
1676
  "other": "Conta excluída!"
@@ -1707,5 +1707,17 @@
1707
1707
  },
1708
1708
  "account_form_account_delete_successful": {
1709
1709
  "other": "Solicitação de exclusão bem-sucedida"
1710
+ },
1711
+ "confirm_delete_user_email": {
1712
+ "other": "Conta que está sendo excluída:"
1713
+ },
1714
+ "confirm_delete_is_permanent": {
1715
+ "other": "Esta ação é permanente e não pode ser desfeita."
1716
+ },
1717
+ "confirm_delete_error_invalid_token": {
1718
+ "other": "Não é possível excluir a conta devido a um token inválido. Tente o link do seu e-mail novamente ou reinicie o processo."
1719
+ },
1720
+ "confirm_delete_check_box_message": {
1721
+ "other": "Entendo que esta ação é permanente"
1710
1722
  }
1711
1723
  }
@@ -1720,7 +1720,7 @@
1720
1720
  "other": "Подтвердить удаление"
1721
1721
  },
1722
1722
  "confirm_delete_message": {
1723
- "other": "Это действие является постоянным и не может быть отменено! После удаления учетной записи вы сразу же выйдете из системы и больше не сможете получить доступ к своим покупкам."
1723
+ "other": "Вы немедленно потеряете доступ ко всему купленному вами контенту."
1724
1724
  },
1725
1725
  "confirm_delete_success_page_header": {
1726
1726
  "other": "Аккаунт удален!"
@@ -1757,5 +1757,17 @@
1757
1757
  },
1758
1758
  "account_form_account_delete_successful": {
1759
1759
  "other": "Запрос на удаление выполнен успешно"
1760
+ },
1761
+ "confirm_delete_user_email": {
1762
+ "other": "Аккаунт, который удаляется:"
1763
+ },
1764
+ "confirm_delete_is_permanent": {
1765
+ "other": "Это действие является постоянным и не может быть отменено."
1766
+ },
1767
+ "confirm_delete_error_invalid_token": {
1768
+ "other": "Невозможно удалить учетную запись из-за недействительного токена. Попробуйте использовать ссылку из письма еще раз или начните процесс заново."
1769
+ },
1770
+ "confirm_delete_check_box_message": {
1771
+ "other": "Я понимаю, что это действие является постоянным"
1760
1772
  }
1761
1773
  }
@@ -1682,7 +1682,7 @@
1682
1682
  "other": "Потврдите брисање"
1683
1683
  },
1684
1684
  "confirm_delete_message": {
1685
- "other": "Ова радња је трајна и не може се поништити! Након брисања налога, одмах ћете бити одјављени и више нећете моћи да приступите својим куповинама."
1685
+ "other": "Одмах ћете изгубити приступ било ком садржају који сте купили."
1686
1686
  },
1687
1687
  "confirm_delete_success_page_header": {
1688
1688
  "other": "Налог је избрисан!"
@@ -1719,5 +1719,17 @@
1719
1719
  },
1720
1720
  "account_form_account_delete_successful": {
1721
1721
  "other": "Захтев за брисање је успео"
1722
+ },
1723
+ "confirm_delete_user_email": {
1724
+ "other": "Налог који се брише:"
1725
+ },
1726
+ "confirm_delete_is_permanent": {
1727
+ "other": "Ова радња је трајна и не може се опозвати."
1728
+ },
1729
+ "confirm_delete_error_invalid_token": {
1730
+ "other": "Није могуће избрисати налог због неважећег токена. Покушајте поново са везом из е-поште или почните овај процес изнова."
1731
+ },
1732
+ "confirm_delete_check_box_message": {
1733
+ "other": "Разумем да је ова акција трајна"
1722
1734
  }
1723
1735
  }
@@ -446,9 +446,11 @@ function initSearch() {
446
446
 
447
447
  function initScroll() {
448
448
  let nav = document.querySelector('.navbar-toggler');
449
- nav.addEventListener('click', () => {
450
- toggleScroll();
451
- });
449
+ if (nav) {
450
+ nav.addEventListener('click', () => {
451
+ toggleScroll();
452
+ });
453
+ }
452
454
  }
453
455
 
454
456
  function toggleScroll() {
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sources":["../js/modernizr-custom.js","../js/can-be-watched-button.component.js","../js/external-purchase-button.component.js","../js/main.js"],"sourcesContent":["/*! modernizr 3.6.0 (Custom Build) | MIT *\n * https://modernizr.com/download/?-smil-setclasses !*/\n!function(e,n,s){function o(e,n){return typeof e===n}function a(){var e,n,s,a,t,r,f;for(var c in l)if(l.hasOwnProperty(c)){if(e=[],n=l[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;s<n.options.aliases.length;s++)e.push(n.options.aliases[s].toLowerCase());for(a=o(n.fn,\"function\")?n.fn():n.fn,t=0;t<e.length;t++)r=e[t],f=r.split(\".\"),1===f.length?Modernizr[f[0]]=a:(!Modernizr[f[0]]||Modernizr[f[0]]instanceof Boolean||(Modernizr[f[0]]=new Boolean(Modernizr[f[0]])),Modernizr[f[0]][f[1]]=a),i.push((a?\"\":\"no-\")+f.join(\"-\"))}}function t(e){var n=f.className,s=Modernizr._config.classPrefix||\"\";if(c&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp(\"(^|\\\\s)\"+s+\"no-js(\\\\s|$)\");n=n.replace(o,\"$1\"+s+\"js$2\")}Modernizr._config.enableClasses&&(n+=\" \"+s+e.join(\" \"+s),c?f.className.baseVal=n:f.className=n)}var i=[],l=[],r={_version:\"3.6.0\",_config:{classPrefix:\"\",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var s=this;setTimeout(function(){n(s[e])},0)},addTest:function(e,n,s){l.push({name:e,fn:n,options:s})},addAsyncTest:function(e){l.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=r,Modernizr=new Modernizr;var f=n.documentElement,c=\"svg\"===f.nodeName.toLowerCase(),u={}.toString;Modernizr.addTest(\"smil\",function(){return!!n.createElementNS&&/SVGAnimate/.test(u.call(n.createElementNS(\"http://www.w3.org/2000/svg\",\"animate\")))}),a(),t(i),delete r.addTest,delete r.addAsyncTest;for(var d=0;d<Modernizr._q.length;d++)Modernizr._q[d]();e.Modernizr=Modernizr}(window,document);","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class CanBeWatchedButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.state.loaded && this.state.isOwned);\n }, utils.noop);\n }\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n return;\n }\n\n openLink(event, url) {\n event.preventDefault();\n if (url.length == 0) return;\n window.open(url);\n }\n\n render(props, state) {\n if (!state.loaded || !state.isOwned || props.url == '' || props.label == '') return;\n return (\n state.loaded &&\n state.isOwned && (\n <button\n class=\"s72-btn s72-btn-can-be-watched\"\n onClick={e => {\n this.openLink(e, props.url);\n }}\n >\n <span class=\"padder\" />\n <span class=\"verb watch s72-btn-can-be-watched-label\">{props.label}</span>\n </button>\n )\n );\n }\n}\n\nbindAllComponents('can-be-watched-button', elements => {\n return elements.map(e => render(h(CanBeWatchedButton, attrs(e)), e));\n});\n","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class ExternalPurchaseButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.shouldBeVisible);\n }, utils.noop);\n }\n }\n\n get shouldBeVisible() {\n return this.state.loaded && !this.state.isOwned;\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n }\n \n render(props) {\n if (!this.shouldBeVisible || props.url == '' || props.label == '') return null;\n return (\n <button\n type=\"button\"\n class=\"s72-btn s72-btn-purchase s72-btn-external-purchase\"\n onClick={e => {\n e.preventDefault();\n if (props.url) {\n window.location.href = props.url;\n }\n }}\n >\n <span class=\"verb\">{props.label}</span>\n </button>\n );\n }\n}\n\nbindAllComponents('external-purchase-button', elements => {\n return elements.map(e => render(h(ExternalPurchaseButton, attrs(e)), e));\n});\n","import './modernizr-custom.js';\nimport './can-be-watched-button.component.js';\nimport './external-purchase-button.component.js';\n\n/*global Swiper, Modernizr, s72*/\n\nlet slideObservers = [];\n\nfunction initializeWishlist() {\n let wishlist = document.querySelector('s72-userwishlist');\n if (!wishlist) return;\n let originalFunction = wishlist.classList.remove;\n wishlist.classList.remove = function (className) {\n if (className == 's72-hide') {\n // Hide this from view\n wishlist.style.opacity = '0';\n\n // Remove class\n originalFunction.apply(this, [className]);\n\n /* Convert this to a swiper */\n let containers = wishlist.getElementsByClassName('swiper-container');\n if (containers.length > 0) {\n let container = containers[0];\n let swiper = initializeSwiper(container, true);\n\n init(swiper);\n toggleButtons(container);\n }\n\n // Now show it\n wishlist.style.opacity = '1';\n } else {\n originalFunction.apply(this, [className]);\n }\n };\n}\n\nfunction initializeSwiper(element, force) {\n if (element.swiper) {\n if (force) {\n element.swiper.destroy();\n } else {\n return;\n }\n }\n\n let isTouchscreen = isTouchscreenEnabled();\n\n let defaultSlidesPerView = 8;\n let slidesPerView = {\n 320: 2,\n 568: 2,\n 667: 2,\n 768: 4,\n 992: 4,\n 1200: 4,\n 1440: 6,\n 1600: 6,\n };\n\n // Override some slider values specific sizes. Could potentially expand this for portrait vs. landscapes\n if (element.getAttribute('data-items-per-row')) {\n let itemsPerRow = element.getAttribute('data-items-per-row');\n let layout = element.getAttribute('data-layout');\n\n if (layout == 'portrait') {\n switch (itemsPerRow) {\n case '6':\n defaultSlidesPerView = 8;\n slidesPerView[1600] = 6;\n slidesPerView[1440] = 6;\n slidesPerView[1200] = 5;\n slidesPerView[992] = 4;\n slidesPerView[768] = 4;\n slidesPerView[667] = 3;\n slidesPerView[568] = 3;\n break;\n\n case '4':\n defaultSlidesPerView = 6;\n slidesPerView[1600] = 5;\n slidesPerView[1440] = 5;\n slidesPerView[1200] = 4;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[667] = 3;\n slidesPerView[568] = 2;\n break;\n }\n } else if (layout == 'landscape') {\n switch (itemsPerRow) {\n case '4':\n defaultSlidesPerView = 5;\n slidesPerView[1600] = 4;\n slidesPerView[1440] = 4;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[568] = 2;\n break;\n\n case '3':\n defaultSlidesPerView = 4;\n slidesPerView[1600] = 3;\n slidesPerView[1440] = 3;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 2;\n slidesPerView[768] = 2;\n slidesPerView[568] = 2;\n break;\n }\n }\n }\n\n let swiper = new Swiper(element, {\n init: false,\n slidesPerView: defaultSlidesPerView,\n spaceBetween: 1,\n slidesPerGroup: 1, // leave this for infinite scrollings\n speed: 600,\n watchSlidesVisibility: true,\n\n breakpoints: {\n // when window width is <= 320px\n 319: {\n slidesPerView: slidesPerView[320],\n spaceBetween: 2,\n slidesPerGroup: 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 480px\n 567: {\n slidesPerView: slidesPerView[568],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[568] : 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 640px\n 666: {\n slidesPerView: slidesPerView[667],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[667] : 1,\n },\n 767: {\n slidesPerView: slidesPerView[768],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[768] : 1,\n },\n 991: {\n slidesPerView: slidesPerView[992],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[992] : 1,\n },\n 1199: {\n slidesPerView: slidesPerView[1200],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1200] : 1,\n },\n 1439: {\n slidesPerView: slidesPerView[1440],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1440] : 1,\n },\n 1599: {\n slidesPerView: slidesPerView[1600],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1600] : 1,\n },\n },\n pagination: {\n el: '.swiper-pagination',\n clickable: true,\n },\n on: {\n init() {\n element.dispatchEvent(new Event('init'));\n },\n slideChangeTransitionEnd() {\n addAndRemoveSlides(element.swiper, true, true);\n toggleButtons(element);\n },\n },\n });\n\n element.buttons = {};\n\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-next'),\n 1\n );\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-prev'),\n -1\n );\n\n return swiper;\n}\n\nfunction disableButton(button) {\n button.classList.add('swiper-button-disabled');\n}\n\nfunction enableButton(button) {\n button.classList.remove('swiper-button-disabled');\n}\n\nfunction toggleButtons(slider) {\n let currentIndex = slider.swiper.activeIndex;\n let slidesToTheLeft = currentIndex;\n let slidesPerView = slider.swiper.params.slidesPerView;\n let slidesLength = slider.swiper.slides.length;\n let lastVisibleIndex = currentIndex + slidesPerView;\n let slidesToTheRight = slidesLength - lastVisibleIndex;\n\n if (slidesToTheLeft == 0) {\n disableButton(slider.buttons.prev);\n } else {\n enableButton(slider.buttons.prev);\n }\n\n if (slidesToTheRight <= 0) {\n disableButton(slider.buttons.next);\n } else {\n enableButton(slider.buttons.next);\n }\n}\n\nfunction initButton(slider, button, velocity) {\n if (button) {\n button.classList.remove('s72-hide');\n // Clone the button so any pre-existing listeners are destroyed\n let buttonClone = button.cloneNode(true);\n button.parentNode.replaceChild(buttonClone, button);\n\n buttonClone.addEventListener('click', e => {\n e.preventDefault();\n if (velocity > 0) {\n addAndRemoveSlides(slider.swiper, true, false);\n } else {\n addAndRemoveSlides(slider.swiper, false, true);\n }\n slider.swiper.slideToLoop(\n slider.swiper.realIndex + slider.swiper.params.slidesPerView * velocity\n );\n });\n\n let direction = velocity > 0 ? 'next' : 'prev';\n slider.buttons[direction] = buttonClone;\n }\n}\n\nfunction getMatchingDuplicatedSlides(slider, link) {\n let result = [];\n\n if (!slider.destroyed) {\n Array.from(slider.el.querySelectorAll('.swiper-slide')).forEach(slide => {\n if (!slide.classList.contains('base')) {\n let thisLink = slide.querySelector('a.meta-item-link').getAttribute('href');\n if (link === thisLink) result.push(slide);\n }\n });\n }\n\n return result;\n}\n\nfunction init(slider) {\n slider.init();\n\n // Set up a mutation observer against each base slide, as it'll get redrawn as the components get rendered\n for (let x = 0; x < slider.slides.length; x++) {\n let slide = slider.slides[x];\n\n slide.classList.add('base');\n\n if (infiniteScrollEnabled(slider)) {\n let config = { subtree: true, childList: true };\n\n let observer = new MutationObserver(mutations => {\n for (let y = 0; y < mutations.length; y++) {\n let mutationRecord = mutations[y];\n\n // var href = mutationRecord.target.closest('a.meta-item-link').getAttribute('href');\n let thisSlide = mutationRecord.target.closest('.swiper-slide');\n if (thisSlide) {\n let thisLink = thisSlide.querySelector('a.meta-item-link').getAttribute('href');\n\n let duplicatedSlides = getMatchingDuplicatedSlides(slider, thisLink);\n\n Array.from(duplicatedSlides).forEach(dupe => {\n dupe.innerHTML = thisSlide.innerHTML;\n });\n }\n }\n });\n\n observer.observe(slide, config);\n\n slideObservers.push(observer);\n }\n }\n\n addAndRemoveSlides(slider);\n\n return true;\n}\n\nfunction infiniteScrollEnabled(slider) {\n if (!Modernizr.smil) return false; // i.e. is this IE11\n\n if (isTouchscreenEnabled()) return false; // i.e. is this a touchscreen device?\n\n let el = slider.el;\n\n if (el.getAttribute('disable-infinite-scroll') !== null) {\n return false;\n }\n\n let prev = el.buttons.prev;\n let next = el.buttons.next;\n\n // Only infinite scroll on desktop (i.e. when the next/prev buttons are visible)\n let buttonsVisible = (prev && prev.offsetHeight > 0) || (next && next.offsetHeight > 0);\n\n let screens = slider.slides.length / slider.params.slidesPerView;\n\n return buttonsVisible && screens > 1;\n}\n\nfunction addAndRemoveSlides(slider, append, prepend) {\n // This is a no-go\n if (!infiniteScrollEnabled(slider)) return;\n\n // Just in case something's gone horribly wrong\n if (slider.slides.length > 100) {\n return;\n }\n\n if (append) {\n let lastVisibleIndex = slider.activeIndex + slider.params.slidesPerView;\n let slidesToTheRight = slider.slides.length - lastVisibleIndex;\n\n if (slidesToTheRight <= slider.params.slidesPerView) {\n appendBaseSlides(slider);\n }\n }\n\n if (prepend) {\n if (slider.activeIndex <= slider.params.slidesPerView) {\n prependBaseSlides(slider);\n }\n }\n}\n\nfunction getBaseSlides(slider) {\n let result = Array.from(slider.el.querySelectorAll('.swiper-slide.base')).map(node => {\n return node.cloneNode(true);\n });\n\n Array.from(result).forEach(slide => {\n slide.classList.remove(\n 'base',\n 'swiper-slide-visible',\n 'swiper-slide-active',\n 'swiper-slide-next',\n 'swiper-slide-prev'\n );\n });\n\n return result;\n}\n\nfunction appendBaseSlides(slider) {\n let baseSlides = getBaseSlides(slider).slice(0);\n slider.appendSlide(baseSlides);\n\n cullSlides(slider, 1);\n}\n\nfunction prependBaseSlides(slider) {\n // var baseSlides = getBaseSlides(slider).reverse().slice(0);\n let baseSlides = getBaseSlides(slider).reverse().slice(0);\n\n let currentIndex = slider.activeIndex;\n\n for (let i = 0; i < baseSlides.length; i++) {\n slider.prependSlide(baseSlides[i]);\n }\n slider.slideTo(currentIndex + baseSlides.length, 0);\n\n cullSlides(slider, -1);\n}\n\n// Get rid of the oldest N slides to the left of current\nfunction cullSlides(slider, direction) {\n let baseSlides = getBaseSlides(slider);\n\n let indices = [];\n for (let index = 0; index < slider.slides.length; index++) {\n let slide = slider.slides[index];\n if (direction > 0) {\n if (index < slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n } else if (index > slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n }\n\n if (indices.length > baseSlides.length) {\n let toCullIndices = [];\n if (direction > 0) {\n toCullIndices = indices.slice(0, baseSlides.length);\n } else {\n toCullIndices = indices.reverse().slice(0, baseSlides.length).reverse();\n }\n\n slider.removeSlide(toCullIndices.reverse());\n }\n}\n\nfunction initSearch() {\n let searchButton = document.querySelector('.btn-search-open');\n let searchForm = document.querySelector('.form-control-search');\n\n let openSearch = function () {\n document.querySelector('.form-control-search').focus();\n document.querySelector('.navbar-nav-search').classList.add('search-show');\n document.querySelector('.navbar-nav-search').classList.remove('search-hidden');\n };\n\n let closeSearch = function () {\n document.querySelector('.navbar-nav-search').classList.remove('search-show');\n document.querySelector('.navbar-nav-search').classList.add('search-hidden');\n };\n\n searchButton.addEventListener('click', openSearch, false);\n searchForm.addEventListener('focusin', openSearch, false);\n searchForm.addEventListener('focusout', closeSearch, false);\n}\n\nfunction initScroll() {\n let nav = document.querySelector('.navbar-toggler');\n nav.addEventListener('click', () => {\n toggleScroll();\n });\n}\n\nfunction toggleScroll() {\n let body = document.querySelector('body');\n if (!body.classList.contains('no-scroll')) {\n body.classList.add('no-scroll');\n } else {\n body.classList.remove('no-scroll');\n }\n}\n\nfunction documentReady(app) {\n initializeWishlist();\n\n app.classificationsService.load('/classifications.all.json');\n app.urlMapService.load('/urlmap.json');\n\n detectTouchscreen();\n\n let swipers = document.getElementsByClassName('swiper-container');\n for (let i = 0; i < swipers.length; i++) {\n let el = swipers[i];\n if (el.getAttribute('is-wishlist') == undefined) {\n let swiper = initializeSwiper(el, false);\n init(swiper);\n\n toggleButtons(el);\n }\n }\n\n document.querySelectorAll('.s72-btn-trailer:not(.s72-btn-play)').forEach(btn => {\n btn.addEventListener('click', e => {\n e.preventDefault();\n e.stopPropagation();\n });\n });\n\n document.querySelectorAll('.navbar-nav').forEach(nav => {\n nav.classList.remove('s72-hide');\n });\n\n if (document.querySelector('.navbar-nav-search')) {\n initSearch();\n }\n initScroll();\n}\n\nfunction detectTouchscreen() {\n let touchEnabled = s72.utils.device.isTouchEnabled();\n document.querySelector('html').setAttribute('is-touchscreen', touchEnabled);\n}\n\nfunction isTouchscreenEnabled() {\n return document.querySelector('html').getAttribute('is-touchscreen') === 'true';\n}\ndocument.addEventListener('s72loaded', event => {\n let app = event.detail.app;\n documentReady(app);\n});\n"],"names":["super","this","utils","let","getComponentElement","AppComponent","bindAllComponents","render","h","attrs","y"],"mappings":";;;EAAA;EACA;EACA,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,EAAA,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,EA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AAC,cAAc,EAAE,CAAC;EACvD,EAAE,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;EAC9E,CAAC;AACD;EACA,SAAS,oBAAoB,GAAG;EAChC,EAAE,OAAO,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,MAAM,CAAC;EAClF,CAAC;EACD,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAA,UAAE,OAAS;EAChD,EAAEA,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC;EAC7B,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;EACrB,CAAC,CAAC;;;;;;"}
1
+ {"version":3,"file":"main.js","sources":["../js/modernizr-custom.js","../js/can-be-watched-button.component.js","../js/external-purchase-button.component.js","../js/main.js"],"sourcesContent":["/*! modernizr 3.6.0 (Custom Build) | MIT *\n * https://modernizr.com/download/?-smil-setclasses !*/\n!function(e,n,s){function o(e,n){return typeof e===n}function a(){var e,n,s,a,t,r,f;for(var c in l)if(l.hasOwnProperty(c)){if(e=[],n=l[c],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(s=0;s<n.options.aliases.length;s++)e.push(n.options.aliases[s].toLowerCase());for(a=o(n.fn,\"function\")?n.fn():n.fn,t=0;t<e.length;t++)r=e[t],f=r.split(\".\"),1===f.length?Modernizr[f[0]]=a:(!Modernizr[f[0]]||Modernizr[f[0]]instanceof Boolean||(Modernizr[f[0]]=new Boolean(Modernizr[f[0]])),Modernizr[f[0]][f[1]]=a),i.push((a?\"\":\"no-\")+f.join(\"-\"))}}function t(e){var n=f.className,s=Modernizr._config.classPrefix||\"\";if(c&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp(\"(^|\\\\s)\"+s+\"no-js(\\\\s|$)\");n=n.replace(o,\"$1\"+s+\"js$2\")}Modernizr._config.enableClasses&&(n+=\" \"+s+e.join(\" \"+s),c?f.className.baseVal=n:f.className=n)}var i=[],l=[],r={_version:\"3.6.0\",_config:{classPrefix:\"\",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var s=this;setTimeout(function(){n(s[e])},0)},addTest:function(e,n,s){l.push({name:e,fn:n,options:s})},addAsyncTest:function(e){l.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=r,Modernizr=new Modernizr;var f=n.documentElement,c=\"svg\"===f.nodeName.toLowerCase(),u={}.toString;Modernizr.addTest(\"smil\",function(){return!!n.createElementNS&&/SVGAnimate/.test(u.call(n.createElementNS(\"http://www.w3.org/2000/svg\",\"animate\")))}),a(),t(i),delete r.addTest,delete r.addAsyncTest;for(var d=0;d<Modernizr._q.length;d++)Modernizr._q[d]();e.Modernizr=Modernizr}(window,document);","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class CanBeWatchedButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.state.loaded && this.state.isOwned);\n }, utils.noop);\n }\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n return;\n }\n\n openLink(event, url) {\n event.preventDefault();\n if (url.length == 0) return;\n window.open(url);\n }\n\n render(props, state) {\n if (!state.loaded || !state.isOwned || props.url == '' || props.label == '') return;\n return (\n state.loaded &&\n state.isOwned && (\n <button\n class=\"s72-btn s72-btn-can-be-watched\"\n onClick={e => {\n this.openLink(e, props.url);\n }}\n >\n <span class=\"padder\" />\n <span class=\"verb watch s72-btn-can-be-watched-label\">{props.label}</span>\n </button>\n )\n );\n }\n}\n\nbindAllComponents('can-be-watched-button', elements => {\n return elements.map(e => render(h(CanBeWatchedButton, attrs(e)), e));\n});\n","import { utils } from 's72';\nimport { AppComponent, bindAllComponents, render, h, attrs, getComponentElement } from 's72.ui';\n\nexport default class ExternalPurchaseButton extends AppComponent {\n constructor(props, context) {\n super(props, context);\n this.state = { loaded: false };\n }\n\n componentDidMount() {\n this.updateState();\n this.app.messagebus.subscribe('user-signed-in', () => this.updateState());\n this.app.messagebus.subscribe('user-signed-out', () => this.updateState());\n this.app.messagebus.subscribe('shopping-session-completed', session =>\n this.shoppingSessionCompleted(session)\n );\n }\n\n componentWillUnmount() {\n this.app.messagebus.unsubscribe('shopping-session-completed', () => this.updateState());\n }\n\n updateState() {\n if (this.props.slug && this.app.shoppingService.isValidType(this.props.slug)) {\n return this.loadAvailability(this.props.slug)\n .then(() => {\n return this.setState({ loaded: true });\n }, utils.noop)\n .then(() => {\n let e = getComponentElement(this);\n e.classList.toggle('s72-show', this.shouldBeVisible);\n }, utils.noop);\n }\n }\n\n get shouldBeVisible() {\n return this.state.loaded && !this.state.isOwned;\n }\n\n shoppingSessionCompleted(session) {\n if (session.data.slug != this.props.slug) {\n return;\n }\n this.updateState();\n }\n\n loadAvailability(slug) {\n if (utils.slugs.detect(slug) === utils.slugs.TYPE.FILM) {\n return this.app.availabilityService.getAvailability(slug).then(a => {\n this.setState({ isOwned: a && a.canBeWatched });\n });\n }\n }\n \n render(props) {\n if (!this.shouldBeVisible || props.url == '' || props.label == '') return null;\n return (\n <button\n type=\"button\"\n class=\"s72-btn s72-btn-purchase s72-btn-external-purchase\"\n onClick={e => {\n e.preventDefault();\n if (props.url) {\n window.location.href = props.url;\n }\n }}\n >\n <span class=\"verb\">{props.label}</span>\n </button>\n );\n }\n}\n\nbindAllComponents('external-purchase-button', elements => {\n return elements.map(e => render(h(ExternalPurchaseButton, attrs(e)), e));\n});\n","import './modernizr-custom.js';\nimport './can-be-watched-button.component.js';\nimport './external-purchase-button.component.js';\n\n/*global Swiper, Modernizr, s72*/\n\nlet slideObservers = [];\n\nfunction initializeWishlist() {\n let wishlist = document.querySelector('s72-userwishlist');\n if (!wishlist) return;\n let originalFunction = wishlist.classList.remove;\n wishlist.classList.remove = function (className) {\n if (className == 's72-hide') {\n // Hide this from view\n wishlist.style.opacity = '0';\n\n // Remove class\n originalFunction.apply(this, [className]);\n\n /* Convert this to a swiper */\n let containers = wishlist.getElementsByClassName('swiper-container');\n if (containers.length > 0) {\n let container = containers[0];\n let swiper = initializeSwiper(container, true);\n\n init(swiper);\n toggleButtons(container);\n }\n\n // Now show it\n wishlist.style.opacity = '1';\n } else {\n originalFunction.apply(this, [className]);\n }\n };\n}\n\nfunction initializeSwiper(element, force) {\n if (element.swiper) {\n if (force) {\n element.swiper.destroy();\n } else {\n return;\n }\n }\n\n let isTouchscreen = isTouchscreenEnabled();\n\n let defaultSlidesPerView = 8;\n let slidesPerView = {\n 320: 2,\n 568: 2,\n 667: 2,\n 768: 4,\n 992: 4,\n 1200: 4,\n 1440: 6,\n 1600: 6,\n };\n\n // Override some slider values specific sizes. Could potentially expand this for portrait vs. landscapes\n if (element.getAttribute('data-items-per-row')) {\n let itemsPerRow = element.getAttribute('data-items-per-row');\n let layout = element.getAttribute('data-layout');\n\n if (layout == 'portrait') {\n switch (itemsPerRow) {\n case '6':\n defaultSlidesPerView = 8;\n slidesPerView[1600] = 6;\n slidesPerView[1440] = 6;\n slidesPerView[1200] = 5;\n slidesPerView[992] = 4;\n slidesPerView[768] = 4;\n slidesPerView[667] = 3;\n slidesPerView[568] = 3;\n break;\n\n case '4':\n defaultSlidesPerView = 6;\n slidesPerView[1600] = 5;\n slidesPerView[1440] = 5;\n slidesPerView[1200] = 4;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[667] = 3;\n slidesPerView[568] = 2;\n break;\n }\n } else if (layout == 'landscape') {\n switch (itemsPerRow) {\n case '4':\n defaultSlidesPerView = 5;\n slidesPerView[1600] = 4;\n slidesPerView[1440] = 4;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 3;\n slidesPerView[768] = 3;\n slidesPerView[568] = 2;\n break;\n\n case '3':\n defaultSlidesPerView = 4;\n slidesPerView[1600] = 3;\n slidesPerView[1440] = 3;\n slidesPerView[1200] = 3;\n slidesPerView[992] = 2;\n slidesPerView[768] = 2;\n slidesPerView[568] = 2;\n break;\n }\n }\n }\n\n let swiper = new Swiper(element, {\n init: false,\n slidesPerView: defaultSlidesPerView,\n spaceBetween: 1,\n slidesPerGroup: 1, // leave this for infinite scrollings\n speed: 600,\n watchSlidesVisibility: true,\n\n breakpoints: {\n // when window width is <= 320px\n 319: {\n slidesPerView: slidesPerView[320],\n spaceBetween: 2,\n slidesPerGroup: 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 480px\n 567: {\n slidesPerView: slidesPerView[568],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[568] : 1,\n slidesOffsetBefore: 20,\n slidesOffsetAfter: 20,\n },\n // when window width is <= 640px\n 666: {\n slidesPerView: slidesPerView[667],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[667] : 1,\n },\n 767: {\n slidesPerView: slidesPerView[768],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[768] : 1,\n },\n 991: {\n slidesPerView: slidesPerView[992],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[992] : 1,\n },\n 1199: {\n slidesPerView: slidesPerView[1200],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1200] : 1,\n },\n 1439: {\n slidesPerView: slidesPerView[1440],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1440] : 1,\n },\n 1599: {\n slidesPerView: slidesPerView[1600],\n spaceBetween: 2,\n slidesPerGroup: isTouchscreen ? slidesPerView[1600] : 1,\n },\n },\n pagination: {\n el: '.swiper-pagination',\n clickable: true,\n },\n on: {\n init() {\n element.dispatchEvent(new Event('init'));\n },\n slideChangeTransitionEnd() {\n addAndRemoveSlides(element.swiper, true, true);\n toggleButtons(element);\n },\n },\n });\n\n element.buttons = {};\n\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-next'),\n 1\n );\n initButton(\n element,\n element.closest('.swiper-wrapper-container').querySelector('.swiper-button-prev'),\n -1\n );\n\n return swiper;\n}\n\nfunction disableButton(button) {\n button.classList.add('swiper-button-disabled');\n}\n\nfunction enableButton(button) {\n button.classList.remove('swiper-button-disabled');\n}\n\nfunction toggleButtons(slider) {\n let currentIndex = slider.swiper.activeIndex;\n let slidesToTheLeft = currentIndex;\n let slidesPerView = slider.swiper.params.slidesPerView;\n let slidesLength = slider.swiper.slides.length;\n let lastVisibleIndex = currentIndex + slidesPerView;\n let slidesToTheRight = slidesLength - lastVisibleIndex;\n\n if (slidesToTheLeft == 0) {\n disableButton(slider.buttons.prev);\n } else {\n enableButton(slider.buttons.prev);\n }\n\n if (slidesToTheRight <= 0) {\n disableButton(slider.buttons.next);\n } else {\n enableButton(slider.buttons.next);\n }\n}\n\nfunction initButton(slider, button, velocity) {\n if (button) {\n button.classList.remove('s72-hide');\n // Clone the button so any pre-existing listeners are destroyed\n let buttonClone = button.cloneNode(true);\n button.parentNode.replaceChild(buttonClone, button);\n\n buttonClone.addEventListener('click', e => {\n e.preventDefault();\n if (velocity > 0) {\n addAndRemoveSlides(slider.swiper, true, false);\n } else {\n addAndRemoveSlides(slider.swiper, false, true);\n }\n slider.swiper.slideToLoop(\n slider.swiper.realIndex + slider.swiper.params.slidesPerView * velocity\n );\n });\n\n let direction = velocity > 0 ? 'next' : 'prev';\n slider.buttons[direction] = buttonClone;\n }\n}\n\nfunction getMatchingDuplicatedSlides(slider, link) {\n let result = [];\n\n if (!slider.destroyed) {\n Array.from(slider.el.querySelectorAll('.swiper-slide')).forEach(slide => {\n if (!slide.classList.contains('base')) {\n let thisLink = slide.querySelector('a.meta-item-link').getAttribute('href');\n if (link === thisLink) result.push(slide);\n }\n });\n }\n\n return result;\n}\n\nfunction init(slider) {\n slider.init();\n\n // Set up a mutation observer against each base slide, as it'll get redrawn as the components get rendered\n for (let x = 0; x < slider.slides.length; x++) {\n let slide = slider.slides[x];\n\n slide.classList.add('base');\n\n if (infiniteScrollEnabled(slider)) {\n let config = { subtree: true, childList: true };\n\n let observer = new MutationObserver(mutations => {\n for (let y = 0; y < mutations.length; y++) {\n let mutationRecord = mutations[y];\n\n // var href = mutationRecord.target.closest('a.meta-item-link').getAttribute('href');\n let thisSlide = mutationRecord.target.closest('.swiper-slide');\n if (thisSlide) {\n let thisLink = thisSlide.querySelector('a.meta-item-link').getAttribute('href');\n\n let duplicatedSlides = getMatchingDuplicatedSlides(slider, thisLink);\n\n Array.from(duplicatedSlides).forEach(dupe => {\n dupe.innerHTML = thisSlide.innerHTML;\n });\n }\n }\n });\n\n observer.observe(slide, config);\n\n slideObservers.push(observer);\n }\n }\n\n addAndRemoveSlides(slider);\n\n return true;\n}\n\nfunction infiniteScrollEnabled(slider) {\n if (!Modernizr.smil) return false; // i.e. is this IE11\n\n if (isTouchscreenEnabled()) return false; // i.e. is this a touchscreen device?\n\n let el = slider.el;\n\n if (el.getAttribute('disable-infinite-scroll') !== null) {\n return false;\n }\n\n let prev = el.buttons.prev;\n let next = el.buttons.next;\n\n // Only infinite scroll on desktop (i.e. when the next/prev buttons are visible)\n let buttonsVisible = (prev && prev.offsetHeight > 0) || (next && next.offsetHeight > 0);\n\n let screens = slider.slides.length / slider.params.slidesPerView;\n\n return buttonsVisible && screens > 1;\n}\n\nfunction addAndRemoveSlides(slider, append, prepend) {\n // This is a no-go\n if (!infiniteScrollEnabled(slider)) return;\n\n // Just in case something's gone horribly wrong\n if (slider.slides.length > 100) {\n return;\n }\n\n if (append) {\n let lastVisibleIndex = slider.activeIndex + slider.params.slidesPerView;\n let slidesToTheRight = slider.slides.length - lastVisibleIndex;\n\n if (slidesToTheRight <= slider.params.slidesPerView) {\n appendBaseSlides(slider);\n }\n }\n\n if (prepend) {\n if (slider.activeIndex <= slider.params.slidesPerView) {\n prependBaseSlides(slider);\n }\n }\n}\n\nfunction getBaseSlides(slider) {\n let result = Array.from(slider.el.querySelectorAll('.swiper-slide.base')).map(node => {\n return node.cloneNode(true);\n });\n\n Array.from(result).forEach(slide => {\n slide.classList.remove(\n 'base',\n 'swiper-slide-visible',\n 'swiper-slide-active',\n 'swiper-slide-next',\n 'swiper-slide-prev'\n );\n });\n\n return result;\n}\n\nfunction appendBaseSlides(slider) {\n let baseSlides = getBaseSlides(slider).slice(0);\n slider.appendSlide(baseSlides);\n\n cullSlides(slider, 1);\n}\n\nfunction prependBaseSlides(slider) {\n // var baseSlides = getBaseSlides(slider).reverse().slice(0);\n let baseSlides = getBaseSlides(slider).reverse().slice(0);\n\n let currentIndex = slider.activeIndex;\n\n for (let i = 0; i < baseSlides.length; i++) {\n slider.prependSlide(baseSlides[i]);\n }\n slider.slideTo(currentIndex + baseSlides.length, 0);\n\n cullSlides(slider, -1);\n}\n\n// Get rid of the oldest N slides to the left of current\nfunction cullSlides(slider, direction) {\n let baseSlides = getBaseSlides(slider);\n\n let indices = [];\n for (let index = 0; index < slider.slides.length; index++) {\n let slide = slider.slides[index];\n if (direction > 0) {\n if (index < slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n } else if (index > slider.activeIndex && !slide.classList.contains('base')) {\n indices.push(index);\n }\n }\n\n if (indices.length > baseSlides.length) {\n let toCullIndices = [];\n if (direction > 0) {\n toCullIndices = indices.slice(0, baseSlides.length);\n } else {\n toCullIndices = indices.reverse().slice(0, baseSlides.length).reverse();\n }\n\n slider.removeSlide(toCullIndices.reverse());\n }\n}\n\nfunction initSearch() {\n let searchButton = document.querySelector('.btn-search-open');\n let searchForm = document.querySelector('.form-control-search');\n\n let openSearch = function () {\n document.querySelector('.form-control-search').focus();\n document.querySelector('.navbar-nav-search').classList.add('search-show');\n document.querySelector('.navbar-nav-search').classList.remove('search-hidden');\n };\n\n let closeSearch = function () {\n document.querySelector('.navbar-nav-search').classList.remove('search-show');\n document.querySelector('.navbar-nav-search').classList.add('search-hidden');\n };\n\n searchButton.addEventListener('click', openSearch, false);\n searchForm.addEventListener('focusin', openSearch, false);\n searchForm.addEventListener('focusout', closeSearch, false);\n}\n\nfunction initScroll() {\n let nav = document.querySelector('.navbar-toggler');\n if (nav) {\n nav.addEventListener('click', () => {\n toggleScroll();\n });\n }\n}\n\nfunction toggleScroll() {\n let body = document.querySelector('body');\n if (!body.classList.contains('no-scroll')) {\n body.classList.add('no-scroll');\n } else {\n body.classList.remove('no-scroll');\n }\n}\n\nfunction documentReady(app) {\n initializeWishlist();\n\n app.classificationsService.load('/classifications.all.json');\n app.urlMapService.load('/urlmap.json');\n\n detectTouchscreen();\n\n let swipers = document.getElementsByClassName('swiper-container');\n for (let i = 0; i < swipers.length; i++) {\n let el = swipers[i];\n if (el.getAttribute('is-wishlist') == undefined) {\n let swiper = initializeSwiper(el, false);\n init(swiper);\n\n toggleButtons(el);\n }\n }\n\n document.querySelectorAll('.s72-btn-trailer:not(.s72-btn-play)').forEach(btn => {\n btn.addEventListener('click', e => {\n e.preventDefault();\n e.stopPropagation();\n });\n });\n\n document.querySelectorAll('.navbar-nav').forEach(nav => {\n nav.classList.remove('s72-hide');\n });\n\n if (document.querySelector('.navbar-nav-search')) {\n initSearch();\n }\n initScroll();\n}\n\nfunction detectTouchscreen() {\n let touchEnabled = s72.utils.device.isTouchEnabled();\n document.querySelector('html').setAttribute('is-touchscreen', touchEnabled);\n}\n\nfunction isTouchscreenEnabled() {\n return document.querySelector('html').getAttribute('is-touchscreen') === 'true';\n}\ndocument.addEventListener('s72loaded', event => {\n let app = event.detail.app;\n documentReady(app);\n});\n"],"names":["super","this","utils","let","getComponentElement","AppComponent","bindAllComponents","render","h","attrs","y"],"mappings":";;;EAAA;EACA;EACA,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,EAAA,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAA,EAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,EAAA,EAAA,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CA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A,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC;EAC7B,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;EACrB,CAAC,CAAC;;;;;;"}
@@ -46,6 +46,7 @@
46
46
  .plans-page,
47
47
  .carousel-len-0,
48
48
  .verify-email-page,
49
+ .delete-confirm-page,
49
50
  .delete-result-page {
50
51
  padding-top: var(--page-padding-top);
51
52
  @include media-breakpoint-up(md) {
@@ -288,6 +289,7 @@
288
289
  }
289
290
 
290
291
  .verify-email-page,
292
+ .delete-confirm-page,
291
293
  .delete-result-page {
292
294
  @include media-breakpoint-up(xl) {
293
295
  padding: var(--page-padding-top-lg) 0 0 0;
@@ -306,33 +308,11 @@
306
308
  }
307
309
 
308
310
  p {
309
- text-align: center;
310
- }
311
- }
312
- }
313
-
314
- .delete-confirm-page {
315
- @include media-breakpoint-up(xl) {
316
- padding: var(--page-padding-top-lg) 0 0 0;
317
- }
318
-
319
- .page-header {
320
- h1 {
321
- text-align: center;
322
- }
323
- }
324
-
325
- .page-content {
326
- padding: 0 20px;
327
- @include media-breakpoint-up(lg) {
328
- padding: 0 50px;
329
- }
330
-
331
- p {
311
+ width: auto;
332
312
  max-width: 400px;
333
- width: 100%;
334
313
  text-align: center;
335
- margin: 0 auto 16px auto;
314
+ margin-left: auto;
315
+ margin-right: auto;
336
316
  }
337
317
  }
338
318
  }
@@ -80,16 +80,15 @@
80
80
  window.Shift72CheckoutOptions = {
81
81
  baseUrl: window.location.origin,
82
82
  {{if useLocalDevCheckout}}checkoutDevServerUrl: '{{checkoutDevServer}}',{{end}}
83
- options: {
84
83
  links: {
85
- library: `${window.location.origin}{{routeToPath("/library.html")}}`,
86
- termsAndConditions: `${window.location.origin}{{routeToPath("/page/terms-and-conditions/")}}`,
87
- deviceCompatibility: `${window.location.origin}{{routeToPath("/page/help/")}}`,
88
- help: `${window.location.origin}{{routeToPath("/page/help/")}}`,
89
- signIn: `${window.location.origin}{{routeToPath("/signin.html")}}`,
90
- signUp: `${window.location.origin}{{routeToPath("/signup.html")}}`,
91
- }
92
- }
84
+ library: `${window.location.origin}{{routeToPath("/library.html")}}`,
85
+ termsAndConditions: `${window.location.origin}{{routeToPath("/page/terms-and-conditions/")}}`,
86
+ deviceCompatibility: `${window.location.origin}{{routeToPath("/page/help/")}}`,
87
+ help: `${window.location.origin}{{routeToPath("/page/help/")}}`,
88
+ signIn: `${window.location.origin}{{routeToPath("/signin.html")}}`,
89
+ signUp: `${window.location.origin}{{routeToPath("/signup.html")}}`,
90
+ },
91
+ lang: '{{lang.Code}}'
93
92
  };
94
93
  </script>
95
94
  {{end}}
@@ -84,10 +84,12 @@
84
84
  <s72-pricing-buttons data-slug="{{item.Slug}}" class="pricing-buttons-fit" title="{{item.Title}}"></s72-pricing-buttons>
85
85
  {{end}}
86
86
 
87
- {{if len(canBeWatchedLink) > 0}}
88
- <can-be-watched-button data-slug="{{item.InnerItem.Slug}}" data-url="{{canBeWatchedLink}}" data-label="{{canBeWatchedText | i18n}}"></can-be-watched-button>
89
- {{end}}
90
-
87
+ {{if len(canBeWatchedLink) > 0}}
88
+ <s72-user-known>
89
+ <can-be-watched-button data-slug="{{item.InnerItem.Slug}}" data-url="{{canBeWatchedLink}}" data-label="{{canBeWatchedText | i18n}}"></can-be-watched-button>
90
+ </s72-user-known>
91
+ {{end}}
92
+
91
93
  {{if len(externalPurchaseButtonLink) > 0}}
92
94
  <external-purchase-button data-slug="{{item.InnerItem.Slug}}" data-url="{{externalPurchaseButtonLink}}" data-label="{{externalPurchaseButtonText | i18n}}"></external-purchase-button>
93
95
  {{end}}
@@ -1666,7 +1666,7 @@
1666
1666
  "other": "Silmeyi onayla"
1667
1667
  },
1668
1668
  "confirm_delete_message": {
1669
- "other": "Bu eylem kalıcıdır ve geri alınamaz! Hesabınızı sildikten sonra hemen çıkış yapacaksınız ve artık satın alma işlemlerinize erişemeyeceksiniz."
1669
+ "other": "Satın aldığınız herhangi bir içeriğe erişiminizi anında kaybedeceksiniz."
1670
1670
  },
1671
1671
  "confirm_delete_success_page_header": {
1672
1672
  "other": "Hesap Silindi!"
@@ -1703,5 +1703,17 @@
1703
1703
  },
1704
1704
  "account_form_account_delete_successful": {
1705
1705
  "other": "Silme isteği başarılı"
1706
+ },
1707
+ "confirm_delete_user_email": {
1708
+ "other": "Silinmekte olan hesap:"
1709
+ },
1710
+ "confirm_delete_is_permanent": {
1711
+ "other": "Bu işlem kalıcıdır ve geri alınamaz."
1712
+ },
1713
+ "confirm_delete_error_invalid_token": {
1714
+ "other": "Geçersiz jeton nedeniyle hesap silinemiyor. E-postanızdaki bağlantıyı tekrar deneyin veya bu işleme baştan başlayın."
1715
+ },
1716
+ "confirm_delete_check_box_message": {
1717
+ "other": "Bu eylemin kalıcı olduğunu anlıyorum"
1706
1718
  }
1707
1719
  }
@@ -1726,7 +1726,7 @@
1726
1726
  "other": "Підтвердити видалення"
1727
1727
  },
1728
1728
  "confirm_delete_message": {
1729
- "other": "Ця дія є постійною і не може бути скасована! Після видалення облікового запису ви негайно вийдете з системи та більше не зможете отримати доступ до своїх покупок."
1729
+ "other": "Ви негайно втратите доступ до будь-якого вмісту, який ви придбали."
1730
1730
  },
1731
1731
  "confirm_delete_success_page_header": {
1732
1732
  "other": "Обліковий запис видалено!"
@@ -1763,5 +1763,17 @@
1763
1763
  },
1764
1764
  "account_form_account_delete_successful": {
1765
1765
  "other": "Запит на видалення успішно"
1766
+ },
1767
+ "confirm_delete_user_email": {
1768
+ "other": "Акаунт, який видаляється:"
1769
+ },
1770
+ "confirm_delete_is_permanent": {
1771
+ "other": "Ця дія є постійною та не може бути скасована."
1772
+ },
1773
+ "confirm_delete_error_invalid_token": {
1774
+ "other": "Неможливо видалити обліковий запис через недійсний маркер. Спробуйте ще раз перейти за посиланням із електронної пошти або почніть цей процес спочатку."
1775
+ },
1776
+ "confirm_delete_check_box_message": {
1777
+ "other": "Я розумію, що ця дія є постійною"
1766
1778
  }
1767
1779
  }
@@ -1653,7 +1653,7 @@
1653
1653
  "other": "確認刪除"
1654
1654
  },
1655
1655
  "confirm_delete_message": {
1656
- "other": "此操作是永久性的且無法撤消!刪除您的帳戶後,您將立即登出,並且無法再存取您的購買內容。"
1656
+ "other": "您將立即失去對已購買的任何內容的存取權。"
1657
1657
  },
1658
1658
  "confirm_delete_success_page_header": {
1659
1659
  "other": "帳戶已刪除!"
@@ -1690,5 +1690,17 @@
1690
1690
  },
1691
1691
  "account_form_account_delete_successful": {
1692
1692
  "other": "刪除請求成功"
1693
+ },
1694
+ "confirm_delete_user_email": {
1695
+ "other": "正在刪除的帳戶:"
1696
+ },
1697
+ "confirm_delete_is_permanent": {
1698
+ "other": "此操作是永久性的且無法撤消。"
1699
+ },
1700
+ "confirm_delete_error_invalid_token": {
1701
+ "other": "由於令牌無效,無法刪除帳號。再次嘗試電子郵件中的鏈接,或重新開始此過程。"
1702
+ },
1703
+ "confirm_delete_check_box_message": {
1704
+ "other": "我了解此操作是永久性的"
1693
1705
  }
1694
1706
  }
@@ -1,5 +0,0 @@
1
- {{extends "templates/application/application.jet"}}
2
-
3
- {{block body()}}
4
- <s72-shopping-embeddable></s72-shopping-embeddable>
5
- {{end}}