1(window.webpackJsonp=window.webpackJsonp||[]).push([[97,56,100,148,182],{789:function(t,e,i){"use strict";i.r(e);i(118);var o={data:function data(){return{showTooltip:!1,tooltipPosition:{top:0,left:0}}},props:{title:{type:String},text:{type:String},position:{type:String,default:"top"},offset:{type:Number,default:4},minimalist:{type:Boolean,default:!0}},methods:{show:function show(){this.showTooltip=!0,this.calculateTooltipPosition()},hide:function hide(){this.showTooltip=!1},calculateTooltipPosition:function calculateTooltipPosition(){var t=this.$refs.tooltipWrapper,e=this.$refs.tooltipText,i=t.getBoundingClientRect(),o=e.getBoundingClientRect();switch(this.position){case"top":this.tooltipPosition={top:i.top-o.height-this.offset,left:i.left+i.width/2-o.width/2};break;case"bottom":this.tooltipPosition={top:i.top+i.height,left:i.left+i.width/2-o.width/2};break;case"left":this.tooltipPosition={top:i.top+i.height/2-o.height/2,left:i.left-o.width-this.offset};break;case"right":this.tooltipPosition={top:i.top+i.height/2-o.height/2,left:i.right+this.offset}}}},computed:{positionClass:function positionClass(){return"position-".concat(this.position)}}},s=(i(820),i(26)),n=Object(s.a)(o,(function render(){var t=this,e=t._self._c;return t.title||t.text?e("div",{ref:"tooltipWrapper",staticClass:"tooltip",on:{mouseenter:t.show,mouseleave:t.hide}},[t._t("default"),t._v(" "),e("div",{ref:"tooltipText",class:["tooltip-content",t.positionClass,t.minimalist?"tooltip-content--minimalist":null,t.showTooltip?"tooltip-content--show":"tooltip-content--hide"],style:{top:t.tooltipPosition.top+"px",left:t.tooltipPosition.left+"px"}},[t.title?e("span",{staticClass:"tooltip__title",domProps:{innerHTML:t._s(t.title)}}):t._e(),t.text?e("span",{staticClass:"tooltip__text",domProps:{innerHTML:t._s(t.text)}}):t._e()])],2):e("div",[t._t("default")],2)}),[],!1,null,"e61af414",null);e.default=n.exports},794:function(t,e,i){t.exports={}},809:function(t,e,i){"use strict";var o=i(13),s=i(61),n=i(45),a=/"/g,r=o("".replace);t.exports=function(t,e,i,o){var l=n(s(t)),u="<"+e;return""!==i&&(u+=" "+i+'="'+r(n(o),a,""")+'"'),u+">"+l+"</"+e+">"}},810:function(t,e,i){"use strict";var o=i(14);t.exports=function(t){return o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},814:function(t,e,i){"use strict";var o=i(5),s=i(809);o({target:"String",proto:!0,forced:i(810)("fixed")},{fixed:function fixed(){return s(this,"tt","","")}})},820:function(t,e,i){"use strict";i(794)},823:function(t,e,i){i(144).register({draggable:{width:6,height:10,viewBox:"0 0 6 10",data:'<path pid="0" d="M2.55 1.625a1.125 1.125 0 11-2.25 0 1.125 1.125 0 012.25 0zM2.55 5A1.125 1.125 0 11.3 5a1.125 1.125 0 012.25 0zM1.425 9.5a1.125 1.125 0 100-2.25 1.125 1.125 0 000 2.25zM5.925 1.625a1.125 1.125 0 11-2.25 0 1.125 1.125 0 012.25 0zM4.8 6.125a1.125 1.125 0 100-2.25 1.125 1.125 0 000 2.25zM5.925 8.375a1.125 1.125 0 11-2.25 0 1.125 1.125 0 012.25 0z" _fill="#4C4EA3"/>'}})},831:function(t,e,i){t.exports={}},918:function(t,e,i){"use strict";i(831)},934:function(t,e,i){"use strict";i.r(e);var o=i(49),s=(i(41),i(60),i(48),i(4),i(53),i(814),i(81),i(823),{name:"DndSelectionComponent",props:{ranking:{type:Object,required:!0},suggestion:{type:Object},isFocused:{type:Boolean,default:function _default(){return!1}}},data:function data(){return{timer:null,keyCode:""}},watch:{isFocused:{immediate:!0,handler:function handler(t){var e=[].concat(Object(o.a)(this.$refs.questions||[]),Object(o.a)(this.$refs.items||[])),i=null==e?void 0:e.includes(document.activeElement);t&&!i&&this.focusOnFirstQuestionOrItem()}}},methods:{reset:function reset(){this.keyCode="",this.timer=null},isGlobalShortcut:function isGlobalShortcut(t){return"Tab"==t.key||"Enter"===t.code||"Backspace"===t.code||"ArrowLeft"===t.code||"ArrowRight"===t.code||"ArrowUp"===t.code||"ArrowDown"===t.code},rankWithKeyboard:function rankWithKeyboard(t,e){var i=this;if(this.timer&&clearTimeout(this.timer),!this.isGlobalShortcut(t))if(t.stopPropagation(),this.keyCode+=t.key,isNaN(this.keyCode))this.reset();else{var o=this.ranking.slots[this.keyCode-1];o?(this.ranking.moveQuestionToSlot(e,o),this.onMoveEnd(),this.$nextTick((function(){var t,o=null===(t=i.$refs.items)||void 0===t?void 0:t.find((function(t){return t.title==(null==e?void 0:e.text)}));null==o||o.focus()})),this.timer=setTimeout((function(){i.$nextTick((function(){i.focusOnFirstQuestionOrItem(),i.reset()}))}),300)):this.reset()}},focusOnFirstQuestionOrItem:function focusOnFirstQuestionOrItem(){var t=this;this.$nextTick((function(){var e,i=null===(e=t.$refs.questions)||void 0===e?void 0:e.find((function(e){var i;return e.title==(null===(i=t.ranking.questions[0])||void 0===i?void 0:i.text)}));if(i)i.focus();else{var o=t.$refs.items[0];null==o||o.focus()}}))},onMoveEnd:function onMoveEnd(){this.$emit("on-reorder",this.ranking)},onFocus:function onFocus(){this.$emit("on-focus")},isSuggested:function isSuggested(t){var e;return null===(e=this.suggestion)||void 0===e?void 0:e.isSuggested(t)},getSuggestedAgent:function getSuggestedAgent(t){var e;return null===(e=this.suggestion)||void 0===e||null===(e=e.getSuggestion(t))||void 0===e?void 0:e.agent},getSuggestedScore:function getSuggestedScore(t){var e;return null===(e=this.suggestion)||void 0===e||null===(e=e.getSuggestion(t))||void 0===e||null===(e=e.score)||void 0===e?void 0:e.fixed},getSuggestedRank:function getSuggestedRank(t){var e;return null===(e=this.suggestion)||void 0===e||null===(e=e.getSuggestion(t))||void 0===e?void 0:e.value.rank}}}),n=(i(918),i(26)),a=Object(n.a)(s,(function render(){var t=this,e=t._self._c;return e("div",{staticClass:"draggable"},[e("draggable",{staticClass:"draggable__questions-container",attrs:{list:t.ranking.questions,group:{name:"question"},sort:!1,role:"listbox","aria-orientation":"vertical"}},t._l(t.ranking.questions,(function(i){return e("div",{key:i.value,ref:"questions",refInFor:!0,attrs:{id:i.value,title:i.text,tabindex:"0"},on:{keydown:function keydown(e){return t.rankWithKeyboard(e,i)}
1,focus:t.onFocus}},[e("BaseTooltip",{staticClass:"draggable__rank-card--unranked",attrs:{title:t.isSuggested(i)?t.$t("suggestion.name"):null,text:t.getSuggestedAgent(i),minimalist:""}},[e("svgicon",{attrs:{width:"6",name:"draggable",id:"".concat(i.value,"-icon"),"aria-label":"Dragging Icon"}}),t._v(" "),e("span",{staticClass:"draggable__rank-card__title",attrs:{id:"".concat(i.value,"-span")},domProps:{textContent:t._s(i.text)}}),t._v(" "),t.isSuggested(i)?e("span",{staticClass:"draggable__suggestion"},[e("span",{domProps:{textContent:t._s(t.getSuggestedRank(i))}}),t._v(" "),e("svgicon",{attrs:{name:"suggestion",width:"10",height:"10"}}),t._v(" "),t.getSuggestedScore(i)?e("span",{staticClass:"draggable__suggestion__score",domProps:{textContent:t._s(t.getSuggestedScore(i))}}):t._e()],1):t._e()],1)],1)})),0),t._v(" "),e("div",{staticClass:"draggable__slots-container"},t._l(t.ranking.slots,(function(i){var o=i.index,s=i.rank,n=i.items;return e("div",{key:o,staticClass:"draggable__slot",class:{"--active-slot":n.length}},[e("span",{staticClass:"draggable__slot-box--ranking",domProps:{textContent:t._s(s)}}),t._v(" "),e("draggable",{staticClass:"draggable__slot-box",attrs:{list:n,group:"question",sort:!1},on:{add:t.onMoveEnd,remove:t.onMoveEnd}},t._l(n,(function(i){return e("div",{key:i.value,ref:"items",refInFor:!0,attrs:{id:i.value,title:i.text,tabindex:"0"},on:{keydown:function keydown(e){return t.rankWithKeyboard(e,i)},focus:t.onFocus}},[e("BaseTooltip",{staticClass:"draggable__rank-card--ranked",attrs:{title:t.isSuggested(i)?t.$t("suggestion.name"):null,text:t.getSuggestedAgent(i),minimalist:""}},[e("svgicon",{attrs:{width:"6",name:"draggable",id:"".concat(i.value,"-icon")}}),t._v(" "),e("span",{staticClass:"draggable__rank-card__title",attrs:{id:"".concat(i.value,"-span")},domProps:{textContent:t._s(i.text)}}),t._v(" "),t.isSuggested(i)?e("span",{staticClass:"draggable__suggestion"},[e("span",{domProps:{textContent:t._s(t.getSuggestedRank(i))}}),t._v(" "),e("svgicon",{attrs:{name:"suggestion",width:"10",height:"10"}}),t._v(" "),t.getSuggestedScore(i)?e("span",{staticClass:"draggable__suggestion__score",domProps:{textContent:t._s(t.getSuggestedScore(i))}}):t._e()],1):t._e()],1)],1)})),0)],1)})),0)],1)}),[],!1,null,"10a80f2a",null);e.default=a.exports;installComponents(a,{BaseTooltip:i(789).default})}}]);
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.