PageSourceSearch

https://my.salita.no/dist/static/js/311.e297d217c8273272ec16.js

js salita.no collected 2026-10-02 15:25:16 UTC 26,912 bytes, 2 lines download raw bytes

1(self.webpackChunktikktalk_web=self.webpackChunktikktalk_web||[]).push([[311],{81079:function(t,e,n){(e=n(23645)(!1)).push([t.id,"\n.page-data-tabs[data-v-5f906a0d] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n}\n.page-data-tabs__tab[data-v-5f906a0d] {\n  display: block;\n  padding: 10px 10px 5px;\n  border-bottom: 5px solid transparent;\n  font-weight: bold;\n  font-size: 18px;\n  text-transform: capitalize;\n}\n.page-data-tabs__tab[data-v-5f906a0d]:focus {\n  margin-bottom: 2px;\n  outline: var(--default-button-focus-outline);\n}\n.page-data-tabs__tab--active[data-v-5f906a0d] {\n  border-bottom: 5px solid var(--color-secondary);\n  color: var(--color-secondary);\n}\n",""]),t.exports=e},54616:function(t,e,n){(e=n(23645)(!1)).push([t.id,"\n.filter-bar__fields[data-v-edc4ae4a] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n  margin: 0 -5px -15px;\n}\n.filter-bar__field[data-v-edc4ae4a] {\n  width: calc(25% - 10px);\n  max-width: 300px;\n  margin: 0 5px 15px;\n}\n.filter-bar__field--wrapper[data-v-edc4ae4a] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: justify;\n      -ms-flex-pack: justify;\n          justify-content: space-between;\n}\n.filter-bar__field-item[data-v-edc4ae4a] {\n  width: calc(50% - 5px);\n}\n@media (max-width: 767px) {\n.filter-bar__field[data-v-edc4ae4a] {\n    width: calc(50% - 10px);\n    max-width: 100%;\n}\n}\n@media (max-width: 500px) {\n.filter-bar__field[data-v-edc4ae4a] {\n    width: 100%;\n}\n}\n",""]),t.exports=e},15545:function(t,e,n){(e=n(23645)(!1)).push([t.id,"\n.statistics[data-v-403db273] {\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: column;\n          flex-direction: column;\n  width: 1140px;\n  max-width: 100%;\n  margin: 0 auto;\n  padding: 45px 0;\n}\n.statistics__header[data-v-403db273] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: justify;\n      -ms-flex-pack: justify;\n          justify-content: space-between;\n  margin-bottom: 20px;\n}\n.statistics__mob-select[data-v-403db273] {\n  width: 100%;\n  padding: 20px 15px;\n}\n.statistics__header-export-button[data-v-403db273] {\n  width: auto;\n  padding-right: 15px;\n  padding-left: 35px;\n  background-image: var(--image-assignment-header-export-icon);\n  background-position: 5% 50%;\n  background-size: 22px auto;\n  background-repeat: no-repeat;\n}\n@media (min-width: 768px) {\n.statistics__mob-select[data-v-403db273] {\n    display: none;\n}\n}\n@media (max-width: 767px) {\n.statistics[data-v-403db273] {\n    padding: 0;\n}\n}\n",""]),t.exports=e},24171:function(t,e,n){(e=n(23645)(!1)).push([t.id,".page-data-section {\n  width: 100%;\n  padding: 20px;\n  border-radius: 8px;\n  background-color: var(--color-white);\n  -webkit-box-shadow: var(--shadow-and-blur);\n          box-shadow: var(--shadow-and-blur);\n}\n.page-data-section__errors-cont {\n  display: block;\n  width: 100%;\n  margin-bottom: 5px;\n  padding: 5px 10px;\n  background-color: #f04;\n  background-color: var(--color-error);\n  color: var(--color-white);\n}\n.page-data-section__heading {\n  margin-bottom: 20px;\n}\n.page-data-section__title {\n  margin-bottom: 8px;\n  font-size: 18px;\n}\n.page-data-section__description {\n  font-size: 12px;\n}\n@media (max-width: 767px) {\n.page-data-section {\n    padding: 15px;\n}\n}\n",""]),t.exports=e},30688:function(t,e,n){(e=n(23645)(!1)).push([t.id,".page-data-skeleton[data-v-469a7b2c] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: start;\n      -ms-flex-align: start;\n          align-items: flex-start;\n  width: 1140px;\n  max-width: 100%;\n  margin: 0 auto;\n  padding: 45px 20px 45px 0;\n}\n.page-data-skeleton--expanded[data-v-469a7b2c] {\n  width: 1300px;\n}\n.page-data-skeleton__nav-wrapper[data-v-469a7b2c] {\n  width: 300px;\n}\n.page-data-skeleton__view-wrapper[data-v-469a7b2c] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  width: calc(100% - 300px);\n}\n@media (max-width: 767px) {\n.page-data-skeleton[data-v-469a7b2c] {\n    display: block;\n    padding: 0;\n}\n.page-data-skeleton__nav-wrapper[data-v-469a7b2c] {\n    display: none;\n    width: 100%;\n}\n.page-data-skeleton__nav-wrapper.mob-nav-active[data-v-469a7b2c] {\n    display: block;\n}\n.page-data-skeleton__view-wrapper[data-v-469a7b2c] {\n    width: 100%;\n}\n}\n",""]),t.exports=e},21729:function(t,e,n){var a=n(23645),s=n(61667),i=n(24214);e=a(!1);var r=s(i);e.push([t.id,".page-data-sidebar[data-v-6f334fb3] {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-negative: 0;\n      flex-shrink: 0;\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: column;\n          flex-direction: column;\n  overflow: hidden;\n  overflow-y: auto;\n  width: 100%;\n  height: 100%;\n  padding: 0 60px 0 20px;\n}\n.page-data-sidebar__link[data-v-6f334fb3]:first-child {\n  border-top: 1px solid #d3d5de;\n}\n.page-data-sidebar__link[data-v-6f334fb3] {\n  width: auto;\n  padding: 12px;\n  border-bottom: 1px solid #d3d5de;\n  font-size: 12px;\n  text-align: left;\n}\n.page-data-sidebar__link[data-v-6f334fb3]:focus {\n  margin: 4px 0;\n  outline: var(--default-button-focus-outline);\n}\n.page-data-sidebar__link.router-link-active[data-v-6f334fb3] {\n  background: #fff;\n  font-weight: bold;\n}\n.page-data-sidebar__mob-title[data-v-6f334fb3] {\n  display: none;\n}\n@media (max-width: 767px) {\n.page-data-sidebar[data-v-6f334fb3] {\n    padding: 15px;\n    padding-bottom: 60px;\n    background: #fff;\n}\n.page-data-sidebar__mob-title[data-v-6f334fb3] {\n    display: block;\n    margin-bottom: 15px;\n    font-weight: bold;\n    font-size: 18px;\n}\n.page-data-sidebar__link[data-v-6f334fb3] {\n    position: relative;\n    padding: 20px 0;\n    background-image: url("+r+");\n    background-position: 100% 50%;\n    background-size: 12px auto;\n    background-repeat: no-repeat;\n    font-size: 16px;\n}\n}\n",""]),t.exports=e},960:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var a=n(66590),s={props:{showMobNavigation:Boolean,expanded:Boolean},computed:{showMobNav:function(){return this.showMobNavigation&&this.clientWidth<767},clientWidth:function(){return this.$store.state.GlobalStore.clientWidth}}},i=(n(86345),n(36085),n(51900)),r=(0,i.Z)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("article",{staticClass:"page-data-skeleton",class:{"page-data-skeleton--expanded":t.expanded}},[n("div",{staticClass:"page-data-skeleton__nav-wrapper",class:{"mob-nav-active":t.showMobNav}}
1,[t._t("default")],2),t._v(" "),n("div",{staticClass:"page-data-skeleton__view-wrapper"},[n("router-view")],1)])}),[],!1,null,"469a7b2c",null).exports,o={components:{"sidebar-nav":a.Z,"setting-page-skeleton":r},computed:{showMobNav:function(){return!0}}},c=(0,i.Z)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("setting-page-skeleton",{attrs:{"show-mob-navigation":t.showMobNav}},[n("sidebar-nav")],1)}),[],!1,null,null,null).exports},50749:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var a={props:{title:{type:String,default:""},description:{type:String,default:""},errors:{type:Array,default:function(){return[]}},progress:Boolean}},s=(0,n(51900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"page-data-section is-progress-bar",class:{"in-progress":t.progress}},[t.errors&&t.errors.length?n("div",{staticClass:"error-cont page-data-section__errors-cont"},t._l(t.errors,(function(e){return n("p",{key:e,staticClass:"error-cont__error",domProps:{innerHTML:t._s(e)}})})),0):t._e(),t._v(" "),t.title||t.description?n("div",{staticClass:"page-data-section__heading"},[t.title?n("h3",{staticClass:"page-data-section__title",domProps:{innerHTML:t._s(t.title)}}):t._e(),t._v(" "),t.description?n("div",{staticClass:"page-data-section__description",domProps:{innerHTML:t._s(t.description)}}):t._e()]):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports},66590:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var a=n(92167);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,a.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var r={computed:i(i({},(0,n(20629).Se)("UserInfoStore",["userIsInterpreter","userIsNotInterpreter","isCourtTheme","isTranslationOnly"])),{},{mobTitle:function(){return""},navLinksList:function(){return[]},filteredNavLinksList:function(){return this.navLinksList.filter((function(t){return void 0!==t.condition?t.condition:t.route}))}})},o=(n(27993),(0,n(51900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"page-data-sidebar"},[t.mobTitle?n("p",{staticClass:"page-data-sidebar__mob-title",domProps:{innerHTML:t._s(t.mobTitle)}}):t._e(),t._v(" "),t._l(t.filteredNavLinksList,(function(e){return n("router-link",{key:e.title,staticClass:"page-data-sidebar__link",attrs:{to:t.$makeRoute(e.route)},domProps:{innerHTML:t._s(e.title)}})}))],2)}),[],!1,null,"6f334fb3",null).exports)},1229:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var a={props:{tabs:{type:Array,required:!0},activeTabId:{type:[String,Number],required:!0}},methods:{setActiveTab:function(t){this.$emit("tabchanged",t)}}},s=(n(34430),(0,n(51900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-data-tabs"},t._l(t.tabs,(function(e){return n("button",{key:e.id,staticClass:"page-data-tabs__tab",class:[e.classes,{"page-data-tabs__tab--active":e.id===t.activeTabId}],on:{click:function(n){return t.setActiveTab(e)}}},[n("span",{staticClass:"page-data-tabs__tab-text",domProps:{innerHTML:t._s(e.name)}})])})),0)}),[],!1,null,"5f906a0d",null).exports)},311:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return x}});var a=n(92167),s=n(42982),i=n(20629),r=n(50749);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(n),!0).forEach((function(e){(0,a.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var d={components:{"monthly-range-picker":n(30987).Z,"page-data-section":r.Z},computed:c(c({},(0,i.rn)("StatisticsStore",{bookedInterpreters:function(t){return t.bookedInterpreters||[]},bookedTranslators:function(t){return t.bookedTranslators||[]},filterValues:function(t){return t.filterValues},departmentsList:function(t){return t.departmentsList||[]},bookersList:function(t){return t.bookersList||[]},departments:function(t){return t.filterValues.departments},bookers:function(t){return t.filterValues.bookers},interpreters:function(t){return t.filterValues.interpreters},types:function(t){return t.filterValues.types},statuses:function(t){return t.filterValues.statuses},languages:function(t){return t.filterValues.languages},sourceLanguage:function(t){return t.filterValues.sourceLanguage},targetLanguage:function(t){return t.filterValues.targetLanguage},startDate:function(t){return t.filterValues.startDate},endDate:function(t){return t.filterValues.endDate}})),{},{datesList:function(){return{dateRange:c({},this.getRangeObject({descriptionFrom:this.dateFromText,descriptionTo:this.dateToText,startDate:this.startDate,endDate:this.endDate,mutationFunc:this.setDateRange}))}},languagesList:function(){var t=this.$store.getters.languagesForSelect,e=null==t?void 0:t.filter((function(t){return 3!=t.id}));return this.isInterpretationView?e:t||[]},departmentsText:function(){return this.$gettext("Department(s)")},bookersText:function(){return this.$gettext("Booker(s)")},interpretersText:function(){return this.isInterpretationView?this.$gettext("Interpreter(s)"):this.$gettext("Translator(s)")},typeText:function(){return this.isInterpretationView?this.$gettext("Assignment type"):this.$gettext("Project type")},statusText:function(){return this.$gettext("Status")},languagesText:function(){return this.$gettext("Languages")},languageFromText:function(){return this.$pgettext("translation","Language from")},languageToText:function(){return this.$gettext("Language to")},dateFromText:function(){return this.$gettext("Date from")},dateToText:function(){return this.$gettext("Date to")},isInterpretationView:function(){return"interpretation"===this.$route.query.view},showDepartmentsSelect:function(){return!!this.departmentsList.length},showBookersSelect:function(){return!!this.bookersList.length},showBookedPerformsSelect:function(){return this.computedBookedPerforms&&this.computedBookedPerforms.length},showStatusesSelect:function(){return!!this.computedStatuses.length},showTypesSelect:function(){return!!this.computedTypes.length},showLanguagesSelect:function(){return!!this.languagesList.length&&this.isInterpretationView},computedDepartmentsList:function(){return this.departmentsList.map((function(t){return{id:t.id,name:t.name}}))},computedBookersList:function(){return this.bookersList.map((function(t){return{id:t.uid,name:t.firstName||t.lastName?"".concat(t.firstName," ").concat(t.lastName):t.email}}))},computedBookedPerforms:function(){return(this.isInterpretationView?this.bookedInterpreters:this.bookedTranslators).map((function(t){var e=t.uid,n=t.id;return{id:e||n,name:t.name}}))},computedStatuses:function(){var t=[{id:"published",name:this.$gettext("Received")},{id:"accepted",name:this.$gettext("Accepted")},{id:"in_progress",name:this.$gettext("Confirmed")},{id:"finished",name:this.$gettext("Finished")},{id:"closed",name:this.$gettext("Closed")},{id:"cancelled",name:this.$gettext("Cancelled")}],e=[{id:"draft",name:this.$gettext("Draft")},{id:"transferred",name:this.$gettext("Transferred")},{id:"proactive_access",name:this.$gettext("Proactive access")},{id:"invited",name:this.$gettext("Invited")},{id:"applied",name:this.$gettext("Applied")},{id:"accepted",name:this.$gettext("Accepted")},{id:"rejected",name:this.$gettext("Rejected")},{id:"in_progress",name:this.$gettext("In progress")},{id:"review_requested",name:this.$pgettext("translation","Review requested")},{id:"changes_required",name:this.$pgettext("translation","Changes required")},{id:"finished",name:this.$gettext("Finished")},{id:"closed",name:this.$gettext("Closed")}];return this.isInterpretationView?t:e},computedTypes:function(){var t=[{id:"phone",name:this.$gettext("Phone")},{id:"in_person",name:this.$gettext("In-person")},{id:"video",name:this.$gettext("Video")}],e=[{id:"translation",name:this.$pgettext("translation","Translation")},{id:"correction",name:this.$gettext("Correction")},{id:"in_person",name:this.$gettext("In-person")}];return this.isInterpretationView?t:e}}),watch:{filterValues:{deep:!0,handler:function(){this.setChartProgress(!0),this.fetchStatistics({chartId:this.$route.params.chartId,scope:this.$route.query.view}),this.isInterpretationView?this.fetchBookedInterpreters():this.fetchBookedTranslators()}}},methods:c(c(c({},(0,i.nv)("StatisticsStore",["fetchStatistics","fetchBookedInterpreters","fetchBookedTranslators"])),(0,i.OI)("StatisticsStore",["setDepartments","setBookers","setInterpreters","setTypes","setStatuses","setLanguages","setDateRange","setSourceLanguage","setTargetLanguage","setChartProgress"])),{},{getRangeObject:function(t){var e=this,n=t.startDate,a=t.endDate,s=t.mutationFunc;return{descriptionFrom:t.descriptionFrom,descriptionTo:t.descriptionTo,startDate:c(c({},this.getDateObject(n)),{},{dateChanged:function(t){var n=e.$moment(a,"YYYY-MM-DD");e.setStartDate(t,n,s)}}),endDate:c(c({},this.getDateObject(a)),{},{dateChanged:function(t){var a=e.$moment(n,"YYYY-MM-DD");e.setEndDate(a,t,s)}})}},getDateObject:function(t){return{defaultMonth:this.$moment(t,"YYYY-MM-DD").month()+1,defaultYear:this.$moment(t,"YYYY-MM-DD").year()}},setStartDate:function(t,e,n){n({startDate:t.format("YYYY-MM-DD"),endDate:t.isBefore(e)?e.format("YYYY-MM-DD"):t.add(1,"months").endOf("month").format("YYYY-MM-DD")})},setEndDate:function(t,e,n){n({startDate:this.$moment(t).format("YYYY-MM-DD"),endDate:e.format("YYYY-MM-DD")})}})},l=(n(28484),n(51900)),p=(0,l.Z)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("page-data-section",{staticClass:"filter-bar"},[n("div",{staticClass:"filter-bar__fields"},[t.showDepartmentsSelect?n("sk-multiselect",{staticClass:"filter-bar__field",attrs:{"items-list":t.computedDepartmentsList,"preselected-value":t.departments,description:t.departmentsText,"default-value":t.departmentsText},on:{checkboxeschanged:t.setDepartments}}):t._e(),t._v(" "),t.showBookersSelect?n("sk-multiselect",{staticClass:"filter-bar__field",attrs:{"items-list":t.computedBookersList,"preselected-value":t.bookers,description:t.bookersText,"default-value":t.bookersText},on:{checkboxeschanged:t.setBookers}}):t._e(),t._v(" "),t.showBookedPerformsSelect?n("sk-multiselect",{staticClass:"filter-bar__field",attrs:{"items-list":t.computedBookedPerforms,"preselected-value":t.interpreters,description:t.interpretersText,"default-value":t.interpretersText},on:{checkboxeschanged:t.setInterpreters}}):t._e(),t._v(" "),t.showStatusesSelect?n("sk-multiselect",{staticClass:"filter-bar__field",attrs:{"items-list":t.computedStatuses,"preselected-value":t.statuses,description:t.statusText,"default-value":t.statusText},on:{checkboxeschanged:t.setStatuses}}):t._e(),t._v(" "),t.showTypesSelect?n("sk-multiselect",{staticClass:"filter-bar__field",attrs:{"items-list":t.computedTypes,"preselected-value":t.types,description:t.typeText,"default-value":t.typeText},on:{checkboxeschanged:t.setTypes}}):t._e(),t._v(" "),t.showLanguagesSelect?n("sk-multiselect",{staticClass:"filter-bar__field",attrs:{"items-list":t.languagesList,"preselected-value":t.languages,description:t.languagesText,"default-value":t.languagesText},on:{checkboxeschanged:t.setLanguages}}):n("div",{staticClass:"filter-bar__field filter-bar__field--wrapper"},[n("sk-select",{staticClass:"filter-bar__field-item",attrs:{"items-list":t.languagesList,"preselected-value":t.sourceLanguage,de
1scription:t.languageFromText,"default-value":t.languageFromText},on:{csvaluechanged:t.setSourceLanguage}}),t._v(" "),n("sk-select",{staticClass:"filter-bar__field-item",attrs:{"items-list":t.languagesList,"preselected-value":t.targetLanguage,description:t.languageToText,"default-value":t.languageToText},on:{csvaluechanged:t.setTargetLanguage}})],1),t._v(" "),t._l(t.datesList,(function(t,e){return n("monthly-range-picker",{key:e,staticClass:"filter-bar__field",attrs:{"description-from":t.descriptionFrom,"description-to":t.descriptionTo,from:t.startDate,to:t.endDate},on:{startdatechanged:t.startDate.dateChanged,enddatechanged:t.endDate.dateChanged}})}))],2)])}),[],!1,null,"edc4ae4a",null).exports,u={extends:n(66590).Z,props:{chartsList:{type:Array,default:function(){return[]}}},computed:{activeTab:function(){return this.$route.query.view||""},navLinksList:function(){var t=this;return this.chartsList.map((function(e){return{title:e.name,route:{name:"BuyerStatisticsChart",query:{view:t.activeTab},params:{chartId:e.id}}}}))}}},f=(0,l.Z)(u,undefined,undefined,!1,null,null,null).exports,g=n(960);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){(0,a.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m={asyncData:function(t){var e=t.store,n="";return e.getters["UserInfoStore/userIsEnterpriseMember"]&&!e.state.StatisticsStore.departmentsList&&(n=[].concat((0,s.Z)(n),[e.dispatch("StatisticsStore/fetchDepartmentsList")])),e.getters["UserInfoStore/userIsEnterpriseMember"]&&!e.state.StatisticsStore.bookersList&&(n=[].concat((0,s.Z)(n),[e.dispatch("StatisticsStore/fetchBookersList")])),e.state.selectsData.language&&e.state.selectsData.language.length||(n=[].concat((0,s.Z)(n),[e.dispatch("fetchSelectList","language")])),n?Promise.all(n):""},components:{"filter-bar":p,"sidebar-nav":f,"page-data-tabs":n(1229).Z},extends:g.Z,computed:b(b({},(0,i.Se)("UserInfoStore",["userIsEnterpriseMember","showJobStatistics"])),{},{chartsList:function(){return[{id:"line_type",name:this.isInterpretationTab?this.$gettext("Assignments per type"):this.$gettext("Projects per type")},{id:"line_department",name:this.isInterpretationTab?this.$gettext("Assignments per department"):this.$gettext("Projects per department"),condition:this.userIsEnterpriseMember},{id:"line_booker",name:this.isInterpretationTab?this.$gettext("Assignments per booker"):this.$gettext("Projects per booker"),condition:this.userIsEnterpriseMember},{id:"line_interpreter",name:this.isInterpretationTab?this.$gettext("Assignments per interpreter"):this.$gettext("Projects per translator")},{id:"line_status",name:this.isInterpretationTab?this.$gettext("Assignments per status"):this.$gettext("Projects per status")},{id:"line_language",name:this.isInterpretationTab?this.$gettext("Assignments per language"):this.$gettext("Projects per language pair")},{id:"pie_type",name:this.isInterpretationTab?this.$gettext("Assignments per type by time period"):this.$gettext("Projects per type by time period")},{id:"bar_department",name:this.isInterpretationTab?this.$gettext("Assignments per department by time period"):this.$gettext("Projects per department by time period"),condition:this.userIsEnterpriseMember},{id:"pie_booker",name:this.isInterpretationTab?this.$gettext("Assignments per booker by time period"):this.$gettext("Projects per booker by time period"),condition:this.userIsEnterpriseMember},{id:"pie_status",name:this.isInterpretationTab?this.$gettext("Assignments per status by time period"):this.$gettext("Projects per status by time period")},{id:"pie_interpreter",name:this.isInterpretationTab?this.$gettext("Assignments per interpreter by time period"):this.$gettext("Projects per translator by time period")},{id:"pie_language",name:this.isInterpretationTab?this.$gettext("Assignments per language by time period"):this.$gettext("Projects per language pair by time period")}]},charts:function(){return this.chartsList.filter((function(t){return void 0===t.condition||t.condition}))},tabs:function(){return[{name:this.$gettext("Interpretation statistics"),link:this.$makeRoute({
1name:"BuyerInterpretationStatistics"}),condition:this.showJobStatistics},{id:"interpretation",name:this.$gettext("Interpretation statistics"),link:this.$makeRoute({name:"BuyerStatisticsChart",query:{view:"interpretation"},params:{chartId:"line_type"}}),condition:!this.showJobStatistics},{id:"translation",name:this.$gettext("Translation statistics"),link:this.$makeRoute({name:"BuyerStatisticsChart",query:{view:"translation"},params:{chartId:"line_type"}}),condition:!0}]},filteredTabs:function(){return this.tabs.filter((function(t){return t.condition}))},activeTab:function(){return this.$route.query.view||""},currentChartId:function(){return this.$route.params.chartId||""},isInterpretationTab:function(){return"interpretation"===this.activeTab},chartSelectText:function(){return this.$gettext("Select chart type")}}),methods:b(b(b({},(0,i.nv)("StatisticsStore",["downloadStatistics"])),(0,i.OI)("StatisticsStore",["clearStore"])),{},{goToChart:function(t){this.$router.push(this.$makeRoute({name:"BuyerStatisticsChart",query:{view:this.activeTab},params:{chartId:t}}))},exportStatistics:function(){var t=this,e={chartId:this.currentChartId,scope:this.activeTab};this.downloadStatistics(e).then((function(e){var n=new Blob([e],{type:"text/csv"}),a=document.createElement("a");a.href=URL.createObjectURL(n),a.download="".concat(t.activeTab,"-statistics.csv"),a.click()}))},setActiveTab:function(t){this.clearStore(),this.$router.push(t.link)}}),beforeRouteLeave:function(t,e,n){this.clearStore(),n()}},x=(n(4194),(0,l.Z)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"statistics"},[n("div",{staticClass:"statistics__header"},[n("page-data-tabs",{attrs:{tabs:t.filteredTabs,"active-tab-id":t.activeTab},on:{tabchanged:t.setActiveTab}}),t._v(" "),n("button",{staticClass:"sk-btn sk-btn--white statistics__header-export-button",on:{click:t.exportStatistics}},[t._v(t._s(t.$gettext("Export")))])],1),t._v(" "),n("filter-bar",{staticClass:"statistics__filters"}),t._v(" "),n("sk-select",{staticClass:"statistics__mob-select",attrs:{"default-value":t.chartSelectText,description:t.chartSelectText,"preselected-value":t.currentChartId,"items-list":t.charts},on:{csvaluechanged:t.goToChart}}),t._v(" "),n("setting-page-skeleton",{attrs:{"show-mob-navigation":!1}},[n("sidebar-nav",{attrs:{"charts-list":t.charts}})],1)],1)}),[],!1,null,"403db273",null).exports)},34430:function(t,e,n){var a=n(81079);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,n(45346).Z)("23b674bc",a,!0,{})},28484:function(t,e,n){var a=n(54616);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,n(45346).Z)("40e052b2",a,!0,{})},4194:function(t,e,n){var a=n(15545);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,n(45346).Z)("911c8208",a,!0,{})},36085:function(t,e,n){var a=n(24171);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,n(45346).Z)("75091e5a",a,!0,{})},86345:function(t,e,n){var a=n(30688);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,n(45346).Z)("2ada334a",a,!0,{})},27993:function(t,e,n){var a=n(21729);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);(0,n(45346).Z)("e03d9b9a",a,!0,{})}}]);
2//# sourceMappingURL=311.e297d217c8273272ec16.js.map

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.