PageSourceSearch

https://littlefamily-ssi.com/_next/static/chunks/112-ebc7a390a70f3628.js

js littlefamily-ssi.com collected 2026-10-04 02:52:01 UTC 14,585 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[112],{7336:(t,e,r)=>{var n=r(5617);t.exports=function(t,e){return new Promise(function(r,i){var o,s=e||{};function u(t){i(t||Error("Aborted"))}function a(t,e){if(t.bail){u(t);return}o.retry(t)?s.onRetry&&s.onRetry(t,e):i(o.mainError())}"randomize"in s||(s.randomize=!0),(o=n.operation(s)).attempt(function(e){var n;try{n=t(u,e)}catch(t){a(t,e);return}Promise.resolve(n).then(r).catch(function(t){a(t,e)})})})}},5112:(t,e,r)=>{"use strict";r.d(e,{U:()=>y});var n=r(7336),i=r.n(n);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e,r,n,i,o,s){try{var u=t[o](s),a=u.value}catch(t){r(t);return}u.done?e(a):Promise.resolve(a).then(n,i)}function u(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function u(t){s(o,n,i,u,a,"next",t)}function a(t){s(o,n,i,u,a,"throw",t)}u(void 0)})}}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}function c(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r.push.apply(r,n)}return r}
1)(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function l(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||f(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,e)}}function p(t,e){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}var h=function(t){var e;return e=u(function(e,r){var n;return p(this,function(i){return[2,((n=new Headers(null==r?void 0:r.headers)).has("X-MICROCMS-API-KEY")||n.set("X-MICROCMS-API-KEY",t),fetch(e,c(a({},r),{headers:n})))]})}),function(t,r){return e.apply(this,arguments)}},m=function(t){return"string"==typeof t},d=function(t){if(!(null!==t&&"object"==typeof t))throw Error("queries is not object");return new URLSearchParams(Object.entries(t).reduce(function(t,e){var r=function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r,n,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],s=!0,u=!1;try{for(i=i.call(t);!(s=(r=i.next()).done)&&(o.push(r.value),2!==o.length);s=!0);}catch(t){u=!0,n=t}finally{try{s||null==i.return||i.return()}finally{if(u)throw n}}return o}}(e,2)||f(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],i=r[1];return void 0!==i&&(t[n]=String(i)),t},{})).toString()},y=function(t){var e,r,n,o,s,f,y,b,v,_,g=t.serviceDomain,T=t.apiKey,w=t.retry;if(!g||!T)throw Error("parameter is required (check serviceDomain and apiKey)");if(!m(g)||!m(T))throw Error("parameter is not string");var q="https://".concat(g,".").concat("microcms.io","/api/").concat("v1"),I=(e=u(function(t){var e,r,n,o,s,l,f,m,y;return p(this,function(b){switch(b.label){case 0:var v,_;return e=t.endpoint,r=t.contentId,o=void 0===(n=t.queries)?{}:n,s=t.requestInit,l=h(T),f=d(o),m="".concat(q,"/").concat(e).concat(r?"/".concat(r):"").concat(f?"?".concat(f):""),v=u(function(t){var e;return p(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,t.json()];case 1:return[2,null!=(e=r.sent().message)?e:null];case 2:return r.sent(),[2,null];case 3:return[2]}})}),y=function(t){return v.apply(this,arguments)},[4,i()((_=u(function(t){var e,r,n,i,o,u,f;return p(this,function(p){switch(p.label){case 0:return p.trys.push([0,6,,7]),[4,l(m,c(a({},s),{method:null!==(r=null==s?void 0:s.method)&&void 0!==r?r:"GET"}))];case 1:if(429===(e=p.sent()).status||!(e.status>=400)||!(e.status<500))return[3,3];return[4,y(e)];case 2:return n=p.sent(),[2,t(Error("fetch API response status: ".concat(e.status).concat(n?"\n  message is `".concat(n,"`"):"")))];case 3:if(e.ok)return[3,5];return[4,y(e)];case 4:return i=p.sent(),[2,Promise.reject(Error("fetch API response status: ".concat(e.status).concat(i?"\n  message is `".concat(i,"`"):"")))];case 5:return[2,(null==s?void 0:s.method)==="DELETE"?void 0:e.json()];case 6:if((o=p.sent()).data)throw o.data;if(null===(u=o.response)||void 0===u?void 0:u.data)throw o.response.data;return[2,Promise.reject(Error("Network Error.\n  Details: ".concat(null!==(f=o.message)&&void 0!==f?f:"")))];case 7:return[2]}})}),function(t){return _.apply(this,arguments)}),{retries:w?2:0,onRetry:function(t,e){console.log(t),console.log("Waiting for retry (".concat(e,"/",2,")"))},minTimeout:5e3})];case 1:return[2,b.sent()]}})}),function(t){return e.apply(this,arguments)});return{get:(r=u(function(t){var e,r,n,i,o,s;return p(this,function(u){switch(u.label){case 0:if(e=t.endpoint,r=t.contentId,i=void 0===(n=t.queries)?{}:n,o=t.customRequestInit,!e)return[3,2];return[4,I({endpoint:e,contentId:r,queries:i,requestInit:o})];case 1:return s=u.sent(),[3,3];
1case 2:s=Promise.reject(Error("endpoint is required")),u.label=3;case 3:return[2,s]}})}),function(t){return r.apply(this,arguments)}),getList:(n=u(function(t){var e,r,n,i,o;return p(this,function(s){switch(s.label){case 0:if(e=t.endpoint,n=void 0===(r=t.queries)?{}:r,i=t.customRequestInit,!e)return[3,2];return[4,I({endpoint:e,queries:n,requestInit:i})];case 1:return o=s.sent(),[3,3];case 2:o=Promise.reject(Error("endpoint is required")),s.label=3;case 3:return[2,o]}})}),function(t){return n.apply(this,arguments)}),getListDetail:(o=u(function(t){var e,r,n,i,o,s;return p(this,function(u){switch(u.label){case 0:if(e=t.endpoint,r=t.contentId,i=void 0===(n=t.queries)?{}:n,o=t.customRequestInit,!e)return[3,2];return[4,I({endpoint:e,contentId:r,queries:i,requestInit:o})];case 1:return s=u.sent(),[3,3];case 2:s=Promise.reject(Error("endpoint is required")),u.label=3;case 3:return[2,s]}})}),function(t){return o.apply(this,arguments)}),getObject:(s=u(function(t){var e,r,n,i,o;return p(this,function(s){switch(s.label){case 0:if(e=t.endpoint,n=void 0===(r=t.queries)?{}:r,i=t.customRequestInit,!e)return[3,2];return[4,I({endpoint:e,queries:n,requestInit:i})];case 1:return o=s.sent(),[3,3];case 2:o=Promise.reject(Error("endpoint is required")),s.label=3;case 3:return[2,o]}})}),function(t){return s.apply(this,arguments)}),getAllContentIds:(f=u(function(t){var e,r,n,i,o,s,u,f,h,m,d,y,b;return p(this,function(p){switch(p.label){case 0:return e=t.endpoint,r=t.alternateField,n=t.draftKey,i=t.filters,o=t.orders,s=t.customRequestInit,[4,I({endpoint:e,queries:c(a({},u={draftKey:n,filters:i,orders:o,limit:100,fields:null!=r?r:"id",depth:0}),{limit:0}),requestInit:s})];case 1:f=p.sent().totalCount,h=[],m=0,d=function(t){return new Promise(function(e){return setTimeout(e,t)})},y=function(t){return t.every(function(t){return"string"==typeof t})},p.label=2;case 2:if(!(h.length<f))return[3,7];return[4,I({endpoint:e,queries:c(a({},u),{offset:m}),requestInit:s})];case 3:if(b=p.sent().contents.map(function(t){return t[null!=r?r:"id"]}),!y(b))throw Error("The value of the field specified by `alternateField` is not a string.");if(h=l(h).concat(l(b)),m+=100,!(h.length<f))return[3,5];return[4,d(1e3)];case 4:p.sent(),p.label=5;case 5:p.label=6;case 6:return[3,2];case 7:return[2,h]}})}),function(t){return f.apply(this,arguments)}),getAllContents:(y=u(function(t){var e,r,n,i,o,s,u,l,f;return p(this,function(p){switch(p.label){case 0:return e=t.endpoint,n=void 0===(r=t.queries)?{}:r,i=t.customRequestInit,[4,I({endpoint:e,queries:c(a({},n),{limit:0}),requestInit:i})];case 1:o=p.sent().totalCount,s=[],u=0,l=function(t){return new Promise(function(e){return setTimeout(e,t)})},p.label=2;case 2:if(!(s.length<o))return[3,7];return[4,I({endpoint:e,queries:c(a({},n),{limit:100,offset:u}),requestInit:i})];case 3:if(f=p.sent().contents,s=s.concat(f),u+=100,!(s.length<o))return[3,5];return[4,l(1e3)];case 4:p.sent(),p.label=5;case 5:p.label=6;case 6:return[3,2];case 7:return[2,s]}})}),function(t){return y.apply(this,arguments)}),create:(b=u(function(t){var e,r,n,i,o,s,u,l;return p(this,function(f){return(e=t.endpoint,r=t.contentId,n=t.content,o=void 0!==(i=t.isDraft)&&i,s=t.customRequestInit,e)?(u=o?{status:"draft"}:{},l=c(a({},s),{method:r?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}),[2,I({endpoint:e,contentId:r,queries:u,requestInit:l})]):[2,Promise.reject(Error("endpoint is required"))]})}),function(t){return b.apply(this,arguments)}),update:(v=u(function(t){var e,r,n,i;return p(this,function(o){return(e=t.endpoint,r=t.contentId,n=t.content,i=t.customRequestInit,e)?[2,I({endpoint:e,contentId:r,requestInit:c(a({},i),{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)})})]:[2,Promise.reject(Error("endpoint is required"))]})}),function(t){return v.apply(this,arguments)}),delete:(_=u(function(t){var e,r,n;return p(this,function(i){switch(i.label){case 0:if(e=t.endpoint,r=t.contentId,n=t.customRequestInit,!e)return[2,Promise.reject(Error("endpoint is required"))];if(!r)return[2,Promise.reject(Error("contentId is required"))];return[4,I({endpoint:e,contentId:r,requestInit:c(a({},n),{method:"DELETE",headers:{},body:void 0})})];case 1:return i.sent(),[2]}})}),function(t){return _.apply(this,arguments)})}}},5617:(t,e,r)=>{t.exports=r(8303)},8303:(t,e,r)=>{var n=r(3961);e.operation=function(t){return new n(e.timeouts(t),{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(t,e){return t-e}),n},e.createTimeout=function(t,e){return Math.min(Math.round((e.randomize?Math.random()+1:1)*Math.max(e.minTimeout,1)*Math.pow(e.factor,t)),e.maxTimeout)},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n)for(var i in n=[],t)"function"==typeof t[i]&&n.push(i);for(var o=0;o<n.length;o++){var s=n[o],u=t[s];t[s]=(function(n){var i=e.operation(r),o=Array.prototype.slice.call(arguments,1
1),s=o.pop();o.push(function(t){i.retry(t)||(t&&(arguments[0]=i.mainError()),s.apply(this,arguments))}),i.attempt(function(){n.apply(t,o)})}).bind(t,u),t[s].options=r}}},3961:t=>{function e(t,e){"boolean"==typeof e&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}t.exports=e,e.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},e.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},e.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(void 0===r){if(!this._cachedTimeouts)return!1;this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1)}var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0},e.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},e.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)},e.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)},e.prototype.start=e.prototype.try,e.prototype.errors=function(){return this._errors},e.prototype.attempts=function(){return this._attempts},e.prototype.mainError=function(){if(0===this._errors.length)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],o=i.message,s=(t[o]||0)+1;t[o]=s,s>=r&&(e=i,r=s)}return e}}}]);

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.