chunk-78069b83.22939023.js 20 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-78069b83"],{"06c5":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i("a630"),i("fb6a"),i("b0c0"),i("d3b7"),i("25f0"),i("3ca3");var n=i("6b75");function r(t,e){if(t){if("string"===typeof t)return Object(n["a"])(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Object(n["a"])(t,e):void 0}}},"0fd9":function(t,e,i){"use strict";i("4b85");var n=i("2b0e"),r=i("d9f7"),o=i("80d2");const s=["sm","md","lg","xl"],a=["start","end","center"];function c(t,e){return s.reduce((i,n)=>(i[t+Object(o["E"])(n)]=e(),i),{})}const l=t=>[...a,"baseline","stretch"].includes(t),d=c("align",()=>({type:String,default:null,validator:l})),u=t=>[...a,"space-between","space-around"].includes(t),f=c("justify",()=>({type:String,default:null,validator:u})),h=t=>[...a,"space-between","space-around","stretch"].includes(t),g=c("alignContent",()=>({type:String,default:null,validator:h})),p={align:Object.keys(d),justify:Object.keys(f),alignContent:Object.keys(g)},v={align:"align",justify:"justify",alignContent:"align-content"};function m(t,e,i){let n=v[t];if(null!=i){if(e){const i=e.replace(t,"");n+="-"+i}return n+="-"+i,n.toLowerCase()}}const b=new Map;e["a"]=n["default"].extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:l},...d,justify:{type:String,default:null,validator:u},...f,alignContent:{type:String,default:null,validator:h},...g},render(t,{props:e,data:i,children:n}){let o="";for(const r in e)o+=String(e[r]);let s=b.get(o);if(!s){let t;for(t in s=[],p)p[t].forEach(i=>{const n=e[i],r=m(t,i,n);r&&s.push(r)});s.push({"no-gutters":e.noGutters,"row--dense":e.dense,["align-"+e.align]:e.align,["justify-"+e.justify]:e.justify,["align-content-"+e.alignContent]:e.alignContent}),b.set(o,s)}return t(e.tag,Object(r["a"])(i,{staticClass:"row",class:s}),n)}})},"1c2b":function(t,e,i){"use strict";i.d(e,"i",(function(){return o})),i.d(e,"g",(function(){return s})),i.d(e,"h",(function(){return a})),i.d(e,"a",(function(){return c})),i.d(e,"f",(function(){return l})),i.d(e,"j",(function(){return d})),i.d(e,"e",(function(){return u})),i.d(e,"c",(function(){return f})),i.d(e,"b",(function(){return h})),i.d(e,"d",(function(){return g}));var n=i("365c"),r={videoTimelineApi:"/api/media/video/post/timeline",videoRecommendApi:"/api/media/video/post/recommend",videoTagApi:"/api/media/video/post/tag",similarVideoApi:"/api/media/video/post/similar",videoInfoApi:"/api/media/video/post/detail",videoUrlApi:"/api/media/video/url",videoCategoryApi:"/api/media/video/category",videoPostSubmitApi:"/api/media/video/post/submit",playerRecordApi:"/api/media/video/play/record",userVideoListApi:"/api/media/video/post/user"};function o(t){return n["a"].get(r.videoTimelineApi+"/"+t)}function s(t){return n["a"].get(r.videoRecommendApi+"/"+t)}function a(t,e){return n["a"].get(r.videoTagApi+"?tag="+t+"&page="+e)}function c(t){return n["a"].get(r.similarVideoApi+"?videoId="+t)}function l(t){return n["a"].get(r.videoInfoApi+"/"+t)}function d(t){return n["a"].get(r.videoUrlApi+"/"+t)}function u(){return n["a"].get(r.videoCategoryApi)}function f(t){return n["a"].post(r.videoPostSubmitApi,t)}function h(t){return n["a"].post(r.playerRecordApi,t)}function g(t,e){return n["a"].get(r.userVideoListApi+"?page="+t+"&userId="+e)}},"1dde":function(t,e,i){var n=i("d039"),r=i("b622"),o=i("2d00"),s=r("species");t.exports=function(t){return o>=51||!n((function(){var e=[],i=e.constructor={};return i[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"24b2":function(t,e,i){"use strict";var n=i("80d2"),r=i("2b0e");e["a"]=r["default"].extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=Object(n["g"])(this.height),i=Object(n["g"])(this.minHeight),r=Object(n["g"])(this.minWidth),o=Object(n["g"])(this.maxHeight),s=Object(n["g"])(this.maxWidth),a=Object(n["g"])(this.width);return e&&(t.height=e),i&&(t.minHeight=i),r&&(t.minWidth=r),o&&(t.maxHeight=o),s&&(t.maxWidth=s),a&&(t.width=a),t}}})},"25f0":function(t,e,i){"use strict";var n=i("6eeb"),r=i("825a"),o=i("d039"),s=i("ad6d"),a="toString",c=RegExp.prototype,l=c[a],d=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u=l.name!=a;(d||u)&&n(RegExp.prototype,a,(function(){var t=r(this),e=String(t.source),i=t.flags,n=String(void 0===i&&t instanceof RegExp&&!("flags"in c)?s.call(t):i);return"/"+e+"/"+n}),{unsafe:!0})},3408:function(t,e,i){},"36a7":function(t,e,i){},"371f":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{width:"320px"}},[i("router-link",{attrs:{to:"/video/"+t.videoInfo.videoId}},[i("div",{staticStyle:{position:"relative",width:"320px",height:"180px"}},[i("v-img",{attrs:{src:t.videoInfo.coverUrl,outlined:"","aspect-ratio":"1.77"}}),i("span",{staticStyle:{position:"absolute",bottom:"0",right:"0",color:"red"}},[t._v(t._s(t.videoInfo.duration))])],1)]),i("v-row",[i("v-col",{attrs:{cols:"2"}},[null!==t.videoInfo.userId?i("router-link",{attrs:{to:"/u/"+t.videoInfo.userId}},[i("v-avatar",{attrs:{size:"48"}},[i("v-img",{attrs:{src:t.videoInfo.avatarUrl}})],1)],1):t._e()],1),i("v-col",{attrs:{cols:"10"}},[i("p",{staticStyle:{"font-size":"15px","margin-bottom":"0px",color:"black"}},[i("router-link",{staticStyle:{color:"black"},attrs:{to:"/video/"+t.videoInfo.videoId}},[t._v(" "+t._s(t.videoInfo.title)+" ")])],1),i("p",{staticStyle:{"font-size":"10px",color:"#606060"}},[null!==t.videoInfo.userId?i("router-link",{attrs:{to:"/u/"+t.videoInfo.userId}},[t._v(" "+t._s(t.videoInfo.username))]):t._e(),i("br"),t._v(" "+t._s(t.videoInfo.viewCount)+" 观看 "),i("span",{domProps:{innerHTML:t._s("&nbsp;&nbsp;")}}),t._v(" "+t._s(t.videoInfo.commentCount)+" 评论 "),i("span",{domProps:{innerHTML:t._s("&nbsp;&nbsp;")}})],1)])],1)],1)},r=[],o=i("9878"),s={name:"ItemCard",props:{video:{type:Object,default:function(){}}},data:function(){return{TimeUtil:o["a"],videoInfo:this.video}},created:function(){}},a=s,c=i("2877"),l=i("6544"),d=i.n(l),u=i("8212"),f=i("62ad"),h=i("adda"),g=i("0fd9"),p=Object(c["a"])(a,n,r,!1,null,null,null);e["a"]=p.exports;d()(p,{VAvatar:u["a"],VCol:f["a"],VImg:h["a"],VRow:g["a"]})},"4df4":function(t,e,i){"use strict";var n=i("0366"),r=i("7b0b"),o=i("9bdd"),s=i("e95a"),a=i("50c4"),c=i("8418"),l=i("35a1");t.exports=function(t){var e,i,d,u,f,h,g=r(t),p="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:void 0,b=void 0!==m,y=l(g),S=0;if(b&&(m=n(m,v>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(e=a(g.length),i=new p(e);e>S;S++)h=b?m(g[S],S):g[S],c(i,S,h);else for(u=y.call(g),f=u.next,i=new p;!(d=f.call(u)).done;S++)h=b?o(u,m,[d.value,S],!0):d.value,c(i,S,h);return i.length=S,i}},"62ad":function(t,e,i){"use strict";i("4b85");var n=i("2b0e"),r=i("d9f7"),o=i("80d2");const s=["sm","md","lg","xl"],a=(()=>s.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),c=(()=>s.reduce((t,e)=>(t["offset"+Object(o["E"])(e)]={type:[String,Number],default:null},t),{}))(),l=(()=>s.reduce((t,e)=>(t["order"+Object(o["E"])(e)]={type:[String,Number],default:null},t),{}))(),d={col:Object.keys(a),offset:Object.keys(c),order:Object.keys(l)};function u(t,e,i){let n=t;if(null!=i&&!1!==i){if(e){const i=e.replace(t,"");n+="-"+i}return"col"!==t||""!==i&&!0!==i?(n+="-"+i,n.toLowerCase()):n.toLowerCase()}}const f=new Map;e["a"]=n["default"].extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...a,offset:{type:[String,Number],default:null},...c,order:{type:[String,Number],default:null},...l,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:i,children:n,parent:o}){let s="";for(const r in e)s+=String(e[r]);let a=f.get(s);if(!a){let t;for(t in a=[],d)d[t].forEach(i=>{const n=e[i],r=u(t,i,n);r&&a.push(r)});const i=a.some(t=>t.startsWith("col-"));a.push({col:!i||!e.cols,["col-"+e.cols]:e.cols,["offset-"+e.offset]:e.offset,["order-"+e.order]:e.order,["align-self-"+e.alignSelf]:e.alignSelf}),f.set(s,a)}return t(e.tag,Object(r["a"])(i,{class:a}),n)}})},"6b75":function(t,e,i){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}i.d(e,"a",(function(){return n}))},"7abe":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-container",{staticStyle:{"padding-left":"24px","padding-right":"24px"},attrs:{"fill-height":"",fluid:""}},[i("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadMore,expression:"loadMore"}],attrs:{"infinite-scroll-disabled":"true","infinite-scroll-distance":"10"}},[i("v-row",{attrs:{"no-gutters":""}},t._l(t.videoList,(function(t){return i("v-col",{key:t.id},[i("VideoCared",{attrs:{video:t}})],1)})),1)],1)])},r=[],o=i("b85c"),s=i("1c2b"),a=i("371f"),c={name:"Index",components:{VideoCared:a["a"]},data:function(){return{videoList:[],busy:!1,page:1}},created:function(){this.getRecommendVideo(this.page)},methods:{loadMore:function(){var t=this;this.busy=!0,setTimeout((function(){t.getRecommendVideo(t.page)}),1e3)},getRecommendVideo:function(t){var e=this;Object(s["g"])(t).then((function(t){if(0===t.code){var i,n=Object(o["a"])(t.data.list);try{for(n.s();!(i=n.n()).done;){var r=i.value;e.videoList.push(r)}}catch(s){n.e(s)}finally{n.f()}e.page+=1,e.busy=!1}else console.error(t.msg)})).catch((function(t){console.error(t.message)}))}}},l=c,d=(i("a4f2"),i("2877")),u=i("6544"),f=i.n(u),h=i("62ad"),g=i("a523"),p=i("0fd9"),v=Object(d["a"])(l,n,r,!1,null,null,null);e["default"]=v.exports;f()(v,{VCol:h["a"],VContainer:g["a"],VRow:p["a"]})},8212:function(t,e,i){"use strict";i("3408");var n=i("a9ad"),r=i("24b2"),o=i("a236"),s=i("80d2"),a=i("58df");e["a"]=Object(a["a"])(n["a"],r["a"],o["a"]).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:Object(s["g"])(this.size),minWidth:Object(s["g"])(this.size),width:Object(s["g"])(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}})},8418:function(t,e,i){"use strict";var n=i("c04e"),r=i("9bf2"),o=i("5c6c");t.exports=function(t,e,i){var s=n(e);s in t?r.f(t,s,o(0,i)):t[s]=i}},"8efc":function(t,e,i){},"90a2":function(t,e,i){"use strict";function n(t,e){const i=e.modifiers||{},n=e.value,{handler:o,options:s}="object"===typeof n?n:{handler:n,options:{}},a=new IntersectionObserver((e=[],n)=>{if(t._observe){if(o&&(!i.quiet||t._observe.init)){const t=Boolean(e.find(t=>t.isIntersecting));o(e,n,t)}t._observe.init&&i.once?r(t):t._observe.init=!0}},s);t._observe={init:!1,observer:a},a.observe(t)}function r(t){t._observe&&(t._observe.observer.unobserve(t),delete t._observe)}const o={inserted:n,unbind:r};e["a"]=o},9878:function(t,e,i){"use strict";i("b65f");function n(t){if(""===t||null==t)return"";var e=new Date(t);return e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()+" "+e.getHours()+":"+e.getMinutes()+":"+e.getSeconds()}function r(t){if(""===t||null==t)return"";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日 "+e.getHours()+"时"+e.getMinutes()+"分"}function o(t,e){return r(t)+" ~ "+r(e)}function s(t){var e=(new Date).getTime(),i=e-t;return i=Math.trunc(i/1e3),i<60?i+"秒前":(i=Math.trunc(i/60),i<60?i+"分钟前":(i=Math.trunc(i/60),i<24?i+"小时前":(i=Math.trunc(i/24),i<30?i+"天前":n(t))))}var a,c,l={timeToNowStrning:s,renderTime:n,formateTimeToChinese:r,formateTime:o},d=l,u=i("2877"),f=Object(u["a"])(d,a,c,!1,null,null,null);e["a"]=f.exports},a236:function(t,e,i){"use strict";var n=i("2b0e");e["a"]=n["default"].extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const i=e.split(" ");for(const e of i)t.push("rounded-"+e)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}})},a4f2:function(t,e,i){"use strict";var n=i("a799"),r=i.n(n);r.a},a630:function(t,e,i){var n=i("23e7"),r=i("4df4"),o=i("1c7e"),s=!o((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:s},{from:r})},a799:function(t,e,i){},a9ad:function(t,e,i){"use strict";var n=i("2b0e"),r=i("d9bd"),o=i("7bc6");e["a"]=n["default"].extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(Object(r["b"])("style must be an object",this),e):"string"===typeof e.class?(Object(r["b"])("class must be an object",this),e):(Object(o["d"])(t)?e.style={...e.style,"background-color":""+t,"border-color":""+t}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return Object(r["b"])("style must be an object",this),e;if("string"===typeof e.class)return Object(r["b"])("class must be an object",this),e;if(Object(o["d"])(t))e.style={...e.style,color:""+t,"caret-color":""+t};else if(t){const[i,n]=t.toString().trim().split(" ",2);e.class={...e.class,[i+"--text"]:!0},n&&(e.class["text--"+n]=!0)}return e}}})},ad6d:function(t,e,i){"use strict";var n=i("825a");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},adda:function(t,e,i){"use strict";i("8efc");var n=i("90a2"),r=(i("36a7"),i("24b2")),o=i("58df"),s=Object(o["a"])(r["a"]).extend({name:"v-responsive",props:{aspectRatio:[String,Number]},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content"},this.$slots.default)}},render(t){return t("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}}),a=s,c=i("7560"),l=i("d9f7"),d=i("d9bd");const u="undefined"!==typeof window&&"IntersectionObserver"in window;e["a"]=Object(o["a"])(a,c["a"]).extend({name:"v-img",directives:{intersect:n["a"]},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data(){return{currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0,hasError:!1}},computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},normalisedSrc(){return this.src&&"object"===typeof this.src?{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}:{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}},__cachedImage(){if(!(this.normalisedSrc.src||this.normalisedSrc.lazySrc||this.gradient))return[];const t=[],e=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&t.push(`linear-gradient(${this.gradient})`),e&&t.push(`url("${e}")`);const i=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:t.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[i]):i}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(t,e,i){if(!u||i||this.eager){if(this.normalisedSrc.lazySrc){const t=new Image;t.src=this.normalisedSrc.lazySrc,this.pollForSize(t,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src)},onError(){this.hasError=!0,this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const t=new Image;this.image=t,t.onload=()=>{t.decode?t.decode().catch(t=>{Object(d["c"])("Failed to decode image, trying to render anyway\n\nsrc: "+this.normalisedSrc.src+(t.message?"\nOriginal error: "+t.message:""),this)}).then(this.onLoad):this.onLoad()},t.onerror=this.onError,this.hasError=!1,t.src=this.normalisedSrc.src,this.sizes&&(t.sizes=this.sizes),this.normalisedSrc.srcset&&(t.srcset=this.normalisedSrc.srcset),this.aspectRatio||this.pollForSize(t),this.getSrc()},pollForSize(t,e=100){const i=()=>{const{naturalHeight:n,naturalWidth:r}=t;n||r?(this.naturalWidth=r,this.calculatedAspectRatio=r/n):null!=e&&!this.hasError&&setTimeout(i,e)};i()},genContent(){const t=a.options.methods.genContent.call(this);return this.naturalWidth&&this._b(t.data,"div",{style:{width:this.naturalWidth+"px"}}),t},__genPlaceholder(){if(this.$slots.placeholder){const t=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},this.$slots.placeholder)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},t):t[0]}}},render(t){const e=a.options.render.call(this,t),i=Object(l["a"])(e.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:u?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return e.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],t(e.tag,i,e.children)}})},b65f:function(t,e,i){var n=i("23e7"),r=Math.ceil,o=Math.floor;n({target:"Math",stat:!0},{trunc:function(t){return(t>0?o:r)(t)}})},b85c:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));i("a4d3"),i("e01a"),i("d28b"),i("d3b7"),i("3ca3"),i("ddb0");var n=i("06c5");function r(t,e){var i;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=Object(n["a"])(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,c=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return a=t.done,t},e:function(t){c=!0,s=t},f:function(){try{a||null==i["return"]||i["return"]()}finally{if(c)throw s}}}}},fb6a:function(t,e,i){"use strict";var n=i("23e7"),r=i("861d"),o=i("e8b5"),s=i("23cb"),a=i("50c4"),c=i("fc6a"),l=i("8418"),d=i("b622"),u=i("1dde"),f=i("ae40"),h=u("slice"),g=f("slice",{ACCESSORS:!0,0:0,1:2}),p=d("species"),v=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!h||!g},{slice:function(t,e){var i,n,d,u=c(this),f=a(u.length),h=s(t,f),g=s(void 0===e?f:e,f);if(o(u)&&(i=u.constructor,"function"!=typeof i||i!==Array&&!o(i.prototype)?r(i)&&(i=i[p],null===i&&(i=void 0)):i=void 0,i===Array||void 0===i))return v.call(u,h,g);for(n=new(void 0===i?Array:i)(m(g-h,0)),d=0;h<g;h++,d++)h in u&&l(n,d,u[h]);return n.length=d,n}})}}]);