1(function(require){ 2(function() { 3/** 4 * Copyright © Magento, Inc. All rights reserved. 5 * See COPYING.txt for license details. 6 */ 7 8var config = { 9 map: { 10 '*': { 11 directoryRegionUpdater: 'Magento_Directory/js/region-updater' 12 } 13 } 14}; 15 16require.config(config); 17})(); 18(function() { 19/** 20 * Copyright © Magento, Inc. All rights reserved. 21 * See COPYING.txt for license details. 22 */ 23 24var config = { 25 waitSeconds: 0, 26 map: { 27 '*': { 28 'ko': 'knockoutjs/knockout', 29 'knockout': 'knockoutjs/knockout', 30 'mageUtils': 'mage/utils/main', 31 'rjsResolver': 'mage/requirejs/resolver', 32 'jquery-ui-modules/core': 'jquery/ui-modules/core', 33 'jquery-ui-modules/accordion': 'jquery/ui-modules/widgets/accordion', 34 'jquery-ui-modules/autocomplete': 'jquery/ui-modules/widgets/autocomplete', 35 'jquery-ui-modules/button': 'jquery/ui-modules/widgets/button', 36 'jquery-ui-modules/datepicker': 'jquery/ui-modules/widgets/datepicker', 37 'jquery-ui-modules/dialog': 'jquery/ui-modules/widgets/dialog', 38 'jquery-ui-modules/draggable': 'jquery/ui-modules/widgets/draggable', 39 'jquery-ui-modules/droppable': 'jquery/ui-modules/widgets/droppable', 40 'jquery-ui-modules/effect-blind': 'jquery/ui-modules/effects/effect-blind', 41 'jquery-ui-modules/effect-bounce': 'jquery/ui-modules/effects/effect-bounce', 42 'jquery-ui-modules/effect-clip': 'jquery/ui-modules/effects/effect-clip', 43 'jquery-ui-modules/effect-drop': 'jquery/ui-modules/effects/effect-drop', 44 'jquery-ui-modules/effect-explode': 'jquery/ui-modules/effects/effect-explode', 45 'jquery-ui-modules/effect-fade': 'jquery/ui-modules/effects/effect-fade', 46 'jquery-ui-modules/effect-fold': 'jquery/ui-modules/effects/effect-fold', 47 'jquery-ui-modules/effect-highlight': 'jquery/ui-modules/effects/effect-highlight', 48 'jquery-ui-modules/effect-scale': 'jquery/ui-modules/effects/effect-scale', 49 'jquery-ui-modules/effect-pulsate': 'jquery/ui-modules/effects/effect-pulsate', 50 'jquery-ui-modules/effect-shake': 'jquery/ui-modules/effects/effect-shake', 51 'jquery-ui-modules/effect-slide': 'jquery/ui-modules/effects/effect-slide', 52 'jquery-ui-modules/effect-transfer': 'jquery/ui-modules/effects/effect-transfer', 53 'jquery-ui-modules/effect': 'jquery/ui-modules/effect', 54 'jquery-ui-modules/menu': 'jquery/ui-modules/widgets/menu', 55 'jquery-ui-modules/mouse': 'jquery/ui-modules/widgets/mouse', 56 'jquery-ui-modules/position': 'jquery/ui-modules/position', 57 'jquery-ui-modules/progressbar': 'jquery/ui-modules/widgets/progressbar', 58 'jquery-ui-modules/resizable': 'jquery/ui-modules/widgets/resizable', 59 'jquery-ui-modules/selectable': 'jquery/ui-modules/widgets/selectable', 60 'jquery-ui-modules/selectmenu': 'jquery/ui-modules/widgets/selectmenu', 61 'jquery-ui-modules/slider': 'jquery/ui-modules/widgets/slider', 62 'jquery-ui-modules/sortable': 'jquery/ui-modules/widgets/sortable', 63 'jquery-ui-modules/spinner': 'jquery/ui-modules/widgets/spinner', 64 'jquery-ui-modules/tabs': 'jquery/ui-modules/widgets/tabs', 65 'jquery-ui-modules/tooltip': 'jquery/ui-modules/widgets/tooltip', 66 'jquery-ui-modules/widget': 'jquery/ui-modules/widget', 67 'jquery-ui-modules/timepicker': 'jquery/timepicker', 68 'vimeo': 'vimeo/player', 69 'vimeoWrapper': 'vimeo/vimeo-wrapper' 70 } 71 }, 72 shim: { 73 'mage/adminhtml/backup': ['prototype'], 74 'mage/captcha': ['prototype'], 75 'mage/new-gallery': ['jquery'], 76 'jquery/ui': ['jquery'], 77 'matchMedia': { 78 'exports': 'mediaCheck' 79 }, 80 'magnifier/magnifier': ['jquery'], 81 'vimeo/player': { 82 'exports': 'Player' 83 } 84 }, 85 paths: { 86 'jquery/validate': 'jquery/jquery.validate', 87 'jquery/file-uploader': 'jquery/fileUploader/jquery.fileuploader', 88 'prototype': 'legacy-build.min', 89 'jquery/jquery-storageapi': 'js-storage/storage-wrapper', 90 'text': 'mage/requirejs/text', 91 'domReady': 'requirejs/domReady', 92 'spectrum': 'jquery/spectrum/spectrum', 93 'tinycolor': 'jquery/spectrum/tinycolor', 94 'jquery-ui-modules': 'jquery/ui-modules' 95 }, 96 config: { 97 text: { 98 'headers': { 99 'X-Requested-With': 'XMLHttpRequest' 100 } 101 } 102 } 103}; 104 105require(['jquery'], function ($) { 106 'use strict'; 107 108 $.noConflict(); 109}); 110 111require.config(config); 112})(); 113(function() { 114/** 115 * Copyright © Magento, Inc. All rights reserved. 116 * See COPYING.txt for license details. 117 */ 118 119var config = { 120 map: { 121 '*': { 122 'rowBuilder': 'Magento_Theme/js/row-builder', 123 'toggleAdvanced': 'mage/toggle', 124 'translateInline': 'mage/translate-inline', 125 'sticky': 'mage/sticky', 126 'tabs': 'mage/tabs', 127 'collapsible': 'mage/collapsible', 128 'dropdownDialog': 'mage/dropdown', 129 'dropdown': 'mage/dropdowns', 130 'accordion': 'mage/accordion', 131 'loader': 'mage/loader', 132 'tooltip': 'mage/tooltip', 133 'deletableItem': 'mage/deletable-item', 134 'itemTable': 'mage/item-table',
135 'fieldsetControls': 'mage/fieldset-controls', 136 'fieldsetResetControl': 'mage/fieldset-controls', 137 'redirectUrl': 'mage/redirect-url', 138 'loaderAjax': 'mage/loader', 139 'menu': 'mage/menu', 140 'popupWindow': 'mage/popup-window', 141 'validation': 'mage/validation/validation', 142 'breadcrumbs': 'Magento_Theme/js/view/breadcrumbs', 143 'jquery/ui': 'jquery/compat', 144 'cookieStatus': 'Magento_Theme/js/cookie-status' 145 } 146 }, 147 deps: [ 148 'mage/common', 149 'mage/dataPost', 150 'mage/bootstrap' 151 ], 152 config: { 153 mixins: { 154 'Magento_Theme/js/view/breadcrumbs': { 155 'Magento_Theme/js/view/add-home-breadcrumb': true 156 } 157 } 158 } 159}; 160 161/* eslint-disable max-depth */ 162/** 163 * Adds polyfills only for browser contexts which prevents bundlers from including them. 164 */ 165if (typeof window !== 'undefined' && window.document) { 166 /** 167 * Polyfill localStorage and sessionStorage for browsers that do not support them. 168 */ 169 try { 170 if (!window.localStorage || !window.sessionStorage) { 171 throw new Error(); 172 } 173 174 localStorage.setItem('storage_test', 1); 175 localStorage.removeItem('storage_test'); 176 } catch (e) { 177 config.deps.push('mage/polyfill'); 178 } 179} 180/* eslint-enable max-depth */ 181 182require.config(config); 183})(); 184(function() { 185/** 186 * Copyright © Magento, Inc. All rights reserved. 187 * See COPYING.txt for license details. 188 */ 189 190var config = { 191 map: { 192 '*': { 193 checkoutBalance: 'Magento_Customer/js/checkout-balance', 194 address: 'Magento_Customer/js/address', 195 changeEmailPassword: 'Magento_Customer/js/change-email-password', 196 passwordStrengthIndicator: 'Magento_Customer/js/password-strength-indicator', 197 zxcvbn: 'Magento_Customer/js/zxcvbn', 198 addressValidation: 'Magento_Customer/js/addressValidation', 199 showPassword: 'Magento_Customer/js/show-password', 200 'Magento_Customer/address': 'Magento_Customer/js/address', 201 'Magento_Customer/change-email-password': 'Magento_Customer/js/change-email-password', 202 globalSessionLoader: 'Magento_Customer/js/customer-global-session-loader.js' 203 } 204 } 205}; 206 207require.config(config); 208})(); 209(function() { 210/** 211 * Copyright © Magento, Inc. All rights reserved. 212 * See COPYING.txt for license details. 213 */ 214 215var config = { 216 map: { 217 '*': { 218 escaper: 'Magento_Security/js/escaper' 219 } 220 } 221}; 222 223require.config(config); 224})(); 225(function() { 226/** 227 * Copyright © Magento, Inc. All rights reserved. 228 * See COPYING.txt for license details. 229 */ 230 231var config = { 232 map: { 233 '*': { 234 quickSearch: 'Magento_Search/js/form-mini', 235 'Magento_Search/form-mini': 'Magento_Search/js/form-mini' 236 } 237 } 238}; 239 240require.config(config); 241})(); 242(function() { 243/** 244 * Copyright © Magento, Inc. All rights reserved. 245 * See COPYING.txt for license details. 246 */ 247 248var config = { 249 map: { 250 '*': { 251 priceBox: 'Magento_Catalog/js/price-box', 252 priceOptionDate: 'Magento_Catalog/js/price-option-date', 253 priceOptionFile: 'Magento_Catalog/js/price-option-file', 254 priceOptions: 'Magento_Catalog/js/price-options', 255 priceUtils: 'Magento_Catalog/js/price-utils' 256 } 257 } 258}; 259 260require.config(config); 261})(); 262(function() { 263/** 264 * Copyright © Magento, Inc. All rights reserved. 265 * See COPYING.txt for license details. 266 */ 267 268var config = { 269 map: { 270 '*': { 271 compareList: 'Magento_Catalog/js/list', 272 relatedProducts: 'Magento_Catalog/js/related-products', 273 upsellProducts: 'Magento_Catalog/js/upsell-products', 274 productListToolbarForm: 'Magento_Catalog/js/product/list/toolbar', 275 catalogGallery: 'Magento_Catalog/js/gallery', 276 catalogAddToCart: 'Magento_Catalog/js/catalog-add-to-cart' 277 } 278 }, 279 config: { 280 mixins: { 281 'Magento_Theme/js/view/breadcrumbs': { 282 'Magento_Catalog/js/product/breadcrumbs': true 283 } 284 } 285 } 286}; 287 288require.config(config); 289})(); 290(function() { 291/** 292 * Copyright © Magento, Inc. All rights reserved. 293 * See COPYING.txt for license details. 294 */ 295 296var config = { 297 map: { 298 '*': { 299 addToCart: 'Magento_Msrp/js/msrp' 300 } 301 } 302}; 303 304require.config(config); 305})(); 306(function() { 307/** 308 * Copyright © Magento, Inc. All rights reserved. 309 * See COPYING.txt for license details. 310 */ 311 312var config = { 313 map: { 314 '*': { 315 catalogSearch: 'Magento_CatalogSearch/form-mini' 316 } 317 } 318}; 319 320require.config(config); 321})(); 322(function() { 323/** 324 * Copyright © Magento, Inc. All rights reserved. 325 * See COPYING.txt for license details. 326 */ 327 328var config = { 329 map: { 330 '*': { 331 creditCardType: 'Magento_Payment/js/cc-type', 332 'Magento_Payment/cc-type': 'Magento_Payment/js/cc-type' 333 } 334 } 335}; 336 337require.config(config); 338})(); 339(function() { 340/** 341 * Copyright © Magento, Inc. All rights reserved. 342 * See COPYING.txt for license details. 343 */ 344 345var config = { 346 map: { 347 '*': { 348 giftMessage: 'Magento_Sales/js/gift-message', 349 ordersReturns: 'Magento_Sales/js/orders-returns', 350 'Magento_Sales/gift-message': 'Magento_Sales/js/gift-message', 351 'Magento_Sales/orders-returns': 'Magento_Sales/js/orders-returns' 352 } 353 } 354}; 355 356require.config(config); 357})(); 358(function() { 359/** 360 * Copyright © Magento, Inc. All rights reserved. 361 * See COPYING.txt for license details. 362 */ 363 364var config = { 365 map: { 366 '*': { 367 discountCode: 'Magento_Checkout/js/discount-codes', 368 shoppingCart: 'Magento_Checkout/js/shopping-cart',
369 regionUpdater: 'Magento_Checkout/js/region-updater', 370 sidebar: 'Magento_Checkout/js/sidebar', 371 checkoutLoader: 'Magento_Checkout/js/checkout-loader', 372 checkoutData: 'Magento_Checkout/js/checkout-data', 373 proceedToCheckout: 'Magento_Checkout/js/proceed-to-checkout', 374 catalogAddToCart: 'Magento_Catalog/js/catalog-add-to-cart' 375 } 376 }, 377 shim: { 378 'Magento_Checkout/js/model/totals' : { 379 deps: ['Magento_Customer/js/customer-data'] 380 } 381 } 382}; 383 384require.config(config); 385})(); 386(function() { 387/** 388 * Copyright © Magento, Inc. All rights reserved. 389 * See COPYING.txt for license details. 390 */ 391 392var config = { 393 map: { 394 '*': { 395 requireCookie: 'Magento_Cookie/js/require-cookie', 396 cookieNotices: 'Magento_Cookie/js/notices' 397 } 398 } 399}; 400 401require.config(config); 402})(); 403(function() { 404/** 405 * Copyright © Magento, Inc. All rights reserved. 406 * See COPYING.txt for license details. 407 */ 408 409var config = { 410 map: { 411 '*': { 412 downloadable: 'Magento_Downloadable/js/downloadable', 413 'Magento_Downloadable/downloadable': 'Magento_Downloadable/js/downloadable' 414 } 415 } 416}; 417 418require.config(config); 419})(); 420(function() { 421/** 422 * Copyright © Magento, Inc. All rights reserved. 423 * See COPYING.txt for license details. 424 */ 425 426var config = { 427 map: { 428 '*': { 429 bundleOption: 'Magento_Bundle/bundle', 430 priceBundle: 'Magento_Bundle/js/price-bundle', 431 slide: 'Magento_Bundle/js/slide', 432 productSummary: 'Magento_Bundle/js/product-summary' 433 } 434 } 435}; 436 437require.config(config); 438})(); 439(function() { 440/** 441 * Copyright © Magento, Inc. All rights reserved. 442 * See COPYING.txt for license details. 443 */ 444 445var config = { 446 map: { 447 '*': { 448 giftOptions: 'Magento_GiftMessage/js/gift-options', 449 'Magento_GiftMessage/gift-options': 'Magento_GiftMessage/js/gift-options' 450 } 451 } 452}; 453 454require.config(config); 455})(); 456(function() { 457/** 458 * Copyright © Magento, Inc. All rights reserved. 459 * See COPYING.txt for license details. 460 */ 461 462var config = { 463 deps: [], 464 shim: { 465 'chartjs/chartjs-adapter-moment': ['moment'], 466 'chartjs/es6-shim.min': {}, 467 'tiny_mce_7/tinymce.min': { 468 exports: 'tinyMCE' 469 } 470 }, 471 paths: { 472 'ui/template': 'Magento_Ui/templates' 473 }, 474 map: { 475 '*': { 476 uiElement: 'Magento_Ui/js/lib/core/element/element', 477 uiCollection: 'Magento_Ui/js/lib/core/collection', 478 uiComponent: 'Magento_Ui/js/lib/core/collection', 479 uiClass: 'Magento_Ui/js/lib/core/class', 480 uiEvents: 'Magento_Ui/js/lib/core/events', 481 uiRegistry: 'Magento_Ui/js/lib/registry/registry', 482 consoleLogger: 'Magento_Ui/js/lib/logger/console-logger', 483 uiLayout: 'Magento_Ui/js/core/renderer/layout', 484 buttonAdapter: 'Magento_Ui/js/form/button-adapter', 485 chartJs: 'chartjs/Chart.min', 486 'chart.js': 'chartjs/Chart.min', 487 tinymce: 'tiny_mce_7/tinymce.min', 488 wysiwygAdapter: 'mage/adminhtml/wysiwyg/tiny_mce/tinymceAdapter' 489 } 490 } 491}; 492 493require.config(config); 494})(); 495(function() { 496/** 497 * Copyright © Magento, Inc. All rights reserved. 498 * See COPYING.txt for license details. 499 */ 500 501var config = { 502 deps: [ 503 'Magento_Ui/js/core/app' 504 ] 505}; 506 507require.config(config); 508})(); 509(function() { 510/** 511 * Copyright © Magento, Inc. All rights reserved. 512 * See COPYING.txt for license details. 513 */ 514 515var config = { 516 map: { 517 '*': { 518 pageCache: 'Magento_PageCache/js/page-cache' 519 } 520 }, 521 deps: ['Magento_PageCache/js/form-key-provider'] 522}; 523 524require.config(config); 525})(); 526(function() { 527/** 528 * Copyright © Magento, Inc. All rights reserved. 529 * See COPYING.txt for license details. 530 */ 531 532var config = { 533 map: { 534 '*': { 535 captcha: 'Magento_Captcha/js/captcha', 536 'Magento_Captcha/captcha': 'Magento_Captcha/js/captcha' 537 } 538 } 539}; 540 541require.config(config); 542})(); 543(function() { 544/** 545 * Copyright © Magento, Inc. All rights reserved. 546 * See COPYING.txt for license details. 547 */ 548 549var config = { 550 map: { 551 '*': { 552 configurable: 'Magento_ConfigurableProduct/js/configurable' 553 } 554 }, 555 config: { 556 mixins: { 557 'Magento_Catalog/js/catalog-add-to-cart': { 558 'Magento_ConfigurableProduct/js/catalog-add-to-cart-mixin': true 559 } 560 } 561 } 562}; 563 564require.config(config); 565})(); 566(function() { 567/** 568 * Copyright © Magento, Inc. All rights reserved. 569 * See COPYING.txt for license details. 570 */ 571 572var config = { 573 map: { 574 '*': { 575 multiShipping: 'Magento_Multishipping/js/multi-shipping', 576 orderOverview: 'Magento_Multishipping/js/overview', 577 payment: 'Magento_Multishipping/js/payment', 578 billingLoader: 'Magento_Checkout/js/checkout-loader', 579 cartUpdate: 'Magento_Checkout/js/action/update-shopping-cart', 580 multiShippingBalance: 'Magento_Multishipping/js/multi-shipping-balance' 581 } 582 } 583}; 584 585require.config(config); 586})(); 587(function() { 588/** 589 * Copyright © Magento, Inc. All rights reserved. 590 * See COPYING.txt for license details. 591 */ 592 593var config = { 594 map: { 595 '*': { 596 recentlyViewedProducts: 'Magento_Reports/js/recently-viewed' 597 } 598 } 599}; 600 601require.config(config); 602})(); 603(function() { 604var config = { 605 config: { 606 mixins: { 607 'Magento_Checkout/js/model/quote': { 608 'Magento_InventoryInStorePickupFrontend/js/model/quote-ext': true 609 }, 610 'Magento_Checkout/js/view/shipping-information': { 611 'Magento_InventoryInStorePickupFrontend/js/view/shipping-information-ext': true 612 }, 613 'Magento_Checkout/js/model/checkout-data-resolver': { 614 'Magento_InventoryInStorePickupFrontend/js/model/checkout-data-resolver-ext': true 615 }, 616 'Magento_Checkout/js/checkout-data': { 617 'Magento_InventoryInStorePickupFrontend/js/checkout-data-ext': true 618 } 619 } 620 } 621}; 622 623require.config(config); 624})(); 625(function() { 626/** 627 * Copyright © Magento, Inc. All rights reserved. 628 * See COPYING.txt for license details. 629 */ 630 631var config = { 632 config: { 633 mixins: { 634 'Magento_Swatches/js/swatch-renderer': { 635 'Magento_InventorySwatchesFrontendUi/js/swatch-renderer': true 636 } 637 } 638 } 639}; 640 641require.config(config); 642})(); 643(function() { 644/** 645 * Copyright © Magento, Inc. All rights reserved. 646 * See COPYING.txt for license details. 647 */ 648 649var config = { 650 map: { 651 '*': { 652 subscriptionStatusResolver: 'Magento_Newsletter/js/subscription-status-resolver', 653 newsletterSignUp: 'Magento_Newsletter/js/newsletter-sign-up' 654 } 655 } 656}; 657 658require.config(config); 659})(); 660(function() { 661/** 662 * Copyright © Magento, Inc. All rights reserved. 663 * See COPYING.txt for license details. 664 */ 665 666var config = { 667 config: { 668 mixins: { 669 'Magento_Checkout/js/action/select-payment-method': { 670 'Magento_SalesRule/js/action/select-payment-method-mixin': true 671 }, 672 'Magento_Checkout/js/model/shipping-save-processor': { 673 'Magento_SalesRule/js/model/shipping-save-processor-mixin': true 674 }, 675 'Magento_Checkout/js/action/place-order': { 676 'Magento_SalesRule/js/model/place-order-mixin': true 677 } 678 } 679 } 680}; 681 682require.config(config); 683})(); 684(function() { 685/** 686 * Copyright © Magento, Inc. All rights reserved. 687 * See COPYING.txt for license details. 688 */ 689 690var config = { 691 map: { 692 '*': { 693 'slick': 'Magento_PageBuilder/js/resource/slick/slick', 694 'jarallax': 'Magento_PageBuilder/js/resource/jarallax/jarallax', 695 'jarallaxVideo': 'Magento_PageBuilder/js/resource/jarallax/jarallax-video', 696 'Magento_PageBuilder/js/resource/vimeo/player': 'vimeo/player', 697 'Magento_PageBuilder/js/resource/vimeo/vimeo-wrapper': 'vimeo/vimeo-wrapper', 698 'jarallax-wrapper': 'Magento_PageBuilder/js/resource/jarallax/jarallax-wrapper' 699 } 700 }, 701 shim: { 702 'Magento_PageBuilder/js/resource/slick/slick': { 703 deps: ['jquery'] 704 }, 705 'Magento_PageBuilder/js/resource/jarallax/jarallax-video': { 706 deps: ['jarallax-wrapper', 'vimeoWrapper'] 707 } 708 } 709}; 710 711require.config(config); 712})(); 713(function() { 714/** 715 * Copyright © Magento, Inc. All rights reserved. 716 * See COPYING.txt for license details. 717 */ 718 719var config = { 720 shim: { 721 cardinaljs: { 722 exports: 'Cardinal' 723 }, 724 cardinaljsSandbox: { 725 exports: 'Cardinal' 726 } 727 }, 728 paths: { 729 cardinaljsSandbox: 'https://includestest.ccdc02.com/cardinalcruise/v1/songbird', 730 cardinaljs: 'https://songbird.cardinalcommerce.com/edge/v1/songbird' 731 } 732}; 733 734 735require.config(config); 736})(); 737(function() { 738/** 739 * Copyright © Magento, Inc. All rights reserved. 740 * See COPYING.txt for license details. 741 */ 742 743var config = { 744 map: { 745 '*': { 746 transparent: 'Magento_Payment/js/transparent', 747 'Magento_Payment/transparent': 'Magento_Payment/js/transparent' 748 } 749 } 750}; 751 752require.config(config); 753})(); 754(function() { 755/** 756 * Copyright © Magento, Inc. All rights reserved. 757 * See COPYING.txt for license details. 758 */ 759 760var config = { 761 map: { 762 '*': { 763 orderReview: 'Magento_Paypal/js/order-review', 764 'Magento_Paypal/order-review': 'Magento_Paypal/js/order-review', 765 paypalCheckout: 'Magento_Paypal/js/paypal-checkout' 766 } 767 } 768}; 769 770require.config(config); 771})(); 772(function() { 773/** 774 * Copyright © Magento, Inc. All rights reserved. 775 * See COPYING.txt for license details. 776 */ 777 778var config = { 779 config: { 780 mixins: { 781 'Magento_Customer/js/customer-data': { 782 'Magento_Persistent/js/view/customer-data-mixin': true 783 } 784 } 785 } 786}; 787 788require.config(config); 789})(); 790(function() { 791/** 792 * Copyright © Magento, Inc. All rights reserved. 793 * See COPYING.txt for license details. 794 */ 795 796var config = { 797 map: { 798 '*': { 799 loadPlayer: 'Magento_ProductVideo/js/load-player', 800 fotoramaVideoEvents: 'Magento_ProductVideo/js/fotorama-add-video-events', 801 'vimeoWrapper': 'vimeo/vimeo-wrapper' 802 } 803 }, 804 shim: { 805 vimeoAPI: {}, 806 'Magento_ProductVideo/js/load-player': { 807 deps: ['vimeoWrapper'] 808 } 809 } 810}; 811 812require.config(config); 813})(); 814(function() { 815/** 816 * Copyright © Magento, Inc. All rights reserved. 817 * See COPYING.txt for license details. 818 */ 819 820var config = { 821 config: { 822 mixins: { 823 'Magento_Checkout/js/action/place-order': { 824 'Magento_CheckoutAgreements/js/model/place-order-mixin': true 825 }, 826 'Magento_Checkout/js/action/set-payment-information': { 827 'Magento_CheckoutAgreements/js/model/set-payment-information-mixin': true 828 } 829 } 830 } 831}; 832 833require.config(config); 834})(); 835(function() { 836/** 837 * Copyright © Magento, Inc. All rights reserved. 838 * See COPYING.txt for license details. 839 */ 840 841// eslint-disable-next-line no-unused-vars
842var config = { 843 config: { 844 mixins: { 845 'Magento_Checkout/js/model/place-order': { 846 'Magento_ReCaptchaCheckout/js/model/place-order-mixin': true 847 }, 848 'Magento_ReCaptchaWebapiUi/js/webapiReCaptchaRegistry': { 849 'Magento_ReCaptchaCheckout/js/webapiReCaptchaRegistry-mixin': true 850 } 851 } 852 } 853}; 854 855 856require.config(config); 857})(); 858(function() { 859/** 860 * Copyright © Magento, Inc. All rights reserved. 861 * See COPYING.txt for license details. 862 */ 863 864/*eslint strict: ["error", "global"]*/ 865 866'use strict'; 867 868var config = { 869 config: { 870 mixins: { 871 'Magento_Ui/js/view/messages': { 872 'Magento_ReCaptchaFrontendUi/js/ui-messages-mixin': true 873 } 874 } 875 } 876}; 877 878require.config(config); 879})(); 880(function() { 881/** 882 * Copyright © Magento, Inc. All rights reserved. 883 * See COPYING.txt for license details. 884 */ 885 886// eslint-disable-next-line no-unused-vars 887var config = { 888 config: { 889 mixins: { 890 'Magento_Paypal/js/view/payment/method-renderer/payflowpro-method': { 891 'Magento_ReCaptchaPaypal/js/payflowpro-method-mixin': true 892 } 893 } 894 } 895}; 896 897require.config(config); 898})(); 899(function() { 900/** 901 * Copyright © Magento, Inc. All rights reserved. 902 * See COPYING.txt for license details. 903 */ 904 905// eslint-disable-next-line no-unused-vars 906var config = { 907 config: { 908 mixins: { 909 'jquery': { 910 'Magento_ReCaptchaWebapiUi/js/jquery-mixin': true 911 } 912 } 913 } 914}; 915 916require.config(config); 917})(); 918(function() { 919/** 920 * Copyright © Magento, Inc. All rights reserved. 921 * See COPYING.txt for license details. 922 */ 923 924var config = { 925 map: { 926 '*': { 927 mageTranslationDictionary: 'Magento_Translation/js/mage-translation-dictionary' 928 } 929 }, 930 deps: [ 931 'mageTranslationDictionary' 932 ] 933}; 934 935require.config(config); 936})(); 937(function() { 938/** 939 * Copyright © Magento, Inc. All rights reserved. 940 * See COPYING.txt for license details. 941 */ 942 943var config = { 944 map: { 945 '*': { 946 editTrigger: 'mage/edit-trigger', 947 addClass: 'Magento_Translation/js/add-class', 948 'Magento_Translation/add-class': 'Magento_Translation/js/add-class' 949 } 950 } 951}; 952 953require.config(config); 954})(); 955(function() { 956/** 957 * Copyright © Magento, Inc. All rights reserved. 958 * See COPYING.txt for license details. 959 */ 960 961var config = { 962 map: { 963 '*': { 964 configurableVariationQty: 'Magento_InventoryConfigurableProductFrontendUi/js/configurable-variation-qty' 965 } 966 }, 967 config: { 968 mixins: { 969 'Magento_ConfigurableProduct/js/configurable': { 970 'Magento_InventoryConfigurableProductFrontendUi/js/configurable': true 971 } 972 } 973 } 974}; 975 976require.config(config); 977})(); 978(function() { 979/** 980 * Copyright © Magento, Inc. All rights reserved. 981 * See COPYING.txt for license details. 982 */ 983 984var config = { 985 config: { 986 mixins: { 987 'Magento_Checkout/js/view/payment/list': { 988 'Magento_PaypalCaptcha/js/view/payment/list-mixin': true 989 }, 990 'Magento_Paypal/js/view/payment/method-renderer/payflowpro-method': { 991 'Magento_PaypalCaptcha/js/view/payment/method-renderer/payflowpro-method-mixin': true 992 }, 993 'Magento_Captcha/js/view/checkout/defaultCaptcha': { 994 'Magento_PaypalCaptcha/js/view/checkout/defaultCaptcha-mixin': true 995 } 996 } 997 } 998}; 999 1000require.config(config); 1001})(); 1002(function() { 1003/** 1004 * Copyright © Magento, Inc. All rights reserved. 1005 * See COPYING.txt for license details. 1006 */ 1007 1008var config = { 1009 map: { 1010 '*': { 1011 'taxToggle': 'Magento_Weee/js/tax-toggle', 1012 'Magento_Weee/tax-toggle': 'Magento_Weee/js/tax-toggle' 1013 } 1014 } 1015}; 1016 1017require.config(config); 1018})(); 1019(function() { 1020/** 1021 * Copyright © Magento, Inc. All rights reserved. 1022 * See COPYING.txt for license details. 1023 */ 1024 1025var config = { 1026 map: { 1027 '*': { 1028 wishlist: 'Magento_Wishlist/js/wishlist',
1029 addToWishlist: 'Magento_Wishlist/js/add-to-wishlist', 1030 wishlistSearch: 'Magento_Wishlist/js/search' 1031 } 1032 } 1033}; 1034 1035require.config(config); 1036})(); 1037(function() { 1038var config = { 1039 config: { 1040 mixins: { 1041 'Magento_SalesRule/js/model/coupon': { 1042 'Amasty_Coupons/js/model/coupon-mixin': true 1043 } 1044 } 1045 } 1046}; 1047 1048require.config(config); 1049})(); 1050(function() { 1051/** 1052 * BSS Commerce Co. 1053 * 1054 * NOTICE OF LICENSE 1055 * 1056 * This source file is subject to the EULA 1057 * that is bundled with this package in the file LICENSE.txt. 1058 * It is also available through the world-wide-web at this URL: 1059 * http://bsscommerce.com/Bss-Commerce-License.txt 1060 * 1061 * @category BSS 1062 * @package Bss_MultiStoreViewPricing 1063 * @author Extension Team 1064 * @copyright Copyright (c) 2017-2018 BSS Commerce Co. ( http://bsscommerce.com ) 1065 * @license http://bsscommerce.com/Bss-Commerce-License.txt 1066 */ 1067var config = { 1068 config: { 1069 mixins: { 1070 'Magento_Checkout/js/view/minicart': { 1071 'Bss_MultiStoreViewPricing/js/view/minicart': true 1072 }, 1073 'Magento_Wishlist/js/view/wishlist': { 1074 'Bss_MultiStoreViewPricing/js/view/wishlist_mixin': true 1075 }, 1076 } 1077 } 1078}; 1079 1080require.config(config); 1081})(); 1082(function() { 1083var config = { 1084 map: { 1085 '*': { 1086 'chart': 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.9.1/chart.min.js' 1087 } 1088 }, 1089 shim: { 1090 'chart': { 1091 exports: 'Chart' 1092 } 1093 } 1094}; 1095require.config(config); 1096})(); 1097(function() { 1098var config = { 1099 map: { 1100 '*': { 1101 bundleBuilder: 'DoNotAge_BundleBuilder/js/bundle-builder', 1102 categoryBuilder: 'DoNotAge_BundleBuilder/js/category-builder', 1103 variantSelectorModal: 'DoNotAge_BundleBuilder/js/variant-selector-modal' 1104 } 1105 } 1106}; 1107require.config(config); 1108})(); 1109(function() { 1110var config = { 1111 map: { 1112 '*': { 1113 dna_faq_accordion: 'DoNotAge_Faq/js/accordion', 1114 } 1115 } 1116}; 1117 1118require.config(config); 1119})(); 1120(function() { 1121var config = { 1122 config: { 1123 mixins: { 1124 'Magento_Customer/js/customer-data': { 1125 'DoNotAge_FrontendLogging/js/customer-data-storage-guard-mixin': true 1126 }, 1127 'jquery/jquery-storageapi': { 1128 'DoNotAge_FrontendLogging/js/storageapi-guard-mixin': true 1129 } 1130 } 1131 } 1132}; 1133 1134require.config(config); 1135})(); 1136(function() { 1137var config = { 1138 paths: { 1139 glide: 'DoNotAge_GlideSlider/js/glide.min' 1140 } 1141} 1142 1143require.config(config); 1144})(); 1145(function() { 1146var config = { 1147 map: { 1148 '*': { 1149 // Override the saved-cards Knockout template to add the default badge / "Set as default" action 1150 'StripeIntegration_Payments/template/setup_element.html': 'DoNotAge_B2CSubscriptions/template/setup_element.html' 1151 } 1152 }, 1153 config: { 1154 mixins: { 1155 'StripeIntegration_Payments/js/view/ui_components/setup_element': { 1156 'DoNotAge_B2CSubscriptions/js/view/ui_components/setup-element-mixin': true 1157 } 1158 } 1159 } 1160}; 1161 1162require.config(config); 1163})(); 1164(function() { 1165var config = { 1166 map: { 1167 '*': { 1168 'dnaGtmEvents': 'DoNotAge_GtmTracking/js/gtm-events' 1169 } 1170 } 1171}; 1172 1173require.config(config); 1174})(); 1175(function() { 1176var config = { 1177 map: { 1178 '*': { 1179 KlaviyoCustomerData: 'Klaviyo_Reclaim/js/customer', 1180 } 1181 }, 1182 config: { 1183 mixins: { 1184 'Magento_Checkout/js/model/shipping-save-processor/payload-extender': { 1185 'Klaviyo_Reclaim/js/mixin/shipping-payload-extender-mixin': true 1186 }, 1187 } 1188 } 1189}; 1190 1191require.config(config); 1192})(); 1193(function() { 1194var config = { 1195 config: { 1196 mixins: { 1197 'mage/configurable': { 1198 'DoNotAge_SelectedSku/js/configurable-mixin': true 1199 }, 1200 'Magento_Swatches/js/swatch-renderer': { 1201 'DoNotAge_SelectedSku/js/swatch-mixin': true 1202 } 1203 } 1204 } 1205}; 1206 1207require.config(config); 1208})(); 1209(function() { 1210/*jshint browser:true jquery:true*/ 1211/*global alert*/
1212var config = { 1213 map: { 1214 '*': { 1215 'stripejs': 'https://js.stripe.com/v3/', 1216 'stripe_payments': 'StripeIntegration_Payments/js/stripe_payments' 1217 } 1218 } 1219}; 1220 1221require.config(config); 1222})(); 1223(function() { 1224/*jshint browser:true jquery:true*/ 1225/*global alert*/ 1226var config = { 1227 map: { 1228 '*': { 1229 'stripejs': 'https://js.stripe.com/v3/', 1230 'stripe_payments': 'StripeIntegration_Payments/js/stripe_payments', 1231 'stripe_payments_express': 'StripeIntegration_Payments/js/stripe_payments_express' 1232 } 1233 }, 1234 config: { 1235 mixins: { 1236 'Magento_Ui/js/view/messages': { 1237 'StripeIntegration_Payments/js/mixins/messages-mixin': true 1238 }, 1239 'Magento_Checkout/js/view/payment/list': { 1240 'StripeIntegration_Payments/js/mixins/checkout/payment/list': true 1241 }, 1242 'MSP_ReCaptcha/js/ui-messages-mixin': { 1243 'StripeIntegration_Payments/js/mixins/messages-mixin': true 1244 } 1245 } 1246 } 1247}; 1248 1249require.config(config); 1250})(); 1251(function() { 1252var config = { 1253 paths: { 1254 'owl.carousel': "DoNotAge_Testimonials/js/owl.carousel" 1255 }, 1256 shim: { 1257 'owl.carousel': { 1258 deps: ['jquery'] 1259 } 1260 } 1261}; 1262 1263require.config(config); 1264})(); 1265(function() { 1266var config = { 1267 map: { 1268 '*': { 1269 dnaContactForm: 'DoNotAge_Contact/js/form', 1270 } 1271 } 1272}; 1273 1274require.config(config); 1275})(); 1276(function() { 1277/** 1278 * Config to pull in all the relevant Braintree JS SDKs 1279 * @type {{paths: {braintreePayPalInContextCheckout: string, braintreePayPalCheckout: string, braintreeVenmo: string, braintreeHostedFields: string, braintreeDataCollector: string, braintreeThreeDSecure: string, braintreeGooglePay: string, braintreeApplePay: string, braintreeAch: string, braintreeLpm: string, googlePayLibrary: string}, map: {"*": {braintree: string}}}} 1280 */ 1281var config = { 1282 map: { 1283 '*': { 1284 braintree: 'https://js.braintreegateway.com/web/3.97.2/js/client.min.js' 1285 } 1286 }, 1287 1288 paths: { 1289 "braintreePayPalCheckout": "https://js.braintreegateway.com/web/3.97.2/js/paypal-checkout.min", 1290 "braintreeHostedFields": "https://js.braintreegateway.com/web/3.97.2/js/hosted-fields.min", 1291 "braintreeDataCollector": "https://js.braintreegateway.com/web/3.97.2/js/data-collector.min", 1292 "braintreeThreeDSecure": "https://js.braintreegateway.com/web/3.97.2/js/three-d-secure.min", 1293 "braintreeApplePay": 'https://js.braintreegateway.com/web/3.97.2/js/apple-pay.min', 1294 "braintreeGooglePay": 'https://js.braintreegateway.com/web/3.97.2/js/google-payment.min', 1295 "braintreeVenmo": 'https://js.braintreegateway.com/web/3.97.2/js/venmo.min', 1296 "braintreeAch": "https://js.braintreegateway.com/web/3.97.2/js/us-bank-account.min", 1297 "braintreeLpm": "https://js.braintreegateway.com/web/3.97.2/js/local-payment.min", 1298 "googlePayLibrary": "https://pay.google.com/gp/p/js/pay", 1299 "braintreePayPalInContextCheckout": "https://www.paypalobjects.com/api/checkout" 1300 } 1301}; 1302 1303require.config(config); 1304})(); 1305(function() { 1306var config = { 1307 config: { 1308 mixins: { 1309 'Magento_Checkout/js/model/step-navigator': { 1310 'PayPal_Braintree/js/model/step-navigator-mixin': true 1311 }, 1312 'Magento_Checkout/js/model/place-order': { 1313 'PayPal_Braintree/js/model/place-order-mixin': true 1314 }, 1315 'Magento_ReCaptchaWebapiUi/js/webapiReCaptchaRegistry': { 1316 'PayPal_Braintree/js/reCaptcha/webapiReCaptchaRegistry-mixin': true 1317 } 1318 } 1319 }, 1320 map: { 1321 '*': { 1322 braintreeCheckoutPayPalAdapter: 'PayPal_Braintree/js/view/payment/adapter' 1323 } 1324 }, 1325}; 1326 1327require.config(config); 1328})(); 1329(function() { 1330var config = { 1331 map: { 1332 '*': { 1333 checkCustomerCart: 'Rally_Checkout/js/cart-status', 1334 rallyCheckoutData: 'Rally_Checkout/js/checkout-data' 1335 } 1336 }, 1337 config: { 1338 mixins: { 1339 'Magento_Checkout/js/view/summary/item/details/thumbnail': { 1340 'Rally_Checkout/js/view/summary/item/details/thumbnail-mixin': true 1341 }, 1342 'Magento_Checkout/js/view/summary/cart-items': { 1343 'Rally_Checkout/js/view/summary/cart-items-mixin': true 1344 } 1345 } 1346 } 1347} 1348 1349require.config(config); 1350})(); 1351(function() { 1352var config = { 1353 config: { 1354 mixins: { 1355 'Magento_Swatches/js/swatch-renderer': { 1356 'Yireo_Webp2/js/swatch-renderer-mixin': true 1357 }, 1358 'mage/gallery/gallery': { 1359 'Yireo_Webp2/js/gallery-mixin': true 1360 } 1361 } 1362 }, 1363 deps: [ 1364 'Yireo_Webp2/js/add-webp-class-to-body' 1365 ] 1366}; 1367 1368require.config(config); 1369})(); 1370(function() { 1371/** 1372 * Copyright © Magento, Inc. All rights reserved. 1373 * See COPYING.txt for license details. 1374 */ 1375 1376var config = { 1377 deps: [ 1378 'Magento_Theme/js/theme' 1379 ] 1380}; 1381 1382require.config(config); 1383})(); 1384(function() { 1385var config = { 1386 map: { 1387 '*': { 1388 dna_qty_field: 'js/qty', 1389 review_slider: 'js/reviews',
1390 relatedSlider: 'js/related', 1391 dnaSlider: 'js/slider', 1392 topMenu: 'js/top-menu', 1393 mobileMenu: 'js/top-menu', 1394 blogSearch: 'js/blog/search', 1395 workWithUsTabs: 'js/work-with-us', 1396 "Magento_Checkout/minicart/content.html": "DoNotAge_Theme/templates/minicart/content.html" 1397 } 1398 }, 1399 paths: { 1400 slick: 'js/slick' 1401 } 1402}; 1403 1404/* 1405 * DoNotAge â anonymous-define shield (provenance-based). 1406 * 1407 * This file is merged into the single requirejs-config.js that the storefront 1408 * loads in <head> IMMEDIATELY AFTER require.js and BEFORE the third-party <script> 1409 * tags (e.g. an A/B tool at the top of <head>), so this runs early enough to guard 1410 * RequireJS before any third-party tag executes. 1411 * 1412 * WHY: Magento's RequireJS sets `define.amd`, so any UMD bundle loaded via a plain 1413 * cross-origin <script> takes its AMD branch and calls define() ANONYMOUSLY. 1414 * RequireJS has no module id for it, parks it in the global define queue, then 1415 * mis-attributes it to whatever module's script next finishes loading. When that 1416 * module is `jquery`, jQuery resolves to the wrong object -> "$ is not a function" 1417 * across the whole storefront -> Magento never boots -> Proceed to Checkout and 1418 * Add to Cart are dead no-ops. 1419 * 1420 * WHAT (changed for #279): route define() by the PROVENANCE of the calling script 1421 * instead of by a denylist of vendor hostnames. 1422 * 1423 * - named define(...) -> pass through (never mis-attributed) 1424 * - anonymous, script has data-requiremodule -> pass through (RequireJS set that 1425 * attribute on the node it created, 1426 * so the define IS attributable) 1427 * - anonymous, any other script -> absorb + report 1428 * - anonymous, no currentScript (eval / new Function / deferred callback / 1429 * injected inline script) -> absorb + report 1430 * 1431 * The previous version denylisted `convertexperiments.com` by 1432 * `document.currentScript.src`. It shipped, it was live, and it was bypassed anyway: 1433 * the vendor's loader bundle contains no define() at all â the anonymous define comes 1434 * from the marketer-authored variation code it injects, from arbitrary hosts and 1435 * often from a context where currentScript is null. A denylist cannot be completed 1436 * against a tool whose purpose is injecting third-party JS. Provenance can. 1437 * 1438 * `define.amd` is preserved. Fully guarded; never throws. Idempotent and interlocked 1439 * with DoNotAge_Checkout::js/amd-shield.js (same `__dnaAmdShieldInstalled` flag) so 1440 * only one of the two ever wraps define on a given page. 1441 */ 1442(function () { 1443 try { 1444 var w = window, real = w.define, MAX_REPORTS = 10, reports = 0; 1445 1446 // `!real.amd` also covers the case where no define exists yet: installing a 1447 // stub there would be actively harmful, because require.js refuses to 1448 // initialise when a global `define` is already present ("If a define is 1449 // already in play via another AMD loader, do not overwrite", require.js 1450 // 2.3.7 line 183) â a shield running before require.js would leave the page 1451 // with NO loader at all. 1452 if (typeof real !== 'function' || !real.amd || real.__dnaFirewalled) { return; } 1453 if (w.__dnaAmdShieldInstalled) { return; } // module shield already installed 1454 w.__dnaAmdShieldInstalled = true; 1455 1456 // Browsers without document.currentScript (IE) cannot tell us where a define 1457 // came from, so every legitimate Magento module would look 'unknown'. Detect 1458 // support ONCE and keep the old pass-through there â absorbing on those 1459 // browsers would take the storefront down, which is the very failure this 1460 // shield exists to prevent. 1461 var CURRENT_SCRIPT_SUPPORTED = false; 1462 try { CURRENT_SCRIPT_SUPPORTED = ('currentScript' in w.document); } catch (e) {} 1463 1464 /* 1465 * Queue a diagnostic for DoNotAge_FrontendLogging. Its snippet renders in 1466 * head.additional â AFTER this file and after the third-party tags â so its 1467 * capture() does not exist yet at define() time. Pushing onto a plain array 1468 * is order-independent: the logger drains __dnaErrLogQ on init and sanitises 1469 * every field there (URLs reduced to path-only). If it never loads, the 1470 * array is simply never read. 1471 */ 1472 function report(kind, message, source) { 1473 try { 1474 if (reports >= MAX_REPORTS) { return; } 1475 reports++; 1476 var q = w.__dnaErrLogQ = w.__dnaErrLogQ || []; 1477 q.push({ kind: kind, message: message, source: source, page: w.location.href }); 1478 } catch (e) { /* diagnostics must never break the page */ } 1479 } 1480 1481 // 'requirejs' = node RequireJS created (req.createNode sets the attribute), 1482 // 'external' = a real script element it did not create, 1483 // 'unknown' = no currentScript at all (eval / callback / injected inline). 1484 function originOfCall() { 1485 try { 1486 var cs = w.document.currentScript; 1487 if (!cs || typeof cs.getAttribute !== 'function') { return 'unknown'; } 1488 return cs.getAttribute('data-requiremodule') ? 'requirejs' : 'external'; 1489 } catch (e) { return 'unknown'; } 1490 } 1491 function sourceOfCall() { 1492 try { 1493 var cs = w.document.currentScript; 1494 return (cs && cs.src) || '(inline or eval)'; 1495 } catch (e) { return '(unavailable)'; } 1496 } 1497 1498 function wrapped(id) { 1499 var origin; 1500 try { 1501 // Only anonymous defines (first arg is deps/factory, not a string 1502 // module id) can be mis-attributed by RequireJS. 1503 if (typeof id !== 'string') { 1504 origin = originOfCall(); 1505 // 'unknown' on a browser without currentScript support means we 1506 // simply cannot tell â pass through rather than risk swallowing 1507 // a real module. 1508 // 1509 // KILL SWITCH: `window.__dnaAmdShieldPassUnknown = true` (set 1510 // from a tag manager, i.e. WITHOUT a Magento release) reverts 1511 // this branch to pass-through. It is the one case that c
1511ould in 1512 // theory swallow a legitimate define â a loader plugin using 1513 // onload.fromText(), or scriptType 'module'; neither exists in 1514 // this install (verified) â and a store deploy rides a dated 1515 // release branch, so the escape hatch must not need one. 1516 if (origin === 'unknown' && 1517 (!CURRENT_SCRIPT_SUPPORTED || w.__dnaAmdShieldPassUnknown === true)) { 1518 return real.apply(this, arguments); 1519 } 1520 if (origin !== 'requirejs') { 1521 report( 1522 'anon-define-quarantine', 1523 'Absorbed anonymous define() from a non-RequireJS script (' + origin + ')', 1524 sourceOfCall() 1525 ); 1526 return; // never reaches RequireJS's global define queue 1527 } 1528 } 1529 } catch (e) {} 1530 return real.apply(this, arguments); 1531 } 1532 1533 /* 1534 * Integrity canary â passive, one shot, no forced module load. If a define 1535 * ever slips past the shield the visible symptom is a scatter of downstream 1536 * TypeErrors ($ is not a function, undefined .ui / .Color / .Deferred) that 1537 * takes log archaeology to trace back. Report the actual condition by name. 1538 */ 1539 function checkJqueryIntegrity(attempt) { 1540 try { 1541 var rq = w.requirejs || w.require, jq; 1542 if (!rq || typeof rq.defined !== 'function') { return; } 1543 if (!rq.defined('jquery')) { 1544 // RequireJS injects its module <script> nodes dynamically, and 1545 // those do not hold back window.load â so jQuery can still be in 1546 // flight here. Re-check a few times before concluding the page 1547 // simply never loads jQuery (verified: the canary silently 1548 // no-opped without this). 1549 if (attempt < 3) { 1550 w.setTimeout(function () { checkJqueryIntegrity(attempt + 1); }, 2000); 1551 } 1552 return; 1553 } 1554 jq = rq('jquery'); 1555 if (typeof jq !== 'function') { 1556 report( 1557 'requirejs-integrity', 1558 'jquery module resolved to ' + (jq === null ? 'null' : typeof jq) + 1559 ' â RequireJS state is corrupted, storefront JS is dead' 1560 ); 1561 } 1562 } catch (e) {} 1563 } 1564 1565 try { for (var k in real) { if (!(k in wrapped)) { wrapped[k] = real[k]; } } } catch (e) {} 1566 wrapped.amd = real.amd; // keep AMD detection intact for everyone else 1567 wrapped.__dnaFirewalled = 1; 1568 w.define = wrapped; 1569 1570 try { 1571 if (w.addEventListener) { 1572 w.addEventListener('load', function () { checkJqueryIntegrity(0); }); 1573 } 1574 } catch (e) {} 1575 } catch (e) { /* never break the requirejs bootstrap */ } 1576})(); 1577 1578require.config(config); 1579})(); 1580 1581 1582 1583})(require);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.