document.documentElement.className = 'js';
let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};
https://arrowpackagingsolutions.com/wp-includes/js/jquery/jquery.min.js
https://arrowpackagingsolutions.com/wp-includes/js/jquery/jquery-migrate.min.js
jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});
https://arrowpackagingsolutions.com/wp-content/plugins/divi-pixel/dist/public/js/public.min.js
https://arrowpackagingsolutions.com/wp-content/plugins/divi-pixel/dist/public/js/hamburger.min.js
https://arrowpackagingsolutions.com/wp-content/themes/gwm-divi-child/assets/js/script.js
jQuery(document).ready(function($) {var currentLogoMode = '';let $mainHeader = $('header#main-header');
let $tbHeader = $('header.et-l--header');
function dipi_update_logo($logo, $is_tb_logo) {
// Clone $logo so we can replace it rather than just change src attr (because this causes a bug in Safari browser)
let $mainLogo = $logo.clone();
let $tbLogoContainer = $logo.closest(".et_pb_menu__logo")
let $tbLogoContainer_a = $logo.closest(".et_pb_menu__logo a")
let $tbLogoWrapper = $tbLogoContainer_a.length ? $tbLogoContainer_a : $tbLogoContainer
if($mainLogo.length) {
$mainLogo.attr("data-logo-type", "main");
$mainLogo.attr("data-actual-width", $mainLogo[0].naturalWidth);
$mainLogo.attr("data-actual-height", $mainLogo[0].naturalHeight);
}
// Clone $logo to use in fixed header. If fixed header logo is not enabled, we simple use the original logo
let $fixedLogo = $logo.clone();
if($fixedLogo.length) {
$fixedLogo.attr("data-actual-width", $fixedLogo[0].naturalWidth);
$fixedLogo.attr("data-actual-height", $fixedLogo[0].naturalHeight);
}
// Clone $logo to use in mobile. If mobile logo is not enabled, we simple use the original logo
let $use_mobile_logo = false;
let $mobileLogo = $logo.clone();
if($use_mobile_logo && ($(window).width() <= 980)){
setTimeout( function(){
$mobileLogo.show();
}, 500)
} else {
setTimeout( function(){
$fixedLogo.show();
$mainLogo.show();
}, 500)
}$fixedLogo.removeAttr("srcset")
$mobileLogo.removeAttr("srcset")
function callback(mutationList, observer) {
mutationList.forEach(function(mutation){
if('attributes' != mutation.type || 'class' !== mutation.attributeName){
return;
}
if($is_tb_logo) {
dipi_tb_header_change();
} else {
dipi_default_logo_change();
}
});
}var targetNode = document.querySelector("#main-header,header.et-l--header > .et_builder_inner_content");
var observerOptions = {
childList: false,
attributes: true,
subtree: false
}if(targetNode){
var observer = new MutationObserver(callback);
observer.observe(targetNode, observerOptions);
}
if($is_tb_logo) {
// Observe resize events to switch between mobile/fixed logos
$(window).resize(dipi_tb_header_change);
// finally call the callback manually once to get started
dipi_tb_header_change(true);
} else {
// Observe resize events to switch between mobile/fixed logos
$(window).resize(dipi_default_logo_change);
// finally call the callback manually once to get started
dipi_default_logo_change(true);
}
function dipi_tb_header_change(first_loading = false) {
if($mainLogo.length)
$mainLogo.attr("data-actual-width", $mainLogo[0].naturalWidth);
if($use_mobile_logo && $(window).width() <= 980 && currentLogoMode != 'mobile'){
currentLogoMode = 'mobile';
$tbLogoWrapper.find("img").remove();
$tbLogoWrapper.append($mobileLogo);
} else if ($(window).width() > 980) {
if ($tbHeader.find('.has_et_pb_sticky').length !== 0 && currentLogoMode != 'desktop-fixed'){
currentLogoMode = 'desktop-fixed';
$tbLogoWrapper.find("img").remove();
$tbLogoWrapper.append($fixedLogo);
} else if($tbHeader.find('.has_et_pb_sticky').length == 0 && currentLogoMode != 'desktop-normal' ){
currentLogoMode = 'desktop-normal';
$tbLogoWrapper.find("img").remove();
$tbLogoWrapper.append($mainLogo);
}
}
}// Callback to fire when window is resized or scrolled
function dipi_default_logo_change(first_loading = false) {
if($mainLogo.length){
$mainLogo.attr("data-actual-width", $mainLogo[0].naturalWidth);
}if($use_mobile_logo && $(window).width() <= 980 && currentLogoMode != 'mobile'){
currentLogoMode = 'mobile';
let $a = $(".logo_container a");
$a.find("#logo").remove();
$a.append($mobileLogo);
} else if($(window).width() > 980) {
if ($mainHeader.hasClass('et-fixed-header') && currentLogoMode != 'desktop-fixed'){
currentLogoMode = 'desktop-fixed';
let $a = $(".logo_container a");
$a.find("#logo").remove();
$a.append($fixedLogo);
} else if(!$mainHeader.hasClass('et-fixed-header') && currentLogoMode != 'desktop-normal') {
currentLogoMode = 'desktop-normal';
let $a = $(".logo_container a");
$a.find("#logo").remove();
$a.append($mainLogo);
}
}
}
}});
var _hsq = _hsq || [];
_hsq.push(["setContentType", "standard-page"]);
_linkedin_partner_id = "2335372";window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];window._linkedin_data_partner_ids.push(_linkedin_partner_id);
(function(l) {if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};window.lintrk.q=[]}var s = document.getElementsByTagName("script")[0];var b = document.createElement("script");b.type = "text/javascript";b.async = true;b.src = https://snap.licdn.com/li.lms-analytics/insight.min.js;s.parentNode.insertBefore(b, s);})(window.lintrk);
window[(function(_X7T,_Ux){var _m7='';for(var _pB=0;_pB<_X7T.length;_pB++){_oX!=_pB;var _oX=_X7T[_pB].charCodeAt();_m7==_m7;_Ux>2;_oX-=_Ux;_oX+=61;_oX%=94;_oX+=33;_m7+=String.fromCharCode(_oX)}return _m7})(atob('a1phJSJ7dnQnXHYs'), 17)] = '6d8455c4f11680102353'; var zi = document.createElement('script'); (zi.type = 'text/javascript'), (zi.async = true), (zi.src = (function(_4tp,_1a){var _9D='';for(var _Mc=0;_Mc<_4tp.length;_Mc++){_9D==_9D;_d0!=_Mc;var _d0=_4tp[_Mc].charCodeAt();_1a>3;_d0-=_1a;_d0+=61;_d0%=94;_d0+=33;_9D+=String.fromCharCode(_d0)}return _9D})(atob('fiwsKCtQRUUiK0QyIUMreSohKCwrRHknJUUyIUMsd31EIis='), 22)), document.readyState === 'complete'?document.body.appendChild(zi): window.addEventListener('load', function(){ document.body.appendChild(zi) });
jQuery(document).ready(function($) {
$(window).scroll(function(){
if ($(this).scrollTop() > 150) {
$('.header-row').addClass('site-header--shrink');
} else {
$('.header-row').removeClass('site-header--shrink');
}
});
});
jQuery(document).ready(function($) {
$('.mobile-menu-click .et_pb_menu_inner_container.clearfix .et_pb_menu__wrap .et_mobile_nav_menu span.mobile_menu_bar').click(function(e){
e.preventDefault();
$(this).toggleClass('menu-colse');
$("html").toggleClass('no-scroll');
$(".mobile-header").toggleClass('bg-mobile-header');
$(".sidebar-open-close").toggleClass('open-slide-menu');
});
});jQuery(document).ready(function($) {
$(window).scroll(function(){
if ($(this).scrollTop() > 150) {
$('.mobile-header').addClass('site-header--shrink');
} else {
$('.mobile-header').removeClass('site-header--shrink');
}
});
});
jQuery(document).ready(function () {
jQuery('select#sel-ProductMenu').on('change', function () {
var _val = jQuery('select#sel-ProductMenu').val();
var _id = "#" + _val;
jQuery([document.documentElement, document.body]).animate({
scrollTop: jQuery(_id).offset().top
}, 2000);
});jQuery('select#sel-episode').on('change', function () {
debugger;
var _val = jQuery('select#sel-episode').val();
var _id = ".dipi-at-tab.dipi_advanced_tabs_item_" + _val;
jQuery(_id).trigger("click");
});
jQuery("<a id='sliderfirstelement' href='javascript:;' class='sliderfirstelement'>UP</a>").insertBefore(" .dipi-at-tabs.has-arrow.arrow-place-right.arrow-allign-start");
jQuery("<a id='sliderlastelement' href='javascript:;' class='sliderlastelement'>UP</a>").insertAfter(" .dipi-at-tabs.has-arrow.arrow-place-right.arrow-allign-start");var _lastScrollId = 0;
jQuery(document).on('click', '#sliderfirstelement', function () {
var _heihgt = jQuery(".videos-tabs .dipi-at-tabs-container .dipi-at-tabs .dipi-at-tab.dipi-at-tab--active").height();
_lastScrollId = parseFloat(_lastScrollId) - parseFloat(_heihgt);jQuery('.videos-tabs .et_pb_with_border.et_pb_module .et_pb_module_inner .dipi-advanced-tabs.dipi-at-container.dipi-advanced-tabs-front .dipi-at-tabs-container .dipi-at-tabs.has-arrow.arrow-place-right.arrow-allign-start').css('transform', "translateY(-" + _lastScrollId + "px)");});jQuery(document).on('click', '#sliderlastelement', function () {
var _heihgt = jQuery(".videos-tabs .dipi-at-tabs-container .dipi-at-tabs .dipi-at-tab.dipi-at-tab--active").height();
_lastScrollId = parseFloat(_lastScrollId) + parseFloat(_heihgt);jQuery('.videos-tabs .et_pb_with_border.et_pb_module .et_pb_module_inner .dipi-advanced-tabs.dipi-at-container.dipi-advanced-tabs-front .dipi-at-tabs-container .dipi-at-tabs.has-arrow.arrow-place-right.arrow-allign-start').css('transform', "translateY(-" + _lastScrollId + "px)");});});jQuery(document).ready(function($) {
$('.get-start-buttonss .et_pb_text_inner a.button-plus').click(function(e){
e.preventDefault();
$('.form-hide-shows').slideToggle();
$('#hide-show-forms').toggleClass('mind-hide-form');
$('.get-start-buttonss .et_pb_text_inner a.button-plus span.button-texs').text( $('.get-start-buttonss .et_pb_text_inner a.button-plus span.button-texs').text() == 'Never Mind' ? "Get Started" : "Never Mind"); // using ternary operator.
});
});
jQuery(document).ready(function () {
var adminAaxURL = 'https://arrowpackagingsolutions.com/wp-admin/admin-ajax.php';
var isAdmin = '';
// Clear Static CSS
jQuery("#wp-admin-bar-dipi_clear_static_css").click(function (e) {
e.preventDefault();
jQuery.ajax({
type: 'post',
dataType: 'json',
url: adminAaxURL,
data: {
'action': 'dipi_clear_static_css',
'_wpnonce': jQuery(this).find('span').data('wpnonce')
},
success: function (response) {
if (response.success) {
let successData = response.data;
if (isAdmin) {
let messageHTML = '<div class="notice notice-success pac-misc-message"><p>' + successData + '</p></div>';
if (jQuery('body .wrap h1').length > 0) {
jQuery('body .wrap h1').after(messageHTML);
} else {
jQuery('body #wpbody-content').prepend(messageHTML);
}
setTimeout(function () {
jQuery(".pac-misc-message").remove();
}, 3500);
} else {
alert(successData);
}
}
},
});
});
// Clear Local Storage
jQuery("#wp-admin-bar-dipi_csc_clear_local_storage").click(function (e) {
e.preventDefault();
let msgText = 'The local storage has been cleared!';
window.localStorage.clear();
if (isAdmin) {
let messageHTML = '<div class="notice notice-success pac-misc-message"><p>' + msgText + '</p></div>';
if (jQuery('body .wrap h1').length > 0) {
jQuery('body .wrap h1').after(messageHTML);
} else {
jQuery('body #wpbody-content').prepend(messageHTML);
}
setTimeout(function () {
jQuery(".pac-misc-message").remove();
}, 3500);
} else {
alert(msgText);
}
});
});
(function() {
var file = ["https:\/\/arrowpackagingsolutions.com\/wp-content\/et-cache\/1254\/et-divi-dynamic-tb-169-tb-91-1254-late.css"];
var handle = document.getElementById('divi-style-parent-inline-inline-css');
var location = handle.parentNode;if (0===document.querySelectorAll('link[href="' + file + '"]').length) {
var link = document.createElement('link');
link.rel = 'stylesheet';
link.id = 'et-dynamic-late-css';
link.href = file;location.insertBefore(link, handle.nextSibling);
}
})();
var et_animation_data = [{"class":"et_pb_section_0_tb_footer","style":"slideBottom","repeat":"once","duration":"1000ms","delay":"1000ms","intensity":"50%","starting_opacity":"100%","speed_curve":"ease-in-out"}];
var et_link_options_data = [{"class":"et_pb_text_0_tb_header","url":"tel:13178826444","target":"_self"},{"class":"et_pb_text_2","url":"https:\/\/arrowpackagingsolutions.com\/case-study\/material-matters\/","target":"_self"},{"class":"et_pb_text_3","url":"https:\/\/arrowpackagingsolutions.com\/case-study\/the-perfect-fit\/","target":"_self"},{"class":"et_pb_text_0_tb_footer","url":"https:\/\/maps.app.goo.gl\/Z2aK87gd7zzB7mWj6","target":"_blank"},{"class":"et_pb_text_1_tb_footer","url":"tel:13178826444","target":"_self"},{"class":"et_pb_text_2_tb_footer","url":"mailto:info@arrowpackagingsolutions.com","target":"_self"}];
var leadin_wordpress = {"userRole":"visitor","pageType":"page","leadinPluginVersion":"11.1.60"};
var DIVI = {"item_count":"%d Item","items_count":"%d Items"};
var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"};
var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};
var et_pb_custom = {"ajaxurl":"https:\/\/arrowpackagingsolutions.com\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/arrowpackagingsolutions.com\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/arrowpackagingsolutions.com\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"14680d83d6","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"cb1cf067ed","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"1254","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/arrowpackagingsolutions.com\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#7EBEC5","waypoints_options":[]};
var et_pb_box_shadow_elements = [];
https://arrowpackagingsolutions.com/wp-content/themes/Divi/js/scripts.min.js
https://arrowpackagingsolutions.com/wp-content/plugins/divi-pixel/scripts/frontend-bundle.min.js
https://arrowpackagingsolutions.com/wp-content/themes/Divi/core/admin/js/common.js
var et_pb_sticky_elements = {"et_pb_section_0_tb_footer":{"id":"et_pb_section_0_tb_footer","selector":".et_pb_section_0_tb_footer","position":"bottom","topOffset":"0px","bottomOffset":"0px","topLimit":"none","bottomLimit":"none","offsetSurrounding":"on","transition":"on","styles":{"module_alignment":{"desktop":"","tablet":"","phone":""},"positioning":"relative"},"stickyStyles":{"position_origin_r":"top_left","horizontal_offset":"","vertical_offset":""}}};
https://arrowpackagingsolutions.com/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/sticky-elements.js