PageSourceSearch

https://abema.tv/assets/compat/34af015030d0dab4.4820.bundle.js

js abema.tv collected 2026-09-24 08:30:29 UTC 7,180 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4820],{39979:function(t,e,r){var n={GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE",PATCH:"PATCH",HEAD:"HEAD"};r.d(e,{y:function(){return n}})},63954:function(t,e,r){var n=r(38960),o=r(62906),u=r(90563),a=r(57215),s=r(49304),i=r(54114),c=r(29122),f=r(36068),_=function(t){function e(t){var r,u=t.path,s=t.baseUrl,i=t.routePath;return(0,o._)(this,e),r=(0,n._)(this,e,[u,s]),(0,a._)(r,"routePath",void 0),r.routePath=i,r}return(0,s._)(e,t),(0,u._)(e,null,[{key:"create",value:function(t){var r=t.routePath,n=t.baseUrl,o=t.params,u=t.query,a=new e({path:(0,f.wE)(r)(o),baseUrl:n,routePath:r}),s=!0,c=!1,_=void 0;try{for(var h,d=Object.entries(u)[Symbol.iterator]();!(s=(h=d.next()).done);s=!0){var l=(0,i._)(h.value,2),m=l[0],p=l[1];null!=p&&a.searchParams.set(m,p)}}catch(t){c=!0,_=t}finally{try{s||null==d.return||d.return()}finally{if(c)throw _}}return a}}]),e}((0,c._)(URL));r.d(e,{p:function(){return _}})},52506:function(t,e,r){r.d(e,{x:function(){return U}});var n=r(32672),o=r(65763),u=r(80914),a=r(62906),s=r(90563),i=r(57215),c=r(75730),f=r(39305),_=r(34516),h=r(13571),d=r(65959),l=r(64028),m=r(38960),p=r(49304),v=r(11585),E=function(t){function e(t,r){var n;return(0,a._)(this,e),n=(0,m._)(this,e,[t,r]),(0,i._)(n,"name","HttpRequestAuthorizedError"),(0,i._)(n,"metadata",void 0),n.metadata=r.metadata,n}return(0,p._)(e,t),e}(v.C),T=function(t){function e(t,r){var n;return(0,a._)(this,e),n=(0,m._)(this,e,[t,r]),(0,i._)(n,"name","HttpResponseUnexpectedStatusCodeError"),(0,i._)(n,"metadata",void 0),n.metadata=r.metadata,n}return(0,p._)(e,t),e}(v.C),y=function(t){function e(t,r){var n;return(0,a._)(this,e),n=(0,m._)(this,e,[t,r]),(0,i._)(n,"name","HttpRequestFatalError"),(0,i._)(n,"metadata",void 0),n.metadata=r.metadata,n}return(0,p._)(e,t),e}(v.C),A=function(t){function e(t,r){var n;return(0,a._)(this,e),n=(0,m._)(this,e,[t,r]),(0,i._)(n,"name","HttpRequestTimeoutError"),(0,i._)(n,"metadata",void 0),n.metadata=r.metadata,n}return(0,p._)(e,t),e}(v.C),w=function(t){function e(t,r){var n;return(0,a._)(this,e),n=(0,m._)(this,e,[t,r]),(0,i._)(n,"name","HttpResponseParseError"),(0,i._)(n,"metadata",void 0),n.metadata=r.metadata,n}return(0,p._)(e,t),e}(v.C),x=r(40356),b=r(12668),P=r(94935),k=function(){function t(){(0,a._)(this,t)}return(0,s._)(t,[{key:"request",value:function(t){var e=t.method,r=t.url,u=t.payload,a=t.headers,s=t.expectedStatusCodes,i=t.credentials,_=t.timeout;return(0,P.XB)(function(){return(0,l._)(function(){var t,l,m,p;return(0,h._)(this,function(h){switch(h.label){case 0:return t={url:r.toString(),route:r.routePath,request:{method:e}},l=null!=_?AbortSignal.timeout(_):void 0,[5,(0,d.Ju)((0,n._)((0,o._)((0,P.Sx)((0,x.G)(r.toString(),{method:e,body:u,credentials:i,headers:Object.entries(a).filter(function(t){return null!=t[1]}),signal:l}),function(e){return(0,c._)(e,DOMException)&&"TimeoutError"===e.name?new A("The HTTP request timed out.",{cause:e,metadata:{error:{expected:!1},http:t}}):new y("Failed to request.",{cause:e,metadata:{error:{expected:!1},http:t}})}))))];case 1:var v;if(p={response:{status_code:(m=h.sent()).status}},v=m.status,!s.includes(v))return[2,(0,P._q)(new T("The status code of the response is unexpected. statusCode: ".concat(m.status),{cause:null,metadata:{error:{expected:!1},http:(0,f._)({},t,p)}}))];return[2,(0,P.ok)({statusCode:m.status,headers:Object.fromEntries(m.headers),json:function(){return(0,P.Sx)(m.json(),function(e){return new w("Failed to parse HTTP response body as json.",{cause:e,metadata:{error:{expected:!1},http:(0,f._)({},t,p)}})})},text:function(){return(0,P.Sx)(m.text(),function(e){return new w("Failed to parse HTTP response body as text.",{cause:e,metadata:{error:{expected:!1},http:(0,f._)({},t,p)}})})},arrayBuffer:function(){return(0,P.Sx)(m.arrayBuffer(),function(e){return new w("Failed to parse HTTP response body as binary.",{cause:e,metadata:{error:{expected:!1},http:(0,f._)({},t,p)}})})}})]}})})()})}}]),t}(),S=(0,b.R_)(function(){return new k}),R=r(94622),C=r(35853),H=r(91970),g=r(27851),q=(0,b.R_)(function(){return{notifyInvali
1dRefreshToken:g.y,notifyUserError:g.F}}),D=r(22246),O=function(){function t(e){var r=e.httpResourceAccessor,n=e.getAccessToken,o=e.refreshAccessToken,u=e.authorizationErrorNotifier;(0,a._)(this,t),(0,i._)(this,"_httpResourceAccessor",void 0),(0,i._)(this,"_getAccessToken",void 0),(0,i._)(this,"_refreshAccessToken",void 0),(0,i._)(this,"_authorizationErrorNotifier",void 0),this._httpResourceAccessor=r,this._getAccessToken=(0,P.dT)(n),this._refreshAccessToken=function(){return new P.EN(o())},this._authorizationErrorNotifier=u}return(0,s._)(t,[{key:"request",value:function(t){var e=this._httpResourceAccessor,r=this._getAccessToken,a=this._refreshAccessToken,s=this._authorizationErrorNotifier;function i(t){return(0,P.XB)(function(){return(0,l._)(function(){var u,a;return(0,h._)(this,function(s){switch(s.label){case 0:return[5,(0,d.Ju)((0,n._)((0,o._)(r().mapErr(function(e){return new E("Failed to get access token.",{cause:e,metadata:{error:{expected:!1},http:{url:t.url.toString(),route:t.url.routePath,request:{method:t.method}}}})}))))];case 1:return u=s.sent(),[5,(0,d.Ju)((0,n._)((0,o._)(e.request(Object.assign({},t,{headers:(0,_._)((0,f._)({},t.headers),{authorization:"Bearer ".concat(u)})})))))];case 2:return a=s.sent(),[2,(0,P.ok)(a)]}})})()})}return i(t).orElse(function(e){return(0,P.XB)(function(){return(0,l._)(function(){return(0,h._)(this,function(r){switch(r.label){case 0:if(!(0,c._)(e,T)||401!==e.metadata.http.response.status_code)return[2,(0,P._q)(e)];return[5,(0,d.Ju)((0,n._)((0,o._)(a().mapErr(function(e){return(0,u._)(function(){return(0,h._)(this,function(r){switch(r.label){case 0:if(!(0,c._)(e,R.C))return[3,2];return[4,s.notifyInvalidRefreshToken()];case 1:return r.sent(),[2,e];case 2:if(!((0,c._)(e,C.r)&&401===e.status))return[3,4];return[4,s.notifyUserError()];case 3:r.sent(),r.label=4;case 4:return[2,new E("Failed to refresh access token.",{cause:e,metadata:{error:{expected:!1},http:{url:t.url.toString(),route:t.url.routePath,request:{method:t.method}}}})]}})})()}))))];case 1:return r.sent(),[2,i(t)]}})})()})})}}]),t}(),U=(0,b.R_)(function(t){var e=t(H.Z9);return new O({httpResourceAccessor:t(S),getAccessToken:function(){return e.get()},refreshAccessToken:t(D.Ai),authorizationErrorNotifier:t(q)})})},11585:function(t,e,r){var n=r(38960),o=r(62906),u=r(57215),a=r(49304),s=function(t){function e(t,r){var a;return(0,o._)(this,e),a=(0,n._)(this,e,[t,r]),(0,u._)(a,"metadata",void 0),a.metadata=r.metadata,a}return(0,a._)(e,t),e}((0,r(29122)._)(Error));r.d(e,{C:function(){return s}})},32672:function(t,e,r){var n=r(5808);function o(t){var e={},r=!1;function o(e,o){return r=!0,o=new Promise(function(r){r(t[e](o))}),{done:!1,value:new n._(o,1)}}return e["u">typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return r?(r=!1,t):o("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(r)throw r=!1,t;return o("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return r?(r=!1,t):o("return",t)}),e}r.d(e,{_:function(){return o}})}}]);

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.