PageSourceSearch

https://sudoku.com/build/719.3f2cbdfe.js

js sudoku.com collected 2026-10-01 10:42:52 UTC 3,489 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[719],{719:(t,e,n)=>{n.r(e),n.d(e,{BestMoveView:()=>a}),n(52675),n(89463),n(23792),n(69085),n(26099),n(3362),n(23500),n(62953);var i=n(70150),o=n(56039),r=function(){return(r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},s=function(t,e){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function c(c){return function(a){var u=[c,a];if(n)throw TypeError("Generator is already executing.");for(;r&&(r=0,u[0]&&(s=0)),s;)try{if(n=1,i&&(o=2&u[0]?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,i=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){s.label=u[1];break}if(6===u[0]&&s.label<o[1]){s.label=o[1],o=u;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(u);break}o[2]&&s.ops.pop(),s.trys.pop();continue}u=e.call(t,s)}catch(t){u=[6,t],i=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}},c={particleCount:50,spread:360,startVelocity:13,ticks:50,gravity:.2,decay:.9,colors:["#7ae68a","#f2e822","#81f8fa","#ffb2c3","#fc99fe"]},a=function(){function t(){this.confetti=null,this.timers=[],this.root=document.getElementById("best-move"),this.text=document.getElementById("best-move-text"),this.icon=this.root&&this.root.querySelector(".best-move_icon"),this.canvas=document.getElementById("best-move-confetti-canvas")}return Object.defineProperty(t.prototype,"available",{get:function(){return!!this.root&&!!this.text},enumerable:!1,configurable:!0}),t.prototype.show=function(t,e){var n=this;void 0===e&&(e=!1),this.available&&(this.reset(),this.text.innerText=t,this.prepareConfetti(),this.timers.push(window.setTimeout(function(){return(0,i.pP)(n.root).add("show")},750),window.setTimeout(function(){return n.burst()},1050)),e||this.timers.push(window.setTimeout(function(){return(0,i.pP)(n.root).add("hide")},1850),window.setTimeout(function(){return n.reset()},2150)))},t.prototype.reset=function(){this.timers.forEach(function(t){return window.clearTimeout(t)}),this.timers=[],this.root&&(0,i.pP)(this.root).remove("show","hide")},t.prototype.prepareConfetti=function(){var t,e,n,i;return t=this,e=void 0,n=Promise,i=function(){var t;return s(this,function(e){switch(e.label){case 0:if(this.confetti||!this.canvas)return[2];return[4,(0,o.N)()];case 1:return t=e.sent(),this.confetti=this.confetti||t.create(this.canvas,{resize:!0}),[2]}})},new(n||(n=Promise))(function(o,r){function s(t){try{a(i.next(t))}catch(t){r(t)}}function c(t){try{a(i.throw(t))}catch(t){r(t)}}function a(t){var e;t.done?o(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(s,c)}a((i=i.apply(t,e||[])).next())})},t.prototype.burst=function(){if(this.confetti&&this.canvas&&this.icon){var t=this.canvas.getBoundingClientRect(),e=this.icon.getBoundingClientRect();t.width&&t.height&&this.confetti(r(r({},c),{origin:{x:(e.left+e.width/2-t.left)/t.width,y:(e.top+e.height/2-t.top)/t.height}}))}},t}()}}]);

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.