1this["SibaSuggestion"] = this["SibaSuggestion"] || {}; 2this["SibaSuggestion"]["Templates"] = this["SibaSuggestion"]["Templates"] || {}; 3 4this["SibaSuggestion"]["Templates"]["query"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { 5 return "*"; 6},"3":function(depth0,helpers,partials,data) { 7 return "10000"; 8},"5":function(depth0,helpers,partials,data) { 9 return "root"; 10},"7":function(depth0,helpers,partials,data) { 11 return "10"; 12},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { 13 var stack1, helper, options, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression, alias4=helpers.blockHelperMissing, buffer = 14 "{\n \"params\": {\n \"keyword\": \"" 15 + alias3(((helper = (helper = helpers.keyword || (depth0 != null ? depth0.keyword : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"keyword","hash":{},"data":data}) : helper))); 16 stack1 = ((helper = (helper = helpers.keyword || (depth0 != null ? depth0.keyword : depth0)) != null ? helper : alias1),(options={"name":"keyword","hash":{},"fn":this.noop,"inverse":this.program(1, data, 0),"data":data}),(typeof helper === alias2 ? helper.call(depth0,options) : helper)); 17 if (!helpers.keyword) { stack1 = alias4.call(depth0,stack1,options)} 18 if (stack1 != null) { buffer += stack1; } 19 buffer += "\",\n \"originId\": \"" 20 + alias3(((helper = (helper = helpers.originId || (depth0 != null ? depth0.originId : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"originId","hash":{},"data":data}) : helper))); 21 stack1 = ((helper = (helper = helpers.originId || (depth0 != null ? depth0.originId : depth0)) != null ? helper : alias1),(options={"name":"originId","hash":{},"fn":this.noop,"inverse":this.program(3, data, 0),"data":data}),(typeof helper === alias2 ? helper.call(depth0,options) : helper)); 22 if (!helpers.originId) { stack1 = alias4.call(depth0,stack1,options)} 23 if (stack1 != null) { buffer += stack1; } 24 buffer += "\",\n \"originPropertyName\": \"" 25 + alias3(((helper = (helper = helpers.originPropertyName || (depth0 != null ? depth0.originPropertyName : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"originPropertyName","hash":{},"data":data}) : helper))); 26 stack1 = ((helper = (helper = helpers.originPropertyName || (depth0 != null ? depth0.originPropertyName : depth0)) != null ? helper : alias1),(options={"name":"originPropertyName","hash":{},"fn":this.noop,"inverse":this.program(5, data, 0),"data":data}),(typeof helper === alias2 ? helper.call(depth0,options) : helper)); 27 if (!helpers.originPropertyName) { stack1 = alias4.call(depth0,stack1,options)} 28 if (stack1 != null) { buffer += stack1; } 29 buffer += "\",\n \"areaSuggestionSize\": \"" 30 + alias3(((helper = (helper = helpers.areaSuggestionSize || (depth0 != null ? depth0.areaSuggestionSize : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"areaSuggestionSize","hash":{},"data":data}) : helper))); 31 stack1 = ((helper = (helper = helpers.areaSuggestionSize || (depth0 != null ? depth0.areaSuggestionSize : depth0)) != null ? helper : alias1),(options={"name":"areaSuggestionSize","hash":{},"fn":this.noop,"inverse":this.program(7, data, 0),"data":data}),(typeof helper === alias2 ? helper.call(depth0,options) : helper)); 32 if (!helpers.areaSuggestionSize) { stack1 = alias4.call(depth0,stack1,options)} 33 if (stack1 != null) { buffer += stack1; } 34 buffer += "\",\n \"categorySuggestionSize\": \"" 35 + alias3(((helper = (helper = helpers.categorySuggestionSize || (depth0 != null ? depth0.categorySuggestionSize : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"categorySuggestionSize","hash":{},"data":data}) : helper))); 36 stack1 = ((helper = (helper = helpers.categorySuggestionSize || (depth0 != null ? depth0.categorySuggestionSize : depth0)) != null ? helper : alias1),(options={"name":"categorySuggestionSize","hash":{},"fn":this.noop,"inverse":this.program(7, data, 0),"data":data}),(typeof helper === alias2 ? helper.call(depth0,options) : helper)); 37 if (!helpers.categorySuggestionSize) { stack1 = alias4.call(depth0,stack1,options)} 38 if (stack1 != null) { buffer += stack1; } 39 return buffer + "\"\n }
39,\n \"id\": \"" 40 + alias3(((helper = (helper = helpers.templateName || (depth0 != null ? depth0.templateName : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"templateName","hash":{},"data":data}) : helper))) 41 + "\"\n}"; 42},"useData":true}); 43 44this["SibaSuggestion"]["Templates"]["result"] = Handlebars.template({"1":function(depth0,helpers,partials,data,blockParams,depths) { 45 var stack1; 46 47 return "[\n {\n \"areas\":[],\n \"suggestion_regions\": [\n" 48 + ((stack1 = helpers['with'].call(depth0,(depth0 != null ? depth0.suggestion_regions : depth0),{"name":"with","hash":{},"fn":this.program(2, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 49 + " ],\n \"suggestion_areas\": [\n" 50 + ((stack1 = helpers['with'].call(depth0,(depth0 != null ? depth0.suggestion_areas : depth0),{"name":"with","hash":{},"fn":this.program(8, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 51 + " ],\n \"suggestion_origin1s\": [\n" 52 + ((stack1 = helpers['with'].call(depth0,(depth0 != null ? depth0.suggestion_origin1s : depth0),{"name":"with","hash":{},"fn":this.program(11, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 53 + " ],\n \"suggestion_origin2s\": [\n" 54 + ((stack1 = helpers['with'].call(depth0,(depth0 != null ? depth0.suggestion_origin2s : depth0),{"name":"with","hash":{},"fn":this.program(14, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 55 + " ],\n \"categories\": [\n ],\n \"chiled_root_categories\": [\n" 56 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.chiled_root_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(17, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 57 + " ],\n \"parent_root_categories\": [\n" 58 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.parent_root_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(17, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 59 + " ],\n \"chiled_region_categories\": [\n" 60 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.chiled_region_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(21, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 61 + " ],\n \"parent_region_categories\": [\n" 62 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.parent_region_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(21, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 63 + " ],\n \"chiled_area_categories\": [\n" 64 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.chiled_area_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(25, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 65 + " ],\n \"parent_area_categories\": [\n" 66 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.parent_area_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(25, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 67 + " ],\n \"chiled_origin1_categories\": [\n" 68 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.chiled_origin1_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(29, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 69 + " ],\n \"parent_origin1_categories\": [\n" 70 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.parent_origin1_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(29, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 71 + " ],\n \"chiled_origin2_categories\": [\n" 72 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.chiled_origin2_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(33, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 73 + " ],\n \"parent_origin2_categories\": [\n" 74 + ((stack1 = helpers['with'].call(depth0,((stack1 = (depth0 != null ? depth0.parent_origin2_categories : depth0)) != null ? stack1.categories : stack1),{"name":"with","hash":{},"fn":this.program(33, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 75 + " ]\n }\n]\n"; 76},"2":function(depth0,helpers,partials,data) { 77 var stack1; 78 79 return ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(3, data, 0),"inverse":this.noop,"data":data})) != null ? stack1 : ""); 80},"3":function(depth0,helpers,partials,data) { 81 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 82 83 return " {\n \"label\":\"" 84 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 85 + "\",\n \"value\":\"" 86 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),2,{"name":"displayValue","hash":{},"data":data})) 87 + "\",\n \"type\":\"area\",\n \"origin_type\":\"region\",\n \"count\":\"" 88 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 89 + "\"\n }"
90 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0),"inverse":this.program(6, data, 0),"data":data})) != null ? stack1 : "") 91 + "\n"; 92},"4":function(depth0,helpers,partials,data) { 93 return ""; 94},"6":function(depth0,helpers,partials,data) { 95 return ","; 96},"8":function(depth0,helpers,partials,data) { 97 var stack1; 98 99 return ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(9, data, 0),"inverse":this.noop,"data":data})) != null ? stack1 : ""); 100},"9":function(depth0,helpers,partials,data) { 101 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 102 103 return " {\n \"label\":\"" 104 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 105 + "\",\n \"value\":\"" 106 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),2,{"name":"displayValue","hash":{},"data":data})) 107 + "\",\n \"type\":\"area\",\n \"origin_type\":\"area\",\n \"count\":\"" 108 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 109 + "\"\n }" 110 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0),"inverse":this.program(6, data, 0),"data":data})) != null ? stack1 : "") 111 + "\n"; 112},"11":function(depth0,helpers,partials,data) { 113 var stack1; 114 115 return ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(12, data, 0),"inverse":this.noop,"data":data})) != null ? stack1 : ""); 116},"12":function(depth0,helpers,partials,data) { 117 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 118 119 return " {\n \"label\":\"" 120 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 121 + "\",\n \"value\":\"" 122 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),2,{"name":"displayValue","hash":{},"data":data})) 123 + "\",\n \"type\":\"area\",\n \"origin_type\":\"origin1\",\n \"count\":\"" 124 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 125 + "\"\n }" 126 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0),"inverse":this.program(6, data, 0),"data":data})) != null ? stack1 : "") 127 + "\n"; 128},"14":function(depth0,helpers,partials,data) { 129 var stack1; 130 131 return ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(15, data, 0),"inverse":this.noop,"data":data})) != null ? stack1 : ""); 132},"15":function(depth0,helpers,partials,data) { 133 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 134 135 return " {\n \"label\":\"" 136 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 137 + "\",\n \"value\":\"" 138 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),2,{"name":"displayValue","hash":{},"data":data})) 139 + "\",\n \"type\":\"area\",\n \"origin_type\":\"origin2\",\n \"count\":\"" 140 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 141 + "\"\n }"
142 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0),"inverse":this.program(6, data, 0),"data":data})) != null ? stack1 : "") 143 + "\n"; 144},"17":function(depth0,helpers,partials,data,blockParams,depths) { 145 var stack1; 146 147 return " " 148 + ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(18, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 149 + "\n"; 150},"18":function(depth0,helpers,partials,data,blockParams,depths) { 151 var stack1; 152 153 return ((stack1 = helpers.each.call(depth0,((stack1 = ((stack1 = (depth0 != null ? depth0.reverse_nested : depth0)) != null ? stack1.area : stack1)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(19, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 154 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : ""); 155},"19":function(depth0,helpers,partials,data,blockParams,depths) { 156 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 157 158 return "\n {\n \"type\":\"category\",\n \"category_type\":\"root\",\n \"label\":\"" 159 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),1,{"name":"displayValue","hash":{},"data":data})) 160 + "\",\n \"value\":\"" 161 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),2,{"name":"displayValue","hash":{},"data":data})) 162 + "\",\n \"url\":\"" 163 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),3,{"name":"displayValue","hash":{},"data":data})) 164 + "\",\n \"area\":\"" 165 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 166 + "\",\n \"count\":\"" 167 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 168 + "\"\n }" 169 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") 170 + "\n "; 171},"21":function(depth0,helpers,partials,data,blockParams,depths) { 172 var stack1; 173 174 return " " 175 + ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(22, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 176 + "\n"; 177},"22":function(depth0,helpers,partials,data,blockParams,depths) { 178 var stack1; 179 180 return ((stack1 = helpers.each.call(depth0,((stack1 = ((stack1 = (depth0 != null ? depth0.reverse_nested : depth0)) != null ? stack1.area : stack1)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(23, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 181 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : ""); 182},"23":function(depth0,helpers,partials,data,blockParams,depths) { 183 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 184 185 return "\n {\n \"type\":\"category\",\n \"category_type\":\"region\",\n \"label\":\"" 186 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),1,{"name":"displayValue","hash":{},"data":data})) 187 + "\",\n \"value\":\"" 188 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),2,{"name":"displayValue","hash":{},"data":data})) 189 + "\",\n \"url\":\"" 190 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),3,{"name":"displayValue","hash":{},"data":data})) 191 + "\",\n \"area\":\"" 192 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 193 + "\",\n \"count\":\"" 194 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 195 + "\"\n }"
196 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") 197 + "\n "; 198},"25":function(depth0,helpers,partials,data,blockParams,depths) { 199 var stack1; 200 201 return " " 202 + ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(26, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 203 + "\n"; 204},"26":function(depth0,helpers,partials,data,blockParams,depths) { 205 var stack1; 206 207 return ((stack1 = helpers.each.call(depth0,((stack1 = ((stack1 = (depth0 != null ? depth0.reverse_nested : depth0)) != null ? stack1.area : stack1)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(27, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 208 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : ""); 209},"27":function(depth0,helpers,partials,data,blockParams,depths) { 210 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 211 212 return "\n {\n \"type\":\"category\",\n \"category_type\":\"area\",\n \"label\":\"" 213 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),1,{"name":"displayValue","hash":{},"data":data})) 214 + "\",\n \"value\":\"" 215 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),2,{"name":"displayValue","hash":{},"data":data})) 216 + "\",\n \"url\":\"" 217 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),3,{"name":"displayValue","hash":{},"data":data})) 218 + "\",\n \"area\":\"" 219 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 220 + "\",\n \"count\":\"" 221 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 222 + "\"\n }" 223 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") 224 + "\n "; 225},"29":function(depth0,helpers,partials,data,blockParams,depths) { 226 var stack1; 227 228 return " " 229 + ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(30, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 230 + "\n"; 231},"30":function(depth0,helpers,partials,data,blockParams,depths) { 232 var stack1; 233 234 return ((stack1 = helpers.each.call(depth0,((stack1 = ((stack1 = (depth0 != null ? depth0.reverse_nested : depth0)) != null ? stack1.area : stack1)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(31, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 235 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : ""); 236},"31":function(depth0,helpers,partials,data,blockParams,depths) { 237 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 238 239 return "\n {\n \"type\":\"category\",\n \"category_type\":\"origin1\",\n \"label\":\"" 240 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),1,{"name":"displayValue","hash":{},"data":data})) 241 + "\",\n \"value\":\"" 242 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),2,{"name":"displayValue","hash":{},"data":data})) 243 + "\",\n \"url\":\"" 244 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),3,{"name":"displayValue","hash":{},"data":data})) 245 + "\",\n \"area\":\"" 246 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 247 + "\",\n \"count\":\"" 248 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 249 + "\"\n }"
250 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") 251 + "\n "; 252},"33":function(depth0,helpers,partials,data,blockParams,depths) { 253 var stack1; 254 255 return " " 256 + ((stack1 = helpers.each.call(depth0,((stack1 = (depth0 != null ? depth0.suggestion : depth0)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(34, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 257 + "\n"; 258},"34":function(depth0,helpers,partials,data,blockParams,depths) { 259 var stack1; 260 261 return ((stack1 = helpers.each.call(depth0,((stack1 = ((stack1 = (depth0 != null ? depth0.reverse_nested : depth0)) != null ? stack1.area : stack1)) != null ? stack1.buckets : stack1),{"name":"each","hash":{},"fn":this.program(35, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : "") 262 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : ""); 263},"35":function(depth0,helpers,partials,data,blockParams,depths) { 264 var stack1, helper, alias1=helpers.helperMissing, alias2=this.escapeExpression; 265 266 return "\n {\n \"type\":\"category\",\n \"category_type\":\"origin2\",\n \"label\":\"" 267 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),1,{"name":"displayValue","hash":{},"data":data})) 268 + "\",\n \"value\":\"" 269 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),2,{"name":"displayValue","hash":{},"data":data})) 270 + "\",\n \"url\":\"" 271 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depths[1] != null ? depths[1].key : depths[1]),3,{"name":"displayValue","hash":{},"data":data})) 272 + "\",\n \"area\":\"" 273 + alias2((helpers.displayValue || (depth0 && depth0.displayValue) || alias1).call(depth0,(depth0 != null ? depth0.key : depth0),1,{"name":"displayValue","hash":{},"data":data})) 274 + "\",\n \"count\":\"" 275 + alias2(((helper = (helper = helpers.doc_count || (depth0 != null ? depth0.doc_count : depth0)) != null ? helper : alias1),(typeof helper === "function" ? helper.call(depth0,{"name":"doc_count","hash":{},"data":data}) : helper))) 276 + "\"\n }" 277 + ((stack1 = helpers['if'].call(depth0,(data && data.last),{"name":"if","hash":{},"fn":this.program(4, data, 0, blockParams, depths),"inverse":this.program(6, data, 0, blockParams, depths),"data":data})) != null ? stack1 : "") 278 + "\n "; 279},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data,blockParams,depths) { 280 var stack1; 281 282 return ((stack1 = helpers['with'].call(depth0,(depth0 != null ? depth0.aggregations : depth0),{"name":"with","hash":{},"fn":this.program(1, data, 0, blockParams, depths),"inverse":this.noop,"data":data})) != null ? stack1 : ""); 283},"useData":true,"useDepths":true});
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.