1function added_modal_open_on_click() { 2 $('body').addClass('modal-open'); 3 $('html').addClass('modal-open'); 4} 5 6 7jQuery(window).on('load', function () { 8 jQuery("header .header-account-wrapper .account-name-wrapper").css("display", "inline-flex"); 9}); 10 11jQuery(function ($) { 12 $(document).ready(function () { 13 let testimonialSlider = $('.testimmonials__wrapper'); 14 if (testimonialSlider.size()) { 15 testimonialSlider.owlCarousel({ 16 nav: true, 17 items: 1, 18 slideSpeed: 300, 19 dots: false, 20 paginationSpeed: 400, 21 navText: ["<img src='/wp-content/themes/bridge-child/images/orthoworld/chevron-left_black.svg'>", "<img src='/wp-content/themes/bridge-child/images/orthoworld/chevron-left_black.svg'>"], 22 loop: true, 23 responsive: { 24 0: {items: 1.1}, 25 1023: {items: 1} 26 }, 27 }); 28 } 29 30 let logoSlider = $('.logo-slider__wrapper'); 31 if (logoSlider.size()) { 32 logoSlider.owlCarousel({ 33 nav: true, 34 items: 4, 35 slideSpeed: 300, 36 dots: false, 37 paginationSpeed: 400, 38 navText: ["<img src='/wp-content/themes/bridge-child/images/orthoworld/chevron-left_black.svg'>", "<img src='/wp-content/themes/bridge-child/images/orthoworld/chevron-left_black.svg'>"], 39 loop: true, 40 responsive: { 41 0: {items: 1.27, margin: 32}, 42 500: {items: 3, margin: 32}, 43 767: {items: 3, margin: 48}, 44 1023: {items: 4, margin: 48} 45 }, 46 }); 47 } 48 49 $('.collapsable.collapsed').hide(); 50 $(".individual-subscription-plans- .subscription__wrapper > .container > .see-details").click(function () { 51 $(this).text(($(this).text() == 'Compare plans') ? 'Hide details' : 'Compare plans').fadeIn(); 52 $('.collapsable.collapsed').slideToggle('slow'); 53 $(this).toggleClass('active'); 54 }); 55 56 $(".store-business-plans- .subscription__wrapper > .container > .see-details").click(function () { 57 $(this).text(($(this).text() == 'View Executive Membership benefits') ? 'Hide details' : 'View Executive Membership benefits').fadeIn(); 58 $('.collapsable.collapsed').slideToggle('slow'); 59 $(this).toggleClass('active'); 60 61 if($(this).hasClass('active')) { 62 $('body .subscription__wrapper>.container').css('z-index', '999'); 63 $('.subscription__wrapper > .elite_add_on_container').css('z-index', parseInt($('body .subscription__wrapper>.container').css('z-index')) - 1); 64 } else { 65 sleep(1000); 66 $('.subscription__wrapper > .elite_add_on_container').css('z-index', parseInt($('body .subscription__wrapper>.container').css('z-index'))); 67 } 68 }); 69 70 $(".wpb_raw_html .see-details.industrial").click(function () { 71 $(this).text(($(this).text() == 'See more details') ? 'Hide details' : 'See more details').fadeIn(); 72 $('.collapsable.collapsed').slideToggle('slow'); 73 $(this).toggleClass('active'); 74 }); 75 76 77 var link = $("a.scrollLink"); 78 if (link.length) { 79 $("a.scrollLink").click(function (event) { 80 event.preventDefault(); 81 $("html, body").animate({scrollTop: $($(this).attr("href")).offset().top - 106}, 500); 82 }); 83 84 if(typeof $(window.location.hash) !== 'undefined' && $(window.location.hash).length > 0) { 85 $("html, body").animate({scrollTop: $(window.location.hash).offset().top - 106}, 500); 86 } 87 } 88 89 $('.report-contents .report-contents_text-row').appendTo('.report-contents_text-column.vc_col-sm-6'); 90 91 $('.who-uses-report__row').appendTo('.who-uses-the-report .vc_col-sm-6:first-child'); 92 93 $('.full_width.webinar .post_text_inner .webinar-watch-now button').click(function () { 94 $('html, body').addClass('modal-open'); 95 }); 96 97 $('#webinar-video-popup .popup-header .close-popup img').click(function () { 98 $('html, body').removeClass('modal-open'); 99 }); 100 101 102 103 104 $(".header-left-from-logo-widget-inner2 .textwidget svg.menu-icon, .header-left-from-logo-widget-inner2 .textwidget img.search-icon").click(function (event) { 105 var maxHeight = 0; 106 $('nav.main_menu ul#menu-main-nav > li').each(function () { 107 var currentHeight = $(this).find(".second").height(); 108 if (maxHeight < currentHeight) { 109 maxHeight = currentHeight; 110 } 111 }); 112 maxHeight = maxHeight + 95; 113 $('<style>body .holeder_for_hidden_menu:before {height: ' + maxHeight + 'px;}</style>').appendTo('head'); 114 }); 115 116 }); 117 118 $("[class*='sg-popup-id-'], .sample-popup-open, .m-a_sample-popup-open").click(function () { 119 120 $('body').addClass('modal-open'); 121 $('html').addClass('modal-open'); 122 setTimeout(function() { 123 $('body').addClass('modal-open'); 124 $('html').addClass('modal-open'); 125 }, 1000); 126 }); 127 128 $(document).on('click', "[class*='sg-popup-id-'], .sample-popup-open, .m-a_sample-popup-open, .sample-popup-open button, .free-sample.sample-popup-open, #sample-popup-open-1, #sample-popup-open-2, #sample-popup-open-1 button, #sample-popup-open-2 button", function () { 129 130 $('body').addClass('modal-open'); 131 $('html').addClass('modal-open'); 132 setTimeout(function() { 133 $('body').addClass('modal-open'); 134 $('html').addClass('modal-open'); 135 }, 1000); 136 }); 137 138 $(document).on('click','.sgpb-popup-close-button-1',function(){ 139 $('body').removeClass('modal-open'); 140 $('html').removeClass('modal-open'); 141 }); 142
143 $("#confirmChangesModal .modal-body .discard_save_changes, #addMember .modal-header .close, #removeInviteMember .modal-dialog .modal-body .button-wrapper .dismiss, #removeMember .modal-dialog .modal-body .button-wrapper .dismiss").click(function () { 144 $('body').removeClass('modal-open'); 145 $('html').removeClass('modal-open'); 146 }); 147 148 $('body.my-account-manage-subscriptions-.modal-open').on('click', ":not(#confirmChangesModal .modal-dialog)", function(){ 149 $('body').removeClass('modal-open'); 150 $('html').removeClass('modal-open'); 151 }); 152 153 $('body.my-account-manage-team-.modal-open').on('click', ":not(#addMember .modal-dialog, #removeInviteMember .modal-dialog, #removeMember .modal-dialog)", function(){ 154 $('body').removeClass('modal-open'); 155 $('html').removeClass('modal-open'); 156 }); 157 158 setTimeout(function () { 159 $(".single-post .simplefavorite-button").prependTo(".wrapper-social .top-wrapper"); 160 }, 3000); 161 162 if ($(window).width() <= '767') { 163 $('body .newsletters-container .wp-block-columns.has-background .wp-block-column:nth-child(2) p:first-child').appendTo('body .newsletters-container .wp-block-columns.has-background'); 164 } 165 166 function windowSizeMove() { 167 if ($(window).width() <= '767') { 168 $('.about-us_our-team-fixed .vc_row.wpb_row.section .vc_column_container.vc_col-sm-4').appendTo('.about-us_our-team-fixed .vc_row.wpb_row.section.team-first-section .full_section_inner'); 169 170 $('body.post-type-archive-newsletters .newsletters-title').appendTo('body.post-type-archive-newsletters .newsletters-top-area'); 171 172 $('body .knowledge-is-power h4').prependTo('.knowledge-is-power .full_section_inner .vc_col-sm-12 .vc_column-inner .wpb_wrapper > .vc_row:not(.button-wrapper) > .full_section_inner >
172 .vc_col-sm-6:first-child'); 173 174 $('.full_width.webinar .inset-block__container h1').appendTo('body .full_width.webinar .blog_holder'); 175 176 } 177 } 178 179 $(window).on('load resize', windowSizeMove); 180 181 $('.show-hide-filters').click(function () { 182 $('#seacrh_filters').slideToggle("slow").toggleClass('active'); 183 }); 184 185 //$('.information-products .tab .tab_button-wrapper button:first-child').addClass('active'); 186 187 $('.information-products .tab .tab_button-wrapper button').click(function () { 188 $(this).closest('.tab_button-wrapper').find('button.active').removeClass('active'); 189 $(this).addClass('active'); 190 }); 191 192 $('.page-template-oem-directory .from-filters #oem_filters .slide_down_section > div.record_type .filter-items:nth-child(2)').addClass('active'); 193 194 195 $('.page-template-oem-directory .from-filters #oem_filters .slide_down_section > div.record_type .filter-items input[type="radio"]').click(function () { 196 $(this).closest('.record_type').find('.filter-items.active').removeClass('active'); 197 $(this).closest('.filter-items').addClass('active'); 198 }); 199 200 $('.page-template-oem-directory .from-filters #oem_filters .slide_down_section > div.select_continent .filter-items input[type="checkbox"]').click(function () { 201 $(this).closest('.filter-items').toggleClass('active'); 202 }); 203 204 window.onorientationchange = function() { 205 window.location.reload(); 206 }; 207 208 $('.page-template-oem-directory .from-filters #oem_filters > div.show_more a').click(function () { 209 $(this).toggleClass('active'); 210 }); 211 212 var windowWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 213 214 function windowSize() { 215 var filterLeft = $('.from-filters'); 216 var wrapperfilterLeft = $('.oem_wrapper'); 217 var blockLeft = $('.report-contents .vc_row.wpb_row:not(.report-contents_text-row) > .full_section_inner >
217 .vc_col-sm-6:not(.report-contents_text-column)'); 218 var wrapperBlockLeft = $('.report-contents'); 219 220 var windowWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 221 222 if (windowWidth >= 767) { 223 let navPos = 0; 224 if(filterLeft.length > 0) { 225 if (wrapperfilterLeft.find($('.from-filters'))) { 226 navPos = filterLeft.offset().top; 227 } else { 228 navPos = filterLeft.offset().top; 229 } 230 } 231 232 $(window).scroll(function () { 233 let winPos = $(window).scrollTop(); 234 235 if (winPos + 130 >= navPos) { 236 wrapperfilterLeft.addClass('section-action'); 237 filterLeft.addClass('fixed-custom'); 238 $('body').addClass('body-custom-scroll'); 239 $('.from-filters').css({ 240 'max-height': $(window).height() - 125 + 'px' 241 }); 242 } else { 243 wrapperfilterLeft.removeClass('section-action'); 244 filterLeft.removeClass('fixed-custom'); 245 $('body').removeClass('body-custom-scroll'); 246 $('.from-filters').css({ 247 'max-height': 'auto' 248 }); 249 } 250 251 }); 252 253 let navPosBlock = 0; 254 if(blockLeft.length > 0) { 255 if (wrapperBlockLeft.find(blockLeft)) { 256 navPosBlock = blockLeft.offset().top; 257 } else { 258 navPosBlock = blockLeft.offset().top; 259 } 260 } 261 262 $(window).scroll(function () { 263 let winPos = $(window).scrollTop(); 264 265 if (winPos + 130 >= navPosBlock) { 266 wrapperBlockLeft.addClass('section-action'); 267 blockLeft.addClass('fixed-custom'); 268 $('body').addClass('body-custom-scroll'); 269 $('.from-filters').css({ 270 'max-height': $(window).height() - 125 + 'px' 271 }); 272 } else { 273 wrapperBlockLeft.removeClass('section-action'); 274 blockLeft.removeClass('fixed-custom'); 275 $('body').removeClass('body-custom-scroll'); 276 $('.from-filters').css({ 277 'max-height': 'auto' 278 }); 279 } 280 }); 281 282 $(".page-template-oem-directory .from-filters .show_columns div label input").change(function(){ 283 var a = $(".page-template-oem-directory .from-filters .show_columns div label input"); 284 if(a.length == a.filter(":checked").length){ 285 $('body').addClass('move-popup'); 286 } else { 287 $('body').removeClass('move-popup'); 288 } 289 }); 290 291 $('.information-products .tab .tab_button-wrapper.fixed button').click(function () { 292 $(this).closest('.tab_button-wrapper').find('button.active').removeClass('active'); 293 $(this).addClass('active'); 294 }); 295 296 $('.information-products .tab .tab_button-wrapper.fixed button.active').click(function () { 297 $(this).closest('.tab_button-wrapper').addClass('show-buttons'); 298 }); 299 } 300 } 301 302 $('.modal.business-form .popup_wrapper .right_wrapper .price-container .select-price label, .modal.individual-form .popup_wrapper .right_wrapper .price-container .select-price label').click(function () { 303 $(this).closest('.right_wrapper').find('.price-container .select-price label').removeClass('active'); 304 $(this).addClass('active'); 305 }); 306 307 $(window).on('load resize', windowSize); 308 309 if (windowWidth <= 1023) { 310 $(".subscription__wrapper .see-details").clone().prependTo(".plans__items"); 311 312 $(document).on('click', '.individual-subscription-plans- .subscription__wrapper > .container .woocommerce .plans__items .see-details', function () { 313 $(this).text(($(this).text() == 'Compare plans') ? 'Hide details' : 'Compare plans').fadeIn(); 314 $(this).closest(".plans__items").find('.collapsable.collapsed').slideToggle('slow'); 315 $(this).toggleClass('active'); 316 }); 317 318 $(document).on('click', '.store-business-plans- .subscription__wrapper > .container .woocommerce .plans__items .see-details', function () { 319 console.log('test'); 320 $(this).text(($(this).text() == 'View Executive Membership benefits') ? 'Hide details' : 'View Executive Membership benefits').fadeIn(); 321 $(this).closest(".plans__items").find('.collapsable.collapsed').slideToggle('slow'); 322 $(this).toggleClass('active'); 323 }); 324 325 $(".see-details.industrial").clone().appendTo(".industry-image_wrapper > .full_section_inner >
325 .vc_col-sm-12:nth-child(2) .vc_col-sm-4 .woocommerce"); 326 327 $(".woocommerce .see-details.industrial").click(function () { 328 $(this).text(($(this).text() == 'See more details') ? 'Hide details' : 'See more details').fadeIn(); 329 $(this).closest(".vc_col-sm-4").find('.collapsable.collapsed').slideToggle('slow'); 330 $(this).toggleClass('active'); 331 }); 332 333 $(".oem_wrapper .oem-filter-btn").click(function () { 334 $('.page-template-oem-directory .from-filters').addClass('active'); 335 $('html').addClass('filter-opened'); 336 }); 337 338 $(".page-template-oem-directory .from-filters img, .page-template-oem-directory .from-filters .filter-footer_wrapper a").click(function () { 339 $('.page-template-oem-directory .from-filters').removeClass('active'); 340 $('html').removeClass('filter-opened'); 341 }); 342 343 setTimeout(function () { 344 $("body.cart- .cart_totals .total_wrapper .popup-subtotal .general-total_wrapper .cart-subtotal-title").text("Subtotal"); 345 $("body.cart- .cart_totals .total_wrapper .popup-subtotal .member-subtotal_wrapper:nth-child(2) .member-subtotal_title").text("Executive members"); 346 $("body.cart- .cart_totals .total_wrapper .popup-subtotal .member-subtotal_wrapper:nth-child(3) .member-subtotal_title").text("Elite members"); 347 $("body.cart- .cart_totals .total_wrapper .subscription-block a").text("Subscribe"); 348 $("body.cart- .cart_totals .total_wrapper > .subscription-block a").appendTo("body.cart- .cart_totals .wc-proceed-to-checkout"); 349 $(".modal.individual-checkout-modal .modal-dialog .woocommerce-billing-fields h3").text("Enter billing address"); 350 $(".cart-icon-custom").appendTo("body.logged-in .mobile_menu .list_of_business"); 351 $(".xoo-el-inmodal .xoo-el-main .xoo-el-form-container .xoo-el-section[data-section='lostpw'] button.btn.button.xoo-el-action-btn").text("Send Recovery Link"); 352 $(".woocommerce-account .section-box table.my_account_teams.my_team_members tbody tr:not(.member, .invitation) td.member-name").text("Unassigned"); 353 }, 2000); 354 } 355 356 357 358}); 359
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.