chunk-b8d16a04.js 1.92 KB
(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["chunk-b8d16a04"],{"255d":function(t,r,a){"use strict";a.r(r);var e=function(){var t=this,r=t.$createElement,a=t._self._c||r;return a("div",{staticClass:"aioseo-link-chart"},[0===t.total?a("svg",{attrs:{viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"}},[a("circle",{staticClass:"aioseo-link-chart-score__circle",attrs:{stroke:"#e8e8eb","stroke-dasharray":"100","stroke-linecap":"round","stroke-width":2,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}})]):t._e(),0<t.total?a("svg",{attrs:{viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"}},[t._l(t.parts,(function(r,e){return[Math.round(r.ratio)&&0!==e?a("circle",{key:e+"_border",staticClass:"aioseo-link-chart-score__circle",attrs:{stroke:"#FFFFFF","stroke-dasharray":Math.round(r.ratio)+" "+parseFloat(99-Math.round(r.ratio)),"stroke-linecap":"round","stroke-width":2.5,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}}):t._e(),Math.round(r.ratio)?a("circle",{key:e+"_stroke",staticClass:"aioseo-link-chart-score__circle",attrs:{stroke:r.color,"stroke-dasharray":(100===Math.round(r.ratio)?100:Math.round(r.ratio)-1)+" 100","stroke-linecap":"round","stroke-width":2,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}}):t._e()]}))],2):t._e(),a("div",{staticClass:"total-amount-wrapper"},[a("div",{staticClass:"total-amount"},[a("div",{staticClass:"total"},[a("util-fit-text",{attrs:{max:40,"constrain-to-element":t.$el,"element-padding":30}},[a("util-animated-number",{attrs:{number:parseInt(t.total)}})],1)],1),a("div",{staticClass:"label"},[t._v(t._s(t.label))])])])])},s=[],o=(a("a9e3"),{props:{parts:{type:Array,required:!0},label:{type:String,required:!0},total:{type:Number,required:!0}}}),i=o,l=(a("8541"),a("2877")),n=Object(l["a"])(i,e,s,!1,null,null,null);r["default"]=n.exports},8541:function(t,r,a){"use strict";a("f40e")},f40e:function(t,r,a){}}]);