var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
  let window = _____WB$wombat$assign$function_____("window");
  let self = _____WB$wombat$assign$function_____("self");
  let document = _____WB$wombat$assign$function_____("document");
  let location = _____WB$wombat$assign$function_____("location");
  let top = _____WB$wombat$assign$function_____("top");
  let parent = _____WB$wombat$assign$function_____("parent");
  let frames = _____WB$wombat$assign$function_____("frames");
  let opener = _____WB$wombat$assign$function_____("opener");

/*
 * Acknowledgements
 * Portions of this Apple Software may utilize the following copyrighted material, the use of which is hereby acknowledged.
 *
 * Lucas Bonomi ( Family.scss )
 * The MIT License (MIT)
 * Copyright © 2016 Lucas Bonomi <@lukyvj - lucas.bonomi@gmail.com - lucasbonomi.com>
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Yi-Cyuan Chen ( js-htmlencode )
 * The MIT License (MIT)
 * Copyright © 2014-2017 Chen, Yi-Cyuan
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Cvent, Inc. ( ember-cli-clamp )
 * Copyright © 2016 Cvent, Inc.
 * Apache License Version 2.0, January 2004
 * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
 * 1. Definitions.
 * "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
 * "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
 * "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
 * "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
 * "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
 * "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
 * "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
 * "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
 * "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
 * "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
 * 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
 * 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
 * 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
 * • You must give any other recipients of the Work or Derivative Works a copy of this License; and
 * • You must cause any modified files to carry prominent notices stating that You changed the files; and
 * • You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
 * • If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
 * 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
 * 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
 * 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
 * 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
 * 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
 * END OF TERMS AND CONDITIONS
 * APPENDIX: How to apply the Apache License to your work
 * To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
 * Copyright © 2016 Cvent, Inc.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Tom Dale and FastBoot Contributors ( FastBoot )
 * MIT License
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * DockYard, Inc ( ember-composable-helpers, ember-in-viewport )
 * The MIT License (MIT)
 * Copyright © 2016 DockYard, Inc
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 * For code taken from ember-compose-action-helper [used in ember-composable-helpers]
 * The MIT License (MIT)
 * Copyright © 2016 Ryan Tablada
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Dreamerslab ( inflection )
 * (The MIT License)
 * Copyright © 2011 dreamerslab <ben@dreamerslab.com>
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Ember Contributors ( Ember FastBoot/ember-cli-fastboot )
 * The MIT License (MIT)
 * Copyright © 2015-2017
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Ember Contributors ( ember-ajax, ember-factory-for-polyfill )
 * The MIT License (MIT)
 * Copyright © 2017
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Ember Contributors ( Ember-cli-head )
 * The MIT License (MIT)
 * Copyright © 2015
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Ember Contributors ( Ember-cli-meta-tags, ember-export-application-global, Ember Get Helper, ember-getowner-polyfill, Ember-load-initializers, ember-page-title, ember-router-scroll, ember-runtime-enumerable-includes-polyfill, Ember Truth Helpers )
 * The MIT License (MIT)
 * Copyright © 2016
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * JS Foundation and Contributors ( jQuery )
 * The MIT License (MIT)
 * Copyright © JS Foundation and other contributors
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Yehuda Katz, Tom Dale and Ember.js Contributors ( Ember.js )
 * Copyright © 2017 Yehuda Katz, Tom Dale and Ember.js contributors
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * Yehuda Katz, Stefan Penner, and Contributors ( loader.js )
 * The MIT License (MIT)
 * Copyright © 2014 Yehuda Katz, Stefan Penner, and contributors
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Eric Norris ( striptags )
 * The MIT License (MIT)
 * Copyright © [2017] [Eric Norris]
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Stefan Penner ( silent-error )
 * ISC License (ISC)
 * [Apple Note: A copy of the ISC License was not included with the project, but the text of the ISC License may be viewed at https://opensource.org/licenses/ISC.]
 *
 * Stefan Penner and Ember App Kit Contributors ( Ember Resolver )
 * The MIT License (MIT)
 * Copyright © 2016
 * Copyright © 2013 Stefan Penner and Ember App Kit Contributors
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Stefan Penner and Ember Inflector Contributors ( Ember Inflector )
 * The MIT License (MIT)
 * Copyright © 2015 Stefan Penner and ember-inflector contributors
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * Stefan Penner and ember-cli Contributors ( Ember CLI Shims )
 * The MIT License (MIT)
 * Copyright © 2014 Stefan Penner and ember-cli Contributors
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 * James A. Rosen ( Ember-I18n )
 * Copyright 2011 James A. Rosen
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 *
 * Tilde, Inc. and Contributors ( Ember Data )
 * Copyright © 2011-2016 Tilde, Inc. and contributors.
 * Portions Copyright © 2011 LivingSocial Inc.
 * [Apple Note: For a copy of the MIT License, please refer to the Ember.js attribution, where a copy of the MIT License is included.]
 *
 *
 * Rev. 7-17-2017
 * iTunes Preview Web
 */
"use strict"
define("web-experience-app/app",["exports","@ember/application","web-experience-app/resolver","ember-load-initializers","web-experience-app/config/environment"],(function(e,t,i,r,n){function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,"undefined"==typeof global&&"undefined"!=typeof window&&(window.global=window)
class o extends t.default{constructor(){super(...arguments),a(this,"modulePrefix",n.default.modulePrefix),a(this,"podModulePrefix",n.default.podModulePrefix),a(this,"Resolver",i.default)}}e.default=o,(0,r.default)(o,n.default.modulePrefix)})),define("web-experience-app/app/utils/get-feature",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getFeature=function(){return!1}})),define("web-experience-app/cldrs-shorts/ar",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ar-DZ",parentLocale:"ar"},{locale:"ar",numbers:{decimal:{long:[[1e3,{zero:["0 ألف",1],one:["0 ألف",1],two:["0 ألف",1],few:["0 آلاف",1],many:["0 ألف",1],other:["0 ألف",1]}],[1e4,{zero:["00 ألف",2],one:["00 ألف",2],two:["00 ألف",2],few:["00 ألف",2],many:["00 ألف",2],other:["00 ألف",2]}],[1e5,{zero:["000 ألف",3],one:["000 ألف",3],two:["000 ألف",3],few:["000 ألف",3],many:["000 ألف",3],other:["000 ألف",3]}],[1e6,{zero:["0 مليون",1],one:["0 مليون",1],two:["0 مليون",1],few:["0 ملايين",1],many:["0 مليون",1],other:["0 مليون",1]}],[1e7,{zero:["00 مليون",2],one:["00 مليون",2],two:["00 مليون",2],few:["00 ملايين",2],many:["00 مليون",2],other:["00 مليون",2]}],[1e8,{zero:["000 مليون",3],one:["000 مليون",3],two:["000 مليون",3],few:["000 مليون",3],many:["000 مليون",3],other:["000 مليون",3]}],[1e9,{zero:["0 مليار",1],one:["0 مليار",1],two:["0 مليار",1],few:["0 مليار",1],many:["0 مليار",1],other:["0 مليار",1]}],[1e10,{zero:["00 مليار",2],one:["00 مليار",2],two:["00 مليار",2],few:["00 مليار",2],many:["00 مليار",2],other:["00 مليار",2]}],[1e11,{zero:["000 مليار",3],one:["000 مليار",3],two:["000 مليار",3],few:["000 مليار",3],many:["000 مليار",3],other:["000 مليار",3]}],[1e12,{zero:["0 ترليون",1],one:["0 ترليون",1],two:["0 ترليون",1],few:["0 ترليون",1],many:["0 ترليون",1],other:["0 ترليون",1]}],[1e13,{zero:["00 ترليون",2],one:["00 ترليون",2],two:["00 ترليون",2],few:["00 ترليون",2],many:["00 ترليون",2],other:["00 ترليون",2]}],[1e14,{zero:["000 ترليون",3],one:["000 ترليون",3],two:["000 ترليون",3],few:["000 ترليون",3],many:["000 ترليون",3],other:["000 ترليون",3]}]],short:[[1e3,{zero:["0 ألف",1],one:["0 ألف",1],two:["0 ألف",1],few:["0 آلاف",1],many:["0 ألف",1],other:["0 ألف",1]}],[1e4,{zero:["00 ألف",2],one:["00 ألف",2],two:["00 ألف",2],few:["00 ألف",2],many:["00 ألف",2],other:["00 ألف",2]}],[1e5,{zero:["000 ألف",3],one:["000 ألف",3],two:["000 ألف",3],few:["000 ألف",3],many:["000 ألف",3],other:["000 ألف",3]}],[1e6,{zero:["0 مليون",1],one:["0 مليون",1],two:["0 مليون",1],few:["0 مليون",1],many:["0 مليون",1],other:["0 مليون",1]}],[1e7,{zero:["00 مليون",2],one:["00 مليون",2],two:["00 مليون",2],few:["00 مليون",2],many:["00 مليون",2],other:["00 مليون",2]}],[1e8,{zero:["000 مليون",3],one:["000 مليون",3],two:["000 مليون",3],few:["000 مليون",3],many:["000 مليون",3],other:["000 مليون",3]}],[1e9,{zero:["0 مليار",1],one:["0 مليار",1],two:["0 مليار",1],few:["0 مليار",1],many:["0 مليار",1],other:["0 مليار",1]}],[1e10,{zero:["00 مليار",2],one:["00 مليار",2],two:["00 مليار",2],few:["00 مليار",2],many:["00 مليار",2],other:["00 مليار",2]}],[1e11,{zero:["000 مليار",3],one:["000 مليار",3],two:["000 مليار",3],few:["000 مليار",3],many:["000 مليار",3],other:["000 مليار",3]}],[1e12,{zero:["0 ترليون",1],one:["0 ترليون",1],two:["0 ترليون",1],few:["0 ترليون",1],many:["0 ترليون",1],other:["0 ترليون",1]}],[1e13,{zero:["00 ترليون",2],one:["00 ترليون",2],two:["00 ترليون",2],few:["00 ترليون",2],many:["00 ترليون",2],other:["00 ترليون",2]}],[1e14,{zero:["000 ترليون",3],one:["000 ترليون",3],two:["000 ترليون",3],few:["000 ترليون",3],many:["000 ترليون",3],other:["000 ترليون",3]}]]}}},{locale:"ar-BH",parentLocale:"ar"},{locale:"ar-EG",parentLocale:"ar"},{locale:"ar-IQ",parentLocale:"ar"},{locale:"ar-JO",parentLocale:"ar"},{locale:"ar-KW",parentLocale:"ar"},{locale:"ar-LB",parentLocale:"ar"},{locale:"ar-LY",parentLocale:"ar"},{locale:"ar-MA",parentLocale:"ar"},{locale:"ar-OM",parentLocale:"ar"},{locale:"ar-QA",parentLocale:"ar"},{locale:"ar-SA",parentLocale:"ar"},{locale:"ar-SD",parentLocale:"ar"},{locale:"ar-SY",parentLocale:"ar"},{locale:"ar-TN",parentLocale:"ar"},{locale:"ar-AE",parentLocale:"ar"},{locale:"ar-YE",parentLocale:"ar"}]})),define("web-experience-app/cldrs-shorts/ca",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ca-es",parentLocale:"ca"},{locale:"ca",numbers:{decimal:{long:[[1e3,{one:["0 miler",1],other:["0 milers",1]}],[1e4,{one:["00 milers",2],other:["00 milers",2]}],[1e5,{one:["000 milers",3],other:["000 milers",3]}],[1e6,{one:["0 milió",1],other:["0 milions",1]}],[1e7,{one:["00 milions",2],other:["00 milions",2]}],[1e8,{one:["000 milions",3],other:["000 milions",3]}],[1e9,{one:["0 miler de milions",1],other:["0 milers de milions",1]}],[1e10,{one:["00 milers de milions",2],other:["00 milers de milions",2]}],[1e11,{one:["000 milers de milions",3],other:["000 milers de milions",3]}],[1e12,{one:["0 bilió",1],other:["0 bilions",1]}],[1e13,{one:["00 bilions",2],other:["00 bilions",2]}],[1e14,{one:["000 bilions",3],other:["000 bilions",3]}]],short:[[1e3,{one:["0m",1],other:["0m",1]}],[1e4,{one:["00m",2],other:["00m",2]}],[1e5,{one:["000m",3],other:["000m",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0000 M",4],other:["0000 M",4]}],[1e10,{one:["00mM",2],other:["00mM",2]}],[1e11,{one:["000mM",3],other:["000mM",3]}],[1e12,{one:["0 B",1],other:["0 B",1]}],[1e13,{one:["00 B",2],other:["00 B",2]}],[1e14,{one:["000 B",3],other:["000 B",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/cs",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"cs-cz",parentLocale:"cs"},{locale:"cs",numbers:{decimal:{long:[[1e3,{one:["0 tisíc",1],few:["0 tisíce",1],many:["0 tisíce",1],other:["0 tisíc",1]}],[1e4,{one:["00 tisíc",2],few:["00 tisíc",2],many:["00 tisíce",2],other:["00 tisíc",2]}],[1e5,{one:["000 tisíc",3],few:["000 tisíc",3],many:["000 tisíce",3],other:["000 tisíc",3]}],[1e6,{one:["0 milion",1],few:["0 miliony",1],many:["0 milionu",1],other:["0 milionů",1]}],[1e7,{one:["00 milionů",2],few:["00 milionů",2],many:["00 milionu",2],other:["00 milionů",2]}],[1e8,{one:["000 milionů",3],few:["000 milionů",3],many:["000 milionu",3],other:["000 milionů",3]}],[1e9,{one:["0 miliarda",1],few:["0 miliardy",1],many:["0 miliardy",1],other:["0 miliard",1]}],[1e10,{one:["00 miliard",2],few:["00 miliard",2],many:["00 miliardy",2],other:["00 miliard",2]}],[1e11,{one:["000 miliard",3],few:["000 miliard",3],many:["000 miliardy",3],other:["000 miliard",3]}],[1e12,{one:["0 bilion",1],few:["0 biliony",1],many:["0 bilionu",1],other:["0 bilionů",1]}],[1e13,{one:["00 bilionů",2],few:["00 bilionů",2],many:["00 bilionu",2],other:["00 bilionů",2]}],[1e14,{one:["000 bilionů",3],few:["000 bilionů",3],many:["000 bilionu",3],other:["000 bilionů",3]}]],short:[[1e3,{one:["0 tis'.'",1],few:["0 tis'.'",1],many:["0 tis'.'",1],other:["0 tis'.'",1]}],[1e4,{one:["00 tis'.'",2],few:["00 tis'.'",2],many:["00 tis'.'",2],other:["00 tis'.'",2]}],[1e5,{one:["000 tis'.'",3],few:["000 tis'.'",3],many:["000 tis'.'",3],other:["000 tis'.'",3]}],[1e6,{one:["0 mil'.'",1],few:["0 mil'.'",1],many:["0 mil'.'",1],other:["0 mil'.'",1]}],[1e7,{one:["00 mil'.'",2],few:["00 mil'.'",2],many:["00 mil'.'",2],other:["00 mil'.'",2]}],[1e8,{one:["000 mil'.'",3],few:["000 mil'.'",3],many:["000 mil'.'",3],other:["000 mil'.'",3]}],[1e9,{one:["0 mld'.'",1],few:["0 mld'.'",1],many:["0 mld'.'",1],other:["0 mld'.'",1]}],[1e10,{one:["00 mld'.'",2],few:["00 mld'.'",2],many:["00 mld'.'",2],other:["00 mld'.'",2]}],[1e11,{one:["000 mld'.'",3],few:["000 mld'.'",3],many:["000 mld'.'",3],other:["000 mld'.'",3]}],[1e12,{one:["0 bil'.'",1],few:["0 bil'.'",1],many:["0 bil'.'",1],other:["0 bil'.'",1]}],[1e13,{one:["00 bil'.'",2],few:["00 bil'.'",2],many:["00 bil'.'",2],other:["00 bil'.'",2]}],[1e14,{one:["000 bil'.'",3],few:["000 bil'.'",3],many:["000 bil'.'",3],other:["000 bil'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/da",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"da-dk",parentLocale:"da"},{locale:"da",numbers:{decimal:{long:[[1e3,{one:["0 tusind",1],other:["0 tusind",1]}],[1e4,{one:["00 tusind",2],other:["00 tusind",2]}],[1e5,{one:["000 tusind",3],other:["000 tusind",3]}],[1e6,{one:["0 million",1],other:["0 millioner",1]}],[1e7,{one:["00 millioner",2],other:["00 millioner",2]}],[1e8,{one:["000 millioner",3],other:["000 millioner",3]}],[1e9,{one:["0 milliard",1],other:["0 milliarder",1]}],[1e10,{one:["00 milliarder",2],other:["00 milliarder",2]}],[1e11,{one:["000 milliarder",3],other:["000 milliarder",3]}],[1e12,{one:["0 billion",1],other:["0 billioner",1]}],[1e13,{one:["00 billioner",2],other:["00 billioner",2]}],[1e14,{one:["000 billioner",3],other:["000 billioner",3]}]],short:[[1e3,{one:["0 t",1],other:["0 t",1]}],[1e4,{one:["00 t",2],other:["00 t",2]}],[1e5,{one:["000 t",3],other:["000 t",3]}],[1e6,{one:["0 mio'.'",1],other:["0 mio'.'",1]}],[1e7,{one:["00 mio'.'",2],other:["00 mio'.'",2]}],[1e8,{one:["000 mio'.'",3],other:["000 mio'.'",3]}],[1e9,{one:["0 mia'.'",1],other:["0 mia'.'",1]}],[1e10,{one:["00 mia'.'",2],other:["00 mia'.'",2]}],[1e11,{one:["000 mia'.'",3],other:["000 mia'.'",3]}],[1e12,{one:["0 bio'.'",1],other:["0 bio'.'",1]}],[1e13,{one:["00 bio'.'",2],other:["00 bio'.'",2]}],[1e14,{one:["000 bio'.'",3],other:["000 bio'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/de",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"de-CH",parentLocale:"de"},{locale:"de",numbers:{decimal:{long:[[1e3,{one:["0 Tausend",1],other:["0 Tausend",1]}],[1e4,{one:["00 Tausend",2],other:["00 Tausend",2]}],[1e5,{one:["000 Tausend",3],other:["000 Tausend",3]}],[1e6,{one:["0 Million",1],other:["0 Millionen",1]}],[1e7,{one:["00 Millionen",2],other:["00 Millionen",2]}],[1e8,{one:["000 Millionen",3],other:["000 Millionen",3]}],[1e9,{one:["0 Milliarde",1],other:["0 Milliarden",1]}],[1e10,{one:["00 Milliarden",2],other:["00 Milliarden",2]}],[1e11,{one:["000 Milliarden",3],other:["000 Milliarden",3]}],[1e12,{one:["0 Billion",1],other:["0 Billionen",1]}],[1e13,{one:["00 Billionen",2],other:["00 Billionen",2]}],[1e14,{one:["000 Billionen",3],other:["000 Billionen",3]}]],short:[[1e3,{one:["0",1],other:["0",1]}],[1e4,{one:["0",1],other:["0",1]}],[1e5,{one:["0",1],other:["0",1]}],[1e6,{one:["0 Mio'.'",1],other:["0 Mio'.'",1]}],[1e7,{one:["00 Mio'.'",2],other:["00 Mio'.'",2]}],[1e8,{one:["000 Mio'.'",3],other:["000 Mio'.'",3]}],[1e9,{one:["0 Mrd'.'",1],other:["0 Mrd'.'",1]}],[1e10,{one:["00 Mrd'.'",2],other:["00 Mrd'.'",2]}],[1e11,{one:["000 Mrd'.'",3],other:["000 Mrd'.'",3]}],[1e12,{one:["0 Bio'.'",1],other:["0 Bio'.'",1]}],[1e13,{one:["00 Bio'.'",2],other:["00 Bio'.'",2]}],[1e14,{one:["000 Bio'.'",3],other:["000 Bio'.'",3]}]]}}},{locale:"de-de",parentLocale:"de"}]})),define("web-experience-app/cldrs-shorts/el",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"el-gr",parentLocale:"el"},{locale:"el",numbers:{decimal:{long:[[1e3,{one:["0 χιλιάδα",1],other:["0 χιλιάδες",1]}],[1e4,{one:["00 χιλιάδες",2],other:["00 χιλιάδες",2]}],[1e5,{one:["000 χιλιάδες",3],other:["000 χιλιάδες",3]}],[1e6,{one:["0 εκατομμύριο",1],other:["0 εκατομμύρια",1]}],[1e7,{one:["00 εκατομμύρια",2],other:["00 εκατομμύρια",2]}],[1e8,{one:["000 εκατομμύρια",3],other:["000 εκατομμύρια",3]}],[1e9,{one:["0 δισεκατομμύριο",1],other:["0 δισεκατομμύρια",1]}],[1e10,{one:["00 δισεκατομμύρια",2],other:["00 δισεκατομμύρια",2]}],[1e11,{one:["000 δισεκατομμύρια",3],other:["000 δισεκατομμύρια",3]}],[1e12,{one:["0 τρισεκατομμύριο",1],other:["0 τρισεκατομμύρια",1]}],[1e13,{one:["00 τρισεκατομμύρια",2],other:["00 τρισεκατομμύρια",2]}],[1e14,{one:["000 τρισεκατομμύρια",3],other:["000 τρισεκατομμύρια",3]}]],short:[[1e3,{one:["0 χιλ'.'",1],other:["0 χιλ'.'",1]}],[1e4,{one:["00 χιλ'.'",2],other:["00 χιλ'.'",2]}],[1e5,{one:["000 χιλ'.'",3],other:["000 χιλ'.'",3]}],[1e6,{one:["0 εκ'.'",1],other:["0 εκ'.'",1]}],[1e7,{one:["00 εκ'.'",2],other:["00 εκ'.'",2]}],[1e8,{one:["000 εκ'.'",3],other:["000 εκ'.'",3]}],[1e9,{one:["0 δισ'.'",1],other:["0 δισ'.'",1]}],[1e10,{one:["00 δισ'.'",2],other:["00 δισ'.'",2]}],[1e11,{one:["000 δισ'.'",3],other:["000 δισ'.'",3]}],[1e12,{one:["0 τρισ'.'",1],other:["0 τρισ'.'",1]}],[1e13,{one:["00 τρισ'.'",2],other:["00 τρισ'.'",2]}],[1e14,{one:["000 τρισ'.'",3],other:["000 τρισ'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/en",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"en-AU",parentLocale:"en-001"},{locale:"en-001",parentLocale:"en"},{locale:"en",numbers:{decimal:{long:[[1e3,{one:["0 thousand",1],other:["0 thousand",1]}],[1e4,{one:["00 thousand",2],other:["00 thousand",2]}],[1e5,{one:["000 thousand",3],other:["000 thousand",3]}],[1e6,{one:["0 million",1],other:["0 million",1]}],[1e7,{one:["00 million",2],other:["00 million",2]}],[1e8,{one:["000 million",3],other:["000 million",3]}],[1e9,{one:["0 billion",1],other:["0 billion",1]}],[1e10,{one:["00 billion",2],other:["00 billion",2]}],[1e11,{one:["000 billion",3],other:["000 billion",3]}],[1e12,{one:["0 trillion",1],other:["0 trillion",1]}],[1e13,{one:["00 trillion",2],other:["00 trillion",2]}],[1e14,{one:["000 trillion",3],other:["000 trillion",3]}]],short:[[1e3,{one:["0K",1],other:["0K",1]}],[1e4,{one:["00K",2],other:["00K",2]}],[1e5,{one:["000K",3],other:["000K",3]}],[1e6,{one:["0M",1],other:["0M",1]}],[1e7,{one:["00M",2],other:["00M",2]}],[1e8,{one:["000M",3],other:["000M",3]}],[1e9,{one:["0B",1],other:["0B",1]}],[1e10,{one:["00B",2],other:["00B",2]}],[1e11,{one:["000B",3],other:["000B",3]}],[1e12,{one:["0T",1],other:["0T",1]}],[1e13,{one:["00T",2],other:["00T",2]}],[1e14,{one:["000T",3],other:["000T",3]}]]}}},{locale:"en-CA",parentLocale:"en-001"},{locale:"en-GB",parentLocale:"en-001"},{locale:"en-US",parentLocale:"en"}]})),define("web-experience-app/cldrs-shorts/es",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"es-419",parentLocale:"es",numbers:{decimal:{long:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 millón",1],other:["0 millones",1]}],[1e7,{one:["00 millones",2],other:["00 millones",2]}],[1e8,{one:["000 millones",3],other:["000 millones",3]}],[1e9,{one:["0 mil millones",1],other:["0 mil millones",1]}],[1e10,{one:["00 mil millones",2],other:["00 mil millones",2]}],[1e11,{one:["000 mil millones",3],other:["000 mil millones",3]}],[1e12,{one:["0 billón",1],other:["0 billón",1]}],[1e13,{one:["00 billones",2],other:["00 billones",2]}],[1e14,{one:["000 billones",3],other:["000 billones",3]}]],short:[[1e3,{one:["0 K",1],other:["0 K",1]}],[1e4,{one:["00 k",2],other:["00 k",2]}],[1e5,{one:["000 k",3],other:["000 k",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0k M",1],other:["0k M",1]}],[1e10,{one:["00k M",2],other:["00k M",2]}],[1e11,{one:["000k M",3],other:["000k M",3]}],[1e12,{one:["0 B",1],other:["0 B",1]}],[1e13,{one:["00 B",2],other:["00 B",2]}],[1e14,{one:["000 B",3],other:["000 B",3]}]]}}},{locale:"es",numbers:{decimal:{long:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 millón",1],other:["0 millones",1]}],[1e7,{one:["00 millones",2],other:["00 millones",2]}],[1e8,{one:["000 millones",3],other:["000 millones",3]}],[1e9,{one:["0 mil millones",1],other:["0 mil millones",1]}],[1e10,{one:["00 mil millones",2],other:["00 mil millones",2]}],[1e11,{one:["000 mil millones",3],other:["000 mil millones",3]}],[1e12,{one:["0 billón",1],other:["0 billones",1]}],[1e13,{one:["00 billones",2],other:["00 billones",2]}],[1e14,{one:["000 billones",3],other:["000 billones",3]}]],short:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0000 M",4],other:["0000 M",4]}],[1e10,{one:["00 mil M",2],other:["00 mil M",2]}],[1e11,{one:["000 mil M",3],other:["000 mil M",3]}],[1e12,{one:["0 B",1],other:["0 B",1]}],[1e13,{one:["00 B",2],other:["00 B",2]}],[1e14,{one:["000 B",3],other:["000 B",3]}]]}}},{locale:"es-es",parentLocale:"es"},{locale:"es-MX",parentLocale:"es-419",numbers:{decimal:{long:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 millón",1],other:["0 millones",1]}],[1e7,{one:["00 millones",2],other:["00 millones",2]}],[1e8,{one:["000 millones",3],other:["000 millones",3]}],[1e9,{one:["0 mil millones",1],other:["0 mil millones",1]}],[1e10,{one:["00 mil millones",2],other:["00 mil millones",2]}],[1e11,{one:["000 mil millones",3],other:["000 mil millones",3]}],[1e12,{one:["0 billón",1],other:["0 billones",1]}],[1e13,{one:["00 billones",2],other:["00 billones",2]}],[1e14,{one:["000 billones",3],other:["000 billones",3]}]],short:[[1e3,{one:["0 k",1],other:["0 k",1]}],[1e4,{one:["00 k",2],other:["00 k",2]}],[1e5,{one:["000 k",3],other:["000 k",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0000 M",4],other:["0000 M",4]}],[1e10,{one:["00 mil M",2],other:["00 mil M",2]}],[1e11,{one:["000 mil M",3],other:["000 mil M",3]}],[1e12,{one:["0 B",1],other:["0 B",1]}],[1e13,{one:["00 B",2],other:["00 B",2]}],[1e14,{one:["000 B",3],other:["000 B",3]}]]}}},{locale:"es-xl",parentLocale:"es"}]})),define("web-experience-app/cldrs-shorts/et",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"et-ee",parentLocale:"et"},{locale:"et",numbers:{decimal:{long:[[1e3,{one:["0 tuhat",1],other:["0 tuhat",1]}],[1e4,{one:["00 tuhat",2],other:["00 tuhat",2]}],[1e5,{one:["000 tuhat",3],other:["000 tuhat",3]}],[1e6,{one:["0 miljon",1],other:["0 miljonit",1]}],[1e7,{one:["00 miljonit",2],other:["00 miljonit",2]}],[1e8,{one:["000 miljonit",3],other:["000 miljonit",3]}],[1e9,{one:["0 miljard",1],other:["0 miljardit",1]}],[1e10,{one:["00 miljardit",2],other:["00 miljardit",2]}],[1e11,{one:["000 miljardit",3],other:["000 miljardit",3]}],[1e12,{one:["0 triljon",1],other:["0 triljonit",1]}],[1e13,{one:["00 triljonit",2],other:["00 triljonit",2]}],[1e14,{one:["000 triljonit",3],other:["000 triljonit",3]}]],short:[[1e3,{one:["0 tuh",1],other:["0 tuh",1]}],[1e4,{one:["00 tuh",2],other:["00 tuh",2]}],[1e5,{one:["000 tuh",3],other:["000 tuh",3]}],[1e6,{one:["0 mln",1],other:["0 mln",1]}],[1e7,{one:["00 mln",2],other:["00 mln",2]}],[1e8,{one:["000 mln",3],other:["000 mln",3]}],[1e9,{one:["0 mld",1],other:["0 mld",1]}],[1e10,{one:["00 mld",2],other:["00 mld",2]}],[1e11,{one:["000 mld",3],other:["000 mld",3]}],[1e12,{one:["0 trl",1],other:["0 trl",1]}],[1e13,{one:["00 trl",2],other:["00 trl",2]}],[1e14,{one:["000 trl",3],other:["000 trl",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/fi",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"fi-fi",parentLocale:"fi"},{locale:"fi",numbers:{decimal:{long:[[1e3,{one:["0 tuhat",1],other:["0 tuhatta",1]}],[1e4,{one:["00 tuhatta",2],other:["00 tuhatta",2]}],[1e5,{one:["000 tuhatta",3],other:["000 tuhatta",3]}],[1e6,{one:["0 miljoona",1],other:["0 miljoonaa",1]}],[1e7,{one:["00 miljoonaa",2],other:["00 miljoonaa",2]}],[1e8,{one:["000 miljoonaa",3],other:["000 miljoonaa",3]}],[1e9,{one:["0 miljardi",1],other:["0 miljardia",1]}],[1e10,{one:["00 miljardia",2],other:["00 miljardia",2]}],[1e11,{one:["000 miljardia",3],other:["000 miljardia",3]}],[1e12,{one:["0 biljoona",1],other:["0 biljoonaa",1]}],[1e13,{one:["00 biljoonaa",2],other:["00 biljoonaa",2]}],[1e14,{one:["000 biljoonaa",3],other:["000 biljoonaa",3]}]],short:[[1e3,{one:["0 t'.'",1],other:["0 t'.'",1]}],[1e4,{one:["00 t'.'",2],other:["00 t'.'",2]}],[1e5,{one:["000 t'.'",3],other:["000 t'.'",3]}],[1e6,{one:["0 milj'.'",1],other:["0 milj'.'",1]}],[1e7,{one:["00 milj'.'",2],other:["00 milj'.'",2]}],[1e8,{one:["000 milj'.'",3],other:["000 milj'.'",3]}],[1e9,{one:["0 mrd'.'",1],other:["0 mrd'.'",1]}],[1e10,{one:["00 mrd'.'",2],other:["00 mrd'.'",2]}],[1e11,{one:["000 mrd'.'",3],other:["000 mrd'.'",3]}],[1e12,{one:["0 bilj'.'",1],other:["0 bilj'.'",1]}],[1e13,{one:["00 bilj'.'",2],other:["00 bilj'.'",2]}],[1e14,{one:["000 bilj'.'",3],other:["000 bilj'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/fr",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"fr-CA",parentLocale:"fr",numbers:{decimal:{long:[[1e3,{one:["0 mille",1],other:["0 mille",1]}],[1e4,{one:["00 mille",2],other:["00 mille",2]}],[1e5,{one:["000 mille",3],other:["000 mille",3]}],[1e6,{one:["0 million",1],other:["0 millions",1]}],[1e7,{one:["00 million",2],other:["00 millions",2]}],[1e8,{one:["000 million",3],other:["000 millions",3]}],[1e9,{one:["0 milliard",1],other:["0 milliards",1]}],[1e10,{one:["00 milliard",2],other:["00 milliards",2]}],[1e11,{one:["000 milliard",3],other:["000 milliards",3]}],[1e12,{one:["0 billion",1],other:["0 billions",1]}],[1e13,{one:["00 billion",2],other:["00 billions",2]}],[1e14,{one:["000 billion",3],other:["000 billions",3]}]],short:[[1e3,{one:["0 k",1],other:["0 k",1]}],[1e4,{one:["00 k",2],other:["00 k",2]}],[1e5,{one:["000 k",3],other:["000 k",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0 G",1],other:["0 G",1]}],[1e10,{one:["00 G",2],other:["00 G",2]}],[1e11,{one:["000 G",3],other:["000 G",3]}],[1e12,{one:["0 T",1],other:["0 T",1]}],[1e13,{one:["00 T",2],other:["00 T",2]}],[1e14,{one:["000 T",3],other:["000 T",3]}]]}}},{locale:"fr",numbers:{decimal:{long:[[1e3,{one:["0 millier",1],other:["0 mille",1]}],[1e4,{one:["00 mille",2],other:["00 mille",2]}],[1e5,{one:["000 mille",3],other:["000 mille",3]}],[1e6,{one:["0 million",1],other:["0 millions",1]}],[1e7,{one:["00 million",2],other:["00 millions",2]}],[1e8,{one:["000 million",3],other:["000 millions",3]}],[1e9,{one:["0 milliard",1],other:["0 milliards",1]}],[1e10,{one:["00 milliard",2],other:["00 milliards",2]}],[1e11,{one:["000 milliard",3],other:["000 milliards",3]}],[1e12,{one:["0 billion",1],other:["0 billions",1]}],[1e13,{one:["00 billion",2],other:["00 billions",2]}],[1e14,{one:["000 billion",3],other:["000 billions",3]}]],short:[[1e3,{one:["0 k",1],other:["0 k",1]}],[1e4,{one:["00 k",2],other:["00 k",2]}],[1e5,{one:["000 k",3],other:["000 k",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0 Md",1],other:["0 Md",1]}],[1e10,{one:["00 Md",2],other:["00 Md",2]}],[1e11,{one:["000 Md",3],other:["000 Md",3]}],[1e12,{one:["0 Bn",1],other:["0 Bn",1]}],[1e13,{one:["00 Bn",2],other:["00 Bn",2]}],[1e14,{one:["000 Bn",3],other:["000 Bn",3]}]]}}},{locale:"fr-fr",parentLocale:"fr"}]})),define("web-experience-app/cldrs-shorts/he",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"he-il",parentLocale:"he"},{locale:"he",numbers:{decimal:{long:[[1e3,{one:["‏0 אלף",1],two:["‏0 אלף",1],many:["‏0 אלף",1],other:["‏0 אלף",1]}],[1e4,{one:["‏00 אלף",2],two:["‏00 אלף",2],many:["‏00 אלף",2],other:["‏00 אלף",2]}],[1e5,{one:["‏000 אלף",3],two:["‏000 אלף",3],many:["‏000 אלף",3],other:["‏000 אלף",3]}],[1e6,{one:["‏0 מיליון",1],two:["‏0 מיליון",1],many:["‏0 מיליון",1],other:["‏0 מיליון",1]}],[1e7,{one:["‏00 מיליון",2],two:["‏00 מיליון",2],many:["‏00 מיליון",2],other:["‏00 מיליון",2]}],[1e8,{one:["‏000 מיליון",3],two:["‏000 מיליון",3],many:["‏000 מיליון",3],other:["‏000 מיליון",3]}],[1e9,{one:["‏0 מיליארד",1],two:["‏0 מיליארד",1],many:["‏0 מיליארד",1],other:["‏0 מיליארד",1]}],[1e10,{one:["‏00 מיליארד",2],two:["‏00 מיליארד",2],many:["‏00 מיליארד",2],other:["‏00 מיליארד",2]}],[1e11,{one:["‏000 מיליארד",3],two:["‏000 מיליארד",3],many:["‏000 מיליארד",3],other:["‏000 מיליארד",3]}],[1e12,{one:["‏0 טריליון",1],two:["‏0 טריליון",1],many:["‏0 טריליון",1],other:["‏0 טריליון",1]}],[1e13,{one:["‏00 טריליון",2],two:["‏00 טריליון",2],many:["‏00 טריליון",2],other:["‏00 טריליון",2]}],[1e14,{one:["‏000 טריליון",3],two:["‏000 טריליון",3],many:["‏000 טריליון",3],other:["‏000 טריליון",3]}]],short:[[1e3,{one:["0K",1],two:["0K",1],many:["0K",1],other:["0K",1]}],[1e4,{one:["00K",2],two:["00K",2],many:["00K",2],other:["00K",2]}],[1e5,{one:["000K",3],two:["000K",3],many:["000K",3],other:["000K",3]}],[1e6,{one:["0M",1],two:["0M",1],many:["0M",1],other:["0M",1]}],[1e7,{one:["00M",2],two:["00M",2],many:["00M",2],other:["00M",2]}],[1e8,{one:["000M",3],two:["000M",3],many:["000M",3],other:["000M",3]}],[1e9,{one:["0B",1],two:["0B",1],many:["0B",1],other:["0B",1]}],[1e10,{one:["00B",2],two:["00B",2],many:["00B",2],other:["00B",2]}],[1e11,{one:["000B",3],two:["000B",3],many:["000B",3],other:["000B",3]}],[1e12,{one:["0T",1],two:["0T",1],many:["0T",1],other:["0T",1]}],[1e13,{one:["00T",2],two:["00T",2],many:["00T",2],other:["00T",2]}],[1e14,{one:["000T",3],two:["000T",3],many:["000T",3],other:["000T",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/hi",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"hi-in",parentLocale:"hi"},{locale:"hi",numbers:{decimal:{long:[[1e3,{one:["0 हज़ार",1],other:["0 हज़ार",1]}],[1e4,{one:["00 हज़ार",2],other:["00 हज़ार",2]}],[1e5,{one:["0 लाख",1],other:["0 लाख",1]}],[1e6,{one:["00 लाख",2],other:["00 लाख",2]}],[1e7,{one:["0 करोड़",1],other:["0 करोड़",1]}],[1e8,{one:["00 करोड़",2],other:["00 करोड़",2]}],[1e9,{one:["0 अरब",1],other:["0 अरब",1]}],[1e10,{one:["00 अरब",2],other:["00 अरब",2]}],[1e11,{one:["0 खरब",1],other:["0 खरब",1]}],[1e12,{one:["00 खरब",2],other:["00 खरब",2]}],[1e13,{one:["000 खरब",3],other:["000 खरब",3]}],[1e14,{one:["0000 खरब",4],other:["0000 खरब",4]}]],short:[[1e3,{one:["0 हज़ार",1],other:["0 हज़ार",1]}],[1e4,{one:["00 हज़ार",2],other:["00 हज़ार",2]}],[1e5,{one:["0 लाख",1],other:["0 लाख",1]}],[1e6,{one:["00 लाख",2],other:["00 लाख",2]}],[1e7,{one:["0 क॰",1],other:["0 क॰",1]}],[1e8,{one:["00 क॰",2],other:["00 क॰",2]}],[1e9,{one:["0 अ॰",1],other:["0 अ॰",1]}],[1e10,{one:["00 अ॰",2],other:["00 अ॰",2]}],[1e11,{one:["0 ख॰",1],other:["0 ख॰",1]}],[1e12,{one:["00 ख॰",2],other:["00 ख॰",2]}],[1e13,{one:["0 नील",1],other:["0 नील",1]}],[1e14,{one:["00 नील",2],other:["00 नील",2]}]]}}}]})),define("web-experience-app/cldrs-shorts/hr",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"hr-hr",parentLocale:"hr"},{locale:"hr",numbers:{decimal:{long:[[1e3,{one:["0 tisuća",1],few:["0 tisuće",1],other:["0 tisuća",1]}],[1e4,{one:["00 tisuća",2],few:["00 tisuće",2],other:["00 tisuća",2]}],[1e5,{one:["000 tisuća",3],few:["000 tisuće",3],other:["000 tisuća",3]}],[1e6,{one:["0 milijun",1],few:["0 milijuna",1],other:["0 milijuna",1]}],[1e7,{one:["00 milijun",2],few:["00 milijuna",2],other:["00 milijuna",2]}],[1e8,{one:["000 milijun",3],few:["000 milijuna",3],other:["000 milijuna",3]}],[1e9,{one:["0 milijarda",1],few:["0 milijarde",1],other:["0 milijardi",1]}],[1e10,{one:["00 milijarda",2],few:["00 milijarde",2],other:["00 milijardi",2]}],[1e11,{one:["000 milijarda",3],few:["000 milijarde",3],other:["000 milijardi",3]}],[1e12,{one:["0 bilijun",1],few:["0 bilijuna",1],other:["0 bilijuna",1]}],[1e13,{one:["00 bilijun",2],few:["00 bilijuna",2],other:["00 bilijuna",2]}],[1e14,{one:["000 bilijun",3],few:["000 bilijuna",3],other:["000 bilijuna",3]}]],short:[[1e3,{one:["0 tis'.'",1],few:["0 tis'.'",1],other:["0 tis'.'",1]}],[1e4,{one:["00 tis'.'",2],few:["00 tis'.'",2],other:["00 tis'.'",2]}],[1e5,{one:["000 tis'.'",3],few:["000 tis'.'",3],other:["000 tis'.'",3]}],[1e6,{one:["0 mil'.'",1],few:["0 mil'.'",1],other:["0 mil'.'",1]}],[1e7,{one:["00 mil'.'",2],few:["00 mil'.'",2],other:["00 mil'.'",2]}],[1e8,{one:["000 mil'.'",3],few:["000 mil'.'",3],other:["000 mil'.'",3]}],[1e9,{one:["0 mlr'.'",1],few:["0 mlr'.'",1],other:["0 mlr'.'",1]}],[1e10,{one:["00 mlr'.'",2],few:["00 mlr'.'",2],other:["00 mlr'.'",2]}],[1e11,{one:["000 mlr'.'",3],few:["000 mlr'.'",3],other:["000 mlr'.'",3]}],[1e12,{one:["0 bil'.'",1],few:["0 bil'.'",1],other:["0 bil'.'",1]}],[1e13,{one:["00 bil'.'",2],few:["00 bil'.'",2],other:["00 bil'.'",2]}],[1e14,{one:["000 bil'.'",3],few:["000 bil'.'",3],other:["000 bil'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/hu",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"hu-hu",parentLocale:"hu"},{locale:"hu",numbers:{decimal:{long:[[1e3,{one:["0 ezer",1],other:["0 ezer",1]}],[1e4,{one:["00 ezer",2],other:["00 ezer",2]}],[1e5,{one:["000 ezer",3],other:["000 ezer",3]}],[1e6,{one:["0 millió",1],other:["0 millió",1]}],[1e7,{one:["00 millió",2],other:["00 millió",2]}],[1e8,{one:["000 millió",3],other:["000 millió",3]}],[1e9,{one:["0 milliárd",1],other:["0 milliárd",1]}],[1e10,{one:["00 milliárd",2],other:["00 milliárd",2]}],[1e11,{one:["000 milliárd",3],other:["000 milliárd",3]}],[1e12,{one:["0 billió",1],other:["0 billió",1]}],[1e13,{one:["00 billió",2],other:["00 billió",2]}],[1e14,{one:["000 billió",3],other:["000 billió",3]}]],short:[[1e3,{one:["0 E",1],other:["0 E",1]}],[1e4,{one:["00 E",2],other:["00 E",2]}],[1e5,{one:["000 E",3],other:["000 E",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0 Mrd",1],other:["0 Mrd",1]}],[1e10,{one:["00 Mrd",2],other:["00 Mrd",2]}],[1e11,{one:["000 Mrd",3],other:["000 Mrd",3]}],[1e12,{one:["0 B",1],other:["0 B",1]}],[1e13,{one:["00 B",2],other:["00 B",2]}],[1e14,{one:["000 B",3],other:["000 B",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/id",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"id-id",parentLocale:"id"},{locale:"id",numbers:{decimal:{long:[[1e3,{other:["0 ribu",1]}],[1e4,{other:["00 ribu",2]}],[1e5,{other:["000 ribu",3]}],[1e6,{other:["0 juta",1]}],[1e7,{other:["00 juta",2]}],[1e8,{other:["000 juta",3]}],[1e9,{other:["0 miliar",1]}],[1e10,{other:["00 miliar",2]}],[1e11,{other:["000 miliar",3]}],[1e12,{other:["0 triliun",1]}],[1e13,{other:["00 triliun",2]}],[1e14,{other:["000 triliun",3]}]],short:[[1e3,{other:["0 rb",1]}],[1e4,{other:["00 rb",2]}],[1e5,{other:["000 rb",3]}],[1e6,{other:["0 jt",1]}],[1e7,{other:["00 jt",2]}],[1e8,{other:["000 jt",3]}],[1e9,{other:["0 M",1]}],[1e10,{other:["00 M",2]}],[1e11,{other:["000 M",3]}],[1e12,{other:["0 T",1]}],[1e13,{other:["00 T",2]}],[1e14,{other:["000 T",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/is",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"is-is",parentLocale:"is"},{locale:"is",numbers:{decimal:{long:[[1e3,{one:["0 þúsund",1],other:["0 þúsund",1]}],[1e4,{one:["00 þúsund",2],other:["00 þúsund",2]}],[1e5,{one:["000 þúsund",3],other:["000 þúsund",3]}],[1e6,{one:["0 milljón",1],other:["0 milljónir",1]}],[1e7,{one:["00 milljón",2],other:["00 milljónir",2]}],[1e8,{one:["000 milljón",3],other:["000 milljónir",3]}],[1e9,{one:["0 milljarður",1],other:["0 milljarðar",1]}],[1e10,{one:["00 milljarður",2],other:["00 milljarðar",2]}],[1e11,{one:["000 milljarður",3],other:["000 milljarðar",3]}],[1e12,{one:["0 billjón",1],other:["0 billjónir",1]}],[1e13,{one:["00 billjón",2],other:["00 billjónir",2]}],[1e14,{one:["000 billjón",3],other:["000 billjónir",3]}]],short:[[1e3,{one:["0 þ'.'",1],other:["0 þ'.'",1]}],[1e4,{one:["00 þ'.'",2],other:["00 þ'.'",2]}],[1e5,{one:["000 þ'.'",3],other:["000 þ'.'",3]}],[1e6,{one:["0 m'.'",1],other:["0 m'.'",1]}],[1e7,{one:["00 m'.'",2],other:["00 m'.'",2]}],[1e8,{one:["000 m'.'",3],other:["000 m'.'",3]}],[1e9,{one:["0 ma'.'",1],other:["0 ma'.'",1]}],[1e10,{one:["00 ma'.'",2],other:["00 ma'.'",2]}],[1e11,{one:["000 ma'.'",3],other:["000 ma'.'",3]}],[1e12,{one:["0 bn",1],other:["0 bn",1]}],[1e13,{one:["00 bn",2],other:["00 bn",2]}],[1e14,{one:["000 bn",3],other:["000 bn",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/it",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"it-it",parentLocale:"it"},{locale:"it",numbers:{decimal:{long:[[1e3,{one:["0 mille",1],other:["0 mila",1]}],[1e4,{one:["00 mila",2],other:["00 mila",2]}],[1e5,{one:["000 mila",3],other:["000 mila",3]}],[1e6,{one:["0 milione",1],other:["0 milioni",1]}],[1e7,{one:["00 milioni",2],other:["00 milioni",2]}],[1e8,{one:["000 milioni",3],other:["000 milioni",3]}],[1e9,{one:["0 miliardo",1],other:["0 miliardi",1]}],[1e10,{one:["00 miliardi",2],other:["00 miliardi",2]}],[1e11,{one:["000 miliardi",3],other:["000 miliardi",3]}],[1e12,{one:["0 mille miliardi",1],other:["0 mila miliardi",1]}],[1e13,{one:["00 mila miliardi",2],other:["00 mila miliardi",2]}],[1e14,{one:["000 mila miliardi",3],other:["000 mila miliardi",3]}]],short:[[1e3,{one:["0",1],other:["0",1]}],[1e4,{one:["0",1],other:["0",1]}],[1e5,{one:["0",1],other:["0",1]}],[1e6,{one:["0 Mln",1],other:["0 Mln",1]}],[1e7,{one:["00 Mln",2],other:["00 Mln",2]}],[1e8,{one:["000 Mln",3],other:["000 Mln",3]}],[1e9,{one:["0 Mrd",1],other:["0 Mrd",1]}],[1e10,{one:["00 Mrd",2],other:["00 Mrd",2]}],[1e11,{one:["000 Mrd",3],other:["000 Mrd",3]}],[1e12,{one:["0 Bln",1],other:["0 Bln",1]}],[1e13,{one:["00 Bln",2],other:["00 Bln",2]}],[1e14,{one:["000 Bln",3],other:["000 Bln",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/iw",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"iw-il",parentLocale:"iw"},{locale:"iw",numbers:{decimal:{long:[[1e3,{other:["0K",1]}],[1e4,{other:["00K",2]}],[1e5,{other:["000K",3]}],[1e6,{other:["0M",1]}],[1e7,{other:["00M",2]}],[1e8,{other:["000M",3]}],[1e9,{other:["0G",1]}],[1e10,{other:["00G",2]}],[1e11,{other:["000G",3]}],[1e12,{other:["0T",1]}],[1e13,{other:["00T",2]}],[1e14,{other:["000T",3]}]],short:[[1e3,{other:["0K",1]}],[1e4,{other:["00K",2]}],[1e5,{other:["000K",3]}],[1e6,{other:["0M",1]}],[1e7,{other:["00M",2]}],[1e8,{other:["000M",3]}],[1e9,{other:["0G",1]}],[1e10,{other:["00G",2]}],[1e11,{other:["000G",3]}],[1e12,{other:["0T",1]}],[1e13,{other:["00T",2]}],[1e14,{other:["000T",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/ja",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ja-jp",parentLocale:"ja"},{locale:"ja",numbers:{decimal:{long:[[1e3,{other:["0",1]}],[1e4,{other:["0万",1]}],[1e5,{other:["00万",2]}],[1e6,{other:["000万",3]}],[1e7,{other:["0000万",4]}],[1e8,{other:["0億",1]}],[1e9,{other:["00億",2]}],[1e10,{other:["000億",3]}],[1e11,{other:["0000億",4]}],[1e12,{other:["0兆",1]}],[1e13,{other:["00兆",2]}],[1e14,{other:["000兆",3]}]],short:[[1e3,{other:["0",1]}],[1e4,{other:["0万",1]}],[1e5,{other:["00万",2]}],[1e6,{other:["000万",3]}],[1e7,{other:["0000万",4]}],[1e8,{other:["0億",1]}],[1e9,{other:["00億",2]}],[1e10,{other:["000億",3]}],[1e11,{other:["0000億",4]}],[1e12,{other:["0兆",1]}],[1e13,{other:["00兆",2]}],[1e14,{other:["000兆",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/ko",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ko-kr",parentLocale:"ko"},{locale:"ko",numbers:{decimal:{long:[[1e3,{other:["0천",1]}],[1e4,{other:["0만",1]}],[1e5,{other:["00만",2]}],[1e6,{other:["000만",3]}],[1e7,{other:["0000만",4]}],[1e8,{other:["0억",1]}],[1e9,{other:["00억",2]}],[1e10,{other:["000억",3]}],[1e11,{other:["0000억",4]}],[1e12,{other:["0조",1]}],[1e13,{other:["00조",2]}],[1e14,{other:["000조",3]}]],short:[[1e3,{other:["0천",1]}],[1e4,{other:["0만",1]}],[1e5,{other:["00만",2]}],[1e6,{other:["000만",3]}],[1e7,{other:["0000만",4]}],[1e8,{other:["0억",1]}],[1e9,{other:["00억",2]}],[1e10,{other:["000억",3]}],[1e11,{other:["0000억",4]}],[1e12,{other:["0조",1]}],[1e13,{other:["00조",2]}],[1e14,{other:["000조",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/lt",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"lt-lt",parentLocale:"lt"},{locale:"lt",numbers:{decimal:{long:[[1e3,{one:["0 tūkstantis",1],few:["0 tūkstančiai",1],many:["0 tūkstančio",1],other:["0 tūkstančių",1]}],[1e4,{one:["00 tūkstantis",2],few:["00 tūkstančiai",2],many:["00 tūkstančio",2],other:["00 tūkstančių",2]}],[1e5,{one:["000 tūkstantis",3],few:["000 tūkstančiai",3],many:["000 tūkstančio",3],other:["000 tūkstančių",3]}],[1e6,{one:["0 milijonas",1],few:["0 milijonai",1],many:["0 milijono",1],other:["0 milijonų",1]}],[1e7,{one:["00 milijonas",2],few:["00 milijonai",2],many:["00 milijono",2],other:["00 milijonų",2]}],[1e8,{one:["000 milijonas",3],few:["000 milijonai",3],many:["000 milijono",3],other:["000 milijonų",3]}],[1e9,{one:["0 milijardas",1],few:["0 milijardai",1],many:["0 milijardo",1],other:["0 milijardų",1]}],[1e10,{one:["00 milijardas",2],few:["00 milijardai",2],many:["00 milijardo",2],other:["00 milijardų",2]}],[1e11,{one:["000 milijardas",3],few:["000 milijardai",3],many:["000 milijardo",3],other:["000 milijardų",3]}],[1e12,{one:["0 trilijonas",1],few:["0 trilijonai",1],many:["0 trilijono",1],other:["0 trilijonų",1]}],[1e13,{one:["00 trilijonas",2],few:["00 trilijonai",2],many:["00 trilijono",2],other:["00 trilijonų",2]}],[1e14,{one:["000 trilijonas",3],few:["000 trilijonai",3],many:["000 trilijono",3],other:["000 trilijonų",3]}]],short:[[1e3,{one:["0 tūkst'.'",1],few:["0 tūkst'.'",1],many:["0 tūkst'.'",1],other:["0 tūkst'.'",1]}],[1e4,{one:["00 tūkst'.'",2],few:["00 tūkst'.'",2],many:["00 tūkst'.'",2],other:["00 tūkst'.'",2]}],[1e5,{one:["000 tūkst'.'",3],few:["000 tūkst'.'",3],many:["000 tūkst'.'",3],other:["000 tūkst'.'",3]}],[1e6,{one:["0 mln'.'",1],few:["0 mln'.'",1],many:["0 mln'.'",1],other:["0 mln'.'",1]}],[1e7,{one:["00 mln'.'",2],few:["00 mln'.'",2],many:["00 mln'.'",2],other:["00 mln'.'",2]}],[1e8,{one:["000 mln'.'",3],few:["000 mln'.'",3],many:["000 mln'.'",3],other:["000 mln'.'",3]}],[1e9,{one:["0 mlrd'.'",1],few:["0 mlrd'.'",1],many:["0 mlrd'.'",1],other:["0 mlrd'.'",1]}],[1e10,{one:["00 mlrd'.'",2],few:["00 mlrd'.'",2],many:["00 mlrd'.'",2],other:["00 mlrd'.'",2]}],[1e11,{one:["000 mlrd'.'",3],few:["000 mlrd'.'",3],many:["000 mlrd'.'",3],other:["000 mlrd'.'",3]}],[1e12,{one:["0 trln'.'",1],few:["0 trln'.'",1],many:["0 trln'.'",1],other:["0 trln'.'",1]}],[1e13,{one:["00 trln'.'",2],few:["00 trln'.'",2],many:["00 trln'.'",2],other:["00 trln'.'",2]}],[1e14,{one:["000 trln'.'",3],few:["000 trln'.'",3],many:["000 trln'.'",3],other:["000 trln'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/lv",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"lv-lv",parentLocale:"lv"},{locale:"lv",numbers:{decimal:{long:[[1e3,{zero:["0 tūkstošu",1],one:["0 tūkstotis",1],other:["0 tūkstoši",1]}],[1e4,{zero:["00 tūkstoši",2],one:["00 tūkstotis",2],other:["00 tūkstoši",2]}],[1e5,{zero:["000 tūkstoši",3],one:["000 tūkstotis",3],other:["000 tūkstoši",3]}],[1e6,{zero:["0 miljonu",1],one:["0 miljons",1],other:["0 miljoni",1]}],[1e7,{zero:["00 miljoni",2],one:["00 miljons",2],other:["00 miljoni",2]}],[1e8,{zero:["000 miljoni",3],one:["000 miljons",3],other:["000 miljoni",3]}],[1e9,{zero:["0 miljardu",1],one:["0 miljards",1],other:["0 miljardi",1]}],[1e10,{zero:["00 miljardi",2],one:["00 miljards",2],other:["00 miljardi",2]}],[1e11,{zero:["000 miljardi",3],one:["000 miljards",3],other:["000 miljardi",3]}],[1e12,{zero:["0 triljonu",1],one:["0 triljons",1],other:["0 triljoni",1]}],[1e13,{zero:["00 triljoni",2],one:["00 triljons",2],other:["00 triljoni",2]}],[1e14,{zero:["000 triljoni",3],one:["000 triljons",3],other:["000 triljoni",3]}]],short:[[1e3,{zero:["0 tūkst'.'",1],one:["0 tūkst'.'",1],other:["0 tūkst'.'",1]}],[1e4,{zero:["00 tūkst'.'",2],one:["00 tūkst'.'",2],other:["00 tūkst'.'",2]}],[1e5,{zero:["000 tūkst'.'",3],one:["000 tūkst'.'",3],other:["000 tūkst'.'",3]}],[1e6,{zero:["0 milj'.'",1],one:["0 milj'.'",1],other:["0 milj'.'",1]}],[1e7,{zero:["00 milj'.'",2],one:["00 milj'.'",2],other:["00 milj'.'",2]}],[1e8,{zero:["000 milj'.'",3],one:["000 milj'.'",3],other:["000 milj'.'",3]}],[1e9,{zero:["0 mljrd'.'",1],one:["0 mljrd'.'",1],other:["0 mljrd'.'",1]}],[1e10,{zero:["00 mljrd'.'",2],one:["00 mljrd'.'",2],other:["00 mljrd'.'",2]}],[1e11,{zero:["000 mljrd'.'",3],one:["000 mljrd'.'",3],other:["000 mljrd'.'",3]}],[1e12,{zero:["0 trilj'.'",1],one:["0 trilj'.'",1],other:["0 trilj'.'",1]}],[1e13,{zero:["00 trilj'.'",2],one:["00 trilj'.'",2],other:["00 trilj'.'",2]}],[1e14,{zero:["000 trilj'.'",3],one:["000 trilj'.'",3],other:["000 trilj'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/ms",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ms-my",parentLocale:"ms"},{locale:"ms",numbers:{decimal:{long:[[1e3,{other:["0 ribu",1]}],[1e4,{other:["00 ribu",2]}],[1e5,{other:["000 ribu",3]}],[1e6,{other:["0 juta",1]}],[1e7,{other:["00 juta",2]}],[1e8,{other:["000 juta",3]}],[1e9,{other:["0 bilion",1]}],[1e10,{other:["00 bilion",2]}],[1e11,{other:["000 bilion",3]}],[1e12,{other:["0 trilion",1]}],[1e13,{other:["00 trilion",2]}],[1e14,{other:["000 trilion",3]}]],short:[[1e3,{other:["0K",1]}],[1e4,{other:["00K",2]}],[1e5,{other:["000K",3]}],[1e6,{other:["0J",1]}],[1e7,{other:["00J",2]}],[1e8,{other:["000J",3]}],[1e9,{other:["0B",1]}],[1e10,{other:["00B",2]}],[1e11,{other:["000B",3]}],[1e12,{other:["0T",1]}],[1e13,{other:["00T",2]}],[1e14,{other:["000T",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/nb",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"nb-no",parentLocale:"nb"},{locale:"nb",numbers:{decimal:{long:[[1e3,{one:["0 tusen",1],other:["0 tusen",1]}],[1e4,{one:["00 tusen",2],other:["00 tusen",2]}],[1e5,{one:["000 tusen",3],other:["000 tusen",3]}],[1e6,{one:["0 million",1],other:["0 millioner",1]}],[1e7,{one:["00 million",2],other:["00 millioner",2]}],[1e8,{one:["000 million",3],other:["000 millioner",3]}],[1e9,{one:["0 milliard",1],other:["0 milliarder",1]}],[1e10,{one:["00 milliard",2],other:["00 milliarder",2]}],[1e11,{one:["000 milliard",3],other:["000 milliarder",3]}],[1e12,{one:["0 billion",1],other:["0 billioner",1]}],[1e13,{one:["00 billioner",2],other:["00 billioner",2]}],[1e14,{one:["000 billioner",3],other:["000 billioner",3]}]],short:[[1e3,{one:["0k",1],other:["0k",1]}],[1e4,{one:["00k",2],other:["00k",2]}],[1e5,{one:["000k",3],other:["000k",3]}],[1e6,{one:["0 mill'.'",1],other:["0 mill'.'",1]}],[1e7,{one:["00 mill'.'",2],other:["00 mill'.'",2]}],[1e8,{one:["000 mill'.'",3],other:["000 mill'.'",3]}],[1e9,{one:["0 mrd'.'",1],other:["0 mrd'.'",1]}],[1e10,{one:["00 mrd'.'",2],other:["00 mrd'.'",2]}],[1e11,{one:["000 mrd'.'",3],other:["000 mrd'.'",3]}],[1e12,{one:["0 bill'.'",1],other:["0 bill'.'",1]}],[1e13,{one:["00 bill'.'",2],other:["00 bill'.'",2]}],[1e14,{one:["000 bill'.'",3],other:["000 bill'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/nl",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"nl-nl",parentLocale:"nl"},{locale:"nl",numbers:{decimal:{long:[[1e3,{one:["0 duizend",1],other:["0 duizend",1]}],[1e4,{one:["00 duizend",2],other:["00 duizend",2]}],[1e5,{one:["000 duizend",3],other:["000 duizend",3]}],[1e6,{one:["0 miljoen",1],other:["0 miljoen",1]}],[1e7,{one:["00 miljoen",2],other:["00 miljoen",2]}],[1e8,{one:["000 miljoen",3],other:["000 miljoen",3]}],[1e9,{one:["0 miljard",1],other:["0 miljard",1]}],[1e10,{one:["00 miljard",2],other:["00 miljard",2]}],[1e11,{one:["000 miljard",3],other:["000 miljard",3]}],[1e12,{one:["0 biljoen",1],other:["0 biljoen",1]}],[1e13,{one:["00 biljoen",2],other:["00 biljoen",2]}],[1e14,{one:["000 biljoen",3],other:["000 biljoen",3]}]],short:[[1e3,{one:["0K",1],other:["0K",1]}],[1e4,{one:["00K",2],other:["00K",2]}],[1e5,{one:["000K",3],other:["000K",3]}],[1e6,{one:["0 mln'.'",1],other:["0 mln'.'",1]}],[1e7,{one:["00 mln'.'",2],other:["00 mln'.'",2]}],[1e8,{one:["000 mln'.'",3],other:["000 mln'.'",3]}],[1e9,{one:["0 mld'.'",1],other:["0 mld'.'",1]}],[1e10,{one:["00 mld'.'",2],other:["00 mld'.'",2]}],[1e11,{one:["000 mld'.'",3],other:["000 mld'.'",3]}],[1e12,{one:["0 bln'.'",1],other:["0 bln'.'",1]}],[1e13,{one:["00 bln'.'",2],other:["00 bln'.'",2]}],[1e14,{one:["000 bln'.'",3],other:["000 bln'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/no",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"no-no",parentLocale:"no"},{locale:"no",numbers:{decimal:{long:[[1e3,{other:["0K",1]}],[1e4,{other:["00K",2]}],[1e5,{other:["000K",3]}],[1e6,{other:["0M",1]}],[1e7,{other:["00M",2]}],[1e8,{other:["000M",3]}],[1e9,{other:["0G",1]}],[1e10,{other:["00G",2]}],[1e11,{other:["000G",3]}],[1e12,{other:["0T",1]}],[1e13,{other:["00T",2]}],[1e14,{other:["000T",3]}]],short:[[1e3,{other:["0K",1]}],[1e4,{other:["00K",2]}],[1e5,{other:["000K",3]}],[1e6,{other:["0M",1]}],[1e7,{other:["00M",2]}],[1e8,{other:["000M",3]}],[1e9,{other:["0G",1]}],[1e10,{other:["00G",2]}],[1e11,{other:["000G",3]}],[1e12,{other:["0T",1]}],[1e13,{other:["00T",2]}],[1e14,{other:["000T",3]}]]}}},{locale:"no-nb",parentLocale:"no"}]})),define("web-experience-app/cldrs-shorts/pl",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"pl-pl",parentLocale:"pl"},{locale:"pl",numbers:{decimal:{long:[[1e3,{one:["0 tysiąc",1],few:["0 tysiące",1],many:["0 tysięcy",1],other:["0 tysiąca",1]}],[1e4,{one:["00 tysiąc",2],few:["00 tysiące",2],many:["00 tysięcy",2],other:["00 tysiąca",2]}],[1e5,{one:["000 tysiąc",3],few:["000 tysiące",3],many:["000 tysięcy",3],other:["000 tysiąca",3]}],[1e6,{one:["0 milion",1],few:["0 miliony",1],many:["0 milionów",1],other:["0 miliona",1]}],[1e7,{one:["00 milion",2],few:["00 miliony",2],many:["00 milionów",2],other:["00 miliona",2]}],[1e8,{one:["000 milion",3],few:["000 miliony",3],many:["000 milionów",3],other:["000 miliona",3]}],[1e9,{one:["0 miliard",1],few:["0 miliardy",1],many:["0 miliardów",1],other:["0 miliarda",1]}],[1e10,{one:["00 miliard",2],few:["00 miliardy",2],many:["00 miliardów",2],other:["00 miliarda",2]}],[1e11,{one:["000 miliard",3],few:["000 miliardy",3],many:["000 miliardów",3],other:["000 miliarda",3]}],[1e12,{one:["0 bilion",1],few:["0 biliony",1],many:["0 bilionów",1],other:["0 biliona",1]}],[1e13,{one:["00 bilion",2],few:["00 biliony",2],many:["00 bilionów",2],other:["00 biliona",2]}],[1e14,{one:["000 bilion",3],few:["000 biliony",3],many:["000 bilionów",3],other:["000 biliona",3]}]],short:[[1e3,{one:["0 tys'.'",1],few:["0 tys'.'",1],many:["0 tys'.'",1],other:["0 tys'.'",1]}],[1e4,{one:["00 tys'.'",2],few:["00 tys'.'",2],many:["00 tys'.'",2],other:["00 tys'.'",2]}],[1e5,{one:["000 tys'.'",3],few:["000 tys'.'",3],many:["000 tys'.'",3],other:["000 tys'.'",3]}],[1e6,{one:["0 mln",1],few:["0 mln",1],many:["0 mln",1],other:["0 mln",1]}],[1e7,{one:["00 mln",2],few:["00 mln",2],many:["00 mln",2],other:["00 mln",2]}],[1e8,{one:["000 mln",3],few:["000 mln",3],many:["000 mln",3],other:["000 mln",3]}],[1e9,{one:["0 mld",1],few:["0 mld",1],many:["0 mld",1],other:["0 mld",1]}],[1e10,{one:["00 mld",2],few:["00 mld",2],many:["00 mld",2],other:["00 mld",2]}],[1e11,{one:["000 mld",3],few:["000 mld",3],many:["000 mld",3],other:["000 mld",3]}],[1e12,{one:["0 bln",1],few:["0 bln",1],many:["0 bln",1],other:["0 bln",1]}],[1e13,{one:["00 bln",2],few:["00 bln",2],many:["00 bln",2],other:["00 bln",2]}],[1e14,{one:["000 bln",3],few:["000 bln",3],many:["000 bln",3],other:["000 bln",3]}]]}}}]}))
define("web-experience-app/cldrs-shorts/pt",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"pt-br",parentLocale:"pt"},{locale:"pt",numbers:{decimal:{long:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 milhão",1],other:["0 milhões",1]}],[1e7,{one:["00 milhão",2],other:["00 milhões",2]}],[1e8,{one:["000 milhão",3],other:["000 milhões",3]}],[1e9,{one:["0 bilhão",1],other:["0 bilhões",1]}],[1e10,{one:["00 bilhão",2],other:["00 bilhões",2]}],[1e11,{one:["000 bilhão",3],other:["000 bilhões",3]}],[1e12,{one:["0 trilhão",1],other:["0 trilhões",1]}],[1e13,{one:["00 trilhão",2],other:["00 trilhões",2]}],[1e14,{one:["000 trilhão",3],other:["000 trilhões",3]}]],short:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 mi",1],other:["0 mi",1]}],[1e7,{one:["00 mi",2],other:["00 mi",2]}],[1e8,{one:["000 mi",3],other:["000 mi",3]}],[1e9,{one:["0 bi",1],other:["0 bi",1]}],[1e10,{one:["00 bi",2],other:["00 bi",2]}],[1e11,{one:["000 bi",3],other:["000 bi",3]}],[1e12,{one:["0 tri",1],other:["0 tri",1]}],[1e13,{one:["00 tri",2],other:["00 tri",2]}],[1e14,{one:["000 tri",3],other:["000 tri",3]}]]}}},{locale:"pt-PT",parentLocale:"pt",numbers:{decimal:{long:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 milhão",1],other:["0 milhões",1]}],[1e7,{one:["00 milhões",2],other:["00 milhões",2]}],[1e8,{one:["000 milhões",3],other:["000 milhões",3]}],[1e9,{one:["0 mil milhões",1],other:["0 mil milhões",1]}],[1e10,{one:["00 mil milhões",2],other:["00 mil milhões",2]}],[1e11,{one:["000 mil milhões",3],other:["000 mil milhões",3]}],[1e12,{one:["0 bilião",1],other:["0 biliões",1]}],[1e13,{one:["00 biliões",2],other:["00 biliões",2]}],[1e14,{one:["000 biliões",3],other:["000 biliões",3]}]],short:[[1e3,{one:["0 mil",1],other:["0 mil",1]}],[1e4,{one:["00 mil",2],other:["00 mil",2]}],[1e5,{one:["000 mil",3],other:["000 mil",3]}],[1e6,{one:["0 M",1],other:["0 M",1]}],[1e7,{one:["00 M",2],other:["00 M",2]}],[1e8,{one:["000 M",3],other:["000 M",3]}],[1e9,{one:["0 mM",1],other:["0 mM",1]}],[1e10,{one:["00 mM",2],other:["00 mM",2]}],[1e11,{one:["000 mM",3],other:["000 mM",3]}],[1e12,{one:["0 Bi",1],other:["0 Bi",1]}],[1e13,{one:["00 Bi",2],other:["00 Bi",2]}],[1e14,{one:["000 Bi",3],other:["000 Bi",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/ro",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ro-ro",parentLocale:"ro"},{locale:"ro",numbers:{decimal:{long:[[1e3,{one:["0 mie",1],few:["0 mii",1],other:["0 de mii",1]}],[1e4,{one:["00 mie",2],few:["00 mii",2],other:["00 de mii",2]}],[1e5,{one:["000 mie",3],few:["000 mii",3],other:["000 de mii",3]}],[1e6,{one:["0 milion",1],few:["0 milioane",1],other:["0 de milioane",1]}],[1e7,{one:["00 milion",2],few:["00 milioane",2],other:["00 de milioane",2]}],[1e8,{one:["000 milion",3],few:["000 milioane",3],other:["000 de milioane",3]}],[1e9,{one:["0 miliard",1],few:["0 miliarde",1],other:["0 de miliarde",1]}],[1e10,{one:["00 miliard",2],few:["00 miliarde",2],other:["00 de miliarde",2]}],[1e11,{one:["000 miliard",3],few:["000 miliarde",3],other:["000 de miliarde",3]}],[1e12,{one:["0 trilion",1],few:["0 trilioane",1],other:["0 de trilioane",1]}],[1e13,{one:["00 trilion",2],few:["00 trilioane",2],other:["00 de trilioane",2]}],[1e14,{one:["000 trilion",3],few:["000 trilioane",3],other:["000 de trilioane",3]}]],short:[[1e3,{one:["0 K",1],few:["0 K",1],other:["0 K",1]}],[1e4,{one:["00 K",2],few:["00 K",2],other:["00 K",2]}],[1e5,{one:["000 K",3],few:["000 K",3],other:["000 K",3]}],[1e6,{one:["0 mil'.'",1],few:["0 mil'.'",1],other:["0 mil'.'",1]}],[1e7,{one:["00 mil'.'",2],few:["00 mil'.'",2],other:["00 mil'.'",2]}],[1e8,{one:["000 mil'.'",3],few:["000 mil'.'",3],other:["000 mil'.'",3]}],[1e9,{one:["0 mld'.'",1],few:["0 mld'.'",1],other:["0 mld'.'",1]}],[1e10,{one:["00 mld'.'",2],few:["00 mld'.'",2],other:["00 mld'.'",2]}],[1e11,{one:["000 mld'.'",3],few:["000 mld'.'",3],other:["000 mld'.'",3]}],[1e12,{one:["0 tril'.'",1],few:["0 tril'.'",1],other:["0 tril'.'",1]}],[1e13,{one:["00 tril'.'",2],few:["00 tril'.'",2],other:["00 tril'.'",2]}],[1e14,{one:["000 tril'.'",3],few:["000 tril'.'",3],other:["000 tril'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/ru",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"ru-ru",parentLocale:"ru"},{locale:"ru",numbers:{decimal:{long:[[1e3,{one:["0 тысяча",1],few:["0 тысячи",1],many:["0 тысяч",1],other:["0 тысячи",1]}],[1e4,{one:["00 тысяча",2],few:["00 тысячи",2],many:["00 тысяч",2],other:["00 тысячи",2]}],[1e5,{one:["000 тысяча",3],few:["000 тысячи",3],many:["000 тысяч",3],other:["000 тысячи",3]}],[1e6,{one:["0 миллион",1],few:["0 миллиона",1],many:["0 миллионов",1],other:["0 миллиона",1]}],[1e7,{one:["00 миллион",2],few:["00 миллиона",2],many:["00 миллионов",2],other:["00 миллиона",2]}],[1e8,{one:["000 миллион",3],few:["000 миллиона",3],many:["000 миллионов",3],other:["000 миллиона",3]}],[1e9,{one:["0 миллиард",1],few:["0 миллиарда",1],many:["0 миллиардов",1],other:["0 миллиарда",1]}],[1e10,{one:["00 миллиард",2],few:["00 миллиарда",2],many:["00 миллиардов",2],other:["00 миллиарда",2]}],[1e11,{one:["000 миллиард",3],few:["000 миллиарда",3],many:["000 миллиардов",3],other:["000 миллиарда",3]}],[1e12,{one:["0 триллион",1],few:["0 триллиона",1],many:["0 триллионов",1],other:["0 триллиона",1]}],[1e13,{one:["00 триллион",2],few:["00 триллиона",2],many:["00 триллионов",2],other:["00 триллиона",2]}],[1e14,{one:["000 триллион",3],few:["000 триллиона",3],many:["000 триллионов",3],other:["000 триллиона",3]}]],short:[[1e3,{one:["0 тыс'.'",1],few:["0 тыс'.'",1],many:["0 тыс'.'",1],other:["0 тыс'.'",1]}],[1e4,{one:["00 тыс'.'",2],few:["00 тыс'.'",2],many:["00 тыс'.'",2],other:["00 тыс'.'",2]}],[1e5,{one:["000 тыс'.'",3],few:["000 тыс'.'",3],many:["000 тыс'.'",3],other:["000 тыс'.'",3]}],[1e6,{one:["0 млн",1],few:["0 млн",1],many:["0 млн",1],other:["0 млн",1]}],[1e7,{one:["00 млн",2],few:["00 млн",2],many:["00 млн",2],other:["00 млн",2]}],[1e8,{one:["000 млн",3],few:["000 млн",3],many:["000 млн",3],other:["000 млн",3]}],[1e9,{one:["0 млрд",1],few:["0 млрд",1],many:["0 млрд",1],other:["0 млрд",1]}],[1e10,{one:["00 млрд",2],few:["00 млрд",2],many:["00 млрд",2],other:["00 млрд",2]}],[1e11,{one:["000 млрд",3],few:["000 млрд",3],many:["000 млрд",3],other:["000 млрд",3]}],[1e12,{one:["0 трлн",1],few:["0 трлн",1],many:["0 трлн",1],other:["0 трлн",1]}],[1e13,{one:["00 трлн",2],few:["00 трлн",2],many:["00 трлн",2],other:["00 трлн",2]}],[1e14,{one:["000 трлн",3],few:["000 трлн",3],many:["000 трлн",3],other:["000 трлн",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/sk",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"sk-sk",parentLocale:"sk"},{locale:"sk",numbers:{decimal:{long:[[1e3,{one:["0 tisíc",1],few:["0 tisíce",1],many:["0 tisíca",1],other:["0 tisíc",1]}],[1e4,{one:["00 tisíc",2],few:["00 tisíc",2],many:["00 tisíca",2],other:["00 tisíc",2]}],[1e5,{one:["000 tisíc",3],few:["000 tisíc",3],many:["000 tisíca",3],other:["000 tisíc",3]}],[1e6,{one:["0 milión",1],few:["0 milióny",1],many:["0 milióna",1],other:["0 miliónov",1]}],[1e7,{one:["00 miliónov",2],few:["00 miliónov",2],many:["00 milióna",2],other:["00 miliónov",2]}],[1e8,{one:["000 miliónov",3],few:["000 miliónov",3],many:["000 milióna",3],other:["000 miliónov",3]}],[1e9,{one:["0 miliarda",1],few:["0 miliardy",1],many:["0 miliardy",1],other:["0 miliárd",1]}],[1e10,{one:["00 miliárd",2],few:["00 miliárd",2],many:["00 miliardy",2],other:["00 miliárd",2]}],[1e11,{one:["000 miliárd",3],few:["000 miliárd",3],many:["000 miliardy",3],other:["000 miliárd",3]}],[1e12,{one:["0 bilión",1],few:["0 bilióny",1],many:["0 bilióna",1],other:["0 biliónov",1]}],[1e13,{one:["00 biliónov",2],few:["00 biliónov",2],many:["00 bilióna",2],other:["00 biliónov",2]}],[1e14,{one:["000 biliónov",3],few:["000 biliónov",3],many:["000 bilióna",3],other:["000 biliónov",3]}]],short:[[1e3,{one:["0 tis'.'",1],few:["0 tis'.'",1],many:["0 tis'.'",1],other:["0 tis'.'",1]}],[1e4,{one:["00 tis'.'",2],few:["00 tis'.'",2],many:["00 tis'.'",2],other:["00 tis'.'",2]}],[1e5,{one:["000 tis'.'",3],few:["000 tis'.'",3],many:["000 tis'.'",3],other:["000 tis'.'",3]}],[1e6,{one:["0 mil'.'",1],few:["0 mil'.'",1],many:["0 mil'.'",1],other:["0 mil'.'",1]}],[1e7,{one:["00 mil'.'",2],few:["00 mil'.'",2],many:["00 mil'.'",2],other:["00 mil'.'",2]}],[1e8,{one:["000 mil'.'",3],few:["000 mil'.'",3],many:["000 mil'.'",3],other:["000 mil'.'",3]}],[1e9,{one:["0 mld'.'",1],few:["0 mld'.'",1],many:["0 mld'.'",1],other:["0 mld'.'",1]}],[1e10,{one:["00 mld'.'",2],few:["00 mld'.'",2],many:["00 mld'.'",2],other:["00 mld'.'",2]}],[1e11,{one:["000 mld'.'",3],few:["000 mld'.'",3],many:["000 mld'.'",3],other:["000 mld'.'",3]}],[1e12,{one:["0 bil'.'",1],few:["0 bil'.'",1],many:["0 bil'.'",1],other:["0 bil'.'",1]}],[1e13,{one:["00 bil'.'",2],few:["00 bil'.'",2],many:["00 bil'.'",2],other:["00 bil'.'",2]}],[1e14,{one:["000 bil'.'",3],few:["000 bil'.'",3],many:["000 bil'.'",3],other:["000 bil'.'",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/sv",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"sv-se",parentLocale:"sv"},{locale:"sv",numbers:{decimal:{long:[[1e3,{one:["0 tusen",1],other:["0 tusen",1]}],[1e4,{one:["00 tusen",2],other:["00 tusen",2]}],[1e5,{one:["000 tusen",3],other:["000 tusen",3]}],[1e6,{one:["0 miljon",1],other:["0 miljoner",1]}],[1e7,{one:["00 miljon",2],other:["00 miljoner",2]}],[1e8,{one:["000 miljoner",3],other:["000 miljoner",3]}],[1e9,{one:["0 miljard",1],other:["0 miljarder",1]}],[1e10,{one:["00 miljarder",2],other:["00 miljarder",2]}],[1e11,{one:["000 miljarder",3],other:["000 miljarder",3]}],[1e12,{one:["0 biljon",1],other:["0 biljoner",1]}],[1e13,{one:["00 biljoner",2],other:["00 biljoner",2]}],[1e14,{one:["000 biljoner",3],other:["000 biljoner",3]}]],short:[[1e3,{one:["0 tn",1],other:["0 tn",1]}],[1e4,{one:["00 tn",2],other:["00 tn",2]}],[1e5,{one:["000 tn",3],other:["000 tn",3]}],[1e6,{one:["0 mn",1],other:["0 mn",1]}],[1e7,{one:["00 mn",2],other:["00 mn",2]}],[1e8,{one:["000 mn",3],other:["000 mn",3]}],[1e9,{one:["0 md",1],other:["0 md",1]}],[1e10,{one:["00 md",2],other:["00 md",2]}],[1e11,{one:["000 md",3],other:["000 md",3]}],[1e12,{one:["0 bn",1],other:["0 bn",1]}],[1e13,{one:["00 bn",2],other:["00 bn",2]}],[1e14,{one:["000 bn",3],other:["000 bn",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/th",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"th-th",parentLocale:"th"},{locale:"th",numbers:{decimal:{long:[[1e3,{other:["0 พัน",1]}],[1e4,{other:["0 หมื่น",1]}],[1e5,{other:["0 แสน",1]}],[1e6,{other:["0 ล้าน",1]}],[1e7,{other:["00 ล้าน",2]}],[1e8,{other:["000 ล้าน",3]}],[1e9,{other:["0 พันล้าน",1]}],[1e10,{other:["0 หมื่นล้าน",1]}],[1e11,{other:["0 แสนล้าน",1]}],[1e12,{other:["0 ล้านล้าน",1]}],[1e13,{other:["00 ล้านล้าน",2]}],[1e14,{other:["000 ล้านล้าน",3]}]],short:[[1e3,{other:["0K",1]}],[1e4,{other:["00K",2]}],[1e5,{other:["000K",3]}],[1e6,{other:["0M",1]}],[1e7,{other:["00M",2]}],[1e8,{other:["000M",3]}],[1e9,{other:["0B",1]}],[1e10,{other:["00B",2]}],[1e11,{other:["000B",3]}],[1e12,{other:["0T",1]}],[1e13,{other:["00T",2]}],[1e14,{other:["000T",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/tr",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"tr-tr",parentLocale:"tr"},{locale:"tr",numbers:{decimal:{long:[[1e3,{one:["0 bin",1],other:["0 bin",1]}],[1e4,{one:["00 bin",2],other:["00 bin",2]}],[1e5,{one:["000 bin",3],other:["000 bin",3]}],[1e6,{one:["0 milyon",1],other:["0 milyon",1]}],[1e7,{one:["00 milyon",2],other:["00 milyon",2]}],[1e8,{one:["000 milyon",3],other:["000 milyon",3]}],[1e9,{one:["0 milyar",1],other:["0 milyar",1]}],[1e10,{one:["00 milyar",2],other:["00 milyar",2]}],[1e11,{one:["000 milyar",3],other:["000 milyar",3]}],[1e12,{one:["0 trilyon",1],other:["0 trilyon",1]}],[1e13,{one:["00 trilyon",2],other:["00 trilyon",2]}],[1e14,{one:["000 trilyon",3],other:["000 trilyon",3]}]],short:[[1e3,{one:["0 B",1],other:["0 B",1]}],[1e4,{one:["00 B",2],other:["00 B",2]}],[1e5,{one:["000 B",3],other:["000 B",3]}],[1e6,{one:["0 Mn",1],other:["0 Mn",1]}],[1e7,{one:["00 Mn",2],other:["00 Mn",2]}],[1e8,{one:["000 Mn",3],other:["000 Mn",3]}],[1e9,{one:["0 Mr",1],other:["0 Mr",1]}],[1e10,{one:["00 Mr",2],other:["00 Mr",2]}],[1e11,{one:["000 Mr",3],other:["000 Mr",3]}],[1e12,{one:["0 Tn",1],other:["0 Tn",1]}],[1e13,{one:["00 Tn",2],other:["00 Tn",2]}],[1e14,{one:["000 Tn",3],other:["000 Tn",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/uk",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"uk-ua",parentLocale:"uk"},{locale:"uk",numbers:{decimal:{long:[[1e3,{one:["0 тисяча",1],few:["0 тисячі",1],many:["0 тисяч",1],other:["0 тисячі",1]}],[1e4,{one:["00 тисяча",2],few:["00 тисячі",2],many:["00 тисяч",2],other:["00 тисячі",2]}],[1e5,{one:["000 тисяча",3],few:["000 тисячі",3],many:["000 тисяч",3],other:["000 тисячі",3]}],[1e6,{one:["0 мільйон",1],few:["0 мільйони",1],many:["0 мільйонів",1],other:["0 мільйона",1]}],[1e7,{one:["00 мільйон",2],few:["00 мільйони",2],many:["00 мільйонів",2],other:["00 мільйона",2]}],[1e8,{one:["000 мільйон",3],few:["000 мільйони",3],many:["000 мільйонів",3],other:["000 мільйона",3]}],[1e9,{one:["0 мільярд",1],few:["0 мільярди",1],many:["0 мільярдів",1],other:["0 мільярда",1]}],[1e10,{one:["00 мільярд",2],few:["00 мільярди",2],many:["00 мільярдів",2],other:["00 мільярда",2]}],[1e11,{one:["000 мільярд",3],few:["000 мільярди",3],many:["000 мільярдів",3],other:["000 мільярда",3]}],[1e12,{one:["0 трильйон",1],few:["0 трильйони",1],many:["0 трильйонів",1],other:["0 трильйона",1]}],[1e13,{one:["00 трильйон",2],few:["00 трильйони",2],many:["00 трильйонів",2],other:["00 трильйона",2]}],[1e14,{one:["000 трильйон",3],few:["000 трильйони",3],many:["000 трильйонів",3],other:["000 трильйона",3]}]],short:[[1e3,{one:["0 тис'.'",1],few:["0 тис'.'",1],many:["0 тис'.'",1],other:["0 тис'.'",1]}],[1e4,{one:["00 тис'.'",2],few:["00 тис'.'",2],many:["00 тис'.'",2],other:["00 тис'.'",2]}],[1e5,{one:["000 тис'.'",3],few:["000 тис'.'",3],many:["000 тис'.'",3],other:["000 тис'.'",3]}],[1e6,{one:["0 млн",1],few:["0 млн",1],many:["0 млн",1],other:["0 млн",1]}],[1e7,{one:["00 млн",2],few:["00 млн",2],many:["00 млн",2],other:["00 млн",2]}],[1e8,{one:["000 млн",3],few:["000 млн",3],many:["000 млн",3],other:["000 млн",3]}],[1e9,{one:["0 млрд",1],few:["0 млрд",1],many:["0 млрд",1],other:["0 млрд",1]}],[1e10,{one:["00 млрд",2],few:["00 млрд",2],many:["00 млрд",2],other:["00 млрд",2]}],[1e11,{one:["000 млрд",3],few:["000 млрд",3],many:["000 млрд",3],other:["000 млрд",3]}],[1e12,{one:["0 трлн",1],few:["0 трлн",1],many:["0 трлн",1],other:["0 трлн",1]}],[1e13,{one:["00 трлн",2],few:["00 трлн",2],many:["00 трлн",2],other:["00 трлн",2]}],[1e14,{one:["000 трлн",3],few:["000 трлн",3],many:["000 трлн",3],other:["000 трлн",3]}]]}}}]})),define("web-experience-app/cldrs-shorts/vi",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"vi-vi",parentLocale:"vi"},{locale:"vi",numbers:{decimal:{long:[[1e3,{other:["0 nghìn",1]}],[1e4,{other:["00 nghìn",2]}],[1e5,{other:["000 nghìn",3]}],[1e6,{other:["0 triệu",1]}],[1e7,{other:["00 triệu",2]}],[1e8,{other:["000 triệu",3]}],[1e9,{other:["0 tỷ",1]}],[1e10,{other:["00 tỷ",2]}],[1e11,{other:["000 tỷ",3]}],[1e12,{other:["0 nghìn tỷ",1]}],[1e13,{other:["00 nghìn tỷ",2]}],[1e14,{other:["000 nghìn tỷ",3]}]],short:[[1e3,{other:["0 N",1]}],[1e4,{other:["00 N",2]}],[1e5,{other:["000 N",3]}],[1e6,{other:["0 Tr",1]}],[1e7,{other:["00 Tr",2]}],[1e8,{other:["000 Tr",3]}],[1e9,{other:["0 T",1]}],[1e10,{other:["00 T",2]}],[1e11,{other:["000 T",3]}],[1e12,{other:["0 NT",1]}],[1e13,{other:["00 NT",2]}],[1e14,{other:["000 NT",3]}]]}}},{locale:"vi-vn",parentLocale:"vi"}]})),define("web-experience-app/cldrs-shorts/zh",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=[{locale:"zh-cn",parentLocale:"zh"},{locale:"zh",numbers:{decimal:{long:[[1e3,{other:["0",1]}],[1e4,{other:["0万",1]}],[1e5,{other:["00万",2]}],[1e6,{other:["000万",3]}],[1e7,{other:["0000万",4]}],[1e8,{other:["0亿",1]}],[1e9,{other:["00亿",2]}],[1e10,{other:["000亿",3]}],[1e11,{other:["0000亿",4]}],[1e12,{other:["0兆",1]}],[1e13,{other:["00兆",2]}],[1e14,{other:["000兆",3]}]],short:[[1e3,{other:["0",1]}],[1e4,{other:["0万",1]}],[1e5,{other:["00万",2]}],[1e6,{other:["000万",3]}],[1e7,{other:["0000万",4]}],[1e8,{other:["0亿",1]}],[1e9,{other:["00亿",2]}],[1e10,{other:["000亿",3]}],[1e11,{other:["0000亿",4]}],[1e12,{other:["0兆",1]}],[1e13,{other:["00兆",2]}],[1e14,{other:["000兆",3]}]]}}},{locale:"zh-Hans",parentLocale:"zh"},{locale:"zh-Hant",numbers:{decimal:{long:[[1e3,{other:["0",1]}],[1e4,{other:["0萬",1]}],[1e5,{other:["00萬",2]}],[1e6,{other:["000萬",3]}],[1e7,{other:["0000萬",4]}],[1e8,{other:["0億",1]}],[1e9,{other:["00億",2]}],[1e10,{other:["000億",3]}],[1e11,{other:["0000億",4]}],[1e12,{other:["0兆",1]}],[1e13,{other:["00兆",2]}],[1e14,{other:["000兆",3]}]],short:[[1e3,{other:["0",1]}],[1e4,{other:["0萬",1]}],[1e5,{other:["00萬",2]}],[1e6,{other:["000萬",3]}],[1e7,{other:["0000萬",4]}],[1e8,{other:["0億",1]}],[1e9,{other:["00億",2]}],[1e10,{other:["000億",3]}],[1e11,{other:["0000億",4]}],[1e12,{other:["0兆",1]}],[1e13,{other:["00兆",2]}],[1e14,{other:["000兆",3]}]]}}},{locale:"zh-hk",parentLocale:"zh"},{locale:"zh-tw",parentLocale:"zh"}]})),define("web-experience-app/component-managers/glimmer",["exports","@glimmer/component/-private/ember-component-manager"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/amp-artwork/image",["exports","@amp/ember-ui-media-artwork/components/amp-artwork/image"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/amp-artwork/wea",["exports","@amp/ember-ui-media-artwork/components/amp-artwork/wea"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/animation-wrapper",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/template"],(function(e,t,i,r,n,a){var o,l
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const s=(0,i.createTemplateFactory)({id:"NOPcV2PG",block:'[[[10,0],[15,0,[29,["animation-wrapper ",[52,[30,0,["hideContent"]],"is-hidden","is-visible"]]]],[12],[1,"\\n  "],[18,1,null],[1,"\\n\\n"],[41,[30,0,["hideContent"]],[[[1,"    "],[10,0],[14,0,"animation-wrapper__container"],[12],[1,"\\n      "],[10,0],[14,0,"animation-wrapper__spinner"],[12],[13],[1,"\\n      "],[10,0],[14,0,"animation-wrapper__progress-outer"],[12],[1,"\\n        "],[10,0],[14,0,"animation-wrapper__progress-inner"],[15,5,[30,0,["intervalTransform"]]],[12],[13],[1,"\\n        "],[1,[30,0,["interval"]]],[1,"%\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["&default"],false,["if","yield"]]',moduleName:"web-experience-app/components/animation-wrapper.hbs",isStrictMode:!1})
let p=(o=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="routerState",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get hideContent(){return this.routerState.isTransitioning}get interval(){return this.routerState.timer}get intervalTransform(){return(0,a.htmlSafe)(`transform: translateX(${this.interval}%)`)}},c=o.prototype,u="routerState",d=[n.inject],m={configurable:!0,enumerable:!0,writable:!0,initializer:null},b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),l=b,o)
var c,u,d,m,f,b
e.default=p,(0,t.setComponentTemplate)(s,p)})),define("web-experience-app/components/app-categories-filter",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","@glimmer/tracking"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d
function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const b=(0,i.createTemplateFactory)({id:"OAjK2ESe",block:'[[[10,0],[14,0,"we-genre-filter we-genre-filter--apps"],[12],[1,"\\n"],[41,[28,[37,1],[[30,0,["responsive","viewport"]],"small"],null],[[[1,"    "],[11,"button"],[24,0,"we-genre-filter__pill"],[24,1,"app-categories-modal-trigger"],[24,4,"button"],[4,[38,2],["click",[30,0,["toggleModal"]]],null],[12],[1,[28,[35,3],["WEA.Charts.Categories.Button"],null]],[13],[1,"\\n    "],[8,[39,4],[[24,0,"we-modal--apps-categories-filter"]],[["@triggerId","@modalType","@isOpen","@onModalClose"],["app-categories-modal-trigger","full-viewport",[30,0,["isFilterOpen"]],[30,0,["toggleModal"]]]],[["default"],[[[[1,"\\n      "],[10,0],[14,0,"we-genre-filter__header"],[12],[1,"\\n        "],[8,[39,5],null,[["@tabs","@onTabClick"],[[30,0,["categoriesTabsList"]],[30,0,["onCategoriesTabClick"]]]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"we-genre-filter__content"],[12],[1,"\\n        "],[10,0],[14,0,"we-genre-filter__categories-list"],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["activeCategoriesTrigger","categories"]]],null]],null],null,[[[41,[30,1,["genre"]],[[[1,"              "],[11,3],[24,"data-we-link-to-exclude",""],[16,6,[30,1,["chartUrl"]]],[24,"role","button"],[24,0,"we-genre-filter__item"],[4,[38,2],["click",[30,0,["toggleModal"]]],null],[12],[1,"\\n                "],[10,1],[14,0,"we-genre-filter__artwork"],[12],[1,"\\n                  "],[8,[39,8],[[24,0,"we-artwork--not-round we-artwork--no-border"],[24,"role","presentation"]],[["@artwork","@profile","@addBgColor"],[[30,1,["artwork"]],"category-for-artwork",false]],null],[1,"\\n                "],[13],[1,"\\n                "],[10,1],[14,0,"we-genre-filter__name"],[14,"data-we-genre-name",""],[12],[1,"\\n                  "],[1,[30,1,["name"]]],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[]],null]],[1]],null],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]],[[[1,"    "],[10,0],[14,0,"we-genre-filter__triggers-list"],[12],[1,"\\n      "],[11,"button"],[24,"data-we-charts-filter-dropdown-trigger","apps"],[16,"aria-expanded",[52,[30,0,["isFilterOpen"]],"true","false"]],[16,0,[29,["we-genre-filter__pill we-genre-filter__trigger\\n        ",[52,[28,[37,9],[[30,0,["isFilterOpen"]],[28,[37,1],[[30,0,["activeCategoriesTriggerType"]],"apps"],null]],null],"we-genre-filter__trigger--up"]]]],[24,4,"button"],[4,[38,2],["click",[30,0,["onCategoriesButtonClick"]]],null],[12],[1,[28,[35,3],["WEA.Charts.AppFilter.Button"],null]],[13],[1,"\\n      "],[11,"button"],[24,"data-we-charts-filter-dropdown-trigger","games"],[16,"aria-expanded",[52,[30,0,["isFilterOpen"]],"true","false"]],[16,0,[29,["we-genre-filter__pill we-genre-filter__trigger\\n        ",[52,[28,[37,9],[[30,0,["isFilterOpen"]],[28,[37,1],[[30,0,["activeCategoriesTriggerType"]],"games"],null]],null],"we-genre-filter__trigger--up"]]]],[24,4,"button"],[4,[38,2],["click",[30,0,["onCategoriesButtonClick"]]],null],[12],[1,[28,[35,3],["WEA.Charts.GameFilter.Button"],null]],[13],[1,"\\n      "],[10,0],[14,0,"we-genre-filter__dropdown-container"],[12],[1,"\\n        "],[8,[39,10],null,[["@isExpanded","@genres","@route","@categoryType","@onClose","@ariaLabel"],[[30,0,["isFilterOpen"]],[30,0,["activeCategoriesTrigger","categories"]],"charts.device.category",[30,0,["activeCategoriesTriggerType"]],[30,0,["toggleDropdownExpansion"]],[30,0,["triggerAriaLabel"]]]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]]],[13],[1,"\\n"]],["category"],false,["if","eq","on","t","we-modal","we-tabs","each","-track-array","amp-artwork/wea","and","we-charts-filter-dropdown"]]',moduleName:"web-experience-app/components/app-categories-filter.hbs",isStrictMode:!1})
let g=(l=class extends r.default{constructor(){super(...arguments),m(this,"responsive",s,this),m(this,"fastboot",p,this),m(this,"i18n",c,this),m(this,"isFilterOpen",u,this),m(this,"activeCategoriesTriggerType",d,this)}get activeCategoriesTrigger(){return this.categoriesTabsList.find((e=>!0===e.isActive))}get triggerAriaLabel(){return"games"===this.activeCategoriesTriggerType?this.i18n.t("WEA.Charts.GameFilter.Button"):this.i18n.t("WEA.Charts.AppFilter.Button")}get categoriesTabsList(){return[{ariaLabel:this.i18n.t("WEA.Charts.AppFilter.Tab"),label:this.i18n.t("WEA.Charts.AppFilter.Tab"),type:"apps",isActive:"apps"===this.activeCategoriesTriggerType,categories:this.args.appsCategories},{ariaLabel:this.i18n.t("WEA.Charts.GameFilter.Tab"),label:this.i18n.t("WEA.Charts.GameFilter.Tab"),type:"games",isActive:"games"===this.activeCategoriesTriggerType,categories:this.args.gamesCategories}]}toggleDropdownExpansion(){this.isFilterOpen=!this.isFilterOpen}toggleModal(){this.isFilterOpen=!this.isFilterOpen}onCategoriesTabClick(e){this.updateActiveCategoriesTriggerType(e.type)}onCategoriesButtonClick(e){let{target:t}=e
const i=t.getAttribute("data-we-charts-filter-dropdown-trigger")
this.isFilterOpen?i!==this.activeCategoriesTriggerType?this.updateActiveCategoriesTriggerType(i):this.toggleDropdownExpansion():(this.updateActiveCategoriesTriggerType(i),this.toggleDropdownExpansion())}updateActiveCategoriesTriggerType(e){this.activeCategoriesTriggerType=e}},s=f(l.prototype,"responsive",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=f(l.prototype,"fastboot",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=f(l.prototype,"i18n",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=f(l.prototype,"isFilterOpen",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),d=f(l.prototype,"activeCategoriesTriggerType",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"apps"}}),f(l.prototype,"toggleDropdownExpansion",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"toggleDropdownExpansion"),l.prototype),f(l.prototype,"toggleModal",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"toggleModal"),l.prototype),f(l.prototype,"onCategoriesTabClick",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"onCategoriesTabClick"),l.prototype),f(l.prototype,"onCategoriesButtonClick",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"onCategoriesButtonClick"),l.prototype),f(l.prototype,"updateActiveCategoriesTriggerType",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"updateActiveCategoriesTriggerType"),l.prototype),l)
e.default=g,(0,t.setComponentTemplate)(b,g)})),define("web-experience-app/components/bidi-text",["exports","@amp/ember-ui-bidi-text/components/bidi-text"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/global-elements-footer",["exports","@amp/ember-ui-global-elements/components/global-elements-footer"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/global-elements-meta",["exports","@amp/ember-ui-global-elements/components/global-elements-meta"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/global-elements-nav",["exports","@amp/ember-ui-global-elements/components/global-elements-nav"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/global-elements-scripts",["exports","@amp/ember-ui-global-elements/components/global-elements-scripts"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/global-elements-styles",["exports","@amp/ember-ui-global-elements/components/global-elements-styles"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/global-elements",["exports","@amp/ember-ui-global-elements/components/global-elements"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/html-tag",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"ovu8qVkv",block:'[[[41,[28,[37,1],[[30,1],"ul"],null],[[[1,"  "],[11,"ul"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"a"],null],[[[1,"  "],[11,3],[24,6,"#"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"blockquote"],null],[[[1,"  "],[11,"blockquote"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"dd"],null],[[[1,"  "],[11,"dd"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"dt"],null],[[[1,"  "],[11,"dt"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"h3"],null],[[[1,"  "],[11,"h3"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"h4"],null],[[[1,"  "],[11,"h4"],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"span"],null],[[[1,"  "],[11,1],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]],[[[1,"  "],[11,0],[17,2],[12],[18,3,null],[13],[1,"\\n"]],[]]]],[]]]],[]]]],[]]]],[]]]],[]]]],[]]]],[]]]],["@tagName","&attrs","&default"],false,["if","eq","yield"]]',moduleName:"web-experience-app/components/html-tag.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/items-resolver",["exports","@amp/ember-ui-media-shelf/components/items-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/media-shelf-grid",["exports","@amp/ember-ui-media-shelf/components/media-shelf-grid"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/media-shelf-grid/body",["exports","@amp/ember-ui-media-shelf/components/media-shelf-grid/body"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/media-shelf-grid/list-item",["exports","@amp/ember-ui-media-shelf/components/media-shelf-grid/list-item"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/media-shelf-grid/nav",["exports","@amp/ember-ui-media-shelf/components/media-shelf-grid/nav"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/pages/app-bundle",["exports","@ember/component","@ember/template-factory","web-experience-app/components/pages/app"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"cQKgAptG",block:'[[[8,[39,0],null,[["@model","@developer","@displayPrice","@primaryPlatform","@showPreorder"],[[30,1],[30,1,["developer"]],[30,2],[30,3],[30,4]]],null],[1,"\\n\\n"],[41,[30,5],[[[44,[[28,[37,3],["app"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppBundlePages.NumberAppsInBundle.Many"],[["count"],[[30,5,["length"]]]]]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,5,["length"]],[30,5,["meta","next"]],[30,6,["small"]],[30,6,["medium"]],[30,6,["large"]],"appsInBundle"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,5],[30,6]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,6,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,7,["id"]],[30,7,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfAppsInBundle"]]]]],[["@clampProfile","@model","@artworkProfile"],["app-bundle-shelf",[28,[37,10],["lockups/app"],[["item"],[[30,7]]]],[30,6,["artwork"]]]],null],[1,"\\n        "]],[7]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[6]]]],[]],null],[1,"\\n"],[41,[28,[37,11],[[28,[37,12],[[30,8]],null]],null],[[[1,"  "],[8,[39,13],null,[["@screenshotGroups","@selectedPlatform"],[[30,8],[30,0,["selectedPlatform"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["description"]],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n    "],[10,0],[14,0,"section__description"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline visuallyhidden"],[12],[1,[28,[35,4],["WEA.AppPages.Description.Header"],null]],[13],[1,"\\n      "],[10,0],[14,0,"l-row"],[12],[1,"\\n        "],[8,[39,14],[[24,0,"l-column small-12 medium-9 large-8"]],[["@clampProfile","@dataMetricsClick","@isInteractive","@value"],["product-description-app",[28,[37,9],["expandMore"],null],true,[28,[37,15],[[30,0,["description"]]],null]]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,16],[[30,1,["supportsArcade"]],[30,1,["editorsNotes"]]],null],[[[1,"  "],[10,"section"],[14,0,"section section--no-padding-top section--no-padding-bottom section--bordered"],[12],[1,"\\n    "],[8,[39,17],null,[["@quote"],[[30,1,["editorsNotes"]]]],null],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,16],[[30,3,["mostRecentVersion","releaseNotes"]],[28,[37,11],[[28,[37,18],[[30,1,["isPreorder"]],[30,1,["isFirstPartyHideableApp"]]],null]],null]],null],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section--bordered whats-new"],[12],[1,"\\n    "],[10,0],[14,0,"section__nav section__nav--small"],[12],[1,"\\n      "],[10,"h2"],[14,0,"whats-new__headline"],[12],[1,[28,[35,4],["WEA.AppPages.WhatsNew.Header"],null]],[13],[1,"\\n"],[41,[30,3,["versionHistory"]],[[[1,"        "],[8,[39,19],[[24,0,"version-history"]],[["@metricsTarget","@triggerText"],["versionHistory",[28,[37,4],["WEA.AppPages.VersionHistory.Title"],null]]],[["default"],[[[[1,"\\n          "],[10,"h3"],[14,0,"version-history__headline"],[12],[1,[28,[35,4],["WEA.AppPages.VersionHistory.Title"],null]],[13],[1,"\\n          "],[10,"ul"],[14,0,"version-history__items"],[12],[1,"\\n"],[42,[28,[37,21],[[28,[37,21],[[30,3,["versionHistory"]]],null]],null],null,[[[1,"              "],[10,"li"],[14,0,"version-history__item"],[12],[1,"\\n                "],[10,"h4"],[14,0,"version-history__item__version-number"],[12],[1,[30,10,["versionDisplay"]]],[13],[1,"\\n                "],[1,[28,[35,22],[[30,10,["releaseDate"]]],[["classNames"],["version-history__item__release-date"]]]],[1,"\\n                "],[8,[39,14],[[24,0,"version-history__item__release-notes"]],[["@clampProfile","@dataMetricsClick","@isInteractive","@value"],["app-version-history",[28,[37,9],["expandMore"],null],[30,9,["isOpen"]],[28,[37,15],[[30,10,["releaseNotes"]]],null]]],null],[1,"\\n              "],[13],[1,"\\n"]],[10]],null],[1,"          "],[13],[1,"\\n        "]],[9]]]]],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n    "],[10,0],[14,0,"l-row whats-new__content"],[12],[1,"\\n"],[41,[30,3,["versionHistory"]],[[[1,"        "],[10,0],[14,0,"l-column small-12 medium-3 large-4 small-valign-top whats-new__latest"],[12],[1,"\\n          "],[10,0],[14,0,"l-row"],[12],[1,"\\n            "],[1,[28,[35,22],[[30,3,["mostRecentVersion","releaseDate"]]],[["class"],["l-column small-6 medium-12 whats-new__latest__date"]]]],[1,"\\n            "],[10,2],[14,0,"l-column small-6 medium-12 whats-new__latest__version"],[12],[1,[28,[35,4],["WEA.AppPages.Version"],null]],[1," "],[1,[30,3,["mostRecentVersion","versionDisplay"]]],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"l-column small-12 medium-9 large-8 small-valign-top"],[12],[1,"\\n        "],[8,[39,14],null,[["@clampProfile","@dataMetricsClick","@isInteractive","@value"],["app-whats-new",[28,[37,9],["expandMore"],null],true,[28,[37,15],[[30,3,["mostRecentVersion","releaseNotes"]]],null]]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showReviewSection"]],[[[1,"  "],[8,[39,23],null,[["@editorsNotes","@hasUserRating","@isEditorsChoice","@reviews","@userRating"],[[30,1,["editorsNotes"]],[28,[37,24],[[30,1,["userRating","ratingCount"]],0],null],[30,1,["isEditorsChoice"]],[30,11],[30,1,["userRating"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,12],[[[44,[[28,[37,3],["appEvent"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.Events.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,12,["length"]],[30,12,["meta","next"]],[30,13,["small"]],[30,13,["medium"]],[30,13,["large"]],"appEvents"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,12],[30,13]]],[["default"],[[[[1,"\\n          "],[8,[39,25],[[16,0,[28,[37,8],[[30,13,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-event-module"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,14,["id"]],[30,14,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfAppEvents"]]]]],[["@model","@profile"],[[30,14],[30,13]]],null],[1,"\\n        "]],[14]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[13]]]],[]],null],[1,"\\n"],[44,[[28,[37,3],["default"],null]],[[[41,[30,16],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Subscriptions.Title"],null]],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,16,["length"]],[30,16,["meta","next"]],[30,15,["small"]],[30,15,["medium"]],[30,15,["large"]],"subscriptions"]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile","@artworkProfile","@metricsLocation"],[[30,16],[30,15],"lockup-6-4-6","shelfSubscriptions"]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,17],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.InAppPurchases.Title"],null]],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,17,["length"]],[30,17,["meta","next"]],[30,15,["small"]],[30,15,["medium"]],[30,15,["large"]],"inAppPurchases"]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile","@artworkProfile","@metricsLocation"],[[30,17],[30,15],"lockup-6-4-6","shelfInAppPurchases"]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null]],[15]]],[1,"\\n"],[41,[30,0,["showAppPrivacy"]],[[[1,"  "],[8,[39,26],null,[["@app"],[[30,1]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[10,"section"],[14,0,"l-content-width section section--bordered section--information"],[12],[1,"\\n  "],[10,0],[12],[1,"\\n    "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Information.Title"],null]],[13],[1,"\\n    "],[10,"dl"],[14,0,"information-list information-list--app medium-columns l-row"],[12],[1,"\\n"],[41,[30,1,["sellerLabel"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[30,1,["sellerLabel"]]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n            "],[1,[30,1,["seller"]]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[28,[37,16],[[30,1,["size"]],[28,[37,11],[[30,1,["isFirstPartyHideableApp"]]],null]],null],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Size"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[15,"aria-label",[29,[[28,[37,27],[[30,1,["size"]],"B"],null]]]],[12],[1,[28,[35,27],[[30,1,["size"]],"b"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["primaryGenre"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Category"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n"],[41,[30,1,["primaryGenre","url"]],[[[1,"              "],[10,3],[15,6,[30,1,["primaryGenre","url"]]],[14,0,"link"],[15,"data-metrics-click",[28,[37,9],["linkToGenre"],[["url"],[[30,1,["primaryGenre","url"]]]]]],[12],[1,"\\n                "],[1,[30,1,["primaryGenre","name"]]],[1,"\\n              "],[13],[1,"\\n"]],[]],[[[1,"              "],[1,[30,1,["primaryGenre","name"]]],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Compatibility"],null]],[13],[1,"\\n"],[41,[30,0,["requirementsByDeviceFamily"]],[[[1,"          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n"],[42,[28,[37,21],[[28,[37,21],[[30,0,["requirementsByDeviceFamily"]]],null]],null],null,[[[1,"              "],[10,"dl"],[14,0,"information-list__item__definition__item"],[12],[1,"\\n                "],[10,"dt"],[14,0,"information-list__item__definition__item__term"],[12],[1,"\\n                  "],[1,[30,18,["deviceFamily"]]],[1,"\\n                "],[13],[1,"\\n                "],[10,"dd"],[14,0,"information-list__item__definition__item__definition"],[12],[1,[30,18,["requirementString"]]],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[18]],null],[1,"          "],[13],[1,"\\n"]],[]],[[[1,"          "],[8,[39,14],[[24,0,"information-list__item__definition"]],[["@clampProfile","@dataMetricsClick","@tagName","@isInteractive","@value"],["software-info",[28,[37,9],["expandMore"],null],"dd",true,[28,[37,28],[[30,0,["requirementsString"]]],null]]],null],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n"],[41,[30,1,["supportsGameController"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.GameController"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,[28,[35,4],["WEA.AppPages.Optional"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Languages"],null]],[13],[1,"\\n        "],[8,[39,14],[[24,0,"information-list__item__definition"]],[["@clampProfile","@tagName","@isInteractive","@value"],["software-info","dd",true,[30,1,["languagesDisplayString"]]]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.AgeRating"],null]],[13],[1,"\\n        "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n"],[41,[30,1,["primaryPlatform","ageBand"]],[[[1,[28,[35,4],["WEA.AppPages.AgeRating.Value"],[["ageRating","min","max"],[[30,1,["ratingText"]],[30,1,["primaryPlatform","ageBand","minAge"]],[30,1,["primaryPlatform","ageBand","maxAge"]]]]]],[1,"\\n"]],[]],[[[1,"            "],[1,[30,1,["ratingText"]]],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,1,["contentRatingsBySystem","appsApple","advisories"]],[[[42,[28,[37,21],[[28,[37,21],[[30,1,["contentRatingsBySystem","appsApple","advisories"]]],null]],null],null,[[[1,"              "],[10,1],[14,0,"information-list__item__definition"],[12],[1,[30,19]],[13],[1,"\\n"]],[19]],null]],[]],null],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[30,1,["usesLocationBackgroundMode"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Location.Title"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,[28,[35,4],["WEA.AppPages.Location.Description"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Copyright"],null]],[13],[1,"\\n        "],[10,"dd"],[14,0,"information-list__item__definition information-list__item__definition--copyright"],[12],[1,[30,1,["copyright"]]],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[51,[30,1,["supportsArcade"]]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Price.Title"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,[30,2]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[28,[37,16],[[30,1,["topInApps"]],[28,[37,11],[[30,1,["isPreorder"]]],null]],null],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.InAppPurchases.Title"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n            "],[10,"ol"],[14,"role","table"],[14,0,"list-with-numbers"],[12],[1,"\\n              "],[8,[39,30],null,[["@items","@clampProfile"],[[30,1,["topInApps"]],"app-info-iap"]],[["default"],[[[[1,"\\n                "],[10,"li"],[14,0,"list-with-numbers__item"],[12],[1,"\\n                  "],[10,1],[14,0,"list-with-numbers__item__title"],[12],[10,1],[14,0,"truncate-single-line truncate-single-line--block"],[12],[1,[30,20,["name"]]],[13],[13],[1,"\\n                  "],[10,1],[14,0,"list-with-numbers__item__price small-hide medium-show-tablecell"],[12],[1,[30,20,["productOffers","buyPriceFormatted"]]],[13],[1,"\\n                "],[13],[1,"\\n              "]],[20]]]]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"small-hide medium-show"],[12],[1,"\\n    "],[10,"ul"],[14,0,"inline-list inline-list--app-extensions"],[12],[1,"\\n"],[41,[30,1,["websiteUrl"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToDeveloper"],null]],[15,6,[29,[[30,1,["websiteUrl"]]]]],[12],[1,"\\n            "],[1,[28,[35,4],["WEA.AppPages.DeveloperWebsite"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["supportURLForLanguage"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToAppSupport"],null]],[15,6,[29,[[30,1,["supportURLForLanguage"]]]]],[12],[1,"\\n            "],[1,[28,[35,4],["WEA.AppPages.AppSupport"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["hasEula"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[8,[39,31],[[24,0,"link"]],[["@triggerLocKey","@model","@eulaContent"],["WEA.AppPages.LicenseAgreement",[30,1],[30,1,["eula"]]]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["privacyPolicyUrl"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToPrivacyPolicy"],null]],[15,6,[29,[[30,1,["privacyPolicyUrl"]]]]],[12],[1,"\\n            "],[1,[28,[35,4],["WEA.AppPages.PrivacyPolicy"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,"section"],[14,0,"section section--link-list l-content-width medium-hide"],[12],[1,"\\n  "],[10,"ul"],[14,0,"link-list link-list--a"],[12],[1,"\\n"],[41,[30,1,["websiteUrl"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToDeveloper"],null]],[15,6,[29,[[30,1,["websiteUrl"]]]]],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.DeveloperWebsite"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,1,["supportURLForLanguage"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToAppSupport"],null]],[15,6,[29,[[30,1,["supportURLForLanguage"]]]]],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.AppSupport"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,1,["hasEula"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[8,[39,31],[[24,0,"link"]],[["@triggerLocKey","@model","@eulaContent"],["WEA.AppPages.LicenseAgreement",[30,1],[30,1,["eula"]]]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,1,["privacyPolicyUrl"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToPrivacyPolicy"],null]],[15,6,[29,[[30,1,["privacyPolicyUrl"]]]]],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.PrivacyPolicy"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[41,[30,0,["supports","length"]],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n    "],[10,0],[14,0,"section__nav"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Supports.Title"],null]],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,"ul"],[14,0,"supports-list l-row"],[12],[1,"\\n"],[42,[28,[37,21],[[28,[37,21],[[30,0,["supports"]]],null]],null],null,[[[1,"        "],[10,"li"],[15,0,[29,["supports-list__item l-column l-column--grid small-12 medium-6 ",[52,[28,[37,32],[[30,0,["supports","length"]],4],null],"large-3","large-4"]]]],[12],[1,"\\n          "],[10,"img"],[15,"src",[30,21,["icon"]]],[14,0,"supports-list__item__artwork"],[14,"alt",""],[12],[13],[1,"\\n          "],[10,0],[14,0,"supports-list__item__copy"],[12],[1,"\\n            "],[8,[39,14],[[24,0,"supports-list__item__copy__heading"]],[["@dataMetricsClick","@tagName","@value"],[[28,[37,9],["expandMore"],null],"h3",[28,[37,4],[[30,21,["locTitle"]]],null]]],null],[1,"\\n            "],[8,[39,14],[[24,0,"supports-list__item__copy__description"]],[["@dataMetricsClick","@tagName","@isInteractive","@clampProfile","@value"],[[28,[37,9],["expandMore"],null],"h4",true,"supports-description",[28,[37,4],[[30,21,["locDescription"]]],null]]],null],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[21]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,22],[[[44,[[28,[37,3],["editorialItem"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.FeaturedIn.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,22,["length"]],[30,22,["meta","next"]],[30,23,["small"]],[30,23,["medium"]],[30,23,["large"]],"relatedEditorialItems"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,22],[30,23]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,23,["columnClassNames"]]," we-lockup--shelf-align-top"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,24,["id"]],[30,24,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfFeaturedIn"]]]]],[["@model","@eyebrow","@subtitle","@artwork","@artworkProfile"],[[28,[37,10],["lockups/app"],[["item"],[[30,24]]]],[30,24,["label"]],[28,[37,15],[[30,24,["editorialNotes","short"]]],null],[30,24,["cardArtwork"]],[30,23,["artwork"]]]],null],[1,"\\n        "]],[24]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[23]]]],[]],null],[1,"\\n"],[41,[30,25],[[[44,[[28,[37,3],["app"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.MoreByThisDeveloper.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,25,["length"]],[30,25,["meta","next"]],[30,26,["small"]],[30,26,["medium"]],[30,26,["large"]],"developerOtherApps"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,25],[30,26]]],[["default"],[[[[1,"\\n"],[1,"          "],[8,[39,7],[[16,0,[28,[37,8],[[30,26,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,27,["id"]],[30,27,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfDeveloperOtherApps"]]]]],[["@model","@artworkProfile","@clampProfile"],[[28,[37,10],["lockups/app"],[["item"],[[30,27]]]],[30,26,["artwork"]],"app-lockup"]],null],[1,"\\n        "]],[27]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[26]]]],[]],null],[1,"\\n"],[41,[30,28],[[[44,[[28,[37,3],["app"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.CustomersAlsoBought.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,28,["length"]],[30,28,["meta","next"]],[30,29,["small"]],[30,29,["medium"]],[30,29,["large"]],"customersAlsoBoughtApps"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,28],[30,29]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,29,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,30,["id"]],[30,30,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfCustomersAlsoBoughtApps"]]]]],[["@model","@clampProfile","@artworkProfile","@subtitle"],[[28,[37,10],["lockups/app"],[["item"],[[30,30]]]],"app-lockup",[30,29,["artwork"]],[30,30,["primaryGenreName"]]]],null],[1,"\\n        "]],[30]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[29]]]],[]],null]],["@model","@displayPrice","@primaryPlatform","@showPreorder","@appsInBundle","profile","item","@screenshotGroups","modal","version","@reviews","@appEvents","profile","item","profile","@subscriptions","@promotedInApps","req","advisory","iap","supportsSection","@relatedEditorialItems","profile","item","@developerOtherApps","profile","item","@customersAlsoBoughtApps","profile","item"],false,["pages/app/header","if","let","shelf-profile","t","we-see-all","we-shelf","we-lockup","concat","metrics-data","present","not","is-empty","pages/app/screenshots","we-truncate","html-sanitize","and","pages/app/editorial-quote","or","we-modal","each","-track-array","time-tag","pages/app/reviews","gt","we-lockup/app-event","pages/app/privacy","loc-filesize","attr-sanitize","unless","we-truncate-list","pages/app/eula-modal","gte"]]',moduleName:"web-experience-app/components/pages/app-bundle.hbs",isStrictMode:!1})
class a extends r.default{}e.default=a,(0,t.setComponentTemplate)(n,a)})),define("web-experience-app/components/pages/app-event",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/template","@ember/service","@amp/ember-ui-media-artwork/utils/srcset","web-experience-app/utils/apps/apps","@ember/object","web-experience-app/utils/apps/app-events"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function g(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,y(e,t,"get"))}function h(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,y(e,t,"set"),i),i}function y(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}function w(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const v=(0,i.createTemplateFactory)({id:"pRllLClP",block:'[[[41,[51,[30,1,["isIOSBinaryMacOSCompatible"]]],[[[1,"  "],[8,[39,1],null,[["@availabilityMessage"],[[28,[37,2],[[30,0,["availabilityMessageKey"]]],null]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[10,"section"],[14,0,"l-content-width section"],[12],[1,"\\n  "],[11,0],[16,0,[29,["event-details ",[52,[28,[37,4],[[30,2]],null],"is-live"]]]],[16,5,[30,0,["backgroundStyles"]]],[4,[38,5],[[30,0,["subscribeToClock"]]],null],[4,[38,6],[[30,0,["unsubscribeFromClock"]]],null],[12],[1,"\\n    "],[10,"time"],[14,0,"event-details__time"],[15,"datetime",[28,[37,7],[[30,2,["startDate"]],"ISO"],null]],[12],[1,"\\n      "],[10,1],[14,0,"event-details__time-copy"],[12],[1,"\\n        "],[10,1],[14,0,"event-details__time-copy-line-clamp"],[12],[1,"\\n          "],[1,[28,[35,8],[[30,2]],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"event-details__image"],[12],[1,"\\n      "],[8,[39,9],[[24,0,"we-artwork--no-border we-artwork--not-round"]],[["@artwork","@profile","@lazyLoad"],[[28,[37,10],[[30,2,["lockupVideo","previewFrame"]],[30,2,["lockupArtwork"]]],null],"app-event-detail",false]],null],[1,"\\n    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"event-details__detail"],[12],[1,"\\n      "],[10,0],[14,0,"event-details__copy"],[12],[1,"\\n"],[41,[30,2,["kind"]],[[[1,"          "],[10,2],[14,0,"event-details__eyebrow"],[12],[1,[30,2,["kind"]]],[13],[1,"\\n"]],[]],null],[41,[30,2,["name"]],[[[1,"          "],[10,"h1"],[14,0,"event-details__title"],[12],[1,[30,2,["name"]]],[13],[1,"\\n"]],[]],null],[41,[30,2,["subtitle"]],[[[1,"          "],[10,2],[14,0,"event-details__headline"],[12],[1,[30,2,["subtitle"]]],[13],[1,"\\n"]],[]],null],[41,[30,2,["requirement"]],[[[1,"          "],[10,2],[14,0,"event-details__label"],[12],[1,[30,2,["requirement"]]],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n\\n      "],[10,0],[15,0,[29,["event-details__related-app-cta app-placard app-placard--iae-detail ",[52,[30,1,["isIOSBinaryMacOSCompatible"]],"is-installable"]]]],[12],[1,"\\n        "],[10,3],[14,0,"app-placard__app-link targeted-link"],[15,6,[30,1,["url"]]],[12],[1,"\\n"],[41,[30,1,["platformAttributes","ios","artwork"]],[[[1,"            "],[8,[39,9],[[24,0,"app-placard__image we-artwork--ios-app-icon"]],[["@artwork","@profile"],[[30,1,["platformAttributes","ios","artwork"]],"product-app-placard-iae"]],null],[1,"\\n"]],[]],null],[1,"          "],[10,0],[14,0,"app-placard__copy"],[12],[1,"\\n"],[41,[30,1,["isIOSBinaryMacOSCompatible"]],[[[41,[30,1,["name"]],[[[1,"                "],[10,2],[14,0,"app-placard__subtitle truncate-single-line"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"]],[]],null],[41,[30,2,["name"]],[[[1,"                "],[10,2],[14,0,"app-placard__title truncate-single-line targeted-link__target"],[12],[1,[30,2,["name"]]],[13],[1,"\\n"]],[]],null]],[]],[[[41,[30,1,["name"]],[[[1,"                  "],[10,2],[14,0,"app-placard__title truncate-single-line targeted-link__target"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"]],[]],null],[41,[30,1,["platformAttributes","ios","subtitle"]],[[[1,"                  "],[10,2],[14,0,"app-placard__subtitle truncate-single-line"],[12],[1,[30,1,["platformAttributes","ios","subtitle"]]],[13],[1,"\\n"]],[]],null]],[]]],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n"],[41,[30,1,["isIOSBinaryMacOSCompatible"]],[[[1,"          "],[8,[39,11],[[24,0,"app-placard__cta we-button--light"]],[["@url"],[[30,1,["url"]]]],null],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@app","@appEvent"],false,["unless","pages/app/we-banner","t","if","is-live-event","did-insert","will-destroy","format-date","format-event-badge","amp-artwork/wea","or","we-web-to-native-cta/mac-app-store"]]',moduleName:"web-experience-app/components/pages/app-event.hbs",isStrictMode:!1})
let _=(m=new WeakMap,c=class extends r.default{constructor(){super(...arguments),f(this,"clock",u,this),f(this,"platform",d,this),b(this,m,{writable:!0,value:null})}get availabilityMessageKey(){return(0,l.availabilityMessageKey)(this.args.app,this.platform)}get backgroundStyles(){let e=""
return this.backgroundArtwork&&(e+=`--event-background-image: url(${this.backgroundArtwork});`),this.backgroundBlurredArtwork&&(e+=`--event-background-blurred-image: url(${this.backgroundBlurredArtwork});`),(0,n.htmlSafe)(e)}get backgroundArtwork(){return P("sr",this.args.appEvent)}get backgroundBlurredArtwork(){return P("br",this.args.appEvent)}subscribeToClock(){h(this,m,(()=>(0,p.shouldUnsubscribe)(this.args.appEvent))),(0,p.shouldSubscribe)(this.args.appEvent)&&this.clock.subscribe(g(this,m))}unsubscribeFromClock(){this.clock.unsubscribe(g(this,m))}},u=w(c.prototype,"clock",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=w(c.prototype,"platform",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w(c.prototype,"subscribeToClock",[s.action],Object.getOwnPropertyDescriptor(c.prototype,"subscribeToClock"),c.prototype),w(c.prototype,"unsubscribeFromClock",[s.action],Object.getOwnPropertyDescriptor(c.prototype,"unsubscribeFromClock"),c.prototype),c)
function P(e,t){const{lockupArtwork:i,lockupVideo:r}=t,n=r?.previewFrame||i
return n?(0,o.buildSrc)(n.url,{width:90,height:160,crop:e}):""}e.default=_,(0,t.setComponentTemplate)(v,_)}))
define("web-experience-app/components/pages/app",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","web-experience-app/utils/apps/device-support"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d
function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const b=(0,i.createTemplateFactory)({id:"26II8wQG",block:'[[[8,[39,0],null,[["@model","@developer","@displayPrice","@primaryPlatform","@showPreorder"],[[30,1],[30,1,["developer"]],[30,2],[30,3],[30,4]]],null],[1,"\\n\\n"],[41,[30,5],[[[44,[[28,[37,3],["app"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppBundlePages.NumberAppsInBundle.Many"],[["count"],[[30,5,["length"]]]]]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,5,["length"]],[30,5,["meta","next"]],[30,6,["small"]],[30,6,["medium"]],[30,6,["large"]],"appsInBundle"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,5],[30,6]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,6,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,7,["id"]],[30,7,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfAppsInBundle"]]]]],[["@clampProfile","@model","@artworkProfile"],["app-bundle-shelf",[30,7],[30,6,["artwork"]]]],null],[1,"\\n        "]],[7]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[6]]]],[]],null],[1,"\\n"],[41,[28,[37,10],[[28,[37,11],[[30,8]],null]],null],[[[1,"  "],[8,[39,12],null,[["@screenshotGroups","@selectedPlatform"],[[30,8],[30,0,["selectedPlatform"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["description"]],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n    "],[10,0],[14,0,"section__description"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline visuallyhidden"],[12],[1,[28,[35,4],["WEA.AppPages.Description.Header"],null]],[13],[1,"\\n      "],[10,0],[14,0,"l-row"],[12],[1,"\\n        "],[8,[39,13],[[24,0,"l-column small-12 medium-9 large-8"]],[["@clampProfile","@dataMetricsClick","@isInteractive","@value"],["product-description-app",[28,[37,9],["expandMore"],null],true,[28,[37,14],[[30,0,["description"]]],null]]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,15],[[30,1,["supportsArcade"]],[30,1,["editorsNotes"]]],null],[[[1,"  "],[10,"section"],[14,0,"section section--no-padding-top section--no-padding-bottom section--bordered"],[12],[1,"\\n    "],[8,[39,16],null,[["@quote"],[[30,1,["editorsNotes"]]]],null],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,15],[[30,3,["mostRecentVersion","releaseNotes"]],[28,[37,10],[[28,[37,17],[[30,1,["isPreorder"]],[30,1,["isFirstPartyHideableApp"]]],null]],null]],null],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section--bordered whats-new"],[12],[1,"\\n    "],[10,0],[14,0,"section__nav section__nav--small"],[12],[1,"\\n      "],[10,"h2"],[14,0,"whats-new__headline"],[12],[1,[28,[35,4],["WEA.AppPages.WhatsNew.Header"],null]],[13],[1,"\\n"],[41,[30,3,["versionHistory"]],[[[1,"        "],[8,[39,18],[[24,0,"version-history"]],[["@metricsTarget","@triggerText"],["versionHistory",[28,[37,4],["WEA.AppPages.VersionHistory.Title"],null]]],[["default"],[[[[1,"\\n          "],[10,"h3"],[14,0,"version-history__headline"],[12],[1,[28,[35,4],["WEA.AppPages.VersionHistory.Title"],null]],[13],[1,"\\n          "],[10,"ul"],[14,0,"version-history__items"],[12],[1,"\\n"],[42,[28,[37,20],[[28,[37,20],[[30,3,["versionHistory"]]],null]],null],null,[[[1,"              "],[10,"li"],[14,0,"version-history__item"],[12],[1,"\\n                "],[10,"h4"],[14,0,"version-history__item__version-number"],[12],[1,[30,10,["versionDisplay"]]],[13],[1,"\\n                "],[1,[28,[35,21],[[30,10,["releaseDate"]]],[["classNames"],["version-history__item__release-date"]]]],[1,"\\n                "],[8,[39,13],[[24,0,"version-history__item__release-notes"]],[["@clampProfile","@dataMetricsClick","@isInteractive","@value"],["app-version-history",[28,[37,9],["expandMore"],null],[30,9,["isOpen"]],[28,[37,14],[[30,10,["releaseNotes"]]],null]]],null],[1,"\\n              "],[13],[1,"\\n"]],[10]],null],[1,"          "],[13],[1,"\\n        "]],[9]]]]],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n    "],[10,0],[14,0,"l-row whats-new__content"],[12],[1,"\\n"],[41,[30,3,["versionHistory"]],[[[1,"        "],[10,0],[14,0,"l-column small-12 medium-3 large-4 small-valign-top whats-new__latest"],[12],[1,"\\n          "],[10,0],[14,0,"l-row"],[12],[1,"\\n            "],[1,[28,[35,21],[[30,3,["mostRecentVersion","releaseDate"]]],[["class"],["l-column small-6 medium-12 whats-new__latest__date"]]]],[1,"\\n            "],[10,2],[14,0,"l-column small-6 medium-12 whats-new__latest__version"],[12],[1,[28,[35,4],["WEA.AppPages.Version"],null]],[1," "],[1,[30,3,["mostRecentVersion","versionDisplay"]]],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"l-column small-12 medium-9 large-8 small-valign-top"],[12],[1,"\\n        "],[8,[39,13],null,[["@clampProfile","@dataMetricsClick","@isInteractive","@value"],["app-whats-new",[28,[37,9],["expandMore"],null],true,[28,[37,14],[[30,3,["mostRecentVersion","releaseNotes"]]],null]]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showReviewSection"]],[[[1,"  "],[8,[39,22],null,[["@editorsNotes","@hasUserRating","@isEditorsChoice","@reviews","@userRating"],[[30,1,["editorsNotes"]],[28,[37,23],[[30,1,["userRating","ratingCount"]],0],null],[30,1,["isEditorsChoice"]],[30,11],[30,1,["userRating"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,12],[[[44,[[28,[37,3],["appEvent"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.Events.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,12,["length"]],[30,12,["meta","next"]],[30,13,["small"]],[30,13,["medium"]],[30,13,["large"]],"appEvents"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,12],[30,13]]],[["default"],[[[[1,"\\n          "],[8,[39,24],[[16,0,[28,[37,8],[[30,13,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-event-module"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,14,["id"]],[30,14,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfAppEvents"]]]]],[["@model","@profile"],[[30,14],[30,13]]],null],[1,"\\n        "]],[14]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[13]]]],[]],null],[1,"\\n"],[44,[[28,[37,3],["default"],null]],[[[41,[30,16],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Subscriptions.Title"],null]],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,16,["length"]],[30,16,["meta","next"]],[30,15,["small"]],[30,15,["medium"]],[30,15,["large"]],"subscriptions"]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile","@artworkProfile","@metricsLocation"],[[30,16],[30,15],"lockup-6-4-6","shelfSubscriptions"]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,17],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.InAppPurchases.Title"],null]],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,17,["length"]],[30,17,["meta","next"]],[30,15,["small"]],[30,15,["medium"]],[30,15,["large"]],"inAppPurchases"]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile","@artworkProfile","@metricsLocation"],[[30,17],[30,15],"lockup-6-4-6","shelfInAppPurchases"]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null]],[15]]],[1,"\\n"],[41,[30,0,["showAppPrivacy"]],[[[1,"  "],[8,[39,25],null,[["@app"],[[30,1]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[10,"section"],[14,0,"l-content-width section section--bordered section--information"],[12],[1,"\\n  "],[10,0],[12],[1,"\\n    "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Information.Title"],null]],[13],[1,"\\n    "],[10,"dl"],[14,0,"information-list information-list--app medium-columns l-row"],[12],[1,"\\n"],[41,[30,1,["sellerLabel"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[30,1,["sellerLabel"]]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n            "],[1,[30,1,["seller"]]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[28,[37,15],[[30,1,["size"]],[28,[37,10],[[30,1,["isFirstPartyHideableApp"]]],null]],null],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Size"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[15,"aria-label",[29,[[28,[37,26],[[30,1,["size"]],"B"],null]]]],[12],[1,[28,[35,26],[[30,1,["size"]],"b"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["primaryGenre"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Category"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n"],[41,[30,1,["primaryGenre","url"]],[[[1,"              "],[10,3],[15,6,[30,1,["primaryGenre","url"]]],[14,0,"link"],[15,"data-metrics-click",[28,[37,9],["linkToGenre"],[["url"],[[30,1,["primaryGenre","url"]]]]]],[12],[1,"\\n                "],[1,[30,1,["primaryGenre","name"]]],[1,"\\n              "],[13],[1,"\\n"]],[]],[[[1,"              "],[1,[30,1,["primaryGenre","name"]]],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Compatibility"],null]],[13],[1,"\\n"],[41,[30,0,["requirementsByDeviceFamily"]],[[[1,"          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n"],[42,[28,[37,20],[[28,[37,20],[[30,0,["requirementsByDeviceFamily"]]],null]],null],null,[[[1,"              "],[10,"dl"],[14,0,"information-list__item__definition__item"],[12],[1,"\\n                "],[10,"dt"],[14,0,"information-list__item__definition__item__term"],[12],[1,"\\n                  "],[1,[30,18,["deviceFamily"]]],[1,"\\n                "],[13],[1,"\\n                "],[10,"dd"],[14,0,"information-list__item__definition__item__definition"],[12],[1,[30,18,["requirementString"]]],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[18]],null],[1,"          "],[13],[1,"\\n"]],[]],[[[1,"          "],[8,[39,13],[[24,0,"information-list__item__definition"]],[["@clampProfile","@dataMetricsClick","@tagName","@isInteractive","@value"],["software-info",[28,[37,9],["expandMore"],null],"dd",true,[28,[37,27],[[30,0,["requirementsString"]]],null]]],null],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n"],[41,[30,1,["supportsGameController"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.GameController"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,[28,[35,4],["WEA.AppPages.Optional"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Languages"],null]],[13],[1,"\\n        "],[8,[39,13],[[24,0,"information-list__item__definition"]],[["@clampProfile","@tagName","@isInteractive","@value"],["software-info","dd",true,[30,1,["languagesDisplayString"]]]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.AgeRating"],null]],[13],[1,"\\n        "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n"],[41,[30,1,["primaryPlatform","ageBand"]],[[[1,[28,[35,4],["WEA.AppPages.AgeRating.Value"],[["ageRating","min","max"],[[30,1,["ratingText"]],[30,1,["primaryPlatform","ageBand","minAge"]],[30,1,["primaryPlatform","ageBand","maxAge"]]]]]],[1,"\\n"]],[]],[[[1,"            "],[1,[30,1,["ratingText"]]],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,1,["contentRatingsBySystem","appsApple","advisories"]],[[[42,[28,[37,20],[[28,[37,20],[[30,1,["contentRatingsBySystem","appsApple","advisories"]]],null]],null],null,[[[1,"              "],[10,1],[14,0,"information-list__item__definition"],[12],[1,[30,19]],[13],[1,"\\n"]],[19]],null]],[]],null],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[30,1,["usesLocationBackgroundMode"]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Location.Title"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,[28,[35,4],["WEA.AppPages.Location.Description"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n        "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Copyright"],null]],[13],[1,"\\n        "],[10,"dd"],[14,0,"information-list__item__definition information-list__item__definition--copyright"],[12],[1,[30,1,["copyright"]]],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[51,[30,1,["supportsArcade"]]],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.Price.Title"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,[30,2]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[28,[37,17],[[30,3,["usesExternalLinkPurchase"]],[30,3,["usesExternalPurchase"]]],null],[[[1,"        "],[8,[39,29],null,null,null],[1,"\\n"]],[]],[[[41,[28,[37,15],[[30,1,["topInApps"]],[28,[37,10],[[30,1,["isPreorder"]]],null]],null],[[[1,"        "],[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n          "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,4],["WEA.AppPages.InAppPurchases.Title"],null]],[13],[1,"\\n          "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n            "],[10,"ol"],[14,"role","table"],[14,0,"list-with-numbers"],[12],[1,"\\n              "],[8,[39,30],null,[["@items","@clampProfile"],[[30,1,["topInApps"]],"app-info-iap"]],[["default"],[[[[1,"\\n                "],[10,"li"],[14,0,"list-with-numbers__item"],[12],[1,"\\n                  "],[10,1],[14,0,"list-with-numbers__item__title"],[12],[10,1],[14,0,"truncate-single-line truncate-single-line--block"],[12],[1,[30,20,["name"]]],[13],[13],[1,"\\n                  "],[10,1],[14,0,"list-with-numbers__item__price small-hide medium-show-tablecell"],[12],[1,[30,20,["productOffers","buyPriceFormatted"]]],[13],[1,"\\n                "],[13],[1,"\\n              "]],[20]]]]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "]],[]],null]],[]]],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"small-hide medium-show"],[12],[1,"\\n    "],[10,"ul"],[14,0,"inline-list inline-list--app-extensions"],[12],[1,"\\n"],[41,[30,1,["websiteUrl"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToDeveloper"],null]],[15,6,[29,[[30,1,["websiteUrl"]]]]],[12],[1,"\\n            "],[1,[28,[35,4],["WEA.AppPages.DeveloperWebsite"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["supportURLForLanguage"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToAppSupport"],null]],[15,6,[29,[[30,1,["supportURLForLanguage"]]]]],[12],[1,"\\n            "],[1,[28,[35,4],["WEA.AppPages.AppSupport"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["hasEula"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[8,[39,31],[[24,0,"link"]],[["@triggerLocKey","@model","@eulaContent"],["WEA.AppPages.LicenseAgreement",[30,1],[30,1,["eula"]]]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,1,["privacyPolicyUrl"]],[[[1,"        "],[10,"li"],[14,0,"inline-list__item inline-list__item--margin-inline-end-large"],[12],[1,"\\n          "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToPrivacyPolicy"],null]],[15,6,[29,[[30,1,["privacyPolicyUrl"]]]]],[12],[1,"\\n            "],[1,[28,[35,4],["WEA.AppPages.PrivacyPolicy"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,"section"],[14,0,"section section--link-list l-content-width medium-hide"],[12],[1,"\\n  "],[10,"ul"],[14,0,"link-list link-list--a"],[12],[1,"\\n"],[41,[30,1,["websiteUrl"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToDeveloper"],null]],[15,6,[29,[[30,1,["websiteUrl"]]]]],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.DeveloperWebsite"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,1,["supportURLForLanguage"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToAppSupport"],null]],[15,6,[29,[[30,1,["supportURLForLanguage"]]]]],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.AppSupport"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,1,["hasEula"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[8,[39,31],[[24,0,"link"]],[["@triggerLocKey","@model","@eulaContent"],["WEA.AppPages.LicenseAgreement",[30,1],[30,1,["eula"]]]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,1,["privacyPolicyUrl"]],[[[1,"      "],[10,"li"],[14,0,"link-list__item link-list__item--a"],[12],[1,"\\n        "],[10,3],[14,0,"link icon icon-after icon-external"],[15,"data-metrics-click",[28,[37,9],["linkToPrivacyPolicy"],null]],[15,6,[29,[[30,1,["privacyPolicyUrl"]]]]],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.PrivacyPolicy"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[41,[30,0,["supports","length"]],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n    "],[10,0],[14,0,"section__nav"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Supports.Title"],null]],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,"ul"],[14,0,"supports-list l-row"],[12],[1,"\\n"],[42,[28,[37,20],[[28,[37,20],[[30,0,["supports"]]],null]],null],null,[[[1,"        "],[10,"li"],[15,0,[29,["supports-list__item l-column l-column--grid small-12 medium-6 ",[52,[28,[37,32],[[30,0,["supports","length"]],4],null],"large-3","large-4"]]]],[12],[1,"\\n          "],[10,"img"],[15,"src",[30,21,["icon"]]],[14,0,"supports-list__item__artwork"],[14,"alt",""],[12],[13],[1,"\\n          "],[10,0],[14,0,"supports-list__item__copy"],[12],[1,"\\n            "],[8,[39,13],[[24,0,"supports-list__item__copy__heading"]],[["@dataMetricsClick","@tagName","@value"],[[28,[37,9],["expandMore"],null],"h3",[28,[37,4],[[30,21,["locTitle"]]],null]]],null],[1,"\\n            "],[8,[39,13],[[24,0,"supports-list__item__copy__description"]],[["@dataMetricsClick","@tagName","@isInteractive","@clampProfile","@value"],[[28,[37,9],["expandMore"],null],"h4",true,"supports-description",[28,[37,8],[[28,[37,4],[[30,21,["locDescription"]]],null],[52,[28,[37,10],[[28,[37,33],null,null]],null],[30,0,["supportsFamilySharingLearnMoreEl"]]]],null]]],null],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[21]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,22],[[[44,[[28,[37,3],["editorialItem"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.FeaturedIn.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,22,["length"]],[30,22,["meta","next"]],[30,23,["small"]],[30,23,["medium"]],[30,23,["large"]],"relatedEditorialItems"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,22],[30,23]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,23,["columnClassNames"]]," we-lockup--shelf-align-top"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,24,["id"]],[30,24,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfFeaturedIn"]]]]],[["@model","@eyebrow","@subtitle","@artwork","@artworkProfile","@title"],[[30,24],[30,24,["label"]],[28,[37,14],[[30,24,["editorialNotes","short"]]],null],[30,24,["cardArtwork"]],[30,23,["artwork"]],[30,24,["editorialNotes","name"]]]],null],[1,"\\n        "]],[24]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[23]]]],[]],null],[1,"\\n"],[41,[30,25],[[[44,[[28,[37,3],["app"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.MoreByThisDeveloper.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,25,["length"]],[30,25,["meta","next"]],[30,26,["small"]],[30,26,["medium"]],[30,26,["large"]],"developerOtherApps"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,25],[30,26]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,26,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,27,["id"]],[30,27,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfDeveloperOtherApps"]]]]],[["@model","@subtitle","@artworkProfile","@clampProfile"],[[30,27],[30,27,["primaryGenreName"]],[30,26,["artwork"]],"app-lockup"]],null],[1,"\\n        "]],[27]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[26]]]],[]],null],[1,"\\n"],[41,[30,28],[[[44,[[28,[37,3],["app"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.CustomersAlsoBought.Title"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,28,["length"]],[30,28,["meta","next"]],[30,29,["small"]],[30,29,["medium"]],[30,29,["large"]],"customersAlsoBoughtApps"]],null],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n        "],[8,[39,6],null,[["@items","@profile"],[[30,28],[30,29]]],[["default"],[[[[1,"\\n          "],[8,[39,7],[[16,0,[28,[37,8],[[30,29,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,9],["navigateShelf"],[["id","url"],[[30,30,["id"]],[30,30,["url"]]]]]],[16,"data-metrics-location",[28,[37,9],["location"],[["sectionType"],["shelfCustomersAlsoBoughtApps"]]]]],[["@model","@clampProfile","@artworkProfile","@subtitle"],[[30,30],"app-lockup",[30,29,["artwork"]],[30,30,["primaryGenreName"]]]],null],[1,"\\n        "]],[30]]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[29]]]],[]],null]],["@model","@displayPrice","@primaryPlatform","@showPreorder","@appsInBundle","profile","item","@screenshotGroups","modal","version","@reviews","@appEvents","profile","item","profile","@subscriptions","@promotedInApps","req","advisory","iap","supportsSection","@relatedEditorialItems","profile","item","@developerOtherApps","profile","item","@customersAlsoBoughtApps","profile","item"],false,["pages/app/header","if","let","shelf-profile","t","we-see-all","we-shelf","we-lockup","concat","metrics-data","not","is-empty","pages/app/screenshots","we-truncate","html-sanitize","and","pages/app/editorial-quote","or","we-modal","each","-track-array","time-tag","pages/app/reviews","gt","we-lockup/app-event","pages/app/privacy","loc-filesize","attr-sanitize","unless","pages/app/external-purchases/information","we-truncate-list","pages/app/eula-modal","gte","is-ssr"]]',moduleName:"web-experience-app/components/pages/app.hbs",isStrictMode:!1}),g=["iphone","ipad","ipod","mac","tvos","watchos"],h={isGameControllerSupported:{testAttribute:"gamecontroller",locTitle:"WEA.AppPages.Supports.GameController.Title",locDescription:"WEA.AppPages.Supports.GameController.Description",icon:"/assets/images/supports/supports-GameController@2x-d57182844bc1a9d58eb45b36c8a5560d.png"},isWalletSupported:{testAttribute:"wallet",locTitle:"WEA.AppPages.Supports.Wallet.Title",locDescription:"WEA.AppPages.Supports.Wallet.Description",icon:"/assets/images/supports/supports-Wallet@2x-daec7ef3fb160308d05ddd69a2b1dece.png"},isGameCenterSupported:{testAttribute:"gamecenter",locTitle:"WEA.AppPages.Supports.GameCenter.Title",locDescription:"WEA.AppPages.Supports.GameCenter.Description",icon:"/assets/images/supports/supports-GameCenter@2x-b18ad603e773b291954f4076405b2f24.png"},canFamilyShareApp:{testAttribute:"family-sharing",locTitle:"WEA.AppPages.Supports.FamilySharing.Title",locDescription:"WEA.AppPages.Supports.FamilySharing.Description",icon:"/assets/images/supports/supports-FamilySharing@2x-f58f31bc78fe9fe7be3565abccbecb34.png"},canFamilyShareInAppPurchases:{testAttribute:"family-sharing",locTitle:"WEA.AppPages.Supports.FamilySharing.Title",locDescription:"WEA.AppPages.Supports.FamilySharing.Description.withIAP",icon:"/assets/images/supports/supports-FamilySharing@2x-f58f31bc78fe9fe7be3565abccbecb34.png"},isSiriSupported:{testAttribute:"siri",locTitle:"WEA.AppPages.Supports.Siri.Title",locDescription:"WEA.AppPages.Supports.Siri.Description",icon:"/assets/images/supports/supports-Siri@2x-24823d6579e391abe63d240af5ed42d2.png"}}
let y=(l=(0,a.computed)("args.model.{appDescription,description,promotionalText}"),s=(0,a.computed)("args.model.supportsArcade"),p=class extends r.default{constructor(){super(...arguments),m(this,"i18n",c,this),m(this,"platform",u,this),m(this,"router",d,this)}get description(){const{model:e={}}=this.args,{appDescription:t,description:i,promotionalText:r}=e
let n=t||i
return r&&(n=`${r}<br /><br />${n}`),n}get requirementsByDeviceFamily(){const{model:e={}}=this.args,{requirementsByDeviceFamily:t={}}=e
return t?g.map((e=>t[e])).filter(Boolean):{}}get showAppPrivacy(){let e={}
const{model:t={}}=this.args,i=this.platform.browser.isiOS,r=(0,o.primaryPlatformSupported)(t.deviceFamilies,i)
return r&&(e=t[r]),!!e&&!e.bundleId?.includes("com.apple.InstallAssistant.")}get requirementsString(){const{model:e={}}=this.args
let{requirementsString:t}=e
const{i18n:i}=this
return t||(t=this.iOSMacRequirementString(e)),(0,o.isAppleTVSupported)(e.deviceFamilies)&&(t=`${t} ${i.t("WEA.AppPages.AppleTV")}${i.t("WEA.Common.SentenceDelimiter")}`),t}iOSMacRequirementString(e){const{deviceFamilies:t,isPrimaryiOS:i,isPrimarymacOS:r,primaryPlatform:n,osxPlatform:a,iosPlatform:l}=e
if(n&&t.length>=1){const{requirementsString:e}=n
if((0,o.isiOSSupported)(t)&&(0,o.isMacSupported)(t)){const t=this.i18n.t("WEA.Common.SentenceDelimiter")
if(r&&l)return`${e}${t} ${l.requirementsString}`
if(i&&a)return`${e} ${a.requirementsString}${t}`}return e}}get selectedPlatform(){const{platform:e}=this.router.currentRoute.queryParams
return e||this.args.screenshotGroups?.[0]?.platform}get showReviewSection(){const{model:e={},reviews:t=[]}=this.args
return!e.isPreorder&&!e.supportsArcade&&(!!e.editorsNotes||t.length>0||e.userRating?.ratingCount>0)}get supports(){const{model:e={}}=this.args
return["isGameControllerSupported","isWalletSupported","isGameCenterSupported","canFamilyShareApp","canFamilyShareInAppPurchases","isSiriSupported"].filter((t=>e[t])).map((e=>h[e]))}get supportsFamilySharingLearnMoreEl(){const{familySharingStoryLink:e}=this.args
if(e)return` <a class="link" data-we-link-to-exclude data-test-family-sharing-learn-more href=${e}>${this.i18n.t("WEA.Common.LearnMore")}</a>`}},c=f(p.prototype,"i18n",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=f(p.prototype,"platform",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=f(p.prototype,"router",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f(p.prototype,"description",[l],Object.getOwnPropertyDescriptor(p.prototype,"description"),p.prototype),f(p.prototype,"showReviewSection",[s],Object.getOwnPropertyDescriptor(p.prototype,"showReviewSection"),p.prototype),p)
e.default=y,(0,t.setComponentTemplate)(b,y)})),define("web-experience-app/components/pages/app/editor-notes",["exports","@ember/component","@ember/template-factory","@glimmer/component"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"j9yWx12k",block:'[[[10,0],[14,0,"we-editor-notes lockup"],[12],[1,"\\n"],[41,[30,1],[[[1,"    "],[10,0],[14,0,"we-editor-notes__editor we-editor-notes--editor-choice"],[12],[1,"\\n      "],[10,"h3"],[14,0,"we-editor-notes__editor__editor-choice"],[12],[1,[28,[35,1],["WEA.AppPages.EditorsChoice"],null]],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[1,"    "],[10,0],[14,0,"we-editor-notes__editor"],[12],[1,"\\n      "],[10,"h3"],[14,0,"we-editor-notes__editor__editor-notes"],[12],[1,[28,[35,1],["WEA.AppPages.EditorsNotes.Header"],null]],[13],[1,"\\n    "],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["isTruncated"]],[[[1,"    "],[8,[39,2],null,[["@value","@clampProfile","@dataMetricsClick","@isInteractive","@onShowMore"],[[28,[37,3],[[30,2]],null],[52,[30,1],"review-editor-choice","review-editor-notes"],[28,[37,4],["expandMore"],null],true,[52,[30,3],[30,3],false]]],null],[1,"\\n"]],[]],[[[1,"    "],[1,[28,[35,3],[[30,2]],null]],[1,"\\n"]],[]]],[13],[1,"\\n"]],["@isEditorsChoice","@notes","@onShowMore"],false,["if","t","we-truncate","html-sanitize","metrics-data"]]',moduleName:"web-experience-app/components/pages/app/editor-notes.hbs",isStrictMode:!1})
class a extends r.default{get isTruncated(){return this.args.isTruncated??!0}}e.default=a,(0,t.setComponentTemplate)(n,a)})),define("web-experience-app/components/pages/app/editorial-quote",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"H16qEjGx",block:'[[[10,0],[14,0,"we-editorial-quote"],[12],[1,"\\n  "],[10,0],[14,0,"we-editorial-quote__wrapper l-content-width"],[12],[1,"\\n    "],[10,"blockquote"],[14,0,"we-editorial-quote__blockquote column medium-8 medium-offset-2"],[12],[1,"\\n      "],[10,2],[14,0,"we-editorial-quote__text"],[12],[1,[28,[35,0],[[30,1]],null]],[13],[1,"\\n      "],[10,"cite"],[14,0,"we-editorial-quote__author"],[12],[1,"— "],[1,[28,[35,1],["WEA.AppPages.Arcade.Editorial.Author"],null]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@quote"],false,["html-sanitize","t"]]',moduleName:"web-experience-app/components/pages/app/editorial-quote.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/app/eula-modal",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","@glimmer/tracking"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const y=(0,i.createTemplateFactory)({id:"aRa2gLMY",block:'[[[11,0],[17,1],[12],[1,"\\n  "],[8,[39,0],[[24,0,"license"]],[["@triggerText","@metricsTarget","@onModalOpen"],[[28,[37,1],[[30,2]],null],"eula",[30,0,["loadEula"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["eulaContentLoaded"]],[[[1,"      "],[10,"h2"],[14,0,"license__title"],[12],[1,"\\n        "],[1,[28,[35,1],["WEA.AppPages.Eula.Title"],[["appName","version"],[[30,3,["name"]],[30,0,["version"]]]]]],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"license__copy"],[12],[1,"\\n        "],[1,[28,[35,3],[[30,0,["processedEulaContent"]]],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[41,[30,0,["eulaContentFailedLoading"]],[[[1,"      "],[10,0],[12],[1,"\\n        "],[1,[28,[35,1],["WEA.AppPages.Eula.Error"],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[1,"      "],[8,[39,4],null,[["@forceDisplay"],[true]],null],[1,"\\n    "]],[]]]],[]]],[1,"  "]],[]]]]],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@triggerLocKey","@model"],false,["we-modal","t","if","html-safe","we-loading-spinner"]]',moduleName:"web-experience-app/components/pages/app/eula-modal.hbs",isStrictMode:!1})
let w=(l=(0,a.inject)("media-api/apps"),s=(0,n.computed)("appViewState.isMacAppStoreView"),p=(0,n.computed)("args.model.primaryPlatform.versionHistory.[]"),c=class extends r.default{constructor(){super(...arguments),g(this,"appViewState",u,this),g(this,"appsApi",d,this),g(this,"eulaContentLoaded",m,this),g(this,"_deferredEulaContent",f,this),g(this,"eulaContentFailedLoading",b,this)}get eulaContent(){return this.args.eulaContent||this._deferredEulaContent}get platform(){return this.appViewState.isMacAppStoreView?"mac":"iphone"}get processedEulaContent(){return this.eulaContent?`<p>${this.eulaContent.replace(/\n/g,"</p><p>")}</p>`:""}get version(){const{primaryPlatform:{versionHistory:e}={}}=this.args.model,t=e?e[0]:null
return t?t.versionString||t.versionDisplay:""}async loadEula(){const{platform:e}=this
if(this.args.eulaContent)return this.eulaContentLoaded=!0,void(this.eulaContentFailedLoading=!1)
this.eulaContentLoaded=!1
try{const t=await this.appsApi.getEula(this.args.model.id,{platform:e})
if(this.isDestroying||this.isDestroyed)return
this._deferredEulaContent=t.text,this.eulaContentLoaded=!0,this.eulaContentFailedLoading=!1}catch(t){if(this.isDestroying||this.isDestroyed)return
this.eulaContentLoaded=!1,this.eulaContentFailedLoading=!0}}},u=h(c.prototype,"appViewState",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=h(c.prototype,"appsApi",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=h(c.prototype,"eulaContentLoaded",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=h(c.prototype,"_deferredEulaContent",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),b=h(c.prototype,"eulaContentFailedLoading",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h(c.prototype,"platform",[s],Object.getOwnPropertyDescriptor(c.prototype,"platform"),c.prototype),h(c.prototype,"version",[p],Object.getOwnPropertyDescriptor(c.prototype,"version"),c.prototype),h(c.prototype,"loadEula",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"loadEula"),c.prototype),c)
e.default=w,(0,t.setComponentTemplate)(y,w)})),define("web-experience-app/components/pages/app/external-purchases/banner",["exports","@ember/component","@ember/template-factory","web-experience-app/components/pages/app/external-purchases/index"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Ss4PtOI0",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n  "],[1,[28,[35,1],["WEA.AppPages.ExternalPurchaseBanner.Text"],null]],[1,"\\n  "],[10,3],[14,0,"link"],[14,"data-we-link-to-exclude",""],[15,"data-metrics-click",[28,[37,2],["linkToExternalPurchasesLearnMore"],[["url"],[[30,0,["externalPurchasesStoryLink"]]]]]],[15,6,[30,0,["externalPurchasesStoryLink"]]],[12],[1,"\\n    "],[1,[28,[35,1],["WEA.AppPages.ExternalPurchaseBanner.CTA.Text"],null]],[1,"\\n  "],[13],[1,"\\n"]],[]]]]]],[],false,["pages/app/we-banner","t","metrics-data"]]',moduleName:"web-experience-app/components/pages/app/external-purchases/banner.hbs",isStrictMode:!1})
class a extends r.default{}e.default=a,(0,t.setComponentTemplate)(n,a)})),define("web-experience-app/components/pages/app/external-purchases/header-list-item",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Q47C5lAV",block:'[[[10,"li"],[14,0,"inline-list__item inline-list__item--bulleted app-header__list__item--external-purchase"],[12],[1,"\\n  "],[1,[28,[35,0],["WEA.AppPages.OffersExternalPurchases"],null]],[1,"\\n"],[13]],[],false,["t"]]',moduleName:"web-experience-app/components/pages/app/external-purchases/header-list-item.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/app/external-purchases/index",["exports","@glimmer/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{constructor(){var e,t,i
super(...arguments),i="https://web.archive.org/web/20220531203922/https://apps.apple.com/nl/story/id1604959672",(t="externalPurchasesStoryLink")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}}e.default=i})),define("web-experience-app/components/pages/app/external-purchases/information",["exports","@ember/component","@ember/template-factory","web-experience-app/components/pages/app/external-purchases/index"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"AyZZh58H",block:'[[[10,0],[14,0,"information-list__item l-column small-12 medium-6 large-4 small-valign-top"],[12],[1,"\\n  "],[10,"dt"],[14,0,"information-list__item__term medium-valign-top"],[12],[1,[28,[35,0],["WEA.AppPages.ExternalPurchaseInformation.Title"],null]],[13],[1,"\\n  "],[10,"dd"],[14,0,"information-list__item__definition"],[12],[1,"\\n    "],[1,[28,[35,0],["WEA.AppPages.ExternalPurchaseInformation.Text"],null]],[1,"\\n    "],[10,3],[14,0,"link"],[14,"data-we-link-to-exclude",""],[15,"data-metrics-click",[28,[37,1],["linkToExternalPurchasesLearnMore"],[["url"],[[30,0,["externalPurchasesStoryLink"]]]]]],[15,6,[30,0,["externalPurchasesStoryLink"]]],[12],[1,"\\n      "],[1,[28,[35,0],["WEA.AppPages.ExternalPurchaseInformation.CTA.Text"],null]],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],[],false,["t","metrics-data"]]',moduleName:"web-experience-app/components/pages/app/external-purchases/information.hbs",isStrictMode:!1})
class a extends r.default{}e.default=a,(0,t.setComponentTemplate)(n,a)})),define("web-experience-app/components/pages/app/header",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","web-experience-app/utils/apps/device-support","web-experience-app/utils/apps/app-type"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d
function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const f=(0,i.createTemplateFactory)({id:"28mQmIXm",block:'[[[10,"section"],[14,0,"l-content-width section section--hero product-hero"],[12],[1,"\\n  "],[10,0],[14,0,"l-row"],[12],[1,"\\n    "],[10,0],[15,0,[29,["product-hero__media l-column small-5 ",[52,[30,0,["isAppleTVOnly"]],"medium-6 large-4","medium-4 large-3"]," small-valign-top"]]],[12],[1,"\\n"],[41,[28,[37,1],[[28,[37,2],[[30,1]],null],[30,0,["headerArtworkProfile"]]],null],[[[1,"        "],[8,[39,3],[[16,0,[28,[37,4],["product-hero__artwork we-artwork--fullwidth ",[30,0,["artworkClass"]]],null]]],[["@artwork","@lazyLoad","@profile"],[[28,[37,2],[[30,1]],null],false,[30,0,["headerArtworkProfile"]]]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n\\n    "],[10,0],[15,0,[29,["l-column small-7 ",[52,[30,0,["isAppleTVOnly"]],"medium-6 large-8","medium-8 large-9"]," small-valign-top"]]],[12],[1,"\\n      "],[10,"header"],[15,0,[29,["product-header app-header product-header--padded-start",[52,[30,1,["supportsArcade"]]," app-header--arcade"]]]],[12],[1,"\\n"],[41,[30,1,["supportsArcade"]],[[[1,"          "],[10,2],[14,0,"product-header__eyebrow"],[12],[1,"\\n            "],[1,[28,[35,5],["WEA.AppPages.Arcade.Branding.Title"],null]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n        "],[10,"h1"],[14,0,"product-header__title app-header__title"],[12],[1,"\\n          "],[1,[28,[35,6],[[30,1,["name"]]],null]],[1,"\\n"],[41,[30,1,["contentRating","name"]],[[[1,"            "],[10,1],[14,0,"badge badge--product-title"],[12],[1,[30,1,["contentRating","name"]]],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n\\n"],[41,[30,2,["subtitle"]],[[[1,"          "],[10,"h2"],[14,0,"product-header__subtitle app-header__subtitle"],[12],[1,"\\n            "],[1,[28,[35,6],[[30,2,["subtitle"]]],null]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n        "],[10,"h2"],[14,0,"product-header__identity app-header__identity"],[12],[1,"\\n          "],[10,3],[15,6,[29,[[30,3,["url"]]]]],[14,0,"link"],[15,"data-metrics-click",[28,[37,7],["linkToDeveloper"],[["id","url"],[[30,3,["id"]],[30,3,["url"]]]]]],[14,"dir","auto"],[12],[1,"\\n            "],[1,[30,3,["name"]]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n\\n"],[41,[30,0,["displaySiliconBadging"]],[[[1,"          "],[10,"h3"],[14,0,"app-header__designed-for"],[12],[1,"\\n"],[41,[30,0,["isiPadSupported"]],[[[1,"              "],[1,[28,[35,5],["WEA.AppPages.DesignedFor.iPad"],null]],[1,"\\n"]],[]],[[[1,"              "],[1,[28,[35,5],["WEA.AppPages.DesignedFor.iPhone"],null]],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,1,["supportsArcade"]]],[[[1,"          "],[10,"ul"],[14,0,"product-header__list app-header__list"],[12],[1,"\\n"],[41,[30,0,["showRankForStore"]],[[[1,"              "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,"\\n                "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n"],[41,[30,0,["rankForStore","chartLink"]],[[[1,"                    "],[10,3],[15,6,[30,0,["rankForStore","chartLink"]]],[14,0,"inline-list__item"],[15,"data-metrics-click",[28,[37,7],["openChartsLink"],[["url"],[[30,0,["rankForStore","chartLink"]]]]]],[14,"data-we-link-to-exclude",""],[12],[1,"\\n                      "],[1,[28,[35,5],["WEA.AppPages.RankInGenre"],[["rank","genreName"],[[30,0,["rankForStore","position"]],[30,0,["rankForStore","genreName"]]]]]],[1,"\\n                    "],[13],[1,"\\n"]],[]],[[[1,"                    "],[10,"li"],[14,0,"inline-list__item"],[12],[1,"\\n                      "],[1,[28,[35,5],["WEA.AppPages.RankInGenre"],[["rank","genreName"],[[30,0,["rankForStore","position"]],[30,0,["rankForStore","genreName"]]]]]],[1,"\\n                    "],[13],[1,"\\n"]],[]]],[1,"                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[28,[37,9],[[30,1,["userRating","ratingCount"]],0],null],[28,[37,10],[[30,1,["isPreorder"]]],null]],null],[[[1,"              "],[10,"li"],[14,0,"product-header__list__item app-header__list__item--user-rating"],[12],[1,"\\n                "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n                  "],[10,"li"],[14,0,"inline-list__item"],[12],[1,"\\n                    "],[8,[39,11],null,[["@value","@ratingCount"],[[30,1,["userRating","value"]],[30,1,["userRating","ratingCount"]]]],null],[1,"\\n                  "],[13],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n"]],[]],null],[1,"\\n        "],[10,"ul"],[14,0,"product-header__list app-header__list"],[12],[1,"\\n"],[41,[28,[37,1],[[30,1,["isPreorder"]],[30,4]],null],[[[41,[51,[30,1,["supportsArcade"]]],[[[1,"              "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,"\\n                "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n"],[1,"                  "],[10,"li"],[14,0,"inline-list__item app-header__list__item--preorder"],[12],[1,"\\n                    "],[1,[28,[35,5],["WEA.AppPages.PreOrder"],null]],[1,"\\n                  "],[13],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["mainPreorderOffer","expectedReleaseDate"]],[[[1,"              "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,"\\n                "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n                  "],[10,"li"],[15,0,[29,["inline-list__item ",[52,[30,1,["supportsArcade"]],"app-header__list__item--arcade-release-date"]]]],[12],[1,"\\n                    "],[1,[28,[35,5],["WEA.AppPages.ExpectedReleaseDate"],[["expectedReleaseDate"],[[28,[37,12],[[30,1,["mainPreorderOffer","expectedReleaseDate"]]],null]]]]],[1,"\\n                  "],[13],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n          "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,"\\n            "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n"],[41,[51,[30,1,["supportsArcade"]]],[[[1,"                "],[10,"li"],[14,0,"inline-list__item inline-list__item--bulleted app-header__list__item--price"],[12],[1,[30,5]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,13],[[30,2,["usesExternalLinkPurchase"]],[30,2,["usesExternalPurchase"]]],null],[[[1,"                "],[8,[39,14],null,null,null],[1,"\\n"]],[]],[[[41,[30,2,["hasInAppPurchases"]],[[[1,"                "],[10,"li"],[14,0,"inline-list__item inline-list__item--bulleted app-header__list__item--in-app-purchase"],[12],[1,[28,[35,5],["WEA.AppPages.OffersInAppPurchases"],null]],[13],[1,"\\n              "]],[]],null]],[]]],[1,"            "],[13],[1,"\\n          "],[13],[1,"\\n\\n"],[41,[28,[37,13],[[30,0,["isAppleTVOnly"]],[30,0,["isMessagesOnly"]]],null],[[[1,"            "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,"\\n              "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n"],[41,[30,0,["isAppleTVOnly"]],[[[1,"                  "],[10,"li"],[14,0,"inline-list__item"],[12],[1,[28,[35,5],["WEA.AppPages.OnlyForAppleTV"],null]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isMessagesOnly"]],[[[1,"                  "],[10,"li"],[14,0,"inline-list__item"],[12],[1,[28,[35,5],["WEA.AppPages.OnlyForiMessage"],null]],[13],[1,"\\n"]],[]],null],[1,"              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["regularPriceFormatted"]],[[[1,"            "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,"\\n              "],[10,"ul"],[14,0,"inline-list inline-list--mobile-compact"],[12],[1,"\\n                "],[10,"li"],[14,0,"inline-list__item"],[12],[1,[28,[35,5],["WEA.AppBundlePages.PurchasedSeparately"],[["price"],[[30,1,["regularPriceFormatted"]]]]]],[13],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n\\n"],[41,[30,0,["displayMacAppStoreCTA"]],[[[1,"          "],[10,0],[14,0,"product-header__routes app-header__routes"],[12],[1,"\\n            "],[10,2],[14,0,"product-header__routes__cta"],[12],[1,"\\n              "],[8,[39,15],null,[["@url"],[[30,1,["url"]]]],null],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["displayAppStoreCTA"]],[[[1,"          "],[10,0],[14,0,"product-header__routes app-header__routes"],[12],[1,"\\n            "],[10,2],[14,0,"product-header__routes__cta"],[12],[1,"\\n              "],[8,[39,16],null,[["@url"],[[30,1,["url"]]]],null],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["isPreorder"]],[30,4]],null],[[[1,"          "],[10,"ul"],[14,0,"product-header__list app-header__list"],[12],[1,"\\n            "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,[28,[35,5],["WEA.AppPages.PreOrderDisclaimer"],null]],[13],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["isStandaloneForWatchOS"]],[[[1,"          "],[10,"ul"],[14,0,"product-header__list app-header__list"],[12],[1,"\\n            "],[10,"li"],[14,0,"product-header__list__item"],[12],[1,[28,[35,5],["WEA.AppPages.StandAloneForWatch"],null]],[13],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","@primaryPlatform","@developer","@showPreorder","@displayPrice"],false,["if","and","app-artwork","amp-artwork/wea","concat","t","anchor-punctuation","metrics-data","unless","gt","not","we-star-rating","format-date","or","pages/app/external-purchases/header-list-item","we-web-to-native-cta/mac-app-store","we-web-to-native-cta/app-store"]]',moduleName:"web-experience-app/components/pages/app/header.hbs",isStrictMode:!1})
let b=(s=(0,n.computed)("args.model.{deviceFamilies.[],isSiliconSupported}"),p=(0,n.computed)("args.model.deviceFamilies.[]"),c=(0,n.computed)("args.model.deviceFamilies.[]"),u=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=d)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get showRankForStore(){return!!this.rankForStore}get isMessagesOnly(){return(0,l.isMessagesOnly)(this.args.model)}get artworkClass(){if(this.isAppleTVOnly)return"we-artwork--tvos-app-icon"
const{isPrimarymacOS:e,deviceFamilies:t}=this.args.model
return e||(0,o.primaryPlatformSupported)(t,this.platform.browser.isiOS)===o.PLATFORMS.mac?"we-artwork--not-round we-artwork--macos-app-icon":this.isMessagesOnly?"we-artwork--imessages-app-icon":"we-artwork--ios-app-icon"}get headerArtworkProfile(){return this.isAppleTVOnly?"product-hero-tvos-app":this.isMessagesOnly?"product-hero-imessage-app":"product-hero-ios-app"}get rankForStore(){const{isAppleWatchSupported:e,watchStoreRank:t,appStoreRank:i,messagesStoreRank:r,appleTVStoreRank:n}=this.args.model
return this.isMessagesOnly?r:this.isAppleTVOnly?n:e&&t?t:i}get displaySiliconBadging(){const{deviceFamilies:e,isSiliconSupported:t}=this.args.model
return t&&((0,o.isiPadSupported)(e)||(0,o.isiPhoneSupported)(e))}get displayMacAppStoreCTA(){return((0,o.isMacSupported)(this.args.model.deviceFamilies)||this.args.model.isSiliconSupported)&&this.platform.couldHaveMacAppStore}get displayAppStoreCTA(){return this.args.model.isIOSApp&&this.platform.couldHaveAppStore}get isAppleTVOnly(){return(0,o.isAppleTVOnly)(this.args.model.deviceFamilies)}get isiPadSupported(){return(0,o.isiPadSupported)(this.args.model.deviceFamilies)}},d=m(u.prototype,"platform",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(u.prototype,"displaySiliconBadging",[s],Object.getOwnPropertyDescriptor(u.prototype,"displaySiliconBadging"),u.prototype),m(u.prototype,"isAppleTVOnly",[p],Object.getOwnPropertyDescriptor(u.prototype,"isAppleTVOnly"),u.prototype),m(u.prototype,"isiPadSupported",[c],Object.getOwnPropertyDescriptor(u.prototype,"isiPadSupported"),u.prototype),u)
e.default=b,(0,t.setComponentTemplate)(f,b)})),define("web-experience-app/components/pages/app/privacy-modal",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/template","@ember/service","web-experience-app/config/index","@glimmer/tracking"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const y=(0,i.createTemplateFactory)({id:"+eitdC9U",block:'[[[8,[39,0],[[24,0,"app-privacy--modal privacy-type--modal"]],[["@metricsTarget","@onModalOpen","@triggerText"],["appPrivacy",[30,0,["loadContent"]],[28,[37,1],["WEA.Common.SeeDetails.Button"],null]]],[["default"],[[[[1,"\\n"],[41,[30,0,["privacyDetails"]],[[[1,"    "],[8,[39,3],null,[["@privacyDetails","@description","@privacyPolicy","@notVerifiedByApple","@managePrivacyLink","@privacyDefinitionsLink","@learnMore"],[[30,0,["privacyDetails"]],[30,1],[30,2],[30,0,["notVerifiedByApple"]],[30,0,["managePrivacyLink"]],[30,0,["privacyDefinitionsLink"]],[30,3]]],null],[1,"\\n"]],[]],[[[1,"    "],[8,[39,4],null,[["@forceDisplay"],[true]],null],[1,"\\n"]],[]]]],[]]]]],[1,"\\n"]],["@description","@privacyPolicy","@learnMore"],false,["we-modal","t","if","pages/app/privacy/modal-content","we-loading-spinner"]]',moduleName:"web-experience-app/components/pages/app/privacy-modal.hbs",isStrictMode:!1})
let w=(p=(0,o.inject)("media-api/apps"),c=(0,n.computed)("args.{app.developer.id,detailsProvided}"),u=(0,n.computed)("privacyDetails.managePrivacyChoicesUrl"),d=class extends r.default{constructor(){super(...arguments),g(this,"i18n",m,this),g(this,"appsApi",f,this),g(this,"privacyDetails",b,this)}get notVerifiedByApple(){return!!this.args.detailsProvided&&!l.default.privacyAppleDeveloperIDs.includes(this.args.app.developer.id)}get managePrivacyLink(){const{managePrivacyChoicesUrl:e}=this.privacyDetails||{}
return e?(0,a.htmlSafe)(`<a href="${e}">${this.i18n.t("WEA.AppPages.AppPrivacy.Description.ManagePrivacy.Link")}</a>`):""}get privacyDefinitionsLink(){const e=l.default.privacyDefinitionsUrl
return e?(0,a.htmlSafe)(`<a href="${e}">${this.i18n.t("WEA.AppPages.AppPrivacy.Description.PrivacyDefinitions.Link")}</a>`):""}async loadContent(){const{app:e}=this.args
if(this.privacyDetails)return!1
try{const{model:t}=await this.appsApi.getAppPrivacy(e.id)
this.privacyDetails=t.privacyDetails||{}}catch(t){}}},m=h(d.prototype,"i18n",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=h(d.prototype,"appsApi",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=h(d.prototype,"privacyDetails",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h(d.prototype,"notVerifiedByApple",[c],Object.getOwnPropertyDescriptor(d.prototype,"notVerifiedByApple"),d.prototype),h(d.prototype,"managePrivacyLink",[u],Object.getOwnPropertyDescriptor(d.prototype,"managePrivacyLink"),d.prototype),h(d.prototype,"loadContent",[n.action],Object.getOwnPropertyDescriptor(d.prototype,"loadContent"),d.prototype),d)
e.default=w,(0,t.setComponentTemplate)(y,w)})),define("web-experience-app/components/pages/app/privacy/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/template","@ember/service","@ember/object","web-experience-app/config/index"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d
function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const f=(0,i.createTemplateFactory)({id:"mep2871G",block:'[[[10,"section"],[14,0,"l-content-width section section--bordered app-privacy"],[12],[1,"\\n  "],[10,0],[14,0,"section__nav"],[12],[1,"\\n    "],[10,"h2"],[14,0,"section__headline section__headline--app-privacy"],[12],[1,"\\n      "],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Title"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[8,[39,1],null,[["@app","@detailsProvided","@description","@privacyPolicy","@learnMore"],[[30,1],[30,0,["detailsProvided"]],[30,0,["description"]],[30,0,["privacyPolicy"]],[30,0,["learnMore"]]]],null],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,2],[12],[1,"\\n    "],[1,[30,0,["description"]]],[1,[30,0,["privacyPolicy"]]],[1,"\\n  "],[13],[1,"\\n\\n"],[1,"  "],[10,0],[14,0,"app-privacy__cards"],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,1,["privacy","privacyTypes"]]],null]],null],null,[[[1,"      "],[10,0],[14,0,"app-privacy__card"],[12],[1,"\\n        "],[10,0],[14,0,"privacy-type__icon"],[12],[1,"\\n          "],[1,[28,[35,4],[[28,[37,5],[[30,2,["identifier"]]],null]],[["aria-hidden"],["true"]]]],[1,"\\n        "],[13],[1,"\\n        "],[10,"h3"],[14,0,"privacy-type__heading"],[12],[1,[30,2,["privacyType"]]],[13],[1,"\\n        "],[10,2],[14,0,"privacy-type__description"],[12],[1,[30,2,["description"]]],[13],[1,"\\n"],[41,[30,2,["dataCategories","length"]],[[[1,"          "],[10,"ul"],[15,0,[28,[37,7],["privacy-type__items",[52,[28,[37,8],[[30,2,["dataCategories","length"]],1],null]," privacy-type__items--single-item"]],null]],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,2,["dataCategories"]]],null]],null],null,[[[1,"              "],[10,"li"],[14,"classs","privacy-type__item"],[12],[1,"\\n                "],[10,1],[14,0,"privacy-type__grid"],[12],[1,"\\n                  "],[10,1],[14,0,"privacy-type__grid-icon"],[12],[1,"\\n                    "],[1,[28,[35,4],[[28,[37,9],[[30,3,["identifier"]]],null]],[["class","aria-hidden"],[[28,[37,7],["privacy-type__glyph privacy-type__glyph--",[28,[37,10],[[30,3,["identifier"]]],null]],null],"true"]]]],[1,"\\n                  "],[13],[1,"\\n                  "],[10,1],[14,0,"privacy-type__grid-content privacy-type__data-category-heading"],[12],[1,[30,3,["dataCategory"]]],[13],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n"]],[3]],null],[1,"          "],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n"]],[2]],[[[1,"\\n    "],[10,0],[14,0,"app-privacy__card"],[12],[1,"\\n      "],[10,0],[14,0,"privacy-type__icon"],[12],[1,"\\n        "],[1,[28,[35,4],[[28,[37,5],["NO_DETAILS"],null]],[["aria-hidden"],["true"]]]],[1,"\\n      "],[13],[1,"\\n      "],[10,"h3"],[14,0,"privacy-type__heading"],[12],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Types.NoDetails.Title"],null]],[13],[1,"\\n      "],[10,2],[14,0,"privacy-type__description"],[12],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Types.NoDetails.Description"],null]],[13],[1,"\\n    "],[13],[1,"\\n"]],[]]],[1,"  "],[13],[1,"\\n\\n"],[41,[28,[37,11],[[30,1,["privacy","privacyTypes","length"]],[30,0,["learnMore"]]],null],[[[1,"    "],[10,2],[14,0,"app-privacy__learn-more"],[12],[1,[30,0,["learnMore"]]],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["@app","type","category"],false,["t","pages/app/privacy-modal","each","-track-array","svg-jar","privacy-type-icon","if","concat","eq","privacy-category-icon","dasherize","and"]]',moduleName:"web-experience-app/components/pages/app/privacy/index.hbs",isStrictMode:!1})
let b=(s=(0,o.computed)("detailsProvided"),p=(0,o.computed)("_privacyPolicyLink"),c=(0,o.computed)("_descriptionKey","args.app.developer.name"),u=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=d)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get detailsProvided(){return this.args.app.privacy?.privacyTypes?.length}get _descriptionKey(){return this.detailsProvided?"WEA.AppPages.AppPrivacy.Description":"WEA.AppPages.AppPrivacy.Description.NoDetails"}get privacyPolicy(){const{_privacyPolicyLink:e}=this
return e?this.i18n.t("WEA.AppPages.AppPrivacy.Description.PrivacyPolicy",{privacyPolicyLink:e}):""}get _privacyPolicyLink(){const{privacyPolicyUrl:e}=this.args.app
return e?(0,n.htmlSafe)(`<a href="${e}">${this.i18n.t("WEA.AppPages.AppPrivacy.Description.PrivacyPolicy.Link")}</a>`):""}get description(){const{app:e}=this.args,t=`<span class="app-privacy__developer-name">${e.developer.name}</span>`
return this.i18n.t(this._descriptionKey,{developer:t})}get _learnMoreLink(){const e=l.default.privacyLearnMoreUrl
return e?(0,n.htmlSafe)(`<a href="${e}">${this.i18n.t("WEA.AppPages.AppPrivacy.LearnMore.Link")}</a>`):""}get learnMore(){const{_learnMoreLink:e}=this
return e?this.i18n.t("WEA.AppPages.AppPrivacy.LearnMore",{learnMoreLink:e}):""}},d=m(u.prototype,"i18n",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(u.prototype,"_descriptionKey",[s],Object.getOwnPropertyDescriptor(u.prototype,"_descriptionKey"),u.prototype),m(u.prototype,"privacyPolicy",[p],Object.getOwnPropertyDescriptor(u.prototype,"privacyPolicy"),u.prototype),m(u.prototype,"description",[c],Object.getOwnPropertyDescriptor(u.prototype,"description"),u.prototype),u)
e.default=b,(0,t.setComponentTemplate)(f,b)})),define("web-experience-app/components/pages/app/privacy/modal-content",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"vWq5Ivmd",block:'[[[10,"h1"],[14,0,"app-privacy__modal-heading"],[12],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Title"],null]],[13],[1,"\\n\\n"],[41,[28,[37,2],[[30,1],[30,2]],null],[[[1,"  "],[10,0],[14,0,"app-privacy__modal-section"],[12],[1,"\\n"],[41,[30,1],[[[1,"      "],[10,2],[12],[1,"\\n        "],[1,[30,1]],[41,[30,3],[[[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Description.NotVerifiedByApple"],null]]],[]],null],[1,[30,4]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,2],[[[1,"      "],[10,2],[12],[1,"\\n        "],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Description.ManagePrivacy"],[["managePrivacyLink"],[[30,2]]]]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,2],[[30,5],[30,6]],null],[[[1,"  "],[10,0],[14,0,"app-privacy__modal-section"],[12],[1,"\\n"],[41,[30,5],[[[1,"      "],[10,2],[12],[1,"\\n        "],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Description.PrivacyDefinitions"],[["privacyDefinitionsLink"],[[30,5]]]]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,6],[[[1,"      "],[10,2],[12],[1,[30,6]],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,7,["privacyTypes"]]],null]],null],null,[[[1,"  "],[10,0],[14,0,"app-privacy__modal-section"],[12],[1,"\\n    "],[10,0],[12],[1,"\\n      "],[10,0],[14,0,"privacy-type__icon"],[12],[1,"\\n        "],[1,[28,[35,5],[[28,[37,6],[[30,8,["identifier"]]],null]],[["aria-hidden"],["true"]]]],[1,"\\n      "],[13],[1,"\\n      "],[10,"h2"],[14,0,"privacy-type__heading"],[12],[1,[30,8,["privacyType"]]],[13],[1,"\\n      "],[10,2],[14,0,"privacy-type__description"],[12],[1,[30,8,["description"]]],[13],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,8,["purposes"]]],null]],null],null,[[[1,"        "],[10,"h3"],[14,0,"privacy-type__purpose-heading"],[12],[1,"\\n          "],[1,[30,9,["purpose"]]],[1,"\\n        "],[13],[1,"\\n\\n"],[42,[28,[37,4],[[28,[37,4],[[30,9,["dataCategories"]]],null]],null],null,[[[1,"          "],[10,0],[14,0,"privacy-type__grid"],[12],[1,"\\n            "],[10,0],[14,0,"privacy-type__grid-icon"],[12],[1,"\\n              "],[1,[28,[35,5],[[28,[37,7],[[30,10,["identifier"]]],null]],[["class","aria-hidden"],[[28,[37,8],["privacy-type__glyph privacy-type__glyph--",[28,[37,9],[[30,10,["identifier"]]],null]],null],"true"]]]],[1,"\\n            "],[13],[1,"\\n            "],[10,0],[14,0,"privacy-type__grid-content"],[12],[1,"\\n              "],[10,"h4"],[14,0,"privacy-type__data-category-heading"],[12],[1,[30,10,["dataCategory"]]],[13],[1,"\\n"],[41,[30,10,["dataTypes","length"]],[[[1,"                "],[10,"ul"],[14,0,"privacy-type__category-items"],[12],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,10,["dataTypes"]]],null]],null],null,[[[1,"                    "],[10,"li"],[12],[1,"\\n                      "],[1,[30,11]],[1,"\\n                    "],[13],[1,"\\n"]],[11]],null],[1,"                "],[13],[1,"\\n"]],[]],null],[1,"            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[10]],null]],[9]],[[[42,[28,[37,4],[[28,[37,4],[[30,8,["dataCategories"]]],null]],null],null,[[[1,"          "],[10,0],[14,0,"privacy-type__grid"],[12],[1,"\\n            "],[10,0],[14,0,"privacy-type__grid-icon"],[12],[1,"\\n              "],[1,[28,[35,5],[[28,[37,7],[[30,12,["identifier"]]],null]],[["class","aria-hidden"],[[28,[37,8],["privacy-type__glyph privacy-type__glyph--",[28,[37,9],[[30,12,["identifier"]]],null]],null],"true"]]]],[1,"\\n            "],[13],[1,"\\n            "],[10,0],[14,0,"privacy-type__grid-content"],[12],[1,"\\n              "],[10,"h3"],[14,0,"privacy-type__data-category-heading"],[12],[1,[30,12,["dataCategory"]]],[13],[1,"\\n"],[41,[30,12,["dataTypes","length"]],[[[1,"                "],[10,"ul"],[14,0,"privacy-type__category-items"],[12],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,12,["dataTypes"]]],null]],null],null,[[[1,"                    "],[10,"li"],[12],[1,"\\n                      "],[1,[30,13]],[1,"\\n                    "],[13],[1,"\\n"]],[13]],null],[1,"                "],[13],[1,"\\n"]],[]],null],[1,"            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[12]],null]],[]]],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[8]],[[[1,"  "],[10,0],[14,0,"app-privacy__modal-section"],[12],[1,"\\n    "],[10,0],[12],[1,"\\n      "],[10,0],[14,0,"privacy-type__grid-icon privacy-type__grid-icon--no-details"],[12],[1,"\\n        "],[1,[28,[35,5],[[28,[37,6],["NO_DETAILS"],null]],[["aria-hidden"],["true"]]]],[1,"\\n      "],[13],[1,"\\n      "],[10,"h3"],[14,0,"privacy-type__heading"],[12],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Types.NoDetails.Title"],null]],[13],[1,"\\n      "],[10,2],[14,0,"privacy-type__description"],[12],[1,[28,[35,0],["WEA.AppPages.AppPrivacy.Types.NoDetails.Description"],null]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]]]],["@description","@managePrivacyLink","@notVerifiedByApple","@privacyPolicy","@privacyDefinitionsLink","@learnMore","@privacyDetails","type","purposeObject","category","dataType","category","dataType"],false,["t","if","or","each","-track-array","svg-jar","privacy-type-icon","privacy-category-icon","concat","dasherize"]]',moduleName:"web-experience-app/components/pages/app/privacy/modal-content.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/app/reviews",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,i.createTemplateFactory)({id:"vJIt2Mhv",block:'[[[41,[28,[37,1],[[30,1],[30,2]],null],[[[44,[[28,[37,3],["review"],null]],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"section__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n          "],[1,[28,[35,4],["WEA.AppPages.CustomerReviews.Title"],null]],[1,"\\n        "],[13],[1,"\\n\\n        "],[8,[39,5],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,1,["length"]],[30,1,["meta","next"]],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"reviews"]],null],[1,"\\n      "],[13],[1,"\\n\\n"],[41,[30,2],[[[1,"        "],[8,[39,6],null,[["@rating"],[[30,4]]],null],[1,"\\n"]],[]],null],[1,"\\n      "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n"],[41,[28,[37,7],[[28,[37,8],[[30,1,["length"]],0],null],[30,5]],null],[[[1,"          "],[10,0],[14,0,"l-column small-4 medium-12 large-8 small-valign-top"],[12],[1,"\\n            "],[8,[39,9],null,[["@notes","@isEditorsChoice"],[[30,5],[30,6]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],[[[1,"          "],[8,[39,10],null,[["@items","@small","@medium","@large"],[[30,0,["reviewItems"]],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]]]],[["default"],[[[[1,"\\n"],[41,[28,[37,8],[[30,7,["type"]],"notes"],null],[[[1,"              "],[8,[39,11],[[16,0,[29,["small-valign-top l-column--equal-height l-column--small-hide small-hide medium-show ",[30,3,["columnClassNames"]]]]]],[["@modalContentClass","@metricsTarget"],["we-modal__content--review","customerReview"]],[["default"],[[[[1,"\\n                "],[8,[39,9],null,[["@notes","@isEditorsChoice","@onShowMore","@isTruncated"],[[30,7,["data"]],[30,6],[30,8,["onShowMore"]],[30,8,["isTruncated"]]]],null],[1,"\\n              "]],[8]]]]],[1,"\\n"]],[]],[[[1,"              "],[8,[39,11],[[16,0,[29,["small-valign-top l-column--equal-height ",[30,3,["columnClassNames"]]]]]],[["@modalContentClass","@metricsTarget"],["we-modal__content--review","customerReview"]],[["default"],[[[[1,"\\n                "],[8,[39,12],null,[["@review","@onShowMore","@isTruncated"],[[28,[37,13],["media-api-review"],[["item"],[[30,7,["data"]]]]],[30,9,["onShowMore"]],[30,9,["isTruncated"]]]],null],[1,"\\n              "]],[9]]]]],[1,"\\n"]],[]]],[1,"          "]],[7]]]]],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n\\n"],[41,[28,[37,14],[[30,1,["length"]],0],null],[[[1,"        "],[10,0],[14,0,"l-row l-row--margin-top medium-hide"],[12],[1,"\\n          "],[8,[39,10],null,[["@items"],[[30,0,["reviewItems"]]]],[["default"],[[[[1,"\\n"],[41,[28,[37,8],[[30,0,["item","type"]],"notes"],null],[[[1,"              "],[8,[39,11],[[24,0,"l-column small-12 medium-hide"]],[["@modalContentClass","@metricsTarget"],["we-modal__content--review","customerReview"]],[["default"],[[[[1,"\\n                "],[8,[39,9],null,[["@notes","@isEditorsChoice","@onShowMore","@isTruncated"],[[30,10,["data"]],[30,6],[30,11,["onShowMore"]],[30,11,["isTruncated"]]]],null],[1,"\\n              "]],[11]]]]],[1,"\\n"]],[]],null],[1,"          "]],[10]]]]],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n"]],[3]]]],[]],null]],["@reviews","@hasUserRating","profile","@userRating","@editorsNotes","@isEditorsChoice","review","modal","modal","review","modal"],false,["if","or","let","shelf-profile","t","we-see-all","we-customer-ratings","and","eq","pages/app/editor-notes","we-limit-per-viewport","we-truncate/modal","we-customer-review","present","gt"]]',moduleName:"web-experience-app/components/pages/app/reviews.hbs",isStrictMode:!1})
let s=(a=(0,n.computed)("args.{reviews.[],editorsNotes}"),o=class extends r.default{get reviewItems(){const{editorsNotes:e,reviews:t}=this.args
let i=[]
t&&t.length&&(i=t.map((e=>({type:"review",data:e}))))
const r=e
return r&&i.unshift({type:"notes",data:r}),i}},p=o.prototype,c="reviewItems",u=[a],d=Object.getOwnPropertyDescriptor(o.prototype,"reviewItems"),m=o.prototype,f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o)
var p,c,u,d,m,f
e.default=s,(0,t.setComponentTemplate)(l,s)})),define("web-experience-app/components/pages/app/screenshots",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","@glimmer/tracking"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d
function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const b=(0,i.createTemplateFactory)({id:"Fqk37LVv",block:'[[[41,[28,[37,1],[[30,0,["responsive","viewport"]],"small"],null],[[[1,"  "],[11,"section"],[24,0,"l-content-width section section--bordered"],[4,[38,2],[[28,[37,3],[[30,0,["recordPlatformSelection"]],[30,1]],null]],null],[12],[1,"\\n    "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n      "],[1,[28,[35,4],[[30,0,["selectedGroup","singularTitle"]]],null]],[1,"\\n    "],[13],[1,"\\n    "],[8,[39,5],null,[["@screenshotGroup"],[[30,0,["selectedGroup"]]]],null],[1,"\\n  "],[13],[1,"\\n"],[41,[28,[37,6],[[30,2,["length"]],1],null],[[[1,"    "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n      "],[10,0],[14,0,"we-app-screenshots__nav"],[12],[1,"\\n        "],[10,"h2"],[14,0,"we-app-screenshots__nav__headline"],[12],[1,[28,[35,4],["WEA.AppPages.AdditionalScreenshots"],null]],[13],[1,"\\n        "],[11,"button"],[16,0,[29,["icon icon-after icon-chevron",[52,[30,0,["showOtherPlatforms"]],"up","down"]," we-app-screenshots__nav__chevron"]]],[24,4,"button"],[4,[38,7],["click",[30,0,["toggleShowOtherPlatforms"]]],null],[12],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[30,0,["showOtherPlatforms"]],[[[42,[28,[37,9],[[28,[37,9],[[30,0,["otherGroups"]]],null]],null],null,[[[1,"          "],[8,[39,5],null,[["@screenshotGroup","@showLabel"],[[30,3],true]],null],[1,"\\n"]],[3]],null]],[]],[[[1,"        "],[10,2],[14,0,"we-app-screenshots__label"],[12],[1,[28,[35,10],[", ",[30,0,["otherGroupsTitles"]]],null]],[13],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n"]],[]],null]],[]],[[[1,"  "],[11,"section"],[24,0,"l-content-width section section--bordered"],[4,[38,2],[[28,[37,3],[[30,0,["recordPlatformSelection"]],[30,1]],null]],null],[12],[1,"\\n"],[41,[28,[37,1],[[30,2,["length"]],1],null],[[[1,"      "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],[[30,2,["0","singularTitle"]]],null]],[13],[1,"\\n"]],[]],[[[1,"      "],[10,0],[14,0,"section__nav section__nav--align-start"],[12],[1,"\\n        "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,4],["WEA.AppPages.Screenshots"],null]],[13],[1,"\\n        "],[10,"nav"],[14,0,"gallery-nav"],[12],[1,"\\n          "],[10,"ul"],[14,0,"gallery-nav__items"],[12],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,2]],null]],null],null,[[[1,"              "],[10,"li"],[14,0,"gallery-nav__item"],[12],[1,"\\n                "],[8,[39,11],[[16,0,[52,[28,[37,1],[[30,4,["platform"]],[30,1]],null],"link link--no-decoration is-active","link link--no-decoration"]],[4,[38,7],["click",[28,[37,3],[[30,0,["recordPlatformSelection"]],[30,4,["platform"]]],null]],null]],[["@query"],[[28,[37,12],null,[["platform"],[[30,4,["platform"]]]]]]],[["default"],[[[[1,"\\n                  "],[1,[28,[35,4],[[30,4,["title"]]],null]],[1,"\\n                "]],[]]]]],[1,"\\n              "],[13],[1,"\\n"]],[4]],null],[1,"          "],[13],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]]],[1,"    "],[8,[39,5],null,[["@screenshotGroup"],[[30,0,["selectedGroup"]]]],null],[1,"\\n  "],[13],[1,"\\n"]],[]]]],["@selectedPlatform","@screenshotGroups","group","screenshotGroup"],false,["if","eq","did-insert","fn","t","we-screenshot-viewer","gt","on","each","-track-array","join","link-to","hash"]]',moduleName:"web-experience-app/components/pages/app/screenshots.hbs",isStrictMode:!1})
let g=(l=(0,n.computed)("otherGroups.@each.title"),s=class extends r.default{constructor(){super(...arguments),m(this,"metrics",p,this),m(this,"responsive",c,this),m(this,"i18n",u,this),m(this,"showOtherPlatforms",d,this)}get selectedGroup(){return this.args.screenshotGroups.find((e=>e.platform===this.args.selectedPlatform))}get otherGroups(){return this.args.screenshotGroups.filter((e=>e.platform!==this.args.selectedPlatform))}get otherGroupsTitles(){return this.otherGroups.map((e=>this.i18n.t(e.title)))}recordPlatformSelection(e){this.metrics.recordEvent("click",{actionType:"click",actionDetails:"platformSelect",targetType:"button",targetId:`${e}Screenshots`})}toggleShowOtherPlatforms(){this.showOtherPlatforms=!this.showOtherPlatforms}},p=f(s.prototype,"metrics",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=f(s.prototype,"responsive",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=f(s.prototype,"i18n",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=f(s.prototype,"showOtherPlatforms",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f(s.prototype,"otherGroupsTitles",[l],Object.getOwnPropertyDescriptor(s.prototype,"otherGroupsTitles"),s.prototype),f(s.prototype,"recordPlatformSelection",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"recordPlatformSelection"),s.prototype),f(s.prototype,"toggleShowOtherPlatforms",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"toggleShowOtherPlatforms"),s.prototype),s)
e.default=g,(0,t.setComponentTemplate)(b,g)})),define("web-experience-app/components/pages/app/we-banner-arcade",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"VMhJDtAB",block:'[[[10,0],[14,0,"we-arcade-upsell"],[12],[1,"\\n  "],[10,0],[14,0,"we-banner-arcade"],[12],[1,"\\n    "],[10,0],[14,0,"we-banner-arcade__wrapper"],[12],[1,"\\n      "],[10,"img"],[14,"src","/assets/images/arcade/wordmark/arcade-wordmark-US-77bc7c76adfebab1b38236d91ecd1a76.svg"],[14,0,"we-banner-arcade__logo"],[15,"alt",[29,[[28,[37,0],["WEA.AppPages.Arcade.Branding.Title"],null]]]],[12],[13],[1,"\\n      "],[10,2],[14,0,"we-banner-arcade__title"],[12],[1,"\\n        "],[10,1],[14,0,"we-banner-arcade__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellBanner.Title"],null]],[1,"\\n        "],[13],[1,"\\n"],[1,"        "],[10,1],[14,0,"we-banner-arcade__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellBanner.Text"],null]],[13],[1,[52,[28,[37,2],[[28,[37,3],[[28,[37,4],["i18n"],null],"languageCode"],null],"zh"],null]," "]],[10,1],[14,0,"we-banner-arcade__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellBanner.Text2"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,3],[15,6,[29,[[28,[37,0],["WEA.AppPages.Arcade.Link.URL"],null]]]],[14,0,"we-banner-arcade__cta icon icon-after icon-external"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellBanner.CTA.Text"],null]],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,"picture"],[14,0,"we-banner-arcade__artwork"],[12],[1,"\\n      "],[10,"source"],[14,0,"we-banner-arcade__image"],[14,"media","(min-width: 980px)"],[14,"srcset","/assets/images/arcade/upsell/banner-980@1x-0d0b126e7c3c6b7dac97e4ef013eb0ca.png 1x, /assets/images/arcade/upsell/banner-980@2x-2cfa299c0975d735a82572fd59f983ba.png 2x, /assets/images/arcade/upsell/banner-980@3x-74b3a980445893603919a0b4de894d02.png 3x"],[12],[13],[1,"\\n      "],[10,"source"],[14,0,"we-banner-arcade__image"],[14,"media","(min-width: 480px)"],[14,"srcset","/assets/images/arcade/upsell/banner-692@1x-93fa1d2836be8e0abc3693e5b454cc0e.png 1x, /assets/images/arcade/upsell/banner-692@2x-16b7b165e886af7e1fdc697f7e725260.png 2x, /assets/images/arcade/upsell/banner-692@3x-c1dc4c57a556e8e3e637d96afb2140a2.png 3x"],[12],[13],[1,"\\n      "],[10,"source"],[14,0,"we-banner-arcade__image"],[14,"media","(max-width: 479px)"],[14,"srcset","/assets/images/arcade/upsell/banner-320@1x-7e06e17e8e639fc67b929c74fef9d9a8.png 1x, /assets/images/arcade/upsell/banner-320@2x-2b614a18269c8e01b1009f73d7cc1d9f.png 2x, /assets/images/arcade/upsell/banner-320@3x-8d888a2b7049a8977120369517e4c49d.png 3x"],[12],[13],[1,"\\n      "],[10,"img"],[14,0,"we-banner-arcade__image"],[14,"src","/assets/images/arcade/upsell/banner-692@2x-16b7b165e886af7e1fdc697f7e725260.png"],[14,"alt",""],[12],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["t","if","not-eq","get","service"]]',moduleName:"web-experience-app/components/pages/app/we-banner-arcade.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/app/we-banner",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"IB/cpjd7",block:'[[[11,0],[17,1],[12],[1,"\\n  "],[10,0],[15,0,[29,["l-content-width we-banner",[52,[48,[30,6]]," we-banner--story"]]]],[14,"role","alert"],[12],[1,"\\n"],[41,[30,2],[[[1,"      "],[10,2],[14,0,"we-banner__copy"],[12],[1,"\\n"],[44,[[28,[37,3],[[30,3],[28,[37,4],["WEA.AppPages.EditReview"],null]],null]],[[[1,[30,4]]],[4]]],[1,"      "],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[1,"      "],[10,2],[14,0,"we-banner__copy"],[12],[1,[30,5]],[13],[1,"\\n"]],[]],[[[41,[48,[30,6]],[[[1,"      "],[10,2],[14,0,"we-banner__copy"],[12],[18,6,null],[13],[1,"\\n    "]],[]],null]],[]]]],[]]],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@editRequested","@editMessage","msg","@availabilityMessage","&default"],false,["if","has-block","let","or","t","yield"]]',moduleName:"web-experience-app/components/pages/app/we-banner.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/app/we-footer-arcade",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"KEU9h0A+",block:'[[[10,0],[12],[1,"\\n  "],[10,"aside"],[14,0,"we-footer-arcade l-content-width"],[12],[1,"\\n    "],[10,0],[14,0,"we-footer-arcade__wrapper"],[12],[1,"\\n      "],[10,"img"],[14,"src","/assets/images/arcade/wordmark/arcade-wordmark-US-77bc7c76adfebab1b38236d91ecd1a76.svg"],[14,0,"we-footer-arcade__logo"],[15,"alt",[29,[[28,[37,0],["WEA.AppPages.Arcade.Branding.Title"],null]]]],[12],[13],[1,"\\n      "],[10,2],[14,0,"we-footer-arcade__title"],[12],[1,"\\n        "],[10,1],[14,0,"we-footer-arcade__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellFooter.Title"],null]],[1,"\\n        "],[13],[1,"\\n"],[1,"        "],[10,1],[14,0,"we-footer-arcade__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellFooter.Text"],null]],[13],[1,[52,[28,[37,2],[[28,[37,3],[[28,[37,4],["i18n"],null],"languageCode"],null],"zh"],null]," "]],[10,1],[14,0,"we-footer-arcade__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellFooter.Text2"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,3],[15,6,[29,[[28,[37,0],["WEA.AppPages.Arcade.Link.URL"],null]]]],[14,0,"we-footer-arcade__cta icon icon-after icon-external"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellFooter.CTA.Text"],null]],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,"picture"],[14,0,"we-footer-arcade__artwork"],[12],[1,"\\n      "],[10,"source"],[14,0,"we-footer-arcade__image"],[14,"media","(min-width: 980px)"],[14,"srcset","/assets/images/arcade/upsell/footer-980@1x-2a06e4559b4968ab7599602faa0db36e.png 1x, /assets/images/arcade/upsell/footer-980@2x-110dccbc650a52071b410d71c9fe7762.png 2x, /assets/images/arcade/upsell/footer-980@3x-4ff1a99e1d7613f988eab2c468c6a7d0.png 3x"],[12],[13],[1,"\\n      "],[10,"source"],[14,0,"we-footer-arcade__image"],[14,"media","(min-width: 736px)"],[14,"srcset","/assets/images/arcade/upsell/footer-692@1x-62f5386c732f5f781bfd83670484834d.png 1x, /assets/images/arcade/upsell/footer-692@2x-cfcbe08c11a72f889a58ab16c766befb.png 2x, /assets/images/arcade/upsell/footer-692@3x-3494404211e47caa9e15ca24ed869aa8.png 3x"],[12],[13],[1,"\\n      "],[10,"source"],[14,0,"we-footer-arcade__image"],[14,"media","(max-width: 735px)"],[14,"srcset","/assets/images/arcade/upsell/footer-280@1x-347cfc6677037ba987fe68a7579dfb9d.png 1x, /assets/images/arcade/upsell/footer-280@2x-207712f5b440039f12644b37a5a4bebb.png 2x, /assets/images/arcade/upsell/footer-280@3x-68735cb9d1876cb7d9546779662993aa.png 3x"],[12],[13],[1,"\\n      "],[10,"img"],[14,0,"we-footer-arcade__image"],[14,"src","/assets/images/arcade/upsell/banner-692@2x-16b7b165e886af7e1fdc697f7e725260.png"],[14,"alt",""],[12],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["t","if","not-eq","get","service"]]',moduleName:"web-experience-app/components/pages/app/we-footer-arcade.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/author/author-header",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"gDTz2PEK",block:'[[[10,0],[12],[1,"\\n  "],[10,0],[14,0,"l-content-width product-header page-header page-header--author page-header--b"],[12],[1,"\\n    "],[10,"h1"],[14,0,"page-header__title"],[12],[1,"\\n      "],[1,[30,1,["name"]]],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"product-header__routes"],[12],[1,"\\n      "],[8,[39,0],null,[["@url"],[[30,1,["url"]]]],null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@author"],false,["we-web-to-native-cta/apple-books"]]',moduleName:"web-experience-app/components/pages/author/author-header.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/book/badges/size",["exports","@glimmer/component","web-experience-app/macros/field-from-asset","web-experience-app/utils/bytes-to-readable"],(function(e,t,i,r){var n,a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let l=(n=(0,i.fieldFromAssetMacro)("args.book.offers","size",r.parse),a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="size",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},s=a.prototype,p="size",c=[n],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/components/pages/charts",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","web-experience-app/config","web-experience-app/utils/genres","web-experience-app/utils/routing"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m,f,b,g,h,y,w,v,_,P
function O(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function A(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}function k(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function S(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const x=(0,i.createTemplateFactory)({id:"m2KnqkwF",block:'[[[1,"\\n"],[8,[39,0],null,[["@config","@genres","@title","@extraGenres","@popularGenres","@isAudiobooks","@nativeChartsUrl","@tabsList"],[[30,0,["config"]],[30,1],[30,2],[30,3],[30,4],[30,5],[30,0,["nativeChartsUrl"]],[30,0,["tabsList"]]]],null],[1,"\\n\\n"],[41,[30,6],[[[1,"  "],[8,[39,2],null,[["@config","@chartName","@isAudiobooks","@isLoadingNextPage","@totalMaxLimitReached","@items","@nextLink","@onNextPage"],[[30,0,["config"]],[52,[30,7,["nameKey"]],[28,[37,3],[[30,7,["nameKey"]]],null],[30,7,["name"]]],[30,5],[30,8],[30,9],[30,7,["data"]],[30,7,["next"]],[30,10]]],null],[1,"\\n"]],[]],[[[1,"  "],[10,"section"],[14,0,"l-content-width section charts-section charts-content-container"],[14,1,"charts-content-section"],[12],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,7]],null]],null],null,[[[44,[[28,[37,7],[[30,0,["config","shelfProfile"]]],null]],[[[41,[30,11,["data","length"]],[[[1,"          "],[10,0],[14,0,"l-row chart"],[12],[1,"\\n            "],[10,0],[14,0,"l-column large-12 medium-12 small-12"],[12],[1,"\\n              "],[10,"section"],[14,0,"section section--bordered"],[12],[1,"\\n                "],[10,0],[14,0,"section__nav"],[12],[1,"\\n                  "],[10,"h2"],[15,0,[28,[37,8],["section__headline ",[30,0,["config","sectionHeadlineClass"]]],null]],[12],[1,"\\n                    "],[1,[52,[30,11,["nameKey"]],[28,[37,3],[[30,11,["nameKey"]]],null],[30,11,["name"]]]],[1,"\\n                  "],[13],[1,"\\n"],[41,[28,[37,9],[[30,0,["responsive","viewport"]],[28,[37,10],[[30,13],[30,12]],null],[30,11,["data","length"]]],null],[[[41,[48,[30,16]],[[[1,"                      "],[18,16,[[30,11]]],[1,"\\n\\n"]],[]],[[[1,"                      "],[8,[39,13],[[24,0,"link section__nav__see-all-link ember-view"]],[["@route","@models"],["charts.chart-see-all",[28,[37,14],[[30,0,["currentGenreSlug"]],[30,0,["currentGenreId"]],[30,11,["chart"]]],null]]],[["default"],[[[[1,"\\n                        "],[1,[28,[35,3],["WEA.Common.SeeAll.Button"],null]],[1,"\\n                      "]],[]]]]],[1,"\\n"]],[]]]],[]],null],[1,"                "],[13],[1,"\\n                "],[10,"ol"],[15,0,[29,["l-row l-row--peek ",[52,[30,13],"charts-section-custom-config"]]]],[12],[1,"\\n                  "],[8,[39,15],null,[["@medium","@large","@items","@profile"],[[28,[37,10],[[30,13,["medium"]],[30,12,["medium"]]],null],[28,[37,10],[[30,13,["large"]],[30,12,["large"]]],null],[30,11,["data"]],[30,12]]],[["default"],[[[[1,"\\n                    "],[10,"li"],[15,0,[28,[37,8],[[30,12,["columnClassNames"]]," ",[30,0,["config","shelfColumnClassName"]]],null]],[12],[1,"\\n                      "],[8,[39,16],[[16,"data-metrics-click",[28,[37,17],["navigateShelf"],[["id","url"],[[30,14,["id"]],[30,14,["url"]]]]]],[16,"data-metrics-location",[28,[37,17],["location"],[["sectionType"],[[30,0,["config","metricsLocation"]]]]]]],[["@model","@artworkProfile","@clampProfile","@showArtistName","@rank"],[[30,14],[30,0,["artworkProfile"]],[30,0,["config","clampProfile"]],[30,0,["config","showArtistName"]],[28,[37,18],[[30,15]],null]]],null],[1,"\\n                    "],[13],[1,"\\n                  "]],[14,15]]]]],[1,"\\n                "],[13],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[]],null]],[12]]]],[11]],null],[1,"  "],[13],[1,"\\n"]],[]]]],["@genres","@title","@extraGenres","@popularGenres","@isAudiobooks","@isSeeAllView","@chartsList","@isLoadingNextPage","@totalMaxLimitReached","@onNextPage","chart","profile","@shelfConfig","item","index","&default"],false,["pages/charts/header","if","pages/charts/see-all","t","each","-track-array","let","shelf-profile","concat","show-see-all-link","or","has-block","yield","link-to","array","we-shelf","we-lockup","metrics-data","inc"]]',moduleName:"web-experience-app/components/pages/charts.hbs",isStrictMode:!1})
function j(e){const t=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?k(Object(i),!0).forEach((function(t){S(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):k(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({},e)
return t?.ageId&&delete t.ageId,t?.chart&&delete t.chart,t}let T=(p=(0,a.inject)("charts/base"),c=(0,n.computed)("appViewState","args.isAudiobooks"),u=(0,n.computed)("router.currentRoute.params.genreId"),d=(0,n.computed)("router.currentRoute.params.genreSlug"),m=(0,n.computed)("args.isAudiobooks","config.nativeLink","currentGenreId","globalElements.storefront","platform.couldHaveBookStore","router.currentRoute.params.chartName"),f=(0,n.computed)("charts.getCurrentState","router.currentRoute.{parent.params.deviceType,queryParams}"),b=class extends r.default{constructor(){super(...arguments),O(this,"platform",g,this),O(this,"globalElements",h,this),O(this,"router",y,this),O(this,"charts",w,this),O(this,"i18n",v,this),O(this,"responsive",_,this),O(this,"appViewState",P,this)}get config(){return this.charts.getConfig(this.args.isAudiobooks)}get currentGenreId(){return this.router.currentRoute.params.genreId||s.ABSENT_SIGIL}get currentGenreSlug(){return this.router.currentRoute.params.genreSlug||s.ABSENT_SIGIL}get nativeChartsUrl(){if(!this.platform.couldHaveBookStore)return null
const{genreId:e,popId:t}=(0,l.getGenreIdAndPopId)(this.currentGenreId,this.router.currentRoute.params.chartName,this.args.isAudiobooks)
let i=this.config.nativeLink
const r=this.globalElements.storefront||o.default.defaultStorefront
return i=i.replace("@@storefront@@",r.toLowerCase()),i=i.replace("@@genre@@",e),t&&(i+=`&popId=${t}`),i}get tabsList(){const{deviceType:e}=this.router.currentRoute?.parent?.params,t=j(this.router.currentRoute.queryParams),i=this.i18n.t("WEA.Charts.Apps.DeviceType.iPad"),r=this.i18n.t("WEA.Charts.Apps.DeviceType.iPhone")
return"apps"!==this.charts.getCurrentState()?[]:[{ariaLabel:r,label:r,isActive:"iphone"===e,link:this.router.urlFor("charts.device",{deviceType:"iphone"},{queryParams:t})},{ariaLabel:i,label:i,isActive:"ipad"===e,link:this.router.urlFor("charts.device",{deviceType:"ipad"},{queryParams:t})}]}},g=A(b.prototype,"platform",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=A(b.prototype,"globalElements",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=A(b.prototype,"router",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=A(b.prototype,"charts",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=A(b.prototype,"i18n",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=A(b.prototype,"responsive",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=A(b.prototype,"appViewState",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A(b.prototype,"config",[c],Object.getOwnPropertyDescriptor(b.prototype,"config"),b.prototype),A(b.prototype,"currentGenreId",[u],Object.getOwnPropertyDescriptor(b.prototype,"currentGenreId"),b.prototype),A(b.prototype,"currentGenreSlug",[d],Object.getOwnPropertyDescriptor(b.prototype,"currentGenreSlug"),b.prototype),A(b.prototype,"nativeChartsUrl",[m],Object.getOwnPropertyDescriptor(b.prototype,"nativeChartsUrl"),b.prototype),A(b.prototype,"tabsList",[f],Object.getOwnPropertyDescriptor(b.prototype,"tabsList"),b.prototype),b)
e.default=T,(0,t.setComponentTemplate)(x,T)})),define("web-experience-app/components/pages/charts/header",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"5fnWtCjR",block:'[[[10,"section"],[14,0,"l-content-width section charts-section charts-header-container"],[12],[1,"\\n  "],[10,0],[14,0,"l-row charts-header"],[12],[1,"\\n    "],[10,0],[14,0,"l-column large-9 medium-9 small-12"],[12],[1,"\\n      "],[10,"h1"],[14,0,"charts-header__title"],[12],[1,"\\n        "],[1,[28,[35,0],[[30,1],[28,[37,1],[[30,2,["titleKey"]]],null]],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"],[41,[30,3],[[[1,"      "],[10,0],[14,0,"l-column large-3 medium-3 charts-header__native-cta"],[12],[1,"\\n        "],[46,[30,2,["nativeCta"]],null,[["url"],[[30,3]]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n  "],[10,0],[14,0,"l-row charts-genre-filter"],[12],[1,"\\n    "],[10,0],[14,0,"l-column large-12 medium-12 small-12"],[12],[1,"\\n"],[41,[30,4,["length"]],[[[1,"        "],[10,0],[14,0,"charts-header__nav"],[12],[1,"\\n          "],[8,[39,4],null,[["@tabs","@pageTransition"],[[30,4],true]],null],[1,"\\n"],[41,[28,[37,5],[[28,[37,6],null,null]],null],[[[1,"            "],[8,[39,7],null,[["@appsCategories","@gamesCategories"],[[30,5],[30,6]]],null],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[1,"        "],[8,[39,8],null,[["@popularGenres","@genres","@isAudiobooks"],[[30,7],[30,5],[30,8]]],null],[1,"\\n      "]],[]],null]],[]]],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@title","@config","@nativeChartsUrl","@tabsList","@genres","@extraGenres","@popularGenres","@isAudiobooks"],false,["or","t","if","component","we-tabs","not","is-ssr","app-categories-filter","we-genre-filter"]]',moduleName:"web-experience-app/components/pages/charts/header.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/charts/see-all",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"DhhWSMLY",block:'[[[10,"section"],[14,1,"charts-content-section"],[14,0,"l-content-width section section--bordered charts-section"],[12],[1,"\\n"],[41,[51,[30,1]],[[[1,"    "],[10,0],[14,0,"section__nav l-row"],[12],[1,"\\n      "],[10,0],[14,0,"l-column"],[12],[1,"\\n        "],[10,"h2"],[15,0,[28,[37,1],["section__headline ",[30,2,["sectionHeadlineClass"]]],null]],[12],[1,"\\n          "],[1,[30,3]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"  "],[10,"ol"],[14,0,"l-row chart"],[14,"role","feed"],[14,"aria-labelledby","section__headline"],[15,"aria-busy",[30,4]],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,5]],null]],null],null,[[[44,[[28,[37,5],[[30,6,["kind"]]],null]],[[[44,[[28,[37,6],["lockups/base"],[["lockup","model"],[[30,6],"book"]]]],[[[1,"          "],[10,"li"],[15,0,[28,[37,1],["l-column--grid ",[30,8,["lockupClassNames"]]," ",[30,8,["columnClassNames"]]],null]],[12],[1,"\\n            "],[8,[39,7],null,[["@model","@artworkProfile","@clampProfile","@showArtistName","@rank"],[[30,9],[30,8,["artwork"]],[30,8,["clampProfile"]],true,[28,[37,8],[[30,7]],null]]],null],[1,"\\n          "],[13],[1,"\\n"]],[9]]]],[8]]]],[6,7]],null],[1,"  "],[13],[1,"\\n"],[41,[51,[30,10]],[[[1,"    "],[8,[39,9],[[24,0,"we-loading-spinner--see-all"]],[["@nextLink","@nextPage"],[[30,11],[30,12]]],null],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["@isAudiobooks","@config","@chartName","@isLoadingNextPage","@items","item","index","profile","itemPresenter","@totalMaxLimitReached","@nextLink","@onNextPage"],false,["unless","concat","each","-track-array","let","see-all-profile","present","we-lockup","inc","we-loading-spinner"]]',moduleName:"web-experience-app/components/pages/charts/see-all.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/developer",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"4pxE7Flk",block:'[[[41,[30,1,["artwork"]],[[[1,"  "],[8,[39,1],[[24,0,"we-artwork--uber we-artwork--not-round"]],[["@artwork","@lazyLoad","@profile"],[[30,1,["artwork"]],false,"uber"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[10,0],[15,0,[29,["l-content-width product-header page-header page-header--developer page-header--b",[52,[30,1,["artwork"]]," page-header--with-artwork"]]]],[12],[1,"\\n  "],[10,"h1"],[14,0,"page-header__title"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"],[13],[1,"\\n\\n"],[41,[28,[37,2],[[30,2,["length"]],0],null],[[[1,"  "],[10,"section"],[14,0,"l-content-width section section"],[12],[1,"\\n    "],[10,0],[14,0,"section__nav"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.DeveloperPages.Messages.NoApps"],null]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],[[[44,[[28,[37,5],["developer"],null]],[[[41,[30,4],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.Bundles"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,5],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"bundles"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@items","@profile"],[[30,4],[30,3]]],[["default"],[[[[1,"\\n            "],[8,[39,8],[[16,0,[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null]],[16,"data-metrics-click",[28,[37,10],["navigateShelf"],[["id","url"],[[30,6,["id"]],[30,6,["url"]]]]]],[16,"data-metrics-location",[28,[37,10],["location"],[["sectionType"],["BundleApps"]]]]],[["@model","@artworkProfile","@clampProfile"],[[30,6],[30,3,["artwork"]],"app-bundle-shelf"]],null],[1,"\\n          "]],[6]]]]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,7],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.iPadiPhone"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,8],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"iPhoneiPadApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,7],"iPhoneiPadApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,9],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.iPhone"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,10],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"iPhoneApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,9],"iPhoneApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,11],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.iPad"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,12],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"iPadApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,11],"iPadApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,13],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.iMessage"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,14],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"iMessageApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,13],"iMessageApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,15],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.Watch"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,16],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"watchApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,15],"watchApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,17],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.AppleTv"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,18],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"appleTvApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,17],"appleTvApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,19],[[[1,"      "],[10,"section"],[14,0,"l-content-width section section--bordered"],[12],[1,"\\n        "],[10,0],[14,0,"section__nav"],[12],[1,"\\n          "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,3],["WEA.Common.Platforms.Mac"],null]],[13],[1,"\\n          "],[8,[39,6],null,[["@itemCount","@small","@medium","@large","@sectionType"],[[30,20],[30,3,["small"]],[30,3,["medium"]],[30,3,["large"]],"macApps"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n          "],[8,[39,7],null,[["@clampProfile","@columnClassNames","@items","@metricsLocation","@profile"],["app-bundle-shelf",[28,[37,9],[[30,3,["columnClassNames"]]," we-lockup--shelf-align-top we-lockup--in-app-shelf"],null],[30,19],"macApps",[30,3]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null]],[3]]]],[]]]],["@model","@allApps","profile","@bundles","@bundlesCount","item","@iPhoneiPadApps","@iPhoneiPadAppsCount","@iPhoneApps","@iPhoneAppsCount","@iPadApps","@iPadAppsCount","@iMessageApps","@iMessageAppsCount","@watchApps","@watchAppsCount","@appleTvApps","@appleTvAppsCount","@macApps","@macAppsCount"],false,["if","amp-artwork/wea","eq","t","let","shelf-profile","we-see-all","we-shelf","we-lockup","concat","metrics-data"]]',moduleName:"web-experience-app/components/pages/developer.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/story",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"z55ICDwV",block:'[[[11,"section"],[24,0,"l-content-width section section--hero product-hero"],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"l-row"],[12],[1,"\\n"],[1,"\\n    "],[10,0],[14,0,"l-column small-12 medium-6 large-6 small-valign-top"],[12],[1,"\\n"],[41,[28,[37,1],[[30,2]],null],[[[1,"        "],[8,[39,2],null,[["@story"],[[30,2]]],null],[1,"\\n"]],[]],[[[1,"        "],[8,[39,3],null,[["@story"],[[30,2]]],null],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"l-column small-12 medium-6 large-6 small-valign-top"],[12],[1,"\\n"],[41,[30,2,["canvas","length"]],[[[42,[28,[37,5],[[28,[37,5],[[30,2,["canvas"]]],null]],null],null,[[[1,"          "],[8,[39,6],null,[["@canvasItem","@story"],[[30,3],[30,2]]],null],[1,"\\n"]],[3]],null]],[]],[[[42,[28,[37,5],[[28,[37,5],[[30,2,["cardContents"]]],null]],null],null,[[[1,"          "],[8,[39,7],null,[["@app","@editorialContext"],[[30,4],[30,2,["editorialContext"]]]],null],[1,"\\n"]],[4]],null]],[]]],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@story","canvasItem","app"],false,["if","is-tile-card","pages/story/tile-card","pages/story/card","each","-track-array","pages/story/canvas-item","we-product-collection/story"]]',moduleName:"web-experience-app/components/pages/story.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/story/canvas-item",["exports","@ember/component","@ember/template-factory","@glimmer/component"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"TsJOiC2M",block:'[[[10,0],[12],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"TextBlock"],null],[[[1,"    "],[10,2],[14,0,"story__section story__textblock"],[14,"dir","auto"],[12],[1,[28,[35,2],[[30,1,["editorialCopy"]]],null]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"TextList"],null],[[[44,[[30,0,["isTextListOrdinal"]]],[[[44,[[30,0,["isTextListDesc"]]],[[[1,"        "],[8,[39,4],[[16,0,[29,["story__section story__textlist\\n            ",[52,[30,2],"list-with-numbers list-with-numbers--story","list-without-numbers list-without-numbers--story"],"\\n            ",[52,[30,3],"list-with-numbers--reversed"]]]],[16,"reversed",[30,3]],[16,5,[52,[30,3],[28,[37,5],[[28,[37,6],["--item-count-start: ",[30,1,["editorialCopy","length"]],";"],null]],null]]]],[["@ordered"],[[30,2]]],[["default"],[[[[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[30,1,["editorialCopy"]]],null]],null],null,[[[1,"            "],[10,"li"],[15,0,[52,[30,2],"list-with-numbers__item","list-without-numbers__item"]],[12],[1,"\\n              "],[1,[28,[35,2],[[30,4]],null]],[1,"\\n            "],[13],[1,"\\n"]],[4]],null],[1,"        "]],[]]]]],[1,"\\n"]],[3]]]],[2]]]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"TipBlock"],null],[[[1,"    "],[10,0],[15,0,[29,["story__section story__article-media",[52,[30,1,["editorialCopy"]]," story__article-media--captioned"]]]],[12],[1,"\\n      "],[8,[39,9],[[16,0,[29,["we-artwork--no-border we-artwork--fullwidth ",[52,[30,1,["editorialCopy"]]," we-artwork--square-bottom"]]]]],[["@artwork","@profile"],[[30,1,["artwork"]],"product-story-inlineimage"]],null],[1,"\\n"],[41,[30,1,["editorialCopy"]],[[[1,"        "],[10,0],[15,"data-count",[52,[30,1,["tipNumber"]],[28,[37,10],["WEA.Common.Number"],[["count"],[[30,1,["tipNumber"]]]]]]],[14,0,"story__article-media__caption story__article-media__caption--tipblock"],[12],[1,"\\n          "],[10,0],[12],[1,"\\n            "],[1,[28,[35,2],[[30,1,["editorialCopy"]]],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"PullQuote"],null],[[[1,"    "],[10,0],[14,0,"story__section story__pullquote"],[12],[1,"\\n      "],[10,0],[12],[1,"\\n        "],[10,"blockquote"],[14,0,"story__pullquote-quote"],[12],[1,[28,[35,2],[[30,1,["quote"]]],null]],[13],[1,"\\n        "],[10,2],[14,0,"story__pullquote-attribution"],[12],[1,[28,[35,2],[[30,1,["quoteAttribution"]]],null]],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"InlineImage"],null],[[[1,"    "],[10,0],[15,0,[29,["story__section story__article-media",[52,[30,1,["editorialCopy"]]," story__article-media--captioned"]]]],[12],[1,"\\n      "],[8,[39,9],[[16,0,[29,["we-artwork--no-border we-artwork--fullwidth ",[52,[30,1,["editorialCopy"]]," we-artwork--square-bottom"]]]]],[["@artwork","@profile"],[[30,1,["artwork"]],"product-story-inlineimage"]],null],[1,"\\n"],[41,[30,1,["editorialCopy"]],[[[1,"        "],[10,0],[14,0,"story__article-media__caption"],[12],[1,"\\n          "],[10,0],[12],[1,"\\n            "],[1,[28,[35,2],[[30,1,["editorialCopy"]]],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,11],[[28,[37,1],[[30,1,["displayType"]],"AppLockup"],null],[28,[37,1],[[30,1,["displayType"]],"CollectionLockup"],null]],null],[[[1,"    "],[10,"ul"],[14,0,"story__section we-product-collection"],[12],[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[30,1,["contents"]]],null]],null],null,[[[1,"        "],[8,[39,12],null,[["@app","@editorialContext"],[[30,5],[30,6,["editorialContext"]]]],null],[1,"\\n"]],[5]],null],[1,"    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"AppEventLockup"],null],[[[42,[28,[37,8],[[28,[37,8],[[30,1,["contents"]]],null]],null],null,[[[1,"      "],[8,[39,13],[[24,0,"we-lockup--in-app-event-story-module story__in-app-event-story-module"],[16,"data-metrics-click",[28,[37,14],["linkToAppEvent"],[["id","url"],[[30,7,["id"]],[30,7,["url"]]]]]]],[["@model","@artworkProfile"],[[30,7],"product-story-app-event"]],null],[1,"\\n"]],[7]],null]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"Header"],null],[[[1,"    "],[10,0],[14,0,"story__section"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline"],[12],[1,[28,[35,2],[[30,1,["editorialCopy"]]],null]],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,1],[[30,1,["displayType"]],"LinkBlock"],null],[[[1,"    "],[10,3],[14,0,"story__section story__section--linkblock link link--no-decoration link--no-tint"],[15,"data-metrics-click",[28,[37,14],["linkToStoryLink"],[["url"],[[30,1,["url"]]]]]],[15,6,[29,[[30,1,["url"]]]]],[12],[1,"\\n      "],[1,[30,1,["urlTitle"]]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["@canvasItem","ordered","descending","copy","app","@story","item"],false,["if","eq","html-sanitize","let","pages/story/html-list","html-safe","concat","each","-track-array","amp-artwork/wea","t","or","we-product-collection/story","we-lockup/app-event","metrics-data"]]',moduleName:"web-experience-app/components/pages/story/canvas-item.hbs",isStrictMode:!1})
class a extends r.default{get isTextListOrdinal(){return this.args.canvasItem.textListDisplayType?.includes("Ordinal")}get isTextListDesc(){return this.args.canvasItem.textListDisplayType?.includes("Desc")}}e.default=a,(0,t.setComponentTemplate)(n,a)})),define("web-experience-app/components/pages/story/card",["exports","@ember/component","@ember/template-factory","@ember/object","@glimmer/component","web-experience-app/utils/apps/luminance","web-experience-app/utils/color","web-experience-app/utils/apps/device-support","@ember/service","web-experience-app/utils/apps/app-events","@ember/template","web-experience-app/utils/images","web-experience-app/helpers/app-artwork","web-experience-app/utils/apps/stories","web-experience-app/helpers/primary-platform"],(function(e,t,i,r,n,a,o,l,s,p,c,u,d,m,f){var b,g,h,y,w,v,_,P,O,A,k,S
function x(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function j(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?x(Object(i),!0).forEach((function(t){M(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):x(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function T(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function z(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function M(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function E(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,L(e,t,"get"))}function C(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,L(e,t,"set"),i),i}function L(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}function D(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const I=(0,i.createTemplateFactory)({id:"3AGlhqaT",block:'[[[10,0],[12],[1,"\\n  "],[11,0],[16,0,[29,["story-card ",[30,0,["cardClasses"]]]]],[16,5,[30,0,["storyCardStyles"]]],[4,[38,0],[[30,0,["subscribeToClock"]]],null],[4,[38,1],[[30,0,["unsubscribeFromClock"]]],null],[12],[1,"\\n"],[41,[28,[37,3],[[30,0,["isAppEventCard"]],[30,0,["appEvent"]]],null],[[[1,"      "],[10,"time"],[14,0,"story-card__time"],[15,"datetime",[28,[37,4],[[30,0,["appEvent","startDate"]],"ISO"],null]],[12],[1,"\\n        "],[10,1],[14,0,"story-card__time-copy"],[12],[1,"\\n          "],[10,1],[14,0,"story-card__time-copy-line-clamp"],[12],[1,"\\n            "],[1,[28,[35,5],[[30,0,["appEvent"]]],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showCardArtwork"]],[[[1,"      "],[8,[39,6],[[24,0,"we-artwork--no-border story-card__artwork"]],[["@artwork","@profile"],[[30,1,["cardArtwork"]],[52,[30,0,["isAppEventCard"]],"product-story-card-iae","product-story-card"]]],null],[1,"\\n"]],[]],null],[1,"\\n    "],[10,0],[14,0,"story-card__content"],[15,5,[30,0,["storyCardContentStyles"]]],[12],[1,"\\n      "],[10,0],[14,0,"story-card__material"],[12],[13],[1,"\\n      "],[10,0],[14,0,"story-card__joe-color"],[12],[13],[1,"\\n      "],[10,0],[14,0,"story-card__copy"],[12],[1,"\\n"],[41,[30,0,["isBrandedStory"]],[[[1,"          "],[10,"h1"],[14,0,"story-card__name"],[12],[1,"\\n            "],[1,[28,[35,7],[[30,1,["label"]]],null]],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,8],[[30,0,["isMediaStory"]],[30,0,["isContentStory"]]],null],[[[1,"          "],[10,2],[14,0,"story-card__label"],[12],[1,"\\n            "],[1,[28,[35,7],[[30,1,["label"]]],null]],[1,"\\n          "],[13],[1,"\\n\\n          "],[10,"h1"],[14,0,"story-card__name"],[12],[1,"\\n            "],[1,[28,[35,7],[[30,1,["editorialNotes","name"]]],null]],[1,"\\n          "],[13],[1,"\\n\\n"],[41,[30,1,["editorialNotes","short"]],[[[1,"            "],[10,2],[14,0,"story-card__short"],[14,"dir","auto"],[12],[1,"\\n              "],[1,[28,[35,7],[[30,1,["editorialNotes","short"]]],null]],[1,"\\n            "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"      "],[13],[1,"\\n\\n"],[41,[30,0,["isShortImageStory"]],[[[1,"        "],[8,[39,6],[[24,0,"we-artwork--no-border story-card__artwork"]],[["@artwork","@profile"],[[30,1,["cardArtwork"]],"product-story-card-short"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,3],[[28,[37,9],[[30,1,["cardDisplayStyle"]],"Video"],null],[30,1,["video","clip"]]],null],[[[1,"        "],[8,[39,10],[[24,0,"story-card__video"]],[["@artwork","@media","@profile"],[[30,1,["video","artwork"]],[28,[37,11],["media-meta/editorial-video"],[["model"],[[30,1,["video","clip"]]]]],"product-story-card"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,8],[[30,0,["isAppOfTheDayStory"]],[30,0,["isGameOfTheDayStory"]]],null],[[[44,[[52,[30,0,["isAppOfTheDayStory"]],"AOTD","GOTD"]],[[[42,[28,[37,14],[[28,[37,14],[[30,1,["cardContents"]]],null]],null],null,[[[44,[[52,[28,[37,9],[[30,1,["editorialContext"]],"Messages"],null],[30,3,["primaryPlatform","ovalArtwork"]],[28,[37,8],[[30,3,["primaryPlatform","artwork"]],[28,[37,15],[[30,3]],null]],null]]],[[[41,[51,[30,1,["cardArtwork"]]],[[[1,"                "],[8,[39,6],[[16,0,[29,["story-card__day-background ",[30,0,["artworkProfile"]]]]]],[["@profile","@artwork"],["product-story-card-background",[30,4]]],null],[1,"\\n\\n                "],[8,[39,6],[[16,0,[29,["story-card__day-icon ",[30,0,["artworkProfile"]]]]]],[["@artwork","@profile"],[[30,4],"product-story-card-icon"]],null],[1,"\\n"]],[]],null],[1,"\\n              "],[10,"section"],[15,0,[29,["app-placard app-placard--inside app-placard--otd",[52,[30,3,["supportsArcade"]]," app-placard--arcade"]]]],[12],[1,"\\n                "],[8,[39,6],[[16,0,[29,["app-placard__image ",[30,0,["artworkProfile"]]]]]],[["@artwork","@profile"],[[30,4],"product-app-placard-large"]],null],[1,"\\n\\n                "],[10,0],[14,0,"app-placard__copy"],[12],[1,"\\n"],[41,[30,3,["supportsArcade"]],[[[1,"                    "],[10,2],[14,0,"app-placard__eyebrow"],[12],[1,"\\n                      "],[1,[28,[35,17],["WEA.AppPages.Arcade.Branding.Title"],null]],[1,"\\n                    "],[13],[1,"\\n"]],[]],null],[1,"\\n                  "],[10,2],[14,0,"app-placard__title truncate-single-line"],[12],[1,"\\n                    "],[1,[28,[35,7],[[30,3,["name"]]],null]],[1,"\\n                  "],[13],[1,"\\n\\n                  "],[10,2],[14,0,"app-placard__subtitle truncate-single-line"],[12],[1,"\\n                    "],[1,[28,[35,7],[[30,3,["primaryPlatform","subtitle"]]],null]],[1,"\\n                  "],[13],[1,"\\n                "],[13],[1,"\\n\\n                "],[10,3],[14,0,"app-placard__cta we-button we-button--pill"],[15,"data-metrics-click",[28,[37,18],["linkToStoryApp"],[["url"],[[30,3,["url"]]]]]],[15,6,[29,[[30,3,["url"]]]]],[12],[1,[28,[35,17],["WEA.Common.View"],null]],[13],[1,"\\n              "],[13],[1,"\\n"]],[4]]]],[3]],null]],[2]]]],[]],null],[1,"\\n"],[41,[30,0,["isAppEventCard"]],[[[44,[[30,0,["appEventPlacard"]]],[[[1,"          "],[10,0],[15,0,[29,["story-card__placard appEvent-placard ",[30,0,["placardClasses"]]]]],[12],[1,"\\n            "],[8,[39,6],[[16,0,[29,["story-card__placard-image app-placard__image ",[30,0,["artworkProfile"]]]]]],[["@artwork","@profile"],[[30,5,["artwork"]],"product-app-placard-iae"]],null],[1,"\\n\\n            "],[10,0],[14,0,"app-placard__copy"],[12],[1,"\\n              "],[10,2],[14,0,"app-placard__title truncate-single-line"],[12],[1,"\\n                "],[1,[28,[35,7],[[30,5,["name"]]],null]],[1,"\\n              "],[13],[1,"\\n\\n              "],[10,2],[14,0,"app-placard__subtitle truncate-single-line"],[12],[1,"\\n                "],[1,[28,[35,7],[[30,5,["subtitle"]]],null]],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n\\n            "],[10,3],[14,0,"app-placard__cta we-button we-button--pill-small we-button--pill-white we-button--centered"],[15,"data-metrics-click",[28,[37,18],["linkToStoryApp"],[["url"],[[30,5,["url"]]]]]],[15,6,[30,5,["url"]]],[12],[1,[28,[35,17],["WEA.Common.View"],null]],[13],[1,"\\n          "],[13],[1,"\\n"]],[5]]]],[]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[28,[37,3],[[28,[37,9],[[30,1,["cardContents","length"]],1],null],[28,[37,19],[[30,0,["isBrandedStory"]]],null],[28,[37,19],[[30,0,["isAppEventCard"]]],null]],null],[[[44,[[30,0,["placardApp"]]],[[[1,"      "],[10,"section"],[15,0,[29,["app-placard",[52,[30,6,["supportsArcade"]]," app-placard--arcade"]]]],[12],[1,"\\n        "],[8,[39,6],[[16,0,[29,["app-placard__image ",[30,0,["artworkProfile"]]]]]],[["@artwork","@profile"],[[52,[28,[37,9],[[30,1,["editorialContext"]],"Messages"],null],[30,6,["primaryPlatform","ovalArtwork"]],[28,[37,8],[[30,6,["primaryPlatform","artwork"]],[28,[37,15],[[30,6]],null],[30,6,["artwork"]]],null]],"product-app-placard-large"]],null],[1,"\\n\\n        "],[10,0],[14,0,"app-placard__copy"],[12],[1,"\\n"],[41,[30,6,["supportsArcade"]],[[[1,"            "],[10,2],[14,0,"app-placard__eyebrow"],[12],[1,"\\n              "],[1,[28,[35,17],["WEA.AppPages.Arcade.Branding.Title"],null]],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[1,"\\n          "],[10,2],[14,0,"app-placard__title truncate-single-line"],[12],[1,"\\n            "],[1,[28,[35,7],[[30,6,["name"]]],null]],[1,"\\n          "],[13],[1,"\\n\\n"],[44,[[28,[37,8],[[30,6,["primaryPlatform","subtitle"]],[30,6,["primaryGenre","name"]],[30,6,["subtitle"]]],null]],[[[1,"            "],[10,2],[14,0,"app-placard__subtitle truncate-single-line"],[12],[1,"\\n              "],[1,[28,[35,7],[[30,7]],null]],[1,"\\n            "],[13],[1,"\\n"]],[7]]],[1,"        "],[13],[1,"\\n\\n        "],[10,3],[14,0,"app-placard__cta we-button we-button--pill-keycolor"],[15,"data-metrics-click",[28,[37,18],["linkToStoryApp"],[["url"],[[30,6,["url"]]]]]],[15,6,[29,[[30,6,["url"]]]]],[12],[1,[28,[35,17],["WEA.Common.View"],null]],[13],[1,"\\n      "],[13],[1,"\\n"]],[6]]]],[]],null],[13],[1,"\\n\\n"],[41,[28,[37,8],[[30,0,["isFullBleedStory"]],[30,0,["isBrandedStory"]]],null],[[[1,"  "],[10,"style"],[12],[1,"\\n    .story-card__label {\\n      color: rgba("],[1,[30,0,["labelColor"]]],[1,", 0.8);\\n    }\\n    .story-card--branded .story-card__label {\\n      color: rgba("],[1,[30,0,["labelColor"]]],[1,", 1);\\n    }\\n    .story-card__name {\\n      color: rgba("],[1,[30,0,["labelColor"]]],[1,", 1);\\n    }\\n    .story-card__short {\\n      color: rgba("],[1,[30,0,["labelColor"]]],[1,", 0.8);\\n    }\\n  "],[13],[1,"\\n"]],[]],null]],["@story","storyType","app","appArtwork","appEvent","app","subtitle"],false,["did-insert","will-destroy","if","and","format-date","format-event-badge","amp-artwork/wea","html-sanitize","or","eq","we-video-autoplay","present","let","each","-track-array","app-artwork","unless","t","metrics-data","not"]]',moduleName:"web-experience-app/components/pages/story/card.hbs",isStrictMode:!1}),N="0, 0, 0",R="255, 255, 255"
let F=(b=(0,r.computed)("args.story.{cardContents.[],editorialContext}"),g=(0,r.computed)("args.story.cardDisplayStyle"),h=(0,r.computed)("isBrandedStory","isContentStory","isFullBleedStory","isShortImageStory","isVideoStory"),y=(0,r.computed)("args.story.{cardArtwork,isAppEventCard}","isShortImageStory","isVideoStory"),w=(0,r.computed)("appEvent","args.story.{cardArtwork.bgColor,cardDisplayStyle,video}","clock.now","isAppEventCard","isVideoStory"),v=(0,r.computed)("args.story.{cardArtwork.bgColor,cardContents.[]}"),_=(0,r.computed)("isAppEventCard","placardApp"),P=(0,r.computed)("args.story.cardArtwork.bgColor"),S=new WeakMap,O=class extends n.default{constructor(){super(...arguments),T(this,"clock",A,this),T(this,"platform",k,this),z(this,S,{writable:!0,value:null})}get artworkProfile(){const{editorialContext:e}=this.args.story
return"Watch"===e?"we-artwork--watch-app-icon we-artwork--no-border":"Messages"===e?"we-artwork--imessages-app-icon":(0,l.isMacOnly)((0,m.availableDevices)(this.args.story))?"we-artwork--macos-app-icon":"we-artwork--ios-app-icon"}get cardClasses(){const e=[this._cardTypeClass],{_specificClassesForType:t}=this
return t&&e.push(t),e.join(" ")}get isAppEventCard(){return this.args.story.cardDisplayStyle===m.CARD_DISPLAY_STYLES.appEventCard}get isAppOfTheDayStory(){return this.args.story.cardDisplayStyle===m.CARD_DISPLAY_STYLES.appOfTheDay}get isBrandedStory(){return this.args.story.displayStyle===m.DISPLAY_STYLES.branded}get isContentStory(){return this.args.story.displayStyle===m.DISPLAY_STYLES.content}get isFullBleedStory(){return this.args.story.cardDisplayStyle===m.CARD_DISPLAY_STYLES.fullBleed}get isGameOfTheDayStory(){return this.args.story.cardDisplayStyle===m.CARD_DISPLAY_STYLES.gameOfTheDay}get isMediaStory(){return this.args.story.displayStyle===m.DISPLAY_STYLES.media}get isShortImageStory(){return this.args.story.cardDisplayStyle===m.CARD_DISPLAY_STYLES.shortImage}get isVideoStory(){return this.args.story.cardDisplayStyle===m.CARD_DISPLAY_STYLES.video}get _cardTypeClass(){return this.isFullBleedStory?"story-card--hero":this.isShortImageStory?"story-card--short-image":this.isContentStory?"story-card--content":this.isBrandedStory?"story-card--branded":this.isVideoStory?"story-card--video":""}get showCardArtwork(){const{cardArtwork:e}=this.args.story
return e&&!this.isShortImageStory&&!this.isVideoStory}get _specificClassesForType(){const{story:e}=this.args
if(this.isVideoStory)return(0,u.isPortrait)(e.video)?"story-card--video-portrait":"story-card--video-landscape"
if(this.isAppEventCard){let t=""
return(0,p.isLiveHappeningEvent)(this.appEvent,this.clock.now)&&(t+=" is-live"),(0,o.isLight)(e.cardArtwork?.bgColor)?t+=" story-card--app-event-on-light":t+=" story-card--app-event-on-dark",t}return""}get labelColor(){const{story:{cardArtwork:e,cardContents:t}}=this.args
let i
if(e)i=e.bgColor
else{const[e]=t
i=e?(0,d.appArtwork)(e)?.bgColor:"efeff4"}return(0,a.default)(i)>=214.2?N:R}get appEvent(){return this.isAppEventCard&&this.placardApp||{}}get appEventPlacard(){const e=(0,f.primaryPlatform)(this.appEvent?.app?.[0]||{},this.platform.browser.isiOS)
return e?j(j({},e),this.appEvent?.app?.[0]):{}}get placardApp(){return this.args.story.cardContents?.[0]}get placardClasses(){const{story:e}=this.args
return(0,o.isLight)(e.cardArtwork?.bgColor)?"app-placard--iae-story-on-light":"app-placard--iae-story-on-dark"}get storyCardStyles(){const{cardArtwork:e}=this.args.story
return(0,c.htmlSafe)(`--event-color: #${e?.bgColor};`)}get storyCardContentStyles(){const{cardArtwork:e}=this.args.story,t=(0,p.fallbackEventArtwork)(e?.url)
return t?(0,c.htmlSafe)(`--background-image: url(${t});`):""}subscribeToClock(){C(this,S,(()=>(0,p.shouldUnsubscribe)(this.appEvent))),(0,p.shouldSubscribe)(this.appEvent)&&this.clock.subscribe(E(this,S))}unsubscribeFromClock(){this.clock.unsubscribe(E(this,S))}},A=D(O.prototype,"clock",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=D(O.prototype,"platform",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D(O.prototype,"artworkProfile",[b],Object.getOwnPropertyDescriptor(O.prototype,"artworkProfile"),O.prototype),D(O.prototype,"isVideoStory",[g],Object.getOwnPropertyDescriptor(O.prototype,"isVideoStory"),O.prototype),D(O.prototype,"_cardTypeClass",[h],Object.getOwnPropertyDescriptor(O.prototype,"_cardTypeClass"),O.prototype),D(O.prototype,"showCardArtwork",[y],Object.getOwnPropertyDescriptor(O.prototype,"showCardArtwork"),O.prototype),D(O.prototype,"_specificClassesForType",[w],Object.getOwnPropertyDescriptor(O.prototype,"_specificClassesForType"),O.prototype),D(O.prototype,"labelColor",[v],Object.getOwnPropertyDescriptor(O.prototype,"labelColor"),O.prototype),D(O.prototype,"appEvent",[_],Object.getOwnPropertyDescriptor(O.prototype,"appEvent"),O.prototype),D(O.prototype,"placardClasses",[P],Object.getOwnPropertyDescriptor(O.prototype,"placardClasses"),O.prototype),D(O.prototype,"subscribeToClock",[r.action],Object.getOwnPropertyDescriptor(O.prototype,"subscribeToClock"),O.prototype),D(O.prototype,"unsubscribeFromClock",[r.action],Object.getOwnPropertyDescriptor(O.prototype,"unsubscribeFromClock"),O.prototype),O)
e.default=F,(0,t.setComponentTemplate)(I,F)})),define("web-experience-app/components/pages/story/html-list",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"RStaX5bD",block:'[[[41,[30,1],[[[1,"  "],[11,"ol"],[17,2],[12],[1,"\\n    "],[18,3,null],[1,"\\n  "],[13],[1,"\\n"]],[]],[[[1,"  "],[11,"ul"],[17,2],[12],[1,"\\n    "],[18,3,null],[1,"\\n  "],[13],[1,"\\n"]],[]]]],["@ordered","&attrs","&default"],false,["if","yield"]]',moduleName:"web-experience-app/components/pages/story/html-list.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/pages/story/tile-card",["exports","@ember/component","@ember/template-factory","@ember/object","@glimmer/component","web-experience-app/utils/apps/array-expand","web-experience-app/utils/apps/device-support","web-experience-app/utils/apps/stories","@ember/service","web-experience-app/helpers/primary-platform"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m,f,b
function g(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const h=(0,i.createTemplateFactory)({id:"z5kL+uXb",block:'[[[10,0],[12],[1,"\\n  "],[10,0],[15,0,[29,["story-card ",[30,0,["cardClasses"]]]]],[12],[1,"\\n    "],[10,0],[14,0,"story-card__copy"],[12],[1,"\\n      "],[10,2],[14,0,"story-card__label"],[12],[1,[28,[35,0],[[30,1,["label"]]],null]],[13],[1,"\\n"],[41,[51,[30,0,["isInAppPurchaseStory"]]],[[[1,"        "],[10,"h1"],[14,0,"story-card__name"],[12],[1,[28,[35,0],[[30,1,["editorialNotes","name"]]],null]],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"story-card__collection"],[12],[1,"\\n      "],[10,0],[15,0,[29,["product-grid ",[30,0,["gridClasses"]]]]],[12],[1,"\\n        "],[10,0],[14,0,"product-grid__area"],[12],[1,"\\n"],[41,[30,0,["isInAppPurchaseStory"]],[[[42,[28,[37,4],[[28,[37,4],[[30,1,["cardContents"]]],null]],null],null,[[[1,"              "],[10,0],[14,0,"product-grid__item"],[12],[1,"\\n                "],[8,[39,5],[[24,0,"story-card__iap-purchase in-app-purchase-artwork__purchase"]],[["@artwork","@profile"],[[30,2,["artwork"]],"product-story-iap-purchase"]],null],[1,"\\n"],[44,[[28,[37,7],[[28,[37,8],[[30,1,["editorialContext"]],"Messages"],null],[30,2,["app","primaryPlatform","ovalArtwork"]]],null]],[[[44,[[52,[30,3],[30,2,["app","primaryPlatform","ovalArtwork"]],[28,[37,9],[[30,2,["app","primaryPlatform","artwork"]],[28,[37,10],[[30,0,["cardApp","app"]]],null]],null]]],[[[1,"                    "],[8,[39,5],[[16,0,[28,[37,11],["story-card__iap-app ","in-app-purchase-artwork__app we-artwork--ios-app-icon",[52,[30,5,["isPrimarymacOS"]]," we-artwork--macos-app-icon"]],null]]],[["@artwork","@addBgColor","@profile"],[[30,4],false,"product-story-iap-app"]],null],[1,"\\n"]],[4]]]],[3]]],[1,"              "],[13],[1,"\\n"]],[2]],null]],[]],[[[42,[28,[37,4],[[28,[37,4],[[30,0,["cardApps"]]],null]],null],null,[[[1,"              "],[8,[39,5],[[16,0,[29,["product-grid__item ",[30,6,["classes"]]]]]],[["@profile","@artwork"],[[30,6,["profile"]],[30,6,["appArtwork"]]]],null],[1,"\\n"]],[6]],null]],[]]],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[30,0,["isSingleAppStory"]],[[[42,[28,[37,4],[[28,[37,4],[[30,1,["cardContents"]]],null]],null],null,[[[1,"        "],[10,"section"],[14,0,"story__headline app-placard app-placard--inside"],[12],[1,"\\n          "],[10,0],[14,0,"app-placard__copy"],[12],[1,"\\n            "],[10,2],[14,0,"app-placard__title truncate-single-line"],[12],[1,[28,[35,0],[[30,7,["name"]]],null]],[13],[1,"\\n"],[44,[[28,[37,9],[[30,7,["primaryPlatform","subtitle"]],[30,7,["genres","0","name"]],[30,7,["genreDisplayName"]]],null]],[[[1,"              "],[10,2],[14,0,"app-placard__subtitle truncate-single-line"],[12],[1,[28,[35,0],[[30,8]],null]],[13],[1,"\\n"]],[8]]],[1,"          "],[13],[1,"\\n          "],[10,3],[14,0,"app-placard__cta we-button we-button--pill-keycolor"],[15,"data-metrics-click",[28,[37,12],["linkToStoryApp"],[["url"],[[30,7,["url"]]]]]],[15,6,[29,[[30,7,["url"]]]]],[12],[1,[28,[35,13],["WEA.Common.View"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[7]],null]],[]],null],[1,"\\n"],[41,[30,0,["isInAppPurchaseStory"]],[[[42,[28,[37,4],[[28,[37,4],[[30,1,["cardContents"]]],null]],null],null,[[[1,"        "],[10,0],[14,0,"story-card__iap-footer"],[12],[1,"\\n          "],[10,2],[14,0,"story-card__name"],[12],[1,"\\n            "],[1,[28,[35,13],["WEA.EditorialItemProductPages.InAppPurchase.Title"],[["purchaseName","appName"],[[30,9,["name"]],[28,[37,11],["<span class=\\"story-card__name-highlight\\">",[28,[37,9],[[30,9,["app","name"]],[30,9,["app","0","name"]]],null],"</span>"],null]]]]],[1,"\\n          "],[13],[1,"\\n          "],[10,0],[14,0,"app-placard app-placard--iap"],[12],[1,"\\n            "],[10,2],[14,0,"app-placard__copy"],[14,"dir","auto"],[12],[1,"\\n              "],[1,[28,[35,0],[[30,9,["description","standard"]]],null]],[1,"\\n            "],[13],[1,"\\n            "],[10,3],[14,0,"app-placard__cta we-button we-button--pill-keycolor"],[15,"data-metrics-click",[28,[37,12],["linkToStoryApp"],[["url"],[[30,9,["url"]]]]]],[15,6,[29,[[30,9,["url"]]]]],[12],[1,[28,[35,13],["WEA.Common.View"],null]],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[9]],null]],[]],null],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,"style"],[12],[1,"\\n  "],[1,[30,1,["cardStyles"]]],[1,"\\n"],[13],[1,"\\n"]],["@story","card","useOvalArtwork","appArtwork","@app","cardApp","app","subtitle","card"],false,["html-sanitize","unless","if","each","-track-array","amp-artwork/wea","let","and","eq","or","app-artwork","concat","metrics-data","t"]]',moduleName:"web-experience-app/components/pages/story/tile-card.hbs",isStrictMode:!1}),y=9,w=13,v=16,_=29
let P=(c=(0,r.computed)("args.story.{cardContents.[]}"),u=(0,r.computed)("appsToShow.[]","args.story.{cardContents.[],editorialContext}","gridProfilePrefix","platform.browser.isiOS"),d=(0,r.computed)("args.story.cardContents.length","isInAppPurchaseStory","isSingleAppStory"),m=(0,r.computed)("args.story.cardContents.[]","isSingleAppStory"),f=class extends n.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=b)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get cardClasses(){let e=""
const{story:t}=this.args
return t?([l.DISPLAY_STYLES.content,l.DISPLAY_STYLES.media].includes(t.displayStyle)&&(e+=" story-card--content"),t.displaySubStyle===l.DISPLAY_SUB_STYLES.list&&(e+=" story-card--list"),e):e}get isInAppPurchaseStory(){return this.args.story.cardDisplayStyle===l.CARD_DISPLAY_STYLES.inAppPurchase}get isSingleAppStory(){return this.args.story.cardDisplayStyle===l.CARD_DISPLAY_STYLES.singleApp}get appsToShow(){const{story:e}=this.args
let{cardContents:t=[]}=e
return t&&"function"==typeof t.toArray&&(t=t.toArray()),(0,l.isRiver)(e)&&t.length>4&&t.length<v?(0,a.default)(t,v):(0,l.largeTiles)(e)&&t.length<y?(0,a.default)(t,y):(0,l.mixedTiles)(e)&&t.length<w?(0,a.default)(t,w):(0,l.smallTiles)(e)&&t.length<_?(0,a.default)(t,_):t.slice(0)}get cardApps(){const{appsToShow:e,gridProfilePrefix:t}=this,{story:i}=this.args,{editorialContext:r}=i
return e.map(((e,n)=>{let a=(0,o.primaryPlatformSupported)(e.deviceFamilies,this.platform.browser.isiOS)
const s=(0,p.primaryPlatform)(e,this.platform.browser.isiOS),c=(0,o.isWatchSupported)(e.deviceFamilies)
c&&"Watch"!==r&&(a="iosPlatform")
const u=0===n&&(0,l.mixedTiles)(i),d=c&&"Watch"===r,m="Messages"===r&&s?.ovalArtwork||e.ovalArtwork,f=a===o.PLATFORMS.mac,b=this.getProfile(a,t,u,m)
return{app:e,classes:this.getClasses(f,d,m),profile:b,appArtwork:this.getAppArtwork(s,e)}}))}get gridClasses(){const{story:e}=this.args
return this.isInAppPurchaseStory?"product-grid--iap":this.isSingleAppStory?"product-grid--one":2===e.cardContents?.length?"product-grid--two":3===e.cardContents?.length?"product-grid--three":4===e.cardContents?.length?"product-grid--four":(0,l.isRiver)(e)?"product-grid--river":(0,l.largeTiles)(e)?"product-grid--tiles product-grid--large":(0,l.mixedTiles)(e)?"product-grid--tiles product-grid--mixed":((0,l.smallTiles)(e),"product-grid--tiles product-grid--small")}get gridProfilePrefix(){const{story:e}=this.args
return this.isSingleAppStory?"product-grid-one-":2===e.cardContents?.length?"product-grid-two-":3===e.cardContents?.length?"product-grid-three-":4===e.cardContents?.length?"product-grid-four-":(0,l.isRiver)(e)?"product-grid-small-":(0,l.largeTiles)(e)?"product-grid-large-":((0,l.mixedTiles)(e),"product-grid-small-")}getProfile(e,t,i,r){let n=`${t}${e}`
return i&&(n=`product-grid-large-${e}`),r&&(n=i?"product-grid-large-imessage":"product-grid-small-imessage"),n}getClasses(e,t,i){return t?"we-artwork--watch-app-icon we-artwork--no-border":i?"we-artwork--imessages-app-icon":e?"we-artwork--macos-app-icon":"we-artwork--ios-app-icon"}getAppArtwork(e,t){const i=e?.ovalArtwork||t.ovalArtwork
if("Messages"===this.args.story.editorialContext&&i)return i
const r=e?.circularArtwork||t.circularArtwork
return"Watch"===this.args.story.editorialContext&&r?r:e?.artwork||t.artwork}},b=g(f.prototype,"platform",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(f.prototype,"appsToShow",[c],Object.getOwnPropertyDescriptor(f.prototype,"appsToShow"),f.prototype),g(f.prototype,"cardApps",[u],Object.getOwnPropertyDescriptor(f.prototype,"cardApps"),f.prototype),g(f.prototype,"gridClasses",[d],Object.getOwnPropertyDescriptor(f.prototype,"gridClasses"),f.prototype),g(f.prototype,"gridProfilePrefix",[m],Object.getOwnPropertyDescriptor(f.prototype,"gridProfilePrefix"),f.prototype),f)
e.default=P,(0,t.setComponentTemplate)(h,P)})),define("web-experience-app/components/product-page-shelf",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"wZg72YQg",block:'[[[41,[30,1,["length"]],[[[1,"  "],[11,"section"],[24,0,"section section--bordered"],[17,2],[12],[1,"\\n    "],[10,0],[14,0,"section__nav"],[12],[1,"\\n      "],[10,"h2"],[14,0,"section__headline"],[12],[1,"\\n        "],[1,[30,3]],[1,"\\n      "],[13],[1,"\\n\\n      "],[8,[39,1],null,[["@itemCount","@nextLink","@small","@medium","@large","@sectionType"],[[30,1,["length"]],[30,1,["meta","next"]],[30,4,["small"]],[30,4,["medium"]],[30,4,["large"]],[30,5]]],null],[1,"\\n    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"l-row l-row--peek"],[12],[1,"\\n      "],[8,[39,2],null,[["@items","@profile","@clampProfile","@columnClassNames","@metricsLocation","@isPodcast"],[[30,1],[30,4],[30,6],[30,7],[30,8],[30,9]]],null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],["@items","&attrs","@headerText","@profile","@sectionType","@clampProfile","@columnClassNames","@metricsLocation","@isPodcast"],false,["if","we-see-all","we-shelf"]]',moduleName:"web-experience-app/components/product-page-shelf.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/radial-progress",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object/internals"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"vBgo/Gj5",block:'[[[11,"svg"],[24,"viewBox","0 0 26 26"],[16,0,[29,["radial-progress",[52,[30,1]," is-spinning"]]]],[24,"width","26"],[24,"height","26"],[24,"role","presentation"],[17,2],[12],[1,"\\n  "],[10,"defs"],[12],[1,"\\n    "],[10,"filter"],[15,1,[29,[[30,0,["filterId"]]]]],[14,"height","300%"],[14,"width","300%"],[14,"x","-75%"],[14,"y","-75%"],[12],[1,"\\n"],[1,"      "],[10,"feGaussianBlur"],[14,"stdDeviation",".75"],[14,"result","blurred"],[12],[13],[1,"\\n\\n"],[1,"      "],[10,"feFlood"],[14,"flood-color","white"],[14,"result","glowColor"],[12],[13],[1,"\\n\\n"],[1,"      "],[10,"feComposite"],[14,"in","glowColor"],[14,"in2","blurred"],[14,"operator","in"],[14,"result","glowColorBlurred"],[12],[13],[1,"\\n\\n"],[1,"      "],[10,"feMerge"],[12],[1,"\\n        "],[10,"feMergeNode"],[14,"in","glowColorBlurred"],[12],[13],[1,"\\n        "],[10,"feMergeNode"],[14,"in","SourceGraphic"],[12],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[30,3],[[[1,"    "],[10,"circle"],[14,0,"radial-progress__border"],[14,"cx","13"],[14,"cy","13"],[14,"r","12.25"],[14,"fill","transparent"],[14,"stroke-width","1"],[14,"stroke","#999"],[15,"filter",[29,["url(#",[30,0,["filterId"]],")"]]],[12],[13],[1,"\\n    "],[10,"circle"],[14,0,"radial-progress__indicator"],[14,"cx","13"],[14,"cy","13"],[14,"r","11.75"],[14,"fill","transparent"],[14,"stroke-width","2"],[14,"stroke-dasharray","74"],[15,"stroke-dashoffset",[30,0,["strokeOffset"]]],[15,"filter",[29,["url(#",[30,0,["filterId"]],")"]]],[14,"transform","rotate(-90 13 13)"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1],[[[1,"    "],[10,"circle"],[14,0,"radial-progress__spinner is-spinning"],[14,"cx","13"],[14,"cy","13"],[14,"r","7"],[14,"stroke","currentColor"],[14,"fill","none"],[14,"stroke-width","1.5"],[14,"stroke-dasharray","36 8"],[14,"stroke-dashoffset","-.3"],[14,"stroke-linecap","round"],[12],[13],[1,"\\n"]],[]],[[[41,[30,4],[[[1,"    "],[10,"path"],[14,0,"radial-progress__pause-icon"],[14,"d","M5.33 0h2C7.7 0 8 .32 8 .71V9.3c0 .39-.3.71-.67.71h-2c-.36 0-.66-.32-.66-.71V.7c0-.39.3-.71.66-.71zM.67 0h2c.36 0 .66.32.66.71V9.3c0 .39-.3.71-.66.71h-2A.7.7 0 0 1 0 9.29V.7C0 .32.3 0 .67 0z"],[14,"transform","translate(9.25 8)"],[12],[13],[1,"\\n"]],[]],[[[1,"    "],[10,"circle"],[14,0,"radial-progress__background-circle"],[14,"cx","13"],[14,"cy","13"],[14,"r","13"],[14,"fill","white"],[14,"stroke","none"],[12],[13],[1,"\\n\\n"],[1,"    "],[10,"path"],[14,"d","M11.72 6.98L.8 12.93a.55.55 0 0 1-.81-.47V.54A.54.54 0 0 1 .8.07l10.92 5.96a.54.54 0 0 1 0 .95z"],[14,"transform","translate(8.5 6.5)"],[12],[13],[1,"\\n  "]],[]]]],[]]],[13],[1,"\\n"]],["@isLoading","&attrs","@isCurrentSong","@isPlaying"],false,["if"]]',moduleName:"web-experience-app/components/radial-progress.hbs",isStrictMode:!1})
class o extends r.default{constructor(){var e,t,i
super(...arguments),i=void 0,(t="id")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,this.id=(0,n.guidFor)(this)}get filterId(){return`contrast-${this.id}`}get progress(){return this.args.progress??0}get strokeOffset(){return 74-74*this.progress/100}}e.default=o,(0,t.setComponentTemplate)(a,o)}))
define("web-experience-app/components/see-all/apps/lockup",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","@ember/string"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const u=(0,i.createTemplateFactory)({id:"3u5LsA48",block:'[[[8,[39,0],null,[["@items","@getNextPage"],[[30,1],[30,0,["getNextPage"]]]],[["default"],[[[[1,"\\n   "],[8,[39,1],null,[["@header","@productModel"],[[30,4],[30,5]]],null],[1,"\\n\\n   "],[10,0],[14,0,"l-row"],[14,"role","feed"],[14,"aria-labelledby","section__headline"],[15,"aria-busy",[30,3]],[12],[1,"\\n     "],[8,[39,2],null,[["@items","@productModel","@metricsConfigKey","@seeAllModelType","@sectionType","@isPodcast"],[[30,2],[30,5],[30,6],[30,7],[28,[37,3],["seeAll",[28,[37,4],[[30,8]],null]],null],false]],null],[1,"\\n   "],[13],[1,"\\n "]],[2,3]]]]],[1,"\\n"]],["@items","items","isLoadingNextPage","@header","@productModel","@metricsConfigKey","@seeAllModelType","@sectionType"],false,["see-all/loader","see-all/header","see-all/grid","concat","capitalize"]]',moduleName:"web-experience-app/components/see-all/apps/lockup.hbs",isStrictMode:!1})
let d=(l=(0,n.inject)("media-api/apps"),s=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="api",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}async getNextPage(e,t){const{productModel:i,sectionType:r}=this.args,{newRecords:n,mergedRecords:a}=await this.api.getNextApps(t)
return i[`add${(0,o.capitalize)(r)}`](n,a.meta),i[r]}},p=c(s.prototype,"api",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c(s.prototype,"getNextPage",[a.action],Object.getOwnPropertyDescriptor(s.prototype,"getNextPage"),s.prototype),s)
e.default=d,(0,t.setComponentTemplate)(u,d)})),define("web-experience-app/components/see-all/apps/reviews",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object"],(function(e,t,i,r,n,a){var o,l,s
function p(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const c=(0,i.createTemplateFactory)({id:"r3dp1C4Q",block:'[[[8,[39,0],null,[["@items","@getNextPage"],[[30,1],[30,0,["getNextPage"]]]],[["default"],[[[[1,"\\n  "],[8,[39,1],[[24,1,"section__headline"]],[["@header","@productModel"],[[30,4],[30,5]]],null],[1,"\\n\\n"],[41,[30,5,["userRating","value"]],[[[1,"    "],[8,[39,3],null,[["@rating"],[[30,5,["userRating"]]]],null],[1,"\\n"]],[]],null],[1,"\\n  "],[8,[39,4],[[24,0,"l-row"],[24,"aria-labelledby","section__headline"],[16,"aria-busy",[30,3]]],[["@items"],[[30,2]]],null],[1,"\\n"]],[2,3]]]]],[1,"\\n"]],["@items","items","isLoading","@header","@productModel"],false,["see-all/loader","see-all/header","if","we-customer-ratings","see-all/review-card-grid"]]',moduleName:"web-experience-app/components/see-all/apps/reviews.hbs",isStrictMode:!1})
let u=(o=(0,n.inject)("media-api/apps"),l=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="api",r=this,(i=s)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}async getNextPage(e,t){return(await this.api.getDataFromNextURL(e,t)).mergedRecords}},s=p(l.prototype,"api",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p(l.prototype,"getNextPage",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"getNextPage"),l.prototype),l)
e.default=u,(0,t.setComponentTemplate)(c,u)})),define("web-experience-app/components/see-all/chooser",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"cHSnyRem",block:'[[[1,"  "],[18,1,[[28,[37,1],null,[["reviews","lockup"],[[50,"see-all/apps/reviews",0,null,null],[50,"see-all/apps/lockup",0,null,null]]]]]],[1,"\\n"]],["&default"],false,["yield","hash","component"]]',moduleName:"web-experience-app/components/see-all/chooser.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/see-all/grid",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"4BVad0Qp",block:'[[[42,[28,[37,1],[[28,[37,1],[[30,1]],null]],null],null,[[[44,[[52,[28,[37,4],[[30,4],"app"],null],"app",[28,[37,5],[[30,2,["type"]],[30,2,["lockupKind"]],[30,2,["kind"]]],null]]],[[[44,[[28,[37,6],[[30,5]],null]],[[[44,[[28,[37,7],[[28,[37,8],[[30,5]],[["sectionType"],[[30,7]]]]],[["item","lockup","model"],[[30,2],[30,2],[30,8]]]]],[[[1,"        "],[8,[39,9],[[24,"role","article"],[16,"aria-posinset",[29,[[28,[37,10],[[30,3]],null]]]],[24,"aria-setsize","-1"],[16,0,[28,[37,11],["l-column--grid ",[30,6,["lockupClassNames"]]," ",[30,6,["columnClassNames"]]],null]],[16,"data-metrics-click",[28,[37,12],[[30,10]],[["id","url"],[[30,9,["id"]],[30,9,["url"]]]]]],[16,"data-metrics-location",[28,[37,12],["location"],[["sectionType"],[[30,7]]]]],[16,"data-we-link-to-exclude",false]],[["@model","@artworkProfile","@clampProfile","@subtitle","@isPodcast"],[[30,9],[30,6,["artwork"]],[30,6,["clampProfile"]],[52,[30,11],[30,9,["artistName"]]],[30,11]]],null],[1,"\\n"]],[9]]]],[6]]]],[5]]]],[2,3]],null]],["@items","item","index","@seeAllModelType","lockupKind","profile","@sectionType","@productModel","itemPresenter","@metricsConfigKey","@isPodcast"],false,["each","-track-array","let","if","eq","or","see-all-profile","present","lockup-presenter","we-lockup","inc","concat","metrics-data"]]',moduleName:"web-experience-app/components/see-all/grid.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/see-all/header",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"qeyPQGAG",block:'[[[11,"h1"],[24,0,"section__headline see-all-header"],[24,1,"section__headline"],[17,1],[12],[1,"\\n"],[41,[30,2,["full"]],[[[1,"    "],[1,[30,2,["full"]]],[1,"\\n"]],[]],[[[1,"    "],[10,3],[15,6,[30,3,["url"]]],[14,0,"see-all-header__link link"],[12],[1,"\\n      "],[1,[30,2,["parts","productName"]]],[1,"\\n    "],[13],[1,"\\n    "],[10,1],[14,0,"see-all-header__title"],[12],[1,"\\n      "],[1,[30,2,["parts","sectionTitle"]]],[1,"\\n    "],[13],[1,"\\n"]],[]]],[13],[1,"\\n"]],["&attrs","@header","@productModel"],false,["if"]]',moduleName:"web-experience-app/components/see-all/header.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/see-all/itunes/lockup",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Heo95g8v",block:'[[[8,[39,0],null,[["@items","@itemIds","@getItemsWithIds"],[[30,1],[30,2],[30,0,["loadMore"]]]],[["default"],[[[[1,"\\n  "],[8,[39,1],null,[["@header","@productModel"],[[30,5],[30,6]]],null],[1,"\\n\\n  "],[10,0],[14,0,"l-row"],[14,"role","feed"],[14,"aria-labelledby","section__headline"],[15,"aria-busy",[30,4]],[12],[1,"\\n    "],[8,[39,2],null,[["@items","@productModel","@metricsConfigKey","@seeAllModelType","@sectionType"],[[30,3],[30,6],[30,7],[30,8],[28,[37,3],["seeAll",[28,[37,4],[[30,9]],null]],null]]],null],[1,"\\n  "],[13],[1,"\\n"]],[3,4]]]]],[1,"\\n"]],["@items","@itemIds","items","isLoadingNextPage","@header","@productModel","@metricsConfigKey","@seeAllModelType","@sectionType"],false,["see-all/loader/by-ids","see-all/header","see-all/grid","concat","capitalize"]]',moduleName:"web-experience-app/components/see-all/itunes/lockup.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/see-all/loader",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@glimmer/tracking","@ember/debug"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"2Mg5cUQ0",block:'[[[11,"section"],[24,0,"l-content-width section"],[17,1],[12],[1,"\\n\\n  "],[18,2,[[30,0,["items"]],[30,0,["isLoadingNextPage"]]]],[1,"\\n\\n  "],[8,[39,1],[[24,0,"we-loading-spinner--see-all"]],[["@nextLink","@nextPage"],[[30,0,["items","meta","next"]],[30,0,["nextPage"]]]],null],[1,"\\n"],[13],[1,"\\n"]],["&attrs","&default"],false,["yield","we-loading-spinner"]]',moduleName:"web-experience-app/components/see-all/loader.hbs",isStrictMode:!1})
let m=(l=class extends r.default{constructor(){super(...arguments),c(this,"isLoadingNextPage",s,this),c(this,"items",p,this),this.items=this.args.items}async nextPage(){this.isLoadingNextPage=!0
const{next:e}=this.items.meta
if(e&&this.args.getNextPage)try{const t=await this.args.getNextPage(e,this.items)
t&&t.length>0&&(this.items=t)}catch(t){}finally{this.isDestroyed||this.isDestroying||(this.isLoadingNextPage=!1)}}},s=u(l.prototype,"isLoadingNextPage",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=u(l.prototype,"items",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),u(l.prototype,"nextPage",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"nextPage"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/see-all/loader/by-ids",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@glimmer/tracking","@ember/debug"],(function(e,t,i,r,n,a,o){var l,s,p,c
function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const m=(0,i.createTemplateFactory)({id:"w0uNwF0n",block:'[[[11,"section"],[24,0,"l-content-width section"],[17,1],[12],[1,"\\n\\n  "],[18,2,[[30,0,["items"]],[30,0,["isLoadingNextPage"]]]],[1,"\\n\\n  "],[8,[39,1],[[24,0,"we-loading-spinner--see-all"]],[["@itemIds","@nextPage"],[[30,0,["itemIds"]],[30,0,["nextPage"]]]],null],[1,"\\n"],[13],[1,"\\n"]],["&attrs","&default"],false,["yield","we-loading-spinner"]]',moduleName:"web-experience-app/components/see-all/loader/by-ids.hbs",isStrictMode:!1})
let f=(l=class extends r.default{constructor(){super(...arguments),u(this,"isLoadingNextPage",s,this),u(this,"items",p,this),u(this,"itemIds",c,this)}async nextPage(){if(0!==this.itemIds.length){this.isLoadingNextPage=!0
try{const e=await this.args.getItemsWithIds(this.itemIds,this.items)
this.itemIds=this.itemIds.filter((t=>e.every((e=>e.id!==t)))),e&&e.length>0&&(this.items=e)}catch(e){}finally{this.isDestroyed||this.isDestroying||(this.isLoadingNextPage=!1)}}}},s=d(l.prototype,"isLoadingNextPage",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=d(l.prototype,"items",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.items}}),c=d(l.prototype,"itemIds",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.itemIds}}),d(l.prototype,"nextPage",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"nextPage"),l.prototype),l)
e.default=f,(0,t.setComponentTemplate)(m,f)})),define("web-experience-app/components/see-all/ratings",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"rK8aMBue",block:'[[[10,"section"],[14,0,"l-content-width section"],[12],[1,"\\n  "],[8,[39,0],null,[["@header","@productModel"],[[30,1],[30,2]]],null],[1,"\\n\\n  "],[10,0],[14,0,"l-row l-row--ratings-grid"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,3]],null]],null],null,[[[44,[[28,[37,4],[[30,4,["profileName"]]],null]],[[[1,"        "],[46,[30,4,["component"]],null,[["rating","columnClassNames"],[[30,4,["rating"]],[28,[37,6],["l-column--grid ",[30,5,["columnClassNames"]]],null]]],null],[1,"\\n"]],[5]]]],[4]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@header","@productModel","@items","item","profile"],false,["see-all/header","each","-track-array","let","see-all-profile","component","concat"]]',moduleName:"web-experience-app/components/see-all/ratings.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/see-all/review-card-grid",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"aCQ8ljma",block:'[[[11,0],[24,"role","feed"],[17,1],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,2]],null]],null],null,[[[1,"    "],[8,[39,2],[[24,0,"l-column--grid l-column small-12 medium-6 large-4 small-valign-top l-column--equal-height"]],[["@modalContentClass","@metricsTarget"],["we-modal__content--review","customerReview"]],[["default"],[[[[1,"\\n      "],[8,[39,3],[[24,"role","article"],[16,"aria-posinset",[29,[[28,[37,4],[[30,4]],null]]]],[24,"aria-setsize","-1"],[24,"tabindex","0"]],[["@review","@onShowMore","@isTruncated"],[[28,[37,5],["media-api-review"],[["item"],[[30,3]]]],[30,5,["onShowMore"]],[30,5,["isTruncated"]]]],null],[1,"\\n    "]],[5]]]]],[1,"\\n"]],[3,4]],null],[13],[1,"\\n"]],["&attrs","@items","review","index","modal"],false,["each","-track-array","we-truncate/modal","we-customer-review","inc","present"]]',moduleName:"web-experience-app/components/see-all/review-card-grid.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/see-all/reviews",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"bZ/DKm8B",block:'[[[10,"section"],[14,0,"l-content-width section"],[12],[1,"\\n  "],[8,[39,0],null,[["@header","@productModel"],[[30,1],[30,2]]],null],[1,"\\n\\n"],[41,[30,2,["userRating","value"]],[[[1,"    "],[8,[39,2],null,[["@rating"],[[30,2,["userRating"]]]],null],[1,"\\n"]],[]],null],[1,"\\n  "],[10,0],[14,0,"l-row"],[14,"role","feed"],[14,"aria-labelledby","section__headline"],[15,"aria-busy",[30,3]],[12],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,4]],null]],null],null,[[[1,"      "],[8,[39,5],[[24,0,"l-column--grid l-column small-12 medium-6 large-4 small-valign-top l-column--equal-height"]],[["@modalContentClass","@metricsTarget"],["we-modal__content--review","customerReview"]],[["default"],[[[[1,"\\n        "],[8,[39,6],[[24,"role","article"],[16,"aria-posinset",[29,[[28,[37,7],[[30,6]],null]]]],[24,"aria-setsize","-1"],[24,"tabindex","0"]],[["@review","@onShowMore","@isTruncated"],[[30,5],[30,7,["onShowMore"]],[30,7,["isTruncated"]]]],null],[1,"\\n      "]],[7]]]]],[1,"\\n"]],[5,6]],null],[1,"  "],[13],[1,"\\n  "],[8,[39,8],[[24,0,"we-loading-spinner--see-all"]],[["@itemIds","@nextLink","@nextPage"],[[30,8],[30,4,["meta","next"]],[30,9]]],null],[1,"\\n"],[13],[1,"\\n"]],["@header","@productModel","@isLoadingNextPage","@items","review","index","modal","@itemIds","@nextPage"],false,["see-all/header","if","we-customer-ratings","each","-track-array","we-truncate/modal","we-customer-review","inc","we-loading-spinner"]]',moduleName:"web-experience-app/components/see-all/reviews.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/seo-tags",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const u=(0,i.createTemplateFactory)({id:"sG9wWc2H",block:'[[[40,[[[41,[30,1,["title"]],[[[1,"    "],[11,"title"],[4,[38,3],[[30,0,["setDocumentTitle"]],[30,1,["title"]]],null],[4,[38,4],[[30,0,["setDocumentTitle"]],[30,1,["title"]]],null],[12],[1,"\\n      "],[1,[34,5]],[1,[30,1,["title"]]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,6],null,null],[[[41,[30,1,["keywords"]],[[[1,"      "],[10,"meta"],[14,3,"keywords"],[15,"content",[30,1,["keywords"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["description"]],[[[1,"      "],[10,"meta"],[14,3,"description"],[15,"content",[30,1,["description"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["canonicalURL"]],[[[1,"      "],[10,"link"],[14,"rel","canonical"],[15,6,[30,1,["canonicalURL"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["mobileSmartBannerTag"]],[[[1,"      "],[10,"meta"],[14,3,"apple-itunes-app"],[15,"content",[30,1,["mobileSmartBannerTag"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,1,["searchEngineIndexing"]]],[[[1,"      "],[10,"meta"],[14,3,"robots"],[14,"content","noindex,nofollow"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["webManifest"]],[[[1,"      "],[10,"link"],[14,"rel","manifest"],[15,6,[30,1,["webManifest"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["appleContentID"]],[[[1,"      "],[10,"meta"],[14,3,"apple:content_id"],[15,"content",[30,1,["appleContentID"]]],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,1,["schemaTags"]]],null]],null],null,[[[1,"      "],[10,"script"],[15,3,[30,2,["name"]]],[14,4,"application/ld+json"],[12],[1,"\\n        "],[1,[30,2,["content"]]],[1,"\\n      "],[13],[1,"\\n"]],[2]],null],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,1,["facebookAppLinkTags"]]],null]],null],null,[[[41,[30,3,["content"]],[[[1,"        "],[10,"meta"],[15,"property",[30,3,["name"]]],[15,"content",[30,3,["content"]]],[12],[13],[1,"\\n"]],[]],null]],[3]],null],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,1,["openGraphTags"]]],null]],null],null,[[[44,[[28,[37,11],[[30,4,["name"]],[30,4,["content"]]],null]],[[[1,"        "],[10,"meta"],[15,"property",[30,4,["name"]]],[15,"content",[30,5]],[12],[13],[1,"\\n"]],[5]]]],[4]],null],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,1,["twitterTags"]]],null]],null],null,[[[44,[[28,[37,11],[[30,6,["name"]],[30,6,["content"]]],null]],[[[1,"        "],[10,"meta"],[15,3,[30,6,["name"]]],[15,"content",[30,7]],[12],[13],[1,"\\n"]],[7]]]],[6]],null],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,1,["videoTags"]]],null]],null],null,[[[44,[[28,[37,11],[[30,8,["name"]],[30,8,["content"]]],null]],[[[1,"        "],[10,"meta"],[15,"property",[30,8,["name"]]],[15,"content",[30,9]],[12],[13],[1,"\\n"]],[9]]]],[8]],null]],[]],null]],[]],"%cursor:0%",[28,[37,1],[[30,0,["headElement"]]],null],null]],["@data","schemaTag","tag","tag","content","tag","content","tag","content"],false,["in-element","-in-el-null","if","did-insert","did-update","direction-marker","is-ssr","unless","each","-track-array","let","format-meta-content"]]',moduleName:"web-experience-app/components/seo-tags.hbs",isStrictMode:!1})
let d=(l=(0,a.inject)("-document"),s=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="document",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),this.tearDownTitle()}get headElement(){return this.document.head}setDocumentTitle(e,t){let[i]=t
this.document.title=i}tearDownTitle(){if((0,o.isSSR)())return
const{document:e}=this,t=e.querySelector("title")
t&&e.head.removeChild(t)}},p=c(s.prototype,"document",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c(s.prototype,"setDocumentTitle",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"setDocumentTitle"),s.prototype),s)
e.default=d,(0,t.setComponentTemplate)(u,d)})),define("web-experience-app/components/we-audio-controls",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/template","@ember/service","ember-lifeline"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d
function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function b(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,g(e,t,"set"),i),i}function g(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const y=(0,i.createTemplateFactory)({id:"/4YSzJ3C",block:'[[[11,0],[16,0,[29,["we-audio-controls ",[52,[30,1]," is-visible"]]]],[17,2],[12],[1,"\\n"],[41,[48,[30,9]],[[[1,"    "],[18,9,[[28,[37,3],null,[["playbackPercentage","playbackButtonId"],[[30,0,["playbackPercentage"]],"audio-controls-playback"]]]]],[1,"\\n"]],[]],[[[1,"    "],[10,0],[14,0,"we-audio-controls__playback"],[12],[1,"\\n      "],[11,"button"],[24,0,"we-audio-controls__button we-audio-controls__button--skip we-audio-controls__button--back-15"],[16,"data-metrics-click",[28,[37,4],["skipBack"],[["id"],[[30,3]]]]],[24,4,"button"],[4,[38,5],["click",[30,0,["skipBack"]]],null],[12],[1,"\\n        "],[1,[28,[35,6],["WEA.Common.Playback.Skip.Back"],null]],[1,[28,[35,7],["icon-back--skip-15"],[["class","aria-hidden","focusable"],["we-audio-controls__icon","true","false"]]]],[1,[28,[35,7],["icon-forward--skip-15"],[["class","aria-hidden","focusable"],["we-audio-controls__icon icon--rtl","true","false"]]]],[1,"\\n      "],[13],[1,"\\n\\n"],[41,[30,4],[[[1,"        "],[8,[39,8],[[24,0,"we-audio-controls__loading"]],[["@isLoading","@isPlaying"],[true,false]],null],[1,"\\n"]],[]],null],[1,"\\n      "],[11,"button"],[24,1,"audio-controls-playback"],[16,0,[28,[37,9],["we-audio-controls__button we-audio-controls__button--playback icon icon-after ",[52,[30,4],"is-loading "],[30,0,["playStateClasses"]]],null]],[16,"aria-label",[30,0,["playPauseLabel"]]],[16,"aria-busy",[29,[[30,4]]]],[16,"data-metrics-click",[28,[37,4],["playPause"],[["id","action"],[[30,3],[30,0,["playPauseMetricsAction"]]]]]],[24,4,"button"],[4,[38,10],[[30,0,["focus"]]],null],[4,[38,5],["click",[30,0,["pause"]]],null],[12],[1,"\\n        "],[1,[30,0,["playPauseLabel"]]],[1,"\\n      "],[13],[1,"\\n\\n      "],[11,"button"],[24,0,"we-audio-controls__button we-audio-controls__button--skip we-audio-controls__button--forward-30"],[16,"data-metrics-click",[28,[37,4],["skipAhead"],[["id"],[[30,3]]]]],[24,4,"button"],[4,[38,5],["click",[30,0,["skipAhead"]]],null],[12],[1,"\\n        "],[1,[28,[35,6],["WEA.Common.Playback.Skip.Ahead"],null]],[1,[28,[35,7],["icon-forward--skip-30"],[["class","aria-hidden","focusable"],["we-audio-controls__icon","true","false"]]]],[1,[28,[35,7],["icon-back--skip-30"],[["class","aria-hidden","focusable"],["we-audio-controls__icon icon--rtl","true","false"]]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[44,[[28,[37,12],[[30,0,["elapsedTime"]],0],null]],[[[1,"      "],[1,[28,[35,13],[[30,5]],[["classNames","duration","timer"],["we-audio-controls__time we-audio-controls__time--elapsed",true,false]]]],[1,"\\n"]],[5]]],[1,"\\n    "],[10,0],[14,0,"we-audio-controls__progress-wrapper"],[12],[1,"\\n      "],[10,"label"],[14,0,"we-audio-controls__progress-label"],[15,"for",[29,["audio-control--",[30,0,["elementId"]]]]],[12],[1,"\\n        "],[1,[28,[35,6],["WEA.Common.Playback.Progress"],null]],[1,"\\n      "],[13],[1,"\\n\\n      "],[11,"input"],[24,0,"we-audio-controls__progress"],[16,"disabled",[30,6]],[16,1,[29,["audio-control--",[30,0,["elementId"]]]]],[16,"max",[30,7]],[24,"min","0"],[24,"steps","1"],[16,5,[30,0,["inlineStyles"]]],[16,2,[30,0,["elapsedTime"]]],[24,4,"range"],[4,[38,5],["input",[30,0,["scrubToInput"]]],null],[12],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[44,[[28,[37,12],[[30,0,["remainingTime"]],0],null]],[[[1,"      "],[1,[28,[35,13],[[30,8]],[["classNames","duration","timer"],["we-audio-controls__time we-audio-controls__time--remaining",true,true]]]],[1,"\\n"]],[8]]]],[]]],[13],[1,"\\n"]],["@isActiveTrack","&attrs","@mediaId","@isLoading","elapsedTime","@isDisabled","@duration","remainingTime","&default"],false,["if","has-block","yield","hash","metrics-data","on","t","svg-jar","radial-progress","concat","did-insert","let","or","time-tag"]]',moduleName:"web-experience-app/components/we-audio-controls.hbs",isStrictMode:!1})
let w=(d=new WeakMap,s=class extends r.default{constructor(){super(...arguments),m(this,"audioPlayer",p,this),m(this,"mediaPlayer",c,this),m(this,"i18n",u,this),f(this,d,{writable:!0,value:null})}get duration(){return this.args.duration??0}get elapsedTime(){const{playbackTime:e}=this.mediaPlayer
return Number.isNaN(e)?0:e}get inlineStyles(){const{playbackPercentage:e}=this
return(0,a.htmlSafe)(`--progress:${e}%;`)}get playbackPercentage(){const{duration:e,elapsedTime:t}=this
return e&&t?Math.round(t/e*100):0}get playPauseLabel(){const e=this.args.isPlaying?"Pause":"Play"
return this.i18n.t(`WEA.Common.${e}`)}get playPauseMetricsAction(){return this.args.isPlaying?"pause":"play"}get playStateClasses(){return this.args.isPlaying?"icon-pause":"icon-play"}get remainingTime(){const{playbackTimeRemaining:e}=this.mediaPlayer
return Number.isNaN(e)?0:e}focus(e){e.focus()}async pause(){const e=await this.args.media,t=await this.args.queue
this.mediaPlayer.togglePlayback(t,e,this.isPlayableQueue)}scrubToInput(e){b(this,d,e),(0,l.throttleTask)(this,"_seekToTime",500)}_seekToTime(){var e,t
this.audioPlayer.seekToTime((e=this,t=d,function(e,t){return t.get?t.get.call(e):t.value}(e,g(e,t,"get"))).target.value),b(this,d,null)}skipBack(){(0,l.throttleTask)(this,"_seekBackward",500)}_seekBackward(){this.audioPlayer.seekBackward()}skipAhead(){(0,l.throttleTask)(this,"_seekForward",500)}_seekForward(){this.audioPlayer.seekForward()}},p=h(s.prototype,"audioPlayer",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=h(s.prototype,"mediaPlayer",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=h(s.prototype,"i18n",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h(s.prototype,"focus",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"focus"),s.prototype),h(s.prototype,"pause",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"pause"),s.prototype),h(s.prototype,"scrubToInput",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"scrubToInput"),s.prototype),h(s.prototype,"skipBack",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"skipBack"),s.prototype),h(s.prototype,"skipAhead",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"skipAhead"),s.prototype),s)
e.default=w,(0,t.setComponentTemplate)(y,w)})),define("web-experience-app/components/we-book-artwork",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"YwEqN34C",block:'[[[11,0],[24,0,"we-book-artwork"],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"we-book-artwork__lighting"],[12],[1,"\\n    "],[8,[39,0],[[16,0,[28,[37,1],["we-artwork--fullwidth we-artwork--no-border we-book-artwork__background ",[30,2]],null]]],[["@artwork","@profile","@lazyLoad","@fallbackProfile"],[[30,3],[30,4],[30,5],[30,6]]],null],[1,"\\n    "],[8,[39,0],[[16,0,[28,[37,1],["we-artwork--fullwidth we-artwork--no-border we-book-artwork__foreground ",[30,2]],null]]],[["@artwork","@profile","@lazyLoad","@fallbackProfile"],[[30,3],[30,4],[30,5],[30,6]]],null],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@artworkClassName","@artwork","@profile","@lazyLoad","@fallbackArtworkProfile"],false,["amp-artwork/wea","concat"]]',moduleName:"web-experience-app/components/we-book-artwork.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-charts-filter-dropdown",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service"],(function(e,t,i,r,n,a){var o,l
function s(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,i.createTemplateFactory)({id:"WDnY3fKU",block:'[[[11,0],[16,0,[29,["we-genre-filter__dropdown ",[52,[30,1],"we-genre-filter__dropdown--expanded"]]]],[24,"role","dialog"],[24,"data-we-charts-filter-dropdown",""],[17,2],[4,[38,1],[[30,0,["didUpdateArgs"]],[30,1],[30,0,["responsive","viewport"]]],null],[4,[38,2],[[30,0,["didUpdateArgs"]],[30,1],[30,0,["responsive","viewport"]]],null],[4,[38,3],[[30,0,["didUpdateArgs"]],false],null],[12],[1,"\\n  "],[10,0],[14,0,"we-genre-filter__categories-list l-content-width"],[14,"role","dialog"],[15,"aria-label",[29,[[28,[37,4],[[30,3],[28,[37,5],["WEA.Charts.Categories.Button"],null]],null]]]],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,4]],null]],null],null,[[[41,[30,5,["genre"]],[[[1,"        "],[11,3],[24,"data-we-link-to-exclude",""],[16,6,[30,5,["chartUrl"]]],[24,0,"we-genre-filter__item"],[16,"data-we-charts-filter-dropdown-list-item",[30,5,["name"]]],[4,[38,8],["keydown",[30,0,["onKeyDown"]]],null],[12],[1,"\\n          "],[10,1],[14,0,"we-genre-filter__artwork"],[12],[1,"\\n            "],[8,[39,9],[[24,0,"we-artwork--not-round we-artwork--no-border"],[24,"role","presentation"]],[["@artwork","@profile","@addBgColor"],[[30,5,["artwork"]],"category-for-artwork",false]],null],[1,"\\n          "],[13],[1,"\\n          "],[10,1],[14,0,"we-genre-filter__name"],[14,"data-we-genre-name",""],[12],[1,"\\n            "],[1,[30,5,["name"]]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null]],[5]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"],[10,0],[15,0,[29,["we-genre-filter__curtain ",[52,[30,1],"we-genre-filter__curtain--expanded"]]]],[14,"role","button"],[15,"aria-label",[28,[37,5],["WEA.Common.Close"],null]],[12],[13],[1,"\\n"]],["@isExpanded","&attrs","@ariaLabel","@genres","genre"],false,["if","did-insert","did-update","will-destroy","or","t","each","-track-array","on","amp-artwork/wea"]]',moduleName:"web-experience-app/components/we-charts-filter-dropdown.hbs",isStrictMode:!1}),c="has-overlay-open"
let u=(o=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="responsive",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get triggerAttribute(){return this.args.triggerAttribute||"data-we-charts-filter-dropdown-trigger"}get triggerSelector(){const{categoryType:e}=this.args,{triggerAttribute:t}=this
return`[${e?`${t}="${e}"`:t}]`}didUpdateArgs(e,t){let[i]=t
i?(this.autoFocusAndAriaHide(),this.attachClickOutsideAndScroll()):(document.querySelector("#charts-content-section")?.removeAttribute("aria-hidden"),document.querySelector("footer")?.removeAttribute("aria-hidden"),this.detachClickOutsideAndScroll())}autoFocusAndAriaHide(){document.querySelectorAll("[data-we-charts-filter-dropdown-list-item]")[0].focus(),document.querySelector("#charts-content-section")?.setAttribute("aria-hidden",!0),document.querySelector("footer")?.setAttribute("aria-hidden",!0)}attachClickOutsideAndScroll(){"small"===this.responsive.viewport?this.detachClickOutsideAndScroll():document.body.classList.add(c),window.addEventListener("click",this.clickOutside)}detachClickOutsideAndScroll(){window.removeEventListener("click",this.clickOutside),document.body.classList.remove(c)}closeAndDetachClickOutside(){this.args.onClose?.(),this.detachClickOutsideAndScroll()}clickOutside(e){let{target:t}=e
t.hasAttribute(this.triggerAttribute)||this.didClickDropdown(t)||this.closeAndDetachClickOutside()}onKeyDown(e){if(27===e.keyCode&&this.args.isExpanded)return this.closeAndDetachClickOutside(),void document.querySelector(this.triggerSelector)?.focus()
if(9!==e.keyCode)return
const t=document.querySelector("[data-we-charts-filter-dropdown]").querySelectorAll("a:not([disabled])"),i=t[t.length-1],[r]=t
e.shiftKey?document.activeElement===r&&(e.preventDefault(),i.focus()):document.activeElement===i&&(e.preventDefault(),r.focus())}didClickDropdown(e){const t=document.querySelector(".we-genre-filter__dropdown"),i=e.classList&&e.classList.contains("we-artwork"),r=e.hasAttribute("data-we-charts-filter-dropdown-list-item")||e.hasAttribute("data-we-genre-name")||i
return t&&t.contains(e)&&!r}},l=s(o.prototype,"responsive",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s(o.prototype,"didUpdateArgs",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"didUpdateArgs"),o.prototype),s(o.prototype,"closeAndDetachClickOutside",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"closeAndDetachClickOutside"),o.prototype),s(o.prototype,"clickOutside",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"clickOutside"),o.prototype),s(o.prototype,"onKeyDown",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"onKeyDown"),o.prototype),o)
e.default=u,(0,t.setComponentTemplate)(p,u)})),define("web-experience-app/components/we-connecting/android/carrier",["exports","@glimmer/component","@ember/service"],(function(e,t,i){var r,n
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get ariaLabel(){const e=this.i18n.t("WEA.Error.Generic.GooglePlay")
return this.i18n.t("WEA.Error.Carrier.Open.Action",{appname:e})}get text(){const e=`<span class="we-button__app-text">${this.i18n.t("WEA.Error.Generic.GooglePlay")}</span>`
return this.i18n.t("WEA.Error.Carrier.Open.Action",{appname:e})}},o=r.prototype,l="i18n",s=[i.inject],p={configurable:!0,enumerable:!0,writable:!0,initializer:null},u={},Object.keys(p).forEach((function(e){u[e]=p[e]})),u.enumerable=!!u.enumerable,u.configurable=!!u.configurable,("value"in u||u.initializer)&&(u.writable=!0),u=s.slice().reverse().reduce((function(e,t){return t(o,l,e)||e}),u),c&&void 0!==u.initializer&&(u.value=u.initializer?u.initializer.call(c):void 0,u.initializer=void 0),void 0===u.initializer&&(Object.defineProperty(o,l,u),u=null),n=u,r)
var o,l,s,p,c,u
e.default=a})),define("web-experience-app/components/we-connecting/generic",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"QVZe47pI",block:'[[[10,0],[14,0,"we-connecting"],[12],[1,"\\n  "],[10,"main"],[14,0,"we-connecting__content"],[12],[1,"\\n    "],[10,2],[14,0,"we-connecting__logo"],[12],[1,"\\n"],[41,[28,[37,1],[[30,1],"music-note"],null],[[[1,"        "],[1,[28,[35,2],[[30,1]],[["role","class","aria-labelledby"],["img","we-connecting__logo-img","we-connecting-instructions"]]]],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"music"],null],[[[1,"        "],[10,"img"],[14,"src","/assets/images/icons/music-f7369591ccf04b2f87d794bee6df888b.png"],[14,0,"we-connecting__logo-img"],[14,"aria-labelledby","we-connecting-instructions"],[12],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"podcasts"],null],[[[1,"        "],[10,"img"],[14,"src","/assets/images/icons/podcasts-a7260008603206bf74433af7b576a4d3.png"],[14,0,"we-connecting__logo-img"],[14,"aria-labelledby","we-connecting-instructions"],[12],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"apps"],null],[[[1,"        "],[10,"img"],[14,"src","/assets/images/icons/apps-02daf211a48ed1f493ea452fb3e1ca38.png"],[14,0,"we-connecting__logo-img"],[14,"aria-labelledby","we-connecting-instructions"],[12],[13],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,1],"books"],null],[[[1,"        "],[10,"img"],[14,"src","/assets/images/icons/books-dbe5a8092d0579235aab707c005acf51.png"],[14,0,"we-connecting__logo-img"],[14,"aria-labelledby","we-connecting-instructions"],[12],[13],[1,"\\n      "]],[]],null]],[]]]],[]]]],[]]]],[]]],[1,"    "],[13],[1,"\\n\\n    "],[10,2],[14,0,"we-connecting__instructions"],[14,1,"we-connecting-instructions"],[12],[1,"\\n"],[41,[28,[37,3],[[30,2],[28,[37,4],[[30,3]],null]],null],[[[1,"        "],[1,[28,[35,5],[[28,[37,6],["WEA.Error.Generic.Title.Connecting"],null]],null]],[10,1],[14,0,"we-connecting__ellipses"],[12],[1,[28,[35,5],[[28,[37,6],["WEA.Common.Ellipsis.Animated"],null]],null]],[13],[1,"\\n"]],[]],[[[41,[30,3],[[[1,"        "],[1,[28,[35,5],[[28,[37,6],["WEA.Error.Generic.Subtitle"],[["downloadLink"],[[30,4]]]]],null]],[1,"\\n      "]],[]],null]],[]]],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@logo","@isLoading","@canShowSubtitle","@downloadLink"],false,["if","eq","svg-jar","or","not","html-safe","t"]]',moduleName:"web-experience-app/components/we-connecting/generic.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-connecting/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","web-experience-app/config","@ember/object","@ember/service","@ember/runloop","web-experience-app/config/timeouts","web-experience-app/utils/urls","web-experience-app/services/app-view-state","@glimmer/tracking"],(function(e,t,i,r,n,a,o,l,s,p,c,u){var d,m,f,b,g,h,y,w,v,_,P
function O(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function A(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const k=(0,i.createTemplateFactory)({id:"m6zT1CtT",block:'[[[11,0],[4,[38,0],[[30,0,["handleInsert"]]],null],[4,[38,1],[[30,0,["handleUpdate"]]],null],[12],[1,"\\n"],[41,[48,[30,1]],[[[1,"    "],[18,1,[[28,[37,5],null,[["url","launchApp","isLoading"],[[30,0,["url"]],[30,0,["launchApp"]],[30,0,["isLoading"]]]]]]],[1,"\\n"]],[]],[[[1,"    "],[8,[39,6],null,[["@logo","@isLoading","@canShowSubtitle","@downloadLink"],[[30,0,["logo"]],[30,0,["isLoading"]],[30,0,["canShowSubtitle"]],[30,0,["downloadLink"]]]],null],[1,"\\n"]],[]]],[13],[1,"\\n"]],["&default"],false,["did-insert","did-update","if","has-block","yield","hash","we-connecting/generic"]]',moduleName:"web-experience-app/components/we-connecting/index.hbs",isStrictMode:!1})
let S=(d=(0,o.inject)("location-wea"),m=(0,a.computed)("appViewState.currentState"),f=(0,a.computed)("appViewState.isiTunesView","isLoading"),b=(0,a.computed)("appViewState.isiTunesView"),g=class extends r.default{constructor(){super(...arguments),O(this,"appViewState",h,this),O(this,"fastboot",y,this),O(this,"i18n",w,this),O(this,"platform",v,this),O(this,"location",_,this),O(this,"isLoading",P,this)}get logo(){return c.LOGO_FOR_STATE[this.appViewState.currentState]}get canShowSubtitle(){return!this.isLoading&&this.appViewState.isiTunesView}get connectingTitle(){const{i18n:e}=this
return this.appViewState.isiTunesView?e.t("WEA.Error.Generic.Title.iTunes"):e.t("WEA.Error.Generic.Title")}get downloadLink(){const{i18n:e}=this
return`<a href="${e.t("WEA.Error.Generic.Subtitle.DownloadLink.URL")}" class="link" target="_blank">${e.t("WEA.Error.Generic.Subtitle.DownloadLink.Text")}</a>`}get isGiftCardUrl(){return/^.*?(\/redeem)[^$]*$/.test(this.url)}get url(){return this.args.url?this.args.url:window?window.location.href:""}handleInsert(){const e=this.platform.couldHaveiTunes,t=this.platform.canOpenAppleMusic,i=this.platform.couldHaveBookStore,{isAndroid:r}=this.platform.browser
let n=!1
switch(this.appViewState.currentState){case c.VIEW_STATES.APP:n=this.platform.couldHaveMacAppStore
break
case c.VIEW_STATES.BOOK:n=i||this.isGiftCardUrl&&e
break
case c.VIEW_STATES.PODCASTS:n=this.platform.couldHavePodcasts||e
break
case c.VIEW_STATES.TV:n=this.platform.couldHaveTV
break
default:n=!r&&t||e}n&&this.launchApp(),(0,l.later)(this,(()=>{this.isLoading=!1}),s.LOADING_MSG_TIMEOUT)}launchApp(){if(this.args.preventLaunch)return!1
let{url:e}=this
if(!e)return
if(this.isGiftCardUrl){e=`${this.platform.couldHaveBookStore?"itms-bookss":"itms"}${n.default.booksGiftCardRedemptionUrlBase}`}(this.appViewState.isAppStoreView||this.appViewState.isMacAppStoreView)&&this.platform.couldHaveMacAppStore&&(e=(0,p.updateProtocol)(e,"macappstores")),this.platform.launch(e)}},h=A(g.prototype,"appViewState",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=A(g.prototype,"fastboot",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=A(g.prototype,"i18n",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=A(g.prototype,"platform",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=A(g.prototype,"location",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=A(g.prototype,"isLoading",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),A(g.prototype,"logo",[m],Object.getOwnPropertyDescriptor(g.prototype,"logo"),g.prototype),A(g.prototype,"canShowSubtitle",[f],Object.getOwnPropertyDescriptor(g.prototype,"canShowSubtitle"),g.prototype),A(g.prototype,"connectingTitle",[b],Object.getOwnPropertyDescriptor(g.prototype,"connectingTitle"),g.prototype),A(g.prototype,"handleInsert",[a.action],Object.getOwnPropertyDescriptor(g.prototype,"handleInsert"),g.prototype),A(g.prototype,"launchApp",[a.action],Object.getOwnPropertyDescriptor(g.prototype,"launchApp"),g.prototype),g)
e.default=S,(0,t.setComponentTemplate)(k,S)})),define("web-experience-app/components/we-customer-ratings",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","web-experience-app/config"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const u=(0,i.createTemplateFactory)({id:"3Umjznw0",block:'[[[10,0],[14,0,"we-customer-ratings lockup"],[12],[1,"\\n  "],[10,0],[14,0,"l-row"],[12],[1,"\\n    "],[10,0],[14,0,"we-customer-ratings__stats l-column small-4 medium-6 large-4"],[12],[1,"\\n      "],[10,0],[14,0,"we-customer-ratings__averages"],[12],[1,[28,[35,0],[[28,[37,1],["WEA.Common.AverageRating"],[["rating","ratingTotal"],[[28,[37,2],["<span class=\\"we-customer-ratings__averages__display\\">",[28,[37,3],[[30,1,["value"]]],[["decimal"],[1]]],"</span>"],null],[28,[37,3],[[30,0,["maxRating"]]],[["decimal"],[0]]]]]]],null]],[13],[1,"\\n"],[41,[30,1,["ratingCount"]],[[[1,"        "],[10,0],[14,0,"we-customer-ratings__count small-hide medium-show"],[12],[1,[28,[35,1],["WEA.Common.Ratings"],[["count"],[[28,[37,5],[[30,1,["ratingCount"]]],null]]]]],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n    "],[10,0],[14,0," l-column small-8 medium-6 large-4"],[12],[1,"\\n      "],[10,"figure"],[14,0,"we-star-bar-graph"],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["ratingBreakdown"]]],null]],null],null,[[[1,"          "],[10,0],[14,0,"we-star-bar-graph__row"],[12],[1,"\\n            "],[10,1],[15,0,[29,["we-star-bar-graph__stars ",[52,[28,[37,8],[[30,2,["rating"]],1],null],[28,[37,2],["we-star-bar-graph__stars--",[30,2,["rating"]]],null]]]]],[12],[13],[1,"\\n            "],[10,0],[14,0,"we-star-bar-graph__bar"],[12],[1,"\\n              "],[10,0],[14,0,"we-star-bar-graph__bar__foreground-bar"],[15,5,[28,[37,9],[[28,[37,10],null,[["width"],[[30,2,["percentage"]]]]]],null]],[12],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[2]],null],[1,"      "],[13],[1,"\\n"],[41,[30,1,["ratingCount"]],[[[1,"        "],[10,2],[14,0,"we-customer-ratings__count medium-hide"],[12],[1,[28,[35,1],["WEA.Common.Ratings"],[["count"],[[28,[37,5],[[30,1,["ratingCount"]]],null]]]]],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@rating","item"],false,["html-safe","t","concat","to-locale-fixed","if","abbr-number","each","-track-array","gt","style-attribute","hash"]]',moduleName:"web-experience-app/components/we-customer-ratings.hbs",isStrictMode:!1})
let d=(l=(0,n.computed)("args.rating.{ratingCount,ratingCountList}"),s=class extends r.default{constructor(){var e,t,i,r,n,a,l
super(...arguments),e=this,t="i18n",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),n=this,a="maxRating",l=o.default.maxRating,a in n?Object.defineProperty(n,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[a]=l}get ratingBreakdown(){const e=this.args.rating?.ratingCount??0,t=this.args.rating?.ratingCountList??[],{length:i}=t
return t.slice().reverse().map(((t,r)=>{const n=0===e?0:Math.round(100*t/e)
return{rating:i-r,percentage:`${n}%`}}))}},p=c(s.prototype,"i18n",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c(s.prototype,"ratingBreakdown",[l],Object.getOwnPropertyDescriptor(s.prototype,"ratingBreakdown"),s.prototype),s)
e.default=d,(0,t.setComponentTemplate)(u,d)})),define("web-experience-app/components/we-customer-review",["exports","@ember/component","@ember/template-factory","@glimmer/component","web-experience-app/utils/id-gen"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=(0,i.createTemplateFactory)({id:"uo2aYlNW",block:'[[[11,0],[16,"aria-labelledby",[30,0,["ariaLabelledBy"]]],[24,0,"we-customer-review lockup"],[17,1],[12],[1,"\\n  "],[8,[39,0],[[24,0,"we-customer-review__rating we-star-rating--large"]],[["@value"],[[30,2,["rating"]]]],null],[1,"\\n\\n  "],[10,0],[14,0,"we-customer-review__header we-customer-review__header--user"],[12],[1,"\\n    "],[8,[39,1],[[24,0,"we-customer-review__user"]],[["@tagName","@value"],["span",[30,2,["name"]]]],null],[1,"\\n\\n    "],[10,1],[14,0,"we-customer-review__separator"],[12],[1,[28,[35,2],["WEA.Common.Comma"],null]],[13],[1,"\\n\\n    "],[1,[28,[35,3],[[30,2,["date"]]],[["format","classNames","dataTestAttr"],["SHORT_DATE","we-customer-review__date","data-test-customer-review-date"]]]],[1,"\\n  "],[13],[1,"\\n\\n  "],[8,[39,1],[[24,0,"we-customer-review__title"],[16,1,[30,0,["ariaLabelledBy"]]]],[["@tagName","@value"],["h3",[30,2,["title"]]]],null],[1,"\\n\\n"],[41,[30,0,["isTruncated"]],[[[1,"    "],[8,[39,1],[[24,0,"we-customer-review__body"]],[["@tagName","@clampProfile","@value","@isInteractive","@onShowMore","@dataMetricsClick"],["blockquote",[52,[30,2,["responseText"]],"customer-review-with-response","customer-review"],[28,[37,5],[[30,2,["body"]]],null],true,[30,3],[28,[37,6],["expandMore"],null]]],null],[1,"\\n\\n"],[41,[30,2,["responseText"]],[[[1,"      "],[10,"h3"],[14,0,"we-customer-review__header we-customer-review__header--response"],[12],[1,"\\n        "],[8,[39,1],[[24,0,"we-customer-review__title"]],[["@tagName","@value"],["span",[28,[37,2],["WEA.AppPages.DeveloperResponse"],null]]],null],[1,"\\n\\n        "],[10,1],[14,0,"we-customer-review__separator"],[12],[1,[28,[35,2],["WEA.Common.Comma"],null]],[13],[1,"\\n\\n        "],[1,[28,[35,3],[[30,2,["responseDate"]]],[["format","classNames","dataTestAttr"],["SHORT_DATE","we-customer-review__date we-customer-review__date--response","data-test-customer-review-response-date"]]]],[1,"\\n      "],[13],[1,"\\n\\n      "],[8,[39,1],[[24,0,"we-customer-review__body"]],[["@tagName","@clampProfile","@value","@isInteractive","@onShowMore","@dataMetricsClick"],["blockquote","customer-review-response",[28,[37,5],[[30,2,["responseText"]]],null],true,[30,3],[28,[37,6],["expandMore"],null]]],null],[1,"\\n"]],[]],null]],[]],[[[1,"    "],[10,"blockquote"],[14,0,"we-customer-review__body--modal"],[12],[1,"\\n      "],[8,[39,7],null,[["@value"],[[28,[37,5],[[30,2,["body"]]],null]]],null],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[30,2,["responseText"]],[[[1,"      "],[10,"h3"],[14,0,"we-customer-review__header we-customer-review__header--response"],[12],[1,"\\n        "],[8,[39,1],[[24,0,"we-customer-review__title"]],[["@tagName","@value"],["span",[28,[37,2],["WEA.AppPages.DeveloperResponse"],null]]],null],[1,"\\n\\n        "],[10,1],[14,0,"we-customer-review__separator"],[12],[1,[28,[35,2],["WEA.Common.Comma"],null]],[13],[1,"\\n\\n        "],[1,[28,[35,3],[[30,2,["responseDate"]]],[["format","classNames","dataTestAttr"],["SHORT_DATE","we-customer-review__date we-customer-review__date--response","data-test-customer-review-response-date"]]]],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,"blockquote"],[14,0,"we-customer-review__body--modal"],[12],[1,"\\n        "],[8,[39,7],null,[["@value"],[[28,[37,5],[[30,2,["responseText"]]],null]]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null]],[]]],[13],[1,"\\n"]],["&attrs","@review","@onShowMore"],false,["we-star-rating","we-truncate","t","time-tag","if","html-sanitize","metrics-data","bidi-text"]]',moduleName:"web-experience-app/components/we-customer-review.hbs",isStrictMode:!1}),o=(0,n.default)("we-customer-review")
class l extends r.default{constructor(){super(...arguments),this.ariaLabelledBy=o()}get isTruncated(){return this.args.isTruncated??!0}get review(){return this.args.review||null}}e.default=l,(0,t.setComponentTemplate)(a,l)})),define("web-experience-app/components/we-footer-disclaimer",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"MUmlUsEd",block:'[[[10,0],[12],[1,"\\n  "],[10,"footer"],[14,0,"we-footer-disclaimer"],[12],[1,"\\n    "],[10,0],[14,0,"we-footer-disclaimer__wrapper l-content-width"],[12],[1,"\\n      "],[10,2],[14,0,"we-footer-disclaimer__text"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.Disclaimer"],null]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["t"]]',moduleName:"web-experience-app/components/we-footer-disclaimer.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-genre-filter",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","@glimmer/tracking"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"0a5176IO",block:'[[[1,"\\n"],[11,0],[24,0,"we-genre-filter"],[4,[38,0],[[30,0,["handleInsert"]]],null],[4,[38,1],[[30,0,["handleDestroy"]]],null],[12],[1,"\\n  "],[10,0],[14,0,"we-genre-filter__popular-list"],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,1]],null]],null],null,[[[1,"      "],[8,[39,4],[[24,"role","button"],[24,0,"we-genre-filter__pill"],[24,"data-we-genre-filter-popular",""]],[["@route","@models"],[[52,[30,3],"charts.audiobooks.genre","charts.genre"],[28,[37,6],[[30,2,["seoName"]],[30,2,["genre"]]],null]]],[["default"],[[[[1,"\\n        "],[1,[30,2,["name"]]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[2]],null],[41,[28,[37,7],[[28,[37,8],null,null]],null],[[[1,"      "],[11,"button"],[24,"data-we-charts-filter-dropdown-trigger",""],[16,"aria-expanded",[52,[30,0,["isExpanded"]],"true","false"]],[16,0,[29,["we-genre-filter__pill we-genre-filter__trigger ",[52,[30,0,["isExpanded"]],"we-genre-filter__trigger--up"]]]],[24,4,"button"],[4,[38,9],["click",[30,0,["toggleExpansion"]]],null],[12],[1,"\\n        "],[1,[28,[35,10],["WEA.Charts.GenreFilter.Button"],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n\\n  "],[8,[39,11],null,[["@isExpanded","@genres","@route","@onClose","@ariaLabel"],[[30,0,["isExpanded"]],[30,4],[52,[30,3],"charts.audiobooks.genre","charts.genre"],[30,0,["toggleExpansion"]],[28,[37,10],["WEA.Charts.GenreFilter.Button"],null]]],null],[1,"\\n"],[13],[1,"\\n"]],["@popularGenres","popularGenre","@isAudiobooks","@genres"],false,["did-insert","will-destroy","each","-track-array","link-to","if","array","not","is-ssr","on","t","we-charts-filter-dropdown"]]',moduleName:"web-experience-app/components/we-genre-filter.hbs",isStrictMode:!1})
let m=(l=class extends r.default{constructor(){var e,t,i
super(...arguments),c(this,"responsive",s,this),c(this,"isExpanded",p,this),i=void 0,(t="_boundfillPillsToAvailableSpace")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}handleInsert(e){this._boundfillPillsToAvailableSpace=this.fillPillsToAvailableSpace.bind(null,e),this.responsive.on("didChange",this._boundfillPillsToAvailableSpace),this.fillPillsToAvailableSpace(e)}fillPillsToAvailableSpace(e){if("small"===this.responsive.viewport)return
const t=e.querySelector("[data-we-charts-filter-dropdown-trigger]"),i=e.getBoundingClientRect().right,r=e.querySelectorAll("[data-we-genre-filter-popular]")
let n=r.length-1
r.forEach((e=>e.classList?.remove("hidden")))
let a=t.getBoundingClientRect().right
for(;a>=i;){r[n].classList.add("hidden"),n--,a=t.getBoundingClientRect().right}}toggleExpansion(){this.isExpanded=!this.isExpanded}handleDestroy(){const{responsive:e}=this
e.has("didChange")&&this._boundfillPillsToAvailableSpace&&e.off("didChange",this._boundfillPillsToAvailableSpace)}},s=u(l.prototype,"responsive",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=u(l.prototype,"isExpanded",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u(l.prototype,"handleInsert",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"handleInsert"),l.prototype),u(l.prototype,"fillPillsToAvailableSpace",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"fillPillsToAvailableSpace"),l.prototype),u(l.prototype,"toggleExpansion",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"toggleExpansion"),l.prototype),u(l.prototype,"handleDestroy",[a.action],Object.getOwnPropertyDescriptor(l.prototype,"handleDestroy"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-global-element-visibility",["exports","@amp/ember-ui-global-elements/components/we-global-element-visibility"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/components/we-limit-per-viewport",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/array","@ember/object","@ember/service"],(function(e,t,i,r,n,a,o){var l,s,p,c
function u(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function d(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,function(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}(e,t,"get"))}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const f=(0,i.createTemplateFactory)({id:"Xn/sSee5",block:'[[[41,[30,1],[[[42,[28,[37,2],[[28,[37,2],[[28,[37,3],[[30,1],[28,[37,4],[[30,0,["limit"]],[30,2]],null]],null]],null]],null],null,[[[1,"    "],[8,[39,5],[[16,0,[30,5]]],[["@tagName"],[[30,6]]],[["default"],[[[[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,3]],null]],null],null,[[[1,"        "],[18,11,[[30,7],[28,[37,7],[[30,1],[30,4],[30,8]],null]]],[1,"\\n"]],[7,8]],null],[1,"    "]],[]]]]],[1,"\\n"]],[3,4]],null]],[]],[[[42,[28,[37,2],[[28,[37,2],[[28,[37,4],[[30,0,["limit"]],[30,2]],null]],null]],null],null,[[[1,"    "],[18,11,[[30,9],[30,10]]],[1,"\\n"]],[9,10]],null]],[]]]],["@group","@items","grouped","groupedIndex","@groupClass","@groupTag","item","index","item","index","&default"],false,["if","each","-track-array","chunk","take","html-tag","yield","grouped-index"]]',moduleName:"web-experience-app/components/we-limit-per-viewport.hbs",isStrictMode:!1})
let b=(l=(0,a.computed)("responsive.viewport","small","medium","large"),c=new WeakMap,s=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="responsive",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),u(this,c,{writable:!0,value:(0,n.A)()})}get items(){return this.args.items||d(this,c)}get small(){return this.args.small||this.items.length}get medium(){return this.args.medium||this.small}get large(){return this.args.large||this.medium}get limit(){return this[this.responsive.viewport||"small"]}},p=m(s.prototype,"responsive",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(s.prototype,"limit",[l],Object.getOwnPropertyDescriptor(s.prototype,"limit"),s.prototype),s)
e.default=b,(0,t.setComponentTemplate)(f,b)})),define("web-experience-app/components/we-loading-spinner",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","ember-lifeline","@ember/service","web-experience-app/config/environment"],(function(e,t,i,r,n,a,o,l){var s,p
function c(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"SD0X1epN",block:'[[[11,0],[24,0,"we-loading-spinner"],[24,"role","presentation"],[16,5,[52,[51,[30,0,["isVisible"]]],"display: none;"]],[17,1],[4,[38,1],null,[["onEnter","viewportTolerance","viewportSpy"],[[30,0,["nextPage"]],[30,0,["viewportTolerance"]],[30,0,["viewportSpy"]]]]],[12],[1,"\\n"],[13],[1,"\\n"]],["&attrs"],false,["unless","in-viewport"]]',moduleName:"web-experience-app/components/we-loading-spinner.hbs",isStrictMode:!1}),{LOADING_SPINNER_SPY:m}=l.default.APP,f={bottom:150}
let b=(s=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="inViewport",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),c(this,"viewportTolerance",f),c(this,"viewportSpy",m)}get isVisible(){return this.args.forceDisplay||this.args.nextLink||this.args.itemIds?.length}nextPage(e){this.args.nextPage?.(),this.spinnerEl||(this.spinnerEl=e),this.viewportSpy&&(0,a.debounceTask)(this,"loadInViewport",500)}loadInViewport(){if(!this.isVisible)return
this.inViewport.isInViewport(this.spinnerEl?.getBoundingClientRect(),window.innerHeight||document.documentElement.clientHeight,window.innerWidth||document.documentElement.clientWidth,this.viewportTolerance)&&this.nextPage(this.spinnerEl)}},p=u(s.prototype,"inViewport",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(s.prototype,"nextPage",[n.action],Object.getOwnPropertyDescriptor(s.prototype,"nextPage"),s.prototype),s)
e.default=b,(0,t.setComponentTemplate)(d,b)})),define("web-experience-app/components/we-localnav/app-store",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"1VaTH+wP",block:'[[[8,[39,0],[[16,0,[28,[37,1],[[30,1],"we-localnav--app-store"],null]]],[["@productKey","@qualifierKey","@storeLink","@titleKey","@supportsArcade"],["WEA.LocalNav.Store.AppStore","WEA.LocalNav.Preview.AppStore","/ios/app-store/","WEA.LocalNav.Title.Preview.AppStore",[30,2]]],[["default"],[[[[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,3],null,null,null],[1,"\\n"]],[]],null]],[]]]]],[1,"\\n"]],["@localNavClassNames","@supportsArcade"],false,["we-localnav","or","if","we-localnav/apple-arcade-cta"]]',moduleName:"web-experience-app/components/we-localnav/app-store.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-localnav/apple-arcade-cta",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Qy9iJTOk",block:'[[[10,3],[15,6,[28,[37,0],["WEA.AppPages.Arcade.Link.URL"],null]],[14,0,"we-localnav__app we-localnav__app--arcade localnav-action we-localnav__action targeted-link we-localnav__app--reveal-on-scroll"],[15,"data-metrics-click",[28,[37,1],["localNavArcadeCTA"],[["url"],[[28,[37,0],["WEA.AppPages.Arcade.Link.URL"],null]]]]],[12],[1,"\\n  "],[10,0],[14,0,"we-localnav__app__copy"],[12],[1,"\\n    "],[10,0],[14,0,"we-localnav__app__name"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.Branding.Title"],null]],[13],[1,"\\n    "],[10,0],[14,0,"we-localnav__app__subcopy targeted-link__target"],[12],[1,[28,[35,0],["WEA.AppPages.Arcade.UpsellBanner.CTA.Text"],null]],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,"picture"],[14,0,"we-localnav__app__icon e-artwork"],[12],[1,"\\n    "],[1,[28,[35,2],["arcade-webpreview"],[["class","aria-hidden"],["we-artwork__image","true"]]]],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["t","metrics-data","svg-jar"]]',moduleName:"web-experience-app/components/we-localnav/apple-arcade-cta.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-localnav/apple-books",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,i.createTemplateFactory)({id:"kGzEzrqs",block:'[[[8,[39,0],[[24,0,"we-localnav--books"]],[["@productKey","@qualifierKey","@hideQualifier","@hideBorder","@storeLink","@titleKey","@menuLinks"],["WEA.LocalNav.Store.Books","WEA.LocalNav.Preview.Books",[30,1],[30,2],"/apple-books/","WEA.LocalNav.Title.Preview.Books",[30,0,["localNav","links"]]]],null],[1,"\\n"]],["@hideQualifier","@hideBorder"],false,["we-localnav"]]',moduleName:"web-experience-app/components/we-localnav/apple-books.hbs",isStrictMode:!1})
let s=(a=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="localNav",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},p=a.prototype,c="localNav",u=[n.inject],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s,(0,t.setComponentTemplate)(l,s)})),define("web-experience-app/components/we-localnav/dynamic",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,i.createTemplateFactory)({id:"8yDQxfJa",block:'[[[41,[30,0,["appViewState","isMacAppStoreView"]],[[[1,"  "],[8,[39,1],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["appViewState","isAppStoreView"]],[[[1,"  "],[8,[39,2],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["appViewState","isBookView"]],[[[1,"  "],[8,[39,3],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["appViewState","isPodcastsView"]],[[[1,"  "],[8,[39,4],null,null,null],[1,"\\n"]],[]],[[[1,"  "],[8,[39,5],null,null,null],[1,"\\n"]],[]]]],[]]]],[]]]],[]]]],[],false,["if","we-localnav/mac-app-store","we-localnav/app-store","we-localnav/apple-books","we-localnav/apple-podcasts","we-localnav/itunes"]]',moduleName:"web-experience-app/components/we-localnav/dynamic.hbs",isStrictMode:!1})
let s=(a=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="appViewState",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},p=a.prototype,c="appViewState",u=[n.inject],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s,(0,t.setComponentTemplate)(l,s)})),define("web-experience-app/components/we-localnav/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/template","@ember/debug","@ember/service"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const g=(0,i.createTemplateFactory)({id:"m5DdQqrL",block:'[[[10,"input"],[14,1,"localnav-menustate"],[14,0,"localnav-menustate"],[14,4,"checkbox"],[12],[13],[1,"\\n\\n"],[11,"nav"],[24,1,"localnav"],[16,0,[29,["css-sticky we-localnav localnav ",[52,[30,1],"we-localnav--no-border"]," ",[52,[30,2],"we-localnav--no-qualifier"]]]],[24,"data-sticky",""],[17,3],[4,[38,1],[[30,0,["handleInsert"]]],null],[4,[38,2],[[30,0,["teardownIntersectionObservers"]]],null],[12],[1,"\\n  "],[10,0],[14,0,"localnav-wrapper"],[12],[1,"\\n    "],[10,0],[14,0,"localnav-background we-localnav__background"],[12],[13],[1,"\\n    "],[10,0],[14,0,"localnav-content we-localnav__content"],[12],[1,"\\n      "],[10,0],[14,0,"localnav-title we-localnav__title"],[12],[1,"\\n        "],[1,[30,0,["titleHtml"]]],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[15,0,[29,["localnav-menu we-localnav__menu we-localnav__menu--",[30,0,["appViewState","currentState"]],[52,[30,4]," we-localnav__menu--arcade",""]]]],[12],[1,"\\n"],[41,[30,5,["length"]],[[[1,"          "],[10,3],[14,6,"#localnav-menustate"],[14,"role","button"],[14,0,"localnav-menucta-anchor localnav-menucta-anchor-open"],[14,1,"localnav-menustate-open"],[12],[1,"\\n            "],[10,1],[14,0,"localnav-menucta-anchor-label"],[12],[1,[28,[35,3],["WEA.Common.Accessibility.LocalNavOpen"],null]],[13],[1,"\\n          "],[13],[1,"\\n          "],[10,3],[14,6,"#"],[14,"role","button"],[14,0,"localnav-menucta-anchor localnav-menucta-anchor-close"],[14,1,"localnav-menustate-close"],[12],[1,"\\n            "],[10,1],[14,0,"localnav-menucta-anchor-label"],[12],[1,[28,[35,3],["WEA.Common.Accessibility.LocalNavClose"],null]],[13],[1,"\\n          "],[13],[1,"\\n          "],[10,0],[14,0,"localnav-menu-tray"],[12],[1,"\\n"],[1,"            "],[11,"ul"],[24,0,"localnav-menu-items"],[24,"data-localnav-menu-items",""],[4,[38,4],["click",[30,0,["handleLocalNavMenuItemsClick"]]],null],[12],[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,5]],null]],null],null,[[[1,"                "],[10,"li"],[14,0,"localnav-menu-item"],[12],[1,"\\n"],[41,[28,[37,7],[[30,0,["currentRouteName"]],[30,6,["routeName"]]],null],[[[1,"                    "],[10,1],[14,0,"localnav-menu-link current"],[14,"role","link"],[14,"aria-disabled","true"],[14,"aria-current","page"],[12],[1,"\\n                      "],[1,[28,[35,3],[[30,6,["nameKey"]]],null]],[1,"\\n                    "],[13],[1,"\\n"]],[]],[[[1,"                    "],[8,[39,8],[[24,0,"localnav-menu-link"],[24,"role","link"]],[["@route"],[[30,6,["routeName"]]]],[["default"],[[[[1,"\\n                      "],[1,[28,[35,3],[[30,6,["nameKey"]]],null]],[1,"\\n                    "]],[]]]]],[1,"\\n"]],[]]],[1,"                "],[13],[1,"\\n"]],[6]],null],[1,"            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"        "],[10,0],[14,0,"localnav-actions we-localnav__actions"],[12],[1,"\\n"],[41,[30,5,["length"]],[[[1,"            "],[10,0],[14,0,"localnav-action localnav-action-menucta"],[14,"aria-hidden","true"],[12],[1,"\\n              "],[10,"label"],[14,"for","localnav-menustate"],[14,0,"localnav-menucta"],[12],[1,"\\n                "],[10,1],[14,0,"localnav-menucta-chevron"],[12],[13],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n"]],[]],null],[41,[48,[30,7]],[[[1,"            "],[18,7,null],[1,"\\n"]],[]],[[[41,[28,[37,11],[[30,5,["length"]]],null],[[[1,"            "],[10,0],[14,0,"localnav-action localnav-action-button we-localnav__action"],[12],[1,"\\n            "],[13],[1,"\\n          "]],[]],null]],[]]],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"],[10,1],[14,0,"we-localnav__shim"],[14,"aria-hidden","true"],[12],[13],[1,"\\n"],[10,"label"],[14,1,"localnav-curtain"],[14,"for","localnav-menustate"],[12],[13],[1,"\\n"]],["@hideBorder","@hideQualifier","&attrs","@supportsArcade","@menuLinks","link","&default"],false,["if","did-insert","will-destroy","t","on","each","-track-array","eq","link-to","has-block","yield","not"]]',moduleName:"web-experience-app/components/we-localnav/index.hbs",isStrictMode:!1})
let h=(s=(0,n.computed)("router.currentRouteName"),p=class extends r.default{constructor(){var e,t,i
super(...arguments),f(this,"globalElements",c,this),f(this,"appViewState",u,this),f(this,"i18n",d,this),f(this,"router",m,this),i=null,(t="intersectionObserver")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,this.args.titleHtml}get absoluteStoreLink(){const{globalElements:e}=this,{storeLink:t}=this.args
let i="https://web.archive.org/web/20220531203922/https://www.apple.com"
if(e&&e.storefront){"us"!==e.storefront.toLowerCase()&&(i+=`/${e.storefront.toLowerCase()}`)}return i+=t,i}get currentRouteName(){return this.router.currentRouteName}get titleHtml(){if(this.args.titleHtml)return this.args.titleHtml
const{i18n:e,absoluteStoreLink:t}=this,i=(0,a.htmlSafe)(`<a href="${t}" data-we-link-to-exclude><span class="we-localnav__title__product" data-test-we-localnav-store-title>${e.t(this.args.productKey)}</span></a>`)
let r=""
return this.args.hideQualifier||(r=`<span class="we-localnav__title__qualifier" data-test-we-localnav-preview-title>${e.t(this.args.qualifierKey)}</span>`),this.i18n.t(this.args.titleKey,{product:i,qualifier:r})}handleInsert(){this.setupIntersectionObservers(),this.setupLocalNavInstance()}setupIntersectionObservers(){if("IntersectionObserver"in window){const e=document.querySelector(".we-localnav"),t=t=>{let[i]=t
i.isIntersecting?e.classList.remove("localnav-sticking"):e.classList.add("localnav-sticking")}
this.intersectionObserver=new IntersectionObserver(t)
const i=document.getElementById("ac-globalnav")
i instanceof HTMLElement&&this.intersectionObserver.observe(i)}}teardownIntersectionObservers(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null)}handleLocalNavMenuItemsClick(){this.localnavInstance?.menu.close()}async setupLocalNavInstance(){const{default:e}=await emberAutoImportDynamic("@marcom/ac-localnav/Localnav")
this.isDestroyed||this.isDestroying||(this.localnavInstance=new e(document.getElementById("localnav")))}},c=b(p.prototype,"globalElements",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=b(p.prototype,"appViewState",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=b(p.prototype,"i18n",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=b(p.prototype,"router",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b(p.prototype,"currentRouteName",[s],Object.getOwnPropertyDescriptor(p.prototype,"currentRouteName"),p.prototype),b(p.prototype,"handleInsert",[n.action],Object.getOwnPropertyDescriptor(p.prototype,"handleInsert"),p.prototype),b(p.prototype,"teardownIntersectionObservers",[n.action],Object.getOwnPropertyDescriptor(p.prototype,"teardownIntersectionObservers"),p.prototype),b(p.prototype,"handleLocalNavMenuItemsClick",[n.action],Object.getOwnPropertyDescriptor(p.prototype,"handleLocalNavMenuItemsClick"),p.prototype),p)
e.default=h,(0,t.setComponentTemplate)(g,h)}))
define("web-experience-app/components/we-localnav/itunes",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o){var l,s,p,c,u
function d(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const f=(0,i.createTemplateFactory)({id:"0cUqkfbm",block:'[[[8,[39,0],[[24,0,"we-localnav--itunes"]],[["@productKey","@qualifierKey","@storeLink","@titleKey"],["WEA.LocalNav.Store.iTunes","WEA.LocalNav.Preview.iTunes",[30,0,["storeLink"]],"WEA.LocalNav.Title.Preview.iTunes"]],[["default"],[[[[1,"\\n"],[41,[28,[37,2],[[30,0,["cta"]],[30,0,["ctaUrl"]]],null],[[[1,"    "],[10,0],[14,0,"localnav-action localnav-action-button we-localnav__action"],[12],[1,"\\n      "],[10,3],[14,0,"localnav-button we-button we-button--compact"],[15,6,[29,[[30,0,["ctaUrl"]]]]],[12],[1,[30,0,["cta"]]],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null]],[]]]]],[1,"\\n\\n"],[8,[39,3],null,null,null],[1,"\\n"]],[],false,["we-localnav","if","and","we-web-to-native-cta/failed/itunes"]]',moduleName:"web-experience-app/components/we-localnav/itunes.hbs",isStrictMode:!1})
let b=(l=(0,n.computed)("currentRouteName"),s=class extends r.default{constructor(){super(...arguments),d(this,"i18n",p,this),d(this,"platform",c,this),d(this,"router",u,this)}get currentRouteName(){return this.router.currentRouteName}get cta(){return(0,o.isSSR)()||this.platform.browser.ismacOS?"":this.platform.couldHaveiTunes?this.i18n.t("WEA.LocalNav.CTA.DownloadiTunes"):""}get ctaUrl(){return this.platform.browser.ismacOS?"":this.i18n.t("WEA.LocalNav.CTA.DownloadiTunes.url")}get storeLink(){const{currentRouteName:e}=this
return e&&["episode.","movie.","movie-collection.","show.","tv-season."].some((t=>e.indexOf(t)>-1))?"/itunes/video/":"/itunes/"}},p=m(s.prototype,"i18n",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=m(s.prototype,"platform",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=m(s.prototype,"router",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(s.prototype,"storeLink",[l],Object.getOwnPropertyDescriptor(s.prototype,"storeLink"),s.prototype),s)
e.default=b,(0,t.setComponentTemplate)(f,b)})),define("web-experience-app/components/we-localnav/mac-app-store",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"YWy9glZd",block:'[[[8,[39,0],[[24,0,"we-localnav--mas"]],[["@productKey","@qualifierKey","@storeLink","@titleKey","@supportsArcade"],["WEA.LocalNav.Store.MAS","WEA.LocalNav.Preview.MAS","/macos/","WEA.LocalNav.Title.Preview.MAS",[30,1]]],[["default"],[[[[1,"\\n"],[41,[30,1],[[[1,"    "],[8,[39,2],null,null,null],[1,"\\n"]],[]],null]],[]]]]],[1,"\\n"]],["@supportsArcade"],false,["we-localnav","if","we-localnav/apple-arcade-cta"]]',moduleName:"web-experience-app/components/we-localnav/mac-app-store.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-lockup/app-event",["exports","@ember/component","@ember/template-factory","@ember/template","@glimmer/component","@ember/object","@ember/service","web-experience-app/utils/apps/app-events"],(function(e,t,i,r,n,a,o,l){var s,p,c
function u(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function d(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,f(e,t,"get"))}function m(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,f(e,t,"set"),i),i}function f(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const g=(0,i.createTemplateFactory)({id:"sIlCFE6q",block:'[[[8,[39,0],[[16,0,[29,[[52,[28,[37,2],[[30,1]],null],"is-live"]]]],[17,2],[4,[38,5],[[30,0,["subscribeToClock"]]],null],[4,[38,6],[[30,0,["unsubscribeFromClock"]]],null]],[["@model","@lockupEyebrow","@artworkProfile","@overlayStyles","@artwork"],[[28,[37,3],["lockups/app-event"],[["lockup"],[[30,1]]]],[28,[37,4],[[30,1]],null],[30,3],[30,0,["overlayStyles"]],[30,1,["lockupArtwork"]]]],null],[1,"\\n"]],["@model","&attrs","@artworkProfile"],false,["we-lockup","if","is-live-event","present","format-event-badge","did-insert","will-destroy"]]',moduleName:"web-experience-app/components/we-lockup/app-event.hbs",isStrictMode:!1})
let h=(c=new WeakMap,s=class extends n.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="clock",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),u(this,c,{writable:!0,value:null})}get overlayStyles(){return this.overlayArtwork?(0,r.htmlSafe)(`--background-image: url(${this.overlayArtwork});`):""}get overlayArtwork(){const{lockupArtwork:e}=this.args.model
return(0,l.fallbackEventArtwork)(e?.url)}subscribeToClock(){m(this,c,(()=>(0,l.shouldUnsubscribe)(this.args.model))),(0,l.shouldSubscribe)(this.args.model)&&this.clock.subscribe(d(this,c))}unsubscribeFromClock(){this.clock.unsubscribe(d(this,c))}},p=b(s.prototype,"clock",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b(s.prototype,"subscribeToClock",[a.action],Object.getOwnPropertyDescriptor(s.prototype,"subscribeToClock"),s.prototype),b(s.prototype,"unsubscribeFromClock",[a.action],Object.getOwnPropertyDescriptor(s.prototype,"unsubscribeFromClock"),s.prototype),s)
e.default=h,(0,t.setComponentTemplate)(g,h)})),define("web-experience-app/components/we-lockup/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object","@ember/utils","web-experience-app/helpers/shelf-profile","web-experience-app/utils/shelf","web-experience-app/utils/generate-monogram","web-experience-app/utils/sanitize","web-experience-app/utils/date-time","web-experience-app/utils/apps/device-support","@glimmer/tracking","web-experience-app/utils/apps/app-type","web-experience-app/helpers/app-artwork","@ember/debug","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n,a,o,l,s,p,c,u,d,m,f,b,g,h){var y,w,v,_,P,O,A,k,S,x,j,T,z,M,E,C,L,D,I
function N(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function R(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function F(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const B=(0,i.createTemplateFactory)({id:"H2kYrDUH",block:'[[[8,[39,0],[[16,0,[29,["we-lockup",[52,[30,0,["isPerson"]]," we-lockup--person"],[52,[30,0,["lockupUrl"]]," targeted-link"]]]],[16,6,[30,0,["lockupUrl"]]],[16,"aria-label",[30,0,["ariaLabel"]]],[17,1]],[["@tagName"],[[30,0,["tagName"]]]],[["default"],[[[[1,"\\n"],[41,[30,2],[[[1,"    "],[10,"h3"],[14,0,"we-lockup__lockup-eyebrow"],[12],[1,"\\n      "],[1,[30,2]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[41,[28,[37,2],[[30,0,["artwork"]],[30,0,["fallbackArtworkProfile"]]],null],[[[41,[30,0,["useVideoThumbnail"]],[[[1,"      "],[8,[39,3],null,[["@artworkClassName","@artwork","@profile","@fallbackProfile","@hasPreviewLabel","@media"],[[28,[37,4],["we-lockup__artwork ",[30,0,["artworkClassName"]]],null],[30,0,["artwork"]],[30,0,["useArtworkProfile"]],[30,0,["fallbackArtworkProfile"]],[30,0,["canHaveVideoPreview"]],[28,[37,5],["media-meta/lockup-video"],[["model"],[[30,3]]]]]],null],[1,"\\n"]],[]],[[[1,"      "],[10,0],[14,0,"we-lockup__overlay"],[15,5,[52,[30,4],[30,4]]],[12],[1,"\\n"],[41,[28,[37,6],[[30,0,["useArtworkProfile"]],[28,[37,7],["epubBook","audio-book","media-audio-book"],null]],null],[[[1,"          "],[8,[39,8],[[16,0,[28,[37,4],["we-lockup__artwork ",[30,0,["artworkClassName"]]],null]],[16,"dir",[30,0,["artworkDirection"]]]],[["@artworkClassName","@artwork","@profile","@fallbackProfile"],[[28,[37,4],["we-lockup__artwork ",[30,0,["artworkClassName"]]],null],[30,0,["artwork"]],[30,0,["useArtworkProfile"]],[30,0,["fallbackArtworkProfile"]]]],null],[1,"\\n"]],[]],[[[1,"          "],[8,[39,9],[[16,0,[28,[37,4],["we-lockup__artwork ",[30,0,["artworkClassName"]]],null]],[16,"dir",[30,0,["artworkDirection"]]]],[["@artworkClassName","@artwork","@profile","@fallbackProfile"],[[28,[37,4],["we-lockup__artwork ",[30,0,["artworkClassName"]]],null],[30,0,["artwork"]],[30,0,["useArtworkProfile"]],[30,0,["fallbackArtworkProfile"]]]],null],[1,"\\n"]],[]]],[1,"        "],[10,0],[14,0,"we-lockup__material"],[12],[13],[1,"\\n        "],[10,0],[14,0,"we-lockup__joe-color"],[12],[13],[1,"\\n      "],[13],[1,"\\n"]],[]]]],[]],null],[1,"\\n  "],[10,0],[15,0,[29,["we-lockup__copy",[52,[30,3,["supportsArcade"]]," lockup--arcade"]]]],[12],[1,"\\n"],[41,[30,5],[[[1,"      "],[10,2],[14,0,"we-lockup__rank"],[12],[1,[30,5]],[13],[1,"\\n"]],[]],null],[1,"    "],[10,0],[14,0,"we-lockup__text"],[12],[1,"\\n"],[41,[28,[37,2],[[30,6],[30,3,["eyebrow"]]],null],[[[1,"        "],[10,0],[14,0,"truncate-single-line we-lockup__eyebrow"],[12],[1,[28,[35,2],[[30,6],[30,3,["eyebrow"]]],null]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,3,["supportsArcade"]],[[[1,"        "],[10,2],[14,0,"we-lockup__eyebrow"],[12],[1,[28,[35,10],["WEA.AppPages.Arcade.Branding.Title"],null]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["title"]],[[[1,"        "],[10,0],[15,1,[30,0,["ariaLabelledBy"]]],[15,0,[29,["we-lockup__title ",[52,[30,0,["isExplicit"]]," icon icon-after icon-explicit"]]]],[12],[1,"\\n"],[41,[30,0,["shouldTruncateTitle"]],[[[1,"            "],[8,[39,11],[[16,0,[52,[30,0,["lockupUrl"]],"targeted-link__target"]]],[["@value","@clampProfile","@isInteractive"],[[28,[37,12],[[30,0,["title"]]],null],[30,7],[30,8]]],null],[1,"\\n"]],[]],[[[1,"            "],[10,0],[15,0,[29,[[52,[30,0,["lockupUrl"]],"targeted-link__target"]]]],[12],[1,[30,0,["title"]]],[13],[1,"\\n"]],[]]],[1,"        "],[13],[1,"\\n"]],[]],[[[1,"        "],[10,"br"],[12],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["subtitle"]],[[[1,"        "],[8,[39,11],[[24,0,"we-lockup__subtitle"]],[["@value"],[[30,0,["subtitle"]]]],null],[1,"\\n"]],[]],null],[41,[30,0,["details"]],[[[1,"        "],[10,0],[14,0,"truncate-single-line we-lockup__details"],[12],[1,[30,0,["details"]]],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]]]]],[1,"\\n"]],["&attrs","@lockupEyebrow","@model","@overlayStyles","@rank","@eyebrow","@clampProfile","@isInteractive"],false,["html-tag","if","or","we-video-thumbnail","concat","present","includes","array","we-book-artwork","amp-artwork/wea","t","we-truncate","html-sanitize"]]',moduleName:"web-experience-app/components/we-lockup/index.hbs",isStrictMode:!1})
let W=(y=(0,a.computed)("args.model.{id,kind,playbackUrl}"),w=(0,a.computed)("args.model.{subTitle,title}","args.{rank,isPodcast}"),v=(0,a.computed)("args.model.{kind,pageProgressionDirection}"),_=(0,a.computed)("args.model.{kind,name,videoSubType}","args.title"),P=(0,a.computed)("_softwareAddonPricing","args.{model.primaryGenre.name,showArtistName,subtitle}","lockupKind","releaseYear"),O=(0,a.computed)("_softwareAddonPricing","args.details","args.model.{description,kind}"),A=(0,a.computed)("args.model.{isSubscription,introPricing,priceFormatted}"),k=(0,a.computed)("args.model.{releaseDate,releaseYear}","i18n.locale"),S=(0,a.computed)("args.clampProfile"),x=(0,a.computed)("args.model.kind"),j=(0,a.computed)("args.model.kind"),T=(0,a.computed)("args.model.{kind,lockupKind}"),z=(0,a.computed)("args.model.{kind,url}"),M=(0,a.computed)("args.artworkProfile","isMessagesOnly","shelfProfile.{artwork,large,medium,small}"),E=(0,a.computed)("args.model.kind","isPerson","shelfProfile.fallback"),C=(0,a.computed)("args.artworkClassName","args.model.{deviceFamilies.[],isIOSApp,kind}","isMessagesOnly"),L=class extends r.default{get lockupId(){return"clip"===this.args.model.kind?this.args.model.playbackUrl:this.args.model.id}constructor(){if(super(...arguments),N(this,"i18n",D,this),R(this,"eyebrow",null),R(this,"model",null),N(this,"tagName",I,this),R(this,"artworkProfile",null),!this.args.model)return
const e=(0,o.isBlank)(this.lockupUrl)?"div":"a"
this.tagName=e}get ariaLabel(){const{i18n:e}=this,{title:t,subtitle:i,isExplicit:r}=this,n=e.t("WEA.Common.SentenceDelimiter")
let a=(0,c.sanitizeForAttribute)(t)
const o=e.t(this.args.isPodcast?"WEA.PodcastPages.Explicit.AX":"WEA.MusicPages.Riaa.Explicit.AX")
return this.args.rank&&(a=`${e.t("WEA.Charts.Common.Rank",{rank:this.args.rank})}${n} ${a}`),i&&(a+=`${n} ${(0,c.sanitizeForAttribute)(i)}`),r&&(a+=`${n} ${o}`),`${a}${n}`}get artworkDirection(){const{model:e={}}=this.args,{kind:t,pageProgressionDirection:i}=e
return"epubBook"===t&&i?i:"ltr"}get title(){if("title"in this.args)return this.args.title
const{model:e}=this.args
return"tvEpisode"!==e.kind?e.name:this.i18n.t(`WEA.Common.VideoSubType.${e.videoSubType}`,{_disableSafeString:!0})}get subtitle(){if("subtitle"in this.args&&void 0!==this.args.subtitle)return this.args.subtitle
const{model:e}=this.args
if(this.args.showArtistName)return e.artistName
switch(this.lockupKind){case"AppleTVOnlyApp":case"artist":case"iosSoftware":case"iOSmacOSApp":case"iOStvOSApp":case"iOStvOSmacOSApp":case"iOSwatchOSApp":case"iOStvOSwatchOSApp":case"movie":case"movieBundle":case"desktopApp":return e.primaryGenre?.name||e.item?.genreDisplayName
case"softwareAddOn":{const{description:t}=e
return"object"==typeof t&&(0,o.isPresent)(t)&&t.standard?t.standard:"string"==typeof t?t:this._softwareAddonPricing}case"tvEpisode":return e.name
case"musicVideo":return e.musicVideoSubtitle||this.releaseYear
case"appEvent":case"editorialItem":case"role":return e.subtitle
case"album":return e.albumSubtitle||this.releaseYear
case"episodic":case"serial":return e.artistName
default:return this.releaseYear}}get details(){if(this.args.details)return this.args.details
const{kind:e,description:t}=this.args.model
return"softwareAddOn"!==e?"":t?this._softwareAddonPricing:null}get _softwareAddonPricing(){const{model:e}=this.args
if("softwareAddOn"!==e.kind)return
const{priceFormatted:t}=e
if(e.isSubscription){const{introPricing:i}=e
if(i)return this.i18n.t(`WEA.AppPages.Subscriptions.${i}`,{price:t})}return t}get artwork(){if(this.args.artwork)return this.args.artwork
const{model:e}=this.args,t=(0,b.appArtwork)(e)||(0,b.appArtwork)(e.item)
return t||e.artwork}get releaseYear(){const{model:e}=this.args
if(e.releaseYear)return e.releaseYear
const{releaseDate:t}=e
return t?(0,u.formatDate)(t,this.i18n.locale,u.FORMATS.YEAR):null}get shouldTruncateTitle(){return"book-in-shelf"!==this.args.clampProfile}get canHaveVideoPreview(){const{kind:e}=this.args.model
return["musicVideo","tvEpisode"].includes(e)}get useVideoThumbnail(){const{kind:e}=this.args.model
return["musicVideo","tvEpisode","clip"].includes(e)}get isExplicit(){return!1}get isPerson(){return this.isArtist||this.isRole}get isArtist(){return"artist"===this.args.model.kind}get isRole(){return"role"===this.args.model.kind}get isMessagesOnly(){return(0,f.isMessagesOnly)(this.args.model.lockup||this.args.model)}get lockupKind(){return this.args.model.lockupKind||this.args.model.kind}get lockupUrl(){const{kind:e,url:t}=this.args.model
return t&&"softwareAddOn"!==e?t:null}get shelfProfile(){return(0,l.getShelfProfile)([this.lockupKind])}get useArtworkProfile(){const{artworkProfile:e}=this.args
if(e)return e
if(this.isMessagesOnly)return"lockup-imessage-app"
const{shelfProfile:t}=this
return t.artwork||(0,s.generateDefaultArtworkProfile)(t)}get fallbackArtworkProfile(){if(!this.isPerson)return this.shelfProfile.fallback
const{model:e}=this.args
return e.isAppleMusicArtist?"artist-music":e.name?(0,p.default)(e.name):void 0}get artworkClassName(){const{artworkClassName:e,model:t}=this.args
if(e)return e
const{type:i}=t
let{kind:r}=t,n="we-artwork--lockup we-artwork--fullwidth"
switch(r||("books"===i?r="epubBook":"audio-books"===i&&(r="book")),r){case"book":n=`${n} we-lockup__artwork--book we-book-artwork--audiobook we-artwork--audiobook`
break
case"epubBook":n=`${n} we-lockup__artwork--book we-book-artwork--spine we-artwork--ebook`
break
case"role":case"artist":n=`${n} we-artwork--round`
break
case"softwareAddOn":n=`${n} in-app-purchase-artwork__purchase`
break
case"app":case"mobileSoftwareBundle":n=`${n} we-artwork--ios-app-icon`
break
case"AppleTVOnlyApp":case"iOSmacOSApp":case"iosSoftware":case"iOStvOSApp":case"iOStvOSmacOSApp":case"iOSwatchOSApp":case"desktopApp":{const e=t.deviceFamilies||t.item?.deviceFamilies
n=(0,d.isMacOnly)(e)?`${n} we-artwork--not-round we-artwork--macos-app-icon`:(0,d.isAppleTVOnly)(e)?`${n} we-artwork--tvos-app-icon`:this.isMessagesOnly?`${n} we-artwork--imessages-app-icon`:`${n} we-artwork--ios-app-icon`}}return n}},D=F(L.prototype,"i18n",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F(L.prototype,"lockupId",[y],Object.getOwnPropertyDescriptor(L.prototype,"lockupId"),L.prototype),I=F(L.prototype,"tagName",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F(L.prototype,"ariaLabel",[w],Object.getOwnPropertyDescriptor(L.prototype,"ariaLabel"),L.prototype),F(L.prototype,"artworkDirection",[v],Object.getOwnPropertyDescriptor(L.prototype,"artworkDirection"),L.prototype),F(L.prototype,"title",[_],Object.getOwnPropertyDescriptor(L.prototype,"title"),L.prototype),F(L.prototype,"subtitle",[P],Object.getOwnPropertyDescriptor(L.prototype,"subtitle"),L.prototype),F(L.prototype,"details",[O],Object.getOwnPropertyDescriptor(L.prototype,"details"),L.prototype),F(L.prototype,"_softwareAddonPricing",[A],Object.getOwnPropertyDescriptor(L.prototype,"_softwareAddonPricing"),L.prototype),F(L.prototype,"releaseYear",[k],Object.getOwnPropertyDescriptor(L.prototype,"releaseYear"),L.prototype),F(L.prototype,"shouldTruncateTitle",[S],Object.getOwnPropertyDescriptor(L.prototype,"shouldTruncateTitle"),L.prototype),F(L.prototype,"canHaveVideoPreview",[x],Object.getOwnPropertyDescriptor(L.prototype,"canHaveVideoPreview"),L.prototype),F(L.prototype,"useVideoThumbnail",[j],Object.getOwnPropertyDescriptor(L.prototype,"useVideoThumbnail"),L.prototype),F(L.prototype,"lockupKind",[T],Object.getOwnPropertyDescriptor(L.prototype,"lockupKind"),L.prototype),F(L.prototype,"lockupUrl",[z],Object.getOwnPropertyDescriptor(L.prototype,"lockupUrl"),L.prototype),F(L.prototype,"useArtworkProfile",[M],Object.getOwnPropertyDescriptor(L.prototype,"useArtworkProfile"),L.prototype),F(L.prototype,"fallbackArtworkProfile",[E],Object.getOwnPropertyDescriptor(L.prototype,"fallbackArtworkProfile"),L.prototype),F(L.prototype,"artworkClassName",[C],Object.getOwnPropertyDescriptor(L.prototype,"artworkClassName"),L.prototype),L)
e.default=W,(0,t.setComponentTemplate)(B,W)})),define("web-experience-app/components/we-media-trigger",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object"],(function(e,t,i,r,n,a){var o,l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"oqmdDcl6",block:'[[[11,"button"],[24,4,"button"],[17,1],[4,[38,0],["click",[30,0,["mediaClickHandler"]]],null],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13],[1,"\\n"]],["&attrs","&default"],false,["on","yield"]]',moduleName:"web-experience-app/components/we-media-trigger.hbs",isStrictMode:!1})
let m=(o=class extends r.default{constructor(){super(...arguments),c(this,"mediaPlayer",l,this),c(this,"metrics",s,this),c(this,"videoPlayer",p,this)}async mediaClickHandler(e){e.preventDefault(),e.stopPropagation()
const t=await this.args.media,i=await this.args.queue
"audio"===t.attributes.mediaKind&&(this.mediaPlayer.togglePlayback(i,t,this.args.isPlayableQueue),this.metrics.recordEvent("click",{actionType:"play",actionDetails:"trackSelection",targetType:"button",targetId:t.id}))}},l=u(o.prototype,"mediaPlayer",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=u(o.prototype,"metrics",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=u(o.prototype,"videoPlayer",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(o.prototype,"mediaClickHandler",[a.action],Object.getOwnPropertyDescriptor(o.prototype,"mediaClickHandler"),o.prototype),o)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-modal",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/string","@ember/object/internals","@ember/runloop","@ember/service","@glimmer/tracking"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const g=(0,i.createTemplateFactory)({id:"IO6hO+bp",block:'[[[11,0],[17,1],[4,[38,0],[[30,0,["didUpdateArgs"]],[30,2]],null],[4,[38,1],[[30,0,["didUpdateArgs"]],false],null],[12],[1,"\\n"],[41,[28,[37,3],[[30,3],[28,[37,4],[[28,[37,5],null,null]],null]],null],[[[1,"    "],[11,"button"],[24,0,"we-modal__show link section__nav__see-all-link"],[16,1,[29,[[30,0,["triggerId"]]]]],[16,"data-metrics-click",[28,[37,6],["openModal"],[["modalTarget"],[[30,0,["modalTarget"]]]]]],[24,4,"button"],[4,[38,7],["click",[30,0,["openModal"]]],null],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isOpen"]],[[[40,[[[1,"      "],[11,0],[16,0,[29,["we-modal we-modal--",[30,0,["modalType"]]," we-modal--open"]]],[24,"role","dialog"],[24,"aria-hidden","false"],[16,"aria-labelledby",[29,[[30,0,["triggerId"]]]]],[24,"tabindex","0"],[17,1],[12],[1,"\\n        "],[10,0],[15,0,[29,["we-modal__content large-10 medium-12 ",[30,4]]]],[15,1,[29,[[30,0,["contentId"]]]]],[14,"role","document"],[14,"tabindex","0"],[12],[1,"\\n          "],[10,0],[14,0,"we-modal__content__wrapper"],[12],[1,"\\n            "],[18,5,[[28,[37,11],null,[["isOpen"],[true]]]]],[1,"\\n          "],[13],[1,"\\n\\n          "],[11,"button"],[24,0,"we-modal__close"],[16,"data-metrics-click",[28,[37,6],["closeModal"],[["modalTarget"],[[30,0,["modalTarget"]]]]]],[16,"aria-label",[29,[[28,[37,12],["WEA.Common.Close"],null]]]],[24,4,"button"],[4,[38,7],["click",[30,0,["closeModal"]]],null],[12],[13],[1,"\\n        "],[13],[1,"\\n\\n        "],[11,"button"],[24,0,"we-modal__close--overlay"],[24,"tabindex","-1"],[16,"data-metrics-click",[28,[37,6],["closeModal"],[["modalTarget"],[[30,0,["modalTarget"]]]]]],[16,"aria-label",[29,[[28,[37,12],["WEA.Common.Close"],null]]]],[24,4,"button"],[4,[38,7],["click",[30,0,["closeModal"]]],null],[12],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],"%cursor:0%",[28,[37,9],[[30,0,["modalElementTarget"]]],null]]],[]],null],[13],[1,"\\n"]],["&attrs","@isOpen","@triggerText","@modalContentClass","&default"],false,["did-update","will-destroy","if","and","not","is-ssr","metrics-data","on","in-element","-in-el-null","yield","hash","t"]]',moduleName:"web-experience-app/components/we-modal.hbs",isStrictMode:!1})
let h=(c=class extends r.default{constructor(){super(...arguments),f(this,"fastboot",u,this),f(this,"containerId",d,this),f(this,"_isOpen",m,this),this.containerId=(0,o.guidFor)(this)}get isOpen(){return this.args.isOpen??this._isOpen}get modalElementTarget(){return this.fastboot.isFastBoot?null:document.querySelector("#modal-container")}get modalType(){return this.args.modalType||"page-overlay"}get modalTarget(){const{metricsTarget:e}=this.args
return`Modal${e?(0,a.classify)(e.toString()):""}`}get contentId(){return`modal-content-${this.containerId}`}get triggerId(){return this.args.triggerId||`modal-trigger-${this.containerId}`}closeModal(){this.updateModalVisibility(!1),this.args.onModalClose?.()}openModal(){this.updateModalVisibility(!0),this.args.onModalOpen?.()}didUpdateArgs(e,t){let[i]=t
this.updateModalVisibility(i)}updateModalVisibility(e){const t=`has-modal--${this.modalType}`
this._isOpen=e
const i=e?this.contentId:this.triggerId
e?document.body.classList.add(t):document.body.classList.contains(t)&&document.body.classList.remove(t),(0,l.scheduleOnce)("afterRender",this,this.setFocus,i)}setFocus(e){document.getElementById(e)?.focus()}},u=b(c.prototype,"fastboot",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=b(c.prototype,"containerId",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=b(c.prototype,"_isOpen",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b(c.prototype,"closeModal",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"closeModal"),c.prototype),b(c.prototype,"openModal",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"openModal"),c.prototype),b(c.prototype,"didUpdateArgs",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"didUpdateArgs"),c.prototype),b(c.prototype,"setFocus",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"setFocus"),c.prototype),c)
e.default=h,(0,t.setComponentTemplate)(g,h)})),define("web-experience-app/components/we-product-collection/story",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","web-experience-app/utils/apps/device-support","web-experience-app/helpers/primary-platform"],(function(e,t,i,r,n,a,o){var l,s
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,i.createTemplateFactory)({id:"ioh9lPac",block:'[[[10,0],[14,0,"we-product-collection__item"],[12],[1,"\\n"],[41,[30,1,["isInAppPurchase"]],[[[1,"    "],[10,0],[14,0,"in-app-purchase-artwork in-app-purchase-artwork--collection"],[12],[1,"\\n      "],[8,[39,1],[[24,0,"in-app-purchase-artwork__purchase we-product-collection__item__artwork"]],[["@artwork","@fallbackProfile","@profile"],[[28,[37,2],[[28,[37,3],[[30,1],[30,0,["platform","browser","isiOS"]]],null]],null],"product-app-story","in-app-purchase-collection-purchase"]],null],[1,"\\n"],[1,"      "],[8,[39,1],[[16,0,[28,[37,4],["in-app-purchase-artwork__app we-product-collection__item__artwork",[52,[30,0,["isPrimarymacOS"]]," we-artwork--macos-app-icon"," we-artwork--ios-app-icon"]],null]]],[["@artwork","@addBgColor","@fallbackProfile","@profile"],[[28,[37,2],[[28,[37,3],[[30,1,["parentApp"]],[30,0,["platform","browser","isiOS"]]],null]],null],false,"product-app-story","in-app-purchase-collection-app"]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[1,"    "],[8,[39,1],[[16,0,[28,[37,4],["we-product-collection__item__artwork",[30,0,["appClass"]]],null]]],[["@artwork","@fallbackProfile","@profile"],[[30,0,["appArtwork"]],"product-app-story",[52,[30,0,["useOvalArtwork"]],"product-app-story-imessage","product-app-story"]]],null],[1,"\\n"]],[]]],[1,"\\n  "],[10,0],[14,0,"we-product-collection__item__headings"],[12],[1,"\\n"],[41,[30,1,["supportsArcade"]],[[[1,"      "],[10,2],[14,0,"we-product-collection__item__eyebrow"],[12],[1,"\\n        "],[1,[28,[35,5],["WEA.AppPages.Arcade.Branding.Title"],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"    "],[10,"h3"],[14,0,"truncate-single-line we-product-collection__item__product-name"],[14,"dir","auto"],[12],[1,"\\n      "],[1,[30,1,["name"]]],[1,"\\n    "],[13],[1,"\\n"],[44,[[28,[37,7],[[30,0,["primaryPlatform","subtitle"]],[30,0,["primaryGenre","name"]]],null]],[[[1,"      "],[10,"h4"],[14,0,"truncate-single-line we-product-collection__item__category"],[12],[1,"\\n        "],[1,[30,2]],[1,"\\n      "],[13],[1,"\\n"]],[2]]],[1,"  "],[13],[1,"\\n\\n  "],[10,3],[15,"arial-label",[29,[[28,[37,5],["WEA.EditorialItemProductPages.CTA.Text.AX"],[["appName"],[[30,1,["name"]]]]]]]],[14,0,"we-button we-button-flat we-button--pill we-product-collection__item__button"],[15,"data-metrics-click",[28,[37,8],["linkToStoryApp"],[["url"],[[30,1,["url"]]]]]],[15,6,[30,1,["url"]]],[12],[1,[28,[35,5],["WEA.Common.View"],null]],[13],[1,"\\n"],[13],[1,"\\n"]],["@app","subtitle"],false,["if","amp-artwork/wea","app-artwork","primary-platform","concat","t","let","or","metrics-data"]]',moduleName:"web-experience-app/components/we-product-collection/story.hbs",isStrictMode:!1})
let c=(l=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=s)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get primaryGenre(){return this.args.app.genres?.[0]}get isPrimarymacOS(){return(0,a.primaryPlatformSupported)(this.args.app.deviceFamilies,this.platform.browser.isiOS)===a.PLATFORMS.mac}get primaryPlatform(){return(0,o.primaryPlatform)(this.args.app,this.platform.browser.isiOS)}get useOvalArtwork(){return"Messages"===this.args.editorialContext&&this.primaryPlatform?.ovalArtwork}get useCircleArtwork(){return"Watch"===this.args.editorialContext&&this.primaryPlatform?.circularArtwork}get appArtwork(){const e=this.primaryPlatform?.ovalArtwork
if(this.useOvalArtwork)return e
const t=this.primaryPlatform?.circularArtwork
return this.useCircleArtwork?t:this.primaryPlatform?.artwork||this.args.app.appArtwork}get appClass(){return this.useOvalArtwork?" we-artwork--imessages-app-icon":this.useCircleArtwork?" we-artwork--watch-app-icon":this.isPrimarymacOS?" we-artwork--macos-app-icon":" we-artwork--ios-app-icon"}},u=l.prototype,d="platform",m=[n.inject],f={configurable:!0,enumerable:!0,writable:!0,initializer:null},g={},Object.keys(f).forEach((function(e){g[e]=f[e]})),g.enumerable=!!g.enumerable,g.configurable=!!g.configurable,("value"in g||g.initializer)&&(g.writable=!0),g=m.slice().reverse().reduce((function(e,t){return t(u,d,e)||e}),g),b&&void 0!==g.initializer&&(g.value=g.initializer?g.initializer.call(b):void 0,g.initializer=void 0),void 0===g.initializer&&(Object.defineProperty(u,d,g),g=null),s=g,l)
var u,d,m,f,b,g
e.default=c,(0,t.setComponentTemplate)(p,c)})),define("web-experience-app/components/we-rating-badge",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,i.createTemplateFactory)({id:"alfSWygd",block:'[[[41,[28,[37,1],[[28,[37,2],[[30,0,["ratingDisplayName"]]],null],"string"],null],[[[1,"  "],[1,[28,[35,2],[[30,0,["ratingDisplayName"]]],[["class","aria-label"],[[28,[37,3],[[30,1]," badge-asset--",[30,0,["ratingDisplayName"]]],null],[30,0,["ariaLabelText"]]]]]],[1,"\\n"]],[]],[[[1,"  "],[10,1],[14,0,"badge"],[15,"aria-label",[30,0,["ariaLabelText"]]],[12],[1,[30,2]],[13],[1,"\\n"]],[]]]],["@svgClass","@ratingName"],false,["if","get","svg-jar","concat"]]',moduleName:"web-experience-app/components/we-rating-badge.hbs",isStrictMode:!1})
let s=(a=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="globalElements",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get ratingDisplayName(){const e=this.args.ratingName.toLowerCase()
return`${(this.globalElements.storefront||"US").toLowerCase()}-${e}`}get ariaLabelText(){const{ariaLabel:e}=this.args
if(e)return e.replace("-"," ")}},p=a.prototype,c="globalElements",u=[n.inject],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s,(0,t.setComponentTemplate)(l,s)})),define("web-experience-app/components/we-screenshot-viewer",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/string"],(function(e,t,i,r,n,a){var o,l
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const s=(0,i.createTemplateFactory)({id:"BpzSQLwh",block:'[[[10,0],[14,0,"we-screenshot-viewer"],[12],[1,"\\n  "],[10,0],[14,0,"we-screenshot-viewer__screenshots"],[12],[1,"\\n    "],[10,"ul"],[14,0,"l-row l-row--peek we-screenshot-viewer__screenshots-list"],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,1,["images"]]],null]],null],null,[[[41,[28,[37,3],[[30,2]],null],[[[1,"          "],[10,"li"],[15,0,[29,[[30,1,["profiles","portrait","columnClassNames"]],[52,[30,3]," we-screenshot-viewer__screenshot--labelled",""]]]],[12],[1,"\\n            "],[8,[39,4],[[16,0,[28,[37,5],[[30,0,["artworkClasses"]]," we-artwork--screenshot-orientation-portrait"],null]]],[["@artwork","@profile","@overrideBgColor"],[[30,2],[30,1,["profiles","portrait","artworkProfile"]],[30,1,["overrideBgColor"]]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],[[[1,"          "],[10,"li"],[15,0,[29,[[30,1,["profiles","landscape","columnClassNames"]],[52,[30,3]," we-screenshot-viewer__screenshot--labelled",""]]]],[12],[1,"\\n            "],[8,[39,4],[[16,0,[28,[37,5],[[30,0,["artworkClasses"]]," we-artwork--screenshot-orientation-landscape"],null]]],[["@artwork","@profile","@overrideBgColor"],[[30,2],[30,1,["profiles","landscape","artworkProfile"]],[30,1,["overrideBgColor"]]]],null],[1,"\\n          "],[13],[1,"\\n"]],[]]]],[2]],null],[1,"    "],[13],[1,"\\n"],[41,[30,3],[[[1,"      "],[10,2],[14,0,"we-screenshot-viewer__screenshots__label"],[12],[1,[28,[35,6],[[30,1,["title"]]],null]],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@screenshotGroup","image","@showLabel"],false,["each","-track-array","if","is-portrait","amp-artwork/wea","concat","t"]]',moduleName:"web-experience-app/components/we-screenshot-viewer.hbs",isStrictMode:!1})
let p=(o=(0,n.computed)("args.screenshotGroup.{platform,platform.version}"),l=class extends r.default{get artworkClasses(){const{screenshotGroup:e}=this.args,t=(0,a.dasherize)(e.platform)
return`we-artwork--fullwidth we-artwork--screenshot-platform-${t} we-artwork--screenshot-version-${(e.version?(0,a.dasherize)(e.version):t).replace("+","plus")}`}},c=l.prototype,u="artworkClasses",d=[o],m=Object.getOwnPropertyDescriptor(l.prototype,"artworkClasses"),f=l.prototype,b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),l)
var c,u,d,m,f,b
e.default=p,(0,t.setComponentTemplate)(s,p)})),define("web-experience-app/components/we-see-all",["exports","@ember/component","@ember/template-factory","@ember/service","@ember/object","@glimmer/component","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const u=(0,i.createTemplateFactory)({id:"DEPk/7St",block:'[[[41,[30,0,["shouldShow"]],[[[1,"   "],[8,[39,1],[[24,"rel","nofollow"],[24,0,"link section__nav__see-all-link"],[16,"data-metrics-click",[52,[30,0,["metricsLocation"]],[28,[37,2],["seeAll"],[["sectionName"],[[28,[37,3],[[30,0,["metricsLocation"]]],null]]]]]],[24,"data-we-link-to-exclude",""],[17,1]],[["@query"],[[28,[37,4],null,[["seeAll"],[[28,[37,5],[[28,[37,6],[[30,2],""],null]],null]]]]]],[["default"],[[[[1,"\\n     "],[1,[28,[35,7],["WEA.Common.SeeAll.Button"],null]],[1,"\\n   "]],[]]]]],[1,"\\n"]],[]],null]],["&attrs","@sectionType"],false,["if","link-to","metrics-data","capitalize","hash","dasherize","or","t"]]',moduleName:"web-experience-app/components/we-see-all.hbs",isStrictMode:!1})
let d=(l=(0,n.computed)("responsive.viewport","args.{nextLink,itemCount,small,medium,large}"),s=class extends a.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="responsive",r=this,(i=p)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get metricsLocation(){return this.args.metricsLocation||this.args.sectionType}get shouldShow(){if((0,o.isSSR)())return!1
const{nextLink:e,itemCount:t}=this.args,i=this.responsive.viewport||"small",r=this.args[i]
return e?t>=r:t>r}},p=c(s.prototype,"responsive",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c(s.prototype,"shouldShow",[l],Object.getOwnPropertyDescriptor(s.prototype,"shouldShow"),s.prototype),s)
e.default=d,(0,t.setComponentTemplate)(u,d)})),define("web-experience-app/components/we-shelf",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object"],(function(e,t,i,r,n,a){var o,l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"RoW8ZFkQ",block:'[[[8,[39,0],null,[["@items","@small","@medium","@large"],[[30,1],[30,0,["small"]],[30,0,["medium"]],[30,0,["large"]]]],[["default"],[[[[1,"\\n"],[41,[48,[30,8]],[[[1,"    "],[18,8,[[30,2],[30,3]]],[1,"\\n"]],[]],[[[1,"    "],[8,[39,4],[[16,0,[30,0,["columnClassNames"]]],[16,"data-metrics-click",[28,[37,5],["navigateShelf"],[["id","url"],[[30,2,["id"]],[30,2,["url"]]]]]],[16,"data-metrics-location",[28,[37,5],["location"],[["sectionType"],[[30,4]]]]]],[["@model","@artworkProfile","@clampProfile","@showArtistName","@subtitle","@isPodcast"],[[30,2],[30,0,["artworkProfile"]],[30,5],[30,6],[52,[30,7],[30,2,["artistName"]]],[30,7]]],null],[1,"\\n"]],[]]]],[2,3]]]]],[1,"\\n"]],["@items","item","index","@metricsLocation","@clampProfile","@showArtistName","@isPodcast","&default"],false,["we-limit-per-viewport","if","has-block","yield","we-lockup","metrics-data"]]',moduleName:"web-experience-app/components/we-shelf.hbs",isStrictMode:!1})
let m=(o=(0,a.computed)("responsive.viewport","small","medium","large"),l=class extends r.default{constructor(){super(...arguments),c(this,"mediaPlayer",s,this),c(this,"responsive",p,this)}get small(){return this.args.small??this.args.profile?.small??this.args.items.length}get medium(){return this.args.medium??this.args.profile?.medium??this.small}get large(){return this.args.large??this.args.profile?.large??this.medium}get artworkProfile(){return this.args.artworkProfile||this.args.profile?.artwork}get columnClassNames(){return this.args.columnClassNames||this.args.profile?.columnClassNames}get limit(){return this[this.responsive.viewport||"small"]}},s=u(l.prototype,"mediaPlayer",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=u(l.prototype,"responsive",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"limit",[o],Object.getOwnPropertyDescriptor(l.prototype,"limit"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-star-rating",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/debug","@ember/service","web-experience-app/config"],(function(e,t,i,r,n,a,o){var l,s
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,i.createTemplateFactory)({id:"Lz2Pu1KF",block:'[[[11,"figure"],[24,0,"we-star-rating"],[16,"aria-label",[30,0,["defaultAriaLabel"]]],[17,1],[12],[1,"\\n  "],[10,1],[14,0,"we-star-rating-stars-outlines"],[12],[1,"\\n    "],[10,1],[15,0,[29,["we-star-rating-stars ",[30,0,["starsClassName"]]]]],[12],[13],[1,"\\n  "],[13],[1,"\\n"],[41,[30,2],[[[1,"    "],[10,"figcaption"],[14,0,"we-rating-count star-rating__count"],[12],[1,[28,[35,1],[[30,3]],null]],[1,[28,[35,2],["WEA.StarRating.Separator"],null]],[1,[28,[35,2],["WEA.Common.Ratings"],[["count"],[[28,[37,3],[[30,2]],null]]]]],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["&attrs","@ratingCount","@value"],false,["if","to-locale-fixed","t","abbr-number"]]',moduleName:"web-experience-app/components/we-star-rating.hbs",isStrictMode:!1})
let c=(l=class extends r.default{constructor(){var e,t,i,r,n,a,l
super(...arguments),e=this,t="i18n",r=this,(i=s)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),n=this,a="maxValue",l=o.default.maxRating,a in n?Object.defineProperty(n,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[a]=l}get defaultAriaLabel(){return this.i18n.t("WEA.Common.AverageRating",{rating:this.args.value,ratingTotal:this.maxValue})}get roundedValue(){const e=parseFloat(this.args.value,10),{maxValue:t}=this
let i=Math.round(2*e)/2
return i<0?i=0:i>t&&(i=t),i}get starsClassName(){return`we-star-rating-stars-${`${this.roundedValue}`.replace(".","_")}`}},u=l.prototype,d="i18n",m=[a.inject],f={configurable:!0,enumerable:!0,writable:!0,initializer:null},g={},Object.keys(f).forEach((function(e){g[e]=f[e]})),g.enumerable=!!g.enumerable,g.configurable=!!g.configurable,("value"in g||g.initializer)&&(g.writable=!0),g=m.slice().reverse().reduce((function(e,t){return t(u,d,e)||e}),g),b&&void 0!==g.initializer&&(g.value=g.initializer?g.initializer.call(b):void 0,g.initializer=void 0),void 0===g.initializer&&(Object.defineProperty(u,d,g),g=null),s=g,l)
var u,d,m,f,b,g
e.default=c,(0,t.setComponentTemplate)(p,c)})),define("web-experience-app/components/we-tabs",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@glimmer/tracking"],(function(e,t,i,r,n,a){var o,l
function s(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,i.createTemplateFactory)({id:"wkbXBaD0",block:'[[[10,0],[14,0,"we-tabs"],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,1]],null]],null],null,[[[41,[30,4],[[[1,"      "],[11,3],[24,"data-we-link-to-exclude",""],[16,"aria-label",[30,2,["ariaLabel"]]],[16,6,[30,2,["link"]]],[16,0,[29,["we-tabs__tab ",[52,[28,[37,3],[[30,3],[30,0,["activeTabIndex"]]],null]," is-active"]]]],[4,[38,4],["click",[28,[37,5],[[30,0,["onClick"]],[30,2],[30,3]],null]],null],[12],[1,"\\n        "],[1,[30,2,["label"]]],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[1,"      "],[11,"button"],[16,"aria-label",[30,2,["ariaLabel"]]],[16,0,[29,["we-tabs__tab ",[52,[28,[37,3],[[30,3],[30,0,["activeTabIndex"]]],null]," is-active"]]]],[24,4,"button"],[4,[38,4],["click",[28,[37,5],[[30,0,["onClick"]],[30,2],[30,3]],null]],null],[12],[1,"\\n        "],[1,[30,2,["label"]]],[1,"\\n      "],[13],[1,"\\n"]],[]]]],[2,3]],null],[13]],["@tabs","tab","index","@pageTransition"],false,["each","-track-array","if","eq","on","fn"]]',moduleName:"web-experience-app/components/we-tabs.hbs",isStrictMode:!1})
let c=(o=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="activeTabIndex",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})
const n=this.args.tabs.findIndex((e=>!0===e.isActive))
this.activeTabIndex=-1===n?0:n}onClick(e,t){this.args.onTabClick?.(e,t),this.activeTabIndex=t}},l=s(o.prototype,"activeTabIndex",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s(o.prototype,"onClick",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"onClick"),o.prototype),o)
e.default=c,(0,t.setComponentTemplate)(p,c)})),define("web-experience-app/components/we-truncate-list",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service","@ember/debug","web-experience-app/config","@glimmer/tracking","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const g=(0,i.createTemplateFactory)({id:"gStj3fsG",block:'[[[10,0],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,0,["visibleItems"]]],null]],null],null,[[[1,"    "],[18,2,[[30,1]]],[1,"\\n"]],[1]],null],[41,[30,0,["showMoreButton"]],[[[1,"    "],[11,"button"],[24,0,"we-truncate__button we-truncate__button--top-offset link"],[24,"aria-expanded","false"],[24,4,"button"],[4,[38,4],["click",[30,0,["showMore"]]],null],[12],[1,"\\n      "],[1,[28,[35,5],["WEA.Common.More"],null]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["item","&default"],false,["each","-track-array","yield","if","on","t"]]',moduleName:"web-experience-app/components/we-truncate-list.hbs",isStrictMode:!1}),{clampProfiles:h}=l.default
let y=(c=(0,n.computed)("clampConfig","responsive.viewport"),u=class extends r.default{constructor(){super(...arguments),f(this,"responsive",d,this),f(this,"isExpanded",m,this)}get showMoreButton(){return!this.isExpanded&&this.args.items.length>this.visibleItems.length}get clampConfig(){const e=h[this.args.clampProfile]
return e}get lines(){const e=this.responsive.viewport||"small",t=this.clampConfig[e]
return t?t.lines:null}get visibleItems(){return this.isExpanded||(0,p.isSSR)()?this.args.items:this.args.items.slice(0,this.lines)}showMore(){this.isExpanded=!0}},d=b(u.prototype,"responsive",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=b(u.prototype,"isExpanded",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b(u.prototype,"lines",[c],Object.getOwnPropertyDescriptor(u.prototype,"lines"),u.prototype),b(u.prototype,"showMore",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"showMore"),u.prototype),u)
e.default=y,(0,t.setComponentTemplate)(g,y)})),define("web-experience-app/components/we-truncate/clamp-base",["exports","@glimmer/component","@ember/service","@ember/object","@ember/runloop"],(function(e,t,i,r,n){var a,o,l,s
function p(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let u=(a=class extends t.default{constructor(){var e,t,i
super(...arguments),p(this,"fastboot",o,this),p(this,"responsive",l,this),p(this,"router",s,this),i=void 0,(t="element")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}_clamp(){if(this.fastboot.isFastBoot||this.isDestroyed||this.isDestroying)return
const{configLines:e}=this.args
if(!e||!this.element)return
let t=!1
this._shouldClamp()&&(t=this.clamp(e)),this.args.didTruncate?.(t)}_shouldClamp(){return!this.args.configMaxLines||this.clamp(this.args.configMaxLines)}_valueUpdateHandler(){(0,n.scheduleOnce)("afterRender",this,this._clamp)}resetOnResize(){this.args.isInteractive||(this.element.innerHTML="object"==typeof this.originalText?this.originalText.string:this.originalText),(0,n.scheduleOnce)("afterRender",this,this._clamp)}handleInsert(e){this.element=e,this._clamp(),this.router.on("routeDidChange",this,this._valueUpdateHandler),this.responsive.on("didChange",this.resetOnResize)}handleDestroy(){this.router.off("routeDidChange",this,this._valueUpdateHandler),this.responsive.off("didChange",this.resetOnResize)}},o=c(a.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=c(a.prototype,"responsive",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=c(a.prototype,"router",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c(a.prototype,"resetOnResize",[r.action],Object.getOwnPropertyDescriptor(a.prototype,"resetOnResize"),a.prototype),c(a.prototype,"handleInsert",[r.action],Object.getOwnPropertyDescriptor(a.prototype,"handleInsert"),a.prototype),c(a.prototype,"handleDestroy",[r.action],Object.getOwnPropertyDescriptor(a.prototype,"handleDestroy"),a.prototype),a)
e.default=u})),define("web-experience-app/components/we-truncate/clamp-height",["exports","@ember/component","@ember/template-factory","web-experience-app/components/we-truncate/clamp-base","web-experience-app/utils/truncate-text","@ember/service"],(function(e,t,i,r,n,a){var o,l
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const s=(0,i.createTemplateFactory)({id:"q1H9VdqD",block:'[[[11,0],[24,"data-clamp",""],[24,0,"we-clamp"],[17,1],[4,[38,0],[[30,0,["handleInsert"]]],null],[4,[38,1],[[30,0,["handleDestroy"]]],null],[12],[1,"\\n  "],[8,[39,2],null,[["@value"],[[28,[37,3],[[30,2]],null]]],null],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@originalText"],false,["did-insert","will-destroy","bidi-text","html-safe"]]',moduleName:"web-experience-app/components/we-truncate/clamp-height.hbs",isStrictMode:!1})
let p=(o=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="locale",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}clamp(e){const t=this.element,i=(0,n.getMaxHeight)(t,e)
let r=0,a=document.documentElement
const o=t.getBoundingClientRect()
if(Array.prototype.forEach.call(t.childNodes,(function(e){e.offsetHeight&&(r+=e.offsetHeight),e.getBoundingClientRect&&o.y+i>e.getBoundingClientRect().y&&(a=e)})),r>i){const e=(0,n.getLineHeight)(t),r=(0,n.getFontSize)(t)*function(e){switch(e){case"ja-jp":return 10.4
default:return 8.2}}(this.locale.locale)/13,o=this.args.maskOffsetText.length,l="rtl"===a.getAttribute("dir")
t.setAttribute("isMoreRTL",l)
const s=`\n        linear-gradient(\n          0deg,\n          rgba(0,0,0,0) 0,\n          rgba(0,0,0,0) ${e}px,\n          rgba(0,0,0,1) ${e}px\n        ),\n        linear-gradient(\n          ${l?90:270}deg,\n          rgba(0,0,0,0) 0,\n          rgba(0,0,0,0) ${o*r}px,\n          rgba(0,0,0,1) ${o*r+2*e}px\n        )`
return this.element.style.height=`${i}px`,this.element.style.mask=s,this.element.style.webkitMask=s,!0}return this.element.style.height=null,this.element.style.mask=null,this.element.style.webkitMask=null,!1}get originalText(){return this.args.originalText}},c=o.prototype,u="locale",d=[a.inject],m={configurable:!0,enumerable:!0,writable:!0,initializer:null},b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),l=b,o)
var c,u,d,m,f,b
e.default=p,(0,t.setComponentTemplate)(s,p)})),define("web-experience-app/components/we-truncate/clamp-slice",["exports","@ember/component","@ember/template-factory","web-experience-app/components/we-truncate/clamp-base","@ember/object","web-experience-app/utils/sanitize","@amp/ember-ui-bidi-text/utils/amp-bidi","@ember/template"],(function(e,t,i,r,n,a,o,l){var s
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,i.createTemplateFactory)({id:"3t676cEz",block:'[[[11,0],[24,0,"we-clamp we-clamp--visual"],[24,"data-clamp",""],[16,5,[30,0,["styles"]]],[17,1],[4,[38,0],[[30,0,["handleInsert"]]],null],[4,[38,1],[[30,0,["handleDestroy"]]],null],[12],[13],[1,"\\n"]],["&attrs"],false,["did-insert","will-destroy"]]',moduleName:"web-experience-app/components/we-truncate/clamp-slice.hbs",isStrictMode:!1})
let c=(s=class extends r.default{get originalText(){const{originalText:e=""}=this.args
return e.toString?.()??e??""}clamp(){const{element:e,originalText:t}=this,i=(0,o.isRTLParagraph)(t)?"rtl":"ltr"
return e.dir=i,e.innerHTML=(0,a.sanitizeForAttribute)(t),!0}get styles(){const{configLines:e}=this.args
return e?(0,l.htmlSafe)(`--clamp-lines: ${e}`):""}handleInsert(e){e.innerHTML=this.originalText,super.handleInsert(e)}},u=s.prototype,d="handleInsert",m=[n.action],f=Object.getOwnPropertyDescriptor(s.prototype,"handleInsert"),b=s.prototype,g={},Object.keys(f).forEach((function(e){g[e]=f[e]})),g.enumerable=!!g.enumerable,g.configurable=!!g.configurable,("value"in g||g.initializer)&&(g.writable=!0),g=m.slice().reverse().reduce((function(e,t){return t(u,d,e)||e}),g),b&&void 0!==g.initializer&&(g.value=g.initializer?g.initializer.call(b):void 0,g.initializer=void 0),void 0===g.initializer&&(Object.defineProperty(u,d,g),g=null),s)
var u,d,m,f,b,g
e.default=c,(0,t.setComponentTemplate)(p,c)})),define("web-experience-app/components/we-truncate/clamp",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/object"],(function(e,t,i,r,n,a){var o,l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"fF542Hy5",block:'[[[41,[28,[37,1],null,null],[[[44,[[50,"bidi-text",0,null,[["value"],[[30,1]]]]],[[[1,"    "],[18,3,[[28,[37,5],null,[["height","slice"],[[30,2],[30,2]]]]]],[1,"\\n"]],[2]]]],[]],[[[1,"  "],[18,3,[[28,[37,5],null,[["height","slice"],[[50,"we-truncate/clamp-height",0,null,[["originalText","configLines","configMaxLines"],[[30,1],[30,0,["clampConfig","lines"]],[30,0,["clampConfig","maxLines"]]]]],[50,"we-truncate/clamp-slice",0,null,[["originalText","configLines","configMaxLines"],[[30,1],[30,0,["clampConfig","lines"]],[30,0,["clampConfig","maxLines"]]]]]]]]]],[1,"\\n"]],[]]]],["@originalText","bidi","&default"],false,["if","is-ssr","let","component","yield","hash"]]',moduleName:"web-experience-app/components/we-truncate/clamp.hbs",isStrictMode:!1})
let m=(o=(0,a.computed)("args.clampConfig.small","fastboot.isFastBoot","responsive.viewport"),l=class extends r.default{constructor(){super(...arguments),c(this,"fastboot",s,this),c(this,"responsive",p,this)}get clampConfig(){return this.fastboot.isFastBoot?this.args.clampConfig.small:this.args.clampConfig[this.responsive.viewport]}},s=u(l.prototype,"fastboot",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=u(l.prototype,"responsive",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"clampConfig",[o],Object.getOwnPropertyDescriptor(l.prototype,"clampConfig"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-truncate/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","web-experience-app/config","@ember/service","@ember/object","@amp/ember-ui-bidi-text/utils/amp-bidi","@glimmer/tracking"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const g=(0,i.createTemplateFactory)({id:"ubYnO61o",block:'[[[8,[39,0],[[16,0,[29,["we-truncate",[52,[30,0,["isSingleLine"]]," we-truncate--single-line"],[52,[30,0,["isMultiLine"]]," we-truncate--multi-line"],[52,[30,1]," we-truncate--interactive"]," ",[52,[30,0,["showFullText"]]," we-truncate--full"],[52,[30,0,["showMoreButton"]]," we-truncate--truncated"]]]],[16,"dir",[30,0,["dir"]]],[16,"aria-label",[30,0,["ariaLabel"]]],[17,2]],[["@tagName"],[[30,3]]],[["default"],[[[[1,"\\n"],[41,[30,0,["doClamp"]],[[[1,"    "],[8,[39,2],null,[["@originalText","@clampConfig"],[[30,4],[30,0,["clampConfig"]]]],[["default"],[[[[1,"\\n\\n"],[41,[30,1],[[[1,"        "],[8,[30,5,["height"]],[[16,0,[30,6]]],[["@didTruncate","@isInteractive","@maskOffsetText"],[[30,0,["didTruncate"]],[30,1],[28,[37,3],["WEA.Common.More"],[["_disableSafeString"],[true]]]]],null],[1,"\\n"]],[]],[[[1,"        "],[8,[30,5,["slice"]],[[16,0,[30,6]]],[["@didTruncate"],[[30,0,["didTruncate"]]]],null],[1,"\\n"]],[]]],[1,"    "]],[5]]]]],[1,"\\n\\n"],[41,[30,0,["showMoreButton"]],[[[1,"      "],[11,"button"],[24,"aria-hidden","true"],[24,"tabindex","-1"],[24,0,"link"],[24,"data-more-button",""],[16,"data-metrics-click",[30,7]],[24,4,"button"],[4,[38,4],["click",[30,0,["onShowMore"]]],null],[4,[38,5],[[30,0,["addClassForDirection"]]],null],[12],[1,"\\n        "],[1,[28,[35,3],["WEA.Common.More"],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],null]],[]],[[[41,[30,0,["isSingleLine"]],[[[1,"    "],[1,[30,4]],[1,"\\n"]],[]],[[[1,"    "],[8,[39,6],null,[["@value"],[[28,[37,7],[[30,4]],null]]],null],[1,"\\n  "]],[]]]],[]]]],[]]]]],[1,"\\n"]],["@isInteractive","&attrs","@tagName","@value","clamp","@clampClassNames","@dataMetricsClick"],false,["html-tag","if","we-truncate/clamp","t","on","did-insert","bidi-text","html-safe"]]',moduleName:"web-experience-app/components/we-truncate/index.hbs",isStrictMode:!1}),{clampProfiles:h}=n.default
let y=(p=class extends r.default{constructor(){super(...arguments),f(this,"router",c,this),f(this,"isClamped",u,this),f(this,"moreShown",d,this),f(this,"showFullText",m,this),this.router.on("routeDidChange",this._valueUpdateHandler)}get dir(){const{value:e}=this.args
return this.isSingleLine&&e?(0,l.isRTLParagraph)(e.toString())?"rtl":"ltr":""}addClassForDirection(e){const t=e.parentElement.querySelector("[data-clamp]"),i=!!t&&"true"===t.getAttribute("isMoreRTL")
let r="we-truncate__button"
"rtl"===document.documentElement.getAttribute("dir")!==i&&(r="we-truncate__button--direction-reversed"),e.classList.add(r)}get doClamp(){return this.isMultiLine&&!this.showFullText&&!this.moreShown}get isMultiLine(){return!!this.args.clampProfile}get isSingleLine(){return!this.args.isInteractive&&!this.isMultiLine}get showMoreButton(){return this.args.isInteractive&&!this.showFullText&&this.isClamped}get clampConfig(){return h[this.args.clampProfile]}_valueUpdateHandler(){this.showFullText=!1,this.moreShown=!1}onShowMore(){this.args.onShowMore?this.args.onShowMore():(this.showFullText=!0,this.moreShown=!0)}didTruncate(e){this.isClamped=e}willDestroy(){super.willDestroy(...arguments),this.router.off("routeDidChange",this._valueUpdateHandler)}},c=b(p.prototype,"router",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=b(p.prototype,"isClamped",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),d=b(p.prototype,"moreShown",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),m=b(p.prototype,"showFullText",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b(p.prototype,"addClassForDirection",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"addClassForDirection"),p.prototype),b(p.prototype,"_valueUpdateHandler",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_valueUpdateHandler"),p.prototype),b(p.prototype,"onShowMore",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"onShowMore"),p.prototype),b(p.prototype,"didTruncate",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"didTruncate"),p.prototype),p)
e.default=y,(0,t.setComponentTemplate)(g,y)})),define("web-experience-app/components/we-truncate/modal",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/object/internals","@glimmer/tracking"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"bxecD/Sl",block:'[[[11,0],[16,1,[30,0,["triggerId"]]],[17,1],[12],[1,"\\n  "],[8,[39,0],null,[["@isOpen","@onModalClose","@triggerId","@metricsTarget","@modalContentClass"],[[30,0,["showModal"]],[30,0,["onModalClose"]],[30,0,["triggerId"]],[30,2],[30,3]]],[["default"],[[[[1,"\\n    "],[18,4,[[28,[37,2],null,[["isTruncated"],[false]]]]],[1,"\\n  "]],[]]]]],[1,"\\n\\n  "],[18,4,[[28,[37,2],null,[["onShowMore","isTruncated"],[[30,0,["onShowMore"]],true]]]]],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@metricsTarget","@modalContentClass","&default"],false,["we-modal","yield","hash"]]',moduleName:"web-experience-app/components/we-truncate/modal.hbs",isStrictMode:!1})
let m=(l=class extends r.default{constructor(){super(...arguments),c(this,"showModal",s,this),c(this,"triggerId",p,this),this.triggerId=(0,a.guidFor)(this)}onShowMore(){this.showModal=!0}onModalClose(){this.showModal=!1}},s=u(l.prototype,"showModal",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=u(l.prototype,"triggerId",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"onShowMore",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"onShowMore"),l.prototype),u(l.prototype,"onModalClose",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"onModalClose"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-video-autoplay",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"e6fH0eW3",block:'[[[11,0],[17,1],[12],[1,"\\n  "],[10,"video"],[14,"loop",""],[14,"muted",""],[14,"autoplay",""],[12],[1,"\\n    "],[10,"source"],[15,"src",[30,2,["url"]]],[14,4,"video/mp4"],[12],[13],[1,"\\n    "],[10,"source"],[15,"src",[30,2,["url"]]],[14,4,"video/webm"],[12],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@media"],false,[]]',moduleName:"web-experience-app/components/we-video-autoplay.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-video-thumbnail",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service"],(function(e,t,i,r,n,a){var o,l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"w+55wS4U",block:'[[[11,0],[16,0,[29,["we-video-thumbnail ",[52,[30,1,["url"]],"has-preview"]," ",[52,[30,0,["isPlaying"]],"is-playing"]]]],[17,2],[12],[1,"\\n  "],[8,[39,1],[[16,0,[28,[37,2],["we-video-thumbnail__artwork we-artwork--fullwidth ",[30,3]],null]]],[["@artwork","@fallbackProfile","@profile"],[[30,4],[30,5],[30,6]]],null],[1,"\\n\\n"],[41,[30,1,["url"]],[[[1,"    "],[10,0],[15,0,[29,["we-video-thumbnail__control",[28,[37,2],[" ",[30,0,["controlClassName"]]],null]]]],[12],[1,"\\n      "],[8,[39,3],[[16,"aria-label",[30,0,["controlAriaLabel"]]]],[["@metricsData","@controlClasses","@media"],[[28,[37,4],["preview"],[["id"],[[30,1,["id"]]]]],[29,["we-video-thumbnail__control__icon ",[52,[51,[30,7]],"we-video-thumbnail__control__icon--no-text"]]],[30,1]]],[["default"],[[[[1,"\\n"],[41,[30,7],[[[1,"          "],[10,1],[14,0,"we-video-thumbnail__control__text"],[12],[1,[28,[35,6],["WEA.Common.Preview"],null]],[13],[1,"\\n"]],[]],null],[1,"      "]],[]]]]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["@media","&attrs","@artworkClassName","@artwork","@fallbackProfile","@profile","@hasPreviewLabel"],false,["if","amp-artwork/wea","concat","we-video-trigger","metrics-data","unless","t"]]',moduleName:"web-experience-app/components/we-video-thumbnail.hbs",isStrictMode:!1})
let m=(o=(0,n.computed)("args.media.meta.title"),l=class extends r.default{constructor(){super(...arguments),c(this,"mediaPlayer",s,this),c(this,"i18n",p,this)}get controlAriaLabel(){const e=this.args.media?.meta?.title
return e?this.i18n.t("WEA.Common.Preview.VideoName",{videoName:e}):this.i18n.t("WEA.Common.TogglePlay")}get isPlaying(){const e=this.mediaPlayer
return!!e.movieIsPlaying&&e.nowPlayingItem.url===this.args.media?.url}},s=u(l.prototype,"mediaPlayer",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=u(l.prototype,"i18n",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"controlAriaLabel",[o],Object.getOwnPropertyDescriptor(l.prototype,"controlAriaLabel"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-video-trigger",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","@ember/runloop","@ember/object"],(function(e,t,i,r,n,a,o){var l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const d=(0,i.createTemplateFactory)({id:"PzCkEEGS",block:'[[[11,"button"],[24,4,"button"],[17,1],[4,[38,0],[[30,0,["setHref"]]],null],[4,[38,1],[[30,0,["setHref"]],[30,2,["url"]]],null],[4,[38,2],["click",[30,0,["recordEvent"]]],null],[12],[1,"\\n  "],[10,1],[15,0,[30,3]],[12],[1,"\\n    "],[18,4,null],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@media","@controlClasses","&default"],false,["did-insert","did-update","on","yield"]]',moduleName:"web-experience-app/components/we-video-trigger.hbs",isStrictMode:!1})
let m=(l=class extends r.default{constructor(){var e,t,i
super(...arguments),c(this,"metrics",s,this),c(this,"videoPlayer",p,this),i=null,(t="href")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}recordEvent(e){e.stopPropagation()
const{metricsData:t}=this.args
t&&this.metrics.recordEvent("click",JSON.parse(t))}setHref(e){(0,a.scheduleOnce)("render",this,this._setHref,e)}_setHref(e){const{media:t}=this.args
e&&t&&(e.href=t.url,e.dataset.acFilmsHref=t.url,this.videoPlayer.registerVideo(t,e))}},s=u(l.prototype,"metrics",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=u(l.prototype,"videoPlayer",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"recordEvent",[o.action],Object.getOwnPropertyDescriptor(l.prototype,"recordEvent"),l.prototype),u(l.prototype,"setHref",[o.action],Object.getOwnPropertyDescriptor(l.prototype,"setHref"),l.prototype),l)
e.default=m,(0,t.setComponentTemplate)(d,m)})),define("web-experience-app/components/we-web-to-native-cta/app-store",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Sf1OqIiV",block:'[[[8,[39,0],[[16,"data-metrics-click",[28,[37,1],["webToNativeAppStoreCTA"],null]],[16,"aria-label",[28,[37,2],["WEA.AppPages.CTA.AppStore.AX"],null]]],[["@url","@platformPredicates","@queryParams"],[[30,1],"couldHaveAppStore",[28,[37,3],null,[["mt"],["8"]]]]],[["default"],[[[[1,"\\n  "],[1,[28,[35,2],["WEA.AppPages.CTA.AppStore.App"],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,2],["WEA.AppPages.CTA.AppStore.Action"],null]],[13],[1,"\\n"]],[]]]]],[1,"\\n"]],["@url"],false,["we-web-to-native-cta","metrics-data","t","hash"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/app-store.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/apple-books",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"zymgchY8",block:'[[[8,[39,0],[[16,"data-metrics-click",[28,[37,1],["webToNativeAppleBooksCTA"],null]],[16,"aria-label",[28,[37,2],["WEA.BookPages.CTA.AppleBooks.AX"],null]],[17,1]],[["@url","@queryParams","@platformPredicates"],[[30,2],[28,[37,3],null,[["mt"],[[52,[30,3],"3","11"]]]],"couldHaveBookStore"]],[["default"],[[[[1,"\\n"],[41,[48,[30,4]],[[[1,"    "],[18,4,null],[1,"\\n"]],[]],[[[1,"    "],[1,[28,[35,2],["WEA.BookPages.CTA.AppleBooks.Action"],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,2],["WEA.BookPages.CTA.AppleBooks.App"],null]],[13],[1,"\\n"]],[]]]],[]]]]],[1,"\\n"]],["&attrs","@url","@isAudioBook","&default"],false,["we-web-to-native-cta","metrics-data","t","hash","if","has-block","yield"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/apple-books.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/apple-music",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"MCtjIPDK",block:'[[[8,[39,0],[[16,"data-metrics-click",[28,[37,1],["webToNativeAppleMusicCTA"],null]],[16,"aria-label",[28,[37,2],["WEA.MusicPages.CTA.AM.AX"],null]],[17,1]],[["@url","@platformPredicates"],[[30,2],"canOpenAppleMusic"]],[["default"],[[[[1,"\\n  "],[1,[28,[35,2],[[28,[37,3],[[30,3],"WEA.MusicPages.CTA.AM.Action"],null]],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,2],[[28,[37,3],[[30,4],"WEA.MusicPages.CTA.AM.App"],null]],null]],[13],[1,"\\n"]],[]]]]],[1,"\\n"]],["&attrs","@url","@locKeyActionText","@locKeyAppName"],false,["we-web-to-native-cta","metrics-data","t","or"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/apple-music.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/apple-podcasts/index",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Ms9SgN6V",block:'[[[41,[30,1],[[[1,"  "],[8,[39,1],null,[["@url","@locKeyActionText","@subscriptionTextKey"],[[30,2],[30,3],[30,1]]],null],[1,"\\n"]],[]],[[[1,"  "],[10,0],[14,0,"we-button__container"],[12],[1,"\\n    "],[8,[39,2],[[16,"data-metrics-click",[28,[37,3],["webToNativePodcastsCTA"],null]],[16,"aria-label",[28,[37,4],["WEA.PodcastPages.CTA.Podcasts.AX"],null]],[17,4]],[["@app","@url","@platformPredicates"],["podcast",[30,2],[28,[37,5],["couldHaveiTunes","couldHavePodcasts"],null]]],[["default"],[[[[1,"\\n      "],[8,[39,6],null,[["@locKeyActionText"],[[30,3]]],null],[1,"\\n    "]],[]]]]],[1,"\\n\\n"],[41,[30,1],[[[1,"      "],[10,0],[14,0,"we-button__app-subline"],[12],[1,"\\n        "],[1,[28,[35,4],[[30,1]],null]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"]],[]]]],["@subscriptionTextKey","@url","@locKeyActionText","&attrs"],false,["if","we-web-to-native-cta/apple-podcasts/with-kb","we-web-to-native-cta","metrics-data","t","array","we-web-to-native-cta/apple-podcasts/text"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/apple-podcasts/index.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/apple-podcasts/text",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"Ptz+a1vN",block:'[[[1,[28,[35,0],[[28,[37,1],[[30,1],"WEA.PodcastPages.CTA.Podcasts.Action"],null]],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,0],["WEA.PodcastPages.CTA.Podcasts.App"],null]],[13],[1,"\\n"]],["@locKeyActionText"],false,["t","or"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/apple-podcasts/text.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/apple-podcasts/with-kb",["exports","@glimmer/component","@ember/service"],(function(e,t,i){var r,n
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get canOpen(){return this.platform.browser.ismacOS||this.platform.browser.isiOS}},o=r.prototype,l="platform",s=[i.inject],p={configurable:!0,enumerable:!0,writable:!0,initializer:null},u={},Object.keys(p).forEach((function(e){u[e]=p[e]})),u.enumerable=!!u.enumerable,u.configurable=!!u.configurable,("value"in u||u.initializer)&&(u.writable=!0),u=s.slice().reverse().reduce((function(e,t){return t(o,l,e)||e}),u),c&&void 0!==u.initializer&&(u.value=u.initializer?u.initializer.call(c):void 0,u.initializer=void 0),void 0===u.initializer&&(Object.defineProperty(o,l,u),u=null),n=u,r)
var o,l,s,p,c,u
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/failed/apple-music",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","web-experience-app/utils/launch-client"],(function(e,t,i,r,n,a){var o,l,s
function p(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const u=(0,i.createTemplateFactory)({id:"KqLJScZh",block:'[[[41,[30,0,["platform","nativeLaunchFailed"]],[[[1,"  "],[10,0],[12],[1,"\\n    "],[8,[39,1],null,null,[["default"],[[[[1,"\\n      "],[10,0],[14,0,"l-content-width we-banner-callout selfclear"],[14,"role","alert"],[12],[1,"\\n        "],[10,"img"],[14,"src","/assets/images/banner-artwork/applemusic_logo.svg"],[14,0,"we-banner-callout__AM-logo"],[14,"alt",""],[14,"role","presentation"],[12],[13],[1,"\\n        "],[10,"h4"],[14,0,"we-banner-callout__headline"],[12],[1,[28,[35,2],["WEA.Error.NativeMissing.Other.AM"],null]],[13],[1,"\\n        "],[10,0],[12],[10,3],[15,6,[52,[30,0,["isAndroid"]],[30,0,["installMusicPlayStoreLink"]],[28,[37,2],["WEA.Error.NativeMissing.Other.LearnMore.link"],null]]],[14,0,"we-banner-callout__more-link more"],[12],[1,[28,[35,2],["WEA.Common.LearnMore"],null]],[13],[13],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],[],false,["if","we-web-to-native-cta/failed","t"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/failed/apple-music.hbs",isStrictMode:!1})
let d=(o=class extends r.default{constructor(){super(...arguments),p(this,"platform",l,this),p(this,"fastboot",s,this)}get installMusicPlayStoreLink(){return(0,a.googlePlayStoreLink)()}get isAndroid(){return this.platform.browser.isAndroid}},l=c(o.prototype,"platform",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=c(o.prototype,"fastboot",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o)
e.default=d,(0,t.setComponentTemplate)(u,d)}))
define("web-experience-app/components/we-web-to-native-cta/failed/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,i.createTemplateFactory)({id:"rqUd2Wia",block:'[[[10,0],[12],[1,"\\n"],[41,[30,0,["platform","couldHaveiTunes"]],[[[1,"    "],[10,0],[14,0,"l-content-width we-banner-callout selfclear"],[14,"role","alert"],[12],[1,"\\n      "],[10,"img"],[14,"src","/assets/images/banner-artwork/iTunes_icon@2x-2bebb71080717c1e66aa78730e96c9cd.png"],[14,0,"we-banner-callout__itunes-icon"],[14,"alt",""],[14,"role","presentation"],[12],[13],[1,"\\n      "],[10,"h4"],[14,0,"we-banner-callout__headline we-banner-callout__headline--itunes-image-spacer"],[12],[1,"\\n        "],[1,[28,[35,1],["WEA.Error.NativeMissing.iTunes.Title"],null]],[10,"br"],[12],[13],[1,[28,[35,1],["WEA.Error.NativeMissing.AM.Subtitle"],null]],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[12],[1,"\\n        "],[10,3],[15,6,[28,[37,1],["WEA.Error.NativeMissing.iTunes.Download.link"],null]],[14,0,"we-banner-callout__download-button we-button we-button--compact"],[12],[1,"\\n          "],[1,[28,[35,1],["WEA.Error.NativeMissing.iTunes.Download.text"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[1,"    "],[18,1,null],[1,"\\n"]],[]]],[13],[1,"\\n"]],["&default"],false,["if","t","yield"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/failed/index.hbs",isStrictMode:!1})
let s=(a=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},p=a.prototype,c="platform",u=[n.inject],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s,(0,t.setComponentTemplate)(l,s)})),define("web-experience-app/components/we-web-to-native-cta/failed/itunes",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=(0,i.createTemplateFactory)({id:"h535431r",block:'[[[41,[30,0,["platform","nativeLaunchFailed"]],[[[1,"  "],[10,0],[12],[1,"\\n    "],[8,[39,1],null,null,[["default"],[[[[1,"\\n      "],[10,0],[14,0,"l-content-width we-banner-callout selfclear"],[14,"role","alert"],[12],[1,"\\n        "],[10,"h4"],[14,0,"we-banner-callout__headline"],[12],[1,[28,[35,2],["WEA.Error.NativeMissing.Other.iTunes"],null]],[13],[1,"\\n        "],[10,0],[12],[10,3],[15,6,[28,[37,2],["WEA.Error.NativeMissing.Other.LearnMore.link"],null]],[14,0,"we-banner-callout__more-link more"],[12],[1,[28,[35,2],["WEA.Common.LearnMore"],null]],[13],[13],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],[],false,["if","we-web-to-native-cta/failed","t"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/failed/itunes.hbs",isStrictMode:!1})
let s=(a=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},p=a.prototype,c="platform",u=[n.inject],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s,(0,t.setComponentTemplate)(l,s)})),define("web-experience-app/components/we-web-to-native-cta/index",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/object","@ember/service"],(function(e,t,i,r,n,a){var o,l
function s(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const p=(0,i.createTemplateFactory)({id:"X1VV7t6l",block:'[[[41,[30,0,["shouldDisplay"]],[[[1,"  "],[11,"button"],[24,4,"button"],[24,0,"we-button we-button--outlined we-button--external icon icon-external we-button-fade-in"],[17,1],[4,[38,1],["click",[30,0,["click"]]],null],[12],[1,"\\n      "],[18,2,null],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],["&attrs","&default"],false,["if","on","yield"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/index.hbs",isStrictMode:!1})
let c=(o=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get shouldDisplay(){let{platformPredicates:e}=this.args
return"boolean"==typeof e?e:(Array.isArray(e)||(e=[e].filter(Boolean)),!!e.length&&e.some((e=>this.platform[e])))}click(){const{app:e,url:t,queryParams:i}=this.args
this.platform.launchFromCta(e,t,i)}},l=s(o.prototype,"platform",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s(o.prototype,"click",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"click"),o.prototype),o)
e.default=c,(0,t.setComponentTemplate)(p,c)})),define("web-experience-app/components/we-web-to-native-cta/itunes",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"rWS8ndOE",block:'[[[8,[39,0],[[16,"data-metrics-click",[28,[37,1],["webToNativeiTunesCTA"],null]],[16,"aria-label",[28,[37,2],["WEA.MusicPages.CTA.iTunes.AX"],null]],[17,1]],[["@app","@url","@platformPredicates"],["itunes",[30,2],"couldHaveiTunes"]],[["default"],[[[[1,"\\n  "],[1,[28,[35,2],[[28,[37,3],[[30,3],"WEA.MusicPages.CTA.iTunes.Action"],null]],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,2],[[28,[37,3],[[30,4],"WEA.MusicPages.CTA.iTunes.App"],null]],null]],[13],[1,"\\n"]],[]]]]],[1,"\\n"]],["&attrs","@url","@locKeyActionText","@locKeyAppName"],false,["we-web-to-native-cta","metrics-data","t","or"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/itunes.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/mac-app-store",["exports","@ember/component","@ember/template-factory","@ember/component/template-only"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=(0,i.createTemplateFactory)({id:"yffVl+r2",block:'[[[8,[39,0],[[16,"data-metrics-click",[28,[37,1],["webToNativeMacAppStoreCTA"],null]],[16,"aria-label",[28,[37,2],["WEA.AppPages.CTA.MacAppStore.AX"],null]],[17,1]],[["@url","@queryParams","@platformPredicates"],[[30,2],[28,[37,3],null,[["extRefUrl2","mt"],[[28,[37,4],null,null],"12"]]],"couldHaveMacAppStore"]],[["default"],[[[[1,"\\n  "],[1,[28,[35,2],["WEA.AppPages.CTA.MacAppStore.Action"],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,2],["WEA.AppPages.CTA.MacAppStore.App"],null]],[13],[1,"\\n"]],[]]]]],[1,"\\n"]],["&attrs","@url"],false,["we-web-to-native-cta","metrics-data","t","hash","encoded-referrer"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/mac-app-store.hbs",isStrictMode:!1})
var a=(0,t.setComponentTemplate)(n,(0,r.default)())
e.default=a})),define("web-experience-app/components/we-web-to-native-cta/tv",["exports","@ember/component","@ember/template-factory","@glimmer/component","@ember/service","web-experience-app/config"],(function(e,t,i,r,n,a){var o,l
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const s=(0,i.createTemplateFactory)({id:"zWv09Ihj",block:'[[[8,[39,0],[[16,"data-metrics-click",[28,[37,1],["webToNativeAppleTvCTA"],null]],[16,"aria-label",[28,[37,2],["WEA.Common.TV.CTA.AX"],null]]],[["@app","@url","@platformPredicates"],["tv",[30,0,["url"]],"couldHaveTV"]],[["default"],[[[[1,"\\n  "],[1,[28,[35,2],["WEA.ShowPages.CTA.AM.Action"],null]],[1," "],[10,1],[14,0,"we-button__app-text"],[12],[1,[28,[35,2],["WEA.LocalNav.Store.TV"],null]],[13],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["we-web-to-native-cta","metrics-data","t"]]',moduleName:"web-experience-app/components/we-web-to-native-cta/tv.hbs",isStrictMode:!1})
let p=(o=class extends r.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get url(){const{isAtLeastMojavePlusOne:e}=this.platform.browser,{showName:t}=this.args
return e&&t?`${a.default.tvAppSearchUrl}${t}`:this.args.tvUrl}},c=o.prototype,u="platform",d=[n.inject],m={configurable:!0,enumerable:!0,writable:!0,initializer:null},b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),l=b,o)
var c,u,d,m,f,b
e.default=p,(0,t.setComponentTemplate)(s,p)})),define("web-experience-app/config/adapters",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.storePlatformConfig=e.mzstoreConfig=void 0
e.mzstoreConfig={params:{isWebExpV2:!0,dataOnly:!0}}
e.storePlatformConfig={params:{version:2,caller:"webExp",p:"lockup",useSsl:!0}}})),define("web-experience-app/config/artwork-crop-codes",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={ej:{horizontalCrop:2013,verticalCrop:0}}})),define("web-experience-app/config/artwork-fallbacks",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={song:{isVector:!0,url:"/assets/images/missing-artwork/music-2c72ea75d983d8fc263bcf8f1bcc183b.svg",aspectRatio:1,width:45,height:45},"artist-music":{isVector:!0,url:"/assets/images/missing-artwork/artist-music-2ce946c1cdaea01b7afd378f75242263.svg",aspectRatio:1},"product-hero-story":{isVector:!1,url:"/assets/images/missing-artwork/product-hero-story-cc8568349d01718205100adbfd1b9ebc.png",aspectRatio:626/458,width:626,height:458},"product-app-story":{isVector:!0,url:"/assets/images/missing-artwork/product-app-story-19a56a366c8215f750c204cf7419e912.svg",aspectRatio:1},"product-hero-tv":{isVector:!1,url:"/assets/images/missing-artwork/product-hero-tv-644db0f66832fb3682501578923ccd36.png",aspectRatio:626/352,width:626,height:352},"social-deeplink":{isVector:!1,url:"/assets/images/missing-artwork/social-deeplink-d37562e0c0117f3604f8064933d1f462.png",aspectRatio:2,width:1e3,height:500},"lockup-playlist":{isVector:!0,url:"/assets/images/missing-artwork/music-2c72ea75d983d8fc263bcf8f1bcc183b.svg",aspectRatio:1}}})),define("web-experience-app/config/artwork-profiles",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.buildImgOptions=l,e.default=void 0
const t=16/9,i=16/9,r=16/9,n=4/3,a=2/3,o=[146,157,104]
function l(e,t,i){let[r,n,a]=e
return{crop:i,large:s(r,t),medium:s(n,t),small:s(a,t)}}function s(e,t){return 0===t?{width:e,height:0}:{width:e,height:e*(1/t)}}var p={"app-event-detail":l([280,280,643],.625,"sr"),"artist-header":l([190,190,135],1,"cc"),"artist-featured-album":l(o,0,"w"),"artist-featured-iTunesBrand":l(o,1,"cc"),"artist-featured-playlist":l(o,1,"cc"),"artist-featured-musicVideo":l(o,i,"sr"),"artist-featured-tvEpisode":l(o,t,"mv"),"artist-featured-movie":l([97,157,104],a),"artist-featured-tvSeason":l(o,1),"artist-featured-radioStation":l(o,1,"sr"),"artist-featured-showBrand":l(o,1),"audio-book":l([146,157,320],0,"w"),"category-for-artwork":{fileType:"png",crop:"sr",large:{width:24,height:24},medium:{width:24,height:24},small:{width:24,height:24}},epubBook:l([146,157,320],0,"w"),"bordered-list":l([45,45,45],1,"cc"),"song-list-row":l([45,45,45],1,"cc"),"song-list-row-music-video":l([80,80,80],i,"sr"),"see-all-song-list":l([48,48,45],1,"cc"),episode:l([196,157,196],t,"mv"),"artist-inline":l([146,157,146],1,"cc"),"lockup-1-3-3":l([313,217,643],0,"w"),"lockup-2-2-3":l([313,336,309],0,"w"),"lockup-2-4-4":l([230,157,300],0,"w"),"lockup-2-4-6":l([146,157,309],0,"w"),"lockup-3-2-3":l([313,336,560],0,"w"),"lockup-3-2-3-story":l([313,336,560],1.5,"fo"),"lockup-3-2-3-event":l([313,336,560],1.6,"sr"),"lockup-3-2-3-mv":l([313,336,560],t,"mv"),"lockup-6-4-6":l([146,157,320],0,"w"),"lockup-imessage-app":l([146,157,320],n,"sr"),"lockup-2-4-6-sr":{crop:"sr",large:{width:146,height:146},medium:{width:157,height:157},small:{width:309,height:200}},"lockup-6-4-6-sr":l([146,157,320],1,"sr"),"lockup-6-4-6-no-crop":l([146,157,320],1),"lockup-6-4-6-no-crop-16-9":l([146,157,250],r),"lockup-6-4-6-sh-16-9":l([146,157,250],i,"sh"),"lockup-6-4-6-no-crop-3-2":l([147,157,350],a),"lockup-6-4-6-no-crop-sr":l([147,157,350],1),"lockup-6-2-3":l([313,336,250],t,"mv"),"lockup-6-3-2":l([147,157,250],0,"w"),"lockup-6-6-4":l([313,336,250],0,"w"),"media-audio-book":l([146,157,320],0,"w"),"product-hero-podcast":l([313,276,268],0,"w"),"product-hero-book":l([313,276,268],0,"w"),"grouping-page-book":l([230,247,268],0,"w"),"product-hero-show":l([313,276,268],0,"w"),"product-hero-show-tv":l([313,278,313],1),"product-hero-tv-season":l([313,276,268],0,"w"),"product-hero-ios-app":l([230,217,246],0,"w"),"product-hero-tvos-app":l([313,336,203],0,"w"),"product-hero-imessage-app":{crop:"sr",large:{width:230,height:172},medium:{width:216,height:161},small:{width:190,height:140}},"product-grid-small-iosPlatform":l([128,88,88],1,"cc"),"product-grid-large-iosPlatform":l([271,191,191],1,"cc"),"product-grid-small-watchPlatform":l([128,88,88],1,"cc"),"product-grid-large-watchPlatform":l([271,191,191],1,"cc"),"product-grid-small-imessage":l([128,88,88],n,"sr"),"product-grid-large-imessage":l([272,192,192],n,"sr"),"product-grid-one-iosPlatform":l([250,160,160],1,"cc"),"product-grid-one-watchPlatform":l([250,160,160],1,"cc"),"product-grid-two-iosPlatform":l([208,130,130],1,"cc"),"product-grid-two-watchPlatform":l([208,130,130],1,"cc"),"product-grid-three-iosPlatform":l([240,168,140],1,"cc"),"product-grid-three-watchPlatform":l([240,168,140],1,"cc"),"product-grid-four-iosPlatform":l([271,178,178],1,"cc"),"product-grid-four-watchPlatform":l([271,178,178],1,"cc"),"product-grid-small-osxPlatform":{fileType:"png",crop:"cc",large:{width:128,height:128},medium:{width:88,height:88},small:{width:88,height:88}},"product-grid-large-osxPlatform":{fileType:"png",crop:"cc",large:{width:271,height:271},medium:{width:191,height:191},small:{width:191,height:191}},"product-grid-one-osxPlatform":{fileType:"png",crop:"cc",large:{width:250,height:250},medium:{width:160,height:160},small:{width:160,height:160}},"product-grid-two-osxPlatform":{fileType:"png",crop:"cc",large:{width:208,height:208},medium:{width:130,height:130},small:{width:130,height:130}},"product-grid-three-osxPlatform":{fileType:"png",crop:"cc",large:{width:240,height:240},medium:{width:168,height:168},small:{width:140,height:140}},"product-grid-four-osxPlatform":{fileType:"png",crop:"cc",large:{width:271,height:271},medium:{width:178,height:178},small:{width:178,height:178}},"product-hero-video":l([647,336,735],t,"mv"),"product-hero-sport-event":l([313,276,735],i,"sh"),"product-story-iap-app":l([96,56,56],1,"cc"),"product-story-iap-purchase":l([262,158,158],1,"cc"),"product-story-card-background":l([Math.round(633*1.6),Math.round(443*1.6),Math.round(483*1.6)],1,"cc"),"product-story-card-icon":l([326,226,226],1,"cc"),"product-story-card":{crop:"fn",large:{width:480,height:633},medium:{width:336,height:443},small:{width:366,height:483}},"product-story-card-iae":{crop:"fn",large:{width:506,height:633},medium:{width:354,height:443},small:{width:386,height:483}},"product-story-card-short":l([480,336,366],r,"fo"),"product-app-story":l([48,48,48],1,"cc"),"product-app-story-imessage":l([48,48,48],n,"sr"),"product-app-placard-large":l([80,60,52],1,"sr"),"product-app-placard-iae":l([80,60,60],1,"sr"),"product-story-app-event":l([480,336,736],1.6,"sr"),"product-story-inlineimage":l([480,336,736],0,"w"),"product-hero-movie":l([230,217,268],0,"w"),"product-hero-movie-tv":l([230,217,268],a),"in-app-purchase-hero-purchase":l([157,157,126],1,"cc"),"in-app-purchase-hero-app":l([54,54,44],1,"cc"),"in-app-purchase-collection-purchase":l([44,44,44],1,"cc"),"in-app-purchase-collection-app":l([14,14,14],1,"cc"),"product-app-supports":l([44,44,44],1,"cc"),uber:{crop:"sr",large:{width:1120,height:280},medium:{width:1120,height:280},small:{width:735,height:166}},"books-brick-compositing":{crop:"ej",large:{width:313,height:0},medium:{width:336,height:0},small:{width:642,height:0}},"podcast-channel-logo":l([216,216,176],1,"sr"),default:l([44,44,44],1,"cc")}
e.default=p})),define("web-experience-app/config/blocks",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={models:{tvApp:{language:{audioTrackFormats:[]}}}}})),define("web-experience-app/config/charts",["exports","web-experience-app/services/app-view-state","web-experience-app/utils/charts"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.VIEW_STATE_CHART_CONFIG=void 0
const r="book",n="audiobook",a={[t.VIEW_STATES.BOOK]:r,[i.VIEW_STATE_AUDIOBOOK]:n,[t.VIEW_STATES.APP]:"app"}
e.VIEW_STATE_CHART_CONFIG=a
var o={[r]:{clampProfile:"book-in-shelf",metricsLocation:"shelfTopBooks",nativeCta:"we-web-to-native-cta/apple-books",sectionHeadlineClass:"section__headline--book",shelfProfile:"epubBook",shelfColumnClassName:"we-lockup--in-book-shelf",showArtistName:!0,titleKey:"WEA.Charts.Books.Title",genreShelfConfig:{large:12,medium:8},pageLimits:{index:6,genre:12,seeAll:40,totalMax:100},nativeLink:"https://web.archive.org/web/20220531203922/https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewTop?cc=@@storefront@@&genreId=@@genre@@&mt=11"},[n]:{clampProfile:"book-in-shelf",metricsLocation:"shelfTopBooks",nativeCta:"we-web-to-native-cta/apple-books",sectionHeadlineClass:"section__headline--book",shelfProfile:"epubBook",shelfColumnClassName:"we-lockup--in-book-shelf",showArtistName:!0,titleKey:"WEA.Charts.AudioBooks.Title",pageLimits:{index:40,genre:40,seeAll:40,totalMax:100},nativeLink:"https://web.archive.org/web/20220531203922/https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewTop?cc=@@storefront@@&genreId=@@genre@@&mt=3"},app:{clampProfile:"app-lockup",metricsLocation:"shelfTopApps",nativeCta:"we-web-to-native-cta/app-store",sectionHeadlineClass:"section__headline--app",shelfProfile:"default",shelfColumnClassName:"we-lockup--shelf-align-top we-lockup--in-app-shelf",showArtistName:!0,titleKey:"WEA.Charts.Apps.Title",genreShelfConfig:{large:12,medium:8},pageLimits:{index:6,genre:12,seeAll:100,totalMax:100},nativeLink:"https://web.archive.org/web/20220531203922/https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewTop?cc=@@storefront@@&genreId=@@genre@@&mt=8",meta:{deviceTypeLanguage:{iphone:"iPhone",ipad:"iPad"},appsLocKey:"WEA.Charts.Apps.AppType.Apps",gamesLocKey:"WEA.Charts.Apps.AppType.Games"}}}
e.default=o})),define("web-experience-app/config/clamp-profiles",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={"book-in-shelf":{large:{lines:2},medium:{lines:2},small:{lines:2}},"book-description":{large:{lines:8},medium:{lines:8},small:{lines:8}},"book-critical-reviews":{large:{lines:4},medium:{lines:4},small:{lines:4}},"book-editorial-notes":{large:{lines:4},medium:{lines:4},small:{lines:4}},"customer-review":{large:{lines:4},medium:{lines:4},small:{lines:4}},"customer-review-with-response":{large:{lines:1},medium:{lines:1},small:{lines:1}},"customer-review-response":{large:{lines:1},medium:{lines:1},small:{lines:1}},"review-rotten-tomatoes":{large:{lines:5},medium:{lines:5},small:{lines:5}},"review-commonsense-media":{large:{lines:7},medium:{lines:7},small:{lines:7}},"review-editor-notes":{large:{lines:7},medium:{lines:7},small:{lines:7}},"review-editor-choice":{large:{lines:6},medium:{lines:6},small:{lines:3}},"movie-name-shelf":{large:{lines:2},medium:{lines:2},small:{lines:2}},"app-bundle-shelf":{large:{lines:2},medium:{lines:2},small:{lines:2}},"product-name":{large:{lines:4},medium:{lines:3},small:{lines:2}},"product-description":{large:{lines:5},medium:{lines:3},small:{lines:3}},"product-description-app":{large:{lines:5},medium:{lines:5},small:{lines:5}},"product-description-movie":{large:{lines:7},medium:{lines:7},small:{lines:3}},"product-description-show":{large:{lines:3},medium:{lines:3},small:{lines:3}},"product-description-tv-season":{large:{lines:7},medium:{lines:7},small:{lines:3}},"product-description-episode":{large:{lines:8},medium:{lines:3},small:{lines:3}},"people-description-inline":{large:{lines:8,maxLines:12},medium:{lines:8,maxLines:12},small:{lines:6,maxLines:10}},"episode-description":{large:{lines:3},medium:{lines:3},small:{lines:3}},"episode-brands":{large:{lines:2},medium:{lines:2},small:{lines:2}},"episode-headline":{large:{lines:1},medium:{lines:1},small:{lines:2}},"software-info":{large:{lines:2},medium:{lines:2},small:{lines:5}},"supports-description":{large:{lines:2},medium:{lines:2},small:{lines:2}},"app-info-iap":{small:{lines:3},medium:{lines:3},large:{lines:3}},"app-whats-new":{small:{lines:5},medium:{lines:5},large:{lines:5}},"app-version-history":{small:{lines:5},medium:{lines:5},large:{lines:5}},"featured-media-title":{small:{lines:3},medium:{lines:3},large:{lines:3}},"podcast-channel-description":{small:{lines:5},medium:{lines:4},large:{lines:4}},"app-lockup":{small:{lines:2},medium:{lines:2},large:{lines:2}}}
e.default=t})),define("web-experience-app/config/domain-modifiers",["exports","web-experience-app/config/environment"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i={["development"===t.default.environment?"dev-books.apple.com:4200":"books.apple.com"]:{url:"itunes.apple.com"}}
e.default=i})),define("web-experience-app/config/get-storefront-redirect-url",["exports","web-experience-app/utils/url"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=(e,i)=>{if("undefined"!=typeof FastBoot)return""
const r=new t.default(window.location.href),n=r.pathname.split("/").filter(Boolean)
n[0]=e
let a=n.join("/")
const o=new URLSearchParams(r.search)
return o.delete("l"),i&&o.append("l",i),o.toString().trim().length&&(a+=`?${o}`),`/${a}`}})),define("web-experience-app/config/index",["exports","web-experience-app/config/artwork-fallbacks","web-experience-app/config/artwork-profiles","web-experience-app/config/artwork-crop-codes","web-experience-app/config/blocks","web-experience-app/config/clamp-profiles","web-experience-app/config/metrics","web-experience-app/config/meta","web-experience-app/config/routing","web-experience-app/config/menu-links","web-experience-app/config/environment","web-experience-app/utils/breakpoints","@amp/ember-ui-global-elements/utils/constants","@amp/affiliate-util"],(function(e,t,i,r,n,a,o,l,s,p,c,u,d,m){function f(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function b(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?f(Object(i),!0).forEach((function(t){g(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function g(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const h={}
for(const P of m.KNOWN_MARKETING_QUERY_PARAMS)h[P]=P
const y=b(b({"ign-itscg":"itscg","ign-itsct":"itsct"},h),{mttnact:"mttnact",mttnadvid:"mttnadvid",mttncmpid:"mttncmpid",mttncost:"mttncost",mttncostmdl:"mttncostmdl",mttngadurl:"mttngadurl",mttngd:"mttngd",mttngmo:"mttngmo",mttnresformat:"mttnresformat",mttnsubadgpname:"mttnsubadgpname",mttnsubadgpref:"mttnsubadgpref",mttnsubadname:"mttnsubadname",mttnsubadref:"mttnsubadref",mttnsubcmpname:"mttnsubcmpname",mttnsubcmpref:"mttnsubcmpref",mttnuid:"mttnuid"}),w=b({l:"l"},y),v=["small","medium","large"].map((e=>{const t=c.default.BREAKPOINTS[e],{min:i}=t
return{mediaQuery:"small"!==e&&i?`(min-width: ${i}px)`:null,mediaQueryStrict:(0,u.breakpointToMediaQuery)(t,e),name:e}}))
var _={env:c.default,shoeboxNames:{data:"ember-data-store",mzstoreMeta:"ember-mzstore-meta",globalElements:d.SHOEBOX_KEY,metricsBase:"metrics-base",languageCode:"language-code"},defaultStorefront:"US",defaultPriceCurrency:"USD",popularityThreshold:.7,maxRating:5,videoLoadingPoster:"data:image/gif;base64,R0lGODdhBwAEAPAAAAAAACZFySH5BAEAAAEALAAAAAAHAAQAAAIEjI+pWwA7",videoLocalizationPath:"/global/ac_media_player/scripts/ac_media_languages/",podcastsAppLaunchURL:"podcasts://podcasts.apple.com",podcastsAppPageURL:"https://web.archive.org/web/20220531203922/https://apps.apple.com/us/app/apple-podcasts/id525463029",appStoreArcadeLaunchUrl:"macappstores://apps.apple.com/arcade",appStoreArcadeOffersLaunchUrl:"macappstores://apps.apple.com/arcade/offers",iosAppStoreUrl:"https://web.archive.org/web/20220531203922/https://www.apple.com/ios/app-store/",macAppStoreUrl:"https://web.archive.org/web/20220531203922/https://www.apple.com/osx/apps/app-store/",tvAppSearchUrl:"https://web.archive.org/web/20220531203922/https://tv.apple.com/search?q=",appleBooksUrl:"https://web.archive.org/web/20220531203922/https://www.apple.com/apple-books/",privacyDefinitionsUrl:"https://web.archive.org/web/20220531203922/https://apps.apple.com/story/id1539235847",privacyLearnMoreUrl:"https://web.archive.org/web/20220531203922/https://apps.apple.com/story/id1538632801",privacyAppleDeveloperIDs:["284417353","1464590764","314638464","284993479","1351056256"],artworkFallbacks:t.default,artworkProfiles:i.default,artworkCropCodes:r.default,blocks:n.default,booksGiftCardRedemptionUrlBase:"://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/redeemLandingPage",clampProfiles:a.default,menuLinks:p.default,meta:l.default,routing:s.default,metrics:o.default,viewports:v,pixelDensities:[1,2],hideGlobalElements:["deeplink","not-found"],launchNativeParameters:y,launchQueryParameters:Object.keys(y),applicationQueryParameters:Object.keys(w),htmlSanitizeRegex:new RegExp(`&lt;/?(${["b","i","u","br","strong","em"].join("|")})(?:\\s.*?(?=&gt;)&gt;|&gt;|/&gt;)`,"gi"),systemAppsToFilter:["com.apple.iCloudDriveApp","is.workflow.my.app","com.apple.mobileme.fmf1","com.apple.mobileme.fmip1"]}
e.default=_})),define("web-experience-app/config/menu-links",["exports","web-experience-app/services/app-view-state"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i={[t.VIEW_STATES.BOOK]:[{nameKey:"WEA.Charts.LocalNav.Links.TopBooks",routeName:"charts.index"},{nameKey:"WEA.Charts.LocalNav.Links.TopAudiobooks",routeName:"charts.audiobooks.index"}]}
e.default=i})),define("web-experience-app/config/meta",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={og:{type:{album:"music.album",app:"website",event:"website",artist:"profile","artist-music":"music.musician",book:"book",developer:"website",episode:"video.episode",movie:"video.movie","movie-collection":"video.movie",playlist:"music.playlist",podcast:{episode:"product.item",show:"product.group"},profile:"profile",show:"video.tv_show",song:"music.song",story:"website"}},appleStore:{id:{appStore:"375380948",appleTV:"1174078549",books:"364709193",podcasts:"525463029"}}}})),define("web-experience-app/config/metrics",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={clickEvents:{localNavAppleTvCTA:{actionType:"open",actionUrl:"@@url@@",targetType:"button",targetId:"LearnMoreTVApp"},localNavArcadeCTA:{actionType:"open",actionUrl:"@@url@@",targetType:"button",targetId:"LearnMoreArcadeApp"},webToNativeAppleBooksCTA:{actionType:"open",targetType:"button",targetId:"OpenInAppleBooks"},webToNativeAppleMusicCTA:{actionType:"open",targetType:"button",targetId:"OpenInAppleMusic"},webToNativeAppStoreCTA:{actionType:"open",targetType:"button",targetId:"OpenInAppStore"},webToNativeMacAppStoreCTA:{actionType:"open",targetType:"button",targetId:"OpenInMacAppStore"},webToNativeiTunesCTA:{actionType:"open",targetType:"button",targetId:"OpenInItunes"},webToNativePodcastsCTA:{actionType:"open",targetType:"button",targetId:"OpenInPodcasts"},webToNativePodcastsChannelKB:{actionType:"navigate",targetType:"button",targetId:"PodcastsSubscriptionKB"},webToNativeAppleTvCTA:{actionType:"open",targetType:"button",targetId:"OpenInAppleTV"},preview:{actionType:"preview",targetType:"button",targetId:"@@id@@"},previewAll:{actionType:"previewAll",targetType:"button",targetId:"@@id@@"},navigateEpisode:{actionType:"navigate",actionUrl:"@@url@@",targetType:"card",targetId:"@@id@@"},skipBack:{targetType:"button",targetId:"@@id@@",actionType:"skipBack15"},skipAhead:{targetType:"button",targetId:"@@id@@",actionType:"skipAhead30"},playPause:{targetType:"button",targetId:"@@id@@",actionType:"@@action@@"},play:{targetType:"button",targetId:"@@id@@",actionType:"play",actionDetails:"trackSelection"},playAll:{targetType:"button",targetId:"@@id@@",actionType:"play"},shuffle:{targetType:"button",targetId:"@@id@@",actionType:"shuffle"},linkToAppSupport:{actionType:"navigate",targetType:"link",targetId:"LinkToAppSupport"},linkToAppEvent:{actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"@@id@@"},linkToArtist:{actionType:"navigate",targetType:"link",targetId:"LinkToArtist"},linkToCast:{actionDetails:{type:"cast"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToChannel:{actionDetails:{type:"channel"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"@@id@@"},linkToDeveloper:{actionDetails:{type:"developer"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"@@id@@"},linkToDirector:{actionDetails:{type:"director"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToGenre:{actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"GenrePage"},linkToGuest:{actionDetails:{type:"guest"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToHost:{actionDetails:{type:"host"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToPerformer:{actionDetails:{type:"performer"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToPodcast:{actionType:"navigate",targetType:"link",targetId:"LinkToPodcast"},linkToPrivacyPolicy:{actionType:"navigate",targetType:"link",targetId:"LinkToPrivacyPolicy"},linkToProducer:{actionDetails:{type:"producer"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToScreenshotPlatform:{actionType:"change",targetType:"tabItem",targetId:"LinkToScreenshotsPlatform"},linkToScreenwriter:{actionDetails:{type:"screenwriter"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToCastCrew"},linkToStoryApp:{actionDetails:{type:"app"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToStoryApp"},linkToStoryLink:{actionDetails:{type:"story"},actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToStoryLink"},linkToExternalPurchasesLearnMore:{actionType:"navigate",actionUrl:"@@url@@",targetId:"LearnMore",targetType:"link"},linkToUrl:{actionType:"navigate",targetType:"button",targetId:"@@url@@"},navigateShelf:{actionType:"navigate",actionUrl:"@@url@@",targetType:"card",targetId:"@@id@@"},navigateArtistShelf:{actionType:"navigate",targetType:"card",targetId:"@@id@@",actionDetails:{type:"artist"}},openChartsLink:{actionType:"navigate",actionUrl:"@@url@@",targetType:"link",targetId:"LinkToTopCharts"},seeAll:{actionType:"navigate",targetType:"button",targetId:"SeeAll@@sectionName@@"},seeMoreEpisodes:{actionType:"navigate",targetType:"button",targetId:"SeeMoreEpisodes"},expandMore:{actionType:"more",targetType:"button",targetId:"More"},expandMoreReviews:{actionType:"open",targetType:"button",targetId:"MoreReviews"},expandMoreSynopsis:{actionType:"open",targetType:"button",targetId:"MoreSynopsis"},openModal:{actionType:"open",targetType:"button",targetId:"@@modalTarget@@"},closeModal:{actionType:"close",targetType:"button",targetId:"@@modalTarget@@"},shareBook:{actionType:"share",actionDetails:{actionSubtype:"BookSharrow"},targetType:"button",targetId:"@@shareType@@"},sharePodcast:{actionType:"share",actionDetails:{actionSubtype:"PodcastSharrow"},targetType:"button",targetId:"@@shareType@@"},location:{locationType:"@@sectionType@@"}}}
e.default=t})),define("web-experience-app/config/routing",["exports","web-experience-app/services/app-view-state"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i={books:"books.apple.com",dev:"dev.apple.com",itunes:"itunes.apple.com",podcasts:"podcasts.apple.com",tv:"tv.apple.com"}
var r={domains:i,behaveAs:i.itunes,inDevelopment:{[i.books]:[],[i.dev]:[],[i.itunes]:[],[i.podcasts]:[],[i.tv]:[]},domainPaths:{[t.VIEW_STATES.BOOK]:["/viewAudiobook"],[t.VIEW_STATES.APP]:["/app/","/app-bundle/","/story/","/developer/"]},notFoundRedirects:{"/today":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=discover",platform:"ios"}},"/apps":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=discover",platform:"ios"}},"/games":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=discover",platform:"ios"}},"/updates":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=updates",platform:"ios"}},"/search":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=search",platform:"ios"},[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/search"}},"/categories":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=categories",platform:"mas"}},"/create":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=create",platform:"mas"}},"/develop":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=develop",platform:"mas"}},"/discover":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=discover",platform:"mas"}},"/play":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=play",platform:"mas"}},"/work":{[t.VIEW_STATES.APP]:{target:"itms-appss://?action=work",platform:"mas"}},"/":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/browse"}},"/browse":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/browse"}},"/browse/categories":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/browse/categories"}},"/browse/top-charts":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/browse/top-charts"}},"/browse/top-charts/episodes":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/browse/top-charts/episodes"}},"/library":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/library"}},"/library/episodes":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/library/episodes"}},"/library/shows":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/library/shows"}},"/listen-now":{[t.VIEW_STATES.PODCASTS]:{target:"podcasts://podcasts.apple.com/listen-now"}},"/for-you":{[t.VIEW_STATES.BOOK]:{target:"itms-bookss://books.apple.com/store"}},"/foryou":{[t.VIEW_STATES.BOOK]:{target:"itms-bookss://books.apple.com/store"}},"/book-store":{[t.VIEW_STATES.BOOK]:{target:"itms-bookss://books.apple.com/store",platformTargets:[{platform:"isiOS12Plus",target:"itms-bookss://books.apple.com/book-store"}]}},"/charts":{[t.VIEW_STATES.BOOK]:{target:"https://web.archive.org/web/20220531203922/https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewTop?genreId=38&mt=11"}}}}
e.default=r})),define("web-experience-app/config/screenshot-profiles",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ORDERED_PLATFORMS=void 0
const t={artworkProfile:"lockup-2-4-4",columnClassNames:"l-column small-2 medium-3 large-3"},i={artworkProfile:"lockup-1-3-3",columnClassNames:"l-column small-4 medium-4 large-4"},r="WEA.AppPages.Screenshots"
e.ORDERED_PLATFORMS=["mac","iphone","ipad","appletv","applewatch","messages"]
var n={iphone:{platform:"iphone",profiles:{portrait:t,landscape:i},singularTitle:`${r}.iphoneScreenshots`,title:`${r}.iphone`},ipad:{platform:"ipad",profiles:{portrait:i,landscape:i},singularTitle:`${r}.ipadScreenshots`,title:`${r}.ipad`},messages:{platform:"messages",profiles:{portrait:t,landscape:i},singularTitle:`${r}.messagesScreenshots`,title:`${r}.messages`},applewatch:{platform:"appleWatch",profiles:{portrait:t},singularTitle:`${r}.appleWatchScreenshots`,title:`${r}.appleWatch`,overrideBgColor:"000000"},appleWatch:{platform:"appleWatch",profiles:{portrait:t},singularTitle:`${r}.appleWatchScreenshots`,title:`${r}.appleWatch`,overrideBgColor:"000000"},appletv:{platform:"appleTV",profiles:{landscape:i},singularTitle:`${r}.appleTVScreenshots`,title:`${r}.appleTV`},appleTV:{platform:"appleTV",profiles:{landscape:i},singularTitle:`${r}.appleTVScreenshots`,title:`${r}.appleTV`},mac:{platform:"mac",profiles:{landscape:i},singularTitle:`${r}`,title:`${r}.mac`}}
e.default=n})),define("web-experience-app/config/see-all-profiles",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.profileAliases=e.default=void 0
e.default={app:{small:2,medium:4,large:6,clampProfile:"app-lockup",lockupClassNames:"small-valign-top we-lockup--in-app-shelf"},appEvent:{small:1,medium:2,large:3,lockupClassNames:"small-valign-top we-lockup--in-app-event-module"},book:{small:2,medium:4,large:6,artwork:"media-audio-book",clampProfile:"book-in-shelf",lockupClassNames:"small-valign-bottom we-lockup--in-book-shelf"},books:{small:2,medium:4,large:6,artwork:"media-audio-book",clampProfile:"book-in-shelf",lockupClassNames:"small-valign-bottom we-lockup--in-book-shelf"},clip:{small:2,medium:2,large:3},editorialItem:{small:1,medium:2,large:3,artwork:"lockup-3-2-3-story",lockupClassNames:"small-valign-top"},epubBook:{small:2,medium:4,large:6,artwork:"epubBook",clampProfile:"book-in-shelf",lockupClassNames:"small-valign-bottom we-lockup--in-book-shelf"},tvEpisode:{small:2,medium:2,large:3},musicVideo:{small:2,medium:2,large:3},playlist:{small:2,medium:4,large:6,artwork:"lockup-6-4-6-sr",fallback:"lockup-playlist"},"rating-card-small":{small:2,medium:4,large:6},"rating-card":{small:1,medium:2,large:3},default:{small:2,medium:4,large:6}}
e.profileAliases={books:"epubBook",audiobooks:"book","audio-books":"book","editorial-items":"editorialItem"}})),define("web-experience-app/config/shelf-profiles",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={"audio-book":{small:6,medium:4,large:6,artwork:"lockup-6-4-6-sr"},artist:{small:6,medium:4,large:6,artwork:"lockup-6-4-6-sr"},artistTopSongs:{small:6,medium:6,large:6},appEvent:{small:3,medium:2,large:3,artwork:"lockup-3-2-3-event"},book:{small:6,medium:4,large:6,artwork:"audio-book"},clip:{small:3,medium:2,large:3,artwork:"lockup-3-2-3-mv",fallback:"product-hero-tv"},default:{small:6,medium:4,large:6},developer:{small:6,medium:4,large:6,artwork:"lockup-6-4-6"},editorialItem:{small:3,medium:2,large:3,artwork:"lockup-3-2-3-story"},epubBook:{small:6,medium:4,large:6,artwork:"epubBook"},"media-audio-book":{small:6,medium:4,large:6,artwork:"media-audio-book"},musicVideo:{small:6,medium:2,large:3},playlist:{small:6,medium:4,large:6,artwork:"lockup-6-4-6-sr",fallback:"lockup-playlist"},podcast:{small:6,medium:4,large:6},rating:{small:4,medium:3,large:4},"rating-card":{small:3,medium:2,large:3},"rating-card-small":{small:6,medium:4,large:6},"rating-without-common-sense-media":{small:3,medium:2,large:3},"related-movie":{small:6,medium:4,large:6,artwork:"lockup-6-4-6-no-crop-3-2",fallback:"product-hero-tv"},"related-show":{small:6,medium:4,large:6,artwork:"lockup-6-4-6-no-crop-sr",fallback:"product-hero-tv"},review:{small:3,medium:2,large:3},role:{small:6,medium:4,large:6,artwork:"lockup-6-4-6-no-crop"},showBonusContent:{small:6,medium:2,large:3},song:{small:9,medium:8,large:9},"tv-season":{small:6,medium:4,large:6,artwork:"lockup-6-4-6-sr"}}})),define("web-experience-app/config/timeouts",["exports","web-experience-app/config/environment"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.VIDEO_NOTIFICATION_EXIT=e.VIDEO_NOTIFICATION_ENTER=e.VIDEO_INIT_TIMEOUT=e.LOADING_MSG_TIMEOUT=e.FADE_OUT_MESSAGE_DURATION=e.EMITTED_MESSAGE_DURATION=void 0
const i="test"===t.default.environment?10:2e3
e.EMITTED_MESSAGE_DURATION=i
const r="test"===t.default.environment?10:200
e.FADE_OUT_MESSAGE_DURATION=r
const n="test"===t.default.environment?10:5e3
e.VIDEO_NOTIFICATION_EXIT=n
const a="test"===t.default.environment?10:2e3
e.VIDEO_NOTIFICATION_ENTER=a
const o="test"===t.default.environment?10:3600
e.LOADING_MSG_TIMEOUT=o
const l="test"===t.default.environment?1:1e3
e.VIDEO_INIT_TIMEOUT=l})),define("web-experience-app/controllers/app-bundle",["exports","@ember/controller","web-experience-app/utils/apps/device-support","web-experience-app/utils/product-offers","@ember/service","@ember/object","@glimmer/tracking"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d,m,f,b,g,h,y,w
function v(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function _(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function P(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const O=new WeakMap
let A=(l=(0,n.inject)("platform"),s=(0,n.inject)("media-api/apps"),p=(0,a.computed)("sp","model.viewModel.product.supportsArcade"),c=(0,a.computed)("model.viewModel.product","platformQp"),u=(0,a.computed)("action","appViewState.{isMacAppStore,isMacAppStoreView}","platformService.browser.isAtLeastMojave"),d=(0,a.computed)("appViewState.isMacAppStoreView","platformService.browser.{isAtLeastMojave,ismacOS}","action"),m=(0,a.computed)("platformService.browser.isAtLeastMojave","appViewState.isMacAppStoreView","action"),f=class extends t.default{constructor(){super(...arguments),v(this,"appViewState",b,this),v(this,"platformService",g,this),v(this,"i18n",h,this),v(this,"appsApi",y,this),_(this,"queryParams",["action",{platformQp:{type:"hash",as:"platform"}},"sp",{seeAll:"see-all"}]),_(this,"platformQp",null),_(this,"seeAll",null),_(this,"sp",null),v(this,"headTagsData",w,this)}get showPreorder(){return this.sp?"1"===this.sp||"true"===this.sp:!this.model.viewModel.product.supportsArcade}get displayPrice(){const e=new r.ProductOffers({offers:this.model.viewModel.product.offers})
let t
return t=e.hasPreorderOffers&&e.preorderPrice>0?e.preorderPriceFormatted:e.buyPrice>0?e.buyPriceFormatted:this.i18n.t("WEA.Common.Free"),this.i18n.t("WEA.AppBundlePages.AppBundle",{appPrice:t})}get preserveScrollPosition(){const{product:e}=this.model.viewModel,t=O.get(e)
return O.set(e,!0),t}get editMessageKey(){let e="WEA.AppPages.EditReview"
return this.appViewState.isMacAppStoreView&&"write-review"===this.action&&!this.platformService.browser.isAtLeastMojave&&(e+=".macOS.OldmacOS"),e}get availabilityMessageKey(){return(0,i.primaryPlatformSupported)(this.model.viewModel.product.deviceFamilies,this.platformService.browser.isiOS)===i.PLATFORMS.mac?"WEA.AppPages.Availability.macOS.Bundle":"WEA.AppPages.Availability.iOS.Bundle"}get showEditRequestedBanner(){return this.appViewState.isMacAppStoreView?this.platformService.browser.ismacOS&&!this.platformService.browser.isAtLeastMojave:"write-review"===this.action}get showBanner(){return"write-review"!==this.action||!this.platformService.browser.isAtLeastMojave||!this.appViewState.isMacAppStoreView}},b=P(f.prototype,"appViewState",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=P(f.prototype,"platformService",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=P(f.prototype,"i18n",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=P(f.prototype,"appsApi",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=P(f.prototype,"headTagsData",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P(f.prototype,"showPreorder",[p],Object.getOwnPropertyDescriptor(f.prototype,"showPreorder"),f.prototype),P(f.prototype,"preserveScrollPosition",[c],Object.getOwnPropertyDescriptor(f.prototype,"preserveScrollPosition"),f.prototype),P(f.prototype,"editMessageKey",[u],Object.getOwnPropertyDescriptor(f.prototype,"editMessageKey"),f.prototype),P(f.prototype,"showEditRequestedBanner",[d],Object.getOwnPropertyDescriptor(f.prototype,"showEditRequestedBanner"),f.prototype),P(f.prototype,"showBanner",[m],Object.getOwnPropertyDescriptor(f.prototype,"showBanner"),f.prototype),f)
e.default=A})),define("web-experience-app/controllers/app",["exports","@ember/object","@ember/service","@ember/controller","@glimmer/tracking","web-experience-app/utils/apps/apps"],(function(e,t,i,r,n,a){var o,l,s,p,c,u,d,m,f,b,g,h,y,w,v
function _(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function P(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function O(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const A=new WeakMap
let k=(o=(0,i.inject)("platform"),l=(0,i.inject)("media-api/apps"),s=(0,t.computed)("sp","model.viewModel.product.supportsArcade"),p=(0,t.computed)("model.viewModel.product.productOffers.{buyPrice,buyPriceFormatted,hasPreorderOffers,preorderPrice,preorderPriceFormatted}"),c=(0,t.computed)("model.viewModel.product","platformQp"),u=(0,t.computed)("action","appViewState.{isMacAppStore,isMacAppStoreView}","platformService.browser.isAtLeastMojave"),d=(0,t.computed)("model.viewModel.product.{deviceFamilies,isIOSBinaryMacOSCompatible}","platformService.browser.{isiOS,ismacOS}"),m=(0,t.computed)("appViewState.isMacAppStoreView","platformService.browser.{isAtLeastMojave,ismacOS}","action"),f=(0,t.computed)("platformService.browser.isAtLeastMojave","appViewState.isMacAppStoreView","action"),b=class extends r.default{constructor(){super(...arguments),_(this,"appViewState",g,this),_(this,"platformService",h,this),_(this,"i18n",y,this),_(this,"appsApi",w,this),P(this,"queryParams",["action",{platformQp:{type:"hash",as:"platform"}},"sp",{seeAll:"see-all"}]),P(this,"platformQp",null),P(this,"seeAll",null),P(this,"sp",null),_(this,"headTagsData",v,this)}get showPreorder(){return this.sp?"1"===this.sp||"true"===this.sp:!this.model.viewModel.product.supportsArcade}get displayPrice(){const{productOffers:e}=this.model.viewModel.product
return e.hasPreorderOffers?e.preorderPrice>0?e.preorderPriceFormatted:this.i18n.t("WEA.Common.Free"):e.buyPrice>0?e.buyPriceFormatted:this.i18n.t("WEA.Common.Free")}get preserveScrollPosition(){const{product:e}=this.model.viewModel,t=A.get(e)
return A.set(e,!0),t}get editMessageKey(){let e="WEA.AppPages.EditReview"
return this.appViewState.isMacAppStoreView&&"write-review"===this.action&&!this.platformService.browser.isAtLeastMojave&&(e+=".macOS.OldmacOS"),e}get availabilityMessageKey(){return(0,a.availabilityMessageKey)(this.model.viewModel.product,this.platformService)}get showEditRequestedBanner(){return this.appViewState.isMacAppStoreView?this.platformService.browser.ismacOS&&!this.platformService.browser.isAtLeastMojave:"write-review"===this.action}get showBanner(){return"write-review"!==this.action||!this.platformService.browser.isAtLeastMojave||!this.appViewState.isMacAppStoreView}},g=O(b.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=O(b.prototype,"platformService",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=O(b.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=O(b.prototype,"appsApi",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=O(b.prototype,"headTagsData",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O(b.prototype,"showPreorder",[s],Object.getOwnPropertyDescriptor(b.prototype,"showPreorder"),b.prototype),O(b.prototype,"displayPrice",[p],Object.getOwnPropertyDescriptor(b.prototype,"displayPrice"),b.prototype),O(b.prototype,"preserveScrollPosition",[c],Object.getOwnPropertyDescriptor(b.prototype,"preserveScrollPosition"),b.prototype),O(b.prototype,"editMessageKey",[u],Object.getOwnPropertyDescriptor(b.prototype,"editMessageKey"),b.prototype),O(b.prototype,"availabilityMessageKey",[d],Object.getOwnPropertyDescriptor(b.prototype,"availabilityMessageKey"),b.prototype),O(b.prototype,"showEditRequestedBanner",[m],Object.getOwnPropertyDescriptor(b.prototype,"showEditRequestedBanner"),b.prototype),O(b.prototype,"showBanner",[f],Object.getOwnPropertyDescriptor(b.prototype,"showBanner"),b.prototype),b)
e.default=k})),define("web-experience-app/controllers/application",["exports","@ember/controller","@ember/object","web-experience-app/config","@ember/utils","@ember/service"],(function(e,t,i,r,n,a){var o,l,s,p,c
function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let m=(o=(0,i.computed)("appViewState.currentState"),l=class extends t.default{get viewStateTheme(){const e=this.appViewState.currentState
return(0,n.isPresent)(e)?`is-${e}-theme`:void 0}constructor(){var e,t,i
super(...arguments),e=this,t="queryParams",i=r.default.applicationQueryParameters,t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,u(this,"fastboot",s,this),u(this,"globalElements",p,this),u(this,"appViewState",c,this),this.fastboot.isFastBoot||function(){const e=function(e,t){t?document.body.classList.add(`has-${e}`):document.body.classList.add(`no-${e}`)}
document.body.classList.remove("no-js"),document.body.classList.add("has-js"),emberAutoImportDynamic("@marcom/ac-feature").then((t=>{document.body.classList.remove("no-touch"),e("touch",t.touchAvailable())}))}()}},s=d(l.prototype,"fastboot",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=d(l.prototype,"globalElements",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=d(l.prototype,"appViewState",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d(l.prototype,"viewStateTheme",[o],Object.getOwnPropertyDescriptor(l.prototype,"viewStateTheme"),l.prototype),l)
e.default=m})),define("web-experience-app/controllers/charts/audiobooks/genre",["exports","web-experience-app/controllers/charts/see-all","@ember/service"],(function(e,t,i){var r,n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=(0,i.inject)("charts/books"),n=class extends t.default{constructor(){var e,t,i,r,n,o,l
super(...arguments),e=this,t="charts",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),l=!0,(o="isAudiobook")in(n=this)?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}},l=n.prototype,s="charts",p=[r],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/controllers/charts/audiobooks/index",["exports","web-experience-app/controllers/charts/see-all","@ember/service"],(function(e,t,i){var r,n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=(0,i.inject)("charts/books"),n=class extends t.default{constructor(){var e,t,i,r,n,o,l
super(...arguments),e=this,t="charts",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),l=!0,(o="isAudiobook")in(n=this)?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}},l=n.prototype,s="charts",p=[r],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/controllers/charts/chart-see-all",["exports","web-experience-app/controllers/charts/see-all","@ember/service"],(function(e,t,i){var r,n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=(0,i.inject)("charts/books"),n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="charts",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},l=n.prototype,s="charts",p=[r],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o}))
define("web-experience-app/controllers/charts/device/category",["exports","web-experience-app/controllers/charts/see-all","@ember/service"],(function(e,t,i){var r,n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=(0,i.inject)("charts/apps"),n=class extends t.default{constructor(){var e,t,i,r,n,o,l
super(...arguments),e=this,t="charts",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),l=[{ageId:"ageId"}],(o="queryParams")in(n=this)?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}},l=n.prototype,s="charts",p=[r],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/controllers/charts/genre",["exports","web-experience-app/controllers/charts/see-all","@ember/service"],(function(e,t,i){var r,n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=(0,i.inject)("charts/books"),n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="charts",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},l=n.prototype,s="charts",p=[r],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/controllers/charts/see-all",["exports","@ember/service","@ember/controller","@ember/object","@glimmer/tracking"],(function(e,t,i,r,n){var a,o,l,s,p
function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let d=(a=(0,r.computed)("isAudiobook","model.chartsList.data.length"),o=(0,t.inject)("charts/base"),l=class extends i.default{constructor(){var e,t,i
super(...arguments),i=!1,(t="isAudiobook")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,c(this,"headTagsData",s,this),c(this,"charts",p,this)}get totalMaxLimitReached(){const e=this.charts.getConfig(this.isAudiobook)
return this.model.chartsList.data.length>=e.pageLimits.totalMax}async nextPage(){const e=this.charts.getConfig(this.isAudiobook);(0,r.set)(this,"isLoadingNextPage",!0)
const{chartsList:t}=this.model,{next:i}=t
if(!i||this.totalMaxLimitReached)return void(0,r.set)(this,"isLoadingNextPage",!1)
const n=await this.charts.fetchNextPageTopCharts(i,this.isAudiobook)
if(n&&n.data&&n.data.length){let i=t.data.concat(n.data)
i.length>=e.pageLimits.totalMax&&(i=i.slice(0,e.pageLimits.totalMax)),(0,r.set)(t,"data",i),(0,r.set)(t,"next",n.next)}(0,r.set)(this,"isLoadingNextPage",!1)}},s=u(l.prototype,"headTagsData",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"totalMaxLimitReached",[a],Object.getOwnPropertyDescriptor(l.prototype,"totalMaxLimitReached"),l.prototype),p=u(l.prototype,"charts",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(l.prototype,"nextPage",[r.action],Object.getOwnPropertyDescriptor(l.prototype,"nextPage"),l.prototype),l)
e.default=d})),define("web-experience-app/controllers/developer",["exports","@ember/controller","@glimmer/tracking"],(function(e,t,i){var r,n
function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),a(this,"queryParams",[{seeAll:"see-all"}]),a(this,"seeAll",null),e=this,t="headTagsData",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},l=r.prototype,s="headTagsData",p=[i.tracked],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),n=d,r)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/controllers/see-all-books",["exports","@ember/controller","@glimmer/tracking"],(function(e,t,i){var r,n
function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),a(this,"queryParams",[{seeAll:"see-all"}]),a(this,"seeAll",null),e=this,t="headTagsData",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get metricsConfigKey(){return"artist"===this.seeAllModelType?"navigateArtistShelf":"navigateShelf"}},l=r.prototype,s="headTagsData",p=[i.tracked],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),n=d,r)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/controllers/storefront",["exports","@ember/controller","@ember/service"],(function(e,t,i){var r,n
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="globalElements",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}},o=r.prototype,l="globalElements",s=[i.inject],p={configurable:!0,enumerable:!0,writable:!0,initializer:null},u={},Object.keys(p).forEach((function(e){u[e]=p[e]})),u.enumerable=!!u.enumerable,u.configurable=!!u.configurable,("value"in u||u.initializer)&&(u.writable=!0),u=s.slice().reverse().reduce((function(e,t){return t(o,l,e)||e}),u),c&&void 0!==u.initializer&&(u.value=u.initializer?u.initializer.call(c):void 0,u.initializer=void 0),void 0===u.initializer&&(Object.defineProperty(o,l,u),u=null),n=u,r)
var o,l,s,p,c,u
e.default=a})),define("web-experience-app/helpers/abbr-number",["exports","@ember/component/helper","@ember/service","web-experience-app/helpers/to-locale-fixed"],(function(e,t,i,r){var n,a,o
function l(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function s(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let p=(n=class extends t.default{constructor(){super(...arguments),l(this,"i18n",a,this),l(this,"shortNumber",o,this)}compute(e){let[t]=e
return null==t?null:this.shortNumber.format(t,(0,r.localeWithOptionsForNumbers)(this.i18n.locale),{significantDigits:1,maximumFractionDigits:1})}},a=s(n.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=s(n.prototype,"shortNumber",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)
e.default=p})),define("web-experience-app/helpers/anchor-punctuation",["exports","@ember/component/helper","@ember/service","web-experience-app/utils/ssr"],(function(e,t,i,r){var n,a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.START_LTR_EMBED_ANCHOR=e.NON_BREAKING_SPACE=e.END_LTR_EMBED_ANCHOR=void 0
e.START_LTR_EMBED_ANCHOR="‪"
e.END_LTR_EMBED_ANCHOR="‬"
e.NON_BREAKING_SPACE=" "
const l=["Apple TV+","Apple TV+","Apple Fitness+","Apple Fitness+"]
function s(e){const t=e.slice(-1)
return e.replace(/.$/,`‪${t}‬`)}let p=(n=(0,i.inject)("-document"),a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="document",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
const i=this.document.documentElement.getAttribute("dir")
if(("ltr"===i||null===i)&&!(0,r.isSSR)())return t
l.forEach((e=>{if(t.includes(e)){const i=s(e)
t=t.split(e).join(i)}}))
const n=t.slice(-1)
return/^[a-z0-9]+$/i.test(n)||"‬"===n?t:s(t)}},c=a.prototype,u="document",d=[n],m={configurable:!0,enumerable:!0,writable:!0,initializer:null},b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),o=b,a)
var c,u,d,m,f,b
e.default=p})),define("web-experience-app/helpers/and",["exports","ember-truth-helpers/helpers/and"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"and",{enumerable:!0,get:function(){return t.and}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/helpers/app-artwork",["exports","@ember/component/helper","web-experience-app/utils/apps/app-type"],(function(e,t,i){function r(e){if(!e)return
const t=e.primaryPlatform?.ovalArtwork||e.ovalArtwork,r=e.primaryPlatform?.artwork||e.artwork
return(0,i.isMessagesOnly)(e)?t:r}Object.defineProperty(e,"__esModule",{value:!0}),e.appArtwork=r,e.default=void 0
var n=(0,t.helper)((function(e){let[t]=e
return r(t)}))
e.default=n})),define("web-experience-app/helpers/app-version",["exports","@ember/component/helper","web-experience-app/config/environment","ember-cli-app-version/utils/regexp"],(function(e,t,i,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const n=i.default.APP.version
let a=t.versionOnly||t.hideSha,o=t.shaOnly||t.hideVersion,l=null
return a&&(t.showExtended&&(l=n.match(r.versionExtendedRegExp)),l||(l=n.match(r.versionRegExp))),o&&(l=n.match(r.shaRegExp)),l?l[0]:n}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=n,e.default=void 0
var a=(0,t.helper)(n)
e.default=a})),define("web-experience-app/helpers/attr-sanitize",["exports","@ember/component/helper","web-experience-app/utils/sanitize"],(function(e,t,i){function r(e){let[t]=e
return(0,i.sanitizeForAttribute)(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.attrSanitize=r,e.default=void 0
var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/capitalize",["exports","@ember/component/helper","@ember/string","@ember/utils"],(function(e,t,i,r){function n(e){let[t]=e
return(0,r.isEmpty)(t)&&(t=""),(0,i.capitalize)(`${t}`)}Object.defineProperty(e,"__esModule",{value:!0}),e.capitalizeString=n,e.default=void 0
var a=t.default.helper(n)
e.default=a})),define("web-experience-app/helpers/chunk",["exports","ember-composable-helpers/helpers/chunk"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"chunk",{enumerable:!0,get:function(){return t.chunk}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/helpers/dasherize",["exports","@ember/component/helper","@ember/string"],(function(e,t,i){function r(e){let[t]=e
return(0,i.dasherize)(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.dasherizeHelper=r,e.default=void 0
var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/deprecate-block-syntax",["exports","@amp/ember-ui-media-artwork/helpers/deprecate-block-syntax"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"deprecateBlockSyntax",{enumerable:!0,get:function(){return t.deprecateBlockSyntax}})})),define("web-experience-app/helpers/direction-marker",["exports","@ember/component/helper","@ember/service"],(function(e,t,i){var r,n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.RTL_MARK=e.LTR_MARK=void 0,e.directionMarker=m
e.LTR_MARK="‎"
e.RTL_MARK="‏"
let o=(r=(0,i.inject)("-document"),n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="document",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(){return m(this.document)}},l=n.prototype,s="document",p=[r],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
function m(e){return"ltr"===(e.documentElement.dir||"ltr")?"‎":"‏"}e.default=o})),define("web-experience-app/helpers/duration",["exports","@ember/component/helper","@ember/service","@apple/duration"],(function(e,t,i,r){var n,a
function o(e,t){if("number"!=typeof e)return
const i=Math.ceil(e/1e3),{hours:n,minutes:a}=(0,r.default)(i)
return n>0&&a>0?t.t("WFA.Duration.Hours.Minutes",{hours:n,minutes:a}):n>0?t.t("WFA.Duration.Hours",{hours:n}):t.t("WFA.Duration.Minutes",{minutes:a})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.episodeDuration=o
let l=(n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
return o(t,this.i18n)}},s=n.prototype,p="i18n",c=[i.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),a=m,n)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/helpers/encoded-referrer",["exports","@ember/component/helper"],(function(e,t){function i(){return encodeURI(window.document.referrer)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.encodedReferrer=i
var r=(0,t.helper)(i)
e.default=r})),define("web-experience-app/helpers/eq",["exports","ember-truth-helpers/helpers/equal"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"equal",{enumerable:!0,get:function(){return t.equal}})})),define("web-experience-app/helpers/format-date",["exports","@ember/component/helper","@ember/service","web-experience-app/utils/date-time"],(function(e,t,i,r){var n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t,i]=e
const{locale:n}=this.i18n
return"ISO"===i?(0,r.formatISOString)(t):(0,r.formatDate)(t,n,r.FORMATS[i])}},l=n.prototype,s="i18n",p=[i.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/helpers/format-event-badge",["exports","@ember/component/helper","@ember/service","web-experience-app/utils/apps/app-events"],(function(e,t,i,r){var n,a,o
function l(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function s(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let p=(n=class extends t.default{constructor(){super(...arguments),l(this,"clock",a,this),l(this,"i18n",o,this)}compute(e){let[t]=e
return(0,r.formatEventBadge)(t,this.clock.now,this.i18n)}},a=s(n.prototype,"clock",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=s(n.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)
e.default=p})),define("web-experience-app/helpers/format-meta-content",["exports","@ember/component/helper","web-experience-app/helpers/direction-marker","@ember/service"],(function(e,t,i,r){var n,a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let l=(n=(0,r.inject)("-document"),a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="document",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t,r]=e
return t.includes("title")||t.includes("description")?`${(0,i.directionMarker)(this.document)}${r}`:r}},s=a.prototype,p="document",c=[n],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/helpers/generate-monogram-profile",["exports","@ember/component/helper","web-experience-app/utils/generate-monogram"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=(0,t.helper)((function(e){let[t]=e
return(0,i.default)(t)}))
e.default=r})),define("web-experience-app/helpers/get-artwork",["exports","@ember/component/helper","@ember/array"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getArtwork=o
const r=["Core_WK_Regular","Core_PS_Regular","Core_PM_Regular","Core_PME_Regular","Core_MD_Wide","Core_TR_Wide"],n=e=>e.find((e=>r.includes(e.pictureFileType)))||e?.[0],a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const t=r.find((t=>e[t]))
return e[t]||Object.values(e)[0]}
function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return(0,i.isArray)(e)?n(e):a(e)}var l=(0,t.helper)((function(e){let[t]=e
return o(t)}))
e.default=l})),define("web-experience-app/helpers/get-from-config",["exports","@ember/component/helper","web-experience-app/config/environment","@ember/object"],(function(e,t,i,r){function n(e){return(0,r.get)(i.default,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getFromConfig=n
var a=(0,t.helper)((function(e){let[t]=e
return n(t)}))
e.default=a})),define("web-experience-app/helpers/google-play-store-link",["exports","@ember/component/helper","web-experience-app/utils/launch-client"],(function(e,t,i){function r(e){let[t]=e
return(0,i.googlePlayStoreLink)(t)}Object.defineProperty(e,"__esModule",{value:!0}),e._googlePlayStoreLink=r,e.default=void 0
var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/grouped-index",["exports","@ember/component/helper","@ember/debug"],(function(e,t,i){function r(e){let[t,i,r]=e
return t*i+r}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.groupedIndex=r
var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/gt",["exports","ember-truth-helpers/helpers/gt"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"gt",{enumerable:!0,get:function(){return t.gt}})})),define("web-experience-app/helpers/gte",["exports","ember-truth-helpers/helpers/gte"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"gte",{enumerable:!0,get:function(){return t.gte}})}))
define("web-experience-app/helpers/html-safe",["exports","@ember/component/helper","@ember/template"],(function(e,t,i){function r(e){let[t]=e
return(0,i.htmlSafe)(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.toHTMLSafe=r
var n=t.default.helper(r)
e.default=n})),define("web-experience-app/helpers/html-sanitize",["exports","@ember/component/helper","web-experience-app/utils/sanitize"],(function(e,t,i){function r(e){let[t]=e
return(0,i.sanitizeForHtml)(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.toHTMLSanitize=r
var n=t.default.helper(r)
e.default=n})),define("web-experience-app/helpers/inc",["exports","ember-composable-helpers/helpers/inc"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"inc",{enumerable:!0,get:function(){return t.inc}})})),define("web-experience-app/helpers/includes",["exports","ember-composable-helpers/helpers/includes"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"includes",{enumerable:!0,get:function(){return t.includes}})})),define("web-experience-app/helpers/is-array",["exports","ember-truth-helpers/helpers/is-array"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return t.isArray}})})),define("web-experience-app/helpers/is-book",["exports","@ember/component/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.isBook=r
const i=["epubBook","book"]
function r(e){let[t]=e
return-1!==i.indexOf(t)}var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/is-empty",["exports","ember-truth-helpers/helpers/is-empty"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/helpers/is-equal",["exports","ember-truth-helpers/helpers/is-equal"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return t.isEqual}})})),define("web-experience-app/helpers/is-last-array-index",["exports","@amp/ember-ui-media-shelf/helpers/is-last-array-index"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isLastArrayIndex",{enumerable:!0,get:function(){return t.isLastArrayIndex}})})),define("web-experience-app/helpers/is-live-event",["exports","@ember/component/helper","@ember/service","web-experience-app/utils/apps/app-events"],(function(e,t,i,r){var n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="clock",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
return(0,r.isLiveHappeningEvent)(t,this.clock.now)}},l=n.prototype,s="clock",p=[i.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/helpers/is-portrait",["exports","@ember/component/helper","web-experience-app/utils/images"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=(0,t.helper)((function(e){let[t]=e
return(0,i.isPortrait)(t)}))
e.default=r})),define("web-experience-app/helpers/is-ssr",["exports","@ember/component/helper","web-experience-app/utils/ssr"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=(0,t.helper)((function(){return(0,i.isSSR)()}))
e.default=r})),define("web-experience-app/helpers/is-tile-card",["exports","@ember/component/helper","web-experience-app/utils/apps/stories"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=(0,t.helper)((function(e){let[t]=e
return(0,i.isTileCard)(t)}))
e.default=r})),define("web-experience-app/helpers/item-component-chooser",["exports","@amp/ember-ui-media-shelf/helpers/item-component-chooser"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"itemComponentChooser",{enumerable:!0,get:function(){return t.itemComponentChooser}})})),define("web-experience-app/helpers/join",["exports","ember-composable-helpers/helpers/join"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/helpers/language-description",["exports","@ember/component/helper","@ember/service","web-experience-app/utils/loc-concatenate"],(function(e,t,i,r){var n,a
function o(e,t){const i=e.descriptors.map((e=>t.t(`WEA.Common.Languages.${e}`)))
if(0===i.length)return e.name
const n=(0,r.default)(i,t)
return t.t("WEA.Common.Languages.languageDescriptor",{languageName:e.name,languageMeta:n})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.generateLanguageDescription=o
let l=(n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
return o(t,this.i18n)}},s=n.prototype,p="i18n",c=[i.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),a=m,n)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/helpers/languages-list",["exports","@ember/component/helper","@ember/service","web-experience-app/helpers/language-description","web-experience-app/utils/loc-concatenate"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let l=(a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
const i=t.map((e=>(0,r.generateLanguageDescription)(e,this.i18n)))
return(0,n.default)(i,this.i18n)}},s=a.prototype,p="i18n",c=[i.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/helpers/loc-duration",["exports","@ember/component/helper","@ember/service","@ember/utils","web-experience-app/utils/duration"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.deriveDuration=f
let l=(a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e,t){let[i]=e,{abbr:r=!1}=t
return f(i,this.i18n,r)}},s=a.prototype,p="i18n",c=[i.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var s,p,c,u,d,m
function f(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]
if((0,r.isEmpty)(e))return""
const{hours:a,minutes:o,seconds:l}=(0,n.duration)(e),s=b(t,i)
return a>0&&o>0?t.t("WEA.Common.SeparatorDuration",{hours:s(a,"WEA.Common.Hours"),minutes:s(o,"WEA.Common.Minutes")}):a>0&&0===o?s(a,"WEA.Common.Hours"):0===a&&o>0?s(o,"WEA.Common.Minutes"):0===a&&0===o&&(0,r.isPresent)(l)?s(l,"WEA.Common.Seconds"):void 0}function b(e,t){return t?(t,i)=>e.t(`${i}.abbr`,{count:t}):(t,i)=>e.t(i,{count:t})}e.default=l})),define("web-experience-app/helpers/loc-filesize",["exports","@ember/component/helper","@ember/service","web-experience-app/utils/bytes-to-readable"],(function(e,t,i,r){var n,a
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let o=(n=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=a)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t,i="b"]=e
const{bytes:n,label:a}=(0,r.parse)(t,i)
return this.i18n.t(`WEA.Common.FileSize.${a}`,{count:n})}},l=n.prototype,s="i18n",p=[i.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),a=d,n)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/helpers/lockup-presenter",["exports","@ember/component/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getLockupPresenter=n
const i={default:"lockups/base",appEvent:"lockups/app-event","editorial-items":"lockups/editorial-item",books:"lockups/books","audio-books":"lockups/books"},r={seeAllDeveloperOtherApps:"lockups/app",seeAllAppsInBundle:"lockups/app",seeAllIMessageApps:"lockups/app"}
function n(e){let[t]=e,{sectionType:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
return r[n]||i[t]||i.default}var a=(0,t.helper)(n)
e.default=a})),define("web-experience-app/helpers/lt",["exports","ember-truth-helpers/helpers/lt"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lt",{enumerable:!0,get:function(){return t.lt}})})),define("web-experience-app/helpers/lte",["exports","ember-truth-helpers/helpers/lte"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lte",{enumerable:!0,get:function(){return t.lte}})})),define("web-experience-app/helpers/media-player-classes",["exports","@ember/component/helper","@ember/service"],(function(e,t,i){var r,n
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="mediaPlayer",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
const{mediaPlayer:i}=this
let r=!1
if(r=t.id?i.nowPlayingItem?.id===t.id:i.nowPlayingItem?.url===t.url,!r)return""
let n="is-now-playing"
return i.isPlaying&&(n=`${n} is-playing`),i.musicIsLoading&&(n=`${n} is-loading`),n}},o=r.prototype,l="mediaPlayer",s=[i.inject],p={configurable:!0,enumerable:!0,writable:!0,initializer:null},u={},Object.keys(p).forEach((function(e){u[e]=p[e]})),u.enumerable=!!u.enumerable,u.configurable=!!u.configurable,("value"in u||u.initializer)&&(u.writable=!0),u=s.slice().reverse().reduce((function(e,t){return t(o,l,e)||e}),u),c&&void 0!==u.initializer&&(u.value=u.initializer?u.initializer.call(c):void 0,u.initializer=void 0),void 0===u.initializer&&(Object.defineProperty(o,l,u),u=null),n=u,r)
var o,l,s,p,c,u
e.default=a})),define("web-experience-app/helpers/metrics-data",["exports","@ember/component/helper","web-experience-app/config","web-experience-app/utils/string-template","@ember/debug"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getMetricsJson=o
const{metrics:{clickEvents:a}}=i.default
function o(e){let[t]=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const n=a[t],o=Object.assign({},n)
return Object.keys(n).forEach((e=>{const t=n[e]
o[e]="string"==typeof t?(0,r.replaceKeys)(t,i,`web-experience-app.metrics.missing-variable-in-${e}`):t})),JSON.stringify(o)}var l=t.default.helper(o)
e.default=l})),define("web-experience-app/helpers/model-metrics-data",["exports","@ember/component/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.helper)((e=>{let[t,i]=e
if(!t)return""
const r={actionType:"navigate",targetId:t.id,targetType:"button",actionUrl:t.url}
return void 0!==i?.locationPosition&&(r.location=[{locationPosition:i.locationPosition,id:t.id,locationType:"lockup",name:t.name,idType:"its_id"}]),JSON.stringify(r)}))
e.default=i})),define("web-experience-app/helpers/mzstatic-image-url",["exports","@amp/ember-ui-media-artwork/helpers/mzstatic-image-url"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"mzstaticImageUrl",{enumerable:!0,get:function(){return t.mzstaticImageUrl}})})),define("web-experience-app/helpers/not-eq",["exports","ember-truth-helpers/helpers/not-equal"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"notEqualHelper",{enumerable:!0,get:function(){return t.notEqualHelper}})})),define("web-experience-app/helpers/not",["exports","ember-truth-helpers/helpers/not"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return t.not}})})),define("web-experience-app/helpers/or",["exports","ember-truth-helpers/helpers/or"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"or",{enumerable:!0,get:function(){return t.or}})})),define("web-experience-app/helpers/pluralize",["exports","ember-inflector/lib/helpers/pluralize"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=t.default
e.default=i}))
define("web-experience-app/helpers/present",["exports","@ember/application","@ember/debug","@ember/component/helper","@ember/object"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class a extends r.default{constructor(){super(...arguments),this.name=null,this.presenter=null}createPresenter(e){const i=(0,t.getOwner)(this).factoryFor(`presenter:${e}`)
return i.create()}destroyPresenter(){this.presenter&&this.presenter.destroy&&this.presenter.destroy()}compute(e,t){let[i]=e
return this.presenter=this.createPresenter(i),(0,n.setProperties)(this.presenter,t),this.presenter}willDestroy(){this.destroyPresenter()}}e.default=a})),define("web-experience-app/helpers/primary-platform",["exports","@ember/component/helper","web-experience-app/utils/apps/device-support"],(function(e,t,i){function r(e,t){if(e.primaryPlatform)return e.primaryPlatform
const{deviceFamilies:r=[]}=e
switch((0,i.primaryPlatformSupported)(r,t)){case"atvPlatform":return e.platformAttributes?.appletvos
case"iosPlatform":return e.platformAttributes?.ios
case"osxPlatform":return e.platformAttributes?.osx
case"watchPlatform":return e.platformAttributes?.ios
default:return{}}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.primaryPlatform=r
var n=(0,t.helper)((function(e){let[t,i]=e
return r(t,i)}))
e.default=n})),define("web-experience-app/helpers/privacy-category-icon",["exports","@ember/component/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.privacyCategoryIcon=r
const i={BROWSING_HISTORY:"clock-fill",CONTACTS:"person-crop-circle",CONTACT_INFO:"info-circle-fill",DIAGNOSTICS:"gearshape-fill",FINANCIAL_INFO:"creditcard-fill",HEALTH_AND_FITNESS:"heart-circle-fill",IDENTIFIERS:"person-crop-rectangle-line-fill",LOCATION:"location-fill",OTHER:"ellipsis-circle-fill",PURCHASES:"bag-fill",SEARCH_HISTORY:"magnifyingglass-circle-fill",SENSITIVE_INFO:"eye-fill",USAGE_DATA:"chart-bar-fill",USER_CONTENT:"photo-fill-on-rectangle-fill"}
function r(e){let[t]=e
return i[t]||"info-circle-fill"}var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/privacy-type-icon",["exports","@ember/component/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.privacyTypeIcon=r
const i={DATA_USED_TO_TRACK_YOU:"person-square-brackets",DATA_LINKED_TO_YOU:"person-circle",DATA_NOT_LINKED_TO_YOU:"person-circle-slash",DATA_NOT_COLLECTED:"checkmark-circle",NO_DETAILS:"exclamationmark-triangle"}
function r(e){let[t]=e
return i[t]||"exclamationmark-triangle"}var n=(0,t.helper)(r)
e.default=n})),define("web-experience-app/helpers/route-idle",["exports","ember-app-scheduler/helpers/route-idle"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"routeIdle",{enumerable:!0,get:function(){return t.routeIdle}})})),define("web-experience-app/helpers/seconds-to-time",["exports","@ember/debug","@ember/component/helper","@ember/service","web-experience-app/utils/duration"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.secondsToTime=e.default=void 0
let l=(a=class extends i.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
const i=parseFloat(t)
return isNaN(i)?"":f(i,this.i18n.locale)}},s=a.prototype,p="i18n",c=[r.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var s,p,c,u,d,m
e.default=l
const f=function(e,t){return(0,n.formatDuration)(e,t)}
e.secondsToTime=f})),define("web-experience-app/helpers/see-all-profile",["exports","@ember/component/helper","@ember/object","web-experience-app/config/see-all-profiles","web-experience-app/utils/shelf"],(function(e,t,i,r,n){function a(e){let[t]=e
const a=r.profileAliases[t]||t
let o
return o=r.default[a]?r.default[a]:r.default.default,(0,i.set)(o,"columnClassNames",(0,n.generateColumnClassNames)(o)),o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getSeeAllProfile=a
var o=(0,t.helper)(a)
e.default=o})),define("web-experience-app/helpers/service",["exports","@ember/application","@ember/component/helper","@ember/debug"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends i.default{compute(e){let[i]=e
const r=(0,t.getOwner)(this).lookup(`service:${i}`)
return r}}e.default=n})),define("web-experience-app/helpers/shelf-profile",["exports","@ember/component/helper","@ember/object","web-experience-app/config/shelf-profiles","web-experience-app/utils/shelf"],(function(e,t,i,r,n){function a(e){let t,[a]=e
return t=r.default[a]?r.default[a]:r.default.default,(0,i.set)(t,"columnClassNames",(0,n.generateColumnClassNames)(t)),t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getShelfProfile=a
var o=t.default.helper(a)
e.default=o})),define("web-experience-app/helpers/short-number",["exports","ember-short-number/helpers/short-number"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"shortNumber",{enumerable:!0,get:function(){return t.shortNumber}})})),define("web-experience-app/helpers/show-see-all-link",["exports","@ember/component/helper"],(function(e,t){function i(e){let[t,i,r]=e
return r>=(i&&t&&i[t]||0)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.shouldShowSeeAllLink=i
var r=t.default.helper(i)
e.default=r})),define("web-experience-app/helpers/singularize",["exports","ember-inflector/lib/helpers/singularize"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=t.default
e.default=i})),define("web-experience-app/helpers/sort-contributors",["exports","@ember/component/helper","@ember/array"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ORDERED_ROLE_TYPES=void 0,e.sortContributors=n
const r=["Celebrity","Guest","Narrator","Trainer"]
function n(e){if((0,i.isArray)(e))return[...e].sort(((e,t)=>{const i=r.indexOf(e._meta.role)-r.indexOf(t._meta.role)
return 0===i?e.name>t.name?1:-1:i}))}e.ORDERED_ROLE_TYPES=r
var a=(0,t.helper)((function(e){let[t]=e
return n(t)}))
e.default=a})),define("web-experience-app/helpers/style-attribute",["exports","@ember/component/helper","@ember/template"],(function(e,t,i){function r(e){let[t]=e
const r=[]
return Object.keys(t).forEach((e=>{r.push(`${e}: ${t[e]};`)})),(0,i.htmlSafe)(r.join(" "))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.toStyleAttribute=r
var n=t.default.helper(r)
e.default=n})),define("web-experience-app/helpers/svg-jar",["exports","ember-svg-jar/utils/make-helper","ember-svg-jar/utils/make-svg"],(function(e,t,i){function r(e){try{return require(`ember-svg-jar/inlined/${e}`).default}catch(t){return null}}function n(e,t){return(0,i.default)(e,t,r)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.svgJar=n
var a=(0,t.default)(n)
e.default=a})),define("web-experience-app/helpers/t",["exports","@amp/ember-localizer/helpers/t"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/helpers/take",["exports","ember-composable-helpers/helpers/take"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/helpers/thousands-separate",["exports","@ember/component/helper","@ember/service"],(function(e,t,i){var r,n
function a(e,t){return"number"==typeof e&&isFinite(e)?new Intl.NumberFormat(t).format(e):""}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.thousandsSeparate=a
let o=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="globalElements",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e
return a(t,this.globalElements.languageCode)}},l=r.prototype,s="globalElements",p=[i.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=p.slice().reverse().reduce((function(e,t){return t(l,s,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,s,d),d=null),n=d,r)
var l,s,p,c,u,d
e.default=o})),define("web-experience-app/helpers/time-tag",["exports","@ember/component/helper","@ember/service","@ember/template","web-experience-app/utils/duration","web-experience-app/helpers/seconds-to-time","web-experience-app/utils/date-time"],(function(e,t,i,r,n,a,o){var l,s
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let p=(l=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=s)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e,t){let[i]=e,{format:l,ariaFormat:s,classNames:p,dataTestAttr:c,duration:u=!1,timer:d=!1,uppercaseText:m=!1}=t
const{i18n:f}=this
return function(e,t,i,l,s,p,c,u,d){let m,f,b
s=s||""
let g=""
if(c)m=(0,a.secondsToTime)(t,e.locale),f=(0,n.isoDuration)(t),b=l||e.t("WEA.Common.TrackList.Time",{_disableSafeString:!0}),p=p||"data-test-we-duration",u&&(g='role="timer"',b=e.t("WEA.Common.TrackList.TimeRemaining",{_disableSafeString:!0}),m=`-${m}`)
else{if(!t)return""
i=o.FORMATS[i]||o.FORMATS.DEFAULT,l=o.FORMATS[l]||o.FORMATS.LONG_DATE,m=(0,o.formatDate)(t,e.locale,i),f=(0,o.formatISOString)(t),b=(0,o.formatDate)(t,e.locale,l),p=p||"data-test-we-datetime"}d&&(m=m.toUpperCase())
return(0,r.htmlSafe)(`<time ${p} datetime="${f}" aria-label="${b}" class="${s}" ${g}>${m}</time>`)}(f,i,l,s,p,c,u,d,m)}},c=l.prototype,u="i18n",d=[i.inject],m={configurable:!0,enumerable:!0,writable:!0,initializer:null},b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),s=b,l)
var c,u,d,m,f,b
e.default=p})),define("web-experience-app/helpers/to-html",["exports","@ember/component/helper","@ember/template"],(function(e,t,i){function r(e){let[t]=e
return t&&(0,i.htmlSafe)(t.replace(/\n/g,"<br>"))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.toHTML=r
var n=t.default.helper(r)
e.default=n})),define("web-experience-app/helpers/to-locale-fixed",["exports","@ember/component/helper","@ember/service"],(function(e,t,i){var r,n
function a(e){return"hi-in"===(e=e.toLowerCase().replace("_","-"))?"hi-in-u-nu-latn":e}function o(e,t){let{minimumFractionDigits:i=0,maximumFractionDigits:r=2}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
if(e&&"number"==typeof e)return e.toLocaleString(a(t),{minimumFractionDigits:Math.min(i,r),maximumFractionDigits:Math.max(i,r)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.localeWithOptionsForNumbers=a,e.toLocaleFixed=o
let l=(r=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="i18n",r=this,(i=n)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}compute(e){let[t]=e,{decimal:i=2,minimumFractionDigits:r=1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
return o(t,this.i18n.locale,{minimumFractionDigits:r,maximumFractionDigits:i})}},s=r.prototype,p="i18n",c=[i.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),n=m,r)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/helpers/upper-case",["exports","@ember/component/helper"],(function(e,t){function i(e){let[t]=e
return t?`${t}`.toLocaleUpperCase():""}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.upperCase=i
var r=(0,t.helper)(i)
e.default=r})),define("web-experience-app/helpers/utc",["exports","@ember/debug","@ember/component/helper"],(function(e,t,i){function r(e){if(e instanceof Date||(e=new Date(e),!isNaN(e.getTime())))return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.utc=r
var n=(0,i.helper)((function(e){let[t]=e
return r(t)}))
e.default=n})),define("web-experience-app/helpers/xor",["exports","ember-truth-helpers/helpers/xor"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"xor",{enumerable:!0,get:function(){return t.xor}})})),define("web-experience-app/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","web-experience-app/config/environment"],(function(e,t,i){let r,n
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i.default.APP&&(r=i.default.APP.name,n=i.default.APP.version)
var a={name:"App Version",initialize:(0,t.default)(r,n)}
e.default=a})),define("web-experience-app/initializers/container-debug-adapter",["exports","ember-resolver/resolvers/classic/container-debug-adapter"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i={name:"container-debug-adapter",initialize(){(arguments[1]||arguments[0]).register("container-debug-adapter:main",t.default)}}
e.default=i})),define("web-experience-app/initializers/ember-cli-mirage",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={name:"ember-cli-mirage",initialize(){}}
e.default=t})),define("web-experience-app/initializers/export-application-global",["exports","ember","web-experience-app/config/environment"],(function(e,t,i){function r(){var e=arguments[1]||arguments[0]
if(!1!==i.default.exportApplicationGlobal){var r
if("undefined"!=typeof window)r=window
else if("undefined"!=typeof global)r=global
else{if("undefined"==typeof self)return
r=self}var n,a=i.default.exportApplicationGlobal
n="string"==typeof a?a:t.default.String.classify(i.default.modulePrefix),r[n]||(r[n]=e,e.reopen({willDestroy:function(){this._super.apply(this,arguments),delete r[n]}}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=r
var n={name:"export-application-global",initialize:r}
e.default=n})),define("web-experience-app/initializers/grid-config",["exports","@amp/ember-ui-media-shelf/initializers/grid-config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/initializers/scroll-by-polyfill",["exports","@amp/ember-ui-media-shelf/initializers/scroll-by-polyfill"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})}))
define("web-experience-app/initializers/viewport-config",["exports","ember-in-viewport/initializers/viewport-config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/instance-initializers/clear-double-boot",["exports","ember-cli-fastboot/instance-initializers/clear-double-boot"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/instance-initializers/ember-data-shoebox",["exports","@ember/object","web-experience-app/config","web-experience-app/utils/ssr","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n){function a(e){}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=a
var o={name:"ember-data-shoebox",after:["metrics-initializer","ember-localizer"],initialize:a}
e.default=o})),define("web-experience-app/instance-initializers/ember-localizer",["exports","@amp/ember-localizer/instance-initializers/ember-localizer"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/instance-initializers/ember-router-scroll",["exports","ember-router-scroll/instance-initializers/ember-router-scroll"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/instance-initializers/global-elements",["exports","@amp/ember-ui-global-elements/instance-initializers/global-elements"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/instance-initializers/history",["exports"],(function(e){function t(e){const t=e.lookup("service:router"),i=e.lookup("service:history")
t.on("routeWillChange",i.routeWillChange.bind(i))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=t
var i={name:"history",initialize:t}
e.default=i})),define("web-experience-app/instance-initializers/media-query-listener",["exports","@amp/ember-ui-media-shelf/instance-initializers/media-query-listener"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/instance-initializers/metrics-initializer",["exports","@amp/ember-metrics/instance-initializers/metrics-initializer"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("web-experience-app/instance-initializers/mt-errorkit",["exports","web-experience-app/config/environment","rsvp","web-experience-app/utils/ssr"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n={apps:"appstore_preview_web",books:"books_preview_web",podcasts:"podcasts_preview_web",fitness:"fitness_preview_web",default:"itunes_preview_web"}
var a={name:"mt-errorkit",async initialize(){if("production"!==t.default.environment)return
if((0,r.isSSR)())return
const{MTErrorKit:{default:e},integrations:{Ember:a}}=await(0,i.hash)({MTErrorKit:emberAutoImportDynamic("@amp-metrics/mt-errorkit"),integrations:emberAutoImportDynamic("@amp-metrics/mt-errorkit/dist/sentry-integrations")}),o=n[t.default.APP.buildVariant]
o&&e.init({projectId:o,environment:"prod",release:t.default.APP.version,integrations:[new a]})}}
e.default=a})),define("web-experience-app/instance-initializers/we-link-to",["exports","web-experience-app/utils/routing","web-experience-app/config","web-experience-app/config/environment","web-experience-app/utils/ssr"],(function(e,t,i,r,n){function a(e){function a(n){const{target:a,ctrlKey:o,metaKey:l,shiftKey:s}=n
if(l||o||s)return!0
const p=function(e){do{if("A"===e.tagName)return e}while(e=e.parentElement)
return!1}(a)
if(!p)return!0
if(p.hasAttribute("data-we-link-to-exclude"))return!0
const{hostname:c}=p
let u=window.location.hostname
if(c!==u&&"production"===r.default.environment)return!0
"localhost"!==u&&u!==i.default.routing.domains.dev||(u=i.default.routing.behaveAs)
let d=(0,t.serializeURLObject)(p)
const{_routerMicrolib:m}=e.lookup("router:main")
d=(0,t.normalizeURL)(d,m,e)
const f=d.split("/")[2],{names:b}=m.recognizer
if(!b[f])return!0
if((i.default.routing.inDevelopment[u]||[]).indexOf(f)>=0)return!0
return e.lookup("service:router").transitionTo(d),n.preventDefault(),!0}(0,n.isSSR)()||(document.body.addEventListener("click",a),e.reopen({willDestroy(){return document.body.removeEventListener("click",a),this._super(...arguments)}}))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=a
var o={name:"we-link-to",initialize:a}
e.default=o})),define("web-experience-app/locales/ar/config",["exports","web-experience-app/locales/en/config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/locales/dev/config",["exports","web-experience-app/locales/en/config"],(function(e,t){function i(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var a=r(r({},t.default),{},{rtl:!1})
e.default=a})),define("web-experience-app/locales/en/config",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={pluralForm:function(e){return 0===e?"zero":1===e?"one":"other"}}})),define("web-experience-app/locales/fi/config",["exports","web-experience-app/locales/en/config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/locales/pl/config",["exports","web-experience-app/locales/en/config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/locales/ru/config",["exports","web-experience-app/locales/en/config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/locales/tr/config",["exports","web-experience-app/locales/en/config"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/locations/history-hash-router-scroll",["exports","@ember/routing/history-location","@ember/application","web-experience-app/utils/routing","@ember/service","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({fastboot:(0,n.inject)(),locationService:(0,n.inject)("location-wea"),router:(0,n.inject)(),history:{get state(){return window.history.state},pushState(e,t,i){window.history.pushState(e,t,`${window.location.origin}${i}`)},replaceState(e,t,i){window.history.replaceState(e,t,`${window.location.origin}${i}`)}},getURL(){const e=this._super(...arguments),{router:t}=this,n=(0,r.normalizeURL)(e,t._router._routerMicrolib,(0,i.getOwner)(this))
return this.fastboot.isFastBoot&&n!==e&&n===e.toLowerCase()&&this.locationService.replace(n),n},formatURL(e){e=this._super(e)
const{router:t}=this
return(0,r.denormalizeURL)(e,t._router._routerMicrolib,(0,i.getOwner)(this))}})
e.default=o})),define("web-experience-app/locations/none",["exports","ember-cli-fastboot/locations/none","web-experience-app/utils/routing","@ember/application","@ember/service","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({fastboot:(0,n.inject)(),locationService:(0,n.inject)("location-wea"),router:(0,n.inject)(),getURL(){const e=this._super(...arguments),{router:t}=this,n=(0,i.normalizeURL)(e,t._router._routerMicrolib,(0,r.getOwner)(this))
return this.fastboot.isFastBoot&&n!==e&&n===e.toLowerCase()&&this.locationService.replace(n),n},formatURL(e){e=this._super(e)
const{router:t}=this
return(0,i.denormalizeURL)(e,t._router._routerMicrolib,(0,r.getOwner)(this))}})
e.default=o})),define("web-experience-app/macros/app-type",["exports","@ember/object","web-experience-app/utils/apps/app-type","web-experience-app/utils/apps/device-support"],(function(e,t,i,r){Object.defineProperty(e,"__esModule",{value:!0}),e.isIOSApp=function(){return(0,t.computed)("deviceFamilies.[]","kind",(function(){return"iosSoftware"===this.kind&&(!(0,i.isMessagesOnly)(this)&&!(0,r.isAppleTVOnly)(this.deviceFamilies))}))}})),define("web-experience-app/macros/field-from-asset",["exports","@ember/object"],(function(e,t){function i(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e
if(!e)return null
"function"==typeof e.toArray&&(e=e.toArray())
for(let r=0;r<e.length;r++){const{assets:n}=e[r]
if(n)for(let e=0;e<n.length;e++){const r=n[e]
if(t in r)return i(r[t])}}return null}Object.defineProperty(e,"__esModule",{value:!0}),e.fieldFromAsset=i,e.fieldFromAssetMacro=function(e,r,n){return(0,t.computed)(e,(function(){return i((0,t.get)(this,e),r,n)}))}})),define("web-experience-app/macros/formatted-prices",["exports","@ember/object","@ember/string"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){const a=`${e}.{${n}}`
return(0,t.computed)(a,"args",(function(){let t,n=e
if(e.startsWith("args")&&this.args){if(n=e.split("args.")[1],!(n in this.args)||!this.args[n])return[]
t=this.args[n]}else{if(!(e in this)||!this[e])return[]
t=this[e]}return r.filter((e=>t[`has${(0,i.capitalize)(e)}Offers`])).map(((e,i,r)=>{const n=t[`${e}ActionText`]||"",a=t[`${e}PriceFormatted`]
let o=a
return(r.length>1||"buy"!==e)&&""!==n&&(o=`${n} ${a}`),{text:o,type:e}}))}))}
const r=["rent","buy","preorder"],n=r.reduce(((e,t)=>(e.push(`${t}ActionText`),e.push(`${t}PriceFormatted`),e.push(`has${(0,i.capitalize)(t)}Offers`),e)),[]).join(",")})),define("web-experience-app/macros/ranking-by-store",["exports","@ember/object"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.rankingByStore=function(e){return(0,t.computed)("chartPositions",(function(){return(0,t.get)(this,`chartPositions.${e}`)}))}})),define("web-experience-app/models/app-platform",["exports","@ember/object","@ember/object/computed","web-experience-app/utils/product-offers","web-experience-app/utils/apps/device-support"],(function(e,t,i,r,n){var a,o,l,s,p,c,u,d,m,f,b,g,h,y,w,v,_,P,O,A,k,S,x,j,T,z,M,E,C,L,D,I,N,R,F,B,W,V,U,G,K,$,H,q,Y,Q,J,X,Z,ee,te,ie,re,ne,ae,oe,le,se,pe,ce,ue,de,me,fe,be,ge,he,ye,we,ve,_e,Pe,Oe,Ae,ke,Se,xe,je,Te,ze,Me,Ee,Ce,Le,De,Ie,Ne,Re,Fe,Be,We
function Ve(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function Ue(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Ge(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let Ke=(a=(0,i.reads)("attrs.bundleId"),o=(0,i.reads)("attrs.deviceFamilies"),l=(0,i.reads)("attrs.editorialArtwork"),s=(0,i.reads)("attrs.editorialNotes"),p=(0,i.reads)("attrs.hasInAppPurchases"),c=(0,i.reads)("attrs.hasFamilyShareableInAppPurchases"),u=(0,i.reads)("attrs.hasMessagesExtension"),d=(0,i.reads)("attrs.isAppleWatchSupported"),m=(0,i.reads)("attrs.isGameCenterEnabled"),f=(0,i.reads)("attrs.isHiddenFromSpringboard"),b=(0,i.reads)("attrs.isSiriSupported"),g=(0,i.reads)("attrs.preflightPackageUrl"),h=(0,i.reads)("attrs.releaseDate"),y=(0,i.reads)("attrs.requiresGameController"),w=(0,i.reads)("attrs.subtitle"),v=(0,i.reads)("attrs.supportsGameController"),_=(0,i.reads)("attrs.supportsPassbook"),P=(0,i.reads)("attrs.screenshotsByType"),O=(0,i.reads)("attrs.customAttributes"),A=(0,i.reads)("attrs.copyright"),k=(0,i.reads)("attrs.description"),S=(0,i.reads)("attrs.versionHistory"),x=(0,i.reads)("attrs.versionHistory.0"),j=(0,i.or)("description.standard","description.short"),T=(0,i.reads)("attrs.messagesScreenshots"),z=(0,i.reads)("attrs.privacyPolicyUrl"),M=(0,i.reads)("attrs.requirementsString"),E=(0,i.reads)("attrs.seller"),C=(0,i.reads)("attrs.supportURLForLanguage"),L=(0,i.reads)("attrs.websiteUrl"),D=(0,i.reads)("attrs.isStandaloneForWatchOS"),I=(0,i.reads)("attrs.editorialBadgeInfo"),N=(0,i.reads)("editorialNotes.standard"),R=(0,i.equal)("editorialBadgeInfo.editorialBadgeType","editorialPriority"),F=(0,i.reads)("attrs.ageBand"),B=(0,i.reads)("attrs.is32bitOnly"),W=(0,i.reads)("attrs.minimumOSVersion"),V=(0,i.reads)("attrs.requiredCapabilities"),U=(0,i.reads)("attrs.supportsFunCamera"),G=(0,i.reads)("attrs.videoPreviewsByType"),K=(0,i.reads)("attrs.href"),$=(0,i.reads)("attrs.offers"),H=(0,i.reads)("attrs.artwork"),q=(0,i.reads)("attrs.circularArtwork"),Y=(0,i.reads)("attrs.ovalArtwork"),J=Ge((Q=class{get promotionalText(){const e=this.customAttributes?.[this._variant]?.default||this.customAttributes?.default?.default
return this.attrs.promotionalText||e?.customPromotionalText}get languageList(){return this.attrs.languageList||[]}get languagesDisplayString(){const e=this.i18n.t("WEA.Common.Comma").toString()
return this.languageList.join(`${e.trim()} `)}constructor(e,i,r){Ue(this,"_variant",void 0),Ue(this,"attrs",void 0),Ve(this,"bundleId",J,this),Ve(this,"deviceFamilies",X,this),Ve(this,"editorialArtwork",Z,this),Ve(this,"editorialNotes",ee,this),Ve(this,"hasInAppPurchases",te,this),Ve(this,"hasFamilyShareableInAppPurchases",ie,this),Ve(this,"hasMessagesExtension",re,this),Ve(this,"isAppleWatchSupported",ne,this),Ve(this,"isGameCenterEnabled",ae,this),Ve(this,"isHiddenFromSpringboard",oe,this),Ve(this,"isSiriSupported",le,this),Ve(this,"preflightPackageUrl",se,this),Ve(this,"releaseDate",pe,this),Ve(this,"requiresGameController",ce,this),Ve(this,"subtitle",ue,this),Ve(this,"supportsGameController",de,this),Ve(this,"supportsPassbook",me,this),Ve(this,"screenshotsByType",fe,this),Ve(this,"customAttributes",be,this),Ve(this,"copyright",ge,this),Ve(this,"description",he,this),Ve(this,"versionHistory",ye,this),Ve(this,"mostRecentVersion",we,this),Ve(this,"appDescription",ve,this),Ve(this,"messagesScreenshots",_e,this),Ve(this,"privacyPolicyUrl",Pe,this),Ve(this,"requirementsString",Oe,this),Ve(this,"seller",Ae,this)
Ve(this,"supportURLForLanguage",ke,this),Ve(this,"websiteUrl",Se,this),Ve(this,"isStandaloneForWatchOS",xe,this),Ve(this,"editorialBadgeInfo",je,this),Ve(this,"editorsNotes",Te,this),Ve(this,"isEditorsChoice",ze,this),Ve(this,"ageBand",Me,this),Ve(this,"is32bitOnly",Ee,this),Ve(this,"minimumOSVersion",Ce,this),Ve(this,"requiredCapabilities",Le,this),Ve(this,"supportsFunCamera",De,this),Ve(this,"videoPreviewsByType",Ie,this),Ve(this,"href",Ne,this),Ve(this,"offers",Re,this),Ve(this,"artwork",Fe,this),Ve(this,"circularArtwork",Be,this),Ve(this,"ovalArtwork",We,this),(0,t.set)(this,"i18n",e),(0,t.set)(this,"attrs",i),(0,t.set)(this,"_variant",r?.cppData?.ppid||"default")}get productOffers(){return new r.ProductOffers({offers:this.offers})}get appArtwork(){return this.isMessagesOnly?this.ovalArtwork:this.artwork}get isIOSApp(){return"iosSoftware"===this.kind&&(!this.isMessagesOnly&&!(0,n.isAppleTVOnly)(this.deviceFamilies))}get isMessagesOnly(){return this.hasMessagesExtension&&this.isHiddenFromSpringboard}get usesExternalPurchase(){return this.attrs.usesExternalPurchase}get usesExternalLinkPurchase(){return this.attrs.usesExternalLinkPurchase}}).prototype,"bundleId",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=Ge(Q.prototype,"deviceFamilies",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=Ge(Q.prototype,"editorialArtwork",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=Ge(Q.prototype,"editorialNotes",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=Ge(Q.prototype,"hasInAppPurchases",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=Ge(Q.prototype,"hasFamilyShareableInAppPurchases",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=Ge(Q.prototype,"hasMessagesExtension",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ne=Ge(Q.prototype,"isAppleWatchSupported",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ae=Ge(Q.prototype,"isGameCenterEnabled",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),oe=Ge(Q.prototype,"isHiddenFromSpringboard",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),le=Ge(Q.prototype,"isSiriSupported",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),se=Ge(Q.prototype,"preflightPackageUrl",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=Ge(Q.prototype,"releaseDate",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ce=Ge(Q.prototype,"requiresGameController",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=Ge(Q.prototype,"subtitle",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=Ge(Q.prototype,"supportsGameController",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=Ge(Q.prototype,"supportsPassbook",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fe=Ge(Q.prototype,"screenshotsByType",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),be=Ge(Q.prototype,"customAttributes",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ge=Ge(Q.prototype,"copyright",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),he=Ge(Q.prototype,"description",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ye=Ge(Q.prototype,"versionHistory",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),we=Ge(Q.prototype,"mostRecentVersion",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ve=Ge(Q.prototype,"appDescription",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_e=Ge(Q.prototype,"messagesScreenshots",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Pe=Ge(Q.prototype,"privacyPolicyUrl",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Oe=Ge(Q.prototype,"requirementsString",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ae=Ge(Q.prototype,"seller",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ke=Ge(Q.prototype,"supportURLForLanguage",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Se=Ge(Q.prototype,"websiteUrl",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),xe=Ge(Q.prototype,"isStandaloneForWatchOS",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),je=Ge(Q.prototype,"editorialBadgeInfo",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Te=Ge(Q.prototype,"editorsNotes",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ze=Ge(Q.prototype,"isEditorsChoice",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Me=Ge(Q.prototype,"ageBand",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ee=Ge(Q.prototype,"is32bitOnly",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ce=Ge(Q.prototype,"minimumOSVersion",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Le=Ge(Q.prototype,"requiredCapabilities",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),De=Ge(Q.prototype,"supportsFunCamera",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ie=Ge(Q.prototype,"videoPreviewsByType",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ne=Ge(Q.prototype,"href",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Re=Ge(Q.prototype,"offers",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fe=Ge(Q.prototype,"artwork",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Be=Ge(Q.prototype,"circularArtwork",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),We=Ge(Q.prototype,"ovalArtwork",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q)
e.default=Ke})),define("web-experience-app/models/app",["exports","@ember/application","@ember/object","@ember/object/computed","web-experience-app/macros/ranking-by-store","web-experience-app/utils/apps/device-support","web-experience-app/utils/product-offers","web-experience-app/models/app-platform","web-experience-app/services/media-api","web-experience-app/models/in-app"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m,f,b,g,h,y,w,v,_,P,O,A,k,S,x,j,T,z,M,E,C,L,D,I,N,R,F,B,W,V,U,G,K,$,H,q,Y,Q,J,X,Z,ee,te,ie,re,ne,ae,oe,le,se,pe,ce,ue,de,me,fe,be,ge,he,ye,we,ve,_e,Pe,Oe,Ae,ke,Se,xe,je,Te,ze,Me,Ee,Ce,Le,De,Ie,Ne,Re,Fe,Be,We,Ve,Ue,Ge,Ke,$e,He,qe,Ye,Qe,Je,Xe,Ze,et,tt,it,rt,nt,at,ot,lt,st,pt,ct,ut,dt,mt,ft,bt,gt,ht,yt,wt,vt,_t,Pt,Ot,At,kt,St,xt,jt,Tt,zt,Mt,Et,Ct,Lt,Dt,It,Nt,Rt,Ft,Bt,Wt,Vt,Ut,Gt,Kt,$t
function Ht(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function qt(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?Ht(Object(i),!0).forEach((function(t){Qt(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ht(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Yt(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function Qt(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Jt(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let Xt=(c=(0,r.reads)("_dataRecord.id"),u=(0,r.reads)("_dataRecord.type"),d=(0,r.reads)("_dataRecord._meta"),m=(0,r.reads)("_dataRecord.artistName"),f=(0,r.reads)("_dataRecord.chartPositions"),b=(0,r.reads)("_dataRecord.contentRatingsBySystem"),g=(0,r.reads)("_dataRecord.distributionKind"),h=(0,r.reads)("_dataRecord.eula"),y=(0,r.reads)("_dataRecord.fileSizeByDevice"),w=(0,r.reads)("_dataRecord.firstVersionSupportingInAppPurchaseApi"),v=(0,r.reads)("_dataRecord.hasEula"),_=(0,r.reads)("_dataRecord.isFirstPartyHideableApp"),P=(0,r.reads)("_dataRecord.isIOSBinaryMacOSCompatible"),O=(0,r.reads)("_dataRecord.metricsBase"),A=(0,r.reads)("_dataRecord.name"),k=(0,r.reads)("_dataRecord.privacy"),S=(0,r.reads)("_dataRecord.requirementsByDeviceFamily"),x=(0,r.reads)("_dataRecord.reviewsRestricted"),j=(0,r.reads)("_dataRecord.sellerLabel"),T=(0,r.reads)("_dataRecord.supportsArcade"),z=(0,r.reads)("_dataRecord.url"),M=(0,r.reads)("_dataRecord.usesLocationBackgroundMode"),E=(0,r.reads)("_dataRecord.genreNames"),C=(0,r.alias)("_dataRecord.userRating"),L=(0,r.reads)("_dataRecord.app-events"),D=(0,r.reads)("_dataRecord.developer.0"),I=(0,r.reads)("_dataRecord.related-editorial-items"),N=(0,r.reads)("_dataRecord.genres"),R=(0,r.reads)("appArtwork"),F=(0,r.reads)("contentRatingsBySystem.appsApple"),B=(0,r.reads)("primaryPlatform.copyright"),W=(0,r.reads)("primaryPlatform.appDescription"),V=(0,r.reads)("primaryPlatform.editorsNotes"),U=(0,r.reads)("primaryPlatform.isEditorsChoice"),G=(0,r.reads)("primaryPlatform.hasFamilyShareableInAppPurchases"),K=(0,r.reads)("primaryPlatform.hasInAppPurchases"),$=(0,r.reads)("supportsGameController"),H=(0,i.computed)("familyShareEnabledDate"),q=(0,i.computed)("isFamilySharingSupported","hasFamilyShareableInAppPurchases"),Y=(0,i.computed)("isFamilySharingSupported","hasFamilyShareableInAppPurchases","hasInAppPurchases","productOffers.{buyPrice,hasPreorderOffers,preorderPrice}"),Q=(0,r.reads)("primaryPlatform.isGameCenterEnabled"),J=(0,r.reads)("primaryPlatform.isMessagesOnly"),X=(0,r.reads)("isIOSBinaryMacOSCompatible"),Z=(0,r.reads)("primaryPlatform.isSiriSupported"),ee=(0,r.reads)("supportsPassbook"),te=(0,r.reads)("primaryPlatform.isStandaloneForWatchOS"),ie=(0,r.reads)("primaryPlatform.languagesDisplayString"),re=(0,r.reads)("primaryPlatform.minimumOSVersion"),ne=(0,r.reads)("primaryPlatform.privacyPolicyUrl"),ae=(0,r.reads)("primaryPlatform.promotionalText"),oe=(0,r.reads)("contentRating.name"),le=(0,r.reads)("primaryPlatform.releaseDate"),se=(0,r.reads)("primaryPlatform.requiresGameController"),pe=(0,r.reads)("primaryPlatform.seller"),ce=(0,r.reads)("primaryPlatform.supportsGameController"),ue=(0,r.reads)("primaryPlatform.supportsPassbook"),de=(0,r.reads)("primaryPlatform.supportURLForLanguage"),me=(0,r.reads)("primaryPlatform.websiteUrl"),fe=(0,r.reads)("genres.0"),be=(0,r.or)("primaryGenre.name","genreNames.0"),ge=(0,n.rankingByStore)("appStore"),he=(0,n.rankingByStore)("messages"),ye=(0,n.rankingByStore)("watch"),we=(0,n.rankingByStore)("appletv"),ve=(0,i.computed)("primaryPlatform.offers.[]"),_e=(0,i.computed)("primaryPlatform.{artwork,appArtwork}"),Pe=(0,i.computed)("topInApps.[]"),Oe=(0,r.mapBy)("inAppPurchases","id"),Ae=(0,i.computed)("deviceFamilies.[]","iosPlatform.requirementsString","isPrimaryiOS","isPrimarymacOS","osxPlatform.requirementsString","primaryPlatform.requirementsString"),ke=(0,i.computed)("primaryPlatform.offers.[]"),Se=(0,r.reads)("platforms.appletvos"),xe=(0,r.reads)("platforms.ios"),je=(0,r.reads)("platforms.osx"),Te=(0,r.reads)("platforms.ios"),ze=(0,i.computed)("primaryPlatformSupported"),Me=(0,i.computed)("deviceFamilies.[]","isMessagesOnly"),$t=Kt=class e{constructor(e,r){Qt(this,"_dataRecord",void 0),Qt(this,"isApp",!0),Qt(this,"isAppBundle",!1),Qt(this,"isInAppPurchase",!1),Yt(this,"id",Ce,this),Yt(this,"type",Le,this),Yt(this,"meta",De,this),Yt(this,"artistName",Ie,this),Yt(this,"chartPositions",Ne,this),Yt(this,"contentRatingsBySystem",Re,this),Yt(this,"distributionKind",Fe,this),Yt(this,"eula",Be,this),Yt(this,"fileSizeByDevice",We,this),Yt(this,"firstVersionSupportingInAppPurchaseApi",Ve,this),Yt(this,"hasEula",Ue,this),Yt(this,"isFirstPartyHideableApp",Ge,this),Yt(this,"isIOSBinaryMacOSCompatible",Ke,this),Yt(this,"metricsBase",$e,this),Yt(this,"name",He,this),Yt(this,"privacy",qe,this),Yt(this,"requirementsByDeviceFamily",Ye,this),Yt(this,"reviewsRestricted",Qe,this),Yt(this,"sellerLabel",Je,this),Yt(this,"supportsArcade",Xe,this),Yt(this,"url",Ze,this),Yt(this,"usesLocationBackgroundMode",et,this),Yt(this,"genreNames",tt,this),Yt(this,"userRating",it,this),Yt(this,"appEvents",rt,this),Yt(this,"developer",nt,this)
Yt(this,"relatedEditorialItems",at,this),Yt(this,"genres",ot,this),Yt(this,"artwork",lt,this),Yt(this,"contentRating",st,this),Yt(this,"copyright",pt,this),Yt(this,"description",ct,this),Yt(this,"editorsNotes",ut,this),Yt(this,"isEditorsChoice",dt,this),Yt(this,"hasFamilyShareableInAppPurchases",mt,this),Yt(this,"hasInAppPurchases",ft,this),Yt(this,"isGameControllerSupported",bt,this),Yt(this,"isGameCenterSupported",gt,this),Yt(this,"isMessagesOnly",ht,this),Yt(this,"isSiliconSupported",yt,this),Yt(this,"isSiriSupported",wt,this),Yt(this,"isWalletSupported",vt,this),Yt(this,"isWatchOnly",_t,this),Yt(this,"languagesDisplayString",Pt,this),Yt(this,"minimumOSVersion",Ot,this),Yt(this,"privacyPolicyUrl",At,this),Yt(this,"promotionalText",kt,this),Yt(this,"ratingText",St,this),Yt(this,"releaseDate",xt,this),Yt(this,"requiresGameController",jt,this),Yt(this,"seller",Tt,this),Yt(this,"supportsGameController",zt,this),Yt(this,"supportsPassbook",Mt,this),Yt(this,"supportURLForLanguage",Et,this),Yt(this,"websiteUrl",Ct,this),Yt(this,"primaryGenre",Lt,this)
Yt(this,"primaryGenreName",Dt,this),Yt(this,"appStoreRank",It,this),Yt(this,"messagesStoreRank",Nt,this),Yt(this,"watchStoreRank",Rt,this),Yt(this,"appleTVStoreRank",Ft,this),Yt(this,"inAppPurchasesIds",Bt,this),Yt(this,"atvPlatform",Wt,this),Yt(this,"iosPlatform",Vt,this),Yt(this,"osxPlatform",Ut,this),Yt(this,"watchPlatform",Gt,this),(0,t.setOwner)(this,e),this.i18n=e.lookup("service:i18n"),(0,i.set)(this,"platform",e.lookup("service:platform")),(0,i.set)(this,"_dataRecord",r)}get deviceFamilies(){return this._dataRecord.deviceFamilies||[]}get familyShareEnabledDate(){return this._dataRecord.familyShareEnabledDate}get isPreorder(){return this._dataRecord.isPreorder||!1}get customersAlsoBoughtApps(){const i=this._dataRecord["customers-also-bought-apps"]
if(Array.isArray(i)){const r=(0,t.getOwner)(this),n=i.map((t=>new e(r,t)))
return(0,s.createProxyWithMetaObject)(n,i.meta)}return[]}addCustomersAlsoBoughtApps(e,t){const r=(0,s.createProxyWithMetaObject)([...this._dataRecord["customers-also-bought-apps"],...e],t);(0,i.set)(this._dataRecord,"customers-also-bought-apps",r)}get developerOtherApps(){const i=this._dataRecord["developer-other-apps"]
if(Array.isArray(i)){const r=(0,t.getOwner)(this),n=i.map((t=>new e(r,t)))
return(0,s.createProxyWithMetaObject)(n,i.meta)}return[]}addDeveloperOtherApps(e,t){const r=(0,s.createProxyWithMetaObject)([...this._dataRecord["developer-other-apps"],...e],t);(0,i.set)(this._dataRecord,"developer-other-apps",r)}get merchandisedInApps(){return(this._dataRecord["merchandised-in-apps"]||[]).map((e=>new p.default(qt(qt({},e),{},{kind:"softwareAddOn"}))))}get platforms(){const e={}
for(const t in this._dataRecord.platformAttributes)e[t]=new l.default(this.i18n,this._dataRecord.platformAttributes[t],this.meta)
return e}get reviews(){return this._dataRecord.reviews.map((e=>qt(qt({},e),{},{body:e.review,name:e.userName,responseDate:e.developerResponse?.date,responseText:e.developerResponse?.body})))}get topInApps(){return this._dataRecord["top-in-apps"].map((e=>new p.default(e)))}get isFamilySharingSupported(){const{familyShareEnabledDate:e}=this
if(!e)return!1
const t=new Date(e)
return new Date>=t}get canFamilyShareInAppPurchases(){return this.isFamilySharingSupported&&this.hasFamilyShareableInAppPurchases}get canFamilyShareApp(){const{buyPrice:e=0,hasPreorderOffers:t,preorderPrice:i=0}=this.productOffers,r=t?0===i:0===e
return this.isFamilySharingSupported&&!this.hasFamilyShareableInAppPurchases&&!this.hasInAppPurchases&&!r}get productOffers(){const{offers:e}=this.primaryPlatform
return new o.ProductOffers({offers:e})}get promotedInApps(){return this.merchandisedInApps.filter((e=>{let{isMerchandisedEnabled:t,isMerchandisedVisibleByDefault:i,isSubscription:r}=e
return t&&i&&!r}))}get subscriptions(){return this.merchandisedInApps.filter((e=>{let{isMerchandisedEnabled:t,isMerchandisedVisibleByDefault:i,isSubscription:r}=e
return t&&i&&r}))}get appArtwork(){const{primaryPlatform:e}=this
if(e){const{artwork:e,appArtwork:t}=this.primaryPlatform
if(t||e)return t||e}}get inAppPurchases(){const{topInApps:e}=this
if(e&&e.length)return e.filter((e=>e.isMerchandisedEnabled&&!e.isSubscription))}get kind(){const{deviceFamilies:e}=this
if((0,a.isMacOnly)(e))return"desktopApp"
if((0,a.isAppleTVOnly)(e))return"AppleTVOnlyApp"
let t="iOS"
return(0,a.isAppleTVSupported)(e)&&(t+="tvOS"),(0,a.isMacSupported)(e)&&(t+="macOS"),(0,a.isWatchSupported)(e)&&(t+="watchOS"),"iOS"===t?"iosSoftware":`${t}App`}get requirementsString(){const{deviceFamilies:e,i18n:t,primaryPlatform:i}=this
if(e?.length>=1){const{requirementsString:r}=i
if((0,a.isiOSSupported)(e)&&(0,a.isMacSupported)(e)){const e=t.t("WEA.Common.SentenceDelimiter")
if(this.isPrimarymacOS&&this.iosPlatform)return`${r}${e} ${this.iosPlatform.requirementsString}`
if(this.isPrimaryiOS&&this.osxPlatform)return`${r} ${this.osxPlatform.requirementsString}${e}`}return r}}get size(){const{primaryPlatform:e}=this
if(e){const{offers:e}=this.primaryPlatform
if(e){const[t]=e
if(t&&t.assets&&t.assets.length)return t.assets[0].size}}return 0}get primaryPlatform(){const{primaryPlatformSupported:e}=this
return e?this[e]:{}}get primaryPlatformSupported(){const{deviceFamilies:e,platform:t}=this
return(0,a.primaryPlatformSupported)(e,t.browser.isiOS)}get isPrimaryTVOS(){return this.primaryPlatformSupported===a.PLATFORMS.tvos}get isPrimaryiOS(){return this.primaryPlatformSupported===a.PLATFORMS.iphone}get isPrimarymacOS(){return this.primaryPlatformSupported===a.PLATFORMS.mac}get isPrimaryWatchOS(){return this.primaryPlatformSupported===a.PLATFORMS.watch}get isIOSApp(){return(0,a.isiOSApp)(this.deviceFamilies,this.isMessagesOnly)}get showAppPrivacy(){return!this.primaryPlatform.bundleId?.includes("com.apple.InstallAssistant.")}},Qt(Kt,"modelName","app"),Ce=Jt((Ee=$t).prototype,"id",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Le=Jt(Ee.prototype,"type",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),De=Jt(Ee.prototype,"meta",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ie=Jt(Ee.prototype,"artistName",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ne=Jt(Ee.prototype,"chartPositions",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Re=Jt(Ee.prototype,"contentRatingsBySystem",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fe=Jt(Ee.prototype,"distributionKind",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Be=Jt(Ee.prototype,"eula",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),We=Jt(Ee.prototype,"fileSizeByDevice",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ve=Jt(Ee.prototype,"firstVersionSupportingInAppPurchaseApi",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ue=Jt(Ee.prototype,"hasEula",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ge=Jt(Ee.prototype,"isFirstPartyHideableApp",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ke=Jt(Ee.prototype,"isIOSBinaryMacOSCompatible",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$e=Jt(Ee.prototype,"metricsBase",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),He=Jt(Ee.prototype,"name",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qe=Jt(Ee.prototype,"privacy",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ye=Jt(Ee.prototype,"requirementsByDeviceFamily",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Qe=Jt(Ee.prototype,"reviewsRestricted",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Je=Jt(Ee.prototype,"sellerLabel",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Xe=Jt(Ee.prototype,"supportsArcade",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ze=Jt(Ee.prototype,"url",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),et=Jt(Ee.prototype,"usesLocationBackgroundMode",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tt=Jt(Ee.prototype,"genreNames",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),it=Jt(Ee.prototype,"userRating",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rt=Jt(Ee.prototype,"appEvents",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),nt=Jt(Ee.prototype,"developer",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),at=Jt(Ee.prototype,"relatedEditorialItems",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ot=Jt(Ee.prototype,"genres",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),lt=Jt(Ee.prototype,"artwork",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),st=Jt(Ee.prototype,"contentRating",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=Jt(Ee.prototype,"copyright",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ct=Jt(Ee.prototype,"description",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ut=Jt(Ee.prototype,"editorsNotes",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dt=Jt(Ee.prototype,"isEditorsChoice",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mt=Jt(Ee.prototype,"hasFamilyShareableInAppPurchases",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ft=Jt(Ee.prototype,"hasInAppPurchases",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),bt=Jt(Ee.prototype,"isGameControllerSupported",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jt(Ee.prototype,"isFamilySharingSupported",[H],Object.getOwnPropertyDescriptor(Ee.prototype,"isFamilySharingSupported"),Ee.prototype),Jt(Ee.prototype,"canFamilyShareInAppPurchases",[q],Object.getOwnPropertyDescriptor(Ee.prototype,"canFamilyShareInAppPurchases"),Ee.prototype),Jt(Ee.prototype,"canFamilyShareApp",[Y],Object.getOwnPropertyDescriptor(Ee.prototype,"canFamilyShareApp"),Ee.prototype),gt=Jt(Ee.prototype,"isGameCenterSupported",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ht=Jt(Ee.prototype,"isMessagesOnly",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),yt=Jt(Ee.prototype,"isSiliconSupported",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),wt=Jt(Ee.prototype,"isSiriSupported",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),vt=Jt(Ee.prototype,"isWalletSupported",[ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_t=Jt(Ee.prototype,"isWatchOnly",[te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Pt=Jt(Ee.prototype,"languagesDisplayString",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ot=Jt(Ee.prototype,"minimumOSVersion",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),At=Jt(Ee.prototype,"privacyPolicyUrl",[ne],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),kt=Jt(Ee.prototype,"promotionalText",[ae],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),St=Jt(Ee.prototype,"ratingText",[oe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),xt=Jt(Ee.prototype,"releaseDate",[le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),jt=Jt(Ee.prototype,"requiresGameController",[se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Tt=Jt(Ee.prototype,"seller",[pe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),zt=Jt(Ee.prototype,"supportsGameController",[ce],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Mt=Jt(Ee.prototype,"supportsPassbook",[ue],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Et=Jt(Ee.prototype,"supportURLForLanguage",[de],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ct=Jt(Ee.prototype,"websiteUrl",[me],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Lt=Jt(Ee.prototype,"primaryGenre",[fe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Dt=Jt(Ee.prototype,"primaryGenreName",[be],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),It=Jt(Ee.prototype,"appStoreRank",[ge],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Nt=Jt(Ee.prototype,"messagesStoreRank",[he],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Rt=Jt(Ee.prototype,"watchStoreRank",[ye],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ft=Jt(Ee.prototype,"appleTVStoreRank",[we],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jt(Ee.prototype,"productOffers",[ve],Object.getOwnPropertyDescriptor(Ee.prototype,"productOffers"),Ee.prototype),Jt(Ee.prototype,"appArtwork",[_e],Object.getOwnPropertyDescriptor(Ee.prototype,"appArtwork"),Ee.prototype),Jt(Ee.prototype,"inAppPurchases",[Pe],Object.getOwnPropertyDescriptor(Ee.prototype,"inAppPurchases"),Ee.prototype),Bt=Jt(Ee.prototype,"inAppPurchasesIds",[Oe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jt(Ee.prototype,"requirementsString",[Ae],Object.getOwnPropertyDescriptor(Ee.prototype,"requirementsString"),Ee.prototype),Jt(Ee.prototype,"size",[ke],Object.getOwnPropertyDescriptor(Ee.prototype,"size"),Ee.prototype),Wt=Jt(Ee.prototype,"atvPlatform",[Se],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vt=Jt(Ee.prototype,"iosPlatform",[xe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ut=Jt(Ee.prototype,"osxPlatform",[je],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Gt=Jt(Ee.prototype,"watchPlatform",[Te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jt(Ee.prototype,"primaryPlatform",[ze],Object.getOwnPropertyDescriptor(Ee.prototype,"primaryPlatform"),Ee.prototype),Jt(Ee.prototype,"isIOSApp",[Me],Object.getOwnPropertyDescriptor(Ee.prototype,"isIOSApp"),Ee.prototype),Ee)
e.default=Xt})),define("web-experience-app/models/in-app",["exports","@ember/object","@ember/object/computed","web-experience-app/utils/product-offers"],(function(e,t,i,r){var n,a,o,l,s,p,c,u,d,m,f,b,g,h,y,w,v,_,P,O,A,k,S,x,j,T,z,M,E,C,L,D,I,N,R,F,B
function W(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function V(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function U(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let G=(n=(0,i.reads)("_dataRecord.description"),a=(0,i.reads)("_dataRecord.isMerchandisedEnabled"),o=(0,i.reads)("_dataRecord.isMerchandisedVisibleByDefault"),l=(0,i.reads)("_dataRecord.isSubscription"),s=(0,i.reads)("_dataRecord.name"),p=(0,i.reads)("_dataRecord.offerName"),c=(0,i.reads)("_dataRecord.releaseDate"),u=(0,i.reads)("_dataRecord.subscriptionFamilyId"),d=(0,i.reads)("_dataRecord.url"),m=(0,i.reads)("_dataRecord.artwork"),f=(0,i.reads)("_dataRecord.app"),b=(0,i.reads)("_dataRecord.offers"),g=(0,i.alias)("offers.0"),h=(0,i.alias)("firstOffer.discounts.0"),y=(0,i.alias)("firstOfferDiscount.modeType"),w=(0,i.equal)("introPricing","FreeTrial"),v=(0,i.equal)("introPricing","PayAsYouGo"),_=(0,i.equal)("introPricing","PayUpFront"),O=U((P=class{constructor(e){V(this,"isInAppPurchase",!0),V(this,"isApp",!1),V(this,"isAppBundle",!1),V(this,"kind","softwareAddOn"),W(this,"description",O,this),W(this,"isMerchandisedEnabled",A,this),W(this,"isMerchandisedVisibleByDefault",k,this),W(this,"isSubscription",S,this),W(this,"name",x,this),W(this,"offerName",j,this),W(this,"releaseDate",T,this),W(this,"subscriptionFamilyId",z,this),W(this,"url",M,this),W(this,"artwork",E,this),W(this,"app",C,this),W(this,"offers",L,this),W(this,"firstOffer",D,this),W(this,"firstOfferDiscount",I,this),W(this,"introPricing",N,this),W(this,"isFreeTrial",R,this),W(this,"isPayAsYouGo",F,this),W(this,"isPayUpFront",B,this),(0,t.set)(this,"_dataRecord",e)}get productOffers(){return new r.ProductOffers({offers:this.offers})}get priceFormatted(){const{firstOfferDiscount:e}=this
return e?e.priceFormatted:this.firstOffer.priceFormatted}}).prototype,"description",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=U(P.prototype,"isMerchandisedEnabled",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=U(P.prototype,"isMerchandisedVisibleByDefault",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=U(P.prototype,"isSubscription",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=U(P.prototype,"name",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=U(P.prototype,"offerName",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=U(P.prototype,"releaseDate",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=U(P.prototype,"subscriptionFamilyId",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=U(P.prototype,"url",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=U(P.prototype,"artwork",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=U(P.prototype,"app",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=U(P.prototype,"offers",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=U(P.prototype,"firstOffer",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=U(P.prototype,"firstOfferDiscount",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=U(P.prototype,"introPricing",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=U(P.prototype,"isFreeTrial",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=U(P.prototype,"isPayAsYouGo",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=U(P.prototype,"isPayUpFront",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P)
e.default=G})),define("web-experience-app/modifiers/did-insert",["exports","@ember/render-modifiers/modifiers/did-insert"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/modifiers/did-update",["exports","@ember/render-modifiers/modifiers/did-update"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/modifiers/in-parent-scrollport",["exports","@amp/ember-ui-media-shelf/modifiers/in-parent-scrollport"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}))
define("web-experience-app/modifiers/in-viewport",["exports","ember-in-viewport/modifiers/in-viewport"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/modifiers/observe-impressions",["exports","@amp/ember-metrics/modifiers/observe-impressions"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/modifiers/reset-scroll",["exports","@amp/ember-ui-media-shelf/modifiers/reset-scroll"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/modifiers/scroll-to-child-start",["exports","@amp/ember-ui-media-shelf/modifiers/scroll-to-child-start"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/modifiers/will-destroy",["exports","@ember/render-modifiers/modifiers/will-destroy"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/presenters/lockups/app-event",["exports","web-experience-app/presenters/lockups/base"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{get eyebrow(){return this.lockup.kind}get lockupKind(){return"appEvent"}get subtitle(){return this.lockup.description?.standard}}e.default=i})),define("web-experience-app/presenters/lockups/app",["exports","web-experience-app/presenters/lockups/base","@ember/service","web-experience-app/helpers/app-artwork","web-experience-app/utils/apps/device-support","web-experience-app/utils/apps/apps"],(function(e,t,i,r,n,a){var o,l
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let s=(o=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="platform",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}get isExplicit(){return!1}get url(){return this.item.url}get kind(){return(0,a.getKind)(this.item?.deviceFamilies)}get name(){return this.item.name}get primaryGenre(){return this.item.genres?.firstObject||this.item.genres?.[0]}get primaryPlatform(){const{deviceFamilies:e=[]}=this.item,{platform:t}=this,i=(0,n.primaryPlatformSupported)(e,t.browser.isiOS)
return i?this[i]:{}}get atvPlatform(){return this.item.platformAttributes?.appletvos}get iosPlatform(){return this.item.platformAttributes?.ios}get osxPlatform(){return this.item.platformAttributes?.osx}get watchPlatform(){return this.item.platformAttributes?.ios}get artwork(){const{primaryPlatform:e}=this
if(e)return(0,r.appArtwork)(e)||e.artwork}},p=o.prototype,c="platform",u=[i.inject],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),l=f,o)
var p,c,u,d,m,f
e.default=s})),define("web-experience-app/presenters/lockups/base",["exports","@ember/object","@ember/object/computed","@ember/service","web-experience-app/utils/date-time"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var a=t.default.extend({i18n:(0,r.inject)(),model:null,lockup:null,id:(0,i.readOnly)("lockup.id"),artwork:(0,i.readOnly)("lockup.artwork"),kind:(0,i.readOnly)("lockup.kind"),name:(0,i.readOnly)("lockup.name"),url:(0,i.readOnly)("lockup.url"),isArtistLockup:(0,i.match)("model.constructor.modelName",/product\/artist/),artistName:(0,i.readOnly)("lockup.artistName"),buyPreviewUrl:(0,i.readOnly)("lockup.buyPreviewUrl"),subscriptionPreviewUrl:(0,i.readOnly)("lockup.subscriptionPreviewUrl"),playbackUrl:(0,i.readOnly)("lockup.playbackUrl"),isExplicit:(0,t.computed)("lockup.{isExplicit,contentRating}",(function(){return this.lockup.isExplicit||"explicit"===this.lockup.contentRating})),description:(0,i.readOnly)("lockup.description"),releaseDate:(0,i.readOnly)("lockup.releaseDate"),videoSubType:(0,i.readOnly)("lockup.videoSubType"),primaryGenre:(0,i.readOnly)("lockup.primaryGenre"),isIOSApp:(0,i.readOnly)("lockup.isIOSApp"),isSubscription:(0,i.readOnly)("lockup.isSubscription"),introPricing:(0,i.readOnly)("lockup.introPricing"),priceFormatted:(0,i.readOnly)("lockup.priceFormatted"),pageProgressionDirection:(0,i.readOnly)("lockup.pageProgressionDirection"),releaseYear:(0,t.computed)("i18n.locale","releaseDate",(function(){const{releaseDate:e}=this
return e?(0,n.formatDate)(e,this.i18n.locale,n.FORMATS.YEAR):null})),isNotPrimaryMusicVideoArtist:(0,t.computed)("model","artistName",(function(){const{model:e,artistName:t,isArtistLockup:i}=this
return!(!i||e.name===t)})),musicVideoSubtitle:(0,t.computed)("artistName","releaseYear","isNotPrimaryMusicVideoArtist",(function(){return this.isNotPrimaryMusicVideoArtist?this.i18n.t("WEA.Common.DotSeparator",{string1:this.artistName,string2:this.releaseYear}):this.releaseYear})),sectionName:(0,i.readOnly)("meta.type"),albumSubtitle:(0,t.computed)("artistName","sectionName","releaseYear",(function(){return"appearsOnAlbums"===this.sectionName?this.artistName:this.releaseYear}))})
e.default=a})),define("web-experience-app/presenters/lockups/books",["exports","web-experience-app/presenters/lockups/base"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{get type(){return this.lockup.type}}e.default=i})),define("web-experience-app/presenters/lockups/editorial-item",["exports","web-experience-app/presenters/lockups/base"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{constructor(){var e,t,i
super(...arguments),i="editorialItem",(t="kind")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}get artwork(){return this.lockup.cardArtwork}get eyebrow(){return this.lockup.label}get name(){return this.lockup.editorialNotes?.name}get subtitle(){return this.lockup.editorialNotes?.short}}e.default=i})),define("web-experience-app/presenters/media-api-review",["exports","@ember/object"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{get body(){return this.item.review}get rating(){return this.item.rating}get name(){return this.item.userName}get responseDate(){return this.item.developerResponse?.date}get responseText(){return this.item.developerResponse?.body||""}get date(){return this.item.date}get title(){return this.item.title}}e.default=i})),define("web-experience-app/presenters/media-meta/base",["exports","@ember/object","@ember/object/computed"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({model:null,id:(0,i.alias)("model.id"),artistName:(0,i.alias)("model.artistName"),isExplicit:(0,i.alias)("model.isExplicit"),kind:(0,i.alias)("model.kind"),title:(0,i.or)("model.name","model.title"),subtitle:(0,i.alias)("model.artistName"),canHaveVideoPlayback:(0,i.equal)("kind","clip"),url:(0,t.computed)("canHaveVideoPlayback","model.{playbackUrl,productOffers.buyPreviewUrl}",(function(){const{model:e}=this
return this.canHaveVideoPlayback?e.playbackUrl:e.productOffers?.buyPreviewUrl})),meta:(0,t.computed)("title","subtitle",(function(){return{title:this.title,subtitle:this.subtitle}}))})
e.default=r})),define("web-experience-app/presenters/media-meta/editorial-video",["exports","web-experience-app/presenters/media-meta/base","@ember/object/computed"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({url:(0,i.alias)("model.assetUrl")})
e.default=r})),define("web-experience-app/presenters/media-meta/lockup-video",["exports","web-experience-app/presenters/media-meta/base","@ember/object"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({id:(0,i.computed)("model.{id,kind}","url",(function(){return"clip"===this.model.kind?this.url:this.model.id}))})
e.default=r})),define("web-experience-app/presenters/media-meta/podcast-video",["exports","web-experience-app/presenters/media-meta/base","@ember/object/computed"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({kind:"podcastVideo",url:(0,i.reads)("model.assetUrl")})
e.default=r})),define("web-experience-app/presenters/media-meta/story",["exports","web-experience-app/presenters/media-meta/base","@ember/object/computed"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({kind:"storyVideo",subtitle:(0,i.alias)("model.category"),url:(0,i.alias)("model.videoURL")})
e.default=r})),define("web-experience-app/resolver",["exports","@ember/object","ember-resolver"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=i.default.extend({moduleNameLookupPatterns:(0,t.computed)("defaultModuleName","mainModuleName","nestedColocationComponentModuleName",(function(){return[this.mainModuleName,this.defaultModuleName,this.nestedColocationComponentModuleName]}))})
e.default=r})),define("web-experience-app/router",["exports","web-experience-app/config/environment","@ember/routing/router","@ember/service","@apple/babel-plugin-feature-remover","@glimmer/tracking","@ember/runloop","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d
function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let g=(s=class extends i.default{constructor(){super(...arguments),m(this,"fastboot",p,this),m(this,"platform",c,this),m(this,"mediaPlayer",u,this),m(this,"isFirstRoute",d,this),f(this,"location",t.default.locationType),f(this,"rootURL",t.default.rootURL),(0,l.isSSR)()||emberAutoImportDynamic("@marcom/ac-headjs/FocusManager").then((e=>{new(0,e.default)})),this.on("routeDidChange",(()=>{this.platform.nativeLaunchFailed=!1,this.isFirstRoute=!1,(0,l.isSSR)()||(0,o.scheduleOnce)("afterRender",this,this.mediaPlayer.debouncedInitVideos)}))}},p=b(s.prototype,"fastboot",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=b(s.prototype,"platform",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=b(s.prototype,"mediaPlayer",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=b(s.prototype,"isFirstRoute",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),s)
e.default=g,g.map((function(){this.route("not-found",{path:"redeem"}),this.route("storefront",{path:":storefrontId"},(function(){this.route("charts",{resetNamespace:!0},(function(){this.route("audiobooks",(function(){this.route("genre",{path:":genreSlug/:genreId"})})),this.route("genre",{path:":genreSlug/:genreId"}),this.route("chart-see-all",{path:":genreSlug/:genreId/:chartName"}),this.route("device",{path:":deviceType"},(function(){this.route("category",{path:":categorySlug/:categoryId"})}))})),this.route("room",{path:"see-all/:name/:roomId",resetNamespace:!0}),this.route("app",{path:"app/:name/:adamId",resetNamespace:!0}),this.route("app-bundle",{path:"app-bundle/:name/:adamId",resetNamespace:!0}),this.route("app-event",{path:"app-event/:name/:adamId",resetNamespace:!0}),this.route("developer",{path:"developer/:name/:adamId",resetNamespace:!0}),this.route("story",{path:"story/:seo/:adamId",resetNamespace:!0}),this.route("invoice",{resetNamespace:!0}),this.route("carrier",{resetNamespace:!0})})),this.route("not-found",{path:"/*path"})}))})),define("web-experience-app/routes/app-bundle",["exports","web-experience-app/routes/product-with-see-all","@ember/service","web-experience-app/utils/apps/app-screenshots","web-experience-app/utils/apps/device-support","web-experience-app/config","web-experience-app/utils/seo","web-experience-app/helpers/app-artwork","web-experience-app/utils/routing","web-experience-app/utils/date-time","@amp/ember-ui-media-artwork/utils/srcset","web-experience-app/utils/images","web-experience-app/utils/apps/app-type"],(function(e,t,i,r,n,a,o,l,s,p,c,u,d){var m,f,b,g,h,y,w,v,_,P
function O(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function A(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?O(Object(i),!0).forEach((function(t){S(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):O(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function k(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function S(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function x(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{podcastsAppLaunchURL:j}=a.default,T={title:{AppleTVOnlyApp:"WEA.AppPages.Meta.tvOSAppPagetitle",desktopApp:"WEA.AppPages.Meta.MacAppStorePageTitle"},keywords:{AppleTVOnlyApp:"WEA.AppPages.Meta.tvOSAppPageMetaKeywords",desktopApp:"WEA.AppPages.Meta.MacAppPageMetaKeywords",iOSmacOSApp:"WEA.AppPages.Meta.iOSmacOSPageMetaKeywords",iOStvOSmacOSApp:"WEA.AppPages.Meta.iOStvOSmacOSPageMetaKeywords",iOStvOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOStvOSmacOSwatchOSPageMetaKeywords",iOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOSmacOSwatchOSPageMetaKeywords"},description:{AppleTVOnlyApp:"WEA.AppPages.Meta.tvOSAppPageMetaDescriptionLine",desktopApp:"WEA.AppPages.Meta.MacAppPageMetaDescriptionLine",iOSmacOSApp:"WEA.AppPages.Meta.iOSmacOSPageMetaDescriptionLine",iOStvOSmacOSApp:"WEA.AppPages.Meta.iOStvOSmacOSPageMetaDescriptionLine",iOStvOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOStvOSmacOSwatchOSPageMetaDescriptionLine",iOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOSmacOSwatchOSPageMetaDescriptionLine"},ogSiteName:{desktopApp:"WEA.AppPages.FB.siteName.desktopApp"},twitterSite:{desktopApp:"WEA.AppPages.Twitter.site.desktopApp"}},z={appsInBundle:"WEA.AppBundlePages.NumberAppsInBundle.Many",developerOtherApps:"WEA.AppPages.MoreByThisDeveloper.Title"}
let M=(m=(0,i.inject)("media-api/apps"),f=(0,i.inject)("platform"),b=(0,i.inject)("location-wea"),g=class extends t.default{constructor(){super(...arguments),k(this,"appViewState",h,this),k(this,"appsApi",y,this),k(this,"i18n",w,this),k(this,"fastboot",v,this),k(this,"platformService",_,this),k(this,"location",P,this),S(this,"queryParams",{ppid:{},platformQp:{replace:!0},seeAll:{refreshModel:!0}}),S(this,"pageType","AppBundle")}async getViewModel(e,t){const i=await this.appsApi.getAppBundle(t),{apps:n,reviews:a}=i,o=n.map((e=>e.id)),s=a.map((e=>e.id)),p=i["developer-other-apps"].map((e=>e.id)),c=await this.appsApi.getApps(p),u=(0,r.generateBundleScreenshotGroups)(i),d=A(A({},i),{},{appArtwork:(0,l.appArtwork)(i),contentRating:i.contentRatingsBySystem.appsApple,canFamilyShareApp:!!i.familyShareEnabledDate&&!i.primaryPlatform?.hasInAppPurchases,canFamilyShareInAppPurchases:!!i.familyShareEnabledDate&&i.primaryPlatform?.hasInAppPurchases,primaryGenre:i.genres[0],languagesDisplayString:i.languageList.join(", "),size:i.offers?.[0]?.assets?.length?i.offers[0].assets[0].size:0,ratingText:i.contentRatingsBySystem.appsApple.name,developer:i.developer[0],appDescription:i.description.standard||i.description.short})
return{reviews:a,reviewsIds:s,appsInBundle:n,appsInBundleIds:o,developerOtherApps:c,developerOtherAppsIds:p,screenshotGroups:u,name:d.name,deviceFamilies:d.deviceFamilies,product:d}}async afterModel(e,t){this.routerState.clearLoadingState(),this.updateMetricsBase(e,t)
const{deviceFamilies:i}=e.viewModel
return(0,n.primaryPlatformSupported)(i,this.platformService.browser.isiOS)===n.PLATFORMS.mac?this.appViewState.setMacAppStoreOverride():this.appViewState.setAppStoreOverride(),this._checkLaunchNative(e,t),await this.globalElements.load(),this.handleCanonicalRedirects(e,t)}handleCanonicalRedirects(){}getHeadTags(e){let{viewModel:{product:t}}=e
const i=super.getHeadTags(...arguments)
return"PUBLIC_URL"===t.distributionKind&&(i.searchEngineIndexing=!1),i}getFacebookAppLinkTags(e){let{viewModel:{product:t}}=e
return"AppleTVOnlyApp"!==t.kind?[]:super.getFacebookAppLinkTags(...arguments)}getFacebookAppLinkTagAppName(){return this.i18n.t("WEA.LocalNav.Store.TV",{_disableSafeString:!0})}_shouldLaunchNativeClient(e,t){let{viewModel:{product:i}}=e
if(this._shouldPreventNativeClientLaunch(t))return!1
const r=t.to?.queryParams?.action
return!("write-review"!==r||!this.platformService.browser.isAtLeastMojave||!this.appViewState.isMacAppStoreView)||("525463029"===i.id&&this.platformService.browser.isAtLeastMojavePlusOne?(this.platformService.launch(j),!1):this._shouldLaunchMAS(i,t))}_shouldLaunchMAS(e,t){const{routeName:i}=this
if(this.paramsFor(i).seeAll)return!1
const{queryParams:r}=t.to,a=["app","app-bundle"].includes(i)
if(!this.platformService.couldHaveMacAppStore)return!1
if(a&&!r.preventLaunch){const{deviceFamilies:t,kind:i}=e,{hostname:a}=this.location,[o]=a.split("."),l=o.includes("apps")||"apps"===r.app,s="itunes"===o,p=["desktopApp","macSoftwareBundle"].includes(i)
return(0,n.isMacSupported)(t)||e.isIOSBinaryMacOSCompatible||p&&(l||s&&"12"===r.mt)}return!1}getQueryParamsForNativeClientURL(e,t){let{viewModel:{product:i}}=e
const r=A(A({},super.getQueryParamsForNativeClientURL(...arguments)),function(e){let{to:{queryParams:{action:t}={}}={}}=e
return t?{action:t}:void 0}(t))
return this._shouldLaunchMAS(i,t)&&(r.app="mac-app"),r}sectionTypeForComponent(e){return{reviews:"reviews"}[e]||"lockup"}getTitle(e){let{viewModel:{product:t}}=e
if(this.paramsFor("app").seeAll)return super.getTitle(...arguments)
const{kind:i,name:r}=t
let n="WEA.AppPages.Meta.title"
return T.title[i]&&(n=T.title[i]),this.i18n.t(n,{softwareName:r,_disableSafeString:!0})}getKeywordsTag(e){let{viewModel:{product:t}}=e
const i=t.genres.map((e=>e.name)),{kind:r,name:n,developer:a}=t
let o="WEA.AppPages.Meta.PageMetaKeywords"
return T.keywords[r]&&(o=T.keywords[r]),this.i18n.t(o,{softwareName:n,developerName:a.name,categoryNames:i,_disableSafeString:!0})}getDescription(e){let{viewModel:{product:t}}=e
if(t.appDescription)return(0,o.truncateSEODescription)(t.appDescription)
const{kind:i,name:r,minimumOSVersion:n}=t
let a="WEA.AppPages.Meta.PageMetaDescriptionLine"
return T.description[i]&&(a=T.description[i]),this.i18n.t(a,{softwareName:r,minimumOSVersion:n,_disableSafeString:!0})}getOGTitle(e){let{viewModel:{product:t}}=e
return t.name}getTwitterTitle(e){let{viewModel:{product:t}}=e
return t.name}getOGSiteName(e){let{viewModel:{product:t}}=e
const{kind:i}=t
let r="WEA.AppPages.FB.siteName.iosSoftware"
return T.ogSiteName[i]&&(r=T.ogSiteName[i]),this.i18n.t(r,{_disableSafeString:!0})}getSocialCropCode(e){return(0,d.isMessagesOnly)(e)?"wb":e.isIOSApp?"wa":""}getOGCropCode(e){let{viewModel:{product:t}}=e
return this.getSocialCropCode(t)||"bb"}getTwitterCropCode(e){let{viewModel:{product:t}}=e
return this.getSocialCropCode(t)||this.defaultTwitterCropCode}getTwitterSite(e){let{viewModel:{product:t}}=e
return"desktopApp"===t.kind?this.i18n.t("WEA.AppPages.Twitter.site.desktopApp",{_disableSafeString:!0}):super.getTwitterSite(...arguments)}getSchemaTags(e){const{product:t,screenshotGroups:i=[]}=e.viewModel,r=[]
i&&i.length&&i.forEach((e=>{e.images.forEach((t=>{const i=(0,u.isPortrait)(t)?e.profiles.portrait.artworkProfile:e.profiles.landscape.artworkProfile,n=a.default.artworkProfiles[i].small
r.push((0,c.buildSrc)(t.url,{width:n.width,height:n.height,crop:n.crop}))}))}))
const{appDescription:o,buyPrice:l,currencyCode:s,description:d,developer:m,deviceFamilies:f,name:b,minimumOSVersion:g,releaseDate:h,requirementsString:y,supportsArcade:w,userRating:v={},version:_}=t,P={"@context":"https://web.archive.org/web/20220531203922/http://schema.org","@type":"SoftwareApplication",name:b,description:"object"==typeof d?o:d,screenshot:r,image:this.getOGImageURL(e),applicationCategory:this.getApplicationCategory(t),datePublished:(0,p.formatDate)(h,this.i18n.locale),softwareVersion:_,operatingSystem:(0,n.isMacOnly)(f)&&g?g:y,author:{"@type":"Person",name:m.name,url:m.url}}
return v.ratingCount>0&&(P.aggregateRating={"@type":"AggregateRating",ratingValue:v.value,reviewCount:v.ratingCount}),w||(P.offers={"@type":"Offer",price:l||0,priceCurrency:s},l&&0!==l||(P.offers.category="free")),[{name:"schema:software-application",content:JSON.stringify(P)}]}getApplicationCategory(e){return e.genres?.[0].name}typeFor(e){return{relatedEditorialItems:"editorial-item"}[e]||"app"}normalizeItemsType(){const e=super.normalizeItemsType(...arguments)
return{inAppPurchases:"promotedInApps"}[e]||e}getOGType(){return a.default.meta.og.type["app-bundle"]}getOGDescription(e){let{viewModel:{product:t}}=e
return(0,o.truncateSEODescription)(t.appDescription)}generateSeeAllHeader(e,t){const i=(0,s.getProductModel)(t),r=A(A({},t),i),{name:n}=r
let a=this.i18n.t(z[e])
if("appsInBundle"===e){const{appsInBundleIds:t}=r
return a=this.i18n.t(z[e],{count:t.length}),{parts:{productName:n,sectionTitle:a}}}return{parts:{productName:n,sectionTitle:a}}}},h=x(g.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=x(g.prototype,"appsApi",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=x(g.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=x(g.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=x(g.prototype,"platformService",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=x(g.prototype,"location",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g)
e.default=M})),define("web-experience-app/routes/app-event",["exports","web-experience-app/routes/product-with-see-all","@ember/service","web-experience-app/utils/query-params","ember","web-experience-app/config"],(function(e,t,i,r,n,a){var o,l,s,p,c,u,d,m,f,b
function g(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function h(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?g(Object(i),!0).forEach((function(t){w(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function y(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function w(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function v(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{DEFAULT_VALUE:_}=n.default
let P=(o=(0,i.inject)("media-api/apps"),l=(0,i.inject)("location-wea"),s=class extends t.default{constructor(){super(...arguments),w(this,"queryParams",{eventid:{},tempAppId:{}}),y(this,"appsApi",p,this),y(this,"appViewState",c,this),y(this,"fastboot",u,this),y(this,"location",d,this),y(this,"platform",m,this),y(this,"router",f,this),y(this,"i18n",b,this),w(this,"pageType","AppEvent")}async getViewModel(e,t,i,n){const a={},o=(0,r.getLanguageParam)(this.router.location.getURL(),!0)
let l
o&&(a.l=o)
try{l=await this.appsApi.getAppEvent(e,t,a)}catch(p){if(!this.transitionToApp(n,e))throw p}const s=l.relationships?.app?.data?.[0]
return{storefront:e,product:h(h({},l.attributes),{},{id:l.id}),app:h(h({},s?.attributes),{},{id:s?.id})}}afterModel(){super.afterModel(...arguments),this.appViewState.setAppStoreOverride()}handleCanonicalRedirects(){}transitionToApp(e,t){const{queryParams:i={},params:r}=e?.to||{},{name:n}=r,{tempAppId:a}=i
if(n&&a)return this.router.transitionTo("app",t,n,a,{queryParams:{seeAll:_}})}getTitle(e){const{product:t}=e.viewModel
return this.i18n.t("WEA.AppEventPages.Meta.Title",{softwareName:t.name,description:t.subtitle,_disableSafeString:!0})}getHeadTags(){const e=super.getHeadTags(...arguments)
return e.searchEngineIndexing=!1,e}getOGSiteName(){return this.i18n.t("WEA.Common.Meta.FB.siteName.Apps",{_disableSafeString:!0})}getArtwork(e){return e.viewModel.product.lockupArtwork}getDescription(e){return e?.viewModel.product.subtitle}getKeywords(){return"WEA.AppEventPages.Meta.Keywords"}getOGType(){return a.default.meta.og.type.event}getMetricsPageDetails(e){return{pageDetails:e.name,pageId:e.id}}getFacebookAppLinkTags(){return[]}},p=v(s.prototype,"appsApi",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=v(s.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=v(s.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=v(s.prototype,"location",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=v(s.prototype,"platform",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=v(s.prototype,"router",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=v(s.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)
e.default=P})),define("web-experience-app/routes/app",["exports","web-experience-app/config","@ember/service","web-experience-app/utils/apps/app-screenshots","web-experience-app/utils/apps/apps","web-experience-app/models/app","@ember/application","web-experience-app/services/media-api/apps","web-experience-app/routes/product-with-see-all","web-experience-app/utils/seo","web-experience-app/utils/date-time","@amp/ember-ui-media-artwork/utils/srcset","web-experience-app/utils/images","web-experience-app/utils/apps/app-type","web-experience-app/utils/apps/device-support"],(function(e,t,i,r,n,a,o,l,s,p,c,u,d,m,f){var b,g,h,y,w,v,_,P,O,A
function k(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function S(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?k(Object(i),!0).forEach((function(t){j(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):k(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function x(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function j(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function T(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{podcastsAppLaunchURL:z}=t.default,M={title:{AppleTVOnlyApp:"WEA.AppPages.Meta.tvOSAppPagetitle",desktopApp:"WEA.AppPages.Meta.MacAppStorePageTitle"},keywords:{AppleTVOnlyApp:"WEA.AppPages.Meta.tvOSAppPageMetaKeywords",desktopApp:"WEA.AppPages.Meta.MacAppPageMetaKeywords",iOSmacOSApp:"WEA.AppPages.Meta.iOSmacOSPageMetaKeywords",iOStvOSmacOSApp:"WEA.AppPages.Meta.iOStvOSmacOSPageMetaKeywords",iOStvOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOStvOSmacOSwatchOSPageMetaKeywords",iOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOSmacOSwatchOSPageMetaKeywords"},description:{AppleTVOnlyApp:"WEA.AppPages.Meta.tvOSAppPageMetaDescriptionLine",desktopApp:"WEA.AppPages.Meta.MacAppPageMetaDescriptionLine",iOSmacOSApp:"WEA.AppPages.Meta.iOSmacOSPageMetaDescriptionLine",iOStvOSmacOSApp:"WEA.AppPages.Meta.iOStvOSmacOSPageMetaDescriptionLine",iOStvOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOStvOSmacOSwatchOSPageMetaDescriptionLine",iOSmacOSwatchOSApp:"WEA.AppPages.Meta.iOSmacOSwatchOSPageMetaDescriptionLine"},ogSiteName:{desktopApp:"WEA.AppPages.FB.siteName.desktopApp"},twitterSite:{desktopApp:"WEA.AppPages.Twitter.site.desktopApp"}},E={appEvents:"WEA.AppPages.Events.Title",customersAlsoBoughtApps:"WEA.AppPages.CustomersAlsoBought.Title",developerOtherApps:"WEA.AppPages.MoreByThisDeveloper.Title",promotedInApps:"WEA.AppPages.InAppPurchases.Title",relatedEditorialItems:"WEA.AppPages.FeaturedIn.Title",reviews:"WEA.AppPages.CustomerReviews.Title",subscriptions:"WEA.AppPages.Subscriptions.Title"}
let C=(b=(0,i.inject)("media-api/apps"),g=(0,i.inject)("platform"),h=(0,i.inject)("location-wea"),y=class extends s.default{constructor(){super(...arguments),x(this,"i18n",w,this),x(this,"appsApi",v,this),x(this,"platformService",_,this),x(this,"appViewState",P,this),x(this,"fastboot",O,this),x(this,"location",A,this),j(this,"queryParams",{ppid:{},platformQp:{replace:!0},seeAll:{refreshModel:!0}}),j(this,"pageType","App")}async getViewModel(e,t,i,s){const p={}
s?.to?.queryParams?.ppid&&(p.ppid=s.to.queryParams.ppid)
const c=await this.appsApi.getApp(e,t,p),u=new a.default((0,o.getOwner)(this),c)
await Promise.all([this._handleUserRating(u),(0,n.updateShelfDataRelationship)(this.appsApi,c,"customers-also-bought-apps"),(0,n.updateShelfDataRelationship)(this.appsApi,c,"developer-other-apps")])
const{appEvents:d,customersAlsoBoughtApps:m,developerOtherApps:f,promotedInApps:b,relatedEditorialItems:g,reviews:h,subscriptions:y}=u,w=(0,r.generateAppScreenshotGroups)(u,this.platformService.browser.isiOS)
let v
return g?.forEach((e=>{e.cardArtwork=(0,l.getEditorialArtwork)(e)})),u.isFamilySharingSupported&&u.primaryPlatform.hasInAppPurchases&&(v=`/${e}/story/id1542695115`),{product:u,reviews:h,subscriptions:y,promotedInApps:b,customersAlsoBoughtApps:m,developerOtherApps:f,relatedEditorialItems:g,screenshotGroups:w,appEvents:d,familySharingStoryLink:v}}async afterModel(e,t){this.routerState.clearLoadingState(),this.updateMetricsBase(e,t)
const{primaryPlatformSupported:i}=e.viewModel.product
return i===f.PLATFORMS.mac?this.appViewState.setMacAppStoreOverride():this.appViewState.setAppStoreOverride(),this._checkLaunchNative(e,t),await this.globalElements.load(),this.handleCanonicalRedirects(e,t)}handleCanonicalRedirects(){}getHeadTags(e){let{viewModel:{product:t}}=e
const i=super.getHeadTags(...arguments)
return"PUBLIC_URL"===t.distributionKind&&(i.searchEngineIndexing=!1),i}getFacebookAppLinkTags(e){let{viewModel:{product:t}}=e
return"AppleTVOnlyApp"!==t.kind?[]:super.getFacebookAppLinkTags(...arguments)}getFacebookAppLinkTagAppName(){return this.i18n.t("WEA.LocalNav.Store.TV",{_disableSafeString:!0})}_shouldLaunchNativeClient(e,t){let{viewModel:{product:i}}=e
if(this._shouldPreventNativeClientLaunch(t))return!1
const r=t.to?.queryParams?.action
return!("write-review"!==r||!this.platformService.browser.isAtLeastMojave||!this.appViewState.isMacAppStoreView)||("525463029"===i.id&&this.platformService.browser.isAtLeastMojavePlusOne?(this.platformService.launch(z),!1):this._shouldLaunchMAS(i,t))}_shouldLaunchMAS(e,t){const{routeName:i}=this
if(this.paramsFor(i).seeAll)return!1
const{queryParams:r}=t.to,n=["app","app-bundle"].includes(i)
if(!this.platformService.couldHaveMacAppStore)return!1
if(n&&!r.preventLaunch){const{deviceFamilies:t,kind:i}=e,{hostname:n}=this.location,[a]=n.split("."),o=a.includes("apps")||"apps"===r.app,l="itunes"===a,s=["desktopApp","macSoftwareBundle"].includes(i)
return(0,f.isMacSupported)(t)||e.isIOSBinaryMacOSCompatible||s&&(o||l&&"12"===r.mt)}return!1}getQueryParamsForNativeClientURL(e,t){let{viewModel:{product:i}}=e
const r=S(S({},super.getQueryParamsForNativeClientURL(...arguments)),function(e){let{to:{queryParams:{action:t}={}}={}}=e
return t?{action:t}:void 0}(t))
return this._shouldLaunchMAS(i,t)&&(r.app="mac-app"),r}sectionTypeForComponent(e){return{reviews:"reviews"}[e]||"lockup"}getTitle(e){let{viewModel:{product:t}}=e
if(this.paramsFor("app").seeAll)return super.getTitle(...arguments)
const{kind:i,name:r}=t
let n="WEA.AppPages.Meta.title"
return M.title[i]&&(n=M.title[i]),this.i18n.t(n,{softwareName:r,_disableSafeString:!0})}getKeywordsTag(e){let{viewModel:{product:t}}=e
const i=t.genres.map((e=>e.name)),{kind:r,name:n,developer:a}=t
let o="WEA.AppPages.Meta.PageMetaKeywords"
return M.keywords[r]&&(o=M.keywords[r]),this.i18n.t(o,{softwareName:n,developerName:a.name,categoryNames:i,_disableSafeString:!0})}getDescription(e){let{viewModel:{product:t}}=e
const{kind:i,name:r,minimumOSVersion:n}=t
let a="WEA.AppPages.Meta.PageMetaDescriptionLine"
return M.description[i]&&(a=M.description[i]),this.i18n.t(a,{softwareName:r,minimumOSVersion:n,_disableSafeString:!0})}getOGTitle(e){let{viewModel:{product:t}}=e
return t.name}getTwitterTitle(e){let{viewModel:{product:t}}=e
return t.name}getOGSiteName(e){let{viewModel:{product:t}}=e
const{kind:i}=t
let r="WEA.AppPages.FB.siteName.iosSoftware"
return M.ogSiteName[i]&&(r=M.ogSiteName[i]),this.i18n.t(r,{_disableSafeString:!0})}getSocialCropCode(e){return(0,m.isMessagesOnly)(e)?"wb":e.isIOSApp?"wa":""}getOGCropCode(e){let{viewModel:{product:t}}=e
return this.getSocialCropCode(t)||"bb"}getTwitterCropCode(e){let{viewModel:{product:t}}=e
return this.getSocialCropCode(t)||this.defaultTwitterCropCode}getTwitterSite(e){let{viewModel:{product:t}}=e
return"desktopApp"===t.kind?this.i18n.t("WEA.AppPages.Twitter.site.desktopApp",{_disableSafeString:!0}):super.getTwitterSite(...arguments)}getSchemaTags(e){const{product:i,screenshotGroups:r=[]}=e.viewModel,n=[]
r&&r.length&&r.forEach((e=>{e.images.forEach((i=>{const r=(0,d.isPortrait)(i)?e.profiles.portrait.artworkProfile:e.profiles.landscape.artworkProfile,{crop:a,small:o}=t.default.artworkProfiles[r]
n.push((0,u.buildSrc)(i.url,{width:o.width,height:o.height,crop:a}))}))}))
const{appDescription:a,buyPrice:o,currencyCode:l,description:s,developer:p,deviceFamilies:m,name:b,minimumOSVersion:g,releaseDate:h,requirementsString:y,supportsArcade:w,userRating:v={},version:_}=i,P={"@context":"https://web.archive.org/web/20220531203922/http://schema.org","@type":"SoftwareApplication",name:b,description:"object"==typeof s?a:s,screenshot:n,image:this.getOGImageURL(e),applicationCategory:this.getApplicationCategory(i),datePublished:(0,c.formatDate)(h,this.i18n.locale),softwareVersion:_,operatingSystem:(0,f.isMacOnly)(m)&&g?g:y,author:{"@type":"Person",name:p.name,url:p.url}}
return v.ratingCount>0&&(P.aggregateRating={"@type":"AggregateRating",ratingValue:v.value,reviewCount:v.ratingCount}),w||(P.offers={"@type":"Offer",price:o||0,priceCurrency:l},o&&0!==o||(P.offers.category="free")),[{name:"schema:software-application",content:JSON.stringify(P)}]}getApplicationCategory(e){return e.genres?.[0].name}typeFor(e){return{relatedEditorialItems:"editorial-item"}[e]||"app"}normalizeItemsType(){const e=super.normalizeItemsType(...arguments)
return{inAppPurchases:"promotedInApps"}[e]||e}generateSeeAllHeader(e,t){return{parts:{productName:t.product.name,sectionTitle:this.i18n.t(E[e])}}}async _handleUserRating(e){if(e.isPrimarymacOS)try{const t=await this.appsApi.getMacUserRating(e.id)
e.userRating=t}catch(t){}}getOGType(){return t.default.meta.og.type.app}getOGDescription(e){let{viewModel:{product:t}}=e
return(0,p.truncateSEODescription)(t.description)}},w=T(y.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=T(y.prototype,"appsApi",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=T(y.prototype,"platformService",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=T(y.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=T(y.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=T(y.prototype,"location",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y)
e.default=C})),define("web-experience-app/routes/application-error",["exports","web-experience-app/routes/base","@ember/service","@apple/babel-plugin-feature-remover","web-experience-app/routes/error-fitness"],(function(e,t,i,r,n){var a,o
function l(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var s,p,c,u,d,m
let f
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,f=(a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="appViewState",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),l(this,"titleKey","WEA.Error.Generic.Meta.PageTitle"),l(this,"descriptionKeys",["WEA.Error.Generic.Meta.PageTitle"])}getHeadTags(){const e=super.getHeadTags(...arguments)
return e.searchEngineIndexing=!1,e}},s=a.prototype,p="appViewState",c=[i.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var b=f
e.default=b})),define("web-experience-app/routes/application",["exports","@ember/routing/route","web-experience-app/utils/routing","@ember/service","@ember/utils","@ember/object","web-experience-app/utils/errors","@apple/babel-plugin-feature-remover","@apple/client-detect"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m,f,b,g,h,y,w
function v(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function _(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let P=(p=(0,r.inject)("location-fitness"),c=class extends t.default{constructor(){super(...arguments),v(this,"translation",u,this),v(this,"globalElements",d,this),v(this,"locale",m,this),v(this,"fastboot",f,this),v(this,"appViewState",b,this),v(this,"i18n",g,this),v(this,"perfkit",h,this),v(this,"metrics",y,this),v(this,"location",w,this)}fitnessAppShallowRedirect(){window&&(window.location="fitnessapp://")}async beforeModel(e){if(this.perfkit.enable(),this.metrics.enable(),await super.beforeModel(...arguments),(0,n.isEmpty)(this.globalElements.storefront)){const t=(0,i.extractCountryCodeFromTransition)(e);(0,a.set)(this,"globalElements.storefront",t)}if(this.translation.hasLoaded)return
const{cc:t,l:r}=e?.to?.queryParams||{},o=r&&"he"===r.toLowerCase()?"iw":r
return this.translation.requestedLanguage=o||t,this.translation.load()}error(e,t){return this._handleError(e,t)}_handleError(e,t){if(this._isRedirectError(e))return!1
"NOT_FOUND"===e?.errorCode&&(e.number=404)
const i=e.number||e.status,r=i&&-1!==[404,410].indexOf(i)||e instanceof o.NotFoundError,n=[r?"not-found":"application_error",e],{fastboot:l}=this
if(l.isFastBoot){const t=r?404:500
if((0,a.set)(l,"response.statusCode",t),this.intermediateTransitionTo(...n),r)return!1
throw e}if((0,a.set)(e,"visitedURL",window.location.href),t){this._handleRedirect(t,e)
const{queryParams:i}=t.to
i&&i.app&&(0,a.set)(this,"appViewState.requestedApp",i.app)}return!0}_handleRedirect(e,t){const{currentState:r}=this.appViewState,{url:n}=e.intent,o=(0,i.getNotFoundRedirect)(n,r)
o&&(0,a.set)(t,"visitedURL",o.target)}_isRedirectError(e){return e.isAdapterError&&e.errors&&e.errors.length&&e.errors[0].status&&0===e.errors[0].status.toString().indexOf(3)}},u=_(c.prototype,"translation",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=_(c.prototype,"globalElements",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=_(c.prototype,"locale",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=_(c.prototype,"fastboot",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=_(c.prototype,"appViewState",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=_(c.prototype,"i18n",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=_(c.prototype,"perfkit",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=_(c.prototype,"metrics",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=_(c.prototype,"location",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_(c.prototype,"error",[a.action],Object.getOwnPropertyDescriptor(c.prototype,"error"),c.prototype),c)
e.default=P})),define("web-experience-app/routes/base",["exports","@ember/routing/route","@ember/service","rsvp","web-experience-app/utils/routing","@amp/foundation/-internals/storage","web-experience-app/config","web-experience-app/config/environment","web-experience-app/config/domain-modifiers","@ember/object/computed","@amp/affiliate-util","web-experience-app/utils/launch-client","web-experience-app/utils/seo","@apple/babel-plugin-feature-remover","@ember/debug","@amp/ember-ui-media-artwork/utils/srcset","web-experience-app/utils/images","web-experience-app/utils/i18n","@ember/application"],(function(e,t,i,r,n,a,o,l,s,p,c,u,d,m,f,b,g,h,y){var w,v,_,P,O,A,k,S,x,j,T,z,M,E,C,L,D
function I(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function N(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?I(Object(i),!0).forEach((function(t){F(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):I(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function R(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function F(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function B(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let W=(w=(0,i.inject)("-document"),v=(0,i.inject)("location-wea"),_=(0,p.reads)("router.currentRouteName"),P=class extends t.default{constructor(){super(...arguments),R(this,"appViewState",O,this),R(this,"document",A,this),R(this,"fastboot",k,this),R(this,"globalElements",S,this),R(this,"i18n",x,this),R(this,"location",j,this),R(this,"platform",T,this),R(this,"metrics",z,this),R(this,"router",M,this),R(this,"history",E,this),R(this,"localNav",C,this),R(this,"locale",L,this),R(this,"currentRouteName",D,this),F(this,"facebookAppLinkAppStoreID",o.default.meta.appleStore.id.appleTV),F(this,"defaultTwitterCropCode","bf"),F(this,"preventAutoLaunch",!1),F(this,"hasAutoLaunched",!1),F(this,"metricsData",null),F(this,"pageType","")}async beforeModel(){this._localNavLinks=this.localNav.getLinks()}async redirect(){await this._handleCampaignAndAffiliateUrls()}afterModel(e,t){return(0,r.all)([super.afterModel(...arguments),this._localNavLinks]).then((()=>{if(!e)return
const i=(0,n.getProductModel)(e,t)
return this._determineInitialAppState(i,t),this.updateMetricsBase(i,t),this._checkLaunchNative(i,t),this.globalElements.load()}))}setupController(e,t,i){super.setupController(...arguments),this.appViewState.updateMetricsContext()
const r=(0,n.getProductModel)(t,i)
e.headTagsData=this.getHeadTags(r)}getHeadTags(e){const t=this.getCanonicalUrl(e),i=this.getOGDescription(e,N(N({},this.locData),{},{_disableSafeString:!0}))
return{title:this.getTitle(e),canonicalURL:t,keywords:this.getKeywordsTag(e),description:this.getDescription(e,N(N({},this.locData),{},{_disableSafeString:!0})),openGraphTags:this.getOpenGraphTags(e,i,t),appleContentID:this.getAppleContentID(e),mobileSmartBannerTag:this.getMobileSmartBannerTag(t),searchEngineIndexing:!0,webManifest:null,facebookAppLinkTags:this.getFacebookAppLinkTags(e),schemaTags:this.getSchemaTags(e),twitterTags:this.getTwitterTags(e,i),videoTags:[]}}getCanonicalUrl(e){return e.url}getKeywordsTag(e){const t=this.getKeywords(e)
return this.i18n.t(t,N(N({},this.locData),{},{_disableSafeString:!0}))}getTitle(){const e=this.titleData||this.locData||{}
return e._disableSafeString=!0,this.i18n.t(this.titleKey,e)}getSchemaTags(){return[]}getKeywords(){return"WEA.Error.Generic.Meta.PageKeywords"}getAppleContentID(e){return e.id}getMobileSmartBannerTag(e){let t
const i=o.default.meta.appleStore.id
return this.appViewState.isAppStoreView&&(t=i.appStore),t?`app-id=${t}, app-argument=${e}`:null}getFacebookAppLinkTags(e){const t=e.url
let i
t&&(i=this.platform.schemeForURL(t,{isAndroid:!1,isMobile:!0}))
const r=[]
i&&r.push({name:"al:ios:url",content:i})
const n=this.facebookAppLinkAppStoreID
n&&r.push({name:"al:ios:app_store_id",content:n})
const a=this.getFacebookAppLinkTagAppName()
return a&&r.push({name:"al:ios:app_name",content:a}),r}getFacebookAppLinkTagAppName(){const e=this.appViewState.updateKeyForAppState("WEA.LocalNav.Store")
return this.i18n.t(e,{_disableSafeString:!0})}getTwitterTags(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:""
const i=[{name:"twitter:title",content:this.getTwitterTitle(e)},{name:"twitter:description",content:t},{name:"twitter:site",content:this.getTwitterSite(e)},{name:"twitter:card",content:this.getTwitterCard(e)}],r=this.getTwitterImage(e)
return r&&(i.push({name:"twitter:image",content:r}),i.push({name:"twitter:image:alt",content:this.getTwitterImageAlt(e)})),i.filter((e=>!!e.content))}getOpenGraphTags(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:""
return[{name:"og:title",content:this.getOGTitle(e)},{name:"og:description",content:t},{name:"og:site_name",content:this.getOGSiteName(e)},{name:"og:url",content:i},...this.getOGImageTags(e),{name:"og:type",content:this.getOGType(e)},{name:"og:locale",content:this.getOGLocale()}].filter((e=>!!e.content))}getOGImageTags(e){const t=this.getOGImageURL(e,"png")
if(!t)return[]
const i=[{name:"og:image",content:t},{name:"og:image:alt",content:this.i18n.t(this.titleKey,N(N({},this.locData),{},{_disableSafeString:!0}))},{name:"og:image:type",content:(0,b.mimeTypeForFormat)("png")},{name:"og:image:width",content:1200},{name:"og:image:height",content:630}],r=/^https:/.test(t)?t:void 0
return r&&i.push({name:"og:image:secure_url",content:r}),i}getOGImageURL(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"png",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:630
const n=this.getOGCropCode(e),a=this.getArtwork(e)
if(a)return(0,b.buildSrc)(a.url,{width:i,height:r,crop:n,fileType:t})}getOGCropCode(){return"wf"}getArtwork(e){return e.artwork}getOGTitle(){return this.tagContentFor("title")}getOGSiteName(){const e=(0,h.ogKeyFor)("siteName",this.routeName)
return this.i18n.t(e,{_disableSafeString:!0})}getOGType(){return""}getOGLocale(){const{locale:{locale:e}}=this
if(e){const t=e.split("-")
return 1===t.length?e:`${t[0]}_${t[1].toUpperCase()}`}}getTwitterTitle(e){return this.titleKey?this.i18n.t(this.titleKey,N(N({},this.locData),{},{_disableSafeString:!0})):e.name}getTwitterSite(){let e="WEA.Common.Meta.Twitter.site.iTunes"
const{buildVariant:t="default"}=l.default.APP
switch("default"===t?this.appViewState.currentState:t){case"apps":e="WEA.Common.Meta.Twitter.site.Apps"
break
case"books":e="WEA.Common.Meta.Twitter.site.Books"
break
case"music":e="WEA.Common.Meta.Twitter.site.AM"
break
case"podcasts":e="WEA.PodcastPages.Twitter.site.show"}return this.i18n.t(e,{_disableSafeString:!0})}getTwitterImageWidth(e){return(0,g.isSquare)(e)?600:1200}getTwitterImageHeight(){return 600}get twitterCropCode(){return""}getTwitterCropCode(){return this.twitterCropCode}getTwitterImage(e){const t=this.getArtwork(e)
return t?(0,b.buildSrc)(t.url,{width:this.getTwitterImageWidth(t),height:this.getTwitterImageHeight(t),crop:this.getTwitterCropCode(e)||this.defaultTwitterCropCode,fileType:"png"}):""}getTwitterImageAlt(e){return this.titleKey?this.i18n.t(this.titleKey,N(N({},this.locData),{},{_disableSafeString:!0})):e.name}getTwitterCard(e){return this.getArtwork(e)?"summary_large_image":"summary"}tagContentFor(e){const t=this[`${e}Content`]
if(t)return t
const{i18n:i}=this,r=this[`${e}Key`],n=this[`${e}Data`]||this.locData||{}
if(n._disableSafeString=!0,r)return this.i18n.t(r,n)
let a=this[`${e}Keys`]||[]
return a.constructor!==Array&&(a=[a]),a.map((e=>i.t(e,n))).join(" ")}_determineInitialAppState(e,t){this.appViewState.updateModel(e,this._getRequestedApp(t))}_getRequestedApp(e){return e.to?.queryParams?.app}_shouldHandleCampaignRedirects(){return!this.fastboot.isFastBoot}async _handleCampaignAndAffiliateUrls(){if(!this._shouldHandleCampaignRedirects())return
let e
try{e=await(0,c.handleCampaignAndAffiliateUrls)(this.location.href)}catch(l){}if(!e)return
this.preventAutoLaunch=!0
const t=new URL(e),i=`${t.pathname}${t.search}`,r=(0,y.getOwner)(this),{_routerMicrolib:a}=r.lookup("router:main"),o=(0,n.normalizeURL)(i,a,r)
return this.router.transitionTo(o)}_checkLaunchNative(e,t){if(this.fastboot.isFastBoot)return
if(!this._shouldLaunchNativeClient(e,t))return
const i=this.getQueryParamsForNativeClientURL(...arguments),r=this.getNativeClientLaunchURL(e)
this.platform.launch(r,i),this.hasAutoLaunched=!0,(0,a.removeCookie)("ls")}getQueryParamsForNativeClientURL(e,t){let i={}
const r=this._getRequestedApp(t)
r&&(i={app:r}),this.appViewState.isMacAppStoreView&&(i=N(N({},i),{},{extRefUrl2:encodeURI(window.document.referrer)}))
const n=this.paramsFor("application")
return(0,u.addLaunchQueryParams)(i,n),i}getNativeClientLaunchURL(e){return this._getModelUrl(e)}_getModelUrl(e){return e.url}getDescription(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const i=e.description&&e.description.standard
if(i)return(0,d.truncateSEODescription)(i)
return(this.descriptionKeys||(this.descriptionKey?[this.descriptionKey]:["WEA.Error.Generic.Meta.PageTitle"])).map((e=>this.i18n.t(e,t))).join(" ")}getOGDescription(e,t){return this.getDescription(e,t)}_shouldLaunchNativeClient(e,t){const{url:i}=e
if(!i)return!1
if(this._shouldPreventNativeClientLaunch(t))return!1
const{queryParams:r}=t.to
if(this.platform.isPreiOS122){const{hostname:e}=this.location
if(s.default[e])return!0}const n=["1","true"],o=r.ls,l=(0,a.getCookie)("ls")
return!(!n.includes(o)&&!n.includes(l))&&!["story"].includes(this.routeName)}_shouldPreventNativeClientLaunch(e){return"0"===e?.to?.queryParams?.ls||this.preventAutoLaunch}getMetricsData(){return this.metricsData}updateMetricsBase(e,t){if(this.fastboot.isFastBoot)return
const i=this.getPageDataFromModel(e),r=(0,n.getPageURL)(t,this.location)
if(this.metricsData=N(N({},i),{},{pageUrl:r}),window.navigator){const{language:e,languages:t}=window.navigator
this.metrics.addBaseData({osLanguage:e,osLanguages:t})}}getMetricsPageDetails(e){return{pageDetails:e.title,pageId:e.id}}getPageDataFromModel(e){let t={}
const{pageType:i}=this
if(e.metricsBase){const r=e.metricsBase.pageType
t=e.metricsBase,t.pageType="string"==typeof r&&""!==r?r:i}else{const{pageDetails:r,pageId:n}=this.getMetricsPageDetails(e)
t={pageId:n,pageType:i,pageDetails:r,page:`${i}_${n}`}}return t}},O=B(P.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=B(P.prototype,"document",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=B(P.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=B(P.prototype,"globalElements",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=B(P.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=B(P.prototype,"location",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=B(P.prototype,"platform",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=B(P.prototype,"metrics",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=B(P.prototype,"router",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=B(P.prototype,"history",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=B(P.prototype,"localNav",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=B(P.prototype,"locale",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=B(P.prototype,"currentRouteName",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P)
e.default=W})),define("web-experience-app/routes/carrier",["exports","web-experience-app/routes/base","@ember/service","web-experience-app/config"],(function(e,t,i,r){var n,a,o
function l(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let s=(n=(0,i.inject)("location-wea"),a=class extends t.default{constructor(){var e,t,i,n
super(...arguments),e=this,t="location",n=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(n):void 0}),l(this,"titleKey","WEA.CarrierPages.UpdateOS.Meta.Title"),l(this,"descriptionKeys",["WEA.CarrierPages.UpdateOS.Meta.Description"]),l(this,"og:descriptionKey","WEA.CarrierPages.UpdateOS.Meta.Description"),l(this,"twitter:descriptionKey","WEA.CarrierPages.UpdateOS.Meta.Description"),l(this,"facebookAppLinkAppStoreID",r.default.meta.appleStore.id.apps)}getOGSiteName(){return this.i18n.t("WEA.Common.Meta.FB.siteName.Apps",{_disableSafeString:!0})}getTwitterTitle(){return this.i18n.t("WEA.CarrierPages.UpdateOS.Meta.Title",{_disableSafeString:!0})}getMobileSmartBannerTag(){return null}},p=a.prototype,c="location",u=[n],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s})),define("web-experience-app/routes/charts-error",["exports","@ember/routing/route","@ember/object","@ember/service","web-experience-app/utils/errors"],(function(e,t,i,r,n){var a,o,l
function s(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function p(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let c=(a=class extends t.default{constructor(){super(...arguments),s(this,"i18n",o,this),s(this,"fastboot",l,this)}setupController(e,t){if(super.setupController(...arguments),!(t instanceof n.NotFoundError))throw t
this.i18n.exists("WEA.Common.Errors.404")||this.i18n.addTranslations(this.i18n.locale,{"WEA.Common.Errors.404":"The content you’ve requested isn’t currently available.","WEA.Common.Errors.404.Title":"Content Not Available"}),(0,i.set)(e,"message",this.i18n.t("WEA.Common.Errors.404")),e.headTagsData={title:this.i18n.t("WEA.Common.Errors.404.Title")}}},o=p(a.prototype,"i18n",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=p(a.prototype,"fastboot",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a)
e.default=c})),define("web-experience-app/routes/charts",["exports","web-experience-app/routes/base"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{constructor(){var e,t,i
super(...arguments),i="WEA.Charts.Books.Meta.Title",(t="titleKey")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}}e.default=i})),define("web-experience-app/routes/charts/audiobooks",["exports","web-experience-app/routes/base"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{constructor(){var e,t,i
super(...arguments),i="WEA.AudiobookPages.Meta.Title",(t="titleKey")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}}e.default=i})),define("web-experience-app/routes/charts/audiobooks/genre",["exports","web-experience-app/routes/charts/base","@ember/service","@ember/object"],(function(e,t,i,r){var n,a,o,l,s
function p(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?p(Object(i),!0).forEach((function(t){d(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let f=(n=(0,i.inject)("charts/books"),a=(0,r.computed)("controller.model"),o=class extends t.default{constructor(){super(...arguments),u(this,"i18n",l,this),u(this,"charts",s,this)}async model(e){let{genreId:t}=e
const i=this.modelFor("storefront"),{pageLimits:r}=this.charts.getConfig(!0)
return this.charts.fetchData(i,{genreId:t,isAudiobook:!0,limit:r.genre})}get locData(){const{genreTitle:e,storefront:t,chartsList:i}=this.controller.model
return{entity1:i&&i.data[0]&&i.data[0].name,entity2:i&&i.data[1]&&i.data[1].name,genre:e,storefront:t.toUpperCase()}}get titleKey(){return"WEA.Charts.AudioBooks.Meta.GenreTitle"}getDescription(){return this.i18n.t("WEA.Charts.AudioBooks.Meta.GenreDescription",c(c({},this.locData),{},{_disableSafeString:!0}))}getKeywords(){return"WEA.Charts.AudioBooks.Meta.GenreKeywords"}getSchemaTags(e){const{chartsList:t,genreTitle:i}=e
return t?[{name:`schema:${t.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(t,{isAudiobook:!0,genreTitle:i}))}]:[]}},l=m(o.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=m(o.prototype,"charts",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(o.prototype,"locData",[a],Object.getOwnPropertyDescriptor(o.prototype,"locData"),o.prototype),o)
e.default=f})),define("web-experience-app/routes/charts/audiobooks/index",["exports","web-experience-app/routes/charts/base","@ember/object","@ember/service"],(function(e,t,i,r){var n,a,o,l,s
function p(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?p(Object(i),!0).forEach((function(t){d(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let f=(n=(0,r.inject)("charts/books"),a=(0,i.computed)("controller.model"),o=class extends t.default{constructor(){super(...arguments),u(this,"i18n",l,this),u(this,"charts",s,this)}async model(){const e=this.modelFor("storefront"),{pageLimits:t}=this.charts.getConfig(!0)
return this.charts.fetchData(e,{isAudiobook:!0,limit:t.index})}get locData(){const{storefront:e}=this.controller.model
return{storefront:e.toUpperCase()}}get titleKey(){return"WEA.Charts.AudioBooks.Meta.Title"}getDescription(){return this.i18n.t("WEA.Charts.AudioBooks.Meta.Description",c(c({},this.locData),{},{_disableSafeString:!0}))}getKeywords(){return"WEA.Charts.AudioBooks.Meta.Keywords"}getSchemaTags(){const{chartsList:e}=this.controller.model
return e?[{name:`schema:${e.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(e,{isAudiobook:!0}))}]:[]}},l=m(o.prototype,"i18n",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=m(o.prototype,"charts",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(o.prototype,"locData",[a],Object.getOwnPropertyDescriptor(o.prototype,"locData"),o.prototype),o)
e.default=f}))
define("web-experience-app/routes/charts/base",["exports","web-experience-app/routes/base","@ember/service","web-experience-app/utils/seo","web-experience-app/utils/charts","web-experience-app/config"],(function(e,t,i,r,n,a){var o,l,s,p,c,u
function d(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let f=(o=(0,i.inject)("charts/base"),l=(0,i.inject)("location-wea"),s=class extends t.default{constructor(){var e,t,i
super(...arguments),d(this,"charts",p,this),d(this,"fastboot",c,this),d(this,"location",u,this),e=this,t="facebookAppLinkAppStoreID",i=a.default.meta.appleStore.id.books,t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}setupController(e,t){super.setupController(...arguments),e.setProperties(t)}afterModel(e){super.afterModel(...arguments),(0,r.handleCanonicalRedirects)(this,e.url)}getHeadTags(){const e=super.getHeadTags(...arguments)
return e.title=(0,n.pruneTitleForCharts)(e.title),e}getOGTitle(){return this.getTitle(...arguments)}getTwitterTitle(){return this.getTitle(...arguments)}getOGSiteName(){return this.i18n.t(`WEA.Common.Meta.FB.siteName.${this.charts.getViewStateChartsLocKey()}`,{_disableSafeString:!0})}getFacebookAppLinkTagAppName(){return this.i18n.t("WEA.LocalNav.Store.Books",{_disableSafeString:!0})}},p=m(s.prototype,"charts",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=m(s.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=m(s.prototype,"location",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)
e.default=f})),define("web-experience-app/routes/charts/chart-see-all",["exports","web-experience-app/routes/charts/base","@ember/service","@ember/object"],(function(e,t,i,r){var n,a,o,l,s
function p(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?p(Object(i),!0).forEach((function(t){d(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let f=(n=(0,i.inject)("charts/books"),a=(0,r.computed)("controller.model"),o=class extends t.default{constructor(){super(...arguments),u(this,"i18n",l,this),u(this,"charts",s,this)}async model(e){const{chartName:t,genreId:i}=e,r=this.modelFor("storefront"),{pageLimits:n}=this.charts.getConfig()
return await this.charts.fetchData(r,{genreId:i,chartName:t,limit:n.seeAll})}get locData(){const{storefront:e,genreTitle:t,chartsList:i}=this.controller.model,r=i&&i.name?i.name.replace("Top","").trim():""
return{entity1:i&&i.data[0]&&i.data[0].name,entity2:i&&i.data[1]&&i.data[1].name,chart:r,genre:t||"",storefront:e&&e.toUpperCase()}}get titleKey(){return"WEA.Charts.Books.Meta.ChartTitle"}getDescription(){return this.i18n.t("WEA.Charts.Books.Meta.ChartDescription",c(c({},this.locData),{},{_disableSafeString:!0}))}getKeywords(){return"WEA.Charts.Books.Meta.ChartKeywords"}getSchemaTags(){const{chartsList:e,genreTitle:t}=this.controller.model
return e?[{name:`schema:${e.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(e,{genreTitle:t}))}]:[]}},l=m(o.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=m(o.prototype,"charts",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(o.prototype,"locData",[a],Object.getOwnPropertyDescriptor(o.prototype,"locData"),o.prototype),o)
e.default=f})),define("web-experience-app/routes/charts/device",["exports","web-experience-app/routes/base"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{constructor(){var e,t,i
super(...arguments),i="WEA.Charts.Apps.Meta.Title",(t="titleKey")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}}e.default=i})),define("web-experience-app/routes/charts/device/category",["exports","web-experience-app/routes/charts/base","@ember/service","web-experience-app/config/charts","@ember/debug"],(function(e,t,i,r,n){var a,o,l,s
function p(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function c(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function u(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function d(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let m=(a=(0,i.inject)("charts/apps"),o=class extends t.default{constructor(){super(...arguments),c(this,"i18n",l,this),c(this,"charts",s,this)}async model(e,t){let{categorySlug:i,categoryId:a,ageId:o}=e
const{queryParams:l={}}=t.to,{deviceType:s}=this.paramsFor("charts.device"),c=this.modelFor("storefront"),{charts:d}=this,{pageLimits:m,meta:{appsLocKey:f,gamesLocKey:b}}=d.getConfig(),g={limit:m.genre,genreId:a,platform:s},h=i.includes("-games")?this.i18n.t(b):this.i18n.t(f)
if(i){g.seoName=i
const e=i.lastIndexOf("-"),t=i.slice(0,e);(["top-free","top-paid"].includes(t)||l.chart)&&(g.limit=m.seeAll,g.chartName=l.chart||t)}d.isKidsUrl(a,o)&&(g.ages=o)
const y=await d.fetchData(c,g)
if(d.isKidsUrl(a,o)&&!y.genreTitle){const e=y.genres.find((e=>d.isKidsUrl(`${e.genre}`,e.ages)))
if(0===Number(o))y.genreTitle=e.name,y.url=d.getCanonicalUrl(e.chartUrl)
else{const t=e.children.find((e=>e.ages===o))
y.genreTitle=t.name,y.url=d.getCanonicalUrl(t.chartUrl)}(0,n.debug)(`Overriden the original model.url with ${y.url}`)}return y.extraGenres[0]=y.extraGenres[0].filter((e=>"Kids"!==e.name)),function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?p(Object(i),!0).forEach((function(t){u(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({shelfConfig:r.default.app.genreShelfConfig,isSeeAll:!!g.chartName,isBaseSeeAll:!!g.chartName&&!l.chart,isCategorySeeAll:!!l.chart,baseCategory:h,platform:s},y)}getChartType(e){const{isSeeAll:t,chartsList:i}=e
if(t)return i?.chart?.includes("free")?this.i18n.t("WEA.Charts.Apps.Meta.Chart.Free"):i?.chart?.includes("paid")?this.i18n.t("WEA.Charts.Apps.Meta.Chart.Paid"):""}getDeviceType(e){const{meta:{deviceTypeLanguage:t}}=this.charts.getConfig()
return t[e.platform]||""}getHeadTags(e){const t=super.getHeadTags(...arguments),{isSeeAll:i}=e
return i&&(t.searchEngineIndexing=!1,delete t.canonicalURL),t}getTitle(e){const{isBaseSeeAll:t,isCategorySeeAll:i,storefront:r,baseCategory:n,genreTitle:a}=e,o=t?"WEA.Charts.Apps.Meta.ChartTitle":i?"WEA.Charts.Apps.Meta.CategoryChartTitle":"WEA.Charts.Apps.Meta.CategoryTitle"
return this.i18n.t(o,{chart:this.getChartType(e),deviceType:this.getDeviceType(e),baseCategory:n,category:a,storefront:r.toUpperCase(),_disableSafeString:!0})}getDescription(e){const{isSeeAll:t,isBaseSeeAll:i,isCategorySeeAll:r,baseCategory:n,genreTitle:a,chartsList:o}=e,l=i?"WEA.Charts.Apps.Meta.ChartDescription":r?"WEA.Charts.Apps.Meta.CategoryChartDescription":"WEA.Charts.Apps.Meta.CategoryDescription"
let s="",p=""
if(t)s=o.data?.[0]?.name,p=o.data?.[1]?.name
else{const e=o.find((e=>e.chart.includes("top-paid")))?.data,t=o.find((e=>e.chart.includes("top-free")))?.data
s=t?.[0]?.name||e?.[1]?.name,p=e?.[0]?.name||t?.[1]?.name}return this.i18n.t(l,{chart:this.getChartType(e),deviceType:this.getDeviceType(e),baseCategory:n,category:a,entity1:s,entity2:p,_disableSafeString:!0})}getKeywordsTag(e){const{isBaseSeeAll:t,isCategorySeeAll:i,baseCategory:r,genreTitle:n}=e,a=t?"WEA.Charts.Apps.Meta.ChartKeywords":i?"WEA.Charts.Apps.Meta.CategoryChartKeywords":"WEA.Charts.Apps.Meta.CategoryKeywords"
return this.i18n.t(a,{chart:this.getChartType(e),deviceType:this.getDeviceType(e),baseCategory:r,category:n,_disableSafeString:!0})}getSchemaTags(e){const{chartsList:t}=e,i=t?t[0]:t
return i?[{name:`schema:${i.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(i))}]:[]}},l=d(o.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=d(o.prototype,"charts",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o)
e.default=m})),define("web-experience-app/routes/charts/device/index",["exports","web-experience-app/routes/charts/base","@ember/object","@ember/service"],(function(e,t,i,r){var n,a,o,l,s
function p(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?p(Object(i),!0).forEach((function(t){d(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let f=(n=(0,r.inject)("charts/apps"),a=(0,i.computed)("controller.model"),o=class extends t.default{constructor(){super(...arguments),u(this,"i18n",l,this),u(this,"charts",s,this)}async model(){const{deviceType:e}=this.paramsFor("charts.device"),t=this.modelFor("storefront"),{pageLimits:i}=this.charts.getConfig(),r=await this.charts.fetchData(t,{limit:i.index,platform:e})
return r.extraGenres[0]=r.extraGenres[0].filter((e=>"Kids"!==e.name)),c({platform:e},r)}get locData(){const e=this.modelFor("storefront"),{deviceType:t}=this.modelFor("charts.device"),{meta:{deviceTypeLanguage:i}}=this.charts.getConfig()
return{storefront:e.toUpperCase(),deviceType:i[t]}}get titleKey(){return"WEA.Charts.Apps.Meta.Title"}getDescription(){return this.i18n.t("WEA.Charts.Apps.Meta.Description",c(c({},this.locData),{},{_disableSafeString:!0}))}getKeywords(){return"WEA.Charts.Apps.Meta.Keywords"}getSchemaTags(e){const{chartsList:t}=e,[i]=t
return i?[{name:`schema:${i.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(i))}]:[]}},l=m(o.prototype,"i18n",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=m(o.prototype,"charts",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(o.prototype,"locData",[a],Object.getOwnPropertyDescriptor(o.prototype,"locData"),o.prototype),o)
e.default=f})),define("web-experience-app/routes/charts/genre",["exports","web-experience-app/routes/charts/base","@ember/object","@ember/service","web-experience-app/config/charts"],(function(e,t,i,r,n){var a,o,l,s,p
function c(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?c(Object(i),!0).forEach((function(t){m(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function m(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function f(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let b=(a=(0,r.inject)("charts/books"),o=(0,i.computed)("controller.model"),l=class extends t.default{constructor(){super(...arguments),d(this,"i18n",s,this),d(this,"charts",p,this)}async model(e){let{genreId:t}=e
const i=this.modelFor("storefront"),{pageLimits:r}=this.charts.getConfig(),a=await this.charts.fetchData(i,{genreId:t,limit:r.genre})
return u({shelfConfig:n.default.book.genreShelfConfig},a)}get locData(){const{storefront:e,genreTitle:t,chartsList:i}=this.controller.model,r=i.find((e=>"top-paid"===e.chart)).data
return{entity1:r[0]&&r[0].name,entity2:r[1]&&r[1].name,genre:t,storefront:e.toUpperCase()}}getTitle(e){const{storefront:t,genreTitle:i}=e
return this.i18n.t("WEA.Charts.Books.Meta.GenreTitle",{genre:i,storefront:t.toUpperCase(),_disableSafeString:!0})}getDescription(){return this.i18n.t("WEA.Charts.Books.Meta.GenreDescription",u(u({},this.locData),{},{_disableSafeString:!0}))}getKeywords(){return"WEA.Charts.Books.Meta.GenreKeywords"}getSchemaTags(){const{chartsList:e,genreTitle:t}=this.controller.model,[i]=e
return i?[{name:`schema:${i.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(i,{genreTitle:t}))}]:[]}},s=f(l.prototype,"i18n",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=f(l.prototype,"charts",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f(l.prototype,"locData",[o],Object.getOwnPropertyDescriptor(l.prototype,"locData"),l.prototype),l)
e.default=b})),define("web-experience-app/routes/charts/index",["exports","web-experience-app/routes/charts/base","@ember/object","@ember/service","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n){var a,o,l,s,p,c
function u(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function d(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?u(Object(i),!0).forEach((function(t){f(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function b(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let g=(a=(0,r.inject)("charts/books"),o=(0,i.computed)("controller.model"),l=class extends t.default{constructor(){super(...arguments),m(this,"i18n",s,this),m(this,"charts",p,this),m(this,"router",c,this)}beforeModel(){const e=this.modelFor("storefront")
this.router.transitionTo("charts.device",{storefront:e,deviceType:"iphone"})}async model(){const e=this.modelFor("storefront"),{pageLimits:t}=this.charts.getConfig()
return this.charts.fetchData(e,{limit:t.index})}get locData(){const{storefront:e}=this.controller.model
return{storefront:e.toUpperCase()}}getTitle(e){return this.i18n.t("WEA.Charts.Books.Meta.Title",{storefront:e.storefront.toUpperCase(),_disableSafeString:!0})}getDescription(){return this.i18n.t("WEA.Charts.Books.Meta.Description",d(d({},this.locData),{},{_disableSafeString:!0}))}getKeywords(){return"WEA.Charts.Books.Meta.Keywords"}getSchemaTags(){const{chartsList:e}=this.controller.model,[t]=e
return t?[{name:`schema:${t.chart}`,content:JSON.stringify(this.charts.generateSchemaTagContent(t))}]:[]}},s=b(l.prototype,"i18n",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=b(l.prototype,"charts",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=b(l.prototype,"router",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b(l.prototype,"locData",[o],Object.getOwnPropertyDescriptor(l.prototype,"locData"),l.prototype),l)
e.default=g})),define("web-experience-app/routes/developer",["exports","web-experience-app/routes/product-with-see-all","@ember/service","web-experience-app/utils/apps/apps","web-experience-app/config","@amp/ember-ui-media-artwork/utils/srcset"],(function(e,t,i,r,n,a){var o,l,s,p,c,u
function d(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?d(Object(i),!0).forEach((function(t){b(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function g(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const h={appleTvApps:"WEA.Common.Platforms.AppleTv",bundles:"WEA.Common.Platforms.Bundles",iPhoneiPadApps:"WEA.Common.Platforms.iPadiPhone",iPadApps:"WEA.Common.Platforms.iPad",iPhoneApps:"WEA.Common.Platforms.iPhone",macApps:"WEA.Common.Platforms.Mac",iMessageApps:"WEA.Common.Platforms.iMessage",watchApps:"WEA.Common.Platforms.Watch"}
let y=(o=(0,i.inject)("media-api/apps"),l=class extends t.default{constructor(){super(...arguments),f(this,"appViewState",s,this),f(this,"appsApi",p,this),f(this,"i18n",c,this),f(this,"globalElements",u,this),b(this,"pageType","Artist"),b(this,"twitterCropCode","cw")}async getViewModel(e,t){this.appViewState.setAppStoreOverride()
const i=await this.appsApi.getAppDeveloper(e,t,{"sparseLimit[developers:ios-apps]":100,"sparseLimit[developers:imessage-apps]":30}),r=await this._getRelatedApps(i,"atv-apps"),n=await this._getRelatedApps(i,"app-bundles")
let a=await this._getRelatedApps(i,"imessage-apps")
const o=await this._getRelatedApps(i,"ios-apps"),l=await this._getRelatedApps(i,"mac-apps"),s=await this._getRelatedApps(i,"watch-apps"),{iPadApps:p,iPadAppsIds:c,iPhoneiPadApps:u,iPhoneiPadAppsIds:d,iPhoneApps:f,iPhoneAppsIds:b}=this._separateiOSApps(o)
a=a?.filter((e=>{let{id:t}=e
return!d?.includes(t)&&!b?.includes(t)&&!c?.includes(t)}))
const g=[...r,...n,...a,...p,...f,...u,...l,...s].sort().reduce(((e,t)=>{const{length:i}=e
return 0!==i&&e[i-1].id===t.id||e.push(t),e}),[])
return m(m({product:m(m({id:i.id},i.attributes),{},{artwork:i.attributes?.editorialArtwork?.bannerUber}),allApps:g,appleTvApps:r,bundles:n,iMessageApps:a,iPhoneiPadApps:u,iPadApps:p,iPhoneApps:f,macApps:l,watchApps:s},this._getRelatedAppsIds(i)),{},{iMessageAppsIds:a.map((e=>e.id))})}_getRelatedApps(e,t){return e.relationships[t]?.data?.map(r.appLockupModelTransform)||[]}_getRelatedAppsIds(e){const t=t=>e.relationships?.[t]?.data?.map((e=>e.id))||[]
return{bundlesIds:t("bundles"),watchAppsIds:t("watch-apps"),appleTvAppsIds:t("atv-apps"),macAppsIds:t("mac-apps")}}_separateiOSApps(){let e,t,i,r,n,a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return o&&(e=o.filter((e=>e.deviceFamilies&&e.deviceFamilies.includes("ipad")&&e.deviceFamilies.includes("iphone"))),t=e.map((e=>e.id)),n=o.filter((e=>e.deviceFamilies&&e.deviceFamilies.includes("ipad")&&!e.deviceFamilies.includes("iphone"))),a=n.map((e=>e.id)),i=o.filter((e=>e.deviceFamilies&&e.deviceFamilies.includes("iphone")&&!e.deviceFamilies.includes("ipad"))),r=i.map((e=>e.id))),{iPadApps:n,iPadAppsIds:a,iPhoneiPadApps:e,iPhoneiPadAppsIds:t,iPhoneApps:i,iPhoneAppsIds:r}}getTitle(e){return this.paramsFor("developer").seeAll?super.getTitle(...arguments):this.i18n.t("WEA.DeveloperPages.Meta.Title",{developerName:e.viewModel.product.name,_disableSafeString:!0})}getOGCropCode(){return"cw"}getTwitterImageWidth(){return 1200}getOGType(){return n.default.meta.og.type.developer}getDescription(e){const t=e.viewModel.product.name
if(this.paramsFor("developer").seeAll)return this.i18n.t("WEA.DeveloperPages.Meta.Description.NoApps",{developerName:t,_disableSafeString:!0})
const{allApps:i=[]}=e.viewModel,r=i.slice(0,3).map((e=>e.name))
let n="NoApps"
return 1===i.length?n="OneApp":2===i.length?n="TwoApps":3===i.length?n="ThreeApps":i.length>3&&(n="ManyApps"),this.i18n.t(`WEA.DeveloperPages.Meta.Description.${n}`,{developerName:t,listing1:r[0]||"",listing2:r[1]||"",listing3:r[2]||"",_disableSafeString:!0})}getSchemaTags(e){const{allApps:t=[]}=e.viewModel,i={"@context":"https://web.archive.org/web/20220531203922/http://schema.org","@type":"Person/Organization",name:e.viewModel.product.name,description:this.getDescription(e),hasOfferCatalog:{"@type":"OfferCatalog",name:"Software Applications",itemListElement:this.paramsFor("developer").seeAll?[]:t.map((e=>this._schemaDataForApp(e)))}}
return[{name:"schema:creator",content:JSON.stringify(i)}]}_schemaDataForApp(e){const{name:t}=e
if(void 0!==t){const{artwork:i,buyPrice:r,deviceFamilies:n,primaryGenre:o={},userRating:l={}}=e,{priceCurrency:s}=this.globalElements,p={"@type":"SoftwareApplication",applicationCategory:o.name,availableOnDevice:this._formatDeviceList(n),image:i?(0,a.buildSrc)(i.url,{width:i.width,height:i.height}):"",operatingSystem:this._schemaOSList(n),name:t}
return l.ratingCount>0&&(p.aggregateRating={"@type":"AggregateRating",ratingValue:l.value,reviewCount:l.ratingCount}),p.offers={"@type":"Offer",price:r||0,priceCurrency:s},r&&0!==r||(p.offers.category="free"),p}}_formatDeviceList(e){return e.map((e=>"mac"===e?"Mac":0===e.indexOf("ip")?e.replace(/^.{2}/g,"iP"):"tvos"===e?"Apple TV":"watch"===e?"Apple Watch":void 0)).join(", ")}_schemaOSList(e){const t=["ipad","iphone","ipod"],i=[]
return e.forEach((e=>{t.indexOf(e)>-1?-1===i.indexOf("iOS")&&i.push("iOS"):"tvos"===e?i.push("tvOS"):"watch"===e?i.push("watchOS"):"mac"===e&&i.push("macOS")})),i.join(", ")}generateSeeAllHeader(e,t){const i=t.product.name
return{parts:{sectionTitle:this.i18n.t(h[e]),productName:i}}}typeFor(){return"app"}sectionTypeForComponent(){return"lockup"}},s=g(l.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=g(l.prototype,"appsApi",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=g(l.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=g(l.prototype,"globalElements",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l)
e.default=y})),define("web-experience-app/routes/error-fitness",["exports","@ember/routing/route","@ember/service"],(function(e,t,i){var r,n,a
function o(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function l(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function s(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let p=(r=class extends t.default{constructor(){super(...arguments),o(this,"fastboot",n,this),o(this,"i18n",a,this),l(this,"templateName","error-fitness"),l(this,"controllerName","error-fitness")}getMetricsData(){return{pageType:"Error"}}setupController(e,t){if(this.i18n.exists("WFA.Error.TryAgain")||this.i18n.addTranslations(this.i18n.locale,{"WFA.Error.TryAgain":"Try again","WFA.Error.AnErrorOccurred":"An error occurred","WFA.LearnMore.AppleFitness":"Learn more about Apple Fitness+"}),t){if(t.errorCode&&["NETWORK_ERROR","REQUEST_ERROR","CONTENT_UNAVAILABLE"].includes(t.errorCode)||t.status&&[400,404,410].includes(t.status))return this.intermediateTransitionTo("not-found-fitness",404)
if(this.fastboot.isFastBoot)throw t
0}super.setupController(...arguments)}},n=s(r.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=s(r.prototype,"i18n",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)
e.default=p})),define("web-experience-app/routes/invoice",["exports","web-experience-app/routes/base","@ember/service","web-experience-app/config"],(function(e,t,i,r){var n,a,o
function l(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let s=(n=(0,i.inject)("location-wea"),a=class extends t.default{constructor(){var e,t,i,n
super(...arguments),e=this,t="location",n=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(n):void 0}),l(this,"titleKey","WEA.InvoicePages.Receipts.Meta.Title"),l(this,"descriptionKeys",["WEA.InvoicePages.Receipts.Meta.Description"]),l(this,"og:descriptionKey","WEA.InvoicePages.Receipts.Meta.Description"),l(this,"twitter:descriptionKey","WEA.InvoicePages.Receipts.Meta.Description"),l(this,"facebookAppLinkAppStoreID",r.default.meta.appleStore.id.apps)}getOGSiteName(){return this.i18n.t("WEA.Common.Meta.FB.siteName.Apps",{_disableSafeString:!0})}getTwitterTitle(){return this.i18n.t("WEA.InvoicePages.Receipts.Meta.Title",{_disableSafeString:!0})}getMobileSmartBannerTag(){return null}},p=a.prototype,c="location",u=[n],d={configurable:!0,enumerable:!0,writable:!0,initializer:null},f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(p,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(p,c,f),f=null),o=f,a)
var p,c,u,d,m,f
e.default=s})),define("web-experience-app/routes/not-found",["exports","web-experience-app/routes/base","@ember/service","@ember/object","web-experience-app/config","web-experience-app/utils/routing","web-experience-app/services/app-view-state"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function y(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let w=(l=(0,i.inject)("location-wea"),s=(0,r.computed)("appViewState.currentState"),p=class extends t.default{constructor(){super(...arguments),g(this,"appViewState",c,this),g(this,"fastboot",u,this),g(this,"globalElements",d,this),g(this,"locale",m,this),g(this,"location",f,this),g(this,"platform",b,this),h(this,"preventConnectingLaunch",!1),h(this,"descriptionKeys",["WEA.Error.Generic.Meta.PageTitle"])}get titleKey(){const{currentState:e}=this.appViewState
switch(e){case o.VIEW_STATES.APP:return"WEA.Error.Generic.Title.Apps"
case o.VIEW_STATES.PODCASTS:return"WEA.Error.Generic.Title.Podcasts"
case o.VIEW_STATES.BOOK:return"WEA.Error.Generic.Title.AppleBooks"
case o.VIEW_STATES.ITUNES:return"WEA.Error.Generic.Title.iTunes"
default:return"WEA.Error.Generic.Meta.PageTitle"}}setupController(e){if(super.setupController(...arguments),e.set("preventConnectingLaunch",this.preventAutoLaunch||this.hasAutoLaunched),!this.globalElements.isLoaded)return(0,r.setProperties)(this.globalElements,{languageCode:this.locale.defaultLocale,priceCurrency:n.default.defaultPriceCurrency,storefront:n.default.defaultStorefront}),this.globalElements.load()}model(){return this.fastboot.isFastBoot?{}:{url:window.location.href}}afterModel(e,t){const{url:i}=t.intent
return this._handleRedirect(e,i),super.afterModel(...arguments)}_processStorefrontedUrl(e){const t=this.globalElements.storefront||n.default.defaultStorefront
return e.replace("{sf}",`/${t.toLowerCase()}`)}_processNativeLaunchUrl(e){let t=e.target
return e.platformTargets&&e.platformTargets.forEach((e=>{let{platform:i,target:r}=e
this.platform.get(i)&&(t=r)})),this._processStorefrontedUrl(t)}_handleRedirect(e,t){const{currentState:i}=this.appViewState
let r=(0,a.getNotFoundRedirect)(t,i)
if(i!==o.VIEW_STATES.BOOK||r||(r={target:e.url}),r&&!this.fastboot.isFastBoot){let t=!1
const{nativeLaunch:a}=r
let{fallbackUrl:l}=r
switch(i){case o.VIEW_STATES.APP:if(t=a?this.platform[a]:this.platform.couldHaveMacAppStore,!l){l="mas"===r.platform?n.default.macAppStoreUrl:n.default.iosAppStoreUrl}break
case o.VIEW_STATES.BOOK:t=this.platform.couldHaveBookStore,l=n.default.appleBooksUrl
break
case o.VIEW_STATES.PODCASTS:t=this.platform.browser.isAtLeastMojavePlusOne,l=n.default.podcastsAppPageURL}t?e.url=this._processNativeLaunchUrl(r):l&&(this.preventAutoLaunch=!0,this.location.replace(this._processStorefrontedUrl(l)))}}getHeadTags(){const e=super.getHeadTags(...arguments)
return e.searchEngineIndexing=!1,e}},c=y(p.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=y(p.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=y(p.prototype,"globalElements",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=y(p.prototype,"locale",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=y(p.prototype,"location",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=y(p.prototype,"platform",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y(p.prototype,"titleKey",[s],Object.getOwnPropertyDescriptor(p.prototype,"titleKey"),p.prototype),p)
e.default=w})),define("web-experience-app/routes/product-with-see-all",["exports","web-experience-app/routes/base","@ember/service","web-experience-app/utils/seo","@ember/string","ember-inflector","@ember/debug"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function g(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let h=(l=(0,i.inject)("location-wea"),s=class extends t.default{constructor(){super(...arguments),f(this,"fastboot",p,this),f(this,"location",c,this),f(this,"appViewState",u,this),f(this,"routerState",d,this),f(this,"localNav",m,this),b(this,"queryParams",{seeAll:{refreshModel:!0}}),b(this,"metricsData",null),b(this,"pageType","")}beforeModel(e){this.routerState.setupLoadingState(e),this._localNavLinks=this.localNav.getLinks()}async model(e,t){const{seeAll:i,adamId:r}=e,n=this.modelFor("storefront"),a=this.handleProductId(r,e),o=await this.getViewModel(n,a,e,t)
if(!i)return{viewModel:o,storefront:n}
const l=this.normalizeItemsType(i),s=this.typeFor(l,o),p=this.sectionTypeForComponent(l)
return{viewModel:o,storefront:n,seeAllData:{header:this.generateSeeAllHeader(l,o),items:o[l]||[],seeAllModelType:s,sectionType:l,seeAll:i,seeAllSectionType:p}}}async afterModel(e,t){await this._localNavLinks,this.routerState.clearLoadingState(),this.updateMetricsBase(e,t),this.appViewState.set("currentModel",e)
const i=t.to?.queryParams?.app||this.appViewState.requestedApp
return this.appViewState.set("requestedApp",i),this._checkLaunchNative(e,t),await this.globalElements.load(),this.handleCanonicalRedirects(e,t)}updateMetricsBase(e,t){return super.updateMetricsBase(e.viewModel.product,t)}handleCanonicalRedirects(e,t){let{viewModel:i}=e
if(!t.to||!t.from)return i.product&&i.product.url?(0,r.handleCanonicalRedirects)(this,i.product.url):void 0}_shouldLaunchNativeClient(e,t){return super._shouldLaunchNativeClient(e.viewModel.product,t)}getNativeClientLaunchURL(e){return super.getNativeClientLaunchURL(e.viewModel.product)}getAppleContentID(e){let{viewModel:t}=e
return t.product.id}getOGDescription(){return this.getDescription(...arguments)}getOGImageTags(){const e=super.getOGImageTags(...arguments)
if(!e.find((e=>"og:image"===e.name)))return e
const t=e.find((e=>"og:image:alt"===e.name)),i=this.getTitle(...arguments)
return t?t.content=i:e.push({name:"og:image:alt",content:i}),e}getTitle(e){if(!this.paramsFor(this.routeName).seeAll)return this.i18n.t(this.titleKey)
const{header:t}=e.seeAllData
return t.full?t.full:t.parts?this.i18n.t("WEA.Common.SeeAll.Title.Generic",{parentName:t.parts.productName,sectionTitle:t.parts.sectionTitle,_disableSafeString:!0}):void 0}getOGTitle(){return this.getTitle(...arguments)}getCanonicalUrl(e){let{viewModel:t}=e
return t.product.url}getOpenGraphTags(e){let{viewModel:t}=e
const i=[...arguments]
i.pop(),i.push(t.product.url)
return super.getOpenGraphTags(...i)}getArtwork(e){let{viewModel:t}=e
return super.getArtwork(t.product)}getTwitterTitle(){return this.getTitle(...arguments)}getTwitterImageAlt(e){let{viewModel:t}=e
const i=this.getTitle(...arguments)
return i||t.product.name}getFacebookAppLinkTags(e){let{viewModel:t}=e
return super.getFacebookAppLinkTags(t.product)}handleProductId(e){return e.replace(/^id/,"")}generateSeeAllHeader(){throw new Error("You must implement generateSeeAllHeader to determine the header for the display.")}getViewModel(){throw new Error("Implement this method in subclass")}typeFor(e){const t=e.split("top")
let i=t[t.length-1]
return i=(0,a.singularize)(i),(0,n.dasherize)(i)}normalizeItemsType(e){return(0,n.camelize)(e)}},p=g(s.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=g(s.prototype,"location",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=g(s.prototype,"appViewState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=g(s.prototype,"routerState",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=g(s.prototype,"localNav",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)
e.default=h})),define("web-experience-app/routes/product",["exports","@ember/routing/route","rsvp","@ember/service","web-experience-app/utils/seo","@ember/application","@ember/debug"],(function(e,t,i,r,n,a,o){var l,s,p,c,u,d
function m(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function f(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let b=(l=(0,r.inject)("location-wea"),s=class extends t.default{constructor(){super(...arguments),m(this,"fastboot",p,this),m(this,"appViewState",c,this),m(this,"routerState",u,this),m(this,"location",d,this)}beforeModel(e){this.routerState.setupLoadingState(e)}afterModel(){return this.routerState.clearLoadingState(),super.afterModel(...arguments),this.handleCanonicalRedirects(...arguments)}handleCanonicalRedirects(e){if(e&&e.model)return(0,n.handleCanonicalRedirects)(this,e.model.url)}setAppViewStateForNonUTSId(){this.appViewState.reset()}handleProductId(e){return this.setAppViewStateForNonUTSId(),e.replace(/^id/,"")}getModelType(e){return`product/${e}`}getRecord(e,t,i){return(0,a.getOwner)(this).lookup("service:store").findRecord(e,t,i)}async model(e,t){let{adamId:r}=e
await super.model(...arguments)
const[n]=t.targetName.split("."),a=this.modelFor("storefront"),o=this.handleProductId(r),l=this.getModelType(n,r),s=await this.getRecord(l,o,{adapterOptions:{transition:t}})
return(0,i.hash)({storefront:a,model:s})}setupController(e,t){super.setupController(...arguments),e.setProperties(t)}},p=f(s.prototype,"fastboot",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=f(s.prototype,"appViewState",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=f(s.prototype,"routerState",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=f(s.prototype,"location",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)
e.default=b})),define("web-experience-app/routes/see-all-error",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{activate(){const[e]=this.fullRouteName.split(/\.\w+$/)
this.router.transitionTo(e,this.modelFor(e))}}e.default=i})),define("web-experience-app/routes/storefront",["exports","@ember/routing/route","web-experience-app/utils/routing","@ember/service","rsvp"],(function(e,t,i,r,n){var a,o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let l=(a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="metrics",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}model(e){let{storefrontId:t}=e
return-1!==[i.ABSENT_SIGIL,i.EMPTY_SIGIL].indexOf(t)?"us":t}afterModel(e){return(0,n.resolve)(super.afterModel(...arguments)).then((()=>{this.metrics.addBaseData({storeFront:e})}))}},s=a.prototype,p="metrics",c=[r.inject],u={configurable:!0,enumerable:!0,writable:!0,initializer:null},m={},Object.keys(u).forEach((function(e){m[e]=u[e]})),m.enumerable=!!m.enumerable,m.configurable=!!m.configurable,("value"in m||m.initializer)&&(m.writable=!0),m=c.slice().reverse().reduce((function(e,t){return t(s,p,e)||e}),m),d&&void 0!==m.initializer&&(m.value=m.initializer?m.initializer.call(d):void 0,m.initializer=void 0),void 0===m.initializer&&(Object.defineProperty(s,p,m),m=null),o=m,a)
var s,p,c,u,d,m
e.default=l})),define("web-experience-app/routes/story",["exports","@ember/service","web-experience-app/routes/product-with-see-all","web-experience-app/config","@amp/ember-ui-media-artwork/utils/srcset","web-experience-app/utils/images","web-experience-app/utils/apps/device-support","web-experience-app/utils/apps/stories","web-experience-app/helpers/primary-platform"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m,f
function b(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function g(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?b(Object(i),!0).forEach((function(t){y(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function h(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function y(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function w(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const v="WEA.EditorialItemProductPages.Social.title.AOTD",_="WEA.EditorialItemProductPages.Social.title.GOTD",P="WEA.EditorialItemProductPages.Social.title.IAP",O="1529488016",A=["1456880492","1482340342"]
let k=(p=(0,t.inject)("media-api/apps"),c=class extends i.default{constructor(){super(...arguments),h(this,"appsApi",u,this),h(this,"platform",d,this),h(this,"fastboot",m,this),h(this,"appViewState",f,this),y(this,"pageType","AppStory"),y(this,"twitterCropCode","bb")}async getViewModel(e,t){return{product:await this.appsApi.getStory(e,t)}}handleCanonicalRedirects(){}_shouldLaunchNativeClient(e,t){if(this._shouldPreventNativeClientLaunch(t))return!1
const{product:i}=e.viewModel
return!![...A,O].includes(i.id)||(!(!this.platform.browser.isAtLeastMojave||!(0,l.availableOnDesktop)(i))||super._shouldLaunchNativeClient(...arguments))}getNativeClientLaunchURL(e){const{id:t}=e.viewModel.product
return t===O&&this.platform.browser.isAtLeastBigSur?r.default.appStoreArcadeOffersLaunchUrl:A.includes(t)&&this.platform.browser.isAtLeastMojavePlusOne?r.default.appStoreArcadeLaunchUrl:super.getNativeClientLaunchURL(...arguments)}getTitle(e){const{featuredAppName:t,storyTitle:i}=T(e.viewModel.product)
return this.i18n.t(this.getTitleKey(e),{appName:t,storyTitle:i,_disableSafeString:!0})}getDescription(e){const{product:t}=e.viewModel,i=T(t),r=j(t),[n]=r
let a=this.getLocKeyBase(e)
const s=(0,l.hasShelfDisplay)(n,"collectionLockup");(0,o.isMacOnly)((0,l.availableDevices)(t))&&(a+=".MacOS")
const p=`${a}.Meta.PageMetaDescription`
if(t.cardDisplayStyle===l.CARD_DISPLAY_STYLES.singleApp||!(0,l.isTileCard)(t)&&!s&&r.length<2||x(t))return this.i18n.t(p,g(g({},i),{},{_disableSafeString:!0}))
const c=s?n.contents:r
let u=".Collection."
return 1===c.length?u+="One":2===c.length?u+="Two":3===c.length?u+="Three":c.length>3&&(u+="ManyMore"),this.i18n.t(`${p}${u}`,g(g({},i),{},{_disableSafeString:!0}))}getLocKeyBase(e){return(0,l.availableOnDesktop)(e.viewModel.product)?"WEA.EditorialItemProductPages.MacAppStore":"WEA.EditorialItemProductPages"}getTitleKey(e){const{label:t,kind:i}=e.viewModel.product
return t?.includes("APP STORE AWARDS")&&"App"==i?"WEA.EditorialItemProductPages.Social.title.ASA":"WEA.EditorialItemProductPages.Meta.title"}getKeywordsTag(e){const{product:t}=e.viewModel,i=j(t),[r]=i,n=(0,l.hasShelfDisplay)(r,"collectionLockup")
let a=this.getLocKeyBase(e);(0,o.isMacOnly)((0,l.availableDevices)(t))&&(a+=".MacOS")
let s=`${a}.Meta.PageMetaKeywords`
if(n||!x(t)&&((0,l.isTileCard)(t)&&i||i&&i.length>1)){switch(n?r.contents.length:i.length){case 1:s=`${a}.Meta.PageMetaKeywords.Collection.One`
break
case 2:s=`${a}.Meta.PageMetaKeywords.Collection.Two`
break
default:s=`${a}.Meta.PageMetaKeywords.Collection.Three`}}return this.i18n.t(s,g(g({},T(t)),{},{_disableSafeString:!0}))}getOGCropCode(){return"fo"}getOGImageTags(e){const{product:t}=e.viewModel
if(!x(t)&&t.cardArtwork)return super.getOGImageTags(...arguments)
const i=r.default.artworkFallbacks["product-hero-story"]
return[{name:"og:image",content:i.url},{name:"og:image:alt",content:this.i18n.t(this.getTitleKey(e),{_disableSafeString:!0})},{name:"og:image:type",content:(0,n.mimeTypeForFormat)("png")},{name:"og:image:width",content:i.width},{name:"og:image:height",content:i.height}]}getArtwork(e){return e.viewModel.product.cardArtwork||super.getArtwork(e)}getOGImageURL(e){const{product:t}=e.viewModel,{cardArtwork:i={}}=t,r=this.getOGCropCode(t),{width:o,height:l}=(0,a.constrainImage)(i,{width:1200,height:630})
return(0,n.buildSrc)(i.url,{crop:r,width:o,height:l})}getTwitterImage(e){if(e.viewModel.product.cardArtwork)return this.getOGImageURL(e)
return r.default.artworkFallbacks["product-hero-story"].url}getOGSiteName(){const e=this.appViewState.isMacAppStoreView?"macOs":"iosSoftware"
return this.i18n.t(`WEA.EditorialItemProductPages.FB.siteName.${e}`,{_disableSafeString:!0})}getOGTitle(e){const{product:t}=e.viewModel,{featuredAppName:i,storyTitle:r={}}=T(t),{cardDisplayStyle:n}=t
let a
return a=n===l.CARD_DISPLAY_STYLES.appOfTheDay?v:n===l.CARD_DISPLAY_STYLES.gameOfTheDay?_:n===l.CARD_DISPLAY_STYLES.inAppPurchase?P:this.getTitleKey(e),this.i18n.t(a,{appName:i,storyTitle:r,_disableSafeString:!0})}getOGType(){return r.default.meta.og.type.story}getTwitterSite(){return this.appViewState.isMacAppStoreView?this.i18n.t("WEA.EditorialItemProductPages.Twitter.site.macOs",{_disableSafeString:!0}):super.getTwitterSite(...arguments)}getTwitterTitle(){return this.getOGTitle(...arguments)}getSchemaTags(e){const{product:t}=e.viewModel,i=j(t),[r]=i,n=(0,l.hasShelfDisplay)(r,"collectionLockup"),{lastPublishedDate:a}=t,o=this.getOGTitle(e),s={"@type":"Organization",name:"Apple Inc",url:"https://web.archive.org/web/20220531203922/http://www.apple.com",logo:{"@type":"ImageObject",url:"https://web.archive.org/web/20220531203922/https://www.apple.com/ac/structured-data/images/knowledge_graph_logo.png"}},p=this.getOGImageTags(e).find((e=>"og:image"===e.name))||{},c={"@context":"https://web.archive.org/web/20220531203922/http://schema.org",name:o,description:this.getDescription(e),image:p.content,author:s,publisher:s,headline:o,dateModified:a,datePublished:a}
if(n||!x(t)&&i.length>1){const e=n?r.contents:i
c["@type"]="CollectionPage",c.mentions=e.map((e=>this._schemaDataForApp(e)))}else c["@type"]="Article",c.mainEntityOfPage=this._schemaDataForApp(r)
return[{name:"schema:article",content:JSON.stringify(c)}]}getHeadTags(e){const t=super.getHeadTags(...arguments)
return e.viewModel.product.meta?.robots?.restrictSearch&&(t.searchEngineIndexing=!1),t}_schemaDataForApp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e
e.contents?.length?[t]=e.contents:e.app&&(t=e.app)
const{name:i}=t
if(void 0!==i){const{deviceFamilies:e=[],productOffers:r={},genres:a=[],userRating:o={}}=t,{buyPrice:l,currencyCode:p}=r,c=(0,s.primaryPlatform)(t),u=c?.artwork?c.artwork:t.artwork,d={"@type":"SoftwareApplication",applicationCategory:a[0]?.name,availableOnDevice:this._formatDeviceList(e),image:u?(0,n.buildSrc)(u.url,{width:u.width,height:u.height}):"",operatingSystem:this._schemaOSList(e),name:i}
return o.ratingCount>0&&(d.aggregateRating={"@type":"AggregateRating",ratingValue:o.value,reviewCount:o.ratingCount}),d.offers={"@type":"Offer",price:l||0,priceCurrency:p},l&&0!==l||(d.offers.category="free"),d}}_formatDeviceList(e){return e.map((e=>"mac"===e?"Mac":0===e.indexOf("ip")?e.replace(/^.{2}/g,"iP"):"tvos"===e?"Apple TV":"watch"===e?"Apple Watch":void 0)).join(", ")}_schemaOSList(e){const t=["ipad","iphone","ipod"],i=[]
return e.forEach((e=>{t.indexOf(e)>-1?-1===i.indexOf("iOS")&&i.push("iOS"):"tvos"===e?i.push("tvOS"):"watch"===e?i.push("watchOS"):"mac"===e&&i.push("macOS")})),i.join(", ")}},u=w(c.prototype,"appsApi",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=w(c.prototype,"platform",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=w(c.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=w(c.prototype,"appViewState",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)
function S(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
return e?e.app&&t?e.app.name:e.contents?.[0]?.name||e.name:""}function x(e){return e.cardDisplayStyle===l.CARD_DISPLAY_STYLES.inAppPurchase}function j(e){const{cardContents:t}=e
if(t?.length)return t
const i=(0,l.filterCollectionLockups)(e)
if(i?.length)return i
const r=(0,l.filterAppLockups)(e)
return r?.length?r:[]}function T(e){const t=j(e),{editorialNotes:i,name:r}=e
if(t.length){const[r]=t,n=(0,l.hasShelfDisplay)(r,"appLockup"),a=(0,l.hasShelfDisplay)(r,"collectionLockup"),o=(n||a)&&r.contents?.[0]||r,s=S(o,x(e)),p=o&&o.app?o.app.genreDisplayName:o.genreDisplayName,c=S(a?r.contents[1]:t[1]),u=S(a?r.contents[2]:t[2])
return{storyTitle:i?.name||S(o),featuredAppName:s,featuredAppName1:s,featuredAppName2:c,featuredAppName3:u,applicationCategory:p}}return{storyTitle:i?.name,featuredAppName:r||"",applicationCategory:""}}e.default=k})),define("web-experience-app/services/app-view-state",["exports","@ember/service","@ember/object","@ember/utils","web-experience-app/config/routing","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n,a){var o,l,s,p,c,u,d,m,f,b,g,h,y,w
function v(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function _(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function P(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.VIEW_STATES=e.METRICS_CONTEXT=e.LOGO_FOR_STATE=void 0
const O={APP:"apps",APPLE_MUSIC:"music",BOOK:"books",DESKTOP:"mac",ITUNES:"itunes",PODCASTS:"podcasts",FITNESS:"fitness"}
e.VIEW_STATES=O
const A={[O.APP]:"apps",[O.BOOK]:"books",[O.ITUNES]:"music-note",[O.PODCASTS]:"podcasts"}
e.LOGO_FOR_STATE=A
const k={[O.APP]:"AppStore",[O.DESKTOP]:"MacStore",[O.ITUNES]:"iTunes",[O.PODCASTS]:"Podcasts",[O.BOOK]:"Books"}
e.METRICS_CONTEXT=k
let S=(o=(0,t.inject)("location-wea"),l=(0,i.computed)("_staticAppState","requestedApp","location.pathname"),s=(0,i.computed)("currentState"),p=(0,i.computed)("currentState"),c=(0,i.computed)("currentState"),u=(0,i.computed)("currentState"),d=(0,i.computed)("currentState"),m=(0,i.computed)("isiTunesView","currentModel.hasBuyPreview"),f=(0,i.computed)("isiTunesView","currentState","currentModel.buyPreviewUrl"),b=class extends t.default{constructor(){super(...arguments),v(this,"platform",g,this),v(this,"metrics",h,this),v(this,"location",y,this),v(this,"localNav",w,this),_(this,"requestedApp",null),_(this,"currentModel",null),_(this,"_staticAppState",null)}get currentState(){return null!==this._staticAppState?this._staticAppState:O.APP}get isiTunesView(){return this.currentState===O.ITUNES}get isBookView(){return this.currentState===O.BOOK}get isAppStoreView(){return this.currentState===O.APP}get isMacAppStoreView(){return this.currentState===O.DESKTOP}get isPodcastsView(){return this.currentState===O.PODCASTS}setiTunesOverride(){(0,i.set)(this,"_staticAppState",O.ITUNES)}setAppStoreOverride(){(0,i.set)(this,"_staticAppState",O.APP)}setMacAppStoreOverride(){(0,i.set)(this,"_staticAppState",O.DESKTOP)}setBookOverride(){(0,i.set)(this,"_staticAppState",O.BOOK)}get isAvailableOnAppleMusic(){return this.currentModel.isAvailableOnAppleMusic}get isAvailableOniTunes(){return this.currentModel.isAvailableOniTunes}get hasPreview(){return this.isiTunesView&&this.currentModel.hasBuyPreview}get previewUrl(){return this.isiTunesView?this.currentModel.buyPreviewUrl:""}reset(){(0,i.setProperties)(this,{requestedApp:null,currentModel:null,_staticAppState:null})}updateModel(e,t){(0,i.setProperties)(this,{currentModel:e,requestedApp:t})}updateMetricsContext(){this.metrics.addBaseData({pageContext:k[this.currentState]})}updateKeyForAppState(e){return this.isBookView?`${e}.Books`:this.isiTunesView?`${e}.iTunes`:this.isAppStoreView||this.isMacAppStoreView?`${e}.AppStore`:this.isPodcastsView?`${e}.Podcasts`:`${e}.AM`}},g=P(b.prototype,"platform",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=P(b.prototype,"metrics",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=P(b.prototype,"location",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=P(b.prototype,"localNav",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P(b.prototype,"currentState",[l],Object.getOwnPropertyDescriptor(b.prototype,"currentState"),b.prototype),P(b.prototype,"isiTunesView",[s],Object.getOwnPropertyDescriptor(b.prototype,"isiTunesView"),b.prototype),P(b.prototype,"isBookView",[p],Object.getOwnPropertyDescriptor(b.prototype,"isBookView"),b.prototype),P(b.prototype,"isAppStoreView",[c],Object.getOwnPropertyDescriptor(b.prototype,"isAppStoreView"),b.prototype),P(b.prototype,"isMacAppStoreView",[u],Object.getOwnPropertyDescriptor(b.prototype,"isMacAppStoreView"),b.prototype),P(b.prototype,"isPodcastsView",[d],Object.getOwnPropertyDescriptor(b.prototype,"isPodcastsView"),b.prototype),P(b.prototype,"hasPreview",[m],Object.getOwnPropertyDescriptor(b.prototype,"hasPreview"),b.prototype),P(b.prototype,"previewUrl",[f],Object.getOwnPropertyDescriptor(b.prototype,"previewUrl"),b.prototype),b)
e.default=S})),define("web-experience-app/services/audio-player",["exports","@ember/service","@ember/debug","rsvp","@glimmer/tracking","@ember/object"],(function(e,t,i,r,n,a){var o,l,s,p,c,u,d,m,f,b,g,h,y,w,v
function _(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function P(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function O(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function A(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let k=(o=class extends t.default{constructor(){super(...arguments),P(this,"fastboot",l,this),P(this,"globalElements",s,this),P(this,"musickit",p,this),P(this,"appViewState",c,this),P(this,"router",u,this),P(this,"isPlaying",d,this),P(this,"isPaused",m,this),P(this,"isStopped",f,this),P(this,"_isWaiting",b,this),P(this,"isSeeking",g,this),P(this,"_isLoading",h,this),P(this,"nowPlayingItem",y,this),P(this,"playbackTime",w,this),P(this,"playbackTimeRemaining",v,this),O(this,"_isLoaded",!1)}get isLoading(){return this._isLoading||this._isWaiting}get _musickitInstance(){return this.musickit.api}get player(){return this._musickitInstance}load(){if(this.fastboot.isFastBoot||this._isLoaded)return
const{_musickitInstance:e={},musickit:{Events:t}}=this
e.addEventListener(t.mediaItemStateDidChange,this._onMediaItemStateDidChange),e.addEventListener(t.playbackStateDidChange,this._onPlaybackStateChange),e.addEventListener(t.playbackTimeDidChange,this._onPlaybackProgressChange),e.previewOnly=!this.appViewState.isPodcastsView,this._isLoaded=!0}willDestroy(){if(super.willDestroy(...arguments),this.fastboot.isFastBoot)return
const{_musickitInstance:e={},musickit:{Events:t}}=this
e&&this._isLoaded&&(e.removeEventListener(t.mediaItemStateDidChange,this._onMediaItemStateDidChange),e.removeEventListener(t.playbackStateDidChange,this._onPlaybackStateChange),e.removeEventListener(t.playbackTimeDidChange,this._onPlaybackProgressChange))}prepareTransition(){this.isStopped||((0,i.debug)("[media-player] Stopping audio playback due to page transition"),this.stop(),this.nowPlayingItem=null)}seekBackward(){return this._handlePlayerAction(this.player.seekBackward())}seekForward(){return this._handlePlayerAction(this.player.seekForward())}seekToTime(e){return this._handlePlayerAction(this.player.seekToTime(e))}stop(){if(this.isPlaying||this.isPaused)return this._handlePlayerAction(this.player.stop())}buildAudioBookQueue(e){return this._buildQueue(e.id,"audioBook")}buildPodcastQueue(e){return this._buildQueue(e.id,"podcast")}buildPodcastEpisodesQueue(e){return this._buildQueue(e,"items")}buildSongsQueue(e){const t=e.map((e=>e.id))
return this._buildQueue(t,"songs")}isPlayingCollection(e){return this.player.queue===e}togglePlaybackCollection(e){const t=function(e,t){for(let i=0;i<e.length;i++)if(t(e[i],i,e))return e[i]}(e.items,(e=>e.isPlayable))
if(t)return this.togglePlayback(e,t,!0)}togglePlayback(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]
const{player:r}=this,n=this.isPlayingCollection(e),a=r.nowPlayingItem&&t&&r.nowPlayingItem.id===t.id,o=n&&(!t||a)
return r.continuous=i,this.isPlaying&&o?this._handlePlayerAction(r.pause()):this.isPaused&&o?this._handlePlayerAction(r.play()):(n||(r.queue=e),t?this._handlePlayerAction(r.changeToMediaItem(t.id)):this._handlePlayerAction(r.play()))}_onMediaItemStateDidChange(e){if(!this.nowPlayingItem||this.nowPlayingItem.id!==e.id){this.isPlaying=!1,this.playbackTimeRemaining=0,this.playbackTime=0
const t=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?_(Object(i),!0).forEach((function(t){O(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):_(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({},e)
this.nowPlayingItem=t}}_onPlaybackStateChange(){const e={isPlaying:!1,isPaused:!1,isSeeking:!1,isStopped:!1,_isWaiting:!1,_isLoading:!1},{musickit:{PlaybackStates:t}}=this
switch(this.player.playbackState){case t.playing:e.isPlaying=!0
break
case t.paused:e.isPaused=!0
break
case t.seeking:e.isSeeking=!0
break
case t.stopped:e.isStopped=!0
break
case t.waiting:e._isWaiting=!0
break
case t.loading:e._isLoading=!0}for(const[i,r]of Object.entries(e))this[i]=r}_onPlaybackProgressChange(){this.playbackTimeRemaining=this.player.currentPlaybackTimeRemaining,this.playbackTime=this.player.currentPlaybackTime}_onError(e){e&&e.description&&this._generateError(e.description)}_buildQueue(e,t){return this.fastboot.isFastBoot?(0,r.resolve)([]):(0,r.resolve)(this.musickit.setQueue(e,t))}_handlePlayerAction(e){return e&&e.catch&&e.catch(this._onError),e}_generateError(e){this.fastboot.isFastBoot||window.alert(e)}},l=A(o.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=A(o.prototype,"globalElements",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=A(o.prototype,"musickit",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=A(o.prototype,"appViewState",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=A(o.prototype,"router",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=A(o.prototype,"isPlaying",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),m=A(o.prototype,"isPaused",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=A(o.prototype,"isStopped",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b=A(o.prototype,"_isWaiting",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=A(o.prototype,"isSeeking",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=A(o.prototype,"_isLoading",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=A(o.prototype,"nowPlayingItem",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=A(o.prototype,"playbackTime",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),v=A(o.prototype,"playbackTimeRemaining",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),A(o.prototype,"_onMediaItemStateDidChange",[a.action],Object.getOwnPropertyDescriptor(o.prototype,"_onMediaItemStateDidChange"),o.prototype),A(o.prototype,"_onPlaybackStateChange",[a.action],Object.getOwnPropertyDescriptor(o.prototype,"_onPlaybackStateChange"),o.prototype),A(o.prototype,"_onPlaybackProgressChange",[a.action],Object.getOwnPropertyDescriptor(o.prototype,"_onPlaybackProgressChange"),o.prototype),A(o.prototype,"_onError",[a.action],Object.getOwnPropertyDescriptor(o.prototype,"_onError"),o.prototype),o)
e.default=k})),define("web-experience-app/services/charts/apps",["exports","web-experience-app/services/charts/base","web-experience-app/utils/charts","web-experience-app/utils/genres","web-experience-app/services/media-api","web-experience-app/services/app-view-state","web-experience-app/utils/routing","web-experience-app/utils/errors","@amp/media-api-legacy","@ember/service","web-experience-app/utils/url-search-params"],(function(e,t,i,r,n,a,o,l,s,p,c){var u,d,m,f
function b(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function g(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?b(Object(i),!0).forEach((function(t){y(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function h(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function y(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function w(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CHARTS_LIST_SORT_ORDER=void 0
const v=["top-free","top-paid"]
e.CHARTS_LIST_SORT_ORDER=v
let _=(u=(0,p.inject)("location-wea"),d=class extends t.default{constructor(){super(...arguments),h(this,"fastboot",m,this),h(this,"location",f,this)}async fetchData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
t.genreId&&t.genreId===o.ABSENT_SIGIL&&(t.genreId=null)
const i=this._generateCacheKey(e,t)
let r=this._getFromCache(i)
if(!r){const i=this._getAPICalls(e,t),o=await this.getAPIResponses(i,n.VIEW_STATE_TO_REALM[a.VIEW_STATES.APP])
r=this._massageResponse(o,e,t)}return this._putInCache(i,r),g({url:this.getCanonicalUrl(r?.chartUrl||this.getCurrentUrl())},r)}_massageResponse(e,t,n){const{genreId:a,platform:o,seoName:s,chartName:p,ages:c}=n
let u=this._populateSeeAllAbsoluteUrls((0,i.getChartsListNormalized)(e[0],"apps","app"),t,o,a||r.APPS_GENRE_ID_STATIC,s,c)
u.sort(((e,t)=>v.indexOf(e.chart)-v.indexOf(t.chart)))
const{genres:d,popularGenres:m,extraGenres:f}=(0,r.parseGenresModel)([e[1],e[2]]),b=u?.find((e=>"top-paid"===e.chart))?.data.length>0,h=u?.find((e=>"top-free"===e.chart))?.data.length>0
if(!b&&!h)throw new l.NotFoundError(t)
if(e[3]){const n=(0,i.getChartsListNormalized)(e[3],"apps","app")
n.sort(((e,t)=>v.indexOf(e.chart)-v.indexOf(t.chart)))
const l=this._populateSeeAllAbsoluteUrls(this._deriveChartNames(n),t,o,a||r.GAMES_GENRE_ID_STATIC,s)
u=[...u,...l]}s?.includes("-games")&&this._deriveChartNames(u),p&&(u=u.find((e=>e.chart.includes(p)))||u[0]||[])
const y={chartsList:u,genres:d,popularGenres:m,extraGenres:f,storefront:t}
return g(g({},y),(0,i.findCurrentGenreDetails)(y,a))}_deriveChartNames(e){const t={"top-free-games":"WEA.Charts.Apps.Games.top-free-games","top-paid-games":"WEA.Charts.Apps.Games.top-paid-games"}
return e.map((e=>{const i=`${e.chart}-games`
return e.chart=i,e.nameKey=t[i],e}))}_populateSeeAllAbsoluteUrls(e,t,i,n,a,o){return e.map((e=>{const{fastboot:l,location:s}=this
let p=`/${t}/charts/${i}`
const u=new c.default(l.isFastBoot?l.request.queryParams:s.search)
return this.isKidsUrl(n,o)?(p+=`/${a}/${n}`,u.append("ageId",o),u.append("chart",e.chart)):n===r.APPS_GENRE_ID_STATIC?p+=`/${e.chart}-apps/${n}`:n===r.GAMES_GENRE_ID_STATIC?p+=`/${e.chart}/${n}`:(p+=`/${a}/${n}`,u.append("chart",e.chart)),u.toString().length&&(p+=`?${u.toString()}`),e.seeAllLinkUrl=p,e}))}_getAPICalls(e,t){const{genreId:n,limit:o}=t,l=[r.APPS_GENRE_ID_STATIC,r.GAMES_GENRE_ID_STATIC],{chartType:s}=(0,i.getChartsAndKind)(a.VIEW_STATES.APP),p=[(0,i.getTopChartsApiCallInfo)(s,e,g(g({},t),{},{sparseLimit:o,baseGenreIds:l})),...(0,r.getAllGenresApiCallInfo)(e,g(g({},t),{},{baseGenreIds:l}))]
return n||p.push((0,i.getTopChartsApiCallInfo)(s,e,g(g({},t),{},{sparseLimit:o,genreId:l[1]}))),p}async getAPI(){return this.mediaApi.getRealm(s.Realm.Apps)}isKidsUrl(e,t){return e===r.APPS_GENRE_ID_STATIC&&!isNaN(t)}},m=w(d.prototype,"fastboot",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=w(d.prototype,"location",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d)
e.default=_})),define("web-experience-app/services/charts/base",["exports","@ember/service","web-experience-app/utils/charts","web-experience-app/services/app-view-state","web-experience-app/config/charts","web-experience-app/config/environment","web-experience-app/utils/urls","web-experience-app/utils/query-params"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function y(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,v(e,t,"set"),i),i}function w(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,v(e,t,"get"))}function v(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}function _(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const P="has_paid_charts"
let O=(s=(0,t.inject)("location-wea"),b=new WeakMap,p=class extends t.default{constructor(){super(...arguments),g(this,"router",c,this),g(this,"location",u,this),g(this,"fastboot",d,this),g(this,"i18n",m,this),g(this,"mediaApi",f,this),h(this,b,{writable:!0,value:!1})}async fetchData(){throw Error("Should not be called on the Base Service, call from Books or Apps Charts Services")}getConfig(e){let t=this.getCurrentState()
return e&&(t=i.VIEW_STATE_AUDIOBOOK),n.default[n.VIEW_STATE_CHART_CONFIG[t]]}generateSchemaTagContent(e,t){const i=e.chart,r=this._schemaForChart(e,i)
if(!r)return null
const n=this.getCurrentUrl()
return{"@context":"https://web.archive.org/web/20220531203922/http://schema.org","@type":"ItemList",name:this._generateTitleForSchemaData(e.name,i,t),url:n,itemListOrder:"https://web.archive.org/web/20220531203922/http://schema.org/ItemListOrderAscending",numberOfItems:r.length,mainEntityOfPage:n,itemListElement:r}}getViewStateChartsLocKey(e){const t=this.getCurrentState()
if(t!==r.VIEW_STATES.BOOK&&t!==r.VIEW_STATES.APP)throw new Error("top charts view exist only for Books, Audiobooks & Apps")
const i=e?"AudioBooks":"Books"
return t===r.VIEW_STATES.BOOK?i:"Apps"}getCurrentState(){let e=r.VIEW_STATES.BOOK
return"apps"===a.default.APP.buildVariant&&(e=r.VIEW_STATES.APP),e}getCurrentUrl(){let{href:e}=this.location
const{hostname:t}=this.location
return this.fastboot.isFastBoot&&(e=`https://${t}${this.fastboot.request.path}`),e}getCanonicalUrl(e){let t=e
return t=(0,l.removeQPs)(t),t.endsWith("/")&&(t=t.slice(0,t.length-1)),t}async hasPaidCharts(e){if(w(this,b))return w(this,b)
const t=this.getCurrentState()
let r=this._getFromCache(P)
if(r&&"boolean"==typeof r)return y(this,b,r),r
const n=await(0,i.getTopChartsApiCallInfo)(t,e,{limit:1}),a=await this.getAPIResponses([n])
return r=(0,i.getChartsListNormalized)(a[0],"books","epubBook").some((e=>/paid/i.test(e.chart))),this._putInCache(P,r),y(this,b,r),r}async fetchNextPageTopCharts(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
const r=this.getCurrentState(),{chartType:n,kind:a}=(0,i.getChartsAndKind)(r,t),o=await this.getAPIResponses([{endpoint:e,apiParams:{}}]),l=(0,i.getChartsListNormalized)(o[0],n,a)
return l&&1===l.length?l[0]:{}}_schemaForChart(e){return 0===e.data.length?null:e.data.map(((e,t)=>{const i=this._schemaForAuthors(e.artistName)
return{position:t+1,"@type":"Book",name:e.name,url:e.url,author:1===i.length?i[0]:i}}))}_schemaForAuthors(e){return e&&"string"==typeof e?e.split("&").map((e=>({"@type":"Person",name:e.trim()}))):[]}_generateCacheKey(e,t){return Object.keys(t).reduce(((e,i)=>e+`-${i}-${t[i]}`),e)}_getFromCache(e){return this.fastboot.shoebox.retrieve(e)}_putInCache(e,t){const{fastboot:i}=this
i.isFastBoot&&i.shoebox.put(e,t)}_generateTitleForSchemaData(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
const{i18n:r}=this,{genreTitle:n,isAudiobook:a}=i
let o=n?`${n} - `:""
switch(o+=r.t(`WEA.Charts.${a?"AudioBooks":"Books"}.Title`),t){case"top-free":o=`${o} (${r.t("WEA.Common.Free")})`
break
case"top-paid":o=`${o} (${r.t("WEA.Common.Paid")})`
break
default:o=a?`${o} (${r.t("WEA.Common.Paid")})`:`${o} (${e})`}return o}async getAPIResponses(e,t){const i=await this.getAPI(t),r=e.map((e=>{const{apiParams:t,endpoint:r}=e,n=(0,o.generateMediaAPIUrl)(r,t,this.router.location.getURL(),i.language)
return i.request(n,t)}))
try{return await Promise.all(r)}catch(n){return console.error(`Error retrieving chart data ${n.message}`),[]}}async getAPI(){throw Error("Should not be called on the Base Service, call from Books or Apps Charts Services")}},c=_(p.prototype,"router",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=_(p.prototype,"location",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=_(p.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=_(p.prototype,"i18n",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=_(p.prototype,"mediaApi",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p)
e.default=O})),define("web-experience-app/services/charts/books",["exports","web-experience-app/services/charts/base","web-experience-app/utils/charts","web-experience-app/utils/errors","web-experience-app/utils/genres","web-experience-app/utils/routing","web-experience-app/services/app-view-state","@amp/media-api-legacy"],(function(e,t,i,r,n,a,o,l){function s(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function p(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?s(Object(i),!0).forEach((function(t){c(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function c(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CHARTS_LIST_SORT_ORDER=void 0
const u=["top-paid","top-paid-non-manga","top-paid-manga","top-free","top-free-non-manga","top-free-manga","nyt-fiction","nyt-non-fiction"]
e.CHARTS_LIST_SORT_ORDER=u
class d extends t.default{async fetchData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
if(!t.isAudiobook){if(!await this.hasPaidCharts(e))throw new r.NotFoundError(e)}t.genreId&&t.genreId===a.ABSENT_SIGIL&&(t.genreId=null)
const i=this._generateCacheKey(e,t)
let n=this._getFromCache(i)
if(!n){const i=this._getAPICalls(e,t),r=await this.getAPIResponses(i)
n=this._massageResponse(r,e,t)}return this._putInCache(i,n),p({url:this.getCanonicalUrl(n?.chartUrl||this.getCurrentUrl(),t)},n)}_massageResponse(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
const{genreId:a,chartName:l,isAudiobook:s}=r,{chartType:c,kind:d}=(0,i.getChartsAndKind)(o.VIEW_STATES.BOOK,s)
let m=(0,i.getChartsListNormalized)(e[0],c,d)
m.sort(((e,t)=>u.indexOf(e.chart)-u.indexOf(t.chart)))
const{genres:f,popularGenres:b,extraGenres:g}=(0,n.parseGenresModel)([e[1]]);(s||l)&&(m=m[0]||[])
const h={chartsList:m,genres:f,popularGenres:b,extraGenres:g,storefront:t}
return p(p({},h),(0,i.findCurrentGenreDetails)(h,a))}_getAPICalls(e,t){const{isAudiobook:r}=t,{chartType:a}=(0,i.getChartsAndKind)(o.VIEW_STATES.BOOK,r),l=r?[n.AUDIOBOOKS_GENRE_ID_STATIC]:[n.BOOKS_GENRE_ID_STATIC]
return[(0,i.getTopChartsApiCallInfo)(a,e,p(p({},t),{},{baseGenreIds:l})),...(0,n.getAllGenresApiCallInfo)(e,p(p({},t),{},{baseGenreIds:l}))]}getCanonicalUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const{chartName:i,genreId:r}=t,a=super.getCanonicalUrl(e)
return["nyt-fiction","nyt-non-fiction"].includes(i)||r===n.BOOKS_GENRE_ID_STATIC&&"top-free"===i?a:a.replace(`/${i}`,"")}async getAPI(){return this.mediaApi.getRealm(l.Realm.AMPBooks)}}e.default=d})),define("web-experience-app/services/clock",["exports","@ember/service","@glimmer/tracking","@ember/debug","web-experience-app/config/environment"],(function(e,t,i,r,n){var a,o,l
function s(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function p(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function c(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,d(e,t,"set"),i),i}function u(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,d(e,t,"get"))}function d(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{CLOCK_INTERVAL:m}=n.default.APP
let f=(l=new WeakMap,a=class extends t.default{constructor(){var e,t,i,r
super(...arguments),e=this,t="now",r=this,(i=o)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),p(this,"isPerforming",!1),p(this,"subscribers",new Set),s(this,l,{writable:!0,value:null})}subscribe(e){this.subscribers.add(e),!this.isPerforming&&this.subscribers.size>0&&this.start()}unsubscribe(e){this.subscribers.delete(e),0===this.subscribers.size&&this.stop()}start(){if(u(this,l)||this.isPerforming)return
const e=()=>{c(this,l,window.requestAnimationFrame((()=>{if(!this.isPerforming)return
const t=this.now
Date.now()-t>=m&&this.tickClock(),e()})))}
e(),this.isPerforming=!0}stop(){this.isPerforming=!1,window.cancelAnimationFrame(u(this,l)),c(this,l,null)}tickClock(){this.now=Date.now()
for(const e of this.subscribers){e()&&this.unsubscribe(e)}}},b=a.prototype,g="now",h=[i.tracked],y={configurable:!0,enumerable:!0,writable:!0,initializer:function(){return Date.now()}},v={},Object.keys(y).forEach((function(e){v[e]=y[e]})),v.enumerable=!!v.enumerable,v.configurable=!!v.configurable,("value"in v||v.initializer)&&(v.writable=!0),v=h.slice().reverse().reduce((function(e,t){return t(b,g,e)||e}),v),w&&void 0!==v.initializer&&(v.value=v.initializer?v.initializer.call(w):void 0,v.initializer=void 0),void 0===v.initializer&&(Object.defineProperty(b,g,v),v=null),o=v,a)
var b,g,h,y,w,v
e.default=f})),define("web-experience-app/services/fastboot",["exports","ember-cli-fastboot/services/fastboot"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/global-elements",["exports","@amp/ember-ui-global-elements/services/global-elements"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/history",["exports","@ember/service","@glimmer/tracking"],(function(e,t,i){var r,n,a,o,l,s
function p(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let u=(r=(0,t.inject)("location-wea"),n=class extends t.default{constructor(){super(...arguments),p(this,"location",a,this),p(this,"currentPageHeadline",o,this),p(this,"lastPageHeadline",l,this),p(this,"lastPageUrl",s,this)}routeWillChange(){this.lastPageHeadline=this.currentPageHeadline,this.lastPageUrl=this.location.href,this.currentPageHeadline=null}},a=c(n.prototype,"location",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=c(n.prototype,"currentPageHeadline",[i.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),l=c(n.prototype,"lastPageHeadline",[i.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),s=c(n.prototype,"lastPageUrl",[i.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),n)
e.default=u})),define("web-experience-app/services/i18n",["exports","@amp/ember-localizer/services/i18n","@ember/object"],(function(e,t,i){var r,n,a
function o(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SERVICE_SIGIL=void 0
const l=`I18N_SERVICE_${Date.now()}`
e.SERVICE_SIGIL=l
let s=(r=(0,i.computed)("locale"),n=(0,i.computed)("locale"),o((a=class extends t.default{get languageCode(){return this.locale&&this.locale.split("-")[0]}get countryCode(){return this.locale&&this.locale.split("-")[1]||""}t(e){const t=(e=>e&&"object"==typeof e?e:{})(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})
return(0,i.set)(t,l,this),super.t(e,t)}}).prototype,"languageCode",[r],Object.getOwnPropertyDescriptor(a.prototype,"languageCode"),a.prototype),o(a.prototype,"countryCode",[n],Object.getOwnPropertyDescriptor(a.prototype,"countryCode"),a.prototype),a)
e.default=s})),define("web-experience-app/services/in-viewport",["exports","ember-in-viewport/services/in-viewport"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/local-nav",["exports","@ember/service","@ember/object","web-experience-app/config","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n){var a,o,l,s,p,c
function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let m=(a=(0,t.inject)("charts/base"),o=(0,t.inject)("charts/books"),l=class extends t.default{constructor(){var e,t,i
super(...arguments),u(this,"charts",s,this),u(this,"booksCharts",p,this),u(this,"globalElements",c,this),i=[],(t="links")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}async getLinks(){let e=[]
const t=this.charts.getCurrentState(),{storefront:n=r.default.defaultStorefront}=this.globalElements
e=r.default.menuLinks[t]||[],this.isDestroyed||this.isDestroying||(0,i.set)(this,"links",e)}},s=d(l.prototype,"charts",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=d(l.prototype,"booksCharts",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=d(l.prototype,"globalElements",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l)
e.default=m})),define("web-experience-app/services/locale",["exports","@ember/debug","@ember/object","@ember/service","web-experience-app/config/environment","web-experience-app/utils/get-font-url","@glimmer/tracking","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o,l){var s,p,c,u,d,m,f
function b(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function g(e,t,i){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function h(e,t,i){return function(e,t,i){if(t.set)t.set.call(e,i)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=i}}(e,w(e,t,"set"),i),i}function y(e,t){return function(e,t){if(t.get)return t.get.call(e)
return t.value}(e,w(e,t,"get"))}function w(e,t,i){if(!t.has(e))throw new TypeError("attempted to "+i+" private field on non-instance")
return t.get(e)}function v(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let _=(s=(0,r.inject)("-document"),f=new WeakMap,p=class extends r.default{constructor(){var e,t,i
super(...arguments),b(this,"documentService",c,this),b(this,"globalElements",u,this),b(this,"platform",d,this),b(this,"_locale",m,this),g(this,f,{writable:!0,value:void 0}),e=this,t="defaultLocale",i=n.default.i18n.defaultLocale,t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,this.setLocale(this.defaultLocale)}get locale(){return this._locale||this.defaultValue}findOrCreateFontElement(){return y(this,f)||((0,l.isSSR)()||h(this,f,this.documentService.querySelector('[name="fonts"]')),y(this,f)||h(this,f,function(e){const{head:t,head:{firstChild:i}}=e,r=e.createElement("link")
return r.setAttribute("rel","stylesheet"),r.setAttribute("name","fonts"),t.insertBefore(r,i),r}(this.documentService))),y(this,f)}setLocale(e){this._locale!==e&&(this._locale=e,(0,t.debug)(`[locale] Setting locale: ${e}`),(0,i.set)(this,"globalElements.languageCode",e),this.setFontHref())}setFontHref(){const e=(0,a.getFontURL)(this.locale)
if(!e)return
const t=this.findOrCreateFontElement()
t.setAttribute("href",e)
const{platform:i}=this
i.browser.isEdge&&i.browser.isEdgeHTML||(t.setAttribute("as","style"),t.setAttribute("rel","stylesheet preload"))}},c=v(p.prototype,"documentService",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=v(p.prototype,"globalElements",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=v(p.prototype,"platform",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=v(p.prototype,"_locale",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p)
e.default=_})),define("web-experience-app/services/location-fitness",["exports","web-experience-app/services/location","web-experience-app/utils/fitness/stick-marketing-params-to-redirect-url"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class r extends t.default{replace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:302
if(this.fastboot.isFastBoot){const{response:r,request:n}=this.fastboot,a=(0,i.default)(n.queryParams,e)
r.statusCode=t,r.headers.set("Location",a)}else{const t=(0,i.default)(this.window.location.search,e)
this.window.location.replace(t)}}}e.default=r}))
define("web-experience-app/services/location-wea",["exports","web-experience-app/services/location"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i extends t.default{replace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:302
if(this.fastboot.isFastBoot){const{response:i}=this.fastboot
i.statusCode=t,i.headers.set("Location",e)}else this.window.location.replace(e)}}e.default=i})),define("web-experience-app/services/location",["exports","@ember/object","@ember/service"],(function(e,t,i){var r,n,a,o,l,s
function p(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let c=(r=(0,t.computed)("fastboot.{isFastBoot,request.host}","window.location.hostname"),n=(0,t.computed)("fastboot.{isFastBoot,request.host}","window.location.host"),a=(0,t.computed)("fastboot.isFastBoot","window.location.origin"),o=(0,t.computed)("fastboot.isFastBoot","window.location.search"),l=class extends i.default{constructor(){var e,t,i,r,n,a,o
super(...arguments),e=this,t="fastboot",r=this,(i=s)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),n=this,a="window",o=window||null,a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o}get hostname(){if(this.fastboot.isFastBoot){const[e]=this.fastboot.request.host.split(":")
return e}return this.window.location.hostname}get host(){return this.fastboot.isFastBoot?this.fastboot.request.host:this.window.location.host}get href(){if(!this.fastboot.isFastBoot)return this.window.location.href}get origin(){if(!this.fastboot.isFastBoot)return this.window.location.origin}get pathname(){return this.fastboot.isFastBoot?this.fastboot.request.path:this.window.location.pathname}get search(){if(!this.fastboot.isFastBoot)return this.window.location.search}replace(){throw new Error("Please override replace() in subclass extending this location service.")}},s=p(l.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p(l.prototype,"hostname",[r],Object.getOwnPropertyDescriptor(l.prototype,"hostname"),l.prototype),p(l.prototype,"host",[n],Object.getOwnPropertyDescriptor(l.prototype,"host"),l.prototype),p(l.prototype,"origin",[a],Object.getOwnPropertyDescriptor(l.prototype,"origin"),l.prototype),p(l.prototype,"search",[o],Object.getOwnPropertyDescriptor(l.prototype,"search"),l.prototype),l)
e.default=c})),define("web-experience-app/services/media-api",["exports","@ember/service","@amp/media-api-legacy","@amp/media-api-config-apps-realm","@amp/media-api-config-amp-books-realm","@amp/media-api-config-amp-podcasts-realm","fetch","web-experience-app/config/environment","web-experience-app/services/app-view-state","web-experience-app/utils/ssr","web-experience-app/utils/host","@ember/object"],(function(e,t,i,r,n,a,o,l,s,p,c,u){var d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.VIEW_STATE_TO_REALM=void 0,e.createProxyWithMetaObject=A,e.default=void 0,e.filterProxyObjectRecords=function(e,t){const i=A([],e.meta)
for(const r of e)r.id!==t&&i.push(r)
return i}
const y=[i.Realm.AMPBooks,i.Realm.AMPPodcasts,i.Realm.Apps,"app-events"]
const w={[s.VIEW_STATES.BOOK]:i.Realm.AMPBooks,[s.VIEW_STATES.PODCASTS]:i.Realm.AMPPodcasts,[s.VIEW_STATES.APP]:i.Realm.Apps}
e.VIEW_STATE_TO_REALM=w
let v=(d=class extends t.default{constructor(){var e,t,i
super(...arguments),g(this,"appViewState",m,this),g(this,"globalElements",f,this),g(this,"fastboot",b,this),i=null,(t="_instances")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,(0,u.set)(this,"_instances",{})}getCurrentRealm(){const{currentState:e}=this.appViewState,t=w[e]
if(!t)throw new Error(`unsupported view state: ${e}`)
return this.getRealm(t)}async getRealm(e){if(!y.includes(e))throw new Error(`unsupported realm: ${e}`)
const t={[i.Realm.AMPBooks]:n.default,[i.Realm.AMPPodcasts]:a.default,[i.Realm.Apps]:r.default}[e]||n.default
if(!(e in this._instances)){const r=await(0,i.configure)({realm:t,storefrontId:this.globalElements.storefront.toLowerCase(),language:this.globalElements.languageCode,developerToken:(0,p.getFastbootJwt)()||l.default.MEDIA_API.token,baseURL:this._getBaseUrl(e),features:{"api-data-store":!0},sessionOptions:{underlyingStorage:this._getCache(e),fetch:this._fetch.bind(this),fetchOptions:{headers:this._getHeaders(),mode:"cors"}}})
e!==i.Realm.AMPBooks&&e!==i.Realm.AMPPodcasts&&e!==i.Realm.Apps||function(e){const t=e.populateDataRecords
e.populateDataRecords=function(i){const r=t.call(e,...arguments),{href:n,next:a}=i
return A(r,{href:n,next:a})}}(r._store._store),this._instances[e]=r}return e===i.Realm.AMPBooks?(o=this._instances[e],new Proxy(o,{get(e,t){const i=e[t]
return"function"==typeof i&&["grouping","room"].includes(t)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r]
const n=i.call(this,...t)
return"object"==typeof n&&"then"in n&&"function"==typeof n.then?n.then((e=>Array.isArray(e)&&e.length>0&&P(e[0])?_(e,o):e)):n}:i}})):this._instances[e]
var o}async _fetch(){return(0,o.default)(...arguments)}_getBaseUrl(e){switch(e){case"amp-books":return(0,c.getBooksHost)()
case"amp-podcasts":return(0,c.getPodcastHost)()
case"apps":return(0,c.getAppsHost)()
case"app-events":return(0,c.getAppEventHost)()
default:throw new Error(`unsupported realm: ${e}`)}}_getCache(e){const t=function(e){return`media-api-cache-${e}`}(e),{fastboot:i}=this
let r=i.shoebox.retrieve(t)
return i.isFastBoot&&(r={},i.shoebox.put(t,r)),r}_getHeaders(){const e=new o.Headers,t=(0,p.getHeadersForFastBoot)(this.fastboot.request)
for(const[i,r]of Object.entries(t))e.set(i,r)
return e}},m=h(d.prototype,"appViewState",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=h(d.prototype,"globalElements",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=h(d.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d)
async function _(e,t){const i=O(e),r={}
for(const n of i)n.type in r||(r[n.type]=[]),r[n.type].push(n)
return await Promise.all(Object.entries(r).map((e=>{let[i,r]=e
const n={books:"books","audio-books":"audioBooks"}[i]
if(!n)return
const a=r.map((e=>e.id))
return t[n](a)}))),e}function P(e){return"object"==typeof e&&"_mjs"in e}function O(e){const t=Array.isArray(e)?e:[e]
return 0!==e.length&&P(t[0])?[].concat(...t.map((e=>{const t=e._mjs.attributes.length?[]:[e]
return[].concat(t,...e._mjs.relationships.map((t=>O(e[t]))))}))):[]}function A(e,t){return new Proxy(e,{get(e,i){return"meta"===i?t:Reflect.get(...arguments)}})}e.default=v})),define("web-experience-app/services/media-api/apps",["exports","@amp/media-api-legacy","web-experience-app/utils/ssr","web-experience-app/services/media-api/base","@ember/service","web-experience-app/helpers/primary-platform","web-experience-app/utils/product-offers","web-experience-app/utils/apps/apps"],(function(e,t,i,r,n,a,o,l){var s,p,c,u
function d(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}function f(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function b(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?f(Object(i),!0).forEach((function(t){g(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function g(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getEditorialArtwork=w
let h=(s=class extends r.default{constructor(){super(...arguments),d(this,"globalElements",p,this),d(this,"i18n",c,this),d(this,"platform",u,this),g(this,"realm",t.Realm.Apps)}async getEula(e,t){const r=await this.getAPI(),n=`v1/catalog/${this.globalElements.storefront}/eula/apps/${e}`;(0,i.log)("[FASTBOOT MEDIA]",n,JSON.stringify(t))
const{eula:a}=await r.request(n,t)
return a}async getApps(e){const t=await this.getAPI();(0,i.log)("[FASTBOOT MEDIA] GET apps",e)
const r=await t.apps(e,{platform:"web",additionalPlatforms:["appletv","ipad","iphone","mac"],sparseLimit:10})
return r.filter?r.filter((e=>!function(e){return 0===e._mjs.attributes.length}(e))):r}async getNextApps(e){let{meta:{next:t}}=e
return t+="&platform=web&additionalPlatforms=appletv%2Cipad%2Ciphone%2Cmac&sparseLimit=15",this.getDataFromNextURL(t,e)}async getAppBundle(e){const t=await this.getAPI(),[i]=await t.appBundle(e,{platform:"web",additionalPlatforms:["appletv","ipad","iphone","mac"].join(","),extend:["developerInfo","eula"].join(","),include:["genres","developer","apps","developer-other-apps","reviews"].join(",")})
return i}async getAppEvent(e,t,r){r=b(b({},{platform:"web",include:"app",additionalPlatforms:["appletv","ipad","iphone","mac"].join(","),"availableIn[app-events]":"past"}),r)
const n=await this.mediaApi.getRealm("app-events"),a=`v1/catalog/${e}/app-events/${encodeURIComponent(t)}`;(0,i.log)("[FASTBOOT MEDIA]",a,JSON.stringify(r))
return(await n.request(a,r))[0]}async getAppPrivacy(e,t){const r=await this.getAPI(),n=b({platform:"web",fields:"privacyDetails"},t);(0,i.log)("[FASTBOOT MEDIA]",e,JSON.stringify(n))
const[a]=await r.app(e,n)
return{model:b({id:a.id},a)}}async getMacUserRating(e,t){const r=await this.getAPI(),n=b({platform:"mac","fields[apps]":"userRating","omit[resource]":"autos"},t);(0,i.log)("[FASTBOOT MEDIA]",e,JSON.stringify(n))
const[a]=await r.app(e,n)
return a.userRating}async getAppDeveloper(e,t,r){const n=b({platform:"web",additionalPlatforms:["appletv","ipad","iphone","mac"].join(","),include:["app-bundles","atv-apps","imessage-apps","ios-apps","mac-apps","watch-apps"].join(",")},r);(0,i.log)("[FASTBOOT MEDIA]",t,JSON.stringify(n))
const a=await this.getAPI(),o=`v1/catalog/${e}/developers/${t}`;(0,i.log)("[FASTBOOT MEDIA]",o,JSON.stringify(n))
return(await a.request(o,n))?.[0]}async getStory(e,t,r){const n=await this.getAPI(),a=b({platform:"web",additionalPlatforms:["appletv","ipad","iphone","mac"].join(","),meta:"robots",extend:["lastPublishedDate","minimumOSVersion","requiredCapabilities","screenshotsByType","videoPreviewsByType"].join(","),include:"canvas","availableIn[app-events]":"past","extend[app-events]":"description","include[app-events]":"app","include[editorial-item-shelves]":"app-events",l:this.i18n.locale},r),o=`v1/editorial/${e}/editorial-items/${t}`;(0,i.log)("[FASTBOOT MEDIA]",o,JSON.stringify(a))
const[l]=await n.request(o,a)
return b(b({},l.attributes),{},{id:l.id,canvas:y(l.relationships,this),cardArtwork:w(l.attributes),cardContents:v(l.relationships,this,this.platform),meta:l.meta,subscriptionHeroArtwork:_(l.attributes),video:P(l.attributes),name:l.attributes.editorialNotes?.name,lastPublishedDate:l.attributes.lastPublishedDate?new Date(l.attributes.lastPublishedDate).toISOString():void 0})}async getApp(e,t,r){const n=await this.mediaApi.getRealm("apps")
r=b(b({},{platform:"web",additionalPlatforms:["appletv","ipad","iphone","mac"].join(","),extend:["customPromotionalText","customScreenshotsByType","description","developerInfo","distributionKind","editorialVideo","fileSizeByDevice","messagesScreenshots","privacy","privacyPolicyUrl","requirementsByDeviceFamily","supportURLForLanguage","versionHistory","websiteUrl"].join(","),include:["app-events","genres","developer","reviews","merchandised-in-apps","customers-also-bought-apps","developer-other-apps","top-in-apps","related-editorial-items"].join(","),"limit[merchandised-in-apps]":20,"omit[resource]":"autos",meta:"robots","sparseLimit[apps:related-editorial-items]":10}),r)
const a=`v1/catalog/${e}/apps/${encodeURIComponent(t)}`;(0,i.log)("[FASTBOOT MEDIA]",a)
const[o]=await n.app(t,r)
return(0,l.filterFeaturedInStories)(o),o}},p=m(s.prototype,"globalElements",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=m(s.prototype,"i18n",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=m(s.prototype,"platform",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)
function y(e,t){return t._dataRecordsFromPOJO(e.canvas?.data||[])?.map((e=>(e.contents=e.contents?.filter((e=>e.artwork||e.name)),e)))}function w(e){let t
return e.editorialArtwork?.mediaCard?(t=e.editorialArtwork.mediaCard,delete e.editorialArtwork.mediaCard):e.editorialArtwork?.generalCard?(t=e.editorialArtwork.generalCard,delete e.editorialArtwork.generalCard):e.editorialArtwork?.eventCard?(t=e.editorialArtwork.eventCard,delete e.editorialArtwork.eventCard):e.editorialArtwork?.dayCard&&(t=e.editorialArtwork.dayCard,delete e.editorialArtwork.dayCard),t}function v(e,t,i){return t._dataRecordsFromPOJO(e["card-contents"]?.data||[])?.map((e=>{const t=(0,a.primaryPlatform)(e,i.browser.isiOS)
return b({primaryPlatform:t,productOffers:new o.ProductOffers({offers:t?.offers})},e)}))}function _(e){let t
return e.editorialArtwork?.subscriptionHero&&(t=e.editorialArtwork.subscriptionHero,delete e.editorialArtwork.subscriptionHero),t}function P(e){let t
return e.editorialVideo?.storeFrontVideo?(t=e.editorialVideo.storeFrontVideo,delete e.editorialVideo.storeFrontVideo):e.editorialVideo?.storeFrontVideo4x3&&(t=e.editorialVideo.storeFrontVideo4x3,delete e.editorialVideo.storeFrontVideo4x3),t&&(t.clip=t.videoFile?.[0]),t}e.default=h})),define("web-experience-app/services/media-api/base",["exports","@ember/service","web-experience-app/utils/ssr","web-experience-app/services/media-api","web-experience-app/utils/urls"],(function(e,t,i,r,n){var a,o,l,s
function p(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function c(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let u=(a=class extends t.default{constructor(){var e,t,i
super(...arguments),p(this,"fastboot",o,this),p(this,"mediaApi",l,this),p(this,"router",s,this),i=void 0,(t="api")in(e=this)?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i}get realm(){throw new Error("Set realm field in sub class")}async getAPI(){return this.api||(this.api=await this.mediaApi.getRealm(this.realm)),this.api}async getDataFromNextURL(e,t){const i=await this.getURL(e,{},{useRawResponse:!0}),{href:n,next:a}=i,o=t.map((e=>e.id)),l=i.data
let s=this._dataRecordsFromPOJO(l)
s=s.filter((e=>!o.includes(e.id)))
const p=[...t,...s]
return{mergedRecords:(0,r.createProxyWithMetaObject)(p,s.length?{next:a,href:n}:{href:n}),newRecords:s}}_dataRecordsFromPOJO(e){const t=this.api._store._store
return e.map((e=>t.populateDataRecord(e,{},{})))}async getURL(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
const a=await this.getAPI(),o=(0,n.generateMediaAPIUrl)(e,t,this.router.location.getURL(),a.language)
return(0,i.log)("[FASTBOOT MEDIA]",o,JSON.stringify(t)),a.request(o,t,r)}},o=c(a.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=c(a.prototype,"mediaApi",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=c(a.prototype,"router",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a)
e.default=u})),define("web-experience-app/services/media-player",["exports","@ember/service","@ember/object","@ember/debug","@ember/application","web-experience-app/utils/ember-data/build-attributes","@glimmer/tracking","@ember/runloop","web-experience-app/config","web-experience-app/config/timeouts","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o,l,s,p,c){var u,d,m,f,b,g,h
function y(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function w(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}function v(e){return e&&!s.default.hideGlobalElements.includes(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let _=(u=(0,t.inject)("audioPlayer"),d=(0,t.inject)("videoPlayer"),m=class extends t.default{constructor(){super(...arguments),y(this,"_audioPlayer",f,this),y(this,"_videoPlayer",b,this),y(this,"router",g,this),y(this,"_activePlayer",h,this),(0,c.isSSR)()||this.router.on("routeWillChange",(()=>{v(this.router.currentRouteName)&&(this._audioPlayer.prepareTransition(),this._videoPlayer.prepareTransition())}))}debouncedInitVideos(){v(this.router.currentRouteName)&&(0,l.debounce)(this,this._initVideos,p.VIDEO_INIT_TIMEOUT)}async _initVideos(){this.isDestroyed||this.isDestroying||await this._videoPlayer.initializeVideos()}get isPlaying(){return this._videoPlayer?.isPlaying||this._audioPlayer?.isPlaying}get isPaused(){return this._videoPlayer?.isPaused||this._audioPlayer?.isPaused}get isSeeking(){return this._audioPlayer?.isSeeking}get isStopped(){return this._audioPlayer?.isStopped}get isLoading(){return this._videoPlayer?.isLoading||this._audioPlayer?.isLoading}get movieIsLoading(){return this._videoPlayer?.isLoading}get movieIsPlaying(){return this._videoPlayer?.isPlaying}get musicIsPlaying(){return this._audioPlayer?.isPlaying}get musicIsPaused(){return this._audioPlayer?.isPaused}get musicIsLoading(){return this._audioPlayer?.isLoading}get isVideoMode(){return this._activePlayer===this._videoPlayer}get isAudioMode(){return this._activePlayer===this._audioPlayer}get nowPlayingItem(){return this._activePlayer?.nowPlayingItem}get playbackTime(){return this._activePlayer?.playbackTime}get playbackTimeRemaining(){return this._activePlayer?.playbackTimeRemaining}async togglePlaybackCollection(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
try{e=await e}catch(i){return null}t?(this.musicIsPlaying&&this._audioPlayer.stop(),this._activePlayer=this._videoPlayer):(this.movieIsPlaying&&this._videoPlayer.stop(),this._activePlayer=this._audioPlayer),this._activePlayer.togglePlaybackCollection(e)}async togglePlayback(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]
try{e=await e}catch(l){return null}t?(0,r.debug)(`[media-player] Toggling playback of item in queue: ${JSON.stringify(t)}`):e&&e.length?(0,r.debug)(`[media-player] Toggling playback of ${e.length} tracks`):(0,r.debug)(`[media-player] Toggling playback: ${JSON.stringify(e)}`)
const{_audioPlayer:n,_videoPlayer:a,movieIsPlaying:o}=this
o&&a.stop(),n.togglePlayback(e,t,i),this._activePlayer=n}buildAudioBookQueue(e){return this._audioPlayer.buildAudioBookQueue(e)}buildPodcastQueue(e){return this._audioPlayer.buildPodcastQueue(e)}buildPodcastEpisodesQueue(e){return this._audioPlayer.buildPodcastEpisodesQueue(e)}buildSongsQueue(e){return this._audioPlayer.buildSongsQueue(e)}isPlayingCollection(e){return!!this._activePlayer&&this._activePlayer.isPlayingCollection(e)}toMediaMeta(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"base"
return(0,n.getOwner)(this).factoryFor(`presenter:media-meta/${t}`).create({model:e})}toMediaResource(e,t){if(e&&t)return{id:e.id,type:t,href:e.assetUrl,attributes:(0,a.default)(e)}}toMediaResourceFromDataRecord(e,t){if(e&&t)return{id:e.id,type:t,href:e.assetUrl,attributes:{artistName:e.artistName,assetUrl:e.assetUrl,contentRating:e.contentRating,description:e.description,durationInMilliseconds:e.durationInMilliseconds,kind:e.kind,mediaKind:e.mediaKind,name:e.name,offers:e.offers,releaseDateTime:e.releaseDateTime,url:e.url,websiteUrl:e.websiteUrl,genreNames:e.genreNames}}}_movieLoadingHandler(){if(!this.movieIsLoading)return
const{_audioPlayer:e,_videoPlayer:t,musicIsPlaying:i}=this
i&&e.stop(),this._activePlayer=t}},f=w(m.prototype,"_audioPlayer",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=w(m.prototype,"_videoPlayer",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=w(m.prototype,"router",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w(m.prototype,"debouncedInitVideos",[i.action],Object.getOwnPropertyDescriptor(m.prototype,"debouncedInitVideos"),m.prototype),h=w(m.prototype,"_activePlayer",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w(m.prototype,"togglePlayback",[i.action],Object.getOwnPropertyDescriptor(m.prototype,"togglePlayback"),m.prototype),m)
e.default=_})),define("web-experience-app/services/media-shelf/scroll-positions",["exports","@amp/ember-ui-media-shelf/services/media-shelf/scroll-positions"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/media-shelf/viewport",["exports","@amp/ember-ui-media-shelf/services/media-shelf/viewport"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/metrics",["exports","@amp/ember-metrics/services/metrics"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/musickit",["exports","@ember/service","web-experience-app/utils/musickit","web-experience-app/config/environment","@ember/object","web-experience-app/helpers/app-version","web-experience-app/config"],(function(e,t,i,r,n,a,o){var l,s,p,c
function u(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function d(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function m(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{MEDIA_API:{token:f}}=r.default,{generateEmbedCode:b=(()=>{}),configure:g=(()=>{}),Events:h={},PlaybackStates:y={}}=(0,i.default)()
let w=(l=class extends t.default{constructor(){super(...arguments),u(this,"globalElements",s,this),u(this,"fastboot",p,this),u(this,"metrics",c,this),d(this,"Events",null),d(this,"PlaybackStates",null),d(this,"api",null),d(this,"_isLoaded",!1)}get isAuthenticated(){return this.api?.isAuthorized}async load(){if(this._isLoaded)return
if(this.fastboot.isFastBoot)return
const e=await this._configure();(0,n.set)(this,"api",e),(0,n.set)(this,"Events",h),(0,n.set)(this,"PlaybackStates",y),this._boundChangeHandler=this._authorizationStatusChangeHandler.bind(this),e.addEventListener(this.Events.authorizationStatusDidChange,this._boundChangeHandler),this._updateConsumerId(),this._isLoaded=!0}generateMusickitEmbedCode(e){return b(e)}setQueue(e,t){return this.api.setQueue({[t]:e})}willDestroy(){this.fastboot.isFastBoot||(this.api.removeEventListener(this.Events.authorizationStatusDidChange,this._boundChangeHandler),super.willDestroy(...arguments))}async _configure(){const e=(this.globalElements.storefront||o.default.defaultStorefront).toLowerCase(),t=await g({developerToken:f,storefrontId:e,app:{name:"WEA Preview",build:(0,a.appVersion)(),version:"1.0"},declarativeMarkup:!0,debug:"production"!==r.default.environment,persist:"cookie",prefix:"preview",sourceType:8}),{api:i}=t
return i.books.url=i.books.url.replace("https://web.archive.org/web/20220531203922/https://api.books.apple.com/","https://web.archive.org/web/20220531203922/https://amp-api.books.apple.com/"),t}_authorizationStatusChangeHandler(){this._updateConsumerId()}_updateConsumerId(){this.metrics.addBaseData({consumerId:this.api.cid,isSignedIn:this.isAuthenticated,userType:this.isAuthenticated?"signedIn":"signedOut"})}},s=m(l.prototype,"globalElements",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=m(l.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=m(l.prototype,"metrics",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l)
e.default=w})),define("web-experience-app/services/obc-api",["exports","@ember/service","@ember/object","@ember/debug","rsvp","@amp/media-api-legacy","web-experience-app/utils/books/editorial","web-experience-app/utils/host","@amp/foundation/-internals/network","fetch"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.MissingGroupingError=void 0
class y extends Error{constructor(e){super(`missing OBC grouping for ${e}`),this.name="MissingGroupingError",this.storefront=e}}e.MissingGroupingError=y
const w="obc-api-cache"
let v=(c=(0,i.computed)("_cache"),u=(0,i.computed)("fastboot.shoebox.obc-api-cache"),d=class extends t.default{constructor(){super(...arguments),g(this,"mediaApi",m,this),g(this,"globalElements",f,this),g(this,"fastboot",b,this)}get _urlSession(){const e=(0,l.getOBCHost)()
return new s.URLSession(e,{underlyingStorage:this._cache,fetch:p.default,fetchOptions:{headers:new p.Headers,mode:"cors"}})}get _cache(){const{fastboot:e}=this
let t=e.shoebox.retrieve(w)
return e.isFastBoot&&(t={},e.shoebox.put(w,t)),t}async getGrouping(){const{books:e,groupingId:t}=await(0,n.hash)({books:this.mediaApi.getRealm(a.Realm.AMPBooks),groupingId:this._getGroupingIdForStorefront()}),{groupings:i,metadata:r}=await(0,n.hash)({groupings:e.grouping(t,{platform:"ipad",tabs:"ios",include:"authors"}),metadata:this._getMetadata(t)}),[o]=i
return this._mergeMetadata(o,r),o}async _getGroupingIdForStorefront(){const e=await this._urlSession.request("sunny-grouping-mapping.json"),{storefront:t}=this.globalElements,i=(e.books||{})[t.toLowerCase()]
if(!i)throw new y(t.toLowerCase())
return i}async _getMetadata(e){const t=`metadata/groupings/${encodeURIComponent(this.globalElements.languageCode.toLowerCase())}/${encodeURIComponent(e)}.json`
return this._urlSession.request(t)}_mergeMetadata(e,t){(0,i.set)(e,"header",{editorialArtwork:t.editorialArtwork,description:t.webDescription||t.description,link:{native:{url:"https://web.archive.org/web/20220531203922/https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewFeature?id=1476734846&mt=11"},web:t.webLink}})
const[r]=e.tabs;(0,i.set)(r,"children",r.children.filter((e=>e.editorialElementKind!==o.BOOK_ELEMENT.KIND_HERO_LIST)).map((e=>{if(e.editorialElementKind===o.BOOK_ELEMENT.KIND_SINGLE_BOOK){const[r]=e.contents,n=t.contentMetadata[r.id]
n&&Object.entries(n).forEach((t=>{let[r,n]=t
return(0,i.set)(e,r,n)}))}return e.editorialElementKind===o.BOOK_ELEMENT.KIND_COLLAGE_SWOOSH&&(0,i.set)(e,"editorialElementKind",o.BOOK_ELEMENT.KIND_SWOOSH),e})))}},m=h(d.prototype,"mediaApi",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=h(d.prototype,"globalElements",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=h(d.prototype,"fastboot",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h(d.prototype,"_urlSession",[c],Object.getOwnPropertyDescriptor(d.prototype,"_urlSession"),d.prototype),h(d.prototype,"_cache",[u],Object.getOwnPropertyDescriptor(d.prototype,"_cache"),d.prototype),d)
e.default=v})),define("web-experience-app/services/perfkit",["exports","@amp/ember-metrics/services/perfkit"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/pixel-ratio",["exports","@amp/ember-ui-media-artwork/services/pixel-ratio"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/platform",["exports","@ember/debug","@ember/service","@ember/object","@ember/utils","web-experience-app/utils/launch-client","web-experience-app/utils/ssr","@apple/client-detect","@ember/application","@glimmer/tracking"],(function(e,t,i,r,n,a,o,l,s,p){var c,u,d,m,f,b,g,h,y,w,v,_,P,O
function A(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function k(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?A(Object(i),!0).forEach((function(t){x(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):A(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function S(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function x(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function j(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const T=/OS (\d+)[_.](\d+)[_.]?(\d+)?/
let z=(c=class extends i.default{constructor(){super(...arguments),S(this,"nativeLaunchFailed",u,this),S(this,"browser",d,this),x(this,"clientDetect",{}),S(this,"couldHaveAppStore",m,this),S(this,"couldHaveMacAppStore",f,this),S(this,"couldHaveiTunes",b,this),S(this,"couldHaveiTunesU",g,this),S(this,"couldHaveMessages",h,this),S(this,"couldHaveMusic",y,this),S(this,"couldHavePodcasts",w,this),S(this,"couldHaveBookStore",v,this),S(this,"couldHaveTV",_,this),S(this,"couldHaveWatch",P,this),S(this,"userAgent",O,this),(0,o.isSSR)()||(this.userAgent=window.navigator.userAgent,this.clientDetect=l.ClientDetect,this.browser=this.clientDetect.browser(this.userAgent),this.couldHaveAppStore=this.clientDetect.couldHaveAppStore(),this.couldHaveMacAppStore=this.clientDetect.couldHaveMacAppStore(),this.couldHaveiTunes=this.clientDetect.couldHaveiTunes(),this.couldHaveiTunesU=this.clientDetect.couldHaveiTunesU(),this.couldHaveMessages=this.clientDetect.couldHaveMessages(),this.couldHaveMusic=this.clientDetect.couldHaveMusic(),this.couldHavePodcasts=this.clientDetect.couldHavePodcasts(),this.couldHaveBookStore=this.clientDetect.couldHaveBookStore(),this.couldHaveTV=this.clientDetect.couldHaveTV(),this.couldHaveWatch=this.clientDetect.couldHaveWatch())}schemeForURL(){const{href:e}=this.schemeObjectForURL(...arguments)
return e}schemeObjectForURL(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.browser
return(0,o.isSSR)()?{}:l.ClientDetect.schemeForURL(e,t)}get canOpenAppleMusic(){return!(0,o.isSSR)()&&(this.browser.isMobile||this.browser.isAndroid?this.couldHaveMusic:this.couldHaveiTunes)}get isPreiOS12(){if((0,o.isSSR)())return!1
if(!this.browser.isiOS)return!1
const e=this.userAgent.match(T)
if(!e)return!1
const[,t]=e
return t<12}get isiOS12Plus(){return this.browser.isiOS&&!this.isPreiOS12}get isPreiOS122(){if((0,o.isSSR)())return!1
if(!this.browser.isiOS)return!1
const e=this.userAgent.match(T)
if(!e)return!1
const[,t,i]=e
return t<12||12==t&&i<2}launchFromCta(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};(0,n.isEmpty)(e)||(r={app:e})
const o=(0,s.getOwner)(this).lookup("controller:application")
return(0,a.addLaunchQueryParams)(r,o),r=k(k({},r),i),this.launch(t,r)}launch(e,i,r){const n=(0,a.processQueryParams)(e,i);(0,t.debug)(`[launch-client] Handing off to Native App: ${n}`),this.launchClient(n,(e=>{(0,t.debug)(`[launch-client] ClientDetect.launchClient: callback(supported): ${e}`)
const i=0===e
if(!this.isDestroyed&&!this.isDestroying&&("function"==typeof r?r(!i):this.nativeLaunchFailed=i,i)){const e=document.body
e&&e.scrollIntoView()}}))}launchClient(e,t){this.clientDetect.launchClient(e,t)}},u=j(c.prototype,"nativeLaunchFailed",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),d=j(c.prototype,"browser",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),m=j(c.prototype,"couldHaveAppStore",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=j(c.prototype,"couldHaveMacAppStore",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b=j(c.prototype,"couldHaveiTunes",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=j(c.prototype,"couldHaveiTunesU",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=j(c.prototype,"couldHaveMessages",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=j(c.prototype,"couldHaveMusic",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),w=j(c.prototype,"couldHavePodcasts",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v=j(c.prototype,"couldHaveBookStore",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=j(c.prototype,"couldHaveTV",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=j(c.prototype,"couldHaveWatch",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),O=j(c.prototype,"userAgent",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),j(c.prototype,"launchFromCta",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"launchFromCta"),c.prototype),c)
e.default=z})),define("web-experience-app/services/record-headers-cache",["exports","@ember/service"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=/max-age=(\d+)/
class r extends t.default{constructor(){super(...arguments),this._data={}}add(e,t,r){let{modelName:n}=e
const a={}
if(r.Expires)a.Expires=new Date(r.Expires)
else if(r["cache-control"]){const[,e]=r["cache-control"].match(i)
e&&(a.Expires=new Date(Date.now()+1e3*parseInt(e,10)))}this._data[n+t]=a}headersFor(e,t){let{modelName:i}=e
return this._data[i+t]}}e.default=r})),define("web-experience-app/services/records-visited",["exports","@ember/service","web-experience-app/utils/ember-data/json-api"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class r extends t.default{constructor(){var e,t,r
super(...arguments),r=null,(t="resourceRegister")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this.resourceRegister=new i.ResourceRegister}register(e){this.resourceRegister.register(e)}has(e){return this.resourceRegister.get(e)}}e.default=r})),define("web-experience-app/services/responsive",["exports","@ember/object/evented","@ember/service","@glimmer/tracking","web-experience-app/config","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a){var o,l
function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let p=(o=class extends(i.default.extend(t.default)){constructor(){var e,t,i,r
super(...arguments),s(this,"viewports",n.default.viewports),s(this,"_mqls",null),e=this,t="viewport",r=this,(i=l)&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0}),(0,a.isSSR)()||this._installHandlers()}_didChangeHandler(e,t){if(!e||!e.matches)return
const i=this.viewports.find((e=>e.mediaQueryStrict===t))
this.viewport=i.name,this.trigger("didChange",e)}_installHandlers(){this._mqls=this.viewports.map((e=>{let{mediaQueryStrict:t}=e
const i=window.matchMedia(t),r=e=>{this._didChangeHandler(e,t)}
return i.addEventListener?i.addEventListener("change",r):i.addListener(r),this._didChangeHandler(i,t),{mql:i,listener:r}}))}_uninstallHandlers(){this._mqls&&this._mqls.forEach((e=>{let{mql:t,listener:i}=e
t.removeEventListener?t.removeEventListener("change",i):t.removeListener(i)}))}willDestroy(){super.willDestroy(...arguments),(0,a.isSSR)()||this._uninstallHandlers()}},c=o.prototype,u="viewport",d=[r.tracked],m={configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}},b={},Object.keys(m).forEach((function(e){b[e]=m[e]})),b.enumerable=!!b.enumerable,b.configurable=!!b.configurable,("value"in b||b.initializer)&&(b.writable=!0),b=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),b),f&&void 0!==b.initializer&&(b.value=b.initializer?b.initializer.call(f):void 0,b.initializer=void 0),void 0===b.initializer&&(Object.defineProperty(c,u,b),b=null),l=b,o)
var c,u,d,m,f,b
e.default=p})),define("web-experience-app/services/router-scroll",["exports","ember-router-scroll/services/router-scroll"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/router-state",["exports","@ember/service","web-experience-app/config/environment","@ember/runloop","@glimmer/tracking","@ember/object","web-experience-app/utils/routing","web-experience-app/utils/ssr","@ember/application"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m
function f(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function b(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function g(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{PROGRESS_BAR_DELAY:h}=i.default.APP
let y=(p=class extends t.default{constructor(){super(...arguments),f(this,"platform",c,this),f(this,"router",u,this),f(this,"isTransitioning",d,this),f(this,"timer",m,this),b(this,"_requestId",null),b(this,"_measureProgressTimer",void 0)}measureProgress(){if(this.isDestroyed||this.isDestroying)return
let e=this.timer
if(e+=e>90?1/12:e>75?1/8:e>50?.2:1/3,this.timer=e,!this.isTransitioning||e>=100)window.cancelAnimationFrame(this._requestId)
else{const e=window.requestAnimationFrame(this.measureProgress)
this._requestId=e}}clearProgress(){this.isDestroyed||this.isDestroying||(this.timer=100,(0,r.later)(this,this.resetTimer,50))}resetTimer(){this.isDestroyed||this.isDestroying||(this.timer=0)}setupLoadingState(e){if((0,l.isSSR)())return
if(this.platform.browser.isIE)return
let[t]=e.targetName.split(".")
const i=e.intent.url?(0,o.findIdInSegments)(e.intent.url.split("/")):null
"story"!==t&&(t=`product/${t}`)
let n=!1
if(i){const e=(0,s.getOwner)(this).lookup("service:store")
n=e&&e.hasRecordForId?.(t,i)}n||this.router._router.isFirstRoute||(this.isTransitioning=!0,this._measureProgressTimer=(0,r.later)(this,this.measureProgress,h))}clearLoadingState(){(0,l.isSSR)()||this.platform.browser.isIE||this.isTransitioning&&((0,r.scheduleOnce)("afterRender",this,this.afterRender),(0,r.cancel)(this._measureProgressTimer),(0,a.set)(this,"_measureProgressTimer",null))}afterRender(){this.clearProgress(),(0,r.later)(this,(()=>{this.isTransitioning=!1}),100)}},c=g(p.prototype,"platform",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=g(p.prototype,"router",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=g(p.prototype,"isTransitioning",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),m=g(p.prototype,"timer",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),g(p.prototype,"measureProgress",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"measureProgress"),p.prototype),g(p.prototype,"afterRender",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"afterRender"),p.prototype),p)
e.default=y})),define("web-experience-app/services/short-number",["exports","ember-short-number/services/short-number"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/starkit",["exports","@amp/ember-metrics/services/starkit"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/services/translation",["exports","@amp/ember-localizer/services/translation","@ember/service","web-experience-app/config/environment","web-experience-app/config","@glimmer/tracking","@amp/ember-localizer/utils/page-dir","@apple/babel-plugin-feature-remover","web-experience-app/utils/ssr"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m,f,b
function g(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let y=(p=class extends t.default{constructor(){var e,t,i
super(...arguments),e=this,t="ENV",i=r.default,t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,g(this,"fastboot",c,this),g(this,"globalElements",u,this),g(this,"locale",d,this),g(this,"hasLoaded",m,this),g(this,"requestedLanguage",f,this),g(this,"storedLanguage",b,this)}async getBestLanguage(){let e
return this.fastboot.isFastBoot?(e=await this.globalElements.getAllowedLanguage(this.requestedLanguage),e&&this.fastboot.shoebox.put(n.default.shoeboxNames.languageCode,e)):e=this.fastboot.shoebox.retrieve(n.default.shoeboxNames.languageCode)||await this.globalElements.getAllowedLanguage(this.requestedLanguage)||super.getBestLanguage(),this.storedLanguage=e,e}getPageDir(){return o.RTL_LANG_CODES_OVERRIDE.includes(this.requestedLanguage)?"rtl":super.getPageDir(...arguments)}async load(){await super.load(...arguments),this.hasLoaded=!0,this.locale.setLocale(this.storedLanguage),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:""
if((0,s.isSSR)())return
if(o.RTL_LANG_CODES.includes(e.substring(0,2).toLowerCase())){const e=[...document.getElementsByTagName("link")].find((e=>e.dataset.rtl))
e&&e.dataset.rtl&&(e.href=e.dataset.rtl)}}(this.storedLanguage)}},c=h(p.prototype,"fastboot",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=h(p.prototype,"globalElements",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=h(p.prototype,"locale",[i.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=h(p.prototype,"hasLoaded",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=h(p.prototype,"requestedLanguage",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),b=h(p.prototype,"storedLanguage",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),p)
e.default=y})),define("web-experience-app/services/video-player",["exports","@ember/service","@ember/debug","@ember/array","web-experience-app/config","@glimmer/tracking","@ember/object","web-experience-app/utils/ssr","@ember/utils"],(function(e,t,i,r,n,a,o,l,s){var p,c,u,d,m,f
function b(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function g(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function h(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.states=e.default=void 0
const y={NONE:0,LOADING:1,PLAYING:2,PAUSED:3}
e.states=y
let w=(p=class extends t.default{constructor(){super(...arguments),b(this,"mediaPlayer",c,this),b(this,"platform",u,this),b(this,"responsive",d,this),g(this,"_videos",null),b(this,"_playbackState",m,this),g(this,"_currentQueue",null),g(this,"_currentQueueIndex",null),b(this,"nowPlayingItem",f,this),g(this,"_player",null),g(this,"_modal",null),g(this,"_pendingMedia",null)}get isPlaying(){return this._playbackState===y.PLAYING}get isPaused(){return this._playbackState===y.PAUSED}get isLoading(){return this._playbackState===y.LOADING}willDestroy(){if(super.willDestroy(...arguments),(0,l.isSSR)())return
const{responsive:e}=this
e.has?.("didChange")&&e.off("didChange",this._resizeHandler)}prepareTransition(){(0,i.debug)("[media-player] Stopping video playback due to page transition"),this._removeListeners()
const e=this._getVideoElements()
Array.isArray(e)&&e.length>0&&(this.stop(),this._acFilmsDestroy()),this._unsetVideos()}registerVideo(e,t){if(!t||!e.url)return
const i=this._videos||(0,r.A)()
t.addEventListener("click",this._setPendingMediaElement)
const{id:n,meta:a,url:o}=e
i.some((e=>e.id===n))||(i.push({id:n,url:o,meta:a,element:t}),this._videos=i)}async loadPlayer(){const{default:e}=await emberAutoImportDynamic("@marcom/ac-films")
return e}async initializeVideos(){if((0,l.isSSR)())return
const e=this._getVideoElements()
if(!Array.isArray(e)||0===e.length)return
const{_player:t}=this
t&&t.controls&&this._acFilmsDestroy()
const i=await this.loadPlayer(),{player:r,modalVideo:a,destroy:o}=i.create(e,{modal:!0,poster:n.default.videoLoadingPoster,closeOnEnd:!1,crossorigin:null,localizationBasePath:n.default.videoLocalizationPath,sharing:{}})
if(r.on("play",this._onPlay),r.on("pause",this._onPause),r.on("ended",this._onEnded),a&&a.on("close",this._onClosed),this.responsive.on("didChange",this._resizeHandler),this._player=r,this._acFilmsDestroy=o,this._modal=a,this.platform.browser.isSafari){const e=r.getMediaElement(),t=e.webkitSetPresentationMode
r.on("pictureinpicture:change",this._onPipModeChanged)
const i=this
e.webkitSetPresentationMode=function(e){if(!i.isPlayingCollection(i._currentQueue)||!i._isPiP()||"inline"!==e)return t.apply(this,arguments)}}}_acFilmsDestroy(){}togglePlaybackCollection(e){const{_player:t}=this
if(this.isPlayingCollection(e))return this.isPlaying?t.pause():t.play()
this._currentQueue=e,this._currentQueueIndex=-1,this._playNextInQueue()}updateCurrentQueue(e,t){this._currentQueue=e,this._currentQueueIndex=t}isPlayingCollection(e){const{_currentQueue:t}=this
if((0,s.isEmpty)(e)||(0,s.isEmpty)(t))return!1
if(t.length!==e.length)return!1
const i=e.map((e=>e.id))
return t.every((e=>-1!==i.indexOf(e.id)))}togglePlayback(e){if(!e.url)return
this._closePlayer()
const t=this._findVideoByUrl(e.url)
t&&t.element.click()}stop(){const{_player:e,_modal:t}=this
this.nowPlayingItem=null,e&&e.pause(),t&&t.close()}findVideoById(e){return this._videos.findBy("id",e)}_resizeHandler(){const e=this._player
e&&e.refreshSize()}_isPiP(){return this.platform.browser.isSafari&&this._player.isPictureInPicture()}_onPlay(){this.isDestroyed||this.isDestroying||(this.nowPlayingItem=this._pendingMedia,this._playbackState=y.PLAYING,this.pendingMedia=null)}_onPipModeChanged(){!this._isPiP()&&this.isPaused&&this._closePlayer(!0),this._isPiP()&&this.isPlaying&&this._modal.modalElement.classList.add("ac-modal-video-pip")}_onPause(){this.isDestroyed||this.isDestroying||this.isPlaying&&(this._playbackState=y.PAUSED)}_onEnded(){const e=(0,s.isEmpty)(this._currentQueue)?this._closePlayer:this._playNextInQueue
this._onFinish(e)}_onClosed(){this._onFinish(this._closePlayer)}_onFinish(e){this.isDestroyed||this.isDestroying||("function"!=typeof e?(this._playbackState=y.NONE,this.nowPlayingItem=null):e.call(this))}_getVideoElements(){const e=this._videos
return e?e.mapBy("element"):[]}_findVideoByUrl(e){return this._videos.findBy("url",e)}_setPendingMediaElement(e){const t=e.currentTarget.href||e.currentTarget.getAttribute("data-ac-films-href"),i=this._findVideoByUrl(t)
i&&(this._pendingMedia=i,this.setLoading())}setLoading(){this._playbackState=y.LOADING,this.mediaPlayer._movieLoadingHandler()}_removeListeners(){this._getVideoElements().forEach((e=>{e.removeEventListener("click",this._setPendingMediaElement)}))}_unsetVideos(){this._videos=null}_playNextInQueue(){const e=this._currentQueueIndex+1
if(!this._currentQueue||e>=this._currentQueue.length)return void this._closePlayer(!0)
this._isPiP()&&this._modal.close(),this._currentQueueIndex=e
const t=this._currentQueue[e],i=this._findVideoByUrl(t.url)
i?i.element.click():this._playNextInQueue()}_closePlayer(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0]
this._isPiP()&&!e||(this._currentQueue=null,this._currentQueueIndex=null,this._playbackState=y.NONE,this.nowPlayingItem=null),this._modal&&this._modal.close()}},c=h(p.prototype,"mediaPlayer",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=h(p.prototype,"platform",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=h(p.prototype,"responsive",[t.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=h(p.prototype,"_playbackState",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return y.NONE}}),f=h(p.prototype,"nowPlayingItem",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h(p.prototype,"_onPlay",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_onPlay"),p.prototype),h(p.prototype,"_onPipModeChanged",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_onPipModeChanged"),p.prototype),h(p.prototype,"_onPause",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_onPause"),p.prototype),h(p.prototype,"_onEnded",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_onEnded"),p.prototype),h(p.prototype,"_onClosed",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_onClosed"),p.prototype),h(p.prototype,"_setPendingMediaElement",[o.action],Object.getOwnPropertyDescriptor(p.prototype,"_setPendingMediaElement"),p.prototype),p)
e.default=w})),define("web-experience-app/supported-locales",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default=["ar-dz","ar-bh","ar-eg","ar-iq","ar-jo","ar-kw","ar-lb","ar-ly","ar-ma","ar-om","ar-qa","ar-sa","ar-sd","ar-sy","ar-tn","ar-ae","ar-ye","he-il","iw-il","ca-es","cs-cz","da-dk","de-ch","de-de","el-gr","en-au","en-ca","en-gb","en-us","es-419","es-es","es-mx","es-xl","et-ee","fi-fi","fr-ca","fr-fr","hi-in","hr-hr","hu-hu","id-id","is-is","it-it","iw-il","ja-jp","ko-kr","lt-lt","lv-lv","ms-my","nl-nl","no-no","no-nb","nb-no","pl-pl","pt-br","pt-pt","ro-ro","ru-ru","sk-sk","sv-se","th-th","tr-tr","uk-ua","vi-vi","vi-vn","zh-cn","zh-hans","zh-hant","zh-hk","zh-tw","ar","ca","cs","da","de","el","en","es","fi","fr","he","hi","hr","hu","id","is","it","ja","ko","lt","lv","ms","nb","nl","no","pl","pt","ro","ru","sk","sv","th","tr","uk","vi","zh"]})),define("web-experience-app/templates/app-bundle",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"92Xogldg",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n"],[41,[30,0,["appViewState","isMacAppStoreView"]],[[[1,"  "],[8,[39,2],null,[["@supportsArcade"],[[30,1,["viewModel","product","supportsArcade"]]]],null],[1,"\\n"]],[]],[[[1,"  "],[8,[39,3],null,[["@supportsArcade"],[[30,1,["viewModel","product","supportsArcade"]]]],null],[1,"\\n"]],[]]],[1,"\\n"],[8,[39,4],null,null,[["default"],[[[[1,"\\n"],[41,[30,1,["seeAllData"]],[[[1,"     "],[8,[39,5],null,null,[["default"],[[[[1,"\\n"],[44,[[28,[37,7],[[30,2],[30,1,["seeAllData","seeAllSectionType"]]],null]],[[[1,"         "],[8,[30,3],null,[["@header","@items","@productModel","@seeAllModelType","@sectionType","@metricsConfigKey"],[[30,1,["seeAllData","header"]],[30,1,["seeAllData","items"]],[30,1,["viewModel","product"]],[30,1,["seeAllData","seeAllModelType"]],[30,1,["seeAllData","sectionType"]],"navigateShelf"]],null],[1,"\\n"]],[3]]],[1,"     "]],[2]]]]],[1,"\\n"]],[]],[[[41,[30,1,["viewModel","product","supportsArcade"]],[[[1,"      "],[8,[39,8],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,9],[[28,[37,10],null,null]],null],[[[41,[30,0,["showBanner"]],[[[1,"        "],[8,[39,11],null,[["@editMessage","@editRequested","@availabilityMessage"],[[28,[37,12],[[30,0,["editMessageKey"]]],null],[30,0,["showEditRequestedBanner"]],[28,[37,12],[[30,0,["availabilityMessageKey"]]],null]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[1,"    "],[8,[39,13],null,[["@model","@displayPrice","@customersAlsoBoughtApps","@developerOtherApps","@promotedInApps","@appEvents","@appsInBundle","@relatedEditorialItems","@reviews","@subscriptions","@screenshotGroups","@primaryPlatform","@showPreorder"],[[30,1,["viewModel","product"]],[30,0,["displayPrice"]],[30,1,["viewModel","customersAlsoBoughtApps"]],[30,1,["viewModel","developerOtherApps"]],[30,1,["viewModel","promotedInApps"]],[30,1,["viewModel","appEvents"]],[30,1,["viewModel","appsInBundle"]],[30,1,["viewModel","relatedEditorialItems"]],[30,1,["viewModel","reviews"]],[30,1,["viewModel","subscriptions"]],[30,1,["viewModel","screenshotGroups"]],[30,1,["viewModel","product","primaryPlatform"]],[30,0,["showPreorder"]]]],null],[1,"\\n\\n"],[41,[30,1,["viewModel","product","supportsArcade"]],[[[1,"      "],[8,[39,14],null,null,null],[1,"\\n      "],[8,[39,15],null,null,null],[1,"\\n"]],[]],null]],[]]]],[]]]]]],["@model","map","SeeAllComponent"],false,["seo-tags","if","we-localnav/mac-app-store","we-localnav/app-store","animation-wrapper","see-all/chooser","let","get","pages/app/we-banner-arcade","not","is-ssr","pages/app/we-banner","t","pages/app-bundle","pages/app/we-footer-arcade","we-footer-disclaimer"]]',moduleName:"web-experience-app/templates/app-bundle.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/app-event",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"rCeWeuyD",block:'[[[8,[39,0],null,[["@supportsArcade"],[[30,1,["viewModel","product","supportsArcade"]]]],null],[1,"\\n\\n"],[8,[39,1],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,2],null,null,[["default"],[[[[1,"\\n  "],[8,[39,3],null,[["@appEvent","@app"],[[30,1,["viewModel","product"]],[30,1,["viewModel","app"]]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],["@model"],false,["we-localnav/app-store","seo-tags","animation-wrapper","pages/app-event"]]',moduleName:"web-experience-app/templates/app-event.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/app",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"WE8RXt4F",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[41,[30,0,["appViewState","isMacAppStoreView"]],[[[1,"  "],[8,[39,2],null,[["@supportsArcade"],[[30,1,["viewModel","product","supportsArcade"]]]],null],[1,"\\n"]],[]],[[[1,"  "],[8,[39,3],null,[["@supportsArcade"],[[30,1,["viewModel","product","supportsArcade"]]]],null],[1,"\\n"]],[]]],[1,"\\n"],[8,[39,4],null,null,[["default"],[[[[1,"\\n"],[41,[30,1,["seeAllData"]],[[[1,"     "],[8,[39,5],null,null,[["default"],[[[[1,"\\n"],[44,[[28,[37,7],[[30,2],[30,1,["seeAllData","seeAllSectionType"]]],null]],[[[1,"         "],[8,[30,3],null,[["@header","@items","@productModel","@seeAllModelType","@sectionType","@metricsConfigKey"],[[30,1,["seeAllData","header"]],[30,1,["seeAllData","items"]],[30,1,["viewModel","product"]],[30,1,["seeAllData","seeAllModelType"]],[30,1,["seeAllData","sectionType"]],"navigateShelf"]],null],[1,"\\n"]],[3]]],[1,"     "]],[2]]]]],[1,"\\n\\n"]],[]],[[[41,[30,1,["viewModel","product","supportsArcade"]],[[[1,"      "],[8,[39,8],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,9],[[30,1,["viewModel","product","primaryPlatform","usesExternalLinkPurchase"]],[30,1,["viewModel","product","primaryPlatform","usesExternalPurchase"]]],null],[[[1,"      "],[8,[39,10],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,11],[[28,[37,12],null,null]],null],[[[41,[30,0,["showBanner"]],[[[1,"        "],[8,[39,13],null,[["@editMessage","@editRequested","@availabilityMessage"],[[28,[37,14],[[30,0,["editMessageKey"]]],null],[30,0,["showEditRequestedBanner"]],[28,[37,14],[[30,0,["availabilityMessageKey"]]],null]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n    "],[8,[39,15],null,[["@model","@displayPrice","@customersAlsoBoughtApps","@developerOtherApps","@promotedInApps","@appEvents","@relatedEditorialItems","@reviews","@subscriptions","@screenshotGroups","@primaryPlatform","@showPreorder","@familySharingStoryLink"],[[30,1,["viewModel","product"]],[30,0,["displayPrice"]],[30,1,["viewModel","customersAlsoBoughtApps"]],[30,1,["viewModel","developerOtherApps"]],[30,1,["viewModel","promotedInApps"]],[30,1,["viewModel","appEvents"]],[30,1,["viewModel","relatedEditorialItems"]],[30,1,["viewModel","reviews"]],[30,1,["viewModel","subscriptions"]],[30,1,["viewModel","screenshotGroups"]],[30,1,["viewModel","product","primaryPlatform"]],[30,0,["showPreorder"]],[30,1,["viewModel","familySharingStoryLink"]]]],null],[1,"\\n\\n"],[41,[30,1,["viewModel","product","supportsArcade"]],[[[1,"      "],[8,[39,16],null,null,null],[1,"\\n      "],[8,[39,17],null,null,null],[1,"\\n"]],[]],null]],[]]]],[]]]]],[1,"\\n"]],["@model","map","SeeAllComponent"],false,["seo-tags","if","we-localnav/mac-app-store","we-localnav/app-store","animation-wrapper","see-all/chooser","let","get","pages/app/we-banner-arcade","or","pages/app/external-purchases/banner","not","is-ssr","pages/app/we-banner","t","pages/app","pages/app/we-footer-arcade","we-footer-disclaimer"]]',moduleName:"web-experience-app/templates/app.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/application-error",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"FSeFncdV",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[41,[30,1,["visitedURL"]],[[[1,"  "],[8,[39,2],null,[["@url"],[[30,1,["visitedURL"]]]],null],[1,"\\n"]],[]],[[[1,"  "],[1,[30,1,["message"]]],[1,"\\n"]],[]]]],["@model"],false,["seo-tags","if","we-connecting"]]',moduleName:"web-experience-app/templates/application-error.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/application",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"zlKzZxwB",block:'[[[10,0],[14,0,"ember-view"],[12],[1,"\\n  "],[8,[39,0],null,[["@isDarkTheme"],[false]],null],[1,"\\n\\n  "],[10,"main"],[15,0,[29,["selfclear ",[30,0,["viewStateTheme"]]]]],[12],[1,"\\n    "],[46,[28,[37,2],null,null],null,null,null],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["global-elements","component","-outlet"]]',moduleName:"web-experience-app/templates/application.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/carrier",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"NSkrjR3y",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[10,0],[14,0,"l-content-width l-viewport-centered"],[12],[1,"\\n  "],[10,"section"],[14,0,"carrier"],[12],[1,"\\n    "],[10,"h1"],[14,0,"carrier__title"],[12],[1,[28,[35,1],["WEA.CarrierPages.UpdateOS.Title"],null]],[13],[1,"\\n    "],[10,0],[14,0,"carrier__steps"],[12],[1,"\\n      "],[10,"ul"],[12],[1,"\\n        "],[10,"li"],[12],[1,[28,[35,1],["WEA.CarrierPages.UpdateOS.Instructions.iOS"],null]],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,"h2"],[14,0,"carrier__instructions"],[12],[1,[28,[35,1],["WEA.CarrierPages.UpdateOS.Instructions.One"],null]],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["seo-tags","t"]]',moduleName:"web-experience-app/templates/carrier.hbs",isStrictMode:!1})
e.default=i}))
define("web-experience-app/templates/charts-error",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"62bHqpKj",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,null],[1,"\\n\\n"],[10,0],[14,0,"we-page-error l-content-width l-viewport-centered l-viewport-centered--with-header-footer"],[12],[1,"\\n  "],[10,"h1"],[14,"role","status"],[14,0,"we-page-error__message"],[12],[1,"\\n    "],[1,[30,0,["message"]]],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["seo-tags","we-localnav/dynamic"]]',moduleName:"web-experience-app/templates/charts-error.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"vElwodaB",block:'[[[8,[39,0],null,null,null],[1,"\\n\\n"],[46,[28,[37,2],null,null],null,null,null],[1,"\\n"]],[],false,["we-localnav/dynamic","component","-outlet"]]',moduleName:"web-experience-app/templates/charts.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/audiobooks/genre",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"liPJSpC3",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@isAudiobooks","@isSeeAllView","@isLoadingNextPage","@totalMaxLimitReached","@chartsList","@genres","@popularGenres","@title","@onNextPage"],[true,true,[30,0,["isLoadingNextPage"]],[30,0,["totalMaxLimitReached"]],[30,0,["model","chartsList"]],[30,0,["model","genres"]],[30,0,["model","popularGenres"]],[30,0,["model","genreTitle"]],[30,0,["nextPage"]]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["seo-tags","animation-wrapper","pages/charts"]]',moduleName:"web-experience-app/templates/charts/audiobooks/genre.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/audiobooks/index",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"RbIE/Yh9",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@isAudiobooks","@isSeeAllView","@isLoadingNextPage","@totalMaxLimitReached","@chartsList","@genres","@popularGenres","@onNextPage"],[true,true,[30,0,["isLoadingNextPage"]],[30,0,["totalMaxLimitReached"]],[30,0,["model","chartsList"]],[30,0,["model","genres"]],[30,0,["model","popularGenres"]],[30,0,["nextPage"]]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["seo-tags","animation-wrapper","pages/charts"]]',moduleName:"web-experience-app/templates/charts/audiobooks/index.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/chart-see-all",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"WxKbp9Ce",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@isSeeAllView","@isLoadingNextPage","@totalMaxLimitReached","@chartsList","@genres","@popularGenres","@title","@onNextPage"],[true,[30,0,["isLoadingNextPage"]],[30,0,["totalMaxLimitReached"]],[30,0,["model","chartsList"]],[30,0,["model","genres"]],[30,0,["model","popularGenres"]],[30,0,["model","genreTitle"]],[30,0,["nextPage"]]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["seo-tags","animation-wrapper","pages/charts"]]',moduleName:"web-experience-app/templates/charts/chart-see-all.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/device/category",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"ZzV+f2E6",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@shelfConfig","@chartsList","@genres","@extraGenres","@title","@isSeeAllView","@onNextPage","@totalMaxLimitReached"],[[30,0,["model","shelfConfig"]],[30,0,["model","chartsList"]],[30,0,["model","genres"]],[28,[37,3],[[30,0,["model","extraGenres"]],"0"],null],[30,0,["model","genreTitle"]],[30,0,["model","isSeeAll"]],[30,0,["nextPage"]],[30,0,["totalMaxLimitReached"]]]],[["default"],[[[[1,"\\n    "],[10,3],[15,6,[30,1,["seeAllLinkUrl"]]],[14,"data-we-link-to-exclude",""],[14,0,"link section__nav__see-all-link ember-view"],[12],[1,"\\n      "],[1,[28,[35,4],["WEA.Common.SeeAll.Button"],null]],[1,"\\n    "],[13],[1,"\\n  "]],[1]]]]],[1,"\\n"]],[]]]]],[1,"\\n\\n"]],["chart"],false,["seo-tags","animation-wrapper","pages/charts","get","t"]]',moduleName:"web-experience-app/templates/charts/device/category.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/device/index",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"816QV6gX",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@chartsList","@genres","@extraGenres"],[[30,0,["model","chartsList"]],[30,0,["model","genres"]],[28,[37,3],[[30,0,["model","extraGenres"]],"0"],null]]],[["default"],[[[[1,"\\n    "],[10,3],[15,6,[30,1,["seeAllLinkUrl"]]],[14,"data-we-link-to-exclude",""],[14,0,"link section__nav__see-all-link ember-view"],[12],[1,"\\n      "],[1,[28,[35,4],["WEA.Common.SeeAll.Button"],null]],[1,"\\n    "],[13],[1,"\\n  "]],[1]]]]],[1,"\\n"]],[]]]]],[1,"\\n"]],["chart"],false,["seo-tags","animation-wrapper","pages/charts","get","t"]]',moduleName:"web-experience-app/templates/charts/device/index.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/genre",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"PTtNkH1J",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@shelfConfig","@chartsList","@genres","@popularGenres","@title"],[[30,0,["model","shelfConfig"]],[30,0,["model","chartsList"]],[30,0,["model","genres"]],[30,0,["model","popularGenres"]],[30,0,["model","genreTitle"]]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["seo-tags","animation-wrapper","pages/charts"]]',moduleName:"web-experience-app/templates/charts/genre.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/charts/index",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"ShyL6Fhy",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,null,[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@chartsList","@genres","@popularGenres"],[[30,0,["model","chartsList"]],[30,0,["model","genres"]],[30,0,["model","popularGenres"]]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["seo-tags","animation-wrapper","pages/charts"]]',moduleName:"web-experience-app/templates/charts/index.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/developer",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"aXZMbbS8",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n"],[8,[39,1],null,[["@localNavClassNames"],[[52,[30,0,["model","artwork"]],"localnav-noborder"]]],null],[1,"\\n\\n"],[8,[39,3],null,null,[["default"],[[[[1,"\\n"],[41,[30,1,["seeAllData"]],[[[1,"     "],[8,[39,4],null,null,[["default"],[[[[1,"\\n"],[44,[[28,[37,6],[[30,2],[30,1,["seeAllData","seeAllSectionType"]]],null]],[[[1,"         "],[8,[30,3],null,[["@header","@items","@productModel","@seeAllModelType","@sectionType","@metricsConfigKey"],[[30,1,["seeAllData","header"]],[30,1,["seeAllData","items"]],[30,1,["viewModel","product"]],[30,1,["seeAllData","seeAllModelType"]],[30,1,["seeAllData","sectionType"]],"navigateShelf"]],null],[1,"\\n"]],[3]]],[1,"     "]],[2]]]]],[1,"\\n"]],[]],[[[1,"    "],[8,[39,7],null,[["@model","@bundles","@bundlesCount","@iPhoneiPadApps","@iPhoneiPadAppsCount","@iPhoneApps","@iPhoneAppsCount","@iPadApps","@iPadAppsCount","@iMessageApps","@iMessageAppsCount","@appleTvApps","@appleTvAppsCount","@macApps","@macAppsCount","@watchApps","@watchAppsCount","@allApps"],[[30,0,["model","viewModel","product"]],[30,0,["model","viewModel","bundles"]],[30,0,["model","viewModel","bundles","length"]],[30,0,["model","viewModel","iPhoneiPadApps"]],[30,0,["model","viewModel","iPhoneiPadApps","length"]],[30,0,["model","viewModel","iPhoneApps"]],[30,0,["model","viewModel","iPhoneApps","length"]],[30,0,["model","viewModel","iPadApps"]],[30,0,["model","viewModel","iPadApps","length"]],[30,0,["model","viewModel","iMessageApps"]],[30,0,["model","viewModel","iMessageApps","length"]],[30,0,["model","viewModel","appleTvApps"]],[30,0,["model","viewModel","appleTvApps","length"]],[30,0,["model","viewModel","macApps"]],[30,0,["model","viewModel","macApps","length"]],[30,0,["model","viewModel","watchApps"]],[30,0,["model","viewModel","watchApps","length"]],[30,0,["model","viewModel","allApps"]]]],null],[1,"\\n"]],[]]]],[]]]]],[1,"\\n"]],["@model","map","SeeAllComponent"],false,["seo-tags","we-localnav/app-store","if","animation-wrapper","see-all/chooser","let","get","pages/developer"]]',moduleName:"web-experience-app/templates/developer.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/invoice",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"MW1059rd",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[10,0],[14,0,"l-content-width l-viewport-centered"],[12],[1,"\\n  "],[10,"section"],[14,0,"invoice"],[12],[1,"\\n    "],[10,"h1"],[14,0,"invoice__title"],[12],[1,[28,[35,1],["WEA.InvoicePages.Receipts.Title"],null]],[13],[1,"\\n    "],[10,"h2"],[14,0,"invoice__instructions"],[12],[1,[28,[35,1],["WEA.InvoicePages.Receipts.Instructions"],null]],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["seo-tags","t"]]',moduleName:"web-experience-app/templates/invoice.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/not-found",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"j5cIr1I+",block:'[[[8,[39,0],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,1],null,[["@url","@preventLaunch"],[[30,0,["model","url"]],[30,0,["preventConnectingLaunch"]]]],null],[1,"\\n"]],[],false,["seo-tags","we-connecting"]]',moduleName:"web-experience-app/templates/not-found.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/storefront",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"oj8Q/rI1",block:'[[[46,[28,[37,1],null,null],null,null,null],[1,"\\n"]],[],false,["component","-outlet"]]',moduleName:"web-experience-app/templates/storefront.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/templates/story",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.createTemplateFactory)({id:"NTHAgWXs",block:'[[[8,[39,0],null,null,null],[1,"\\n\\n"],[8,[39,1],null,[["@data"],[[30,0,["headTagsData"]]]],null],[1,"\\n\\n"],[8,[39,2],null,[["@story"],[[30,1,["viewModel","product"]]]],null],[1,"\\n"]],["@model"],false,["we-localnav/app-store","seo-tags","pages/story"]]',moduleName:"web-experience-app/templates/story.hbs",isStrictMode:!1})
e.default=i})),define("web-experience-app/utils/amp-bidi",["exports","ember-ui-bidi-text/utils/amp-bidi"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/utils/apps/app-events",["exports","date-fns","web-experience-app/utils/apps/relative-time","web-experience-app/utils/date-time","@amp/ember-ui-media-artwork/utils/srcset"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.fallbackEventArtwork=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:""
return(0,n.buildSrc)(e,{width:100,height:25,crop:"br"})},e.formatEventBadge=function(e,n,s){const{badgeKind:p}=e
let{startDate:c,endDate:u}=e
if(c=(0,r.getDateObject)(c),u=(0,r.getDateObject)(u),n=(0,r.getDateObject)(n),(0,t.isAfter)(c,n))return function(e,n,o,l){const s=(0,t.differenceInCalendarDays)(e,n),p=(0,r.diffInMinutes)(e,n)
if(0===s&&p<60)return o===a?l.t("WEA.Common.Time.AvailableIn",{minutes:p}):l.t("WEA.Common.Time.StartsIn",{minutes:p})
if(s<7)return(0,i.formatUpcomingTime)(e,s,l)
return(0,r.formatDate)(e,l.locale,"MONTH_ABBREVIATED_DAY")}(c,n,p,s)
if((0,t.isAfter)(u,n))return function(e,t){switch(e){case l:return t.t("WEA.AppPages.Events.Status.Live")
case o:return t.t("WEA.AppPages.Events.Status.HappeningNow")
case a:default:return t.t("WEA.AppPages.Events.Status.NowAvailable")}}(p,s)
return s.t("WEA.AppPages.Events.Status.Ended")},e.isEndedEvent=s,e.isFutureEvent=p,e.isHappeningEvent=c,e.isLiveHappeningEvent=function(e,t){const{badgeKind:i}=e
if("live"!==i)return!1
return c(e,t)},e.shouldSubscribe=function(e){return p(e,Date.now())},e.shouldUnsubscribe=function(e){return s(e,Date.now())}
const a="available",o="happening",l="live"
function s(e,i){let{endDate:n}=e
return n=(0,r.getDateObject)(n),i=(0,r.getDateObject)(i),(0,t.isAfter)(i,n)}function p(e,i){let{startDate:n}=e
return n=(0,r.getDateObject)(n),i=(0,r.getDateObject)(i),(0,t.isAfter)(n,i)}function c(e,i){let{startDate:n,endDate:a}=e
return n=(0,r.getDateObject)(n),a=(0,r.getDateObject)(a),i=(0,r.getDateObject)(i),!(0,t.isAfter)(n,i)&&(0,t.isAfter)(a,i)}})),define("web-experience-app/utils/apps/app-screenshots",["exports","@ember/object","web-experience-app/config/screenshot-profiles","web-experience-app/utils/apps/array-move-item","web-experience-app/utils/apps/device-support","web-experience-app/utils/apps/app-type"],(function(e,t,i,r,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.generateAppScreenshotGroups=function(e,o){const{deviceFamilies:c,isSiliconSupported:u}=e,{screenshots:m,versions:f}=function(e){const t={},i={}
for(const r in e.platforms){const n=e.platforms[r]
l(t,i,d(n),e,n)}return{screenshots:p((0,a.isMessagesOnly)(e)?i:t),versions:s(t)}}(e),b=i.ORDERED_PLATFORMS.indexOf("mac")
let g=o?(0,r.default)(i.ORDERED_PLATFORMS,b,2):i.ORDERED_PLATFORMS
if(u&&(0,n.isiPadSupported)(c)){const e=g.indexOf("ipad")
g=(0,r.default)(g,e,0)}return g.map((e=>{if(m[e]){const r=i.default[e]
return(0,t.set)(r,"images",m[e]),(0,t.set)(r,"version",f[e]),r}})).filter(Boolean)},e.generateBundleScreenshotGroups=function(e){const{screenshots:r,versions:n}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
const t={},i=d(e),{screenshotsByType:r}=e
if(r)for(const n of i){const e=c(r,n),i=u(r,n)
i&&e.length&&(t[n]={version:i,screenshots:e})}return{screenshots:p(t),versions:s(t)}}(e)
return i.ORDERED_PLATFORMS.map((e=>{if(r[e]){const a=i.default[e]
return(0,t.set)(a,"images",r[e]),(0,t.set)(a,"version",n[e]),a}})).filter(Boolean)}
const o={iphone:["iphone_6_5","iphone_5_8","iphone6+","iphone6","iphone5","iphone"],ipad:["ipadPro_2018","ipad_11","ipad","ipad_10_5","ipadPro"],applewatch:["appleWatch_2021","appleWatch_2018","appleWatch"],appletv:["appletv","appleTV"]}
function l(e,t,i,r,n){const a=function(e,t){let{screenshotsByType:i}=t
if(void 0===i){i=function(e,t){if(!t)return{}
const i=e.meta?.cppData?.ppid||"default"
return t.customAttributes?.[i]?.default||t.customAttributes?.default?.default||{}}(e,t).customScreenshotsByType}return i}(r,n),{messagesScreenshots:o}=n
if(a&&i.forEach((i=>{const r=c(a,i),n=u(a,i)
if(n&&r.length&&(e[i]={version:n,screenshots:r}),o){const e=c(o,i),r=u(o,i)
r&&e.length&&(t[i]={version:r,screenshots:e})}})),o){const t=c(o,"iphone")||c(o,"ipad"),i=u(o,"iphone")||u(o,"ipad")
t&&i&&(e.messages={screenshots:t,version:i})}}function s(e){const t={}
for(const r of i.ORDERED_PLATFORMS){const i=e[r]?.version
i&&(t[r]=i)}return t}function p(e){const t={}
for(const r of i.ORDERED_PLATFORMS)e[r]?.screenshots.length&&(t[r]=e[r]?.screenshots)
return t}function c(e,t){const i=u(e,t)
if(i)return e[i]}function u(e,t){const i=(o[t]||[]).find((t=>e[t]))
return i||(e[t]?t:void 0)}function d(e){if(e.isAppleWatchSupported)return i.ORDERED_PLATFORMS
const t=["appleWatch","applewatch"]
return i.ORDERED_PLATFORMS.filter((e=>!t.includes(e)))}})),define("web-experience-app/utils/apps/app-type",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isMessagesOnly=function(e){const{hasMessagesExtension:t,isHiddenFromSpringboard:i}=e.primaryPlatform||e
return!!t&&!!i}})),define("web-experience-app/utils/apps/apps",["exports","web-experience-app/config","@ember/utils","web-experience-app/utils/apps/device-support","@ember/object","web-experience-app/services/media-api"],(function(e,t,i,r,n,a){function o(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?o(Object(i),!0).forEach((function(t){s(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
if((0,r.isMacOnly)(e))return"desktopApp"
if((0,r.isAppleTVOnly)(e))return"AppleTVOnlyApp"
let t="iOS"
return(0,r.isAppleTVSupported)(e)&&(t+="tvOS"),(0,r.isMacSupported)(e)&&(t+="macOS"),(0,r.isWatchSupported)(e)&&(t+="watchOS"),"iOS"===t?"iosSoftware":`${t}App`}Object.defineProperty(e,"__esModule",{value:!0}),e.appLockupModelTransform=function(e){const t=l(l(l({},e),e.attributes),{},{attributes:null,primaryGenre:{name:e?.attributes?.genreDisplayName},kind:p(e.attributes?.deviceFamilies)})
t?.platformAttributes?.ios?(t.isHiddenFromSpringboard=t?.platformAttributes?.ios?.isHiddenFromSpringboard,t.hasMessagesExtension=t?.platformAttributes?.ios?.hasMessagesExtension,t.ovalArtwork=t?.platformAttributes?.ios?.ovalArtwork,t.artwork=t?.platformAttributes?.ios?.artwork):t?.platformAttributes?.osx?t.artwork=t?.platformAttributes?.osx?.artwork:t?.platformAttributes?.appletvos&&(t.artwork=t?.platformAttributes?.appletvos?.artwork)
return t},e.availabilityMessageKey=function(e,t){const{deviceFamilies:i}=e,n=(0,r.isAppleTVSupported)(i),a=(0,r.isMacSupported)(i),o=(0,r.isWatchSupported)(i)
if((0,r.isMacOnly)(i)||a&&t.browser.ismacOS||e.isIOSBinaryMacOSCompatible)return"WEA.AppPages.Availability.macOS"
if((0,r.isAppleTVOnly)(i))return"WEA.AppPages.Availability.tvOS"
if((0,r.isWatchOnly)(e))return"WEA.AppPages.Availability.watchOS"
if((0,r.isiPadOnly)(i))return"WEA.AppPages.Availability.iOS.iPad"
if((0,r.isiPhoneOnly)(i))return"WEA.AppPages.Availability.iOS.iPhone"
if((0,r.isiOSSupported)(i)&&t.browser.isiOS)return"WEA.AppPages.Availability.iOS.isiOS"
if(n&&o)return a?"WEA.AppPages.Availability.iOStvOSmacOSwatchOS":"WEA.AppPages.Availability.iOStvOSwatchOS"
if(n)return a?"WEA.AppPages.Availability.iOStvOSmacOS":"WEA.AppPages.Availability.iOStvOS"
if(o)return a?"WEA.AppPages.Availability.iOSmacOSwatchOS":(0,r.isiPadSupported)(i)?"WEA.AppPages.Availability.iOSwatchOS":"WEA.AppPages.Availability.iOSwatchOS.NoiPad"
if(a)return"WEA.AppPages.Availability.iOSmacOS"
return"WEA.AppPages.Availability.iOS"},e.filterFeaturedInStories=function(e){const t=e["related-editorial-items"]
t&&(e["related-editorial-items"]=t.filter((e=>!e._meta?.robots?.restrictSearch)))},e.filterSystemDeletableApps=function(e){if(e){const r=(0,i.typeOf)(e)
if(["array","object"].includes(r)){let i="array"===r?e:Object.values(e)
return i=i.filter((e=>function(e){const{systemAppsToFilter:i}=t.default,{bundleId:r}=e
if(!i.includes(r))return e}(e))),"array"===r?i:i.reduce(((e,t)=>(e[t.id]=t,e)),{})}}},e.getKind=p,e.updateShelfDataRelationship=async function(e,t,i){const r=t[i].map((e=>e.id)).sort()
if(0!==r.length){const o=await e.getApps(r),l=(0,a.createProxyWithMetaObject)(o,t[i].meta);(0,n.set)(t,i,l)}}})),define("web-experience-app/utils/apps/array-expand",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if(!e||!Array.isArray(e)||Number.isNaN(t))return[]
if(!t)return e
let i=e
for(;i.length<t;)i=i.concat(e)
return i.slice(0,t)}})),define("web-experience-app/utils/apps/array-move-item",["exports","@ember/debug"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0
if(!e||!Array.isArray(e))return[]
if(!Number.isInteger(t)||!Number.isInteger(i)||!t&&!i)return e
if(t<0||i>e.length)return e
const r=[...e]
if(i>=r.length){let e=i-r.length+1
for(;e--;)r.push(void 0)}return r.splice(i,0,r.splice(t,1)[0]),r}})),define("web-experience-app/utils/apps/device-support",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PLATFORMS=void 0,e.isAppleTVOnly=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return i(e)&&1===e.length},e.isAppleTVSupported=i,e.isMacOnly=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return a(e)&&1===e.length},e.isMacSupported=a,e.isWatchOnly=function(e){return(e.platformAttributes?.ios||e.primaryPlatform)?.isStandaloneForWatchOS},e.isWatchSupported=o,e.isiOSApp=function(e,t){if(!r(e))return!1
return!t},e.isiOSSupported=r,e.isiPadOnly=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return n(e)&&1===e.length},e.isiPadSupported=n,e.isiPhoneOnly=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
if(1===e.length)return e.includes("iphone")||e.includes("ipod")
if(2===e.length)return e.includes("iphone")&&e.includes("ipod")
return!1},e.isiPhoneSupported=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.includes("iphone")},e.primaryPlatformSupported=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0
if(0===e.length)return""
if(1===e.length)return t[e[0]]||""
if(r(e)){if(a(e))return i?t.iphone:t.mac
const r=e.includes("iphone"),n=o(e)
return n&&r?l(e):n?t.watch:t.iphone}return t[e[0]]||""},e.whichPlatform=function(e,t){return e.find((e=>e.id.includes(t)))}
const t={iphone:"iosPlatform",ipad:"iosPlatform",ipod:"iosPlatform",tvos:"atvPlatform",mac:"osxPlatform",watch:"watchPlatform"}
function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.includes("tvos")}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.includes("iphone")||e.includes("ipad")||e.includes("ipod")||e.includes("watch")}function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.includes("ipad")}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.includes("mac")}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
return e.includes("watch")}function l(e){return e.indexOf("watch")<e.indexOf("iphone")?t.watch:t.iphone}e.PLATFORMS=t})),define("web-experience-app/utils/apps/luminance",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:""
const i=t(e.substr(0,2)),r=t(e.substr(2,2)),n=t(e.substr(4,2))
return.2126*i+.7152*r+.0722*n}
const t=e=>parseInt(e,16)})),define("web-experience-app/utils/apps/relative-time",["exports","web-experience-app/utils/date-time"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.formatUpcomingTime=function(e,r,n){let a
a=0===r?e.getHours()>=19?"WEA.Common.Time.Tonight":"WEA.Common.Time.Today":1===r?"WEA.Common.Time.Tomorrow":`WEA.Common.Time.DayOfTheWeek.${i[e.getDay()]}`
return n.t(a,{time:(0,t.formatDate)(e,n.locale,"TIME")})}
const i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]})),define("web-experience-app/utils/apps/stories",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SHELF_DISPLAY_TYPES=e.DISPLAY_SUB_STYLES=e.DISPLAY_STYLES=e.CARD_DISPLAY_STYLES=void 0,e.availableDevices=function(e){const{cardContents:t}=e,i=d(e)
let r=[]
t?.length?r=t:i.length&&(r=i)
const n=new Set([])
return r.forEach((e=>{let t=e
c(e,"appLockup")?t=e.contents.firstObject||e.contents[0]:e.app&&(t=e.app),t.deviceFamilies?.forEach((e=>{n.add(e)}))})),Array.from(n)},e.availableOnDesktop=function(e){return e.editorialPlatforms?.includes?.("desktop")||!1},e.filterAppLockups=d,e.filterCollectionLockups=function(e){return(e.canvas||[]).filter((e=>c(e,"collectionLockup")))},e.hasShelfDisplay=c,e.isRiver=p,e.isTileCard=function(e){return e.displayStyle===i.content&&!s.includes(e.cardDisplayStyle)},e.largeTiles=function(e){return u(e,a.min,a.max)},e.mixedTiles=function(e){return u(e,o.min,o.max)},e.smallTiles=function(e){return u(e,l.min)}
const t={appEventCard:"AppEventCard",appOfTheDay:"AppOfTheDay",fullBleed:"FullBleedImage",gameOfTheDay:"GameOfTheDay",inAppPurchase:"InAppPurchase",shortImage:"ShortImage",singleApp:"SingleApp",video:"Video"}
e.CARD_DISPLAY_STYLES=t
const i={branded:"Branded",content:"Content",media:"Media"}
e.DISPLAY_STYLES=i
const r={list:"List",river:"River"}
e.DISPLAY_SUB_STYLES=r
const n={appLockup:"AppLockup",collectionLockup:"CollectionLockup"}
e.SHELF_DISPLAY_TYPES=n
const a={min:5,max:9},o={min:10,max:15},l={min:16},s=[t.appEventCard,t.shortImage]
function p(e){return e.displaySubStyle===r.river}function c(e,t){return e?.displayType===n[t]}function u(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]
if(p(e))return!1
const{cardContents:r=[]}=e
return r.length>=t&&(!i||r.length<=i)}function d(e){return(e.canvas||[]).filter((e=>c(e,"appLockup")))}})),define("web-experience-app/utils/books/editorial",["exports","@ember/debug"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.componentNameForKind=e.BOOK_ELEMENT=void 0,e.filterRenderable=function(e,t){return e.filter((e=>{const{editorialElementKind:i}=e
return t[i]}))}
const i=function(){const e={KIND_ROOT:"441",KIND_TAB_ROOT:"442",KIND_HERO_LIST:"443",KIND_HERO:"444",KIND_HERO_ANIMATED_COVER:"445",KIND_SWOOSH:"446",KIND_COLLAGE_SWOOSH:"447",KIND_DOUBLE_SWOOSH:"448",KIND_PEEK_SWOOSH:"449",KIND_COLLAGE_PEEK_SWOOSH:"450",KIND_DOUBLE_PEEK_SWOOSH:"451",KIND_SWOOSH_SET:"452",KIND_SWOOSH_SET_ROW:"453",KIND_SINGLE_BOOK:"454",KIND_CLICK_THROUGH:"455",KIND_FOR_YOU:"456",KIND_CHART_SET:"457",KIND_BRICK_ROW:"459",KIND_BRICK:"460",KIND_BRICK_COMPOSITING:"461",KIND_BRICK_SINGLE_COVER:"462",KIND_BRICK_CATALOG_COVER:"467",KIND_GENRE_LINK_STACK:"463",KIND_H_LIST_BOX:"464",KIND_LIST_BOX_SECTION:"465",KIND_LIST_BOX_FOR_YOU_SECTION:"468",KIND_LIST_BOX_TOP_CHART_SECTION:"469",KIND_CHART_GENRE_LINK_STACK:"473",KIND_BOX_MARKER:"466"}
return t="BOOK_ELEMENT",new Proxy(e,{get(e,i,r){if(!e[i])throw new Error(`${t}.${i} kind does not exist`)
return Reflect.get(e,i,r)}})
var t}()
e.BOOK_ELEMENT=i
const r=function(){const e={[i.KIND_SINGLE_BOOK]:"editorial/books/single-book-widget",[i.KIND_SWOOSH]:"editorial/books/swoosh",[i.KIND_BRICK_ROW]:"editorial/books/brick-row",[i.KIND_BRICK_COMPOSITING]:"editorial/books/brick-compositing"}
return function(t){if(!(t in e))throw new Error(`bad editorialElementKind = ${t}`)
return e[t]}}()
e.componentNameForKind=r})),define("web-experience-app/utils/breakpoints",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.breakpointToMediaQuery=function(e,t){const{max:i,min:r}=e
return["small"!==t&&r?`(min-width: ${r}px)`:null,"large"!==t&&i?`(max-width: ${i}px)`:null].filter((e=>!!e)).join(" and ")}})),define("web-experience-app/utils/bytes-to-readable",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.parse=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"b",n=0
for(;e/t>1&&n<i.length;)e/=t,n++
return{bytes:e=Math.round(10*e)/10,label:i[n][r]}}
const t=1e3,i=[{b:"byte",B:"byte"},{b:"KB",B:"KB.AX"},{b:"MB",B:"MB.AX"},{b:"GB",B:"GB.AX"}]})),define("web-experience-app/utils/cache-control",["exports","@amp/foundation/-internals/cache-control"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class i{constructor(e){this._inner=e instanceof t.CacheControl?e:new t.CacheControl(...arguments)}static parse(){return new i(t.CacheControl.parse(...arguments))}get mustRevalidate(){return this._inner.mustRevalidate}get noCache(){return this._inner.noCache}get noStore(){return this._inner.noStore}get noTransform(){return this._inner.noTransform}get isPublic(){return this._inner.isPublic}get isPrivate(){return this._inner.isPrivate}get proxyRevalidate(){return this._inner.proxyRevalidate}get maxAge(){return this._inner.maxAge}get sharedMaxAge(){return this._inner.sharedMaxAge}toString(){return[this.mustRevalidate?"must-revalidate":null,this.noCache?"no-cache":null,this.noStore?"no-store":null,this.noTransform?"no-transform":null,this.isPublic?"public":null,this.isPrivate?"private":null,this.proxyRevalidate?"proxy-revalidate":null,"number"==typeof this.maxAge?`max-age=${this.maxAge}`:null,"number"==typeof this.sharedMaxAge?`s-maxage=${this.sharedMaxAge}`:null].filter(Boolean).join(", ")}reconcile(e){const t=this.isPrivate||e.isPrivate
return new i(this.mustRevalidate||e.mustRevalidate,this.noCache||e.noCache,this.noStore||e.noStore,this.noTransform||e.noTransform,(this.isPublic||e.isPublic)&&!t,t,this.proxyRevalidate||e.proxyRevalidate,r(this.maxAge,e.maxAge),r(this.sharedMaxAge,e.sharedMaxAge))}withoutNoTransform(){return new i(this.mustRevalidate,this.noCache,this.noStore,!1,this.isPublic,this.isPrivate,this.proxyRevalidate,this.maxAge,this.sharedMaxAge)}}function r(e,t){return"number"==typeof e&&"number"==typeof t?Math.min(e,t):"number"==typeof e?e:t}e.default=i})),define("web-experience-app/utils/charts",["exports","web-experience-app/utils/genres","web-experience-app/services/app-view-state","web-experience-app/utils/errors"],(function(e,t,i,r){function n(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function a(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?n(Object(i),!0).forEach((function(t){o(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.VIEW_STATE_AUDIOBOOK=e.VALID_DEVICE_TYPES=void 0,e.findCurrentGenreDetails=function(e,i){if(i&&![t.APPS_GENRE_ID_STATIC,t.GAMES_GENRE_ID_STATIC,t.BOOKS_GENRE_ID_STATIC].includes(i)){let t=e?.genres||[]
e?.extraGenres&&(t=e?.extraGenres.reduce(((e,t)=>e.concat(t)),t))
const n=t.find((e=>{let{genre:t}=e
return t&&t.toString()===i.toString()}))
if(!n)throw new r.NotFoundError("Genre not found")
return{genreTitle:n.name,chartUrl:n.chartUrl}}return{}},e.getChartsAndKind=function(e,t){t&&(e=l)
return{chartType:s[e],kind:p[e]}},e.getChartsListNormalized=function(e,t,i){return function(e,t){return e.filter((e=>e.data&&e.data.length)).map((e=>(e.data=e.data.filter((e=>e.attributes)),e))).map((e=>(e.data=e.data.map((e=>{const i=a(a({kind:t},e),e.attributes)
return e?.attributes?.platformAttributes?.ios?.artwork&&(i.artwork=e.attributes.platformAttributes.ios.artwork),i})),e)))}(e&&e[t]||[],i)},e.getTopChartsApiCallInfo=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
const{baseGenreIds:r,genreId:n,chartName:a,limit:o,platform:l,sparseLimit:s,ages:p}=i,c=`/v1/catalog/${t}/charts`,u={types:e,platform:l}
!n&&r&&(u.genre=i.baseGenreIds[0])
n&&(u.genre=n)
a&&(u.chart=a)
o&&(u.limit=o)
s&&(u.sparseLimit=s)
isNaN(p)||(u.ages=p)
return Object.keys(u).forEach((e=>{void 0===u[e]&&delete u[e]})),{endpoint:c,apiParams:u}},e.pruneTitleForCharts=function(e){return e.replace(" (US)","")}
const l="audiobook"
e.VIEW_STATE_AUDIOBOOK=l
const s={[i.VIEW_STATES.APP]:"apps",[i.VIEW_STATES.BOOK]:"books",[l]:"audio-books"},p={[i.VIEW_STATES.APP]:"app",[i.VIEW_STATES.BOOK]:"epubBook",[l]:"book"}
e.VALID_DEVICE_TYPES=["ipad","iphone"]}))
define("web-experience-app/utils/color",["exports","@ember/debug"],(function(e,t){function i(e){let t=e.substr(e.startsWith("#")?1:0)
if(3===t.length){const[e,i,r]=t
t=`${e}${e}${i}${i}${r}${r}`}return{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16)}}Object.defineProperty(e,"__esModule",{value:!0}),e.hexToRgb=function(e){const{r:t,g:r,b:n}=i(e)
return`rgb(${t}, ${r}, ${n})`},e.isCssColor=function(e){return/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.test(String(e).trim())},e.isLight=function(e){const{r:t,g:r,b:n}=i(e)
return Math.sqrt(.241*t*t+.691*r*r+.068*n*n)>127},e.rgbToRgba=function(e,t){return`rgba(${e.substr(4,e.length-5)}, ${t})`}})),define("web-experience-app/utils/date-time",["exports","date-fns","@ember/utils","@ember/debug"],(function(e,t,i,r){function n(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function a(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?n(Object(i),!0).forEach((function(t){o(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function o(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.FORMATS=void 0,e.diffInMinutes=function(e,t){e=f(e),t=f(t)
const i=e.getTime()-t.getTime()
return Math.ceil(Math.abs(i/6e4))},e.diffInSeconds=function(e,i){"string"==typeof e&&(e=(0,t.parseISO)(e))
"string"==typeof i&&(i=(0,t.parseISO)(i))
return(0,t.differenceInSeconds)(i,e)},e.formatDate=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"DEFAULT"
if(null==e)return""
const r=m(t,i)
if(e=f(e),isNaN(e.getTime()))return""
return r.format(e)},e.formatISOString=function(e){if((0,i.isNone)(e))return
if(!(e instanceof Date)&&(e=new Date(e),isNaN(e.getTime())))return
return e.toISOString()},e.getDateObject=f,e.getFormatter=m
const l={month:"short",day:"numeric",year:"numeric"},s={DEFAULT:"DEFAULT",LONG_DATE:"LONG_DATE",LONG_DATE_ABBREVIATED:"LONG_DATE_ABBREVIATED",SHORT_DATE:"SHORT_DATE",YEAR_MONTH_ABBREVIATED:"YEAR_MONTH_ABBREVIATED",YEAR:"YEAR",MONTH_DAY:"MONTH_DAY",MONTH_ABBREVIATED_DAY:"MONTH_ABBREVIATED_DAY",TIME:"TIME"}
e.FORMATS=s
const p={DEFAULT:l,LONG_DATE:{month:"long",day:"numeric",year:"numeric"},LONG_DATE_ABBREVIATED:l,SHORT_DATE:{month:"2-digit",day:"2-digit",year:"numeric"},YEAR_MONTH_ABBREVIATED:{month:"short",year:"numeric"},YEAR:{year:"numeric"},MONTH_DAY:{month:"long",day:"numeric"},MONTH_ABBREVIATED_DAY:{month:"short",day:"numeric"},TIME:{hour:"numeric",minute:"2-digit"}},c={da:{TIME:{locale:"en-GB"}},fi:{TIME:{locale:"en-GB"}},"fr-CA":{TIME:{locale:"en-GB"}},id:{TIME:{locale:"en-GB"}},el:{TIME:{locale:"en-US"}},"en-AU":{TIME:{locale:"en-US"}},"en-CA":{TIME:{locale:"en-US"}}},u=/^([-+]?[0-9]{4})(-[0-9]{2})?(-[0-9]{2})?$/,d={}
function m(e,t){t in s||(t="DEFAULT")
const i=c[e]?.[t]
i&&({locale:e}=i)
const r=`${e}_${t}`
let n=d[r]
if(n)return n
const o=a(a({},p[t]),{},{calendar:"gregory"})
return n=new Intl.DateTimeFormat(e,o),d[r]=n,n}function f(e){if(!(e instanceof Date)){e=u.test(e)?(0,t.parseISO)(e):new Date(e)}return e}})),define("web-experience-app/utils/duration",["exports","@ember/debug"],(function(e,t){let i,r
function n(e){const t=Math.floor(e/60/60)
return{hours:t,minutes:Math.floor(e/60)-60*t,seconds:e%60}}Object.defineProperty(e,"__esModule",{value:!0}),e.duration=n,e.formatDuration=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en"
if(void 0===e)return""
i=i||new Intl.NumberFormat(t,{minimumIntegerDigits:1}),r=r||new Intl.NumberFormat(t,{minimumIntegerDigits:2})
const[a=":"]=(new Date).toLocaleTimeString(t).match(/\b[:.]\b/)||[],{hours:o,minutes:l,seconds:s}=n(e),p=o?0:1,c=[o,l,s].map(((e,t)=>e<10&&t>p?r.format(e):i.format(e))).filter(((e,t)=>0!==t||!("00"===e||"0"===e))).join(`${a}`)
return c},e.isoDuration=function(e){return function(e){if(0===e)return"P0D"
const{hours:t,minutes:i,seconds:r}=n(e)
return`PT${[t,i,r].map(((e,t)=>{if(!e||0===e)return
let i
return i=0===t?"H":1===t?"M":"S",`${e}${i}`})).filter(Boolean).join("")}`}(e)}})),define("web-experience-app/utils/ember-data/build-attributes",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){const i={}
return e.eachAttribute((r=>{i[r]=t?t[r]:e[r]})),i}})),define("web-experience-app/utils/ember-data/build-json-api-object",["exports","web-experience-app/utils/ember-data/build-attributes"],(function(e,t){function i(e){return Object.keys(e).reduce(((t,i)=>(t.push(...e[i]),t)),[])}Object.defineProperty(e,"__esModule",{value:!0}),e.buildJSONAPIObject=function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}
const o={data:{type:e.modelName,id:r.id,attributes:(0,t.default)(e,r),relationships:this.buildRelationships(e,r,a)}}
n&&(a=this.includedLockups(n,a))
return o.included=i(a),o},e.combineIncludedResources=i})),define("web-experience-app/utils/ember-data/json-api",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ResourceRegister=void 0,e.buildJSONAPIObject=function(e,n){return function(e){const n=[],o=[e]
let l=!1
const s=new t
for(;o.length>0;){const e=o.shift()
if("relationships"in e){const t=Object.keys(e.relationships)
t.forEach((t=>{o.push(...a(e.relationships[t].data))})),e.relationships=Object.assign(...t.map(r(e)))}l?s.has(e)||n.push(e):l=!0,i(s,e)}return{data:e,included:n}}(n?e.data:e.data[0])},e.equalResourceObject=function(e,t){return e.type===t.type&&e.id===t.id},e.mergeResourcesInRegister=i
class t{constructor(){this.map=new Map}register(e){let{id:t,type:i}=e,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]
this.map.has(i)||this.map.set(i,new Map),this.map.get(i).set(t,r)}has(e){let{id:t,type:i}=e
return this.map.has(i)&&this.map.get(i).has(t)}get(e){let{id:t,type:i}=e
return this.map.has(i)?this.map.get(i).get(t):null}filterCollection(e){return e.filter((e=>!this.has(e)&&(this.register(e),!0)))}}function i(e,t){if(!e.has(t))return e.register(t,t),t
const i=e.get(t)
"object"==typeof i.attributes?Object.assign(i.attributes,t.attributes):i.attributes=t.attributes}function r(e){return function(t){const i=e.relationships[t],r=i.data,{next:a}=i
let o,l
return a&&(l={next:a}),o=Array.isArray(r)?r.map(n):n(r),{[t]:{data:o,meta:l}}}}function n(e){let{id:t,type:i}=e
return{id:t,type:i}}function a(e){return Array.isArray(e)?e:[e]}e.ResourceRegister=t})),define("web-experience-app/utils/errors",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.NotFoundError=void 0
class t extends Error{constructor(e){super("page not found"),this.name="NotFoundError",this.extraInfo=e}}e.NotFoundError=t})),define("web-experience-app/utils/fitness/eoservice-storefronts-data",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={slugToStorefront:{do:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},ec:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},hn:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},jm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ni:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},py:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},uy:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","es-mx"]},mo:{defaultLanguage:"zh-hk",supportedLanguages:["zh-hk","en-gb","zh-tw"]},eg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","ar-sa"]},kz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},lv:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},lt:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mt:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},li:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},md:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},al:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bj:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},bt:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bf:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},kh:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},cv:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},td:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},cg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},fj:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},gm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},gw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},kg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},la:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},lr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","ar-sa"]},fm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mn:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},na:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},pw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ps:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},pg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},st:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},sc:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},sl:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},sb:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},sz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},tj:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},tm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},zw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},xk:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},us:{defaultLanguage:"en-us",supportedLanguages:["en-us","es-mx","ar-sa","ru-ru","zh-cn"]},fr:{defaultLanguage:"fr-fr",supportedLanguages:["fr-fr","en-gb"]},de:{defaultLanguage:"de-de",supportedLanguages:["de-de","en-gb"]},gb:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},at:{defaultLanguage:"de-de",supportedLanguages:["de-de","en-gb"]},be:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","nl-nl"]},fi:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fi-fi"]},gr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","el-gr"]},ie:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},it:{defaultLanguage:"it-it",supportedLanguages:["it-it","en-gb"]},lu:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","de-de"]},nl:{defaultLanguage:"nl-nl",supportedLanguages:["nl-nl","en-gb"]},pt:{defaultLanguage:"pt-pt",supportedLanguages:["pt-pt","en-gb"]},es:{defaultLanguage:"es-es",supportedLanguages:["es-es","en-gb","ca-es"]},ca:{defaultLanguage:"en-ca",supportedLanguages:["en-ca","fr-ca"]},se:{defaultLanguage:"sv-se",supportedLanguages:["sv-se","en-gb"]},no:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","no-no"]},dk:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","da-dk"]},ch:{defaultLanguage:"de-ch",supportedLanguages:["de-ch","de-de","en-gb","fr-fr","it-it"]},au:{defaultLanguage:"en-au",supportedLanguages:["en-au","en-gb"]},nz:{defaultLanguage:"en-au",supportedLanguages:["en-au","en-gb"]},jp:{defaultLanguage:"ja-jp",supportedLanguages:["ja-jp","en-us"]},ee:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},am:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ci:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},jo:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},ke:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mk:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},ml:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},mu:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},ne:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},sn:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},tn:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","ar-sa"]},ug:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ai:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bs:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ag:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bb:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},vg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ky:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},dm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},gd:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ms:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},kn:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},lc:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},vc:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},tt:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},tc:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},gy:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},sr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","nl-nl"]},bz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","es-mx"]},bo:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},cy:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","el-gr","tr-tr"]},is:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},bh:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},bn:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ng:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},om:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},dz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","ar-sa"]},ao:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},by:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},uz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ly:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},az:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},et:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},mm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ye:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},tz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},gh:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},cm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},nr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ws:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},to:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},vu:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},af:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ad:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ba:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","hr-hr"]},cd:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},ga:{defaultLanguage:"fr-fr",supportedLanguages:["fr-fr","en-gb"]},ge:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},gn:{defaultLanguage:"fr-fr",supportedLanguages:["fr-fr","en-gb"]},iq:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},mc:{defaultLanguage:"fr-fr",supportedLanguages:["fr-fr","en-gb"]},me:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","hr-hr"]},ma:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","ar-sa"]},rw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr"]},zm:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},cf:{defaultLanguage:"fr-fr",supportedLanguages:["fr-fr","en-gb"]},hk:{defaultLanguage:"zh-hk",supportedLanguages:["zh-hk","en-gb","zh-tw"]},sg:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","zh-cn"]},cn:{defaultLanguage:"zh-cn",supportedLanguages:["zh-cn","en-gb"]},kr:{defaultLanguage:"ko-kr",supportedLanguages:["ko-kr","en-gb"]},in:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","hi-in"]},mx:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},ru:{defaultLanguage:"ru-ru",supportedLanguages:["ru-ru","en-gb","uk-ua"]},tw:{defaultLanguage:"zh-tw",supportedLanguages:["zh-tw","en-gb"]},vn:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","vi-vi"]},za:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},my:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ms-my"]},ph:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},th:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","th-th"]},id:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","id-id"]},pk:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},pl:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","pl-pl"]},sa:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},tr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","tr-tr"]},ae:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},hu:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","hu-hu"]},cl:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},np:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},pa:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},lk:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},ro:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ro-ro"]},mv:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},cz:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","cs-cz"]},bd:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},il:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","iw-il","he-il"]},ua:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","uk-ua","ru-ru"]},kw:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},hr:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","hr-hr"]},cr:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},sk:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","sk-sk"]},lb:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","fr-fr","ar-sa"]},qa:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","ar-sa"]},si:{defaultLanguage:"en-gb",supportedLanguages:["en-gb"]},rs:{defaultLanguage:"en-gb",supportedLanguages:["en-gb","hr-hr"]},co:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},ve:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},br:{defaultLanguage:"pt-br",supportedLanguages:["pt-br","en-gb"]},gt:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},ar:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},sv:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]},pe:{defaultLanguage:"es-mx",supportedLanguages:["es-mx","en-gb"]}}}})),define("web-experience-app/utils/fitness/eoservice-storefronts",["exports","web-experience-app/utils/fitness/eoservice-storefronts-data","@ember/debug"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SLUG_TO_STOREFRONT=void 0,e.getDefaultLanguage=function(e){return r[e].defaultLanguage},e.getLanguage=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
if("development"===n.environment&&n.i18n.useDevLoc)return(0,i.debug)("[i18n] Using dev language"),a
if(!r[t])return
const o=(e||"").toLowerCase(),l=`${o.substring(0,2)}-`,s=r[t].supportedLanguages
return s.find((e=>e===o))||s.find((e=>e.startsWith(l)))||r[t].defaultLanguage},e.getLanguagesOrdered=function(e){const{defaultLanguage:t,supportedLanguages:i=[]}=r[e]
if(t){const e=i.filter((e=>e!==t))
return[t].concat(e)}return i},e.validateStorefront=function(e){if("string"!=typeof e||2!==e.length)return!1
const t=e.toLowerCase()
return t in r&&t}
const r=t.default.slugToStorefront
e.SLUG_TO_STOREFRONT=r
const n=t.default.slugToStorefront,a="dev"
var o=n
e.default=o})),define("web-experience-app/utils/fitness/promise-state-proxy",["exports","@glimmer/tracking"],(function(e,t){var i,r,n,a
function o(e,t,i,r){i&&Object.defineProperty(e,t,{enumerable:i.enumerable,configurable:i.configurable,writable:i.writable,value:i.initializer?i.initializer.call(r):void 0})}function l(e,t,i,r,n){var a={}
return Object.keys(r).forEach((function(e){a[e]=r[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=i.slice().reverse().reduce((function(i,r){return r(e,t,i)||i}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let s=(r=l((i=class{constructor(e){var t,i,l
o(this,"isFulfilled",r,this),o(this,"isRejected",n,this),o(this,"content",a,this),l=void 0,(i="promise")in(t=this)?Object.defineProperty(t,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[i]=l,this.promise=e.then((e=>(this.content=e,this.isFulfilled=!0,e)),(()=>{this.isRejected=!0}))}}).prototype,"isFulfilled",[t.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=l(i.prototype,"isRejected",[t.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=l(i.prototype,"content",[t.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),i)
e.default=s})),define("web-experience-app/utils/fitness/stick-marketing-params-to-redirect-url",["exports","web-experience-app/utils/url-search-params"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,r){const n=r.split("?")[1]||"",a=new t.default(n)
return new t.default(e).forEach(((e,t)=>{i.includes(t.toLowerCase())&&a.set(t,e)})),a.toString()?`${r.split("?")[0]}?${a}`:r}
const i=["itscg","itsct","mttn3pid","mttnagencyid","mttncc","mttnsiteid","mttnsubad","mttnsubkw","mttnsubplmnt","cid","rid","afid"]})),define("web-experience-app/utils/generate-monogram",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return{isVector:!0,url:`data:image/svg+xml,%3Csvg width='640' height='640' viewBox='0 0 640 640' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='50%25' y1='0%25' x2='50%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23A5ABB8'/%3E%3Cstop offset='100%25' stop-color='%23848993'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23a)'/%3E%3Ctext x='320' y='50%25' dy='0.35em' font-size='250' fill='%23fff' text-anchor='middle' font-family='SF Pro Display,Helvetica,Arial' font-weight='500'%3E${e.split(" ").slice(0,2).map((e=>e[0].toUpperCase())).join("")}%3C/text%3E%3C/svg%3E`,aspectRatio:1}}})),define("web-experience-app/utils/genres",["exports","web-experience-app/utils/routing"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.POPIDS_FOR_GENRE_SLUGS=e.GAMES_GENRE_ID_STATIC=e.BOOKS_GENRE_ID_STATIC=e.AUDIOBOOKS_GENRE_ID_STATIC=e.APPS_GENRE_ID_STATIC=void 0,e.getAllGenresApiCallInfo=function(e,t){return t.baseGenreIds?.map((i=>function(e,t){const{genreId:i,platform:r="ipad"}=t
return{endpoint:`/v1/editorial/${e}/categories`,apiParams:{genre:i,platform:r,tabs:"ios"}}}(e,{platform:t.platform,genreId:i})))},e.getGenreIdAndPopId=function(e,n,a){const o=a?i:"38"
return{genreId:e&&e!==t.ABSENT_SIGIL?e:o,popId:r[n]}},e.parseGenresModel=function(e){const t=n(e[0]||[]),i=function(e){return e.slice(0,4)}(t),r=e.slice(1).map((e=>n(e)))
return{genres:t,popularGenres:i,extraGenres:r}}
e.BOOKS_GENRE_ID_STATIC="38"
const i="50000024"
e.AUDIOBOOKS_GENRE_ID_STATIC=i
e.APPS_GENRE_ID_STATIC="36"
e.GAMES_GENRE_ID_STATIC="6014"
const r={"top-paid":43,"top-free":42,"nyt-fiction":49,"nyt-non-fiction":48}
function n(e){return(e?.categories?.[0]?.children||[]).sort(((e,t)=>e.name.localeCompare(t.name)))}e.POPIDS_FOR_GENRE_SLUGS=r})),define("web-experience-app/utils/get-font-url",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getFontURL=function(e){if(t.test(e))return n
return a[e]||r}
const t=/^(ar-)/,i="//web.archive.org/web/20220531203922/https://www.apple.com/wss/fonts",r=`${i}?families=SF+Pro,v2|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,n=`${i}?families=SF+Pro,v2|SF+Pro+Gulf,v1|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,a={"ja-jp":`${i}?families=SF+Pro,v2|SF+Pro+JP,v1|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,"zh-cn":`${i}?families=SF+Pro,v2|SF+Pro+SC,v1|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,"zh-hk":`${i}?families=SF+Pro,v2|SF+Pro+HK,v1|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,"zh-mo":`${i}?families=SF+Pro,v2|SF+Pro+TC,v1|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,"zh-tw":`${i}?families=SF+Pro,v2|SF+Pro+TC,v1|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,"th-th":`${i}?families=SF+Pro,v2|SF+Pro+TH,v2|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`,"ko-kr":`${i}?families=SF+Pro,v2|SF+Pro+KR,v2|SF+Pro+Icons,v1|SF+Pro+Rounded,v1|New+York+Small,v1|New+York+Medium,v1`}})),define("web-experience-app/utils/host",["exports","web-experience-app/config/environment","web-experience-app/utils/process-env"],(function(e,t,i){function r(){return t.default.API.FitnessHost}Object.defineProperty(e,"__esModule",{value:!0}),e.getAppEventHost=function(){return i.default.FASTBOOT_API_APP||t.default.API.AppEventHost},e.getAppsHost=function(){return i.default.FASTBOOT_API_APP||t.default.API.AppHost},e.getBooksHost=function(){return i.default.FASTBOOT_API_BOOK||t.default.API.BookHost},e.getFitnessHost=function(){return i.default.FASTBOOT_API_FITNESS||r()},e.getFitnessHostClient=r,e.getOBCHost=function(){return i.default.FASTBOOT_API_OBC||t.default.API.obcMetadataBaseUrl},e.getPodcastHost=function(){return i.default.FASTBOOT_API_PODCAST||t.default.API.PodcastHost}})),define("web-experience-app/utils/i18n/compile-template",["exports","@ember/debug","web-experience-app/utils/string-template","@ember/template","@ember/object"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return function(t){const a=(0,i.replaceKeys)(e,t,"web-experience-app.i18n.missing-variable-in-loc-key")
return t&&(0,n.get)(t,"_disableSafeString")?a:(0,r.htmlSafe)(a)}}})),define("web-experience-app/utils/i18n/index",["exports","@ember/string"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.ogKeyFor=function(e,n,a){return function(e,n,a,o){[a]=a.split(".")
const l=i[e],s=(0,t.classify)(`${a}Pages`)
return[r,s,l,n,o||a].join(".")}("og",e,n,a)}
const i={og:"FB",twitter:"Twitter"},r="WEA"})),define("web-experience-app/utils/i18n/missing-message",["exports","@amp/ember-localizer/utils/i18n/missing-message"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/utils/id-gen",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wea-genid",t=0
return()=>`${e}-${t++}`}
e.default=t})),define("web-experience-app/utils/images",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.constrainImage=function(e,t){let{width:i,height:r}=e,{width:n,height:a}=t
i>n&&(r*=n/i,i=n)
r>a&&(i*=a/r,r=a)
return{width:Math.ceil(i),height:Math.ceil(r)}},e.isPortrait=function(e){return function(e,t){if(e)return t/e
return NaN}(e.height,e.width)<=1},e.isSquare=function(e){const{aspectRatio:t}=e
return t>=.97&&t<=1.03}})),define("web-experience-app/utils/launch-client",["exports","@ember/debug","@amp/foundation/-internals/storage","web-experience-app/config"],(function(e,t,i,r){function n(e){let t=(0,i.getCookie)(e)
return t&&(t=decodeURIComponent(t)),t}function a(e){if(e&&"string"==typeof e){let t=e
return r.default.launchQueryParameters.forEach((e=>{t=t.replace(new RegExp(e),r.default.launchNativeParameters[e])})),t}}Object.defineProperty(e,"__esModule",{value:!0}),e.addLaunchQueryParams=function(e,t){r.default.launchQueryParameters.forEach((i=>{const n=t[i]
n&&(e[r.default.launchNativeParameters[i]]=n)}))},e.googlePlayStoreLink=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href
return`https://play.google.com/store/apps/details?id=com.apple.android.music&referrer=utm_source=${encodeURIComponent(e)}`},e.processQueryParams=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const r=-1!==e.indexOf("?")?"&":"?"
if(document){(0,t.debug)(`[launch-client] document.cookie: ${document.cookie}`)
const e=n("xp_ci"),r=n("a"),a=n("itscc"),o=n("itcCt");(0,t.debug)(`[launch-client] refClientId: ${e}`),e&&(i["ign-refClientId"]=e),(0,t.debug)(`[launch-client] affiliateCookie: ${r}`),r&&(i.affC=r),(0,t.debug)(`[launch-client] figaroCookie: ${a}`),a&&(i.itscc=a),(0,t.debug)(`[launch-client] crossfireCookie: ${o}`),o&&(i.itcCt=o)}const o=Object.keys(i).sort().filter((e=>"string"==typeof i[e])).map((e=>`${e}=${encodeURIComponent(i[e])}`)).join("&")
return e=a(e=o.length?`${e}${r}${o}`:e)}})),define("web-experience-app/utils/loc-concatenate",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WEA.Common.SeparatorGeneric"
Array.isArray(e)||(e=[e])
if(0===e.length)return""
let[r]=e
if(e.length>1)for(let n=1;n<e.length;n++)r=t.t(i,{string1:r,string2:e[n],_disableSafeString:!0})
return r}})),define("web-experience-app/utils/musickit",["exports","web-experience-app/utils/ssr"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if((0,t.isSSR)())return{}
return window.MusicKit}})),define("web-experience-app/utils/navigator-languages-polyfill",["exports","@amp/ember-localizer/utils/navigator-languages-polyfill"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("web-experience-app/utils/parse-partial-date",["exports","@ember/utils","web-experience-app/utils/date-time"],(function(e,t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,r){if((0,t.isBlank)(e))return null
const[n,a,o]=e.split("-")
if(o){const e=new Date(n,parseInt(a,10)-1,o)
return(0,i.formatDate)(e,r)}if(a){const e=new Date(n,parseInt(a,10)-1)
return(0,i.formatDate)(e,r,i.FORMATS.YEAR_MONTH_ABBREVIATED)}return n}})),define("web-experience-app/utils/process-env",["exports","web-experience-app/utils/ssr"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.isSSR)()?FastBoot.require("process").env:{}
e.default=i})),define("web-experience-app/utils/product-offers",["exports","@ember/utils","@glimmer/tracking"],(function(e,t,i){var r,n
Object.defineProperty(e,"__esModule",{value:!0}),e.ProductOffers=void 0,e.durationFromOffers=d,e.mainOfferFilter=m
let a=(r=class{constructor(e){let{offers:t}=e
var i,r,a,o
i=this,r="offers",o=this,(a=n)&&Object.defineProperty(i,r,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(o):void 0}),t&&t.length&&(this.offers=t)}get rentOffers(){return this.offers.filter((e=>"rent"===e.type))}get mainRentOffer(){return m(this.rentOffers)}get rentActionText(){return this.mainRentOffer?.actionText?.short}get rentPriceFormatted(){return this.mainRentOffer?.priceFormatted}get hasRentOffers(){return this.rentOffers&&this.rentOffers.length>0}get buyOffers(){return this.offers.filter((e=>{const{type:i,price:r}=e
return"buy"===i&&(0,t.isPresent)(r)}))}get mainBuyOffer(){return m(this.buyOffers)}get buyActionText(){return this.mainBuyOffer?.actionText?.short}get buyPrice(){return this.mainBuyOffer?.price}get buyPriceFormatted(){return this.isAlbumOnlyOffer?this.mainAlbumOnlyOffer?.actionText?.short:this.hasBuyOffers?this.mainBuyOffer.priceFormatted:this.hasFreeOffers?this.mainFreeOffer.priceFormatted:this.preorderPriceFormatted}get hasBuyOffers(){return this.buyOffers&&this.buyOffers.length>0}get freeOffers(){return this.offers.filter((e=>{const{type:t,price:i}=e
return"get"===t&&!i}))}get mainFreeOffer(){return m(this.freeOffers)}get hasFreeOffers(){return this.freeOffers&&this.freeOffers.length>0}get preorderOffers(){return this.offers.filter((e=>"preorder"===e.type))}get mainPreorderOffer(){return m(this.preorderOffers)}get preorderActionText(){return this.mainPreorderOffer?.actionText?.short}get preorderPrice(){return this.mainPreorderOffer?.price}get preorderPriceFormatted(){return this.mainPreorderOffer?.priceFormatted||this.mainPreorderOffer?.actionText?.short}get hasPreorderOffers(){return this.preorderOffers&&this.preorderOffers.length>0}get expectedReleaseDate(){return this.mainPreorderOffer?.expectedReleaseDate}get hdOffers(){return this.offers.filter((e=>"HD"===e.variant))}get hasHDOffers(){return this.hdOffers&&this.hdOffers.length>0}get currencyCode(){return this.mainBuyOffer?.currencyCode||this.mainFreeOffer?.currencyCode}get isClosedCaptioned(){let{offers:e}=this
return"function"==typeof e.toArray&&(e=e.toArray()),e.some((e=>(e.assets||[]).some((e=>e.isClosedCaptioned))))}get _buyDuration(){return this.mainBuyOffer?.assets?.[0]?.duration}get albumOnlyDuration(){return this.mainAlbumOnlyOffer?.assets?.[0].duration}get duration(){return d(this.offers)}get isAlbumOnlyOffer(){return this.albumOnlyOffers&&this.albumOnlyOffers.length>0}get albumOnlyOffers(){return this.offers.filter((function(e){const{type:t,price:i}=e
return"buy"===t&&!i}))}get mainAlbumOnlyOffer(){return m(this.albumOnlyOffers)}get preorderDuration(){return this.mainPreorderOffer?.assets?.[0].duration}get buyDuration(){return this.hasPreorderOffers?this.preorderDuration:this.isAlbumOnlyOffer?this.albumOnlyDuration:this._buyDuration||this.duration}get buyPreview(){const{offers:e}=this
let i=null
for(let r=0;r<e.length;r++){const n=e.objectAt?.(r)||e[r]
if(-1===["buy","rent"].indexOf(n.type))continue
const a=n.assets.find((e=>e.preview&&!(0,t.isEmpty)(e.preview.url)))
if(a){i=a.preview
break}}return i}get buyPreviewUrl(){return this.buyPreview?.url}get hasBuyPreview(){return!!this.buyPreviewUrl}get hasSubscriptionOffers(){return this.subscriptionOffers&&this.subscriptionOffers.length>0}get subscriptionOffers(){return this.offers.filter((e=>"subscription"===e.type))}get mainSubscriptionOffer(){return m(this.subscriptionOffers)}get subscriptionPreview(){const{offers:e}=this
let i=null
for(let r=0;r<e.length;r++){const n=e.objectAt?.(r)||e[r]
if("subscription"!==n.type)continue
const a=n.assets.find((e=>e.preview&&!(0,t.isEmpty)(e.preview.url)))
if(a){i=a.preview
break}}return i}get subscriptionPreviewUrl(){return this.subscriptionPreview?.url}get hasSubscriptionPreview(){return!!this.subscriptionPreviewUrl}get _subscriptionDuration(){return this.mainSubscriptionOffer?.assets?.[0]?.duration}get subscriptionDuration(){return this._subscriptionDuration||this.duration}},o=r.prototype,l="offers",s=[i.tracked],p={configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}},u={},Object.keys(p).forEach((function(e){u[e]=p[e]})),u.enumerable=!!u.enumerable,u.configurable=!!u.configurable,("value"in u||u.initializer)&&(u.writable=!0),u=s.slice().reverse().reduce((function(e,t){return t(o,l,e)||e}),u),c&&void 0!==u.initializer&&(u.value=u.initializer?u.initializer.call(c):void 0,u.initializer=void 0),void 0===u.initializer&&(Object.defineProperty(o,l,u),u=null),n=u,r)
var o,l,s,p,c,u
function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=null
for(let r=0;r<e.length;r++){const n=e.objectAt?.(r)||e[r],{assets:a}=n
if(!a)continue
const o=a.find((e=>!(0,t.isEmpty)(e.duration)))
if(o){({duration:i}=o)
break}}return i}function m(e){const t=e.find((e=>"HD"===e.variant))
return t||e[0]}e.ProductOffers=a})),define("web-experience-app/utils/query-params",["exports","web-experience-app/utils/url"],(function(e,t){function i(e){const[,t=""]=e.split("?")
return t.split("&").reduce(((e,t)=>{const[i,r]=t.split("=")
return i&&(e[i]="true"===r||"false"!==r&&r),e}),{})}Object.defineProperty(e,"__esModule",{value:!0}),e.buildQPObject=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]
if(e&&"?"===e.charAt(0)){return e.substr(1).split("&").reduce(((e,i)=>{let r=i
const n=i.indexOf("=")
let a
return n>-1&&(r=i.substring(0,n)),a=t?n>-1?i.slice(n+1):"":i,e[decodeURIComponent(r)]=decodeURIComponent(a),e}),Object.create(null))}return Object.create(null)},e.getClientSideQueryParams=function(){const[,e=""]=window.location.search.split("?")
return e.split("&").reduce(((e,t)=>{const[i,r]=t.split("=")
return e[i]=r,e}),{})},e.getLanguageParam=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
if(e){const r=i(e)
if(r){const e=r.l
if(e)return t?e:`l=${e}`}}return""},e.hasQP=function(e,t){return new RegExp(`(\\?|&)${t}(=|&|$)`,"i").test(e)},e.queryParamsStringToObject=i,e.removeQPs=function(e){const i=new t.default(e)
return i.search="",i.toString()}})),define("web-experience-app/utils/routing",["exports","@ember/utils","web-experience-app/utils/query-params","web-experience-app/config","web-experience-app/utils/charts","web-experience-app/utils/genres","web-experience-app/services/charts/books"],(function(e,t,i,r,n,a,o){function l(e,t){var i=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{}
t%2?l(Object(i),!0).forEach((function(t){p(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function p(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e.EMPTY_SIGIL=e.ABSENT_SIGIL=void 0,e.denormalizeOptionalSegments=M,e.denormalizeURL=function(e,t,i){if(!t)return e
let r=S(e)
const n={},a=y(t.recognizer.recognize(r.pathname),r,i)
a.length&&(r.search=w(r.search,a),n.search=a.join("&"))
const o=/^(.*)\/(see-all\/.+)$/.exec(r.pathname)
if(o){const e=[`/${c}`,`/${u}`].includes(o[1]),t=o[1].match(/^\/[a-z]{2}$/)
e||t||(n.pathname=o[2],r.pathname=r.pathname.replace(/\/see-all\/.+$/,""))}return r.pathname=M(r.pathname),Object.keys(A).forEach((e=>{r.pathname.indexOf(`/${e}/`)>-1&&(r=s(s({},r),A[e](r)))})),j(x(r,{hash:j(n)}))},e.extractCountryCodeFromTransition=function(e){const{url:t}=e.intent,i=t.match(/^\/([a-zA-Z]{2})\//)
if(i)return i[1]
return r.default.defaultStorefront},e.findIdInSegments=v,e.getNotFoundRedirect=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:""
const n=e.split("?")
let a=n[0]
const o=n[1]
a=P(a)
const{notFoundRedirects:l}=r.default.routing
for(const r in l){const e=l[r],n=a.endsWith(r)||a.endsWith(`${r}/${c}`)
if((0,t.isPresent)(e[i])&&n){const t=s({},e[i])
if(o){const{target:e}=t
t.target+=e.includes("?")?`&${o}`:`?${o}`}return t}}},e.getPageURL=function(e,t){const i=e.intent?.url
if(i)return`${t.origin}${function(e){if(e)return M(e)}(i)}`},e.getProductModel=function(e,t){let i
t&&(i=t.targetName.split(".")[0])
return i&&e[i]||e.model||e},e.getQPMoves=y,e.hasSEOSegment=_,e.isNotFoundRedirect=O,e.mergeURLObject=x,e.normalizeOptionalSegments=z,e.normalizeURL=function(e,t,i){if(!t)return e
const r=S(e)
let n=z(r,t)
const a=t.recognizer.recognize(n.pathname)
if(!a||"not-found"===a[a.length-1].handler){return O(r.pathname)?`${n.pathname}${n.search}`:e}const o=-1!==n.hash.indexOf("/")||-1!==n.hash.indexOf("?"),l=S(n.hash.replace(/^#/,""))
if(o){n.hash=""
const e=y(a,l,i)
e.length&&(l.search=w(l.search,e),n=x(n,{search:e.join("&")})),t.recognizer.recognize(`${n.pathname}${l.pathname}`)&&(n=x(n,{pathname:l.pathname}),l.pathname="")}return j(x(n,{hash:j(l)}))},e.parseURL=S,e.productSegmentIsValid=void 0,e.replaceChanges=w,e.serializeURLObject=j
const c=`~ABSENT~${Date.now()}~`
e.ABSENT_SIGIL=c
const u=`~EMPTY~${Date.now()}~`
e.EMPTY_SIGIL=u
const d=new RegExp(`/${c}`,"g"),m=new RegExp(`/${u}`,"g"),f=/^\/oprah(s-book-club)?/i,b=/^\/[a-z]{2}\/oprah(s-book-club)?/i,g=/\/(?!$|\?)/,h=/\bcc=([a-z][a-z])/i
function y(e,t,r){const n=[],a=(0,i.buildQPObject)(t.search,!1)
if(a)for(let i=0;i<e.length;i++){const t=e[i],o=r.lookup(`controller:${t.handler}`)
o&&o.queryParams&&o.queryParams.forEach((e=>{if("object"==typeof e){const t=Object.keys(e)
for(let i=0;i<t.length;i++){const r=t[i]
"hash"===e[r].type&&r in a&&n.push(a[r])}}}))}return n}function w(e,t){const i="?"===e.charAt(0)
if(t.length)for(let r=0;r<t.length;r++)e=e.replace(new RegExp(`[&?]${t[r]}`),"")
return i&&e.length&&"?"!==e.charAt(0)&&(e=`?${e.substr(1)}`),e}function v(e){return e[e.length-1]}function _(e){let{segments:t}=e
return-1!==[5,7].indexOf(t.length)}function P(e){return e.length>1&&(e=e.replace(/\/$/,"")),e}function O(e){return P(e)in r.default.routing.notFoundRedirects}const A={"app-event"(e){let{pathname:t,search:r}=e
if(!(0,i.hasQP)(r,"tempAppId"))return{}
let n=t.split(g)
const a=(0,i.buildQPObject)(r)
return n[2]="app",n[3]=a.tempAppId,5===n.length&&(n=n.slice(0,4)),{pathname:n.join("/"),search:r.slice(0,r.indexOf("&tempAppId"))}},charts(e){let{pathname:t}=e
return{pathname:t}},"podcast-episode"(e){const{pathname:t,search:r}=e
if(!(0,i.hasQP)(r,"temp"))return
const n=t.split(g),a=(0,i.buildQPObject)(r)
return n[2]="podcast",n[4]=a.temp,{pathname:n.join("/"),search:r.slice(0,r.indexOf("&temp"))}}},k={app(e){let{segments:t,search:r}=e
if((0,i.hasQP)(r,"eventid")){const e=(0,i.buildQPObject)(r)
r+=`&tempAppId=${t[4]}`,t[2]="app-event",t[4]=e.eventid}return{segments:t,search:r}},charts(e){let{segments:t}=e
const i="audiobooks",r=t[t.length-1],l=t.indexOf(i)>-1
return l&&5===t.length&&r!==i?t.splice(4,0,c):(l||r===c)&&t.splice(3,1),o.CHARTS_LIST_SORT_ORDER.indexOf(r)>-1&&t.splice(4,0,a.BOOKS_GENRE_ID_STATIC),n.VALID_DEVICE_TYPES.includes(r)&&t.splice(3,1),{segments:t}},podcast(e){let{segments:t,search:r}=e
if((0,i.hasQP)(r,"i")){const e=(0,i.buildQPObject)(r)
r+=`&temp=${t[4]}`,t[2]="podcast-episode",t[4]=e.i}return{segments:t,search:r}}}
function S(e){let t=e.indexOf("#");-1===t&&(t=e.length)
let i=Math.min(t,e.indexOf("?"))
return-1===i&&(i=e.length),{pathname:e.substring(0,Math.min(i,t)),search:e.substring(i,Math.max(i,t)),hash:e.substring(t,e.length)}}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
const i={pathname:"",search:"",hash:""}
if(e.pathname&&t.pathname){const r=e.pathname.replace(/\/$/,""),n=t.pathname.replace(/^\//,"")
i.pathname=`${r}/${n}`}else i.pathname=e.pathname||t.pathname||""
const r=e.search&&e.search.replace(/^\?/,""),n=t.search&&t.search.replace(/^\?/,""),a=e.search&&e.search.length,o=t.search&&t.search.length,l=a||o
r&&n?i.search=`?${r}&${n}`:r||n?i.search=`?${r||n}`:l&&(i.search="?")
const s=e.hash&&e.hash.replace(/^#/,""),p=t.hash&&t.hash.replace(/^#/,""),c=e.hash&&e.hash.length,u=t.hash&&t.hash.length,d=c||u
return p||u?i.hash=`#${p}`:s?i.hash=`#${s}`:d&&(i.hash="#"),i}function j(e){const{pathname:t=""}=e
let{search:i="",hash:r=""}=e
return i&&"?"!==i[0]&&(i=`?${i}`),r&&"#"!==r[0]&&(r=`#${r}`),`${t}${i}${r}`}const T=(e,t)=>{let{productSegment:i}=e
const{names:r}=t.recognizer
return r&&r[i]}
function z(e,i){if(!i)return s({},e)
if(f.test(e.pathname)){const t=e.pathname.replace(f,(e=>e.toLowerCase()))
return s(s({},e),{},{pathname:`/${c}${t}`})}if(b.test(e.pathname))return s(s({},e),{},{pathname:e.pathname.replace(b,(e=>e.toLowerCase()))})
let r={hash:e.hash,segments:e.pathname.split(g),search:e.search,productSegment:"",significantId:""}
if(r.productSegment=r.segments[2],r.significantId=v(r.segments),T(r,i)||(r.segments.splice(1,0,c),r.productSegment=r.segments[2]),!O(e.pathname)){if(r.segments[1]===c||!(0,t.isPresent)(r.segments[1])){const e=h.exec(r.search)
e?r.segments[1]=e[1]:(0,t.isPresent)(r.segments[1])||(r.segments[1]=u)}_(r)||r.segments.splice(3,0,c),r.productSegment in k&&(r=s(s({},r),k[r.productSegment](r))),(0,t.isPresent)(r.segments[3])||"charts"===r.productSegment||(r.segments[3]=u)}return{pathname:r.segments.join("/"),search:r.search,hash:r.hash}}function M(e){return e.replace(d,"").replace(m,"/")}e.productSegmentIsValid=T})),define("web-experience-app/utils/sanitize",["exports","@ember/template","@ember/utils","js-htmlencode","striptags","web-experience-app/config/index"],(function(e,t,i,r,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeForAttribute=function(e){let r=e;(0,t.isHTMLSafe)(r)&&(r=r.toString())
if("string"!==(0,i.typeOf)(r))return"";-1!==r.search(/&#?[a-zA-Z0-9]+;/)&&(r=o(r))
return r=r.replace(p," "),r=(0,n.default)(r),r=r.replace(/\s/g," ").replace(/\s+/g," "),r.replace('"','"')},e.sanitizeForHtml=function(e){let r=e
"string"!==(0,i.typeOf)(r)&&(r="")
if(""===r)return(0,t.htmlSafe)(r);-1!==r.search(/&#?[a-zA-Z0-9]+;/)&&(r=o(r))
return r=l(r),r=r.replace(s,"<br />"),r=r.replace(a.default.htmlSanitizeRegex,((e,t)=>{const i=e.indexOf("/"),r=e.indexOf(t)
return-1===i?`<${t}>`:i<r?`</${t}>`:`<${t} />`})),(0,t.htmlSafe)(r)}
const{htmlDecode:o,htmlEncode:l}=r.default,s=/(\r\n|\r|\n)/g,p=/<br(?=[ />\r\n\t\f])[^>]*>/g}))
define("web-experience-app/utils/see-all",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.loadRecordsFromPayload=function(e,t,i){const r=i.serializerFor("store-platform").normalizeResponse(i,e,t)
return i.push(r),function(e){return e.data.reduce(((e,t)=>(e[t.id]=t.type,e)),{})}(r)}})),define("web-experience-app/utils/seo",["exports","@ember/string","web-experience-app/utils/routing","web-experience-app/utils/url","@apple/babel-plugin-feature-remover"],(function(e,t,i,r,n){Object.defineProperty(e,"__esModule",{value:!0}),e.formatURLSegment=function(e){if(!e)return""
const i=`${e}`
return(0,t.dasherize)(i.replace(a," ").trim())},e.getNormalisedUrlPath=o,e.getRedirectIfRequired=l,e.handleCanonicalRedirects=function(e,t){const{fastboot:i,location:n}=e,a=`${n.pathname}${n.search?n.search:""}`,o=n.host,s=l(a,t,o)
if(s){if(i.isFastBoot)return n.replace(s.targetUrl,s.responseStatusCode)
{const t=new r.default(s.targetUrl),i=`${t.pathname}${t.search}`
return e.transitionTo(i)}}},e.truncateSEODescription=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300
return e&&e.length>t?`${e.substr(0,t).trim()}…`:e}
const a=/\W+/g
function o(e){return new r.default(e).pathname||""}function l(e,t,n){const a=`https://web.archive.org/web/20220531203922/https://itunes.apple.com${e}`,l=new r.default(a),s=l.search,p=o(t)
if(!e.includes("/charts/")){const t=e.split("/")
if(!(0,i.hasSEOSegment)({segments:t}))return}if(l.pathname!==p){return{responseStatusCode:301,targetUrl:`${function(e,t){const i=new r.default(e)
t&&t!==i.host&&(i.host=t)
return i.toString()}(t,n)}${s}`}}return null}})),define("web-experience-app/utils/shelf",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.generateColumnClassNames=function(e){const{small:i,medium:r,large:n}=e,a=t
return`l-column small-${a(i)} medium-${a(r)} large-${a(n)}`},e.generateDefaultArtworkProfile=function(e){const{small:t,medium:i,large:r}=e
return`lockup-${t}-${i}-${r}`}
function t(e){return Math.floor(12/(e%12))}})),define("web-experience-app/utils/ssr",["exports","web-experience-app/config/environment"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.getFastbootJwt=function(){if(a()&&"production"===t.default.environment){const{env:e}=FastBoot.require("process")
return e.FASTBOOT_MEDIA_API_JWT}return null},e.getHeadersForFastBoot=function(e){const t={}
if(a()){t.origin="https://web.archive.org/web/20220531203922/https://amp.apple.com"
const a=e.headers.get(i)
a&&(t[i]=a)
const o=e.headers.get(r)
o&&(t[r]=o)
const l=e.headers.getAll(n)
l&&(t[n]=l.join(", "))
const s=e.headers.getAll("cookie").join("; ")
s.length&&(t.cookie=s.split(/[;,]/).map((e=>e.trimStart())).filter((e=>e.length>0&&!e.startsWith("="))).filter((e=>!e.startsWith("media-user-token="))).join("; "))}return t},e.isSSR=a,e.log=void 0
const i="user-country",r="x-apple-jingle-correlation-key",n="x-forwarded-for"
function a(){return"undefined"!=typeof FastBoot}const o=(l="log",a()?console[l].bind(console):()=>{})
var l
e.log=o})),define("web-experience-app/utils/string-template",["exports","@ember/object","@ember/debug","web-experience-app/helpers/to-locale-fixed","web-experience-app/services/i18n","web-experience-app/config/environment"],(function(e,t,i,r,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.replaceKeys=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
return e.replace(o,(function(e,o){const{environment:s}=a.default
let p=(0,t.get)(i,o)
const c=null==p
if(l.indexOf(s),!c&&"count"===o&&"number"==typeof p){const e=(0,t.get)(i,n.SERVICE_SIGIL)
e&&(p=(0,r.toLocaleFixed)(p,e.locale,{minimumFractionDigits:0,maximumFractionDigits:2}))}return c?`@@${o}@@`:p}))}
const o=/@@([^@]+)@@/g,l=["development","mock","test"]})),define("web-experience-app/utils/truncate-text",["exports"],(function(e){function t(e){const t=window.getComputedStyle(e).getPropertyValue("line-height")
return parseFloat(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.getFontSize=function(e){const t=window.getComputedStyle(e).getPropertyValue("font-size")
return parseFloat(t)},e.getLineHeight=t,e.getMaxHeight=function(e,i){const r=t(e)
return Math.floor(r*i)}})),define("web-experience-app/utils/url-search-params",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t="undefined"!=typeof FastBoot?FastBoot.require("url").URLSearchParams:window.URLSearchParams
e.default=t})),define("web-experience-app/utils/url",["exports","web-experience-app/utils/ssr"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=(0,t.isSSR)()?FastBoot.require("url").URL:window.URL
e.default=i})),define("web-experience-app/utils/urls",["exports","web-experience-app/utils/query-params"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.generateMediaAPIUrl=function(e,i,r,n){let a=e.replace(/^\//,"")
return a=function(e,i,r,n){const a=n||(0,t.getLanguageParam)(r,!0)
if(!a)return e
const o=e.includes("?")
if(o&&Object.keys(i).length)throw new Error(`Submitted url ${e} with embedded query params and query params object ${JSON.stringify(i)}, you can only submit one or the other.`)
if(!o)return i.l=a,e
if(/[?&]l=/.test(e))return e
return`${e}&l=${a}`}(a,i,r,n),a},e.makeSeoSegment=function(e){return e.replace(/[\u0000-\u002f\u003a-\u0040\u005b-\u0060\u007b-\u00bf\u00d7\u00f7]/g,"-").replace(/-+/g,"-").toLowerCase()},e.updateProtocol=function(e,t){if(!e)return
if(t&&/^https?:\/\//.test(e))return e.replace(/^https?/,t)
return e}})),define("web-experience-app/config/environment",[],(function(){if("undefined"!=typeof FastBoot)return FastBoot.config("web-experience-app")
try{var e="web-experience-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),i={default:JSON.parse(decodeURIComponent(t))}
return Object.defineProperty(i,"__esModule",{value:!0}),i}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),"undefined"==typeof FastBoot&&(runningTests||require("web-experience-app/app").default.create({PROGRESS_BAR_DELAY:3e3,CLOCK_INTERVAL:1e3,LOADING_SPINNER_SPY:!0,BREAKPOINTS:{large:{min:1069,max:1440,content:980},medium:{min:735,max:1068,content:692},small:{min:320,max:734,content:280}},buildVariant:"apps",name:"web-experience-app",version:"2222.1.0+5cb89259"}))


}
/*
     FILE ARCHIVED ON 20:39:22 May 31, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 10:34:56 Oct 23, 2025.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 1.271
  exclusion.robots: 0.042
  exclusion.robots.policy: 0.025
  esindex: 0.024
  cdx.remote: 65.357
  LoadShardBlock: 798.891 (6)
  PetaboxLoader3.datanode: 561.429 (7)
  load_resource: 196.639
  PetaboxLoader3.resolve: 76.107
*/