{"version":3,"sources":["webpack:///./src/@pilar/components/vinculo-empresas/VinculoEmpresas.vue?c502","webpack:///./src/app/usuario/shared/components/vinculo-empresas/shared/colunasPadrao.js","webpack:///src/@pilar/components/vinculo-empresas/VinculoEmpresas.vue","webpack:///./src/@pilar/components/vinculo-empresas/VinculoEmpresas.vue?99f6","webpack:///./src/@pilar/components/vinculo-empresas/VinculoEmpresas.vue","webpack:///./src/@pilar/components/vinculo-empresas/VinculoEmpresas.vue?7a39","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./node_modules/core-js/modules/es.array.find-index.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","visualizacaoOpcoes","_v","_s","customTitle","cadastroUsuario","staticClass","customSubtitle","staticStyle","tituloVinculada","class","temBusca","filtrosRapidos","filtroAtual","on","$event","aplicarFiltroRapido","_e","placeholderBusca","buscar","cleanInputVinculada","model","value","callback","$$v","buscaDigitadaVinculada","expression","tipoRotina","filtrosRapidosDas","mudarFiltroDasSelecionado","filtroStringDas","ref","maxHeight","colunas","filter","f","ocultarVinculados","valueInner","vinculadas","isCarregando","clickVinculadas","onOrdenacaoAlteradaVinculadas","scopedSlots","_u","key","fn","props","column","label","icon","colorIcon","formattedRow","field","formatar","quantidade","row","situacaoDAS","directives","name","rawName","modifiers","definirCorTag","slot","tituloDesvinculada","cleanInputNaoVinculada","buscaDigitadaNaoVinculada","ocultarNaoVinculados","naoVinculadas","addVinculadas","onOrdenacaoAlteradaNaoVinculadas","totalVinculadas","totalNaoVinculadas","inverterVincularDesvincular","clearVinculadas","clearDesvinculadas","staticRenderFns","tdClass","thClass","components","vSelect","VueGoodTable","FiltroRapido","BuscaInput","type","default","required","filtrosVinculadas","filtrosNaoVinculadas","temFiltroRapido","temFiltroRapidoVinculado","data","id","filtroAtivoVinculadas","filtroBy","ordemBy","filtroAtivoNaoVinculadas","filtroImutavel","filtroImutavelVinculadas","idsVinculadas","watch","oldValue","created","EventBus","mounted","window","beforeDestroy","methods","nome","tamanhoMaximo","params","addDesvinculadas","atualizarContadores","aplicarFiltroQuery","filtro","filtroRapidoViaQuery","alterarRota","queries","alterar","query","montarGrid","enviarServidor","isVinculada","then","catch","setValorFiltro","param","tipo","coluna","valores","tag","updateHeight","component","$","toAbsoluteIndex","toInteger","toLength","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","arrayMethodUsesToLength","HAS_SPECIES_SUPPORT","USES_TO_LENGTH","ACCESSORS","0","1","max","Math","min","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","target","proto","forced","splice","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","len","length","actualStart","argumentsLength","arguments","TypeError","$findIndex","findIndex","addToUnscopables","FIND_INDEX","SKIPS_HOLES","Array","callbackfn","undefined"],"mappings":"mKAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,oBAAoB,CAACF,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACA,EAAG,KAAK,CAAEJ,EAAIO,mBAA8B,YAAEH,EAAG,OAAO,CAACJ,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAIO,mBAAmBG,aAAa,OAAON,EAAG,OAAO,CAACJ,EAAIQ,GAAG,wBAAwBR,EAAIS,GAAIT,EAAIW,gBAAgD,GAA9B,6BAAkC,SAASP,EAAG,WAAW,CAACQ,YAAY,qCAAqC,CAAEZ,EAAIO,mBAAiC,eAAEH,EAAG,OAAO,CAACJ,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAIO,mBAAmBM,gBAAgB,OAAOT,EAAG,OAAO,CAACJ,EAAIQ,GAAG,oDAAoDR,EAAIS,GAAGT,EAAIW,gBAAkB,UAAY,eAAe,YAAY,GAAGP,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,KAA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EAAIF,EAAmBE,IACjCC,EAAOK,EAAcN,EACjBC,KAAQE,GAAGzB,EAAeqB,EAAGC,EAAGG,EAAEF,IAGxC,GADAF,EAAEM,OAASP,EACPD,EAAcC,EAAmB,CACnC,IAAKE,EAAIM,EAAaN,EAAII,EAAMN,EAAmBE,IACjDC,EAAOD,EAAIF,EACXI,EAAKF,EAAIH,EACLI,KAAQE,EAAGA,EAAED,GAAMC,EAAEF,UACbE,EAAED,GAEhB,IAAKF,EAAII,EAAKJ,EAAII,EAAMN,EAAoBD,EAAaG,WAAYG,EAAEH,EAAI,QACtE,GAAIH,EAAcC,EACvB,IAAKE,EAAII,EAAMN,EAAmBE,EAAIM,EAAaN,IACjDC,EAAOD,EAAIF,EAAoB,EAC/BI,EAAKF,EAAIH,EAAc,EACnBI,KAAQE,EAAGA,EAAED,GAAMC,EAAEF,UACbE,EAAED,GAGlB,IAAKF,EAAI,EAAGA,EAAIH,EAAaG,IAC3BG,EAAEH,EAAIM,GAAeE,UAAUR,EAAI,GAGrC,OADAG,EAAEE,OAASD,EAAMN,EAAoBD,EAC9BE,M,kCClEX,IAAI3B,EAAI,EAAQ,QACZsC,EAAa,EAAQ,QAAgCC,UACrDC,EAAmB,EAAQ,QAC3BhC,EAA0B,EAAQ,QAElCiC,EAAa,YACbC,GAAc,EAEdhC,EAAiBF,EAAwBiC,GAGzCA,IAAc,IAAIE,MAAM,GAAGF,IAAY,WAAcC,GAAc,KAIvE1C,EAAE,CAAEmB,OAAQ,QAASC,OAAO,EAAMC,OAAQqB,IAAgBhC,GAAkB,CAC1E6B,UAAW,SAAmBK,GAC5B,OAAON,EAAW/K,KAAMqL,EAAYR,UAAUH,OAAS,EAAIG,UAAU,QAAKS,MAK9EL,EAAiBC","file":"js/chunk-7ee82394.ff754d96.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"vinculo-empresa\"}},[_c('b-row',[_c('b-col',[_c('h4',[(_vm.visualizacaoOpcoes.customTitle)?_c('span',[_vm._v(\" \"+_vm._s(_vm.visualizacaoOpcoes.customTitle)+\" \")]):_c('span',[_vm._v(\" Seleção de empresas \"+_vm._s(!_vm.cadastroUsuario ? 'vinculadas ao certificado' : '')+\" \")])]),_c('fieldset',{staticClass:\"font-weight-bold text-muted small\"},[(_vm.visualizacaoOpcoes.customSubtitle)?_c('span',[_vm._v(\" \"+_vm._s(_vm.visualizacaoOpcoes.customSubtitle)+\" \")]):_c('span',[_vm._v(\" Selecione as empresas que deseja vincular neste \"+_vm._s(_vm.cadastroUsuario ? 'usuário' : 'certificado')+\" \")])])])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('hr',{staticClass:\"mx-0 mt-0 mb-2\",staticStyle:{\"border-top\":\"1px solid #a3a4a66b !important\"}})])],1),_c('b-row',{staticStyle:{\"margin-top\":\"-21px !important\",\"padding-top\":\"0px\"}},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-row',[_c('b-col',[_c('fieldset',{staticClass:\"font-weight-bold pt-2 mb-1\"},[_vm._v(\" \"+_vm._s(_vm.visualizacaoOpcoes.tituloVinculada || 'Empresas Vinculadas')+\" \")])])],1),_c('b-row',[(_vm.temFiltroRapidoVinculado)?_c('b-col',{class:{ 'filtro-rapido': _vm.temBusca }},[_c('filtro-rapido',{staticStyle:{\"left\":\"15px !important\"},attrs:{\"id\":\"filtro-rapido-vinculado\",\"filtros\":_vm.filtrosRapidos,\"filtro-atual\":_vm.filtroAtual},on:{\"selecionado\":function($event){return _vm.aplicarFiltroRapido($event, true, true)}}})],1):_vm._e(),_c('b-col',{attrs:{\"cols\":\"8\"}},[(_vm.temBusca)?_c('busca-input',{staticClass:\"mb-1\",attrs:{\"placeholder\":_vm.visualizacaoOpcoes.placeholderBusca ? _vm.visualizacaoOpcoes.placeholderBusca : 'Buscar por palavra chave'},on:{\"input\":function($event){return _vm.buscar(true)},\"clean\":_vm.cleanInputVinculada},model:{value:(_vm.buscaDigitadaVinculada),callback:function ($$v) {_vm.buscaDigitadaVinculada=$$v},expression:\"buscaDigitadaVinculada\"}}):_vm._e()],1),(_vm.tipoRotina === 'DAS')?_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('v-select',{staticClass:\"mb-1\",staticStyle:{\"max-height\":\"3vh !important\",\"margin-top\":\"-2px !important\"},attrs:{\"options\":_vm.filtrosRapidosDas,\"clearable\":true,\"multiple\":\"\",\"deselect-from-dropdown\":\"\",\"placeholder\":\"Filtro por tag\"},on:{\"input\":function($event){return _vm.mudarFiltroDasSelecionado()}},model:{value:(_vm.filtroStringDas),callback:function ($$v) {_vm.filtroStringDas=$$v},expression:\"filtroStringDas\"}})],1):_vm._e()],1),_c('vue-good-table',{ref:\"tabelaVinculadas\",staticClass:\"vinculo-grid\",attrs:{\"mode\":\"remote\",\"max-height\":(_vm.maxHeight + \"px\"),\"max-width\":\"100px\",\"columns\":_vm.colunas.filter(function (f) { return !f.ocultarVinculados; }),\"rows\":_vm.valueInner.vinculadas,\"fixed-header\":false,\"is-loading\":_vm.isCarregando},on:{\"update:isLoading\":function($event){_vm.isCarregando=$event},\"update:is-loading\":function($event){_vm.isCarregando=$event},\"on-cell-click\":_vm.clickVinculadas,\"on-sort-change\":_vm.onOrdenacaoAlteradaVinculadas},scopedSlots:_vm._u([{key:\"table-column\",fn:function(props){return [(props.column.label == '' && props.column.icon)?_c('span',[_c('font-awesome-icon',{staticClass:\"text-primary\",attrs:{\"icon\":props.column.icon}})],1):_c('span',[_vm._v(\" \"+_vm._s(props.column.label)+\" \")])]}},{key:\"table-row\",fn:function(props){return [(props.column.label == '' && props.column.icon)?_c('span',[_c('font-awesome-icon',{class:props.column.colorIcon(props.formattedRow[props.column.field]),attrs:{\"icon\":props.column.icon}})],1):(props.column.field == 'razaoSocial')?_c('span',{staticClass:\"d-flex justify-content-between align-items-center\"},[_vm._v(\" \"+_vm._s(_vm.formatar(props.formattedRow[props.column.field], _vm.quantidade))+\" \"),(_vm.tipoRotina === 'DAS' && props.row.situacaoDAS !== '')?_c('b-badge',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"variant\":_vm.definirCorTag(props.row.situacaoDAS)}},[_vm._v(\" \"+_vm._s(props.row.situacaoDAS)+\" \")]):_vm._e()],1):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])]}}])},[_c('div',{attrs:{\"slot\":\"emptystate\"},slot:\"emptystate\"},[_c('p',{staticStyle:{\"text-align\":\"center\",\"margin\":\"0\"}},[_vm._v(\" Nenhum registro encontrado. \")])])])],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-row',[_c('fieldset',{staticClass:\"font-weight-bold pt-2 mb-1\"},[_vm._v(\" \"+_vm._s(_vm.visualizacaoOpcoes.tituloDesvinculada || 'Empresas Desvinculadas')+\" \")])]),_c('b-row',[(_vm.temFiltroRapido)?_c('b-col',{class:{ 'filtro-rapido': _vm.temBusca }},[_c('filtro-rapido',{attrs:{\"filtros\":_vm.filtrosRapidos,\"filtro-atual\":_vm.filtroAtual},on:{\"selecionado\":function($event){return _vm.aplicarFiltroRapido($event)}}})],1):_vm._e(),(_vm.temBusca)?_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('busca-input',{staticClass:\"mb-1\",attrs:{\"placeholder\":_vm.visualizacaoOpcoes.placeholderBusca ? _vm.visualizacaoOpcoes.placeholderBusca : 'Buscar por palavra chave'},on:{\"input\":function($event){return _vm.buscar(false)},\"clean\":_vm.cleanInputNaoVinculada},model:{value:(_vm.buscaDigitadaNaoVinculada),callback:function ($$v) {_vm.buscaDigitadaNaoVinculada=$$v},expression:\"buscaDigitadaNaoVinculada\"}})],1):_vm._e()],1),_c('vue-good-table',{ref:\"tabelaNaoVinculadas\",staticClass:\"vinculo-grid\",attrs:{\"mode\":\"remote\",\"max-height\":(_vm.maxHeight + \"px\"),\"columns\":_vm.colunas.filter(function (f) { return !f.ocultarNaoVinculados; }),\"rows\":_vm.valueInner.naoVinculadas,\"fixed-header\":false,\"is-loading\":_vm.isCarregando},on:{\"update:isLoading\":function($event){_vm.isCarregando=$event},\"update:is-loading\":function($event){_vm.isCarregando=$event},\"on-row-click\":_vm.addVinculadas,\"on-sort-change\":_vm.onOrdenacaoAlteradaNaoVinculadas},scopedSlots:_vm._u([{key:\"table-column\",fn:function(props){return [(props.column.label == '' && props.column.icon)?_c('span',[_c('font-awesome-icon',{staticClass:\"text-primary\",attrs:{\"icon\":props.column.icon}})],1):_c('span',[_vm._v(\" \"+_vm._s(props.column.label)+\" \")])]}},{key:\"table-row\",fn:function(props){return [(props.column.label == '' && props.column.icon)?_c('span',[_c('font-awesome-icon',{class:props.column.colorIcon(props.formattedRow[props.column.field]),attrs:{\"icon\":props.column.icon}})],1):(props.column.field == 'razaoSocial')?_c('span',{staticClass:\"d-flex justify-content-between align-items-center\"},[_vm._v(\" \"+_vm._s(_vm.formatar(props.formattedRow[props.column.field], _vm.quantidade))+\" \"),(props.row.situacaoDAS !== '')?_c('b-badge',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"variant\":_vm.definirCorTag(props.row.situacaoDAS)}},[_vm._v(\" \"+_vm._s(props.row.situacaoDAS)+\" \")]):_vm._e()],1):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])]}}])},[_c('div',{attrs:{\"slot\":\"emptystate\"},slot:\"emptystate\"},[_c('p',{staticStyle:{\"text-align\":\"center\",\"margin\":\"0\"}},[_vm._v(\" Nenhum registro encontrado. \")])])])],1)],1),_c('b-row',{staticClass:\"mb-2\"}),_c('b-row',[_c('b-col',[_c('span',{staticClass:\"m-50\"},[_vm._v(\" Total de \"+_vm._s(_vm.valueInner.totalVinculadas)+\" itens \")])]),_c('b-col',[_c('span',{staticClass:\"m-50\"},[_vm._v(\" Total de \"+_vm._s(_vm.valueInner.totalNaoVinculadas)+\" itens \")])])],1),_c('b-row',[_c('b-col',[_c('b-btn',{class:(\"btn-outline-\" + (!_vm.inverterVincularDesvincular ? 'danger' : 'success') + \" mt-1 mr-50 btn-sm\"),attrs:{\"variant\":\"none\"},on:{\"click\":_vm.clearVinculadas}},[_vm._v(_vm._s(!_vm.inverterVincularDesvincular ? 'Desvincular Todas' : 'Vincular Todas'))])],1),_c('b-col',{staticClass:\"text-left\"},[_c('b-btn',{class:(\"btn-outline-\" + (!_vm.inverterVincularDesvincular ? 'success' : 'danger') + \" mt-1 btn-sm\"),attrs:{\"variant\":\"none\"},on:{\"click\":_vm.clearDesvinculadas}},[_vm._v(_vm._s(!_vm.inverterVincularDesvincular ? 'Vincular Todas' : 'Desvincular Todas')+\" \")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default [\r\n {\r\n label: 'CNPJ/CPF', field: 'cadastroFederal', tdClass: 'nowrap', thClass: 'cadastro',\r\n },\r\n {\r\n label: 'Razão social', field: 'razaoSocial',\r\n },\r\n]\r\n","\r\n \r\n \r\n \r\n \r\n \r\n {{ formatar(props.formattedRow[props.column.field], quantidade) }}\r\n \r\n {{ props.row.situacaoDAS }}\r\n \r\n \r\n \r\n {{ props.formattedRow[props.column.field] }}\r\n \r\n \r\n \r\n

\r\n Nenhum registro encontrado.\r\n

\r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ visualizacaoOpcoes.tituloDesvinculada || 'Empresas Desvinculadas' }}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n !f.ocultarNaoVinculados)\"\r\n :rows=\"valueInner.naoVinculadas\"\r\n :fixed-header=\"false\"\r\n :is-loading.sync=\"isCarregando\"\r\n @on-row-click=\"addVinculadas\"\r\n @on-sort-change=\"onOrdenacaoAlteradaNaoVinculadas\"\r\n >\r\n
\r\n

\r\n Nenhum registro encontrado.\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{ props.column.label }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ formatar(props.formattedRow[props.column.field], quantidade) }}\r\n \r\n {{ props.row.situacaoDAS }}\r\n \r\n \r\n \r\n {{ props.formattedRow[props.column.field] }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Total de {{ valueInner.totalVinculadas }} itens\r\n \r\n \r\n \r\n \r\n Total de {{ valueInner.totalNaoVinculadas }} itens\r\n \r\n \r\n \r\n \r\n \r\n {{ !inverterVincularDesvincular ? 'Desvincular Todas' : 'Vincular Todas' }}\r\n \r\n \r\n {{ !inverterVincularDesvincular ? 'Vincular Todas' : 'Desvincular Todas' }} \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VinculoEmpresas.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VinculoEmpresas.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VinculoEmpresas.vue?vue&type=template&id=7c3bfd1e&\"\nimport script from \"./VinculoEmpresas.vue?vue&type=script&lang=js&\"\nexport * from \"./VinculoEmpresas.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VinculoEmpresas.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VinculoEmpresas.vue?vue&type=style&index=0&lang=scss&\"","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n"],"sourceRoot":""}