|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f9ca11f"],{"06c5":function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));a("a630"),a("fb6a"),a("b0c0"),a("d3b7"),a("25f0"),a("3ca3");function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n}function o(t,e){if(t){if("string"===typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(t,e):void 0}}},"1b63":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"check-page"},[a("a-button",{staticClass:"export-all",attrs:{type:"primary"},on:{click:t.exportStock}},[t._v(" 导出全部巷道 ")]),a("div",{staticClass:"title-info"},[a("span",{staticClass:"explain"},[t._v("颜色说明:")]),a("span",{staticClass:"info-text"},[a("a-tag",{staticStyle:{width:"30px",height:"20px","margin-right":"6px"},attrs:{color:"#d81e06"}}),t._v(" 盘点错误 ")],1),a("span",{staticClass:"info-text"},[a("a-tag",{staticStyle:{width:"30px",height:"20px","margin-right":"6px"},attrs:{color:"#1afa29"}}),t._v(" 盘点正确 ")],1),a("span",{staticClass:"info-text"},[a("a-tag",{staticStyle:{width:"30px",height:"20px","margin-right":"6px"},attrs:{color:"#bfbfbf"}}),t._v(" 未盘点 ")],1)]),a("div",{staticStyle:{"margin-top":"10px"}},[t.data[0]?a("a-select",{staticClass:"select-roadway",attrs:{"default-value":t.data[0].name},on:{change:t.handleChange}},t._l(t.data,(function(e){return a("a-select-option",{key:e.name,attrs:{value:e.id}},[t._v(" "+t._s(e.name)+" ")])})),1):t._e()],1),a("div",{staticClass:"center-box"},[a("span",{staticClass:"shelf-number"},[t._v(" 左货架号: "+t._s(t.leftShelveId.shelveId)+" ")]),t.streetDetail.leftInsideShelveId&&t.streetDetail.leftOutsideShelveId?a("a-radio-group",{staticStyle:{margin:"10px 0"},on:{change:t.getStockRowColumn},model:{value:t.size,callback:function(e){t.size=e},expression:"size"}},[a("a-radio-button",{attrs:{value:"leftOutsideShelveId"}},[t._v(" 外 ")]),a("a-radio-button",{attrs:{value:"leftInsideShelveId"}},[t._v(" 内 ")])],1):t._e()],1),t._l(t.data,(function(e){return a("div",{key:e.id,staticClass:"check-content"},[e.id==t.select?a("subsection",{attrs:{total:{row:e.leftRow,column:e.leftColumn},stockInfo:t.stockInfo.left},scopedSlots:t._u([{key:"default",fn:function(n){return[a("div",{staticClass:"roadway-top"},[a("div",{staticClass:"roadway-box"},t._l(e.leftColumn,(function(o,i){return o>=n.data.random.column[0]&&o<=n.data.random.column[1]?a("div",{key:i,staticClass:"line"},t._l(e.leftRow,(function(i,r){return i>=n.data.random.row[0]&&i<=n.data.random.row[1]?a("div",{key:r,staticClass:"el"},[a("span",{staticClass:"default",style:{background:t.getStatusBg(t.stockInfo.left,i+"-"+o)},on:{click:function(a){return t.tocheck(i,o,t.leftShelveId.shelveId,e.id,e.name,"left",t.leftShelveId.shelveType)}}},[t._v(" "+t._s(i)+"-"+t._s(o)+" ")])]):t._e()})),0):t._e()})),0)])]}}],null,!0)}):t._e()],1)})),a("div",{staticClass:"center-box"},[a("span",{staticClass:"shelf-number"},[t._v(" 右货架号: "+t._s(t.rightShelveId.shelveId)+" ")]),t.streetDetail.rightInsideShelveId&&t.streetDetail.rightOutsideShelveId?a("a-radio-group",{staticStyle:{margin:"10px 0"},on:{change:t.getStockRowColumn},model:{value:t.size2,callback:function(e){t.size2=e},expression:"size2"}},[a("a-radio-button",{attrs:{value:"rightOutsideShelveId"}},[t._v(" 外 ")]),a("a-radio-button",{attrs:{value:"rightInsideShelveId"}},[t._v(" 内 ")])],1):t._e()],1),t._l(t.data,(function(e){return a("div",{key:e.name,staticClass:"check-content"},[e.id==t.select?a("subsection",{attrs:{total:{row:e.leftRow,column:e.leftColumn},stockInfo:t.stockInfo.right},scopedSlots:t._u([{key:"default",fn:function(n){return[a("div",{staticClass:"roadway-buttom"},[a("div",{staticClass:"roadway-box"},t._l(e.rightColumn,(function(o,i){return o>=n.data.random.column[0]&&o<=n.data.random.column[1]?a("div",{key:i,staticClass:"line"},t._l(e.rightRow,(function(i,r){return i>=n.data.random.row[0]&&i<=n.data.random.row[1]?a("div",{key:r,staticClass:"el"},[a("span",{staticClass:"default",style:{background:t.getStatusBg(t.stockInfo.right,i+"-"+o)},on:{click:function(a){return t.tocheck(i,o,t.rightShelveId.shelveId,e.id,e.name,"right",t.rightShelveId.shelveType)}}},[t._v(" "+t._s(i)+"-"+t._s(o)+" ")])]):t._e()})),0):t._e()})),0)])]}}],null,!0)}):t._e()],1)}))],2)},o=[],i=(a("4de4"),a("96cf"),a("1da1")),r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"subsection"},[a("a-layout",{staticStyle:{width:"900px"}},[a("a-layout",{staticStyle:{width:"100%",height:"310px"}},[a("a-layout-sider",{attrs:{width:"110px"}},[t.total.column>t.nums.column?a("a-tabs",{attrs:{"default-active-key":"1","tab-position":"left"},on:{change:function(e){return t.select.column=e}}},t._l(t.latticeColumn,(function(e){return a("a-tab-pane",{key:e},[a("span",{attrs:{slot:"tab"},slot:"tab"},[t._v(" "+t._s(t.getRandom(e,t.latticeColumn,t.nums.column,t.total.column))+" "),1===t.status.column[e]?a("a-icon",{staticStyle:{color:"#d81e06"},attrs:{type:"close-circle"}}):2===t.status.column[e]?a("a-icon",{staticStyle:{color:"#1afa29"},attrs:{type:"check-circle"}}):a("a-icon",{staticStyle:{color:"#909399"},attrs:{type:"exclamation-circle"}})],1)])})),1):t._e()],1),a("a-layout-content",[t._t("default",null,{data:{select:t.select,nums:t.nums,random:t.random}})],2)],1),a("a-layout-footer",[t.total.row>t.nums.row?a("a-tabs",{attrs:{"default-active-key":"1","tab-position":"bottom"},on:{change:function(e){return t.select.row=e}}},t._l(t.latticeRow,(function(e){return a("a-tab-pane",{key:e},[a("span",{attrs:{slot:"tab"},slot:"tab"},[t._v(" "+t._s(t.getRandom(e,t.latticeRow,t.nums.row,t.total.row))+" "),1===t.status.row[e]?a("a-icon",{staticStyle:{color:"#d81e06"},attrs:{type:"close-circle"}}):2===t.status.row[e]?a("a-icon",{staticStyle:{color:"#1afa29"},attrs:{type:"check-circle"}}):a("a-icon",{staticStyle:{color:"#909399"},attrs:{type:"exclamation-circle"}})],1)])})),1):t._e()],1)],1)],1)},s=[];a("99af"),a("d81d"),a("a9e3"),a("ac1f"),a("1276");function c(t){if(Array.isArray(t))return t}a("a4d3"),a("e01a"),a("d28b"),a("d3b7"),a("3ca3"),a("ddb0");function l(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var a=[],n=!0,o=!1,i=void 0;try{for(var r,s=t[Symbol.iterator]();!(n=(r=s.next()).done);n=!0)if(a.push(r.value),e&&a.length===e)break}catch(c){o=!0,i=c}finally{try{n||null==s["return"]||s["return"]()}finally{if(o)throw i}}return a}}var u=a("06c5");function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,e){return c(t)||l(t,e)||Object(u["a"])(t,e)||d()}var h={name:"Subsection",components:{},props:{select:{type:Object,default:function(){return{row:1,column:1}}},total:{row:1,column:1},nums:{type:Object,default:function(){return{row:15,column:10}}},stockInfo:{type:Object,default:function(){return{}}}},computed:{latticeRow:function(){return parseInt(this.total.row/this.nums.row)+(this.total.row%this.nums.row>0?1:0)},latticeColumn:function(){return parseInt(this.total.column/this.nums.column)+(this.total.column%this.nums.column>0?1:0)},random:function(){return{row:this.getRandomRow(this.select.row),column:this.getRandomColumn(this.select.column)}},watchStockInfo:function(){return JSON.stringify(this.stockInfo)}},watch:{watchStockInfo:function(){this.getStatus()}},data:function(){return{status:{row:{},column:{}}}},mounted:function(){},created:function(){this.getStatus()},destroyed:function(){},methods:{getRandom:function(t,e,a,n){return t!==e?"".concat((t-1)*a+1," - ").concat(t*a):"".concat((t-1)*a+1," - ").concat(n)},getRandomRow:function(t){return this.getRandom(t,this.latticeRow,this.nums.row,this.total.row).split(" - ").map((function(t){return Number(t)}))},getRandomColumn:function(t){return this.getRandom(t,this.latticeColumn,this.nums.column,this.total.column).split(" - ").map((function(t){return Number(t)}))},fragmentStatus:function(t,e){var a=1,n=this.total.row,o=1,i=this.total.column;if("row"===t){var r=this.getRandomRow(e),s=f(r,2);a=s[0],n=s[1]}else{var c=this.getRandomColumn(e),l=f(c,2);o=l[0],i=l[1]}console.log(a,n,o,i)},getStatus:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a,n,o,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(a=1;a<=t.total.row;a++)for(n=1;n<=t.total.column;n++)o=(t.stockInfo["".concat(a,"-").concat(n)]||{}).status||0,o<2&&(i=parseInt(a/t.nums.row)+(a%t.nums.row>0?1:0),r=parseInt(n/t.nums.column)+(n%t.nums.column>0?1:0),1===o?(console.log("第几段",i,r),console.log(a,n,o),t.$set(t.status.row,i,o),t.$set(t.status.column,r,o)):(t.status.row[i]||t.$set(t.status.row,i,o),t.status.column[r]||t.$set(t.status.column,r,o)));console.log(t.status);case 2:case"end":return e.stop()}}),e)})))()}}},p=h,v=(a("cb51"),a("2877")),g=Object(v["a"])(p,r,s,!1,null,"35fa32c8",null),m=g.exports,b={name:"checkManage",data:function(){return{size:"leftOutsideShelveId",size2:"rightOutsideShelveId",data:[],select:"",streetId:0,streetDetail:{},checkList:[],stockInfo:{left:{},right:{}},timer:null}},computed:{leftShelveId:function(){var t,e="none";return this.streetDetail.leftShelveId?t=this.streetDetail.leftShelveId:this.streetDetail.leftInsideShelveId&&"leftInsideShelveId"==this.size?(t=this.streetDetail.leftInsideShelveId,e="inside"):this.streetDetail.leftOutsideShelveId&&"leftOutsideShelveId"==this.size&&(t=this.streetDetail.leftOutsideShelveId,e="out"),{shelveId:t,shelveType:e}},rightShelveId:function(){var t,e="none";return this.streetDetail.rightShelveId?t=this.streetDetail.rightShelveId:this.streetDetail.rightInsideShelveId&&"rightInsideShelveId"==this.size2?(t=this.streetDetail.rightInsideShelveId,e="inside"):this.streetDetail.rightOutsideShelveId&&"rightOutsideShelveId"==this.size2&&(t=this.streetDetail.rightOutsideShelveId,e="out"),{shelveId:t,shelveType:e}}},mounted:function(){this.request()},activated:function(){this.request()},beforeRouteLeave:function(t,e,a){this.timer&&clearInterval(this.timer),a()},methods:{request:function(){var t=this;this.$api.httpApi.getStreetList({data:{pageNum:1,pageSize:50}}).then((function(e){t.data=e.data.list,t.select=e.data.list[0].id,t.getStockList(e.data.list[0].id),t.getStreetDetail(e.data.list[0].id),t.getStockRowColumn()})).catch((function(t){}))},getStockRowColumn:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=function(){var e=t.data.filter((function(e){return e.id===t.select}))[0],a=null,n=null;e.leftInsideShelveId&&"leftInsideShelveId"==t.size?a=e.leftInsideShelveId:e.leftOutsideShelveId&&"leftOutsideShelveId"==t.size?a=e.leftOutsideShelveId:e.leftShelveId&&(a=e.leftShelveId),e.rightInsideShelveId&&"rightInsideShelveId"==t.size2?n=e.rightInsideShelveId:e.rightOutsideShelveId&&"rightOutsideShelveId"==t.size2?n=e.rightOutsideShelveId:e.rightShelveId&&(n=e.rightShelveId);var o={leftShelveId:a,rightShelveId:n};t.$api.httpNodeApi.getStockRowColumnAPI({params:o}).then((function(e){var a=e.data;t.$set(t,"stockInfo",a)}))},t.timer&&clearInterval(t.timer),a(),t.timer=setInterval(a,5e3);case 4:case"end":return e.stop()}}),e)})))()},getStatus:function(t,e){return(t[e]||{}).status},getStatusBg:function(t,e){var a=this.getStatus(t,e);return 1==a?"#d81e06":2==a?"#1afa29":"#bfbfbf"},getStreetDetail:function(t){var e=this;this.$axios.get("/street/"+t,{data:{}}).then((function(t){e.streetDetail=t.data})).catch((function(t){}))},getStockList:function(t){var e=this;this.$api.httpApi.getStockList({params:{streetId:t}}).then((function(t){e.checkList=t.data})).catch((function(t){}))},handleChange:function(t){console.error("handleChange"),console.log(t),this.select=t,this.getStreetDetail(t),this.getStockList(t),this.getStockRowColumn()},tocheckOperation:function(t,e){console.log(t),console.log(e),this.$router.push({name:"checkOperation",query:{checkObj:t,item:e}})},tocheck:function(t,e,a,n,o,i,r){console.log(i),console.log(r),this.$router.push({name:"checkOperation",query:{row:t,column:e,shelveId:a,id:n,name:o,type:i,type2:r}})},exportStock:function(){var t=this;this.$api.httpApi.exportStock({params:{streetId:this.select}}).then((function(e){var a=new Blob([e],{type:"application/vnd.ms-excel"});t.$utils.downloadFile("巷道列表.xls",a)})).catch((function(t){}))}},components:{Subsection:m}},y=b,S=(a("ca2c"),Object(v["a"])(y,n,o,!1,null,"fa099e7c",null));e["default"]=S.exports},"2f6b":function(t,e,a){var n=a("a027");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("499e").default;o("89028e2c",n,!0,{sourceMap:!1,shadowMode:!1})},5899:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(t,e,a){var n=a("1d80"),o=a("5899"),i="["+o+"]",r=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),c=function(t){return function(e){var a=String(n(e));return 1&t&&(a=a.replace(r,"")),2&t&&(a=a.replace(s,"")),a}};t.exports={start:c(1),end:c(2),trim:c(3)}},7156:function(t,e,a){var n=a("861d"),o=a("d2bb");t.exports=function(t,e,a){var i,r;return o&&"function"==typeof(i=e.constructor)&&i!==a&&n(r=i.prototype)&&r!==a.prototype&&o(t,r),t}},"8a9b":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".alarm .ant-form-item-label[data-v-35fa32c8]{text-align:left}.subsection[data-v-35fa32c8] {width:100%;height:360px;overflow:hidden}.subsection[data-v-35fa32c8] .ant-tabs-nav .ant-tabs-tab{margin-right:0}.subsection[data-v-35fa32c8] .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){background:#40a9ff;border-color:#40a9ff;box-shadow:-1px 0 0 0 #40a9ff}.subsection[data-v-35fa32c8] .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{background:#40a9ff;border-color:#40a9ff}.subsection[data-v-35fa32c8] .ant-radio-button-wrapper-checked{box-shadow:-1px 0 0 0 #40a9ff}.subsection[data-v-35fa32c8] .radio-button-cell{width:100px;text-align:center}.subsection[data-v-35fa32c8] .ant-layout-sider{height:100%}.subsection[data-v-35fa32c8] .ant-layout-sider .ant-tabs{height:300px}.subsection[data-v-35fa32c8] .ant-layout-sider .ant-tabs-tab{padding:8px;margin-bottom:5px;width:104px}.subsection[data-v-35fa32c8] .ant-layout-footer{padding:0 0 0 110px}.subsection[data-v-35fa32c8] .ant-layout-footer .ant-tabs-bottom-bar{margin-top:0}.subsection[data-v-35fa32c8] .ant-layout,.subsection[data-v-35fa32c8] .ant-layout-footer,.subsection[data-v-35fa32c8] .ant-layout-sider{background-color:#fff}",""]),t.exports=e},"94a6":function(t,e,a){var n=a("8a9b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("499e").default;o("565a2cc3",n,!0,{sourceMap:!1,shadowMode:!1})},"99af":function(t,e,a){"use strict";var n=a("23e7"),o=a("d039"),i=a("e8b5"),r=a("861d"),s=a("7b0b"),c=a("50c4"),l=a("8418"),u=a("65f0"),d=a("1dde"),f=a("b622"),h=a("2d00"),p=f("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=h>=51||!o((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),b=d("concat"),y=function(t){if(!r(t))return!1;var e=t[p];return void 0!==e?!!e:i(t)},S=!m||!b;n({target:"Array",proto:!0,forced:S},{concat:function(t){var e,a,n,o,i,r=s(this),d=u(r,0),f=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?r:arguments[e],y(i)){if(o=c(i.length),f+o>v)throw TypeError(g);for(a=0;a<o;a++,f++)a in i&&l(d,f,i[a])}else{if(f>=v)throw TypeError(g);l(d,f++,i)}return d.length=f,d}})},a027:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".alarm .ant-form-item-label[data-v-fa099e7c]{text-align:left}.check-page[data-v-fa099e7c]{position:relative}.check-page .title-info[data-v-fa099e7c]{display:flex;align-items:center;justify-content:start}.check-page .title-info .explain[data-v-fa099e7c]{font-weight:600}.check-page .title-info .info-text[data-v-fa099e7c]{display:flex;align-items:center;justify-content:center;margin-right:15px}.check-page .ant-tag[data-v-fa099e7c]{margin-right:0;display:block;line-height:25px;text-align:center;cursor:pointer}.check-page .roadway-top[data-v-fa099e7c],.check-page roadway-buttom[data-v-fa099e7c]{padding:5px 0;width:100%}.check-page .roadway-box[data-v-fa099e7c]{transform:rotateX(180deg);padding:10px 10px 0 0}.check-page .roadway-box .line[data-v-fa099e7c]{display:flex;transform:rotateX(180deg)}.check-page .roadway-box .line .el[data-v-fa099e7c]{width:46px;height:25px;line-height:25px;margin:2px;font-size:12px;text-align:center;border-radius:4px;cursor:pointer;position:relative}.check-page .roadway-box .line .el .default[data-v-fa099e7c]{position:absolute;top:0;left:0;right:0;bottom:0}.check-page .center-box[data-v-fa099e7c]{width:500px;height:52px;line-height:52px}.check-page .center-box .shelf-number[data-v-fa099e7c]{display:inline-block;width:200px}.check-page .export-all[data-v-fa099e7c]{position:absolute;right:20px}",""]),t.exports=e},a630:function(t,e,a){var n=a("23e7"),o=a("4df4"),i=a("1c7e"),r=!i((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:r},{from:o})},a9e3:function(t,e,a){"use strict";var n=a("83ab"),o=a("da84"),i=a("94ca"),r=a("6eeb"),s=a("5135"),c=a("c6b6"),l=a("7156"),u=a("c04e"),d=a("d039"),f=a("7c73"),h=a("241c").f,p=a("06cf").f,v=a("9bf2").f,g=a("58a8").trim,m="Number",b=o[m],y=b.prototype,S=c(f(y))==m,I=function(t){var e,a,n,o,i,r,s,c,l=u(t,!1);if("string"==typeof l&&l.length>2)if(l=g(l),e=l.charCodeAt(0),43===e||45===e){if(a=l.charCodeAt(2),88===a||120===a)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+l}for(i=l.slice(2),r=i.length,s=0;s<r;s++)if(c=i.charCodeAt(s),c<48||c>o)return NaN;return parseInt(i,n)}return+l};if(i(m,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var w,x=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof x&&(S?d((function(){y.valueOf.call(a)})):c(a)!=m)?l(new b(I(e)),a,x):I(e)},k=n?h(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;k.length>_;_++)s(b,w=k[_])&&!s(x,w)&&v(x,w,p(b,w));x.prototype=y,y.constructor=x,r(o,m,x)}},ca2c:function(t,e,a){"use strict";var n=a("2f6b"),o=a.n(n);o.a},cb51:function(t,e,a){"use strict";var n=a("94a6"),o=a.n(n);o.a},d28b:function(t,e,a){var n=a("746f");n("iterator")},e01a:function(t,e,a){"use strict";var n=a("23e7"),o=a("83ab"),i=a("da84"),r=a("5135"),s=a("861d"),c=a("9bf2").f,l=a("e893"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},f=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof f?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};l(f,u);var h=f.prototype=u.prototype;h.constructor=f;var p=h.toString,v="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(r(d,t))return"";var a=v?e.slice(7,-1):e.replace(g,"$1");return""===a?void 0:a}}),n({global:!0,forced:!0},{Symbol:f})}},fb6a:function(t,e,a){"use strict";var n=a("23e7"),o=a("861d"),i=a("e8b5"),r=a("23cb"),s=a("50c4"),c=a("fc6a"),l=a("8418"),u=a("b622"),d=a("1dde"),f=a("ae40"),h=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),g=[].slice,m=Math.max;n({target:"Array",proto:!0,forced:!h||!p},{slice:function(t,e){var a,n,u,d=c(this),f=s(d.length),h=r(t,f),p=r(void 0===e?f:e,f);if(i(d)&&(a=d.constructor,"function"!=typeof a||a!==Array&&!i(a.prototype)?o(a)&&(a=a[v],null===a&&(a=void 0)):a=void 0,a===Array||void 0===a))return g.call(d,h,p);for(n=new(void 0===a?Array:a)(m(p-h,0)),u=0;h<p;h++,u++)h in d&&l(n,u,d[h]);return n.length=u,n}})}}]); |