PageSourceSearch

https://assets.cdn.ifixit.com/AssetsV2/scripts/3740.7df193dc4db8866efb38.js

js ifixit.com collected 2026-10-01 08:36:04 UTC 11,449 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"a99e4c3265af7c5eece8156095b05d1ffcc8ba85"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:ifixitFirstParty":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1f35d16a-5b7b-4a3f-9cca-140390d5c78b",e._sentryDebugIdIdentifier="sentry-dbid-1f35d16a-5b7b-4a3f-9cca-140390d5c78b")}catch(e){}}(),(globalThis.webpackChunkcarpenter_frontend=globalThis.webpackChunkcarpenter_frontend||[]).push([[306,2627,3635,3740,5008,9782],{7045(e,t,n){n.d(t,{d:()=>s,t:()=>i});const i=(()=>{let e=null;return function(){if(null!==e)return e;const t=navigator.userAgent||navigator.vendor||window.opera,n=t.slice(0,4);return e=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[23]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(n)}})(),s=(()=>{let e=null;return function(){if(null!==e)return e;const t=navigator.userAgent||navigator.vendor||window.opera;return e=/android|ipad|playbook|silk/i.test(t)}})()},13023(e,t,n){function i(e){const t="string"==typeof e?document.getElementById(e):e;return t&&"form"===t.tagName.toLowerCase()?t:null}n.d(t,{y:()=>s});const s={getFields:e=>Array.from(e.querySelectorAll("input,select,textarea,div[contenteditable]")),getEditableFields(e){return this.getFields(e).filter((e=>"hidden"!==e.type&&!e.disabled))},getValues(e,t){const n=i(e);if(!n)return;const s=/\[([\w#-]*)]/,o={},r={prefix:"",submitDisabled:!1,ignoreClass:null,...t};return Array.from(n.elements).forEach((e=>{const t=e;if(!t.name)return;if(t.name.slice(0,Math.max(0,r.prefix.length))!==r.prefix)return;if(t.type&&("radio"===t.type||"checkbox"===t.type)&&!t.checked)return;if(t.disabled&&!r.submitDisabled)return;let n=t.name;const i=[];let a=null;for(;a=n.match(s);)i.push(a[1]),n=n.replace(s,"");i.unshift(n);let c,l,d=o;for(l=0;l<i.length-1;l++){let e;c=i[l],""===c?(e=""===i[l+1]?[]:{},d.push(e),d=e):(d[c]||(e=""===i[l+1]?[]:{},d[c]=e),d=d[c])}const u=r.ignoreClass&&e.classList.contains(r.ignoreClass)?"":e.value;c=i[l],""===c?d.push(u):d[c]=u})),o},getFirstField(e){const t=this.getEditableFields(e);return t.filter((e=>e.tabIndex>=1)).sort(((e,t)=>e.tabIndex-t.tabIndex))[0]||t[0]},focusFirst(e){const t=this.getFirstField(e);t&&t.focus()},selectedValue(e){const t="string"==typeof e?document.getElementById(e):e;return t.options[t.selectedIndex].value},submit(e){const t=i(e);if(t)return!("function"==typeof t.onsubmit&&!t.onsubmit(new SubmitEvent("submit")))&&void t.submit()},create(e){const t=document.createElement("form");e.id&&(t.id=e.id),e.class&&(t.className=e.class);const n=document.createElement("div");n.className="formBody",t.append(n);for(const[t,i]of Object.entries(e.fields||{})){const e=document.createElement("div");e.className="formField",n.append(e);const s=i.properties?i.properties.id:"";if(i.label){const n=document.createElement("label");n.setAttribute("for",s||t),n.textContent=i.label,e.append(n)}let o=null;if("text"===i.type){const e=document.createElement("input");e.name=t,e.type="text",e.value=i.value||"";for(const[t,n]of Object.entries(i.properties||{}))e.setAttribute(t,n);o=e}if("switch"===i.type){const e=document.createElement("input");e.name=t,e.type="checkbox",e.value=String(i.value||!1),e.className="switch-input";for(const[t,n]of Object.entries(i.properties||{}))e.setAttribute(t,n);const n=document.createElement("span");n.className="switch-track";const s=document.createElement("label");s.className="switch",s.append(e),s.append(n),o=s}o&&e.append(o)}const i=document.createElement("div");i.className="formField";const s=document.createElement("button");return s.type="submit",s.className="button button-action-solid",s.textContent=e.submit||"Submit",i.append(s),n.append(i),t}}},14659(e,t,n){function i(e,t,n){n=n||6e5;const i=Date.now(),s=setInterval((()=>{e&&e.closed?(clearInterval(s),t(!0)):Date.now()-i>n&&(clearInterval(s),t(!1))}),250)}n.d(t,{U:()=>i})},21328(e,t,n){function i(e){return e.replace(/^on([A-Z])/,((e,t)=>t.toLowerCase()))}n.d(t,{b:()=>s,k:()=>o});const s={addEvent(e,t,n){e=i(e),this.$events||(this.$events={});const s=this.$events[e]||[];return s.includes(t)||s.push(t),this.$events[e]=s,n&&(t.internal=!0),this},addEvents(e){this.$events||(this.$events={});for(const t in e)this.addEvent(t,e[t]);return this},fireEvent(e,t,n){if(!this.$events)return this;e=i(e);const s=this.$events[e];if(!s)return this;const o=null==(r=t)?[]:Array.isArray(r)?r:"object"==typeof r&&"number"==typeof r.length?Array.from(r):[r];var r;for(let e=0;e<s.length;e++){if(!(e in s))continue;const t=s[e];n?setTimeout((()=>t.apply(this,o)),n):t.apply(this,o)}return this},removeEvent(e,t){if(!this.$events)return this;e=i(e);const n=this.$events[e];if(n&&!t.internal){const e=n.indexOf(t);-1!==e&&delete n[e]}return this},removeEvents(e){if(!this.$events)return this;if("object"==typeof e&&null!==e&&!Array.isArray(e)){for(const t in e)this.removeEvent(t,e[t]);return this}let t;e&&(t=i(e));for(const e in this.$events){if(t&&t!==e)continue;const n=this.$events[e];for(let t=n.length;t--;)t in n&&this.removeEvent(e,n[t])}return this}};function o(e,t,n){t.addEvent(e,((...t)=>{n.fireEvent(e,t)}))}},27522(e,t,n){n.d(t,{h:()=>i,r:()=>s});const i=new Class({Implements:[Options,Events],options:{scrollToTop:!1,scrollBuffer:200,onClick:function(){},onHide:function(){},onShow:function(){}},initialize:function(e,t){this.element=e,this.setOptions(t),this.overlay=new Element("div.modal-overlay"),this.overlay.addEvent("click",this.fireEvent.bind(this,"click"))},show:function(){return this.fireEvent("onShow"),this.overlay.inject(document.body),document.body.addClass("modal-displayed"),this.originalScrollPosition=window.getScroll(),this.options.scrollToTop&&window.scrollTo(0,0),this},hide:function(){return this.fireEvent("onHide"),this.overlay.unpin().dispose(),document.body.removeClass("modal-displayed"),this.options.scrollToTop&&window.scrollTo(0,this.originalScrollPosition.y),this}}),s=new Class({Implements:Options,options:{contentTop:null,zIndex:10001},initialize:function(e,t){this.element=e,this.setOptions(t),this.overlay=new i(e,{styles:{backgroundColor:"#fff",zIndex:this.options.zIndex,opacity:this.options.opacity||.7},scrollToTop:!1}),this.contentDiv=new Element("div.loading",{styles:{zIndex:this.options.zIndex+1}}),this.message=new Element("p.message"),this.subMessage=new Element("p.subMessage")},loading:function(e,t){this.overlay.show(),this.display(e,t)},update:function(e,t){this.message.dispose(),this.subMessage.dispose(),this.display(e,t)},doneLoading:function(){this.contentDiv.dispose(),this.message.dispose(),this.subMessage.dispose(),this.overlay.hide()},display:function(e,t){let n,i,s=this.element.getCoordinates();e&&this.message.set("text",e).inject(this.contentDiv,"top"),t&&this.subMessage.set("text",t).inject(this.message,"after"),this.contentDiv.setStyles({top:0,left:0,width:s.width,opacity:0}
1).inject(document.body),n=this.contentDiv.getHeight(),i=null===this.options.contentTop?s.top+(s.height-n)/2:s.top+this.options.contentTop,this.contentDiv.unpin().setStyles({top:Math.floor(i),left:s.left}),this.contentDiv.setStyle("opacity",1)}})},41791(e,t,n){n.d(t,{s:()=>o});var i,s=n(53401);!function(e){e.none="none",e.lax="lax",e.strict="strict"}(i||(i={}));class o{static set(e,t,n={}){const i=o.convertCustomOptions({...o.getDefaultOptions(),...n});return(new s.A).set(e,t,i),e}static getDefaultOptions(){const e={sameSite:"lax",secure:!0,path:"/"};return"boolean"==typeof App.useSecureCookies&&(e.secure=App.useSecureCookies),"None"===App.sameSiteValue?e.sameSite="none":"Strict"===App.sameSiteValue&&(e.sameSite="strict"),e}static convertCustomOptions(e){const t={...e};return void 0!==t.maxAgeInSeconds&&(t.maxAge=t.maxAgeInSeconds,delete t.maxAgeInSeconds),t}}},44445(e,t,n){function i(){const e=window.location.host.match(/\b([^.]+)\.([^.]+\.[^.]+)$/);return{subdomain:e?.[1]??"",domain:e?.[2]??window.location.host}}n.d(t,{g:()=>i})},51177(e,t,n){function i(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(()=>{setTimeout(e,0)})):setTimeout(e,0)}function s(e){"complete"===document.readyState?e():window.addEventListener("load",e)}n.d(t,{P:()=>i,k:()=>s})},53664(e,t,n){function i(e){return new Promise((t=>{setTimeout(t,e)}))}n.d(t,{B:()=>i})},55552(e,t,n){n.d(t,{q:()=>s,r:()=>o});const i={};function s(e,...t){(i[e]||[]).forEach((e=>e(...t)))}function o(e,t){var n,s;((n=i)[s=e]||(n[s]=[])).push(t)}},73453(e,t,n){n.d(t,{c:()=>a});var i=n(53401),s=n(41791),o=n(44445);const r=new i.A,a={get:e=>r.get(e+`_${App.siteid}`),set(e,t,n){let i=window.location.host;"ifixit"==App.which&&(i=(0,o.g)().domain);const r={domain:"."+i,maxAgeInSeconds:n??2592e3};s.s.set(e+`_${App.siteid}`,t,r)}}},92286(e,t,n){n.d(t,{A:()=>i});const i={zipcode:function(e){return/^\s?(\d{5})(?:\s?[\s-]\s?(\d{4}))?/.test(e)},email:function(e){return/.+@.+\..+/.test(e.trim())},phone:function(e){return/^([ ()+./Xex-]*\d){10,}$/.test(e)},phoneExt:function(e){return/^[\d#*]*$/.test(e)},username:function(e){return/^[^<>]{3,30}$/.test(e)},orderid:function(e){return/^(\d){5,8}$|^$/i.test(e)},isValidWikiTitle:function(e){if(null===e)return!1;const t=e.trim();return""!==t&&"."!=t&&".."!=t&&!/[\t#$%&*+,/:;<>?[\\\]^{|}]/.test(e)}}}}]);
2//# sourceMappingURL=3740.7df193dc4db8866efb38.js.map

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.