PageSourceSearch

https://www.braaicraft.com/wp-content/cache/minify/7b3bb.js

js braaicraft.com collected 2026-09-25 11:59:18 UTC 25,638 bytes, 33 lines download raw bytes

1(function($){'use strict';var ccWindow=$('.cc-window');jQuery(document).ready(function($){setTimeout(function(){cc_cart_screen();},200);$('.cc-nav ul li a').mousedown(function(){$(this).addClass('using-mouse');});$('body').keydown(function(){$('.cc-nav ul li a').removeClass('using-mouse');});var tabs=new Tabby('[data-tabs]');$(document).mouseup(function(e){var container=$('.cc-window.visible, .cc-compass, #toast-container');if(!container.is(e.target)&&container.has(e.target).length===0){if(ccWindow.hasClass('visible')){$('.cc-compass').toggleClass('cc-compass-open');$('body').toggleClass('cc-window-open');$('.cc-overlay').hide();ccWindow.animate({'right':'-1000px'},'slow').removeClass('visible');if($('#toast-container').length>0){$('#toast-container').animate({'right':'25px'},'fast').toggleClass('cc-toast-open');}}}});$(document).on('click','.cc-compass',function(){$(this).toggleClass('cc-compass-open');$('body').toggleClass('cc-window-open');if(ccWindow.hasClass('visible')){$('.cc-overlay').hide();ccWindow.animate({'right':'-1000px'},'slow').removeClass('visible');}else{$('.cc-overlay').show();tabs.toggle('#cc-cart');ccWindow.animate({'right':'0'},'slow').addClass('visible');}});$(document).on('click','.ccicon-x',function(){$('.cc-overlay').hide();ccWindow.animate({'right':'-1000px'},'slow').removeClass('visible');$('.cc-compass').toggleClass('cc-compass-open');$('body').toggleClass('cc-window-open');});$(document).on('click','.cc-cart-product-list .cc-cart-product a.remove_from_cart_button',function(){var button=$(this);remove_item_from_cart(button);});$(document).on('click','a.remove_from_sfl_button',function(){var button=$(this);remove_item_from_save_for_later(button);});$('body').on('added_to_cart',function(e,fragments,cart_hash,this_button){var cpDeskNotice=$('.cc-compass-desk-notice').val(),cpMobNotice=$('.cc-compass-mobile-notice').val();if(cc_ajax_script.is_mobile&&!ccWindow.hasClass('visible')&&'mob_disable_notices'===cpMobNotice){setTimeout(function(){$('.cc-compass').trigger('click');},20);}else if(!cc_ajax_script.is_mobile&&!ccWindow.hasClass('visible')&&('desk_disable_notices'===cpDeskNotice||'desk_notices_caddy_window'===cpDeskNotice||''===cpDeskNotice)){setTimeout(function(){$('.cc-compass').trigger('click');},20);}});$(document).on('click','.single_add_to_cart_button',function(e){e.preventDefault();if($(this).hasClass('disabled')){return;}
2if($(this).hasClass('product_type_variable')||$(this).hasClass('product_type_bundle')||$(this).hasClass('product_type_external')){window.location=$(this).attr('href');return;}
3var $button=$(this),$form=$button.closest('form.cart'),productData=$form.serializeArray(),hasProductId=false;$.each(productData,function(key,form_item){if(form_item.name==='productID'||form_item.name==='add-to-cart'){if(form_item.value){hasProductId=true;return false;}}});if(!hasProductId){var productID=$(this).data('product_id');}
4if($button.attr('name')&&$button.attr('name')=='add-to-cart'&&$button.attr('value')){var productID=$button.attr('value');}
5if(productID){productData.push({name:'add-to-cart',value:productID});}
6productData.push({name:'action',value:'cc_add_to_cart'});$(document.body).trigger('adding_to_cart',[$button,productData]);$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_add_to_cart'),data:$.param(productData),beforeSend:function(response){$('#cc-cart').css('opacity','0.3');$('.cc-compass').find('.licon').hide();$('.cc-compass').find('.cc-loader').show();if($('form.cart').length>0){$button.removeClass('added').addClass('loading');}},success:function(response){if(response.error&&response.product_url){window.location.reload();}else{if(!$button.hasClass('add_to_cart_button')){cc_cart_screen();$(document.body).trigger('added_to_cart',[response.fragments,response.cart_hash,$button]);}}},complete:function(response){$('.cc-compass').find('.cc-loader').hide();$('.cc-compass').find('.licon').show();if($('form.cart').length>0){$button.addClass('added').removeClass('loading');}
7$('#cc-cart').css('opacity','1');}});return false;});$(document).on('click','.cc-pl-info .cc-pl-actions .cc-view-cart',function(){tabs.toggle('#cc-cart');});$(document).on('click','.cc_item_quantity_update',function(){var $this=$(this);var quantityInput=$this.siblings('.cc_item_quantity');var currentQuantity=parseInt(quantityInput.val(),10);if($this.hasClass('cc_item_quantity_minus')&&currentQuantity===1){var removeButton=$this.closest('.cc-cart-product').find('a.remove_from_cart_button');removeButton.trigger('click');}else{cc_quantity_update_buttons($this);}});$(document).on('click','.save_for_later_btn',function(){cc_save_for_later($(this));});$(document).on('click','.cc_cart_from_sfl',function(){cc_move_to_cart($(this));});$(document).on('click','.cc_back_to_cart',function(){cc_back_to_cart();});$(document).on('click','.added_to_cart.wc-forward, .woocommerce-error .button.wc-forward',function(e){e.preventDefault();cc_cart_item_list();});$(document).on('click','.cc_saved_items_list',function(){cc_saved_item_list();});$(document).on('click','.cc_cart_items_list',function(){cc_cart_item_list();});$(document).on('click','.cc-view-saved-items',function(){var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-saves');});if($('.variations_form').length>0){$('.cc_add_product_to_sfl').addClass('disabled');$(this).each(function(){$(this).on('found_variation',function(event,variation){$('.cc_add_product_to_sfl').removeClass('disabled');});$(this).on('reset_data',function(){$('.cc_add_product_to_sfl').addClass('disabled');});});}
8$(document).on('submit','#apply_coupon_form',function(e){e.preventDefault();cc_coupon_code_applied_from_cart_screen();});$(document).on('click','.cc-applied-coupon .cc-remove-coupon',function(){cc_coupon_code_removed_from_cart_screen($(this));});$(document).on('click','.cc-nav ul li a',function(){var current_tab=$(this).attr('data-id');if('cc-cart'===current_tab){$('.cc-pl-upsells-slider').resize();}});});$(window).on('load',function(){$('.cc-compass .cc-compass-count').show();});function cc_cart_screen(productAdded=''){$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','get_refreshed_fragments'),beforeSend:function(response){$('#cc-cart').css('opacity','0.3');},complete:function(response){$('#cc-cart').css('opacity','1');},success:function(response){var fragments=response.fragments;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
9var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-cart');if('yes'==productAdded){$('.cc-window-wrapper').hide();}
10if('move_to_cart'===productAdded){$('.cc_cart_from_sfl').removeClass('cc_hide_btn');$('.cc_cart_from_sfl').parent().find('.cc-loader').hide();$('.cc-coupon .woocommerce-notices-wrapper').remove();$('.cc-cart').removeAttr('hidden');}
11var flatsome_product_redirect=response.flatsome_product_redirect;if('no'===flatsome_product_redirect){return false;}}});}
12var cc_quanity_update_send=true;function cc_quantity_update_buttons(el){if(cc_quanity_update_send){cc_quanity_update_send=false;$('.cc-notice').hide();var wrap=$(el).parents('.cc-cart-product-list');var input=$(wrap).find('.cc_item_quantity');var key=$(input).data('key');var productID=$(input).data('product_id');var number=parseInt($(input).val());var type=$(el).data('type');if('minus'==type){number--;}else{number++;}
13if(number<1){number=1;}
14var data={key:key,number:number,product_id:productID,security:cc_ajax_script.nonce};$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_quantity_update'),data:data,beforeSend:function(response){$('#cc-cart').css('opacity','0.3');},complete:function(response){$('#cc-cart').css('opacity','1');},success:function(response){var fragments=response.fragments,qty_error_msg=response.qty_error_msg;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
15if(qty_error_msg){$('.cc-notice').addClass('cc-error').show().html(qty_error_msg);setTimeout(function(){$('.cc-notice').removeClass('cc-error').html('').hide();},2000);}
16$(input).val(number);cc_quanity_update_send=true;var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-cart');}});}}
17function cc_save_for_later($button){var product_id=$button.data('product_id');var cart_item_key=$button.data('cart_item_key');var data={security:cc_ajax_script.nonce,product_id:product_id,cart_item_key:cart_item_key};$.ajax({type:'post',dataType:'json',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_save_for_later'),data:data,beforeSend:function(response){$('#cc-cart').css('opacity','0.3');$button.addClass('cc_hide_btn');$button.parent().find('.cc-loader').show();},complete:function(response){$button.removeClass('cc_hide_btn');$button.parent().find('.cc-loader').hide();$('#cc-cart').css('opacity','1');},success:function(response){var fragments=response.fragments;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
18var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-saves');}});}
19function cc_move_to_cart($button){var product_id=$button.data('product_id');var data={security:cc_ajax_script.nonce,product_id:product_id,};$.ajax({type:'post',dataType:'json',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_move_to_cart'),data:data,beforeSend:function(response){$button.addClass('cc_hide_btn');$button.parent().find('.cc-loader').show();},success:function(response){if(response.error){$button.removeClass('cc_hide_btn');$button.parent().find('.cc-loader').hide();var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-saves');$('.cc-sfl-notice').show().html(response.error_message);setTimeout(function(){$('.cc-sfl-notice').html('').hide();},2000);}else{cc_cart_screen('move_to_cart');}}});}
20function remove_item_from_cart(button){var cartItemKey=button.data('cart_item_key'),productName=button.data('product_name'),product_id=button.data('product_id');var data={nonce:cc_ajax_script.nonce,cart_item_key:cartItemKey};$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_remove_item_from_cart'),data:data,complete:function(response){if(($('.single_add_to_cart_button, .add_to_cart_button').length>0)){$('.single_add_to_cart_button.added, .add_to_cart_button.added').each(function(){if($('form.cart').length>0&&!$(this).hasClass('add_to_cart_button')){var $form=$(this).closest('form.cart'),atc_product_id=$form.find('input[name=add-to-cart]').val()||$(this).val(),atc_variation_id=$form.find('input[name=variation_id]').val()||0;if(atc_variation_id!==0){atc_product_id=atc_variation_id;}}else{var atc_product_id=$(this).data('product_id');}
21if(atc_product_id==product_id){if($(this).hasClass('added')){$(this).removeClass('added');}}});}}
21,success:function(response){var fragments=response.fragments;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
22var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-cart');}});}
23function remove_item_from_save_for_later(button){var productID=button.data('product_id');var data={nonce:cc_ajax_script.nonce,product_id:productID};$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_remove_item_from_sfl'),data:data,beforeSend:function(response){$('#cc-saves').css('opacity','0.3');},complete:function(response){$('#cc-saves').css('opacity','1');},success:function(response){var fragments=response.fragments;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
24var sfl_btn=$('a.cc-sfl-btn.remove_from_sfl_button');if(sfl_btn.has('i.ccicon-heart-filled')){sfl_btn.find('i').removeClass('ccicon-heart-filled').addClass('ccicon-heart-empty');var sfl_btn_text=sfl_btn.find('span').text();if(sfl_btn_text.length>0){sfl_btn.find('span').text('Save for later');}
25sfl_btn.removeClass('remove_from_sfl_button').addClass('cc_add_product_to_sfl');}
26var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-saves');}});}
27function cc_back_to_cart(){$('.cc-pl-info-container').hide();$('.cc-window-wrapper').show();}
28function cc_saved_item_list(){$('.cc-compass').toggleClass('cc-compass-open');$('body').toggleClass('cc-window-open');$('.cc-pl-info-container').hide();$('.cc-window-wrapper').show();$('.cc-overlay').show();var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-saves');ccWindow.animate({'right':'0'},'slow').addClass('visible');}
29function cc_cart_item_list(){if(!ccWindow.hasClass('visible')){$('.cc-compass').trigger('click');}}
30function cc_coupon_code_applied_from_cart_screen(){var coupon_code=$('.cc-coupon-form #cc_coupon_code').val();var data={nonce:cc_ajax_script.nonce,coupon_code:coupon_code};$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_apply_coupon_to_cart'),data:data,beforeSend:function(response){$('#cc-cart').css('opacity','0.3');},complete:function(response){$('#cc-cart').css('opacity','1');},success:function(response){var fragments=response.fragments,caddy_cart_subtotal=response.caddy_cart_subtotal;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
31$('.cc-total-amount').html(caddy_cart_subtotal);var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-cart');}});}
32function cc_coupon_code_removed_from_cart_screen($remove_code){var coupon_code_to_remove=$remove_code.parent('.cc-applied-coupon').find('.cc_applied_code').text();var data={nonce:cc_ajax_script.nonce,coupon_code_to_remove:coupon_code_to_remove};$.ajax({type:'post',url:cc_ajax_script.wc_ajax_url.toString().replace('%%endpoint%%','cc_remove_coupon_code'),data:data,beforeSend:function(response){$('#cc-cart').css('opacity','0.3');},complete:function(response){$('#cc-cart').css('opacity','1');},success:function(response){var fragments=response.fragments,fs_title=response.free_shipping_title,fs_meter=response.free_shipping_meter,final_cart_subtotal=response.final_cart_subtotal;if(fragments){$.each(fragments,function(key,value){$(key).replaceWith(value);});}
33$('.cc-fs-title').html(fs_title);$('.cc-fs-meter').html(fs_meter);$('.cc-total-amount').html(final_cart_subtotal);var tabs=new Tabby('[data-tabs]');tabs.toggle('#cc-cart');}});}})(jQuery);;(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const e=()=>{const t=new Map;return t.largestIndex=0,t.set=function(e,i){""===e?e=t.largestIndex++:/^[0-9]+$/.test(e)&&(e=parseInt(e),t.largestIndex<=e&&(t.largestIndex=e+1)),Map.prototype.set.call(t,e,i)},t};this.tree=e();const i=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,s]of this.formData){const o=t.match(i);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,s);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t,e])=>e));t.unshift(o.groups.name);const i=t.pop();t.reduce(((t,i)=>{if(/^[0-9]+$/.test(i)&&(i=parseInt(i)),t.get(i)instanceof Map)return t.get(i);const s=e();return t.set(i,s),s}),this.tree).set(i,s)}}}t.r(e),t.d(e,{all:()=>D,any:()=>M,date:()=>f,dayofweek:()=>u,email:()=>r,enum:()=>h,file:()=>m,maxdate:()=>z,maxfilesize:()=>$,maxitems:()=>v,maxlength:()=>x,maxnumber:()=>b,mindate:()=>A,minfilesize:()=>j,minitems:()=>w,minlength:()=>g,minnumber:()=>y,number:()=>c,required:()=>n,requiredfile:()=>a,tel:()=>l,time:()=>d,url:()=>p}),i.prototype.entries=function(){return this.tree.entries()},i.prototype.get=function(t){return this.tree.get(t)},i.prototype.getAll=function(t){if(!this.has(t))return[];const e=t=>{const i=[];if(t instanceof Map)for(const[s,o]of t)i.push(...e(o));else""!==t&&i.push(t);return i};return e(this.get(t))},i.prototype.has=function(t){return this.tree.has(t)},i.prototype.keys=function(){return this.tree.keys()},i.prototype.values=function(){return this.tree.values()};const s=i;function o({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const n=function(t){if(0===t.getAll(this.field).length)throw new o(this)},a=function(t){if(0===t.getAll(this.field).length)throw new o(this)},r=function(t){if(!t.getAll(this.field).every((t=>{if((t=t.trim()).length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;const s=i.split(".");if(s.length<2)return!1;for(const t of s){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t))return!1;if(!/^[a-z0-9-]+$/i.test(t))return!1}return!0})))throw new o(this)},p=function(t){const e=t.getAll(this.field);if(!e.every((t=>{if(""===(t=t.trim()))return!1;try{return(t=>-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(t))(new URL(t).protocol.replace(/:$/,""))}catch{return!1}}
33)))throw new o(this)},l=function(t){if(!t.getAll(this.field).every((t=>(t=(t=t.trim()).replaceAll(/[()/.*#\s-]+/g,""),/^[+]?[0-9]+$/.test(t)))))throw new o(this)},c=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)))))throw new o(this)},f=function(t){if(!t.getAll(this.field).every((t=>{if(t=t.trim(),!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())})))throw new o(this)},d=function(t){if(!t.getAll(this.field).every((t=>{const e=t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;const i=parseInt(e[1]),s=parseInt(e[2]),o=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=s&&s<=59&&0<=o&&o<=59})))throw new o(this)},m=function(t){if(!t.getAll(this.field).every((t=>t instanceof File&&this.accept?.some((e=>/^\.[a-z0-9]+$/i.test(e)?t.name.toLowerCase().endsWith(e.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),s=i.groups.sub.toLowerCase();for(const[o,n]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===s&&n.startsWith(t+"/")||n===i[0])&&e.push(...o.split("|"))}return e})(e).some((e=>(e="."+e.trim(),t.name.toLowerCase().endsWith(e.toLowerCase())))))))))throw new o(this)},h=function(t){if(!t.getAll(this.field).every((t=>this.accept?.some((e=>
33t===String(e))))))throw new o(this)},u=function(t){if(!t.getAll(this.field).every((t=>{const e=0===(i=new Date(t).getDay())?7:i;var i;return this.accept?.some((t=>e===parseInt(t)))})))throw new o(this)},w=function(t){if(t.getAll(this.field).length<parseInt(this.threshold))throw new o(this)},v=function(t){const e=t.getAll(this.field);if(parseInt(this.threshold)<e.length)throw new o(this)},g=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),0!==i&&i<parseInt(this.threshold))throw new o(this)},x=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{"string"==typeof t&&(i+=t.length)})),parseInt(this.threshold)<i)throw new o(this)},y=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(t)<parseFloat(this.threshold)))))throw new o(this)},b=function(t){if(!t.getAll(this.field).every((t=>!(parseFloat(this.threshold)<parseFloat(t)))))throw new o(this)},A=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold)))))throw new o(this)},z=function(t){if(!t.getAll(this.field).every((t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t)))))throw new o(this)},j=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),i<parseInt(this.threshold))throw new o(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach((t=>{t instanceof File&&(i+=t.size)})),parseInt(this.threshold)<i)throw new o(this)},I=({ruleObj:t,options:i})=>{const{rule:s,...o}=t;return"function"==typeof e[s]&&("function"!=typeof e[s].matches||e[s].matches(o,i))},O=({ruleObj:t,formDataTree:i,options:s})=>{const{rule:o}=t;e[o].call(t,i,s)},E=[],k=t=>[...E].reduce(((t,e)=>i=>e(i,t)),t),D=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.every((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;if(void 0!==t.error)throw t;return!1}return!0})))throw new o(this)},M=function(t,e={}){const i=(this.rules??[]).filter((t=>I({ruleObj:t,options:e}))),s=k(O);if(!i.some((i=>{try{s({ruleObj:i,formDataTree:t,options:e})}catch(t){if(!(t instanceof o))throw t;return!1}return!0})))throw new o(this)};var F;window.swv={validators:e,validate:(t,e,i={})=>{const n=(t.rules??[]).filter((t=>I({ruleObj:t,options:i})));if(!n.length)return new Map;const a=k(O),r=new s(e),p=n.reduce(((t,e)=>{try{a({ruleObj:e,formDataTree:r,options:i})}catch(e){if(!(e instanceof o))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t}),new Map);for(const t of r.keys())p.has(t)||p.set(t,{validInputs:r.getAll(t)});return p},use:t=>{E.push(t)},...null!==(F=window.swv)&&void 0!==F?F:{}}})();

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.