var yotpoWidgetsContainer = yotpoWidgetsContainer || {}; (function(){ var loader = { loadDep: function (link, onLoad, strategy) { var script = document.createElement('script'); script.onload = onLoad || function(){}; script.src = link; if (strategy === 'defer') { script.defer = true; } else if (strategy === 'async') { script.async = true; } script.setAttribute("type", "text/javascript"); script.setAttribute("charset", "utf-8"); document.head.appendChild(script); }, config: { data: { guid: "E0PvEj2XGyG-KRL0uYdw4A" }, widgets: { "3783": { instanceId: "3783", instanceVersionId: "252406", templateAssetUrl: "https://cdn-widget-assets.yotpo.com/widget-referral-widget/app.v1.4.0-1352.js", cssOverrideAssetUrl: "https://cdn-widget-assets.yotpo.com/ReferralWidget/E0PvEj2XGyG-KRL0uYdw4A/css-overrides/css-overrides.2020_07_27_15_42_46_854.css", customizationCssUrl: "", customizations: { "background-color": "rgba( 255, 255, 255, 1 )", "background-image-url": "https://cdn-widget-assets.yotpo.com/static_assets/E0PvEj2XGyG-KRL0uYdw4A/images/image_2020_07_03_07_01_57_030", "customer-email-view-button-text": "Next", "customer-email-view-description": "Give your friends $20 off on their first order of $80+ and get $20 for each successful referral.", "customer-email-view-header": "Refer a Friend", "customer-email-view-title": "Give $20, Get $20", "description-color": "rgba( 63, 71, 68, 1 )", "description-font-name-and-url": "Open Sans#https://fonts.googleapis.com/css?family=Open+Sans\u0026display=swap", "description-font-size": "12px", "final-view-button-text": "Refer More Friends", "final-view-description": "Remind your friends to check their emails", "final-view-error-description": "We were unable to send the referral link", "final-view-error-text": "Go Back", "final-view-error-title": "SOMETHING WENT WRONG", "final-view-title": "THANKS FOR REFERRING", "fonts-primary-font-name-and-url": "Work Sans@700|https://fonts.googleapis.com/css?family=Work+Sans:700\u0026display=swap", "fonts-secondary-font-name-and-url": "Work Sans@400|https://fonts.googleapis.com/css?family=Work+Sans:400\u0026display=swap", "header-color": "rgba( 63, 71, 68, 1 )", "header-font-name-and-url": "Open Sans#https://fonts.googleapis.com/css?family=Open+Sans\u0026display=swap", "header-font-size": "20px", "next-button-background-color": "rgba( 60, 69, 70, 1 )", "next-button-font-size": "18px", "next-button-size": "standard", "next-button-text-color": "rgba( 237, 241, 241, 1 )", "next-button-type": "filled_rectangle", "referral-history-completed-points-text": "{{points}} POINTS", "referral-history-completed-status-type": "text", "referral-history-confirmed-status": "Completed", "referral-history-pending-status": "Pending", "referral-history-points-reward": 0, "referral-history-redeem-text": "Now, the fun part! Simply redeem the points\nyou've earned in the cart.", "referral-history-sumup-line-points-text": "{{points}} POINTS", "referral-history-sumup-line-text": "Your Rewards", "referral-views-button-text": "Send", "referral-views-description": "Give your friends $20 off on their first order of $80+ and get $20 for each successful referral.", "referral-views-email-share-body": "How does a discount off your first order at {{company_name}} sound? Use the link below and once you've shopped, I'll get a reward too.\n{{referral_link}}", "referral-views-email-share-subject": "Discount to a Store You'll Love!", "referral-views-email-share-type": "marketing_email", "referral-views-header": "Refer a Friend", "referral-views-personal-email-button-text": "SEND VIA MY EMAIL", "referral-views-title": "Give $20, Get $20", "share-allow-copy-link": true, "share-allow-facebook": true, "share-allow-sms": true, "share-allow-twitter": true, "share-allow-whatsapp": "false", "share-facebook-description": "You’ll love {{company_name}} as much as I do", "share-facebook-header": "Earn A Discount When You Shop Today!", "share-facebook-image-url": "", "share-icons-color": "black", "share-settings-copyLink": true, "share-settings-facebook": true, "share-settings-fbMessenger": true, "share-settings-mobile-copyLink": true, "share-settings-mobile-facebook": true, "share-settings-mobile-fbMessenger": true, "share-settings-mobile-sms": true, "share-settings-mobile-twitter": true, "share-settings-mobile-whatsapp": true, "share-settings-twitter": true, "share-settings-whatsapp": true, "share-sms-message": "I love {{company_name}}! Shop through my link to get a reward {{referral_link}}", "share-twitter-message": "These guys are great! Get a discount using my link: ", "share-whatsapp-message": "I love {{company_name}}! Shop through my link to get a reward {{referral_link}}", "tab-size": "medium", "tab-type": "rectangle", "tab-view-primary-tab-text": "Refer a Friend", "tab-view-secondary-tab-text": "Your Referrals", "tile-color": "rgba( 255, 255, 255, 1 )", "title-color": "rgba( 63, 71, 68, 1 )", "title-font-name-and-url": "Open Sans#https://fonts.googleapis.com/css?family=Open+Sans\u0026display=swap", "title-font-size": "28px", "view-exit-intent-enabled": false, "view-exit-intent-mobile-timeout-ms": 10000, "view-is-popup": false, "view-layout": "right", "view-popup-delay-ms": 0, "view-show-popup-on-exit": false, "view-show-referral-history": "true", "view-table-rectangular-dark-pending-color": "rgba( 0, 0, 0, 0.6 )", "view-table-rectangular-light-pending-color": "#FFFFFF", "view-table-selected-color": "rgba( 237, 235, 237, 1 )", "view-table-theme": "light", "view-table-type": "rectangular", "wadmin-text-and-share-choose-sreen": "step_3" }, staticContent: { "companyName": "Kion", "currency": "USD", "hasPrimaryFontsFeature": true, "merchantId": "58554", "platformName": "shopify", "referralHistoryEnabled": true, "referralHost": "http://rwrd.io" }, className: "ReferralWidget" }, } }, initializer: "https://cdn-widget-assets.yotpo.com/widgets-initializer/app.v0.0.36-1777.js", analytics: "https://p.yotpo.com/js/bundle.js" } var initWidgets = function (config) { const widgetInitializer = yotpoWidgetsContainer['yotpo_widget_initializer'](config); return widgetInitializer.initWidgets(); }; var onInitializerLoad = function (config) { yotpoWidgetsContainer.initWidgets = function () { return initWidgets(config); } yotpoWidgetsContainer.initWidgets(); }; if (!yotpoWidgetsContainer.yotpo_widget_scripts_loaded) { yotpoWidgetsContainer.yotpo_widget_scripts_loaded = true; yotpoWidgetsContainer.onInitializerLoad = function () { onInitializerLoad(loader.config) }; loader.loadDep(loader.analytics, function () {}, 'defer'); loader.loadDep(loader.initializer, function () { yotpoWidgetsContainer.onInitializerLoad() }, 'async'); } })()