diff --git a/docs/Data_Dictionary/gdcmvs.md b/docs/Data_Dictionary/gdcmvs.md new file mode 100644 index 000000000..0b51c2ef5 --- /dev/null +++ b/docs/Data_Dictionary/gdcmvs.md @@ -0,0 +1,70 @@ + + + +

GDC Metadata Validation Services

+ + + + +
+ +
+
+
GDC Dictionary Version
+
+ + + + diff --git a/mkdocs.yml b/mkdocs.yml index 7d2f7ab26..9be2fc02c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,6 +2,8 @@ copyright: '© 2015-2016' extra: dictionary_app_root: /apps/dictionary dictionary_viewer_page_id: Viewer + gdcmvs_app_root: /apps/gdcmvs + gdcmvs_viewer_page_id: Search encyclopedia_entries_page_title: EncyclopediaEntries encyclopedia_page_title: Encyclopedia nav_exclude: @@ -79,6 +81,7 @@ pages: - Data Dictionary: - About: Data_Dictionary/index.md - Viewer: Data_Dictionary/viewer.md + - Search: Data_Dictionary/gdcmvs.md - Release Notes: Data_Dictionary/Release_Notes/Data_Dictionary_Release_Notes.md - Data: - Introduction: Data/Introduction.md diff --git a/theme/apps/gdcmvs/dist/bundle.js b/theme/apps/gdcmvs/dist/bundle.js new file mode 100644 index 000000000..69075ed95 --- /dev/null +++ b/theme/apps/gdcmvs/dist/bundle.js @@ -0,0 +1 @@ +!function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(n,i,function(t){return e[t]}.bind(null,i));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=7)}([function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=0,i=$(".navbar .container").height(),c=i,s=!1,r=t.getHeaderOffset=function(){return c},l=(t.getScrollTop=function(){return n},t.onScroll=function(e){var t=e.scrollTop();t-n>0?(c=i-64,n=t):(c=i,n=t)},t.onResize=function(e,t,a){i=$(".navbar .container").height(),l(e,t,a),c=i},t.setHeight=function(e,t,a){e.attr("style","margin-top: "+(i-54)+"px !important"),t.attr("style","min-height: calc(100vh - "+(i+10)+"px)"),a.attr("style","min-height: calc(100vh - "+(i+12)+"px)")}),d=(t.errorNotification=function(e,t){if(!0!==s){s=!0,$("#gdc-loading-icon").fadeOut("fast");var a=$("#alert-error");a.text("Error "+e+": "+t),a.css({top:r()+20+"px"}).addClass("alert__show"),setTimeout(function(){a.removeClass("alert__show"),s=!1},3900)}},t.dialogsOnResize=function(e){var t=$("#gdc_data, #gdc_terms_data, #compare_dialog, #ncit_details, #caDSR_data, #compareGDC_dialog, #source_details, #type_details");0!=t.length&&t.each(function(t,a){var n=$(a).parent();n.offset().top([^]*)","g").exec(t)[1]},t.removeDuplicateSynonyms=function(e){if(void 0!=e.s){var t={},a=[];for(var n in e.s.forEach(function(e){var a=e.trim().toLowerCase();a in t||(t[a]=[]),t[a].push(e)}),t){var i=o(t[n]);a.push(i)}return a}},t.getAllSyn=function(e){var t={};return e.forEach(function(e){void 0!==e.i_c&&(e.i_c.c&&void 0===t[e.i_c.c]?e.i_c.n_syn?(t[e.i_c.c]={n_syn:[],checker_n_c:[e.n_c],all_syn:[]},t[e.i_c.c].n_syn=e.i_c.n_syn,e.i_c.n_syn.forEach(function(a){void 0!==a.s&&(t[e.i_c.c].all_syn=t[e.i_c.c].all_syn.concat(a.s.map(function(e){return e.termName})))})):(t[e.i_c.c]={n_syn:[],checker_n_c:[e.n_c],all_syn:[]},""!==e.n_c&&t[e.i_c.c].n_syn.push({n_c:e.n_c,s:e.s}),""!==e.n_c&&void 0!==e.s&&(t[e.i_c.c].all_syn=t[e.i_c.c].all_syn.concat(e.s.map(function(e){return e.termName})))):void 0!==t[e.i_c.c]&&-1===t[e.i_c.c].checker_n_c.indexOf(e.n_c)&&(""!==e.n_c&&t[e.i_c.c].n_syn.push({n_c:e.n_c,s:e.s}),""!==e.n_c&&void 0!==e.s&&(t[e.i_c.c].all_syn=t[e.i_c.c].all_syn.concat(e.s.map(function(e){return e.termName}))),t[e.i_c.c].checker_n_c.push(e.n_c)))}),t}),o=(t.searchFilter=function(e,t){var a=d(e),n=[];return JSON.parse(JSON.stringify(e)).forEach(function(e){var a=e.n.replace(//g,"").replace(/<\/b>/g,"").toLowerCase().indexOf(t);-1!==a&&(0===a&&n.unshift(e),0!==a&&n.push(e))}),JSON.parse(JSON.stringify(e)).forEach(function(e){void 0!==e.s&&(e.s.map(function(e){return e.termName.trim().toLowerCase()}).map(function(e){return e.indexOf(t)>=0}).indexOf(!0)>=0&&!_.some(n,e)&&n.push(e))}),JSON.parse(JSON.stringify(e)).forEach(function(e){if(void 0!==e.all_syn)e.all_syn.map(function(e){return e.trim().toLowerCase()}).map(function(e){return e.indexOf(t)>=0}).indexOf(!0)>=0&&!_.some(n,e)&&n.push(e);else if(void 0!==e.i_c&&a[e.i_c.c]&&a[e.i_c.c].all_syn){a[e.i_c.c].all_syn.map(function(e){return e.trim().toLowerCase()}).map(function(e){return e.indexOf(t)>=0}).indexOf(!0)>=0&&!_.some(n,e)&&n.push(e)}}),n.forEach(function(e){e.n=e.n.replace(//g,"").replace(/<\/b>/g,"").replace(new RegExp(t,"ig"),"$&"),void 0!==e.s&&(e.s=e.s.map(function(e){return{termName:e.termName.replace(//g,"").replace(/<\/b>/g,"").replace(new RegExp(t,"ig"),"$&"),termGroup:e.termGroup,termSource:e.termSource}})),void 0!==e.i_c&&void 0!==e.i_c.n_syn&&e.i_c.n_syn.forEach(function(e){void 0!==e.s&&(e.s=e.s.map(function(e){return{termName:e.termName.replace(//g,"").replace(/<\/b>/g,"").replace(new RegExp(t,"ig"),"$&"),termGroup:e.termGroup,termSource:e.termSource}}))}),void 0!==e.n_syn&&e.n_syn.forEach(function(e){void 0!==e.s&&(e.s=e.s.map(function(e){return{termName:e.termName.replace(//g,"").replace(/<\/b>/g,"").replace(new RegExp(t,"ig"),"$&"),termGroup:e.termGroup,termSource:e.termSource}}))})}),n},t.searchFilterCR=function(e,t){var a=a=d(e),n=[];return JSON.parse(JSON.stringify(e)).forEach(function(e){var a=e.n.replace(//g,"").replace(/<\/b>/g,"").toLowerCase().indexOf(t);-1!==a&&(0===a&&n.unshift(e),0!==a&&n.push(e))}),JSON.parse(JSON.stringify(e)).forEach(function(e){void 0!==e.s&&(e.s.map(function(e){return e.termName.trim().toLowerCase()}).map(function(e){return e.indexOf(t)>=0}).indexOf(!0)>=0&&!_.some(n,e)&&n.push(e))}),JSON.parse(JSON.stringify(e)).forEach(function(e){if(void 0!==e.all_syn)e.all_syn.map(function(e){return e.trim().toLowerCase()}).map(function(e){return e.indexOf(t)>=0}).indexOf(!0)>=0&&!_.some(n,e)&&n.push(e);else if(void 0!==e.i_c&&a[e.i_c.c]&&a[e.i_c.c].all_syn){a[e.i_c.c].all_syn.map(function(e){return e.trim().toLowerCase()}).map(function(e){return e.indexOf(t)>=0}).indexOf(!0)>=0&&!_.some(n,e)&&n.push(e)}}),n},t.findWord=function(e){var t="";return 1==e.length?e[0]:(e.forEach(function(e){if(""===t){var a=e.indexOf(" "),n=e.indexOf(",");-1==a&&-1==n?/^[A-Z][a-z0-9]{0,}$/.test(e)&&(t=e):-1!==a&&-1==n?/^[A-Z][a-z0-9]{0,}$/.test(e.substr(0,a))&&(t=e):-1==a&&-1!==n?/^[A-Z][a-z0-9]{0,}$/.test(e.substr(0,n))&&(t=e):n>a?/^[A-Z][a-z0-9]{0,}$/.test(e.substr(0,a))&&(t=e):/^[A-Z][a-z0-9]{0,}$/.test(e.substr(0,n))&&(t=e)}}),""==t&&(t=e[0]),t)})},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apiEVSRest=t.apiGetGDCandCDEDataById=t.apiGetCDEDataById=t.apiGetGDCDataById=t.apiSearchAll=t.apiGDCDictionaryVersion=t.apiSuggestMisSpelled=t.apiSuggest=void 0;var n=a(0),i="http://ec2-54-152-84-22.compute-1.amazonaws.com/gdc/search";t.apiSuggest=function(e,t){$.getJSON(i+"/suggest?keyword="+e,function(e){t(e)})},t.apiSuggestMisSpelled=function(e,t){$.getJSON(i+"/suggestMisSpelled?keyword="+e,function(e){t(e)})},t.apiGDCDictionaryVersion=function(e){$.getJSON(i+"/gdcDictionaryVersion",function(t){e(t)})},t.apiSearchAll=function(e,t,a){$.getJSON(i+"/all/p",{keyword:e,option:JSON.stringify(t)},function(n){a(e,t,n)}).fail(function(e,t,a){(0,n.errorNotification)(e.status,a)})},t.apiGetGDCDataById=function(e,t){$.getJSON(i+"/p/local/vs",{id:e},function(a){t(e,a)}).fail(function(e,t,a){(0,n.errorNotification)(e.status,a)})},t.apiGetCDEDataById=function(e,t){$.getJSON(i+"/p/cde/vs",{id:e},function(a){t(e,a)}).fail(function(e,t,a){(0,n.errorNotification)(e.status,a)})},t.apiGetGDCandCDEDataById=function(e,t){$.getJSON(i+"/p/both/vs",{local:e.local,cde:e.cde},function(a){t(e,a)}).fail(function(e,t,a){(0,n.errorNotification)(e.status,a)})},t.apiEVSRest=function(e,t){$.getJSON(i+"/ncit/detail?code="+e,function(a){t(e,a)}).fail(function(e,t,a){(0,n.errorNotification)(e.status,a)})}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePopUps=t.compare=t.showCompareResult=t.dialogEvents=void 0;var n=o(a(16)),i=o(a(18)),c=o(a(20)),s=o(a(22)),r=o(a(23)),l=o(a(25)),d=a(27);function o(e){return e&&e.__esModule?e:{default:e}}t.dialogEvents=function(e,t){e.on("click",".getCDEData",function(e){e.preventDefault();var t=e.currentTarget.dataset;(0,n.default)(t.cdeid,t.targets)}),e.on("click",".getGDCData",function(e){e.preventDefault();var t=e.currentTarget.dataset,a=t.ref.replace(/@/g,"/");(0,i.default)(a,t.tgt,t.keyword)}),e.on("click",".toCompare",function(e){e.preventDefault();var t=e.currentTarget.dataset.ref.replace(/@/g,"/");(0,c.default)(t)}),e.on("click",".compareGDC",function(e){e.preventDefault();var t=e.currentTarget.dataset,a=t.ref.replace(/@/g,"/");(0,s.default)(a,t.cdeid)}),e.on("click",".getGDCTerms",function(e){e.preventDefault();var t=e.currentTarget.dataset,a=t.ref.replace(/@/g,"/");(0,r.default)(a,t.targets)}),t.on("click",".getNCITDetails",function(e){e.preventDefault();var t=e.currentTarget.dataset;(0,l.default)(t.uid)}),t.on("click",".getSourceDetails",function(e){e.preventDefault(),(0,d.renderSource)()}),t.on("click",".getTypeDetails",function(e){e.preventDefault(),(0,d.renderType)()}),t.on("click",".compare-form__toggle",function(e){e.preventDefault();var t=$(e.currentTarget),a=t.closest(".compare-form__values, .table__gdc-match").find(".compare-form__synm");t.closest(".compare-form__values, .table__gdc-match").find(".compare-form__matched").slideToggle(350),a.slideToggle(350,function(){a.is(":visible")?(t.attr("title","collapse"),t.attr("aria-label","collapse"),t.attr("aria-expanded","true"),t.html('')):(t.attr("title","expand"),t.attr("aria-label","expand"),t.attr("aria-expanded","false"),t.html(''))})})};var p=function(e,t,a){var n=[],i=[];(t=JSON.parse(JSON.stringify(t))).forEach(function(e){n.push(e.n.trim().toLowerCase()),e.s&&e.s.length>0&&(e.s=e.s.map(function(e){return{termName:e.termName.toLowerCase(),termSource:e.termSource,termGroup:e.termGroup}})),e.all_syn&&e.all_syn.length>0&&(e.all_syn=e.all_syn.map(function(e){return e.toLowerCase()}))});var c=[];return e.forEach(function(e){var s=e.trim().replace(/[\ ]+/g," ");e=e.trim().toLowerCase().replace(/[\ ]+/g," ");new RegExp(e,"ig");var r=e;if(""!==r){var l=[];if(!1===a.partial){var d=[],o=n.indexOf(r);if(o>=0&&(t[o].match=s,l.push(t[o]),d.push(t[o].n),i.push(o)),!0===a.synonyms){t.forEach(function(e,a){e.all_syn&&-1!==e.all_syn.indexOf(r)&&-1===d.indexOf(t[a].n)&&(l.push(t[a]),d.push(t[a].n),i.push(a)),e.s&&e.s.forEach(function(e){e.termName.trim().toLowerCase()===r&&-1===d.indexOf(t[a].n)&&(l.push(t[a]),d.push(t[a].n),i.push(a))})});var _=v(l,r,a);l.forEach(function(e){if(e.match=s,void 0!==e.n_syn&&void 0===e.s)e.n_syn.forEach(function(t){if(void 0===e.matched_s&&void 0!==_[t.n_c])e.matched_s=[],e.chk_n_c=[],e.chk_n_c.push(t.n_c),e.matched_s.push({n_c:t.n_c,s:_[t.n_c]});else if(void 0!==e.matched_s&&-1===e.chk_n_c.indexOf(t.n_c)&&void 0!==_[t.n_c]){var a={};a.n_c=t.n_c,a.s=_[t.n_c],e.matched_s.push(a),e.chk_n_c.push(t.n_c)}});else if(void 0!==e.s&&void 0===e.n_syn&&void 0!==_[e.n_c])if(void 0===e.matched_s)e.matched_s=[],e.chk_n_c=[],e.chk_n_c.push(e.n_c),e.matched_s.push({n_c:e.n_c,s:_[e.n_c]});else if(void 0!==e.matched_s&&-1===e.chk_n_c.indexOf(e.n_c)&&void 0!==_[e.n_c]){var t={};t.n_c=e.n_c,t.s=_[e.n_c],e.matched_s.push(t),e.chk_n_c.push(e.n_c)}})}}else{var p=[];n.forEach(function(e,n){if(e.indexOf(r)>=0&&-1===p.indexOf(t[n].n)&&(t[n].match=s,l.push(t[n]),p.push(t[n].n),i.push(n)),!0===a.synonyms){t.forEach(function(e,a){e.all_syn&&e.all_syn.forEach(function(e){-1!==e.indexOf(r)&&-1===p.indexOf(t[a].n)&&(l.push(t[a]),p.push(t[a].n),i.push(a))}),e.s&&e.s.forEach(function(e){-1!==e.termName.indexOf(r)&&-1===p.indexOf(t[a].n)&&(l.push(t[a]),p.push(t[a].n),i.push(a))})});var c=v(l,r,a);l.forEach(function(e){if(e.match=s,void 0!==e.n_syn&&void 0===e.s)e.n_syn.forEach(function(t){if(void 0===e.matched_s&&void 0!==c[t.n_c])e.matched_s=[],e.chk_n_c=[],e.chk_n_c.push(t.n_c),e.matched_s.push({n_c:t.n_c,s:c[t.n_c]});else if(void 0!==e.matched_s&&-1===e.chk_n_c.indexOf(t.n_c)&&void 0!==c[t.n_c]){var a={};a.n_c=t.n_c,a.s=c[t.n_c],e.matched_s.push(a),e.chk_n_c.push(t.n_c)}});else if(void 0!==e.s&&void 0===e.n_syn&&void 0!==c[e.n_c])if(void 0===e.matched_s)e.matched_s=[],e.chk_n_c=[],e.chk_n_c.push(e.n_c),e.matched_s.push({n_c:e.n_c,s:c[e.n_c]});else if(void 0!==e.matched_s&&-1===e.chk_n_c.indexOf(e.n_c)&&void 0!==c[e.n_c]){var t={};t.n_c=e.n_c,t.s=c[e.n_c],e.matched_s.push(t),e.chk_n_c.push(e.n_c)}})}})}l.length>0&&l.sort(function(e,t){return e.n.toLowerCase()>t.n.toLowerCase()?1:t.n.toLowerCase()>e.n.toLowerCase()?-1:0}),0===l.length&&l.push({n:"",n_c:"",match:s,s:[]}),c=c.concat(JSON.parse(JSON.stringify(l)))}}),c=a.unmatched?c.concat(t.filter(function(e,t){return!i.includes(t)})):c},u=t.showCompareResult=function(e,t,a){return e.length>0?'\n
\n
\n
\n\n '+e.map(function(a,n){var i=new RegExp(a.match,"ig");return("\n "+(void 0!==a.match&&0!==n&&e[n-1].match!==e[n].match?'
':"")+"\n "+(void 0===a.match&&0!==n?'
':"")+'\n
\n
\n '+(void 0!==a.match&&0!==n&&e[n-1].match!==e[n].match?a.match:"")+"\n "+(void 0!==a.match&&0===n?a.match:"")+"\n "+(void 0===a.match?'--':"")+"\n
\n "+(void 0!==a.n_syn?'\n
\n
\n
'+(""!==a.n&&!0===t.partial?a.n.replace(i,"$&"):""!==a.n&&a.n.trim().toLowerCase()===(void 0!==a.match?a.match.trim().toLowerCase():"")?""+a.n+"":""===a.n?'--':""+a.n)+'\n
\n
\n '+(0!==a.n_syn.length?'\n \n ':"")+"\n
\n
\n\n "+(void 0!==a.matched_s&&0!==a.matched_s.length?'\n
\n '+a.matched_s.map(function(e){return('\n
\n
'+e.n_c+' (NCIt)
\n
\n '+(void 0!==e.s?'\n \n \n \n \n \n \n \n \n\n '+e.s.map(function(e){return('\n \n \n \n \n \n ").trim()}).join("")+"\n
TermSourceType
'+e.termName.replace(i,"$&")+''+(void 0!==e.termSource&&null!==e.termSource?e.termSource:"")+''+(void 0!==e.termGroup&&null!==e.termGroup?e.termGroup:"")+"
\n ":"")+"\n
\n
\n ").trim()}).join("")+"\n
\n ":"")+'\n\n \n
\n ":"")+"\n\n "+(void 0!==a.s?'\n
\n
\n
'+(""!==a.n&&!0===t.partial?a.n.replace(i,"$&"):""!==a.n&&a.n.trim().toLowerCase()===(void 0!==a.match?a.match.trim().toLowerCase():"")?""+a.n+"":""===a.n?'--':""+a.n)+'\n
\n
\n '+(0!==a.s.length?'\n \n ':"")+"\n
\n
\n\n "+(void 0!==a.matched_s&&0!==a.matched_s.length?'\n
\n '+a.matched_s.map(function(e){return('\n
\n
'+e.n_c+' (NCIt)
\n
\n '+(void 0!==e.s?'\n \n \n \n \n \n \n \n \n\n '+e.s.map(function(e){return('\n \n \n \n \n \n ").trim()}).join("")+"\n
TermSourceType
'+e.termName.replace(i,"$&")+''+(void 0!==e.termSource&&null!==e.termSource?e.termSource:"")+''+(void 0!==e.termGroup&&null!==e.termGroup?e.termGroup:"")+"
\n ":"")+"\n
\n
\n ").trim()}).join("")+"\n
\n ":"")+"\n\n "+(0!==a.s.length?'\n \n ":"")+"\n
\n ":"")+"\n "+(void 0===a.s&&void 0===a.n_syn?'\n
'+a.n+"
\n ":"")+"\n
\n "+(e.length-1===n?'
':"")+"\n ").trim()}).join("")+"\n
\n
\n
\n ":'\n
\n
\n Sorry, no results found for keyword: '+a+"\n
\n
\n "},v=function(e,t,a){if(!1===a.partial){var n={};return e.forEach(function(e){e.matched_s&&(e.matched_s=void 0),void 0!==e.n_syn&&void 0===e.s?e.n_syn.forEach(function(e){void 0!==e.s&&e.s.forEach(function(a){a.termName.trim().toLowerCase()===t&&(void 0===n[e.n_c]?(n[e.n_c]=[],n[e.n_c].push(a)):void 0===n[e.n_c]||_.some(n[e.n_c],a)||n[e.n_c].push(a))})}):void 0!==e.s&&void 0===e.n_syn&&e.s.forEach(function(a){a.termName.trim().toLowerCase()===t&&(void 0===n[e.n_c]?(n[e.n_c]=[],n[e.n_c].push(a)):void 0===n[e.n_c]||_.some(n[e.n_c],a)||n[e.n_c].push(a))})}),n}var i={};return e.forEach(function(e){e.matched_s&&(e.matched_s=void 0),void 0!==e.n_syn&&void 0===e.s?e.n_syn.forEach(function(e){void 0!==e.s&&(e.s=e.s.map(function(e){return{termName:e.termName.toLowerCase(),termGroup:e.termGroup,termSource:e.termSource}}),e.s.forEach(function(a){a.termName.indexOf(t)>=0&&(void 0===i[e.n_c]?(i[e.n_c]=[],i[e.n_c].push(a)):void 0===i[e.n_c]||_.some(i[e.n_c],a)||i[e.n_c].push(a))}))}):void 0!==e.s&&void 0===e.n_syn&&(e.s=e.s.map(function(e){return{termName:e.termName.toLowerCase(),termGroup:e.termGroup,termSource:e.termSource}}),e.s.forEach(function(a){a.termName.indexOf(t)>=0&&(void 0===i[e.n_c]?(i[e.n_c]=[],i[e.n_c].push(a)):void 0===i[e.n_c]||_.some(i[e.n_c],a)||i[e.n_c].push(a))}))}),i};t.compare=function(e){""!==$("#cp_input").val().trim()?(e.length>500&&$("#gdc-loading-icon").show(),setTimeout(function(){$("#cp_massage").html(""),$("#compare_form").css("display","none"),$("#compare_result").css("display","block"),$("#compare-input").hide(),$("#compare-matched").show(),$("#compare_download").show(),$("#compare").hide(),$("#cancelCompare").hide(),$("#cp_bottom-matched").show();var t=$("#cp_input").val().split(/\n/),a={};a.partial=$("#compare_filter").prop("checked"),a.unmatched=$("#compare_unmatched").prop("checked"),a.synonyms=$("#compare_synonyms").prop("checked");var n=p(t,e,a);$("#compare-matched").data("compareResult",n),$("#compare-matched").data("options",a),$("#pagination-matched").pagination({dataSource:n,pageSize:50,callback:function(e,t){var n=u(e,a);$("#compare_result").html(n)}}),$("#compare_filter").bind("click",function(){if($("#compare_result").is(":visible")){var a={};a.partial=$("#compare_filter").prop("checked"),a.unmatched=$("#compare_unmatched").prop("checked"),a.synonyms=$("#compare_synonyms").prop("checked"),e.length>500&&$("#gdc-loading-icon").show(),setTimeout(function(){var n=p(t,e,a);$("#compare-matched").data("compareResult",n),$("#compare-matched").data("options",a),$("#pagination-matched").pagination({dataSource:n,pageSize:50,callback:function(e,t){var n=u(e,a);$("#compare_result").html(n)}}),e.length>500&&$("#gdc-loading-icon").hide()},100)}}),$("#compare_unmatched").bind("click",function(){if($("#compare_result").is(":visible")){var a={};a.partial=$("#compare_filter").prop("checked"),a.unmatched=$("#compare_unmatched").prop("checked"),a.synonyms=$("#compare_synonyms").prop("checked"),e.length>500&&$("#gdc-loading-icon").show(),setTimeout(function(){var n=p(t,e,a);$("#compare-matched").data("compareResult",n),$("#compare-matched").data("options",a),$("#pagination-matched").pagination({dataSource:n,pageSize:50,callback:function(e,t){var n=u(e,a);$("#compare_result").html(n)}}),e.length>500&&$("#gdc-loading-icon").hide()},100)}}),$("#compare_synonyms").bind("click",function(){if($("#compare_result").is(":visible")){var a={};a.partial=$("#compare_filter").prop("checked"),a.unmatched=$("#compare_unmatched").prop("checked"),a.synonyms=$("#compare_synonyms").prop("checked"),e.length>500&&$("#gdc-loading-icon").show(),setTimeout(function(){var n=p(t,e,a);$("#compare-matched").data("compareResult",n),$("#compare-matched").data("options",a),$("#pagination-matched").pagination({dataSource:n,pageSize:50,callback:function(e,t){var n=u(e,a);$("#compare_result").html(n)}}),e.length>500&&$("#gdc-loading-icon").hide()},100)}}),$("#downloadCompareCVS").bind("click",function(){e.length>500&&$("#gdc-loading-icon").show(),setTimeout(function(){!function(e){var t="User Defined Values, Matched GDC Values, ICDO3 code, NCIt code, ICDO3 Strings/Synonyms,\n";e.forEach(function(a,n){var i=!0,c=a.match;void 0!==a.match&&0!==n&&e[n-1].match===e[n].match&&(c=""),void 0===a.match&&(c="--"),t+='"'+c+'","'+a.n+'",',t+=void 0!==a.i_c?'"'+a.i_c.c+'",':'"",',a.ic_enum&&a.ic_enum.forEach(function(e,a){t+=0===a?'"","'+e.n+'",':'"'+e.n+'",'}),a.n_syn&&0!==a.n_syn.length&&a.n_syn.forEach(function(e,a){0!==e.s.length&&(t+=0===a?'\n"","","","'+e.n_c+'",':'"","","","'+e.n_c+'",',e.s.forEach(function(e){t+='"'+e.termName+'",'}),t+="\n",i=!1)}),a.s&&0!==a.s.length&&(t+='"'+a.n_c+'",',a.s.forEach(function(e){t+='"'+e.termName+'",'}),t+="\n",i=!1),1==i&&(t+="\n")});var a=new Blob([t],{type:"data:text/csv;charset=utf-8,"}),n=URL.createObjectURL(a),i=document.createElement("a");i.href=n,i.target="_blank",i.download="Compare_Values_GDC.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i)}($("#compare-matched").data("compareResult")),e.length>500&&$("#gdc-loading-icon").hide()},100)}),$("#back2Compare").bind("click",function(){$("#compare_result").html(""),$("#compare-matched").val(""),$("#compare_result").css("display","none"),$("#compare_form").css("display","block"),$("#compare-input").show(),$("#compare-matched").hide(),$("#compare_download").hide(),$("#compare").show(),$("#cancelCompare").show(),$("#cp_bottom-matched").hide()}),e.length>500&&$("#gdc-loading-icon").hide()},100)):$("#cp_massage").html("Please type in user defined values.")},t.removePopUps=function(){$("#gdc_data").length&&$("#gdc_data").remove(),$("#caDSR_data").length&&$("#caDSR_data").remove(),$("#gdc_terms_data").length&&$("#gdc_terms_data").remove(),$("#ncit_details").length&&$("#ncit_details").remove(),$("#compare_dialog").length&&$("#compare_dialog").remove(),$("#compareGDC_dialog").length&&$("#compareGDC_dialog").remove()}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,a,l){var d="";if(0!==l.length){var o=JSON.parse(JSON.stringify(l)),_=JSON.parse(JSON.stringify(l)),p=JSON.parse(JSON.stringify(l)),u=(0,i.dtRender)(o,t,a);u.active=!1;var v=(0,c.default)(_,t,a);v.active=!1;var h=(0,s.vsRender)(p,t,a);h.active=!1,0===h.len&&0===v.len&&(u.len=0),0===u.len&&0===v.len&&0===h.len?d='
\n
\n

Sorry, no results found for keyword: '+t+'

\n
\n
\n

Suggestion:

\n
    \n
  • Make sure all words are spelled correctly.
  • \n
  • Try different keywords.
  • \n
  • Try more general keywords.
  • \n
\n
\n
\n
\n
':(0==a.activeTab?h.active=!0:1==a.activeTab?v.active=!0:u.active=!0,d=(0,r.tabsRender)(u,v,h,t))}else 1==a.error?d='
\n
\n

Please, enter a valid keyword!

\n
\n
':(0,n.apiSuggestMisSpelled)(t,function(a){d='
\n
\n

Sorry, no results found for keyword: '+t+'

\n
\n '+(0!==a.length?'

\n Did you mean:
\n '+a.map(function(e,t){return("\n "+(0!==t?",":"")+'\n '+e.id+"\n ").trim()}).join("")+"

":"")+'\n

\n

Suggestion:

\n
    \n
  • Make sure all words are spelled correctly.
  • \n
  • Try different keywords.
  • \n
  • Try more general keywords.
  • \n
\n
\n
\n
\n
',e.html(d),$(".indicator__suggest-term").click(function(e){e.preventDefault(),$("#keywords").val(this.innerText),$("#search").trigger("click")})});e.html(d)};var n=a(1),i=a(4),c=function(e){return e&&e.__esModule?e:{default:e}}(a(11)),s=a(5),r=a(6);a(0)},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dtEvents=t.dtRender=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(a(10));t.dtRender=function(e,t,a){var i="",c="",s=0,r=[],l={},d={},o={len:0},p={};t=t.trim().replace(/[\ ,:_-]+/g," ");var u=new RegExp(t,"ig"),v=[];e.forEach(function(e){var n=e.highlight;if(!_.isEmpty(n)){var p=e._source,h="enum.s.termName"in n||"enum.s.termName.have"in n?n["enum.s.termName"]||n["enum.s.termName.have"]:[],f="enum.n"in n||"enum.n.have"in n?n["enum.n"]||n["enum.n.have"]:[],m="enum.n_c"in n?n["enum.n_c"]:[],b=[];f.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");p.enum.forEach(function(a){a.n===t&&!0===a.gdc_d&&b.push(e)})});var g="name"in n||"name.have"in n?n.name||n["name.have"]:[],y="desc"in n?n.desc:[],x="enum.i_c.c"in n||"enum.i_c.have"in n?n["enum.i_c.c"]||n["enum.i_c.have"]:[],w=[];0===h.length&&0===b.length&&(w="enum"in e._source?e._source.enum:[]);var C="cde.id"in n?n["cde.id"]:[],$="cde_pv.n"in n||"cde_pv.n.have"in n?n["cde_pv.n"]||n["cde_pv.n.have"]:[],S="cde_pv.ss.s"in n||"cde_pv.ss.s.have"in n?n["cde_pv.ss.s"]||n["cde_pv.ss.s.have"]:[],k="cde_pv.ss.c"in n?n["cde_pv.ss.c"]:[],D=[],O=[],T=[],N=[],E=[],G=[],I=[],H=[],L=[],R=[];w.length>0&&w.forEach(function(e){!0===e.gdc_d&&T.push(e.n)}),y.forEach(function(e){-1===v.indexOf(p.name)&&v.push(p.name)}),g.forEach(function(e){v.push(e.replace(//g,"").replace(/<\/b>/g,""))}),h.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");D.push(t)}),b.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");N.push(t)}),m.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");E.push(t)}),x.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");-1===N.indexOf(t)&&O.push(t)}),C.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");G.push(t)}),$.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");I.push(t)}),S.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");H.push(t)}),k.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");L.push(t)}),void 0!==p.cde_pv&&p.cde_pv.length>0&&p.cde_pv.forEach(function(e){var t=!1;p.cde&&-1!==G.indexOf(p.cde.id)&&a.syn&&(t=!0),void 0!==e.ss&&e.ss.length>0&&e.ss.forEach(function(e){e.s.forEach(function(e){-1!==H.indexOf(e)&&(t=!0)}),-1!==L.indexOf(e.c)&&(t=!0)}),(t=t||I.indexOf(e.n)>=0)&&-1===R.indexOf(e.n.toLowerCase())&&R.push(e.n.toLowerCase())}),p.category!=i&&(s++,i=p.category,(l={}).id=i,l.title=i,l.desc="",l.data_tt_id=s+"_"+l.id,l.data_tt_parent_id="--",l.type="category",l.node="branch",l.exist=!0,l.len=0,r.push(l)),p.node!=c&&(s++,c=p.node,(d={}).l_id=p.node,d.id=p.node,d.title=p.n_title,d.desc=p.n_desc,d.data_tt_id=s+"_"+d.id,d.data_tt_parent_id=l.data_tt_id,d.type="folder",d.node="branch",d.exist=!0,d.len=0,r.push(d));var P={},A=0,M=0,j=0;if(s++,P.id=s+"_"+p.name,P.l_id=p.name,P.parent_l_id=d.l_id,P.title="name"in n||"name.have"in n?n.name||n["name.have"]:[p.name],P.desc="desc"in n?n.desc:[p.desc],void 0!==P.title[0]&&-1===t.indexOf(" ")&&(P.title[0]=P.title[0].replace(//g,"").replace(/<\/b>/g,"").replace(u,"$&")),void 0!==P.desc[0]&&-1===t.indexOf(" ")&&"desc"in n&&(P.desc[0]=P.desc[0].replace(//g,"").replace(/<\/b>/g,"").replace(u,"$&")),P.data_tt_id=P.id,P.data_tt_parent_id=d.data_tt_id,P.type="property",P.exist=!0,("name"in n||"name.have"in n||"desc"in n)&&(A=1),void 0!=p.enum)if(0==b.length&&0==x.length&&0==R.length&&0==D.length&&0==E&&0==G.length)P.node="branch",P.title&&-1!==v.indexOf(P.title[0].replace(//g,"").replace(/<\/b>/g,""))&&r.push(P),T.sort(),p.enum.forEach(function(e){if(!1!==e.gdc_d){var t={};t.title=e.n,t.desc="",t.data_tt_id=s+"_"+e.n,t.data_tt_parent_id=P.id,t.type="value",t.node="leaf",t.exist=!1,r.push(t)}});else{P.node="branch",r.push(P);var B=[];("enum.n"in n||"enum.n.have"in n)&&(B=n["enum.n"]||n["enum.n.have"]);var V={};B.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?V[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(u,"$&"):V[a]=e});var J=[],W=[];if(p.enum.forEach(function(e){if(void 0===e.gdc_d||e.gdc_d){s++;var t={};t.id=s+"_"+e.n,t.exist=!1,p.cde&&-1!==G.indexOf(p.cde.id)&&(t.exist=!0),-1!==R.indexOf(e.n.toLowerCase())?(j--,t.exist=!0):(-1!==N.indexOf(e.n)?t.exist=!0:-1!==E.indexOf(e.n_c)&&(t.exist=!0),void 0!==e.i_c&&!0!==t.exist&&e.i_c.have.forEach(function(e){-1!==O.indexOf(e)&&(t.exist=!0)}),void 0!==e.s&&!0!==t.exist&&e.s.forEach(function(e){-1!==D.indexOf(e.termName)&&(t.exist=!0)})),t.title=e.n in V?V[e.n]:e.n,t.desc="",t.data_tt_id=t.id,t.data_tt_parent_id=P.id,t.type="value",t.node="leaf",-1==W.indexOf(t.title)&&(t.exist&&(M++,W.push(t.title)),J.push(t))}}),0==M){if(P.node="",J.forEach(function(e){r.push(e)}),P.title&&-1===v.indexOf(P.title[0].replace(//g,"").replace(/<\/b>/g,""))){if(0===b.length&&0===R.length)return;var z={};z.id=s+"_l",z.l_id=p.cde.id,z.l_type="cde",z.url=p.cde.url,z.desc="",z.data_tt_id=z.id,z.data_tt_parent_id=P.id,z.type="link",z.node="leaf",r.push(z)}}else J.forEach(function(e){r.push(e)});j+=R.length}else if(R.length>0){P.node="branch",r.push(P),s++;var U={};U.id=s+"_l",U.l_id=p.cde.id,U.l_type="cde",U.url=p.cde.url,U.desc="",U.data_tt_id=U.id,U.data_tt_parent_id=P.id,U.type="link",U.node="leaf",r.push(U),j=R.length}else P.node="",r.push(P);P.len=M+j,!1===a.desc&&p.cde&&-1!==G.indexOf(p.cde.id)&&A++,l.len+=P.len+A,d.len+=P.len+A,o.len+=P.len+A}});var h=[];r.forEach(function(e){var t={nodes:[]};"category"==e.type&&(t.title=e.title,t.type="category",t.len=e.len,t.id=e.id,r.forEach(function(a){if("folder"==a.type&&a.data_tt_parent_id===e.data_tt_id){var n={};n.title=a.title,n.desc=a.desc,n.len=a.len,n.type=a.type,n.l_id=a.l_id,n.properties=[],r.forEach(function(e){if("property"===e.type&&e.data_tt_parent_id===a.data_tt_id){var t={};t.title=e.title,t.desc=e.desc,t.len=e.len,t.type=e.type,t.parent_l_id=e.parent_l_id,t.l_id=e.l_id,t.hl_values=[],t.all_values=[],t.link_values=[],r.forEach(function(a){if("value"===a.type&&a.data_tt_parent_id===e.data_tt_id){var n={};n.title=a.title,n.type=a.type,t.all_values.push(n),a.exist&&t.hl_values.push(n)}if("link"===a.type&&a.data_tt_parent_id===e.data_tt_id){var i={};i.url=a.url,i.type=a.type,i.l_id=a.l_id,i.l_type=a.l_type,t.link_values.push(i)}}),n.properties.push(t)}}),t.nodes.push(n)}}),h.push(t))});var f=$("#root").offset().top,m=window.innerHeight-f-313;p.height=m<430?430:m;var b=$.templates(n.default).render({options:p,newtrs:h});return o.html=b,o},t.dtEvents=function(e){e.on("click",".treeview__toggle",function(e){!function(e){e.preventDefault();var t=$(e.currentTarget),a=t.closest(".treeview__parent");a.find(">ul.treeview__ul").toggle(),a.hasClass("treeview__parent--open")?(a.removeClass("treeview__parent--open"),t.attr("aria-label","expand"),t.html('')):(a.addClass("treeview__parent--open"),t.attr("aria-label","collapse"),t.html(''))}(e)}),e.on("click","#trs-checkbox",function(e){!function(e){var t=e.currentTarget,a=$(".treeview__ul--hl"),n=$(".treeview__ul--all");t.checked?(n.addClass("treeview__ul").each(function(e,t){var a=$(t),n=a.prev(".treeview__ul--hl");n.is(":visible")&&(a.show(),n.hide())}),a.removeClass("treeview__ul")):(a.addClass("treeview__ul").each(function(e,t){var a=$(t),n=a.next(".treeview__ul--all");n.is(":visible")&&(a.show(),n.hide())}),n.removeClass("treeview__ul"))}(e)}),e.on("click","#trs_toggle",function(e){!function(e){var t=$(e.currentTarget),a=$(".treeview .treeview__ul"),n=$(".treeview .treeview__parent"),i=$(".treeview .treeview__toggle");t.hasClass("active")?(a.hide(),n.removeClass("treeview__parent--open"),i.attr("aria-label","expand"),i.html(''),t.html(' Expand All')):(a.show(),n.addClass("treeview__parent--open"),i.attr("aria-label","collapse"),i.html(''),t.html(' Collapse All'))}(e)})}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vsEvents=t.vsRender=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(a(13)),i=a(0);t.vsRender=function(e,t,a){var c=[],s=0,r={};t=t.trim().replace(/[\ ,:_-]+/g," ");var l=new RegExp(t,"ig"),d=!1;e.forEach(function(e){var n=e.highlight;if(void 0!=n["enum.n"]||void 0!=n["enum.n.have"]||void 0!=n["enum.s.termName"]||void 0!=n["enum.s.termName.have"]||void 0!=n["cde_pv.n"]||void 0!=n["cde_pv.n.have"]||void 0!=n["cde_pv.ss.s"]||void 0!=n["cde_pv.ss.s.have"]||void 0!=n["enum.i_c.c"]||void 0!=n["enum.i_c.have"]||void 0!=n["enum.n_c"]||void 0!=n["cde_pv.ss.c"]||void 0!=n["cde.id"]){var r=e._source,o={},p={},u={},v={},h={},f={},m={},b=[],g=[],y={};y.category=r.category,y.node=r.node,y.name=r.name,y.local=void 0!=r.enum,y.syn=!1,void 0!==r.enum&&r.enum.forEach(function(e){y.syn||void 0!==e.n_c&&(y.syn=!0)}),y.ref=r.name+"@"+r.node+"@"+r.category,y.cdeId=void 0!==r.cde?r.cde.id:"",y.cdeUrl=void 0!==r.cde?r.cde.url:"",y.cdeLen=void 0!=r.cde_pv&&0!=r.cde_pv.length,y.vs=[],y.tgts_enum_n="",y.tgts_cde_n="";var x="enum.n"in n||"enum.n.have"in n?n["enum.n"]||n["enum.n.have"]:[],w="enum.s.termName"in n||"enum.s.termName.have"in n?n["enum.s.termName"]||n["enum.s.termName.have"]:[],C="enum.n_c"in n?n["enum.n_c"]:[],$="cde.id"in n?n["cde.id"]:[],S="cde_pv.n"in n||"cde_pv.n.have"in n?n["cde_pv.n"]||n["cde_pv.n.have"]:[],k="cde_pv.ss.s"in n||"cde_pv.ss.s.have"in n?n["cde_pv.ss.s"]||n["cde_pv.ss.s.have"]:[],D="cde_pv.ss.c"in n?n["cde_pv.ss.c"]:[],O="enum.i_c.c"in n?n["enum.i_c.c"]:[],T="enum.i_c.have"in n?n["enum.i_c.have"]:[];x.forEach(function(e,a){var n=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?o[n]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):o[n]=e}),w.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?p[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):p[a]=e}),C.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?u[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):u[a]=e}),$.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?f[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):f[a]=e}),S.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?v[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):v[a]=e}),k.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?h[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):h[a]=e}),D.forEach(function(e){var a=e.replace(//g,"").replace(/<\/b>/g,"");-1===t.indexOf(" ")?m[a]=e.replace(//g,"").replace(/<\/b>/g,"").replace(l,"$&"):m[a]=e}),O.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");-1==b.indexOf(t)&&b.push(t)}),T.forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");-1==g.indexOf(t)&&g.push(t)});var N={};if(void 0!==r.cde_pv&&r.cde_pv.length>0&&r.cde_pv.forEach(function(e){var t=!1;r.cde&&r.cde.id in f&&a.syn&&(t=!0);var n=[];void 0!==e.ss&&e.ss.length>0&&e.ss.forEach(function(e){var c=[],s=[],r={};for(var l in e.s.forEach(function(e){var t=e.trim().toLowerCase();t in r||(r[t]=[]),r[t].push(e)}),r){var d=(0,i.findWord)(r[l]);c.push(d)}c.forEach(function(e){e in h?(t=!0,s.push(h[e])):s.push(e)}),e.c in m&&a.syn&&(e.c=m[e.c],t=!0),n.push({c:e.c,s:s})}),(t=t||e.n in v)&&(N[e.n.toLowerCase()]={pv:e.n in v?v[e.n]:e.n,pvm:e.m,ss:n},e.n=e.n.replace(/\'/g,"^"),y.tgts_cde_n+=e.n+"#")}),r.enum){for(var E in r.enum.forEach(function(e){var t=!1;r.cde&&r.cde.id in f&&(t=!0);var a=[];e.s&&e.s.forEach(function(e){e.termName in p?(t=!0,a.push({termName:p[e.termName],termGroup:e.termGroup,termSource:e.termSource})):a.push(e)});var n={};if(t?(e.n in o?n.n=o[e.n]:n.n=e.n,n.ref=y.ref,n.n_c=e.n_c,n.s=a):(e.n in o&&(n.n=o[e.n],n.ref=y.ref,n.n_c=e.n_c,n.s=a),e.n_c in u&&(n.n=e.n,n.ref=y.ref,n.n_c=u[e.n_c],n.s=a)),void 0!==e.i_c)if(b.indexOf(e.i_c.c)>=0)n.gdc_d=e.gdc_d,e.term_type&&(n.term_type=e.term_type),n.i_c=e.i_c.c.replace(l,"$&"),void 0==n.n&&(n.n=e.n,n.ref=y.ref,n.n_c=e.n_c,n.s=a);else{var i=!1;e.i_c.have.forEach(function(e){i||g.indexOf(e)>=0&&(i=!0)}),i?(n.i_c=e.i_c.c.replace(l,"$&"),n.gdc_d=e.gdc_d,e.term_type&&(n.term_type=e.term_type),void 0==n.n&&(n.n=e.n,n.ref=y.ref,n.n_c=e.n_c,n.s=a)):(n.i_c=e.i_c.c,n.gdc_d=e.gdc_d,e.term_type&&(n.term_type=e.term_type))}var c=e.n.toLowerCase();if(c in N?(void 0==n.n&&(n.n=e.n,n.ref=y.ref,n.n_c=e.n_c,n.s=a),n.cde_s=N[c].ss,n.cde_s.length&&(n.cde_pv=N[c].pv,n.cde_pvm=N[c].pvm),delete N[c]):n.cde_s=[],void 0!==n.n){var s=n.n.replace(//g,"").replace(/<\/b>/g,"");y.tgts_enum_n+=s+"#",y.vs.push(n)}}),N){var G={n:"no match"};G.ref=y.ref,G.n_c="",G.s=[],G.cde_s=N[E].ss,G.cde_s.length&&(G.cde_pv=N[E].pv,G.cde_pvm=N[E].pvm),y.vs.push(G)}y.vs&&function(){var e={},t=[];y.vs.forEach(function(t){if(void 0!==t.i_c){var a=t.i_c.replace(//g,"").replace(/<\/b>/g,""),n=t.n.replace(//g,"").replace(/<\/b>/g,""),i=void 0!==t.term_type&&""!==t.term_type?t.term_type:"*";a in e&&!_.some(e[a],{n:t.n,term_type:i})?(n!==a&&("PT"===i?e[a].n.unshift({n:t.n,term_type:i}):(e[a].n.push({n:t.n,term_type:i}),"*"===i&&(d=!0)),e[a].n_clr.push(n)),-1==e[a].checker_n_c.indexOf(t.n_c.replace(//g,"").replace(/<\/b>/g,""))&&(""!==t.n_c&&e[a].n_syn.push({n_c:t.n_c,s:t.s}),e[a].checker_n_c.push(t.n_c.replace(//g,"").replace(/<\/b>/g,"")))):(e[a]={i_c:t.i_c,n:[],n_clr:[],n_syn:[],checker_n_c:[t.n_c.replace(//g,"").replace(/<\/b>/g,"")]},""!==t.n_c&&e[a].n_syn.push({n_c:t.n_c,s:t.s}),n!==a&&("PT"===i?e[a].n.unshift({n:t.n,term_type:i}):e[a].n.push({n:t.n,term_type:i}),e[a].n_clr.push(n)))}});var a=function(t){r.enum.forEach(function(a){if(a.i_c&&a.i_c.c==t&&-1===e[t].n_clr.indexOf(a.n)){var n=void 0!==a.term_type&&""!==a.term_type?a.term_type:"*";if(a.n.replace(//g,"").replace(/<\/b>/g,"")!==a.i_c.c.replace(//g,"").replace(/<\/b>/g,"")&&("PT"===n?e[t].n.unshift({n:a.n,term_type:n}):(e[t].n.push({n:a.n,term_type:n}),"*"===n&&(d=!0))),-1==e[t].checker_n_c.indexOf(a.n_c.replace(//g,"").replace(/<\/b>/g,""))){var i=[];a.s&&a.s.forEach(function(e){e.termName in p?(exist=!0,i.push({termName:p[e.termName],termGroup:e.termGroup,termSource:e.termSource})):i.push(e)}),e[t].checker_n_c.push(a.n_c.replace(//g,"").replace(/<\/b>/g,"")),""!==a.n_c&&e[t].n_syn.push({n_c:a.n_c,s:i})}}})};for(var n in e)a(n);var i=[];y.vs.forEach(function(a){if(void 0===a.gdc_d||a.gdc_d){var n=a.n.replace(//g,"").replace(/<\/b>/g,"");if(n in e&&(a.term_i_c=e[n]),void 0!==a.i_c){var c=a.i_c.replace(//g,"").replace(/<\/b>/g,"");if(-1!==i.indexOf(c))return;i.push(n),c in e&&(a.term_i_c=e[c])}a.temp_i_c&&a.temp_i_c.checker_n_c&&delete a.term_i_c.checker_n_c,a.term_i_c&&a.term_i_c.n_clr&&delete a.term_i_c.n_clr,t.push(a)}}),y.vs=t}(),s+=y.vs.length}else if(!_.isEmpty(N)){for(var I in N){var H={n:"no match"};H.ref=y.ref,H.n_c="",H.s=[],H.cde_s=N[I].ss,H.cde_s.length&&(H.cde_pv=N[I].pv,H.cde_pvm=N[I].pvm),y.vs.push(H)}s+=y.vs.length}0!==y.vs.length&&c.push(y)}});var o="",p=$("#keywords").val();if(!0===d?$("#unofficial-term").html("(*) Term type not assigned."):$("#unofficial-term").html(""),0==c.length||1===c.length&&0===c[0].vs.length)o='
Sorry, no results found for keyword: '+p+"
";else{var u=$("#root").offset().top,v=window.innerHeight-u-310;r.height=v<430?430:v,r.keyword=p,o=$.templates({markup:n.default,allowCode:!0}).render({options:r,values:c})}var h={};return h.len=s,h.html=o,h},t.vsEvents=function(e){e.on("click",".table__toggle",function(e){!function(e){e.preventDefault();var t=$(e.currentTarget),a=t.closest(".table__gdc-values, .table__cde-values").find(".data-content");a.slideToggle(400,function(){a.is(":visible")?(t.attr("title","collapse"),t.attr("aria-label","collapse"),t.attr("aria-expanded","true"),t.html('')):(t.attr("title","expand"),t.attr("aria-label","expand"),t.attr("aria-expanded","false"),t.html(''))})}(e)}),e.on("click",".gdc-details",function(e){!function(e){e.preventDefault();var t=$(e.currentTarget),a=t.parent().find(".gdc-links");a.slideToggle(350,function(){a.is(":visible")?t.attr("aria-expanded","true"):t.attr("aria-expanded","false")})}(e)}),e.on("click",".cde-suggest",function(e){!function(e){e.preventDefault();var t=$("#alert-suggest");t.css({top:(0,i.getHeaderOffset)()+20+"px"}).addClass("alert__show"),setTimeout(function(){t.removeClass("alert__show")},3900)}(e)}),e.on("click",".show-more-less",function(e){!function(e){e.preventDefault();var t=$(e.currentTarget),a=t.closest(".table__values").find(".table__row--toggle");t.hasClass("more")?(t.removeClass("more"),t.attr("aria-expanded","false"),a.slideToggle(350),t.html(' Show More ('+t.attr("data-hidden")+")")):(t.addClass("more"),t.attr("aria-expanded","true"),a.slideToggle(350),t.html(' Show Less'))}(e)})}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tabsEvents=t.tabsRender=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(a(14));var i=function(e){var t=JSON.parse(localStorage.getItem("option"));t.activeTab=e,localStorage.setItem("option",JSON.stringify(t))};t.tabsRender=function(e,t,a,i){return $.templates(n.default).render({trs_active:e.active,trs_len:e.len,trsHtml:e.html,ps_active:t.active,ps_len:t.len,psHtml:t.html,vs_active:a.active,vs_len:a.len,vsHtml:a.html,keyword:i})},t.tabsEvents=function(e){e.on("click","#tab-values",function(){i(0)}),e.on("click","#tab-properties",function(){i(1)}),e.on("click","#tab-dictionary",function(){i(2)}),e.tooltip({selector:'[data-toggle="tooltip"]',delay:{show:100,hide:50},placement:"bottom",trigger:"hover"})}},function(e,t,a){a(8),e.exports=a(30)},function(e,t,a){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}(a(9)),i=(function(e){e&&e.__esModule}(a(3)),a(0)),c=a(4),s=a(5),r=a(6),l=a(2);window.onload=function(){!function(){var e=$(window),t=$(document),a=$(document.body),d=$("#root"),o=$("#search"),_=$("#keywords"),p=$("#searchclear"),u=$("#suggestBox"),v=$("#docs-container"),h=$(".parent-container"),f=$(".main-container"),m=$("#gdc-loading-icon"),b=$("#version-content"),g=$("#search-bar-options"),y=$(".search-bar__boolean");n.removeExternalLinkIcons(),n.renderLocalStorach(_,d,g,m),n.gdcDictionaryVersion(b),g.on("show.bs.dropdown",function(e){u.hide()}),o.click(function(){n.clickSearch(_,d,u,m)}),_.keypress(function(e){n.enterSearch(e,_,o)}),_.keydown(function(e){n.selectSuggestion(e,u)}),_.bind("input",function(e){n.suggest(e,_,p,u,g)}),t.click(function(e){n.removeBox(e,u)}),p.click(function(e){n.clearSearch(e,_,g)}),y.click(function(e){n.booleanOptions(e,_)}),(0,i.setHeight)(v,h,f),e.scroll(function(){(0,i.onScroll)(e)}),e.resize(function(){(0,i.onResize)(v,h,f),(0,i.dialogsOnResize)(e)}),(0,c.dtEvents)(d),(0,r.tabsEvents)(d),(0,s.vsEvents)(d),(0,l.dialogEvents)(d,a)}()}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gdcDictionaryVersion=t.renderLocalStorach=t.removeExternalLinkIcons=t.booleanOptions=t.clearSearch=t.removeBox=t.suggest=t.selectSuggestion=t.enterSearch=t.clickSearch=void 0;var n=a(1),i=r(a(3)),c=r(a(15)),s=(a(0),a(2));function r(e){return e&&e.__esModule?e:{default:e}}var l=-1,d=function(e,t){var a=e;return-1!==t.indexOf(" OR")&&(a=t.substring(0,t.lastIndexOf("OR"))+"OR "+e),-1!==t.indexOf(" AND")&&(a=t.substring(0,t.lastIndexOf("AND"))+"AND "+e),-1!==t.indexOf(" NOT")&&(a=t.substring(0,t.lastIndexOf("NOT"))+"NOT "+e),a},o=function(e){var t=p(e),a=function(e,t){e.indexOf(t);return e.substring(0,t)}(e.value,t);if(null!=a)return a},p=function(e){var t=0;if(document.selection){e.focus();var a=document.selection.createRange();a.moveStart("character",-e.value.length),t=a.text.length}else(e.selectionStart||"0"==e.selectionStart)&&(t=e.selectionStart);return t},u=(t.clickSearch=function(e,t,a,c){var r=e.val().trim(),d=(r.toLowerCase(),function(e){var t={};return t.desc=$("#i_desc").prop("checked"),t.syn=$("#i_syn").prop("checked"),t.match=$("#i_ematch").prop("checked")?"exact":"partial",t.activeTab=t.desc?1:e,t}(function(){var e=0,t=0;return $(".tab-nav__li").each(function(a,n){$(n).hasClass("active")&&(e=t),t++}),e}())),o=function(e){var t=/^(NOT|AND|OR)|(NOT|AND|OR)$/g.test(e),a=e.match(/(NOT|AND|OR)/g),n=e.replace(/\s\s+/g," ").split(" ");return n.forEach(function(e,a){n[a-1]===e&&(t=!0)}),null!==a&&a.forEach(function(e,n){0!==n&&a[0]!==e&&(t=!0)}),t}(r);if(""==r||o)return d.error=!0,e.addClass("search-bar__input--has-error"),void(0,i.default)(t,r,d,[]);a.hide(),l=-1,c.fadeIn(100),(0,n.apiSearchAll)(r,d,function(e,a,n){-1===r.indexOf(" AND ")&&-1===r.indexOf(" OR ")&&-1===r.indexOf(" NOT ")||(n=u(r,n)),localStorage.clear(),localStorage.setItem("keyword",r),localStorage.setItem("option",JSON.stringify(a)),(0,i.default)(t,r,a,n),c.fadeOut("fast"),(0,s.removePopUps)()})},function(e,t){if(-1!==e.indexOf(" AND ")){var a=e.split(" AND ");return t.forEach(function(e){if(void 0!==e.highlight){var t={},n=function(n){e.highlight[n].forEach(function(e){a.every(function(t){return-1!=e.toString().trim().toLowerCase().replace(//g,"").replace(/<\/b>/g,"").indexOf(t.toString().trim().toLowerCase())})&&(void 0===t[n]?(t[n]=[],t[n].push(e)):t[n].push(e))})};for(var i in e.highlight)n(i);_.isEmpty(t)?e.highlight={}:e.highlight=t}}),t}if(-1!==e.indexOf(" OR ")){var n=e.split(" OR ");return t.forEach(function(e){if(void 0!==e.highlight){var t={},a=function(a){e.highlight[a].forEach(function(e){n.forEach(function(n){-1!==e.toString().trim().toLowerCase().replace(//g,"").replace(/<\/b>/g,"").indexOf(n.toString().trim().toLowerCase())&&(void 0===t[a]?(t[a]=[],-1==t[a].indexOf(e)&&(/[8]{1}[0-9]{3}[\/]{1}[0-9]{1}/.test(e.replace(//g,"").replace(/<\/b>/g,""))?t[a].push(e.replace(//g,"").replace(/<\/b>/g,"").replace(n,"$&")):t[a].push(e))):-1==t[a].indexOf(e)&&(/[8]{1}[0-9]{3}[\/]{1}[0-9]{1}/.test(e.replace(//g,"").replace(/<\/b>/g,""))?t[a].push(e.replace(//g,"").replace(/<\/b>/g,"").replace(n,"$&")):t[a].push(e)))})})};for(var i in e.highlight)a(i);_.isEmpty(t)?e.highlight={}:e.highlight=t}}),t}if(-1!==e.indexOf(" NOT ")){var i=e.split(" NOT ");return t.forEach(function(e){if(void 0!==e.highlight){var t={},a=function(a){e.highlight[a].forEach(function(e){i.forEach(function(n,i){0===i&&-1!==e.toString().trim().toLowerCase().replace(//g,"").replace(/<\/b>/g,"").indexOf(n.toString().trim().toLowerCase())&&(void 0===t[a]?(t[a]=[],-1==t[a].indexOf(e)&&(/[8]{1}[0-9]{3}[\/]{1}[0-9]{1}/.test(e.replace(//g,"").replace(/<\/b>/g,""))?t[a].push(e.replace(//g,"").replace(/<\/b>/g,"").replace(n,"$&")):t[a].push(e))):-1==t[a].indexOf(e)&&(/[8]{1}[0-9]{3}[\/]{1}[0-9]{1}/.test(e.replace(//g,"").replace(/<\/b>/g,""))?t[a].push(e.replace(//g,"").replace(/<\/b>/g,"").replace(n,"$&")):t[a].push(e)))})})};for(var n in e.highlight)a(n);_.isEmpty(t)?e.highlight={}:e.highlight=t}}),i.splice(0,1),t.forEach(function(e){if(void 0!==e.highlight){var t={},a=function(a){e.highlight[a].forEach(function(e){i.forEach(function(n,c){i.every(function(t){return-1==e.toString().trim().toLowerCase().replace(//g,"").replace(/<\/b>/g,"").indexOf(t.toString().trim().toLowerCase())})&&(void 0===t[a]?(t[a]=[],-1==t[a].indexOf(e)&&(/[8]{1}[0-9]{3}[\/]{1}[0-9]{1}/.test(e.replace(//g,"").replace(/<\/b>/g,""))?t[a].push(e.replace(//g,"").replace(/<\/b>/g,"").replace(n,"$&")):t[a].push(e))):-1==t[a].indexOf(e)&&(/[8]{1}[0-9]{3}[\/]{1}[0-9]{1}/.test(e.replace(//g,"").replace(/<\/b>/g,""))?t[a].push(e.replace(//g,"").replace(/<\/b>/g,"").replace(n,"$&")):t[a].push(e)))})})};for(var n in e.highlight)a(n);_.isEmpty(t)?e.highlight={}:e.highlight=t}}),t}});t.enterSearch=function(e,t,a){var n=$("#suggestBox .selected");n.children(".suggest__name").text();13==e.keyCode&&e.preventDefault(),13==e.keyCode&&0!==n.length?(t.val(o(e.currentTarget)),a.trigger("click")):13==e.keyCode&&a.trigger("click")},t.selectSuggestion=function(e,t){var a=$(e.currentTarget);if((40==e.keyCode||38==e.keyCode)&&""!==a.val().trim()&&"none"!=t.css("display")){e.preventDefault(),l+=40==e.keyCode?1:-1;var n=t.find("div");l>=n.length&&(l=0),l<0&&(l=n.length-1),n.removeClass("selected").eq(l).addClass("selected");var i=n.eq(l).children(".suggest__name").text(),c=o(e.currentTarget);$("#keywords").val(d(i,c))}},t.suggest=function(e,t,a,i,s){var r=$(e.currentTarget);if(t.hasClass("search-bar__input--has-error")&&t.removeClass("search-bar__input--has-error"),s.show(),""===r.val().trim())return i.hide().html(""),l=-1,void s.hide();var _=o(e.currentTarget);-1!==_.indexOf(" OR")&&-1===_.indexOf(" AND")&&-1===_.indexOf(" NOT")&&(_=_.substring(_.lastIndexOf(" OR")+4)),-1!==_.indexOf(" AND")&&-1===_.indexOf(" OR")&&-1===_.indexOf(" NOT")&&(_=_.substring(_.lastIndexOf(" AND")+5)),-1!==_.indexOf(" NOT")&&-1===_.indexOf(" AND")&&-1===_.indexOf(" OR")&&(_=_.substring(_.lastIndexOf(" NOT")+5));var p=o(e.currentTarget);/.+(NOT|AND|OR)/g.test(p)?$("#suggestWidth").text(p.match(/.+(NOT|AND|OR)/g)[0]):$("#suggestWidth").text(""),(0,n.apiSuggest)(_,function(e){if(0===e.length)return i.hide().html(""),void(l=-1);var a=$("#suggestWidth").width();0!=a?i.css({left:a+"px",width:"auto"}):i.css({left:"",width:""});var n=$.templates(c.default).render({results:e});l=-1,i.show().html(n),i.click(function(e){var a=$(e.target),n=a.hasClass("suggest__object")?a.children(".suggest__name").text():a.parent().children(".suggest__name").text(),i=o(document.getElementById("keywords"));t.val(d(n,i)).focus()})})},t.removeBox=function(e,t){$(e.currentTarget)!=t&&(t.hide(),l=-1)},t.clearSearch=function(e,t,a){e.preventDefault(),a.hide(),t.val("").focus()},t.booleanOptions=function(e,t){e.preventDefault();var a=$(e.currentTarget).data("boolean");t.val(function(e,t){return t+" "+a+" "}).focus()},t.removeExternalLinkIcons=function(){$('#body a[href^="http"]').each(function(e,t){var a=$(t);a.removeClass("external-link"),a.html($.trim(a[0].innerText))})},t.renderLocalStorach=function(e,t,a,c){localStorage.hasOwnProperty("keyword")&&localStorage.hasOwnProperty("option")&&(c.show(),setTimeout(function(){var s=localStorage.getItem("keyword"),r=JSON.parse(localStorage.getItem("option"));null==s&&null==r&&null==items||(e.val(s),"partial"!=r.match&&$("#i_ematch").prop("checked",!0),0!=r.desc&&$("#i_desc").prop("checked",!0),0!=r.syn&&$("#i_syn").prop("checked",!0),a.show(),(0,n.apiSearchAll)(s,r,function(e,a,n){(0,i.default)(t,e,a,n),c.fadeOut("fast")}))},100))},t.gdcDictionaryVersion=function(e){(0,n.apiGDCDictionaryVersion)(function(t){e.html("GDC Dictionary Version - "+t)})}},function(e,t){e.exports='
Name
Description
'},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(a(12));t.default=function(e,t,a){var i=[],c={};t=t.trim().replace(/[\ ,:_-]+/g," ");var s=new RegExp(t,"ig");e.forEach(function(e){var a=e.highlight,n=e._source;if("name"in a||"name.have"in a||"desc"in a||"cde.id"in a){var c={};c.nm="name"in a||"name.have"in a?a.name||a["name.have"]:[n.name];var r={};("cde.id"in a?a["cde.id"]:[]).forEach(function(e){var t=e.replace(//g,"").replace(/<\/b>/g,"");r[t]=e}),c.nm_link=c.nm[0].replace(//g,"").replace(/<\/b>/g,""),-1===t.indexOf(" ")&&(c.nm[0]=c.nm[0].replace(//g,"").replace(/<\/b>/g,"").replace(s,"$&")),c.nd=n.node,c.ct=n.category,c.desc="desc"in a?a.desc:[n.desc],void 0!==c.desc[0]&&-1===t.indexOf(" ")&&"desc"in a&&(c.desc[0]=c.desc[0].replace(//g,"").replace(/<\/b>/g,"").replace(s,"$&")),c.local=void 0!=n.enum,c.syn=!1,void 0!==n.enum&&n.enum.forEach(function(e){c.syn||void 0!==e.n_c&&(c.syn=!0)}),c.ref=n.name+"@"+n.node+"@"+n.category,c.cdeId=void 0!==n.cde?n.cde.id:"",c.cdeId in r&&(c.cdeId=c.cdeId.replace(s,"$&")),c.cdeUrl=void 0!==n.cde?n.cde.url:"",c.cdeLen=void 0!=n.cde_pv&&0!=n.cde_pv.length,c.type=Array.isArray(n.type)?n.type[0]:n.type,c.type&&(c.type=c.type.toLowerCase()),i.push(c)}});var r="";if(0==i.length){r='
Sorry, no results found for keyword: '+$("#keywords").val()+"
"}else{var l=$("#root").offset().top,d=window.innerHeight-l-310;c.height=d<430?430:d,r=$.templates(n.default).render({options:c,props:i})}var o={};return o.len=i.length,o.html=r,o}},function(e,t){e.exports='
Category / Node
Property
Description
GDC Property Values
caDSR CDE Reference
{{for props}}
{{:desc}}
{{if local}} {{if syn}} See All Values {{else}} {{/if}}
Compare with User List {{else type != ""}} type: {{:type}} {{/if}}
{{if cdeId == ""}} {{else}} CDE ID - {{:cdeId}} {{if local && cdeLen}} {{else cdeLen}} {{else}} {{/if}} {{/if}}
{{/for}}
'},function(e,t){e.exports='
Category / Node / Property
Matched GDC Values
{{for values}}
{{:category}}
  • {{:node}}
    • {{:name}}
{{for vs}} {{if #getIndex() == 5}}
{{/if}}
{{if n == "no match" || gdc_d == false}}
no match
{{else}}
{{if s.length || term_i_c !== undefined}} {{/if}}
{{/if}}
{{/for}} {{if vs.length > 5}}
{{/if}}
{{/for}}
'},function(e,t){e.exports='
Results for {{:keyword}} in:
{{:vsHtml}}
{{:psHtml}}
{{:trsHtml}}
'},function(e,t){e.exports='{{for results}}
{{:id}} {{for type}}{{if #index !==0}}, {{/if}}{{:}}{{/for}}
{{/for}} '},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(a(17)),i=a(1),c=a(0);t.default=function(e,t){e=e.replace(//g,"").replace(/<\/b>/g,""),(0,i.apiGetCDEDataById)(e,function(e,a){var i=[];a.forEach(function(e){var t={};t.pv=e.n,t.pvm=e.m,t.pvd=e.d,t.i_rows=[],t.rows=[],e.ss.forEach(function(e){var a={},n={};a.pvc=e.c,n.pvc=e.c,n.s=e.s,a.s=[];var i={};for(var s in e.s.forEach(function(e){var t=e.trim().toLowerCase();t in i||(i[t]=[]),i[t].push(e)}),i){var r=(0,c.findWord)(i[s]);a.s.push(r)}t.i_rows.push(a),t.rows.push(n)}),i.push(t)});var s=null,r=$(window),l=(0,c.htmlChildContent)("HeaderTemplate",n.default),d=(0,c.htmlChildContent)("BodyTemplate",n.default);null!==t&&void 0!==t&&""!==t&&(t=t.replace(/\^/g,"'"),s=t.split("#"),i.forEach(function(e){s.indexOf(e.pv)>-1&&(e.e=!0)})),$("#caDSR_data").length&&$("#caDSR_data").remove();var o=$.templates(l).render({targets:s,items_length:a.length}),_=$.templates({markup:d,allowCode:!0}).render({targets:s,items:i}),p=.2*window.innerHeight<(0,c.getHeaderOffset)()?(0,c.getHeaderOffset)()+20:.2*window.innerHeight;$(document.body).append(_),$("#caDSR_data").dialog({modal:!1,position:{my:"center top+"+p,at:"center top",of:$("#docs-container")},width:900,height:"auto",minWidth:700,maxWidth:1e3,minHeight:300,maxHeight:600,title:"caDSR Values",open:function(){$(this).prev(".ui-dialog-titlebar").css("padding-top","7.5em").html(o);var e=$(this).parent();e.offset().top-r.scrollTop()<(0,c.getHeaderOffset)()&&e.css("top",r.scrollTop()+(0,c.getHeaderOffset)()+20+"px"),$("#close_caDSR_data").bind("click",function(){$("#caDSR_data").dialog("close")}),$("#cde-data-invariant").bind("click",function(){$("#cde-syn-data-list").find('div[name="syn_area"]').each(function(){var e=$(this).html(),t=$(this).parent().children('div[name="syn_invariant"]');$(this).html(t[0].innerHTML),t[0].innerHTML=e})})},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"}),void 0!==$("#show_all_cde_syn")&&$("#show_all_cde_syn").bind("click",function(){$(this).prop("checked")?$('#cde-syn-data-list div.table__row[style="display: none;"]').each(function(){$(this).css("display","block")}):$('#cde-syn-data-list div.table__row[style="display: block;"]').each(function(){$(this).css("display","none")})})})}},function(e,t){e.exports='
caDSR Values {{:items_length}}
{{if targets !== null}} {{/if}}
PV
PV Meaning
Description
NCIt Code and Synonyms
{{for items}} {{if e == true || ~root.targets == null}}
{{:pv}}
{{:pvm}}
{{:pvd}}
{{for i_rows}}
{{* if(data.pvc.indexOf(\'E\') === -1 && data.pvc.indexOf(\'C\') !== -1) { }} {{:pvc}} (NCIt) {{* } else { }} {{:pvc}} (CTCAE){{* } }}
{{for s}}{{>#data}}
{{/for}}
{{/for}}
{{else}} {{/if}} {{/for}}
'},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(a(19)),i=a(1),c=a(0);t.default=function(e,t,a){(0,i.apiGetGDCDataById)(e,function(e,i){$("#gdc_data").length&&$("#gdc_data").remove();var s=$(window),r=!1,l=[],d={},o={},_=(0,c.htmlChildContent)("HeaderTemplate",n.default),p=(0,c.htmlChildContent)("BodyTemplate",n.default);a=null===a||void 0===a?"@#$%^":a.trim().replace(/[\ ,:_-]+/g," ");var u=new RegExp(a.replace(/( NOT | AND | OR )/g,"|"),"ig");i.forEach(function(e){var t=void 0!==e.term_type&&""!==e.term_type?e.term_type:"";void 0!==e.i_c&&(e.i_c.c in o?e.n!==e.i_c.c&&("PT"===t?o[e.i_c.c].n.unshift({n:e.n.replace(u,"$&"),term_type:t}):o[e.i_c.c].n.push({n:e.n.replace(u,"$&"),term_type:t})):(o[e.i_c.c]={c:e.i_c.c,have:e.i_c.have,n:[]},e.n!==e.i_c.c&&("PT"===t?o[e.i_c.c].n.unshift({n:e.n.replace(u,"$&"),term_type:t}):o[e.i_c.c].n.push({n:e.n.replace(u,"$&"),term_type:t}))))}),i.forEach(function(e){if(void 0!==e.i_c&&(r=!0),!0===e.gdc_d)if(void 0===o[e.n]||d[e.n]){if(!d[e.n]){var a={};void 0!==e.i_c&&(a.i_c=o[e.i_c.c],a.i_c.c=a.i_c.c.replace(u,"$&")),a.n=null!==t&&void 0!==t&&e.n===t.replace(//g,"").replace(/<\/b>/g,"")?t.replace(//g,"").replace(/<\/b>/g,"").replace(u,"$&"):e.n,a.n_c=e.n_c,a.s=e.s,l.push(a),d[e.n]=a}}else{var n={};n.n=null!==t&&void 0!==t&&e.n===t.replace(//g,"").replace(/<\/b>/g,"")?t.replace(//g,"").replace(/<\/b>/g,"").replace(u,"$&"):e.n,n.i_c=o[e.n],n.i_c.c=n.i_c.c.replace(u,"$&"),n.n_c=e.n_c,n.s=e.s,l.push(n),d[e.n]=n}}),(i=l).length>500&&$("#gdc-loading-icon").show(),i.sort(function(e,t){return e.n.toLowerCase()>t.n.toLowerCase()?1:t.n.toLowerCase()>e.n.toLowerCase()?-1:0});var v=null===t||void 0===t?t:t.replace(//g,"").replace(/<\/b>/g,"").replace(u,"$&"),h=$.templates(_).render({target:v,icdo:r,items_length:i.length}).trim(),f=$.templates(p).render({target:v,keyword:a,icdo:r,items:i}).trim(),m=.2*window.innerHeight<(0,c.getHeaderOffset)()?20:.2*window.innerHeight;setTimeout(function(){$(document.body).append(f);var e={width:450,minWidth:400,maxWidth:700};r&&(e.width=700,e.minWidth=600,e.maxWidth=900),$("#gdc_data").dialog({modal:!1,position:{my:"center top+"+m,at:"center top",of:$("#docs-container")},width:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,height:550,minHeight:350,maxHeight:650,open:function(){r?$(this).prev(".ui-dialog-titlebar").css("padding-top","7.5em").html(h):$(this).prev(".ui-dialog-titlebar").css("padding-top","3.8em").html(h);var e=$(this).parent();e.offset().top-s.scrollTop()<(0,c.getHeaderOffset)()&&e.css("top",s.scrollTop()+(0,c.getHeaderOffset)()+20+"px"),$("#close_gdc_data").bind("click",function(){$("#gdc_data").dialog("close")}),i.length>500&&$("#gdc-loading-icon").hide()},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"}),void 0!==$("#show_all_gdc_data")&&$("#show_all_gdc_data").bind("click",function(){if($(this).prop("checked")){$("#gdc-data-list .gdc-data__item--hide").each(function(){$(this).removeClass("gdc-data__item--hide").addClass("gdc-data__item--show")});var e=$("#gdc_data_match").offset().top-$("#gdc_data").offset().top;$("#gdc_data").scrollTop(e-120)}else $("#gdc-data-list .gdc-data__item--show").each(function(){$(this).is("#gdc_data_match")||$(this).removeClass("gdc-data__item--show").addClass("gdc-data__item--hide")})})},100)})}},function(e,t){e.exports='
GDC Values {{:items_length}} {{if target !== null && target !== undefiend }}
{{/if}}
{{if icdo !== false}}
GDC Term
ICD-O-3 Code
ICD-O-3 Term
{{/if}}
{{if icdo}}
{{if target !== null && target !== undefined}} {{for items}} {{if n == ~root.target }}
{{:n}}
{{if i_c}}{{:i_c.c}}{{/if}}
{{if i_c}}{{if i_c.n}} {{for i_c.n}} {{/for}}
Term Source Type
{{:n}} ICD-O-3 {{:term_type}}
{{else}}{{:n}}{{/if}}{{/if}}
{{else}}
{{:n}}
{{if i_c}}{{:i_c.c}}{{/if}}
{{if i_c}}{{if i_c.n}} {{for i_c.n}} {{/for}}
Term Source Type
{{:n}} ICD-O-3 {{:term_type}}
{{else}}{{:n}}{{/if}}{{/if}}
{{/if}} {{/for}} {{else}} {{for items}}
{{:n}}
{{if i_c}}{{:i_c.c}}{{/if}}
{{if i_c}}{{if i_c.n}}{{for i_c.n}}{{:}}
{{/for}}{{else}}{{:n}}{{/if}}{{/if}}
{{/for}} {{/if}}
{{else}}
{{if target !== null && target !== undefined}} {{for items}} {{if n == ~root.target }}
{{:n}}
{{else}}
{{:n}}
{{/if}} {{/for}} {{else}} {{for items}}
{{:n}}
{{/for}} {{/if}}
{{/if}}
'},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(a(21)),i=a(2),c=a(1),s=a(0);var r=function(e,t){return e.length>0?"\n "+e.map(function(e){return('\n
\n '+(void 0!==e.n_syn&&0!==e.n_syn.length?'\n
\n
'+e.n+'
\n \n
\n \n ":"\n "+(void 0!==e.s&&0!==e.s.length?'\n
\n
'+e.n+'
\n \n
\n \n ":'\n
\n
'+e.n+"
\n
\n ")+"\n ")+"\n
\n ").trim()}).join(""):'\n
\n
\n Sorry, no results found for keyword: '+t+"\n
\n
\n "};t.default=function(e){e=e.replace(/@/g,"/"),(0,c.apiGetGDCDataById)(e,function(e,t){$("#compare_dialog").length&&$("#compare_dialog").remove();var a=$(window),c=!1,l=[],d={},o=(0,s.htmlChildContent)("HeaderTemplate",n.default),_=(0,s.htmlChildContent)("BodyTemplate",n.default),p=(0,s.htmlChildContent)("BottomTemplate",n.default),u=(0,s.getAllSyn)(t);t.forEach(function(e){if(void 0!==e.i_c&&(c=!0),!1!==e.gdc_d)if(void 0===d[e.n]&&e.i_c){var t={n:e.n,i_c:e.i_c?e.i_c:void 0,n_syn:e.i_c&&u[e.i_c.c]?u[e.i_c.c].n_syn:e.n_c?[{n_c:e.n_c,s:e.s}]:[],ic_enum:e.i_c&&e.ic_enum?e.ic_enum:void 0,all_syn:e.i_c&&u[e.i_c.c]?u[e.i_c.c].all_syn:void 0};l.push(t),d[e.n]=e}else void 0===e.i_c&&l.push(e)}),c&&(t=l),t.length>500&&$("#gdc-loading-icon").show(),t.sort(function(e,t){return e.n.toLowerCase()>t.n.toLowerCase()?1:t.n.toLowerCase()>e.n.toLowerCase()?-1:0});var v=$.templates(o).render(),h=$.templates(_).render({items:t}),f=$.templates(p).render(),m=.2*window.innerHeight<(0,s.getHeaderOffset)()?20:.2*window.innerHeight;setTimeout(function(){$(document.body).append(h),$("#compare_dialog").dialog({modal:!1,position:{my:"center top+"+m,at:"center top",of:$("#docs-container")},width:1200,height:590,minWidth:1200,maxWidth:1200,minHeight:590,maxHeight:810,title:"Compare Your Values with GDC Values",open:function(){var e="";$(this).prev(".ui-dialog-titlebar").css("padding-top","7.5em").html(v),$(this).after(f);var n=$(this).parent();n.offset().top-a.scrollTop()<(0,s.getHeaderOffset)()?n.css("top",a.scrollTop()+(0,s.getHeaderOffset)()+20+"px"):n.css("top",n.offset().top-50+"px"),$("#cp_result").css("display","none"),$("#compare").bind("click",function(){(0,i.compare)(t)}),$("#cancelCompare, #close_to_compare").bind("click",function(){$("#compare_dialog").dialog("close")}),$("#pagination-compare").pagination({dataSource:t,pageSize:50,callback:function(e,t){var a=r(e);$("#cp_right").html(a)}}),$("#compare-input, #compare-matched").bind("mousedown",function(e){$(e.currentTarget).focus(),n.draggable("disable")}),n.bind("mousedown",function(e){$(e.currentTarget).draggable("enable")}),$("#compare-input").on("input",function(){var a=$("#compare-input").val().trim().replace(/[\ ]+/g," ").toLowerCase();if(e!==a){e=a;var n=$("#compare-input").val().trim().replace(/[\ ]+/g," ");if(a.length>=3){var i=(0,s.searchFilter)(t,a);$("#pagination-compare").pagination({dataSource:i,pageSize:50,callback:function(e,t){var a=r(e,n);$("#cp_right").html(a)}})}else $("#pagination-compare").pagination({dataSource:t,pageSize:50,callback:function(e,t){var a=r(e,n);$("#cp_right").html(a)}})}});var c="";$("#compare-matched").on("input",function(){var e=$("#compare-matched").val().trim().replace(/[\ ]+/g," ").toLowerCase();if(c!==e){c=e;var t=$("#compare-matched").val().trim().replace(/[\ ]+/g," ");if(e.length>=3){var a=$("#compare-matched").data("compareResult"),n=$("#compare-matched").data("options"),r=(0,s.searchFilterCR)(a,e);$("#pagination-matched").pagination({dataSource:r,pageSize:50,callback:function(e,a){var c=(0,i.showCompareResult)(e,n,t);$("#compare_result").html(c)}})}else{var l=$("#compare-matched").data("compareResult"),d=$("#compare-matched").data("options");$("#pagination-matched").pagination({dataSource:l,pageSize:50,callback:function(e,a){var n=(0,i.showCompareResult)(e,d,t);$("#compare_result").html(n)}})}}}),t.length>500&&$("#gdc-loading-icon").hide()},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"})},100)})}},function(e,t){e.exports='
Compare Your Values with GDC Values
User Defined Values
Matched GDC Values
'},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(1),i=a(0),c=function(e,t,a){var n=[],i=[];a.sensitive?t.forEach(function(e){n.push(e.trim())}):t.forEach(function(e){n.push(e.trim().toLowerCase())});var c='
GDC Values
Matched caDSR Values
';e.forEach(function(e){var s=$.trim(e);if(""!==s){var r="",l=a.sensitive?n.indexOf(s):n.indexOf(s.toLowerCase());l>=0&&(r=t[l],i.push(l)),c+=""===r?'
'+e+'
'+(r='
--
')+"
":'
'+e+'
'+r+"
"}});for(var s=0;s=0||(c+='
--
'+t[s]+"
");return c+="
"};t.default=function(e,t){var a={};a.local=e,a.cde=t.replace(//g,"").replace(/<\/b>/g,""),(0,n.apiGetGDCandCDEDataById)(a,function(e,t){$("#compareGDC_dialog").length&&$("#compareGDC_dialog").remove();var a=$(window);$(document.body).append('
');var n=.2*window.innerHeight<(0,i.getHeaderOffset)()?(0,i.getHeaderOffset)()+20:.2*window.innerHeight,s=[],r=[],l={sensitive:!1,unmatched:!1};t.to.forEach(function(e){s.push(e.n)}),t.from.forEach(function(e){r.push(e.n)});var d='
'+c(r.sort(),s.sort(),l)+"
";$("#compareGDC_result").html(d),$("#compareGDC_dialog").dialog({modal:!1,position:{my:"center top+"+n,at:"center top",of:$("#docs-container")},width:750,height:550,minWidth:715,maxWidth:900,minHeight:300,maxHeight:800,title:"Compare GDC Values with caDSR Values ",open:function(){var e=$(this).parent();e.find(".ui-dialog-titlebar").css("padding","15px").append('
'),e.find(".ui-dialog-titlebar-close").html(""),e.offset().top-a.scrollTop()<(0,i.getHeaderOffset)()&&e.css("top",a.scrollTop()+(0,i.getHeaderOffset)()+20+"px"),$("#compareGDC_filter").bind("click",function(){var e={};e.sensitive=$("#compareGDC_filter").prop("checked"),e.unmatched=$("#compareGDC_unmatched").prop("checked");var t=c(r.sort(),s.sort(),e);$("#cpGDC_result_table").html(t)}),$("#compareGDC_unmatched").bind("click",function(){var e={};e.sensitive=$("#compareGDC_filter").prop("checked"),e.unmatched=$("#compareGDC_unmatched").prop("checked");var t=c(r.sort(),s.sort(),e);$("#cpGDC_result_table").html(t)})},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"})})}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(a(24)),i=a(1),c=a(0);var s=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},r=function(e,t,a){return(0!==e.length?'\n
\n
\n
\n '+e.map(function(e,a){return('\n
\n '+(t?'\n
'+e.n+'
\n
'+(e.i_c?""+e.i_c.c:"")+'
\n
'+(e.i_c&&e.i_c.n?'\n \n \n \n \n \n \n \n \n '+e.i_c.n.map(function(e){return('\n \n \n \n \n \n ").trim()}).join(""):"")+'\n
TermSourceType

'+e.n+'

ICD-O-3'+e.term_type+"
\n
\n
\n '+(e.i_c?"\n "+e.i_c.n_syn.map(function(e){return('\n
\n
\n '+(void 0!==e.n_c&&""!==e.n_c?''+e.n_c+"":"")+'\n
\n
\n '+(void 0!==e.s?'\n \n \n \n \n \n \n \n \n '+e.s.map(function(e){return('\n \n \n \n \n \n ").trim()}).join("")+"\n
TermSourceType

'+e.termName+'

'+(void 0!==e.termSource&&null!==e.termSource?e.termSource:"")+''+(void 0!==e.termGroup&&null!==e.termGroup?e.termGroup:"")+"
\n ":"")+"\n
\n
\n ").trim()}).join("")+"\n ":'\n
\n
\n '+(void 0!==e.n_c&&""!==e.n_c?''+e.n_c+"":"")+'\n
\n
\n '+(void 0!==e.s?'\n \n \n \n \n \n \n \n \n '+e.s.map(function(e){return('\n \n \n \n \n \n ").trim()}).join("")+"\n
TermSourceType

'+e.termName+'

'+(void 0!==e.termSource&&null!==e.termSource?e.termSource:"")+''+(void 0!==e.termGroup&&null!==e.termGroup?e.termGroup:"")+"
\n ":"")+"\n
\n
\n ")+"\n
\n ":'\n
'+e.n+'
\n
\n '+(e.i_c?"\n "+e.i_c.n_syn.map(function(e){return('\n
\n
\n '+(void 0!==e.n_c&&""!==e.n_c?''+e.n_c+"":"")+'\n
\n
\n '+(void 0!==e.s?'\n \n \n \n \n \n \n \n \n '+e.s.map(function(e){return('\n \n \n \n \n \n ").trim()}).join("")+"\n
TermSourceType

'+e.termName+'

'+(void 0!==e.termSource&&null!==e.termSource?e.termSource:"")+''+(void 0!==e.termGroup&&null!==e.termGroup?e.termGroup:"")+"
\n ":"")+"\n
\n
\n ").trim()}).join("")+"\n ":'\n
\n
\n '+(void 0!==e.n_c&&""!==e.n_c?''+e.n_c+"":"")+'\n
\n
\n '+(void 0!==e.s?'\n \n \n \n \n \n \n \n \n '+e.s.map(function(e){return('\n \n \n \n \n \n ").trim()}).join("")+"\n
TermSourceType

'+e.termName+'

'+(void 0!==e.termSource&&null!==e.termSource?e.termSource:"")+''+(void 0!==e.termGroup&&null!==e.termGroup?e.termGroup:"")+"
\n ":"")+"\n
\n
\n ")+"\n
\n ")+"\n
").trim()}).join("")+"\n
\n
\n
\n ":'\n
\n
\n Sorry, no results found for keyword: '+a+"\n
\n
\n ")+" "};t.default=function(e,t){e=e.replace(//g,"").replace(/<\/b>/g,""),(0,i.apiGetGDCDataById)(e,function(e,a){$("#gdc_terms_data").length&&$("#gdc_terms_data").remove();var i=[],l=!1,d=$(window),o=[],_={},p={};null!==t&&void 0!==t&&(i=t.split("#"));var u=(0,c.htmlChildContent)("HeaderTemplate",n.default),v=(0,c.htmlChildContent)("FooterTemplate",n.default);a.forEach(function(e){var t=void 0!==e.term_type&&""!==e.term_type?e.term_type:"";void 0!==e.i_c&&(e.i_c.c in p?(-1==p[e.i_c.c].checker_n_c.indexOf(e.n_c)&&""!==e.n_c&&void 0!==e.s&&0!==e.s.length&&(p[e.i_c.c].n_syn.push({n_c:e.n_c,s:e.s.length>0?e.s:void 0}),p[e.i_c.c].checker_n_c.push(e.n_c)),e.n!==e.i_c.c&&("PT"===t?p[e.i_c.c].n.unshift({n:e.n,term_type:t}):p[e.i_c.c].n.push({n:e.n,term_type:t}))):(p[e.i_c.c]={c:e.i_c.c,have:e.i_c.have,n:[],n_syn:[{n_c:e.n_c,s:e.s.length>0?e.s:void 0}],checker_n_c:[e.n_c]},e.n!==e.i_c.c&&("PT"===t?p[e.i_c.c].n.unshift({n:e.n,term_type:t}):p[e.i_c.c].n.push({n:e.n,term_type:t}))))}),a.forEach(function(e){if(void 0!==e.i_c&&(l=!0),!0===e.gdc_d){var t={};void 0===p[e.n]||_[e.n]?_[e.n]||(void 0!==e.i_c&&(t.i_c=p[e.i_c.c]),t.n=e.n,t.n_c=e.n_c,t.s=e.s.length>0?e.s:void 0,-1!==i.indexOf(e.n)&&(t.e=!0),_[e.n]=t):(t.n=e.n,t.i_c=p[e.n],t.n_c=e.n_c,t.s=e.s.length>0?e.s:void 0,-1!==i.indexOf(e.n)&&(t.e=!0),_[e.n]=t),void 0!==t.i_c&&t.i_c.checker_n_c&&delete t.i_c.checker_n_c,!1===s(t)&&o.push(t)}}),(a=o).length>500&&$("#gdc-loading-icon").show(),a.sort(function(e,t){return e.n.toLowerCase()>t.n.toLowerCase()?1:t.n.toLowerCase()>e.n.toLowerCase()?-1:0});var h=$.templates(u).render({targets:i,icdo:l,items_length:a.length}),f=.2*window.innerHeight<(0,c.getHeaderOffset)()?(0,c.getHeaderOffset)()+20:.2*window.innerHeight;setTimeout(function(){$(document.body).append('
');var e={width:800,minWidth:700,maxWidth:900};l&&(e.width=1e3,e.minWidth=1050,e.maxWidth=1150),$("#gdc_terms_data").dialog({modal:!1,position:{my:"center top+"+f,at:"center top",of:$("#docs-container")},width:e.width,height:550,minWidth:e.minWidth,maxWidth:e.maxWidth,minHeight:550,maxHeight:600,open:function(){var e="";$(this).prev(".ui-dialog-titlebar").css("padding-top","7.5em").html(h);var t=$(this).parent();t.offset().top-d.scrollTop()<(0,c.getHeaderOffset)()?t.css("top",d.scrollTop()+(0,c.getHeaderOffset)()+20+"px"):t.css("top",t.offset().top-50+"px"),$("#close_gdc_terms_data").bind("click",function(){$("#gdc_terms_data").dialog("close")}),$("#gdc-data-invariant").bind("click",function(){$(this).prop("checked")?($("#gdc-syn-data-list").find('div[name="syn_area"]').each(function(){$(this).hide()}),$("#gdc-syn-data-list").find('div[name="syn_invariant"]').each(function(){$(this).show()})):($("#gdc-syn-data-list").find('div[name="syn_area"]').each(function(){$(this).show()}),$("#gdc-syn-data-list").find('div[name="syn_invariant"]').each(function(){$(this).hide()}))}),$(this).after(v),$("#pagination-container").pagination({dataSource:a,pageSize:50,callback:function(e,t){var a=r(e,l);$("#gdc_terms_data").html(a)}}),$("#gdc-values-input").bind("mousedown",function(e){$(e.currentTarget).focus(),t.draggable("disable")}),t.bind("mousedown",function(e){$(e.currentTarget).draggable("enable")}),$("#gdc-values-input").on("input",function(){var t=$("#gdc-values-input").val().trim().replace(/[\ ]+/g," ").toLowerCase();if(e!==t){e=t;var n=$("#gdc-values-input").val().trim().replace(/[\ ]+/g," ");if(t.length>=3){var i=(0,c.searchFilter)(a,t);$("#pagination-container").pagination({dataSource:i,pageSize:50,callback:function(e,t){var a=r(e,l,n);$("#gdc_terms_data").html(a)}})}else $("#pagination-container").pagination({dataSource:a,pageSize:50,callback:function(e,t){var a=r(e,l,n);$("#gdc_terms_data").html(a)}})}}),a.length>500&&$("#gdc-loading-icon").hide()},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"}),void 0!==$("#show_all_gdc_syn")&&$("#show_all_gdc_syn").bind("click",function(){$(this).prop("checked")?$("#gdc-syn-data-list .gdc-term__item--hide").each(function(){$(this).removeClass("gdc-term__item--hide").addClass("gdc-term__item--show")}):$("#gdc-syn-data-list .gdc-term__item--show").each(function(){$(this).is("#gdc_term_item")||$(this).removeClass("gdc-term__item--show").addClass("gdc-term__item--hide")})})},100)})}},function(e,t){e.exports='
GDC Values {{:items_length}}
{{if targets.length !== 0}} {{/if}}
{{if icdo}}
GDC Value
ICD-O-3 Code
ICD-O-3 Term
NCIt Code
NCIt Terms
{{else}}
GDC Value
NCIt Code
NCIt Terms
{{/if}}
{{for items}} {{if e === true || ~root.targets.length == 0}}
{{if ~root.icdo}}
{{:n}}
{{if i_c}}{{:i_c.c}}{{/if}}
{{if i_c}}{{if i_c.n}}{{for i_c.n}}{{:}}
{{/for}}{{else}}{{:n}}{{/if}}{{/if}}
{{if i_c !== undefined}} {{for i_c.n_syn}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/for}} {{else}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/if}}
{{else}}
{{:n}}
{{if i_c !== undefined}} {{for i_c.n_syn}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/for}} {{else}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/if}}
{{/if}}
{{else}}
{{if ~root.icdo}}
{{:n}}
{{if i_c}}{{:i_c.c}}{{/if}}
{{if i_c}}{{if i_c.n}}{{for i_c.n}}{{:}}
{{/for}}{{else}}{{:n}}{{/if}}{{/if}}
{{if i_c !== undefined}} {{for i_c.n_syn}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/for}} {{else}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/if}}
{{else}}
{{:n}}
{{if i_c !== undefined}} {{for i_c.n_syn}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/for}} {{else}}
{{if n_c !== undefined && n_c !== ""}} {{:n_c}} {{/if}}
{{for s_r}}{{:}}
{{/for}}
{{/if}}
{{/if}}
{{/if}} {{/for}}
'},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=e.replace(//g,"").replace(/<\/b>/g,""),(0,i.apiEVSRest)(e,function(e,t){$("#ncit_details").length&&$("#ncit_details").remove();var a={};a.code=t.code,a.name=t.preferredName,a.definition=t.definitions.length?t.definitions.find(function(e){return"NCI"===e.defSource}).description:void 0,a.synonyms=t.synonyms;var i=$(window),s=(0,c.htmlChildContent)("HeaderTemplate",n.default),r=(0,c.htmlChildContent)("BodyTemplate",n.default),l=.2*window.innerHeight<(0,c.getHeaderOffset)()?(0,c.getHeaderOffset)()+20:.2*window.innerHeight,d=$.templates(s).render(),o=$.templates(r).render({item:a});$(document.body).append(o),$("#ncit_details").dialog({modal:!1,position:{my:"center top+"+l,at:"center top",of:$("#docs-container")},width:600,height:600,minWidth:420,maxWidth:800,minHeight:350,maxHeight:650,open:function(){$(this).prev(".ui-dialog-titlebar").css("padding-top","3.5em").html(d);var e=$(this).parent();e.find(".ui-dialog-titlebar-close").html(""),e.offset().top-i.scrollTop()<(0,c.getHeaderOffset)()&&e.css("top",i.scrollTop()+(0,c.getHeaderOffset)()+20+"px"),$("#close_ncit_details").bind("click",function(){$("#ncit_details").dialog("close")})},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"})})};var n=function(e){return e&&e.__esModule?e:{default:e}}(a(26)),i=a(1),c=a(0)},function(e,t){e.exports='
NCIt Terms & Properties

Preferred Name: {{:item.name}}

{{if item.definition !== undefined}}

Definition: {{:item.definition}}

{{/if}}

NCI Thesaurus Code: {{:item.code}}

{{if item.synonyms.length }}

Synonyms & Abbreviations:

{{for item.synonyms}} {{/for}}
Term Source Type
{{:termName}} {{if termSource !== undefined && termSource !== null}}{{:termSource}}{{/if}} {{if termGroup !== undefined && termGroup !== null}}{{:termGroup}}{{/if}}
{{/if}}

more details

'},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderType=t.renderSource=void 0;var n=s(a(28)),i=s(a(29)),c=(a(1),a(0));function s(e){return e&&e.__esModule?e:{default:e}}t.renderSource=function(){var e=(0,c.htmlChildContent)("HeaderTemplate",n.default),t=(0,c.htmlChildContent)("BodyTemplate",n.default),a=.2*window.innerHeight<(0,c.getHeaderOffset)()?(0,c.getHeaderOffset)()+20:.2*window.innerHeight;$(document.body).append(t),$("#source_details").dialog({modal:!1,position:{my:"center top+"+a,at:"center top",of:$("#docs-container")},width:600,height:600,minWidth:500,maxWidth:800,minHeight:400,maxHeight:650,open:function(){$(this).prev(".ui-dialog-titlebar").css("padding-top","3.5em").html(e),$("#close_source_details").bind("click",function(){$("#source_details").dialog("close")})},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"})},t.renderType=function(){var e=(0,c.htmlChildContent)("HeaderTemplate",i.default),t=(0,c.htmlChildContent)("BodyTemplate",i.default),a=.2*window.innerHeight<(0,c.getHeaderOffset)()?(0,c.getHeaderOffset)()+20:.2*window.innerHeight;$(document.body).append(t),$("#type_details").dialog({modal:!1,position:{my:"center top+"+a,at:"center top",of:$("#docs-container")},width:600,height:"auto",minWidth:500,maxWidth:800,minHeight:400,maxHeight:650,open:function(){$(this).prev(".ui-dialog-titlebar").css("padding-top","3.5em").html(e),$("#close_type_details").bind("click",function(){$("#type_details").dialog("close")})},close:function(){$(this).remove()}}).parent().draggable({containment:"#docs-container"})}},function(e,t){e.exports='
Sources
NCIt includes some data, notably terms, codes, and definitions, tagged as coming from the sources listed below. The extent and nature of this source data varies greatly:
  • Some sources, such as FDA and CDISC, are important partners in developing extensive tagged terminology subsets for regulatory and standards purposes;
  • Several, such as CTCAE, DCP, DTP, and NCI-GLOSS, represent separate NCI terminology that has been cross-linked to NCIt concepts in whole or partially;
  • Several outside sources, such as CRCH and JAX, have contributed terminology in particular fields; and
  • Other sources are included in a variety of more limited ways to provide useful cross-links and information.
Source Description
ACC American College of Cardiology
BioCarta BioCarta online maps of molecular pathways, adapted for NCI use
BRIDG Biomedical Research Integrated Domain Model Group
CareLex CareLex electronic Trial Master File Terminology
CDC U.S. Centers for Disease Control and Prevention
CDISC Clinical Data Interchange Standards Consortium
CDISC-GLOSS CDISC Glossary Terminology
COH City of Hope
CRCH Cancer Research Center of Hawaii Nutrition Terminology
CTCAE Common Terminology Criteria for Adverse Events
CTEP Cancer Therapy Evaluation Program
CTRP Clinical Trials Reporting Program
DCP NCI Division of Cancer Prevention Program
DICOM Digital Imaging Communications in Medicine
DTP NCI Developmental Therapeutics Program
EDQM European Directorate for the Quality of Medicines & Healthcare
FDA U.S. Food and Drug Administration
GAIA Global Alignment of Immunization safety Assessment in pregnancy Terminology
GENC Geopolitical Entities, Names, and Codes Terminology
HGNC HUGO Gene Nomenclature Committee
ICH International Conference on Harmonization
IMDRF International Medical Device Regulators Forum
JAX Jackson Laboratories Mouse Terminology, adapted for NCI use
KEGG KEGG Pathway Database
MedDRA Medical Dictionary for Regulatory Activities
MMHCC Mouse Models of Human Cancer Consortium
NCCN National Comprehensive Cancer Network
NCI National Cancer Institute Thesaurus
NCI-GLOSS NCI Dictionary of Cancer Terms
NCI-HL7 NCI Health Level 7
NCPDP National Council for Prescription Drug Programs
NICHD National Institute of Child Health and Human Development
PID NCI Nature Pathway Interaction Database
PI-RADS Prostate Imaging-Reporting and Data System
RENI Registry Nomenclature Information System
UCUM Unified Code for Units of Measure
Zebrafish Zebrafish Model Organism Database
'},function(e,t){e.exports='
Term Types

NCI Thesaurus Term Types use 2- or 3-character abbreviations to code the nature of each term associated with a concept. Here is a listing of the term type codes and their meanings:

Name Description
AB Abbreviation
AD Adjectival form (and other parts of grammer)
AQ* Antiquated preferred term
AQS Antiquated term, use when there are antiquated synonyms within a concept
BR US brand name, which may be trademarked
CA2 ISO 3166 alpha-2 country code
CA3 ISO 3166 alpha-3 country code
CNU ISO 3166 numeric country code
CI ISO Country code (deprecated)
CN Drug study code
CS US State Department country code
DN Display name
FB Foreign brand name, which may be trademarked
LLT Lower Level Term
HD* Header (groups concepts, but not used for coding data)
PT* Preferred term
SN Chemical structure name
SY Synonym

*Note on special rules governing NCI PT, HD, and AQ term types: Each concept should have one, and only one, term coded with one of these three values. The NCI Preferred Term is always taken from one of the NCI terms, normally that with a type of PT (Preferred Term). However, in special cases, a concept will not have a PT term, but instead, will have either an HD (Header) term or an AQ term. These tags are considered equivalent to PT by the software. This means that a concept may have only as single NCI PT, or HD, or AQ term. In those cases where multiple antiquated terms are needed for a concept which is itself coded as antiquated, one should be tagged AQ and the rest tagged AQS.

'},function(e,t){}]); \ No newline at end of file diff --git a/theme/apps/gdcmvs/dist/styles.css b/theme/apps/gdcmvs/dist/styles.css new file mode 100644 index 000000000..945e4f097 --- /dev/null +++ b/theme/apps/gdcmvs/dist/styles.css @@ -0,0 +1 @@ +.ui-resizable{box-sizing:content-box}.ui-dialog .ui-dialog-titlebar{padding-top:8em}.ui-dialog .ui-dialog-content{padding:0}.ui-widget.ui-widget-content{font-size:1.3rem;background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.5);border:1px solid rgba(0,0,0,.2);border-radius:6px}.dialog__header{position:absolute;width:100%;top:0;left:0}.dialog__footer{text-align:center;padding:1em;border-top:1px solid #ddd}.dialog__titlebar{padding:1em;border-bottom:1px solid #ddd}.dialog__pagination{display:inline-block;margin-bottom:-.9em}.dialog__input-group{width:280px;display:inline-flex;margin-left:30px}.dialog__input{height:2.1em;border:1px solid #dce4ec;font-size:14px;padding:5px 10px}.dialog__input-addon{height:2.1em;padding:7px 12px;font-size:14px;display:inline-table}.dialog__indicator{position:relative;height:100%}.dialog__indicator-content{min-width:450px;text-align:center;margin:auto;font-size:1.2em;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.dialog__indicator-term{color:#2a72a4}.titlebar__container-btn{display:inline-block;margin-left:1.5em}.titlebar__options{display:inline-block}.ui-dialog .ui-dialog-title{float:none;width:auto;margin:0;padding-bottom:.35em;padding-right:.75em;line-height:1;font-weight:700;color:#3a3a3a;font-size:1.3em;display:inline-block;overflow:initial}.ui-dialog .ui-dialog-titlebar-close{position:absolute;background:none;border:none;text-indent:0;right:.5em;top:1.3em;color:#bbb;width:22px;height:22px}.ui-dialog .ui-dialog-titlebar-close:focus,.ui-dialog .ui-dialog-titlebar-close:hover{color:#666}.ui-dialog-titlebar-close:after{position:relative;font-family:FontAwesome;font-size:1.5em;content:"\F00D";z-index:2}.ui-label{display:inline;padding:.2em .6em .3em;font-size:1.3em;font-weight:700;line-height:1;background-color:#2079bb;color:#fff;border-radius:.25em;margin-right:.75em}.ui-checkbox{margin:0;display:inline-block}.ui-checkbox .checkbox__label:first-child{padding:0}.checkbox__label--height{line-height:2em}.ncit__content,.source__content,.type__content{margin:1em}.compare-form{margin:.5em 1em;height:97%}.compare_result{height:100%}.compare-form__message{text-align:center;height:2em;color:#c74060;width:50%;display:inline-block}.compare-form__top{margin-bottom:.3em;height:90%}.compare-form__left{width:46%;height:100%;display:inline-block}.compare-form__textarea{width:98%;height:100%;resize:none}.compare-form__middle{width:2%;height:100%;margin-right:3%;border-right:1px dashed #bbb;display:inline-block}.compare-form__right{width:48%;height:100%;overflow:auto;border:1px solid #a9a9a9;display:inline-block;padding:.2em}.compare-form__value{padding-right:1em;width:95%}.compare-form__toggle,.compare-form__value{display:inline-block;vertical-align:middle}.compare-form__matched,.compare-form__synm{padding:.5em .5em 0}.compare-form__i_c,.compare-form__n_syn{padding-bottom:.5em}.compare-form__ic_enum,.compare-form__s{padding-left:1em}.compare-form__bottom{text-align:center;padding:1em;border-top:1px solid #ddd}.compare-form__pagination{text-align:center}.compare-form__content-pagination,.compare-form__pagination{width:49%;display:inline-block}.compare-form__button{padding:.4em 2em;min-width:9em;box-shadow:none!important;border:1px solid #2079bb;font-size:1em;color:#2079bb;background-color:#fff}.compare-form__button:active,.compare-form__button:active:hover,.compare-form__button:focus,.compare-form__button:hover{color:#fff;background-color:#2079bb;border-color:#2079bb;outline:none}.compare-form__button--download{padding:.3em .5em;min-width:3em}.compare-form__button--cancel{margin-left:1em}.compare-form__button-content{display:inline-block;width:50%}.compare_result__bottom{text-align:center}.gdc-data-list{outline:none}.table_td-term{word-wrap:break-word;width:115px;margin:0}.gdc-data__item--show,.gdc-term__item--show{display:block}.gdc-data__item--hide,.gdc-term__item--hide{display:none}.paginationjs .paginationjs-pages li.active>a{background:#6a7676}.getSourceDetails:focus,.getSourceDetails:hover,.getTypeDetails:focus,.getTypeDetails:hover{text-decoration:underline!important}.treeview,.treeview ul{list-style:none;padding:0}.treeview .treeview__parent>ul{display:none}.treeview__row{border-bottom:1px solid #ecf0f1;text-align:left;padding-top:8px;padding-bottom:8px;line-height:1.428571}.treeview__category .treeview__indenter{padding-left:25px}.treeview__folder .treeview__indenter{padding-left:40px}.treeview__property .treeview__indenter{padding-left:55px}.treeview__link .treeview__col:first-child,.treeview__value .treeview__col:first-child{padding-left:85px}.treeview__indenter{position:relative}.treeview__toggle{padding-left:8px;padding-right:8px;position:absolute;right:0}.treeview__col{display:inline-block}.search-bar{width:60%;min-width:690px;margin:0 auto}.search-bar__input{box-shadow:1px 7px 7px -6px #e3e3e3;border-radius:4px}.search-bar__input:hover{box-shadow:0 3px 8px 0 #e3e3e3}.search-bar__options{padding:.85em 0;position:absolute;right:160px;top:0;bottom:0;z-index:100}.search-bar__option{display:inline-block;font-size:20px;cursor:pointer;color:#aaa!important;height:25px;width:21px;padding:0 .1em}.search-bar__option:focus,.search-bar__option:hover{color:#555!important;outline:none}.search-bar__btn{background-color:#6a7676;border-color:#6a7676;padding:8px 45px;font-size:17px;color:#fff}.search-bar__btn:active,.search-bar__btn:active:hover,.search-bar__btn:focus,.search-bar__btn:hover{background-color:#788787;border-color:#788787;outline:none}.search-bar__input--has-error{border:2px solid #c74060}.search-bar__dropdown{right:-15px;left:auto;min-width:85px;text-align:center}.search-bar__dropdown>li>a{line-height:1.2em;font-size:.9em;color:#3a3a3a}.search-bar__dropdown>li>a:focus,.search-bar__dropdown>li>a:hover{background-color:#f0f0f0;color:#3a3a3a;outline:none}.suggest{position:relative}.suggest__listbox{width:calc(100% - 11.5em);display:none;border-radius:5px;padding-top:.5em;padding-bottom:.5em;background-color:#fff;box-shadow:0 2px 3px 3px rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.08);position:absolute;top:2px;left:3px;z-index:100}.suggest__object{line-height:1.8em;font-size:1em;display:flex;justify-content:space-between}.suggest__object:hover{background-color:#f0f0f0;cursor:pointer}.suggest__name{margin:0 .9em}.suggest__type{font-weight:700;margin-right:.9em}.suggest__listbox .selected{background-color:#f0f0f0}.suggest__width{width:auto;visibility:hidden;position:fixed;overflow:auto;font-size:1.2em}.search-options{width:60%;min-width:690px;margin:0 auto;padding:1.5em 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ecf0f1}.ref-box__link{margin-left:2em}.results{border:1px solid #dce4ec;border-radius:5px;background-color:#fff}.tab-nav{display:flex;justify-content:center;align-items:center;margin:2em 0}.tab-nav__text{color:#535a60}.tab-nav__term{color:#000}.tab-nav__group{margin-left:2em}.tab-nav__btn{padding:.15em 1em;min-width:12.2em;box-shadow:none!important;border:1px solid #2079bb;font-size:1em;color:#2079bb!important;position:relative;float:left;margin-left:-1px;text-align:center;border-radius:4px}.tab-nav__btn:focus,.tab-nav__btn:hover{text-decoration:none}.tab-nav__btn:focus{outline:none;border:1px solid #19659e;background-color:#19659e!important;color:#fff!important}.tab-nav__li.active .tab-nav__btn{background-color:#2079bb;color:#fff!important}.tab-nav__li:not(:first-child):not(:last-child) .tab-nav__btn{border-radius:0}.tab-nav__li:first-child:not(:last-child) .tab-nav__btn{border-bottom-right-radius:0;border-top-right-radius:0}.tab-nav__li:last-child:not(:first-child) .tab-nav__btn{border-bottom-left-radius:0;border-top-left-radius:0}.tab-nav__notification{position:absolute;top:-10px;right:10px;font-size:.9em;font-weight:700;padding:0 5px;color:#fff;background-color:#cc426c;border-radius:10px;line-height:1.5em}.tab-nav__btn:active,.tab-nav__btn:focus{background-color:#3598db;color:#fff!important}.tab-nav__ul{margin:0;padding:0}.tab-nav__li{position:relative;display:block;float:left}.tab-nav__tooltip{display:inline-block}.cde-suggest{font-size:.8em}.table__row--striped:nth-of-type(2n){background:#fafafa}.table__row--flex{display:flex;align-items:stretch}.table__values{border-left:1px solid #ecf0f1}.table__value-row{display:flex;align-items:stretch}.table__right{text-align:right}.table__gdc-values{border-right:1px solid #ecf0f1}.table__cde-values,.table__gdc-values{border-bottom:1px solid #ecf0f1}.table__ico3-code{color:#2a72a4;white-space:nowrap}.table__row-syn{margin-bottom:10px}.table__row-syn:last-child{margin-bottom:0}.table__ul{padding-left:15px;list-style:none}.table__li:before{font-family:FontAwesome;content:"\F107";display:inline-block;margin:0 5px 0 -15px;color:#acacac;transform:rotate(45deg);position:absolute}.table__row--toggle{display:none}body{min-width:970px}#body{min-height:640px;margin-top:0!important}.main-container{padding-bottom:127px;font-size:1.3rem}.info-content{display:flex;justify-content:space-between;margin:.5em 0}footer{margin:0;position:absolute;bottom:0}a,a:focus,a:hover,a:link,a:visited{color:#2a72a4}.gdc-app-list a{color:inherit}.checkbox__label{margin-left:20px;position:relative}.checkbox__label,.checkbox__label--padding{padding-left:0!important}.checkbox__btn{position:relative;display:block;border:1px solid #dce4ec;background-color:#fff;border-radius:.25em;width:2em;height:2em;float:left;margin-right:.5em}.checkbox__icon{position:absolute;font-size:.9em;line-height:0;top:50%;left:26%}.checkbox__input{margin:0!important;position:absolute!important;top:5px;left:5px}.checkbox__input+.checkbox__btn>.checkbox__icon{opacity:0}.checkbox__input:checked+.checkbox__btn{background-color:#6a7676;border-color:#6a7676}.checkbox__input:checked+.checkbox__btn>.checkbox__icon{opacity:1;color:#fff}.checkbox__input:disabled>.checkbox__btn{opacity:.5}.checkbox__input:focus+.checkbox__btn{box-shadow:0 0 4px 2px #c2c2c2;outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.table{margin-bottom:0}.table__container{font-size:1.3rem;padding-left:15px;padding-right:15px}.table__container--margin-bottom{margin-bottom:15px}.table__body--overflow{overflow-y:auto;max-height:500px}.table__th{font-weight:700;text-align:left;padding-top:15px;padding-bottom:15px}.table__th--right{text-align:right}.table__td{text-align:left;padding-top:12px;padding-bottom:12px;line-height:1.428571}.table__td--title{font-weight:700;color:#217dbc}.table__td--slim{padding-top:8px;padding-bottom:8px}.table__td--xslim{padding-top:5px;padding-bottom:5px}.table__td--right{text-align:right}.table__td--padding-left{padding-left:35px}.table__td--word-break{word-wrap:break-word}.table__row{border-bottom:1px solid #ecf0f1}.table__row--undisplay{display:none}.table__hr{margin-left:-15px;margin-right:-15px}.table__content,.table__hr{border-bottom:1px solid #ecf0f1}.table__content{display:none}.table__thead{background:#f1f1f1;color:#555}.table__thead--padding-right{padding-right:15px}.table__tooltip,.table__tooltip:hover{color:#555;margin-left:10px}.table__tooltip:focus{color:#000;outline:none}.table__arrow{padding-right:1em;display:inline-block;width:25px}.table__dropdown-toggle{color:#788d90!important}.table__dropdown-toggle:focus,.table__dropdown-toggle:hover{color:#3598db!important}.table__dropdown-menu{left:auto}.table__dropdown-menu:before{position:absolute;top:-7px;left:79px;display:inline-block;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-left:7px solid transparent;border-bottom-color:rgba(0,0,0,.2);content:""}.table__dropdown-menu:after{position:absolute;top:-6px;left:80px;display:inline-block;border-right:6px solid transparent;border-bottom:7px solid #fff;border-left:6px solid transparent;content:""}.table__dropdown-link{color:#3a3a3a!important}.table__dropdown-link:focus,.table__dropdown-link:hover{text-decoration:none;color:#fff!important;background-color:#3598db!important}.table__td--term,.table__th--term{width:65%}.table__td--source,.table__th--source{width:20%}.table__td--type,.table__th--type{width:15%}.table-striped>tbody>tr{background-color:#fff}.thead__row{display:flex;align-items:center}.checkbox-th{margin:0;display:inline-block}.btn-th{display:inline-block;padding:3px 10px;font-size:1em;margin-left:2em;background-color:#fff;border:1px solid #dce4ec}.btn-th:active,.btn-th:focus,.btn-th:hover{color:#333;background-color:#e6e6e6;border-color:#adadad;outline:none}.btn-th__icon{padding-right:5px;font-weight:700}.indicator{position:relative;padding-bottom:36%}.indicator__content{width:60%;min-width:550px;text-align:center;margin:auto;padding:1em 0;background-color:#fff;color:#535a60;font-size:1.2em;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.indicator--has-error{color:#c74060}.indicator__term{color:#2a72a4}.indicator__card{margin:2em auto;max-width:450px;text-align:left}.indicator__mean-span{color:#c74060;font-size:1.1em}.indicator__suggestion{font-style:italic}.indicator__suggestion-p{margin:.8em 0}.tooltip.bottom:after{position:absolute;top:2px;left:50%;display:inline-block;border-right:5px solid transparent;border-bottom:5px solid #fff;border-left:5px solid transparent;content:"";margin-left:-5px}.tooltip.bottom .tooltip-arrow{border-bottom-color:#ccc}.tooltip-inner{color:#3a3a3a;background-color:#fff;border:1px solid #ccc}.alert__error{color:#cc426c;border:1px solid #cc426c!important;border-left:5px solid #cc426c!important;background-color:#fff6f9!important;border-radius:initial}.alert__error,.alert__suggest{visibility:hidden;position:fixed;top:10em;left:50%;transform:translateX(-50%);font-weight:700;padding:1rem;z-index:999}.alert__suggest{color:#166aa2;border:1px solid #166aa2!important;border-left:5px solid #166aa2!important;background-color:#daf2fb!important;border-radius:initial}.alert__show{visibility:visible;animation-name:fadeInDownUp;animation-duration:4s}@keyframes fadeInDownUp{0%{opacity:0;transform:translate3d(-50%,-100%,0)}20%{opacity:1;transform:translate3d(-50%,0,0)}80%{opacity:1;transform:translate3d(-50%,0,0)}to{opacity:0;transform:translate3d(-50%,-100%,0)}} \ No newline at end of file diff --git a/theme/apps/gdcmvs/lib/css/jquery-ui.min.css b/theme/apps/gdcmvs/lib/css/jquery-ui.min.css new file mode 100644 index 000000000..bbac8fb43 --- /dev/null +++ b/theme/apps/gdcmvs/lib/css/jquery-ui.min.css @@ -0,0 +1,6 @@ +/*! jQuery UI - v1.12.1 - 2018-01-04 +* http://jqueryui.com +* Includes: draggable.css, core.css, resizable.css, button.css, controlgroup.css, checkboxradio.css, dialog.css +* Copyright jQuery Foundation and other contributors; Licensed MIT */ + +.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup > .ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup > .ui-controlgroup-item:focus,.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical > .ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move} \ No newline at end of file diff --git a/theme/apps/gdcmvs/lib/css/pagination.min.css b/theme/apps/gdcmvs/lib/css/pagination.min.css new file mode 100644 index 000000000..117bf0ba3 --- /dev/null +++ b/theme/apps/gdcmvs/lib/css/pagination.min.css @@ -0,0 +1 @@ +.paginationjs{line-height:1.6;font-family:Marmelad,"Lucida Grande",Arial,"Hiragino Sans GB",Georgia,sans-serif;font-size:14px;box-sizing:initial}.paginationjs:after{display:table;content:" ";clear:both}.paginationjs .paginationjs-pages{float:left}.paginationjs .paginationjs-pages ul{float:left;margin:0;padding:0}.paginationjs .paginationjs-go-button,.paginationjs .paginationjs-go-input,.paginationjs .paginationjs-nav{float:left;margin-left:10px;font-size:14px}.paginationjs .paginationjs-pages li{float:left;border:1px solid #aaa;border-right:none;list-style:none}.paginationjs .paginationjs-pages li>a{min-width:30px;height:28px;line-height:28px;display:block;background:#fff;font-size:14px;color:#333;text-decoration:none;text-align:center}.paginationjs .paginationjs-pages li>a:hover{background:#eee}.paginationjs .paginationjs-pages li.active{border:none}.paginationjs .paginationjs-pages li.active>a{height:30px;line-height:30px;background:#aaa;color:#fff}.paginationjs .paginationjs-pages li.disabled>a{opacity:.3}.paginationjs .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs .paginationjs-pages li:first-child,.paginationjs .paginationjs-pages li:first-child>a{border-radius:3px 0 0 3px}.paginationjs .paginationjs-pages li:last-child{border-right:1px solid #aaa;border-radius:0 3px 3px 0}.paginationjs .paginationjs-pages li:last-child>a{border-radius:0 3px 3px 0}.paginationjs .paginationjs-go-input>input[type=text]{width:30px;height:28px;background:#fff;border-radius:3px;border:1px solid #aaa;padding:0;font-size:14px;text-align:center;vertical-align:baseline;outline:0;box-shadow:none;box-sizing:initial}.paginationjs .paginationjs-go-button>input[type=button]{min-width:40px;height:30px;line-height:28px;background:#fff;border-radius:3px;border:1px solid #aaa;text-align:center;padding:0 8px;font-size:14px;vertical-align:baseline;outline:0;box-shadow:none;color:#333;cursor:pointer;vertical-align:middle\9}.paginationjs.paginationjs-theme-blue .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-blue .paginationjs-pages li{border-color:#289de9}.paginationjs .paginationjs-go-button>input[type=button]:hover{background-color:#f8f8f8}.paginationjs .paginationjs-nav{height:30px;line-height:30px}.paginationjs .paginationjs-go-button,.paginationjs .paginationjs-go-input{margin-left:5px\9}.paginationjs.paginationjs-small{font-size:12px}.paginationjs.paginationjs-small .paginationjs-pages li>a{min-width:26px;height:24px;line-height:24px;font-size:12px}.paginationjs.paginationjs-small .paginationjs-pages li.active>a{height:26px;line-height:26px}.paginationjs.paginationjs-small .paginationjs-go-input{font-size:12px}.paginationjs.paginationjs-small .paginationjs-go-input>input[type=text]{width:26px;height:24px;font-size:12px}.paginationjs.paginationjs-small .paginationjs-go-button{font-size:12px}.paginationjs.paginationjs-small .paginationjs-go-button>input[type=button]{min-width:30px;height:26px;line-height:24px;padding:0 6px;font-size:12px}.paginationjs.paginationjs-small .paginationjs-nav{height:26px;line-height:26px;font-size:12px}.paginationjs.paginationjs-big{font-size:16px}.paginationjs.paginationjs-big .paginationjs-pages li>a{min-width:36px;height:34px;line-height:34px;font-size:16px}.paginationjs.paginationjs-big .paginationjs-pages li.active>a{height:36px;line-height:36px}.paginationjs.paginationjs-big .paginationjs-go-input{font-size:16px}.paginationjs.paginationjs-big .paginationjs-go-input>input[type=text]{width:36px;height:34px;font-size:16px}.paginationjs.paginationjs-big .paginationjs-go-button{font-size:16px}.paginationjs.paginationjs-big .paginationjs-go-button>input[type=button]{min-width:50px;height:36px;line-height:34px;padding:0 12px;font-size:16px}.paginationjs.paginationjs-big .paginationjs-nav{height:36px;line-height:36px;font-size:16px}.paginationjs.paginationjs-theme-blue .paginationjs-pages li>a{color:#289de9}.paginationjs.paginationjs-theme-blue .paginationjs-pages li>a:hover{background:#e9f4fc}.paginationjs.paginationjs-theme-blue .paginationjs-pages li.active>a{background:#289de9;color:#fff}.paginationjs.paginationjs-theme-blue .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-blue .paginationjs-go-button>input[type=button]{background:#289de9;border-color:#289de9;color:#fff}.paginationjs.paginationjs-theme-green .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-green .paginationjs-pages li{border-color:#449d44}.paginationjs.paginationjs-theme-blue .paginationjs-go-button>input[type=button]:hover{background-color:#3ca5ea}.paginationjs.paginationjs-theme-green .paginationjs-pages li>a{color:#449d44}.paginationjs.paginationjs-theme-green .paginationjs-pages li>a:hover{background:#ebf4eb}.paginationjs.paginationjs-theme-green .paginationjs-pages li.active>a{background:#449d44;color:#fff}.paginationjs.paginationjs-theme-green .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-green .paginationjs-go-button>input[type=button]{background:#449d44;border-color:#449d44;color:#fff}.paginationjs.paginationjs-theme-yellow .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-yellow .paginationjs-pages li{border-color:#ec971f}.paginationjs.paginationjs-theme-green .paginationjs-go-button>input[type=button]:hover{background-color:#55a555}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li>a{color:#ec971f}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li>a:hover{background:#fdf5e9}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li.active>a{background:#ec971f;color:#fff}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-yellow .paginationjs-go-button>input[type=button]{background:#ec971f;border-color:#ec971f;color:#fff}.paginationjs.paginationjs-theme-red .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-red .paginationjs-pages li{border-color:#c9302c}.paginationjs.paginationjs-theme-yellow .paginationjs-go-button>input[type=button]:hover{background-color:#eea135}.paginationjs.paginationjs-theme-red .paginationjs-pages li>a{color:#c9302c}.paginationjs.paginationjs-theme-red .paginationjs-pages li>a:hover{background:#faeaea}.paginationjs.paginationjs-theme-red .paginationjs-pages li.active>a{background:#c9302c;color:#fff}.paginationjs.paginationjs-theme-red .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-red .paginationjs-go-button>input[type=button]{background:#c9302c;border-color:#c9302c;color:#fff}.paginationjs.paginationjs-theme-red .paginationjs-go-button>input[type=button]:hover{background-color:#ce4541}.paginationjs .paginationjs-pages li.paginationjs-next{border-right:1px solid #aaa\9}.paginationjs .paginationjs-go-input>input[type=text]{line-height:28px\9;vertical-align:middle\9}.paginationjs.paginationjs-big .paginationjs-pages li>a{line-height:36px\9}.paginationjs.paginationjs-big .paginationjs-go-input>input[type=text]{height:36px\9;line-height:36px\9} \ No newline at end of file diff --git a/theme/apps/gdcmvs/lib/js/jquery-ui.min.js b/theme/apps/gdcmvs/lib/js/jquery-ui.min.js new file mode 100644 index 000000000..154404f40 --- /dev/null +++ b/theme/apps/gdcmvs/lib/js/jquery-ui.min.js @@ -0,0 +1,8 @@ +/*! jQuery UI - v1.12.1 - 2018-01-04 +* http://jqueryui.com +* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/resizable.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/dialog.js, widgets/mouse.js +* Copyright jQuery Foundation and other contributors; Licensed MIT */ + +(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function e(t){for(var e=t.css("visibility");"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}t.ui=t.ui||{},t.ui.version="1.12.1";var i=0,s=Array.prototype.slice;t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0];e=e.split(".")[1];var h=l+"-"+e;return s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){return this._createWidget?(arguments.length&&this._createWidget(t,e),void 0):new o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isFunction(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void 0):(r[e]=s,void 0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:h}),n?(t.each(n._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var i,n,o=s.call(arguments,1),a=0,r=o.length;r>a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+o.eventNamespace,c=l[2];c?n.on(h,c,r):i.on(h,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,h=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};h>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),l.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-r-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-r-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,l,h=i.nodeName.toLowerCase();return"area"===h?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(h)?(r=!i.disabled,r&&(l=t(i).closest("fieldset")[0],l&&(r=!l.disabled))):r="a"===h?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")},t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?(this.destroyOnClear=!0,void 0):(this._removeHandleClassName(),this._mouseDestroy(),void 0)},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(this._blurActiveElement(e),this._blockFrames(i.iframeFix===!0?"iframe":i.iframeFix),!0):!1)},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("
").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]),s=t(e.target);s.closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper),n=s?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options,o=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):"document"===n.containment?(this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],void 0):n.containment.constructor===Array?(this.containment=n.containment,void 0):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i),void 0):(this.containment=null,void 0)},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,s,n,o,a=this.options,r=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.lefti[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,h=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)} +},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,s){var n=t.extend({},i,{item:s.element});s.sortables=[],t(s.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(s.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,n))})},stop:function(e,i,s){var n=t.extend({},i,{item:s.element});s.cancelHelperRemoval=!1,t.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(e,i,s){t.each(s.sortables,function(){var n=!1,o=this;o.positionAbs=s.positionAbs,o.helperProportions=s.helperProportions,o.offset.click=s.offset.click,o._intersectsWith(o.containerCache)&&(n=!0,t.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&t.contains(o.element[0],this.element[0])&&(n=!1),n})),n?(o.isOver||(o.isOver=1,s._parent=i.helper.parent(),o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},e.target=o.currentItem[0],o._mouseCapture(e,!0),o._mouseStart(e,!0,!0),o.offset.click.top=s.offset.click.top,o.offset.click.left=s.offset.click.left,o.offset.parent.left-=s.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=s.offset.parent.top-o.offset.parent.top,s._trigger("toSortable",e),s.dropped=o.element,t.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,o.fromOutside=s),o.currentItem&&(o._mouseDrag(e),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",e,o._uiHash(o)),o._mouseStop(e,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),i.helper.appendTo(s._parent),s._refreshOffsets(e),i.position=s._generatePosition(e,!0),s._trigger("fromSortable",e),s.dropped=!1,t.each(s.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,s){var n=t("body"),o=s.options;n.css("cursor")&&(o._cursor=n.css("cursor")),n.css("cursor",o.cursor)},stop:function(e,i,s){var n=s.options;n._cursor&&t("body").css("cursor",n._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("opacity")&&(o._opacity=n.css("opacity")),n.css("opacity",o.opacity)},stop:function(e,i,s){var n=s.options;n._opacity&&t(i.helper).css("opacity",n._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,s){var n=s.options,o=!1,a=s.scrollParentNotHidden[0],r=s.document[0];a!==r&&"HTML"!==a.tagName?(n.axis&&"x"===n.axis||(s.overflowOffset.top+a.offsetHeight-e.pageY=0;d--)l=s.snapElements[d].left-s.margins.left,h=l+s.snapElements[d].width,c=s.snapElements[d].top-s.margins.top,u=c+s.snapElements[d].height,l-g>_||m>h+g||c-g>b||v>u+g||!t.contains(s.snapElements[d].item.ownerDocument,s.snapElements[d].item)?(s.snapElements[d].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(n=g>=Math.abs(c-b),o=g>=Math.abs(u-v),a=g>=Math.abs(l-_),r=g>=Math.abs(h-m),n&&(i.position.top=s._convertPositionTo("relative",{top:c-s.helperProportions.height,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l-s.helperProportions.width}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h}).left)),p=n||o||a||r,"outer"!==f.snapMode&&(n=g>=Math.abs(c-v),o=g>=Math.abs(u-b),a=g>=Math.abs(l-m),r=g>=Math.abs(h-_),n&&(i.position.top=s._convertPositionTo("relative",{top:c,left:0}).top),o&&(i.position.top=s._convertPositionTo("relative",{top:u-s.helperProportions.height,left:0}).top),a&&(i.position.left=s._convertPositionTo("relative",{top:0,left:l}).left),r&&(i.position.left=s._convertPositionTo("relative",{top:0,left:h-s.helperProportions.width}).left)),!s.snapElements[d].snapping&&(n||o||a||r||p)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[d].item})),s.snapElements[d].snapping=n||o||a||r||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,s){var n,o=s.options,a=t.makeArray(t(o.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});a.length&&(n=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each(function(e){t(this).css("zIndex",n+e)}),this.css("zIndex",n+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,s){var n=t(i.helper),o=s.options;n.css("zIndex")&&(o._zIndex=n.css("zIndex")),n.css("zIndex",o.zIndex)},stop:function(e,i,s){var n=s.options;n._zIndex&&t(i.helper).css("zIndex",n._zIndex)}}),t.ui.draggable,t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,l=this._change[o];return this._updatePrevProperties(),l?(i=l.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,l,h=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,l=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,h.animate||this.element.css(t.extend(a,{top:l,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&h&&(t.left=r-e.minWidth),s&&h&&(t.left=r-e.maxWidth),a&&c&&(t.top=l-e.minHeight),n&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,l={width:i.size.width-r,height:i.size.height-a},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,c&&h?{top:c,left:h}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,l=t(this).resizable("instance"),h=l.options,c=l.element,u=h.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(l.containerElement=t(d),/document/.test(u)||u===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=l._num(e.css("padding"+s))}),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=l.containerOffset,n=l.containerSize.height,o=l.containerSize.width,a=l._hasScroll(d,"left")?d.scrollWidth:o,r=l._hasScroll(d)?d.scrollHeight:n,l.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,l=a.containerOffset,h=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=l),h.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?l.left:0),h.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?l.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-l.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-l.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),l=a.outerWidth()-e.sizeDiff.width,h=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,l="number"==typeof s.grid?[s.grid,s.grid]:s.grid,h=l[0]||1,c=l[1]||1,u=Math.round((n.width-o.width)/h)*h,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,g=s.maxWidth&&p>s.maxWidth,m=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=l,_&&(p+=h),v&&(f+=c),g&&(p-=h),m&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-h)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-h>0?(i.size.width=p,i.position.left=a.left-u):(p=h-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable;var o=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"
",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,function(s,n){var o,a={};return n?"controlgroupLabel"===s?(o=e.element.find(n),o.each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("")}),e._addClass(o,null,"ui-widget ui-widget-content ui-state-default"),i=i.concat(o.get()),void 0):(t.fn[s]&&(a=e["_"+s+"Options"]?e["_"+s+"Options"]("middle"):{classes:{}},e.element.find(n).each(function(){var n=t(this),o=n[s]("instance"),r=t.widget.extend({},a);if("button"!==s||!n.parent(".ui-spinner").length){o||(o=n[s]()[s]("instance")),o&&(r.classes=e._resolveClassesValues(r.classes,o)),n[s](r);var l=n[s]("widget");t.data(l[0],"ui-controlgroup-data",o?o:n[s]("instance")),i.push(l[0])}})),void 0):void 0}),this.childWidgets=t(t.unique(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var i=t(this),s=i.data("ui-controlgroup-data");s&&s[e]&&s[e]()})},_updateCornerClass:function(t,e){var i="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",s=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,i),this._addClass(t,null,s)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,s={classes:{}};return s.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],s},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e?"auto":!1,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var s={};return t.each(e,function(n){var a=i.options.classes[n]||"";a=t.trim(a.replace(o,"")),s[n]=(a+" "+e[n]).replace(/\s+/g," ")}),s},_setOption:function(t,e){return"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t?(this._callChildMethod(e?"disable":"enable"),void 0):(this.refresh(),void 0)},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,s){var n=e[s]().data("ui-controlgroup-data");if(n&&i["_"+n.widgetName+"Options"]){var o=i["_"+n.widgetName+"Options"](1===e.length?"only":s);o.classes=i._resolveClassesValues(o.classes,n),n.element[n.widgetName](o)}else i._updateCornerClass(e[s](),s)}),this._callChildMethod("refresh"))}}),t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,s=this,n=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){s.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(n.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(n.disabled=e),n},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e,i=this.element[0].name,s="input[name='"+t.ui.escapeSelector(i)+"']";return i?(e=this.form.length?t(this.form[0].elements).filter(s):t(s).filter(function(){return 0===t(this).form().length +}),e.not(this.element)):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){return"label"!==t||e?(this._super(t,e),"disabled"===t?(this._toggleClass(this.label,null,"ui-state-disabled",e),this.element[0].disabled=e,void 0):(this.refresh(),void 0)):void 0},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t(""),this.iconSpace=t(" "),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio,t.widget("ui.button",{version:"1.12.1",defaultElement:"").button({label:t("").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=t("
"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("
").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this._removeClass(this.uiDialog,"ui-dialog-buttons"),void 0):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,o={icon:s.icon,iconPosition:s.iconPosition,showLabel:s.showLabel,icons:s.icons,text:s.text},delete s.click,delete s.icon,delete s.iconPosition,delete s.showLabel,delete s.icons,"boolean"==typeof s.text&&delete s.text,t("",s).button(o).appendTo(e.uiButtonSet).on("click",function(){n.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),void 0)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){i._addClass(t(this),"ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){var a=o.offset.left-i.document.scrollLeft(),r=o.offset.top-i.document.scrollTop();s.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" "+"top"+(r>=0?"+":"")+r,of:i.window},i._removeClass(t(this),"ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){i._addClass(t(this),"ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){var a=i.uiDialog.offset(),r=a.left-i.document.scrollLeft(),l=a.top-i.document.scrollTop();s.height=i.uiDialog.height(),s.width=i.uiDialog.width(),s.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" "+"top"+(l>=0?"+":"")+l,of:i.window},i._removeClass(t(this),"ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);-1!==i&&e.splice(i,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var i=this,s=!1,n={};t.each(e,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(s=!0),t in i.resizableRelatedOptions&&(n[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",n)},_setOption:function(e,i){var s,n,o=this.uiDialog;"disabled"!==e&&(this._super(e,i),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("").text(""+this.options.closeText).html()}),"draggable"===e&&(s=o.is(":data(ui-draggable)"),s&&!i&&o.draggable("destroy"),!s&&i&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&(n=o.is(":data(ui-resizable)"),n&&!i&&o.resizable("destroy"),n&&"string"==typeof i&&o.resizable("option","handles",i),n||i===!1||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("
").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=!0;this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=t("
").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),t.ui.dialog}); \ No newline at end of file diff --git a/theme/apps/gdcmvs/lib/js/jsrender.min.js b/theme/apps/gdcmvs/lib/js/jsrender.min.js new file mode 100644 index 000000000..1c0437c82 --- /dev/null +++ b/theme/apps/gdcmvs/lib/js/jsrender.min.js @@ -0,0 +1,4 @@ +/*! JsRender v0.9.90 (Beta): http://jsviews.com/#jsrender */ +/*! **VERSION FOR WEB** (For NODE.JS see http://jsviews.com/download/jsrender-node.js) */ +!function(e,t){var n=t.jQuery;"object"==typeof exports?module.exports=n?e(t,n):function(n){if(n&&!n.fn)throw"Provide jQuery or null";return e(t,n)}:"function"==typeof define&&define.amd?define(function(){return e(t)}):e(t,!1)}(function(e,t){"use strict";function n(e,t){return function(){var n,r=this,i=r.base;return r.base=e,n=t.apply(r,arguments),r.base=i,n}}function r(e,t){return ne(t)&&(t=n(e?e._d?e:n(a,e):a,t),t._d=1),t}function i(e,t){var n,i=t.props;for(n in i)!Ee.test(n)||e[n]&&e[n].fix||(e[n]="convert"!==n?r(e.constructor.prototype[n],i[n]):i[n])}function o(e){return e}function a(){return""}function s(e){try{throw console.log("JsRender dbg breakpoint: "+e),"dbg breakpoint"}catch(t){}return this.base?this.baseApply(arguments):e}function d(e){this.name=(t.link?"JsViews":"JsRender")+" Error",this.message=e||this.name}function l(e,t){if(e){for(var n in t)e[n]=t[n];return e}}function u(e,t,n){return e?re(e)?u.apply(ee,e):(le.delimiters=[e,t,he=n?n.charAt(0):he],ce=e.charAt(0),fe=e.charAt(1),ge=t.charAt(0),ve=t.charAt(1),e="\\"+ce+"(\\"+he+")?\\"+fe,t="\\"+ge+"\\"+ve,X="(?:(\\w+(?=[\\/\\s\\"+ge+"]))|(\\w+)?(:)|(>)|(\\*))\\s*((?:[^\\"+ge+"]|\\"+ge+"(?!\\"+ve+"))*?)",de.rTag="(?:"+X+")",X=new RegExp("(?:"+e+X+"(\\/)?|\\"+ce+"(\\"+he+")?\\"+fe+"(?:(?:\\/(\\w+))\\s*|!--[\\s\\S]*?--))"+t,"g"),de.rTmpl=new RegExp("^\\s|\\s$|<.*>|([^\\\\]|^)[{}]|"+e+".*"+t),pe):le.delimiters}function p(e,t){t||e===!0||(t=e,e=void 0);var n,r,i,o,a=this,s=!t||"root"===t;if(e){if(o=t&&a.type===t&&a,!o)if(n=a.views,a._.useKey){for(r in n)if(o=t?n[r].get(e,t):n[r])break}else for(r=0,i=n.length;!o&&r1)for(d=o.bindTo=[];s--;)d.unshift(s);p&&(p.tag=o,o.linkCtx=p),n.ctx=Q(n.ctx,(p?p.view:t).ctx),i(o,n)}o._er=r&&a,o.ctx=n.ctx||o.ctx||{},n.ctx=void 0,a=o.cvtArgs()[0]}return a=u&&t._.onRender?t._.onRender(a,t,o):a,void 0!=a?a:""}function m(e,t){var n,r,i,o,a,s,d,l=this;if(l.tagName?(s=l,l=s.tagCtxs?s.tagCtxs[t||0]:s.tagCtx):s=l.tag,a=s.bindTo,o=l.args,(d=s.convert)&&""+d===d&&(d="true"===d?void 0:l.view.getRsc("converters",d)||I("Unknown converter: '"+d+"'")),e&&e.length)o=e;else if(d&&!e&&(o=o.slice()),a){for(i=[],n=a.length;n--;)r=a[n],i.unshift(w(l,r));e&&(o=i)}if(d)if(a=a||[0],n=a.length,d=d.apply(s,i||o),re(d)&&d.length===n||(d=[d],a=[0],n=1),e)o=d;else for(;n--;)r=a[n],+r===r&&(o[r]=d[n]);return o}function w(e,t){return e=e[+t===t?"args":"props"],e&&e[t]}function x(e){return this.cvtArgs(!0,e)}function _(e,t){var n,r,i=this;if(""+t===t){for(;void 0===n&&i;)r=i.tmpl&&i.tmpl[e],n=r&&r[t],i=i.parent;return n||ee[e][t]}}function b(e,t,n,r,o,a){function s(e){var t;(t=d[e])&&(d[e]=t=re(t)?t:[t],E!==t.length&&I(e+" length not same as bindTo "))}t=t||Y;var d,l,u,p,c,f,g,v,h,m,x,_,b,y,k,C,T,j,A,R,V,$,E,M=0,N="",P=t.linkCtx||0,O=t.ctx,U=n||t.tmpl,q="number"==typeof r&&t.tmpl.bnds[r-1];for("tag"===e._is?(d=e,e=d.tagName,r=d.tagCtxs,u=d.template):(l=t.getRsc("tags",e)||I("Unknown tag: {{"+e+"}} "),u=l.template),void 0===a&&q&&(q._lr=(l.lateRender||q._lr)&&"false"!==q._lr)&&(a=""),void 0!==a?(N+=a,r=a=[{props:{},args:[],params:{}}]):q&&(r=q(t.data,t,de)),g=r.length;M0&&(a=n)){if(!a)if(/^\.\/[^\\:*?"<>]*$/.test(n))(s=ie[e=e||n])?n=s:a=document.getElementById(n);else if(t.fn&&!de.rTmpl.test(n))try{a=t(n,document)[0]}catch(d){}a&&(i?n=a.innerHTML:(o=a.getAttribute(Oe),o&&(o!==Ue?(n=ie[o],delete ie[o]):t.fn&&(n=t.data(a)[Ue])),o&&n||(e=e||(t.fn?Ue:n),n=j(e,a.innerHTML,r,i)),n.tmplName=e=e||o,e!==Ue&&(ie[e]=n),a.setAttribute(Oe,e),t.fn&&t.data(a,Ue,n))),a=void 0}else n.fn||(n=void 0);return n}var a,s,d=n=n||"";if(de._html=oe.html,0===i&&(i=void 0,d=o(d)),i=i||(n.markup?n:{}),i.tmplName=e,r&&(i._parentTmpl=r),!d&&n.markup&&(d=o(n.markup))&&d.fn&&(d=d.markup),void 0!==d)return d.fn||n.fn?d.fn&&(s=d):(n=$(d,i),U(d.replace(Te,"\\$&"),n)),s||(s=l(function(){return s.render.apply(s,arguments)},n),k(s)),s}function A(e,t){return ne(e)?e.call(t):e}function R(e){for(var t=[],n=0,r=e.length;nS-(I||0))){if(I=F.slice(I,S+r.length),q!==!0)if(J=o||p[g-1].bd,K=J[J.length-1],K&&K.prm){for(;K.sb&&K.sb.prm;)K=K.sb;B=K.sb={path:K.sb,bnd:K.bnd}}else J.push(B={path:J.pop()});E=fe+":"+I+" onerror=''"+ge,q=f[E],q||(f[E]=!0,f[E]=q=U(E,n,!0)),q!==!0&&B&&(B._cpfn=q,B.prm=u.bd,B.bnd=B.bnd||B.path&&B.path.indexOf("^")>=0)}return d?(d=!R,d?r:A+'"'):s?(s=!V,s?r:A+'"'):(w?(h[g]=S++,u=p[++g]={bd:[]},w):"")+(N?g?"":(c=F.slice(c,S),(i?(i=a=o=!1,"\b"):"\b,")+c+(c=S+r.length,l&&t.push(u.bd=[]),"\b")):k?(g&&O(e),l&&t.pop(),i=_,a=x,c=S+r.length,l&&(l=u.bd=t[i]=[],l.skp=!x),_+":"):_?_.split("^").join(".").replace(be,P)+(T?(u=p[++g]={bd:[]},v[g]=L,T):b):b?b:$?($=v[g]||$,v[g]=!1,u=p[--g],$+(T?(u=p[++g],v[g]=L,T):"")):j?(v[g]||O(e),","):m?"":(d=R,s=V,'"'))}O(e)}var i,o,a,s,d,l=t&&t[0],u={bd:l},p={0:u},c=0,f=(n?n.links:l&&(l.links=l.links||{}))||Y.tmpl.links,g=0,v={},h={},m=(e+(n?" ":"")).replace(ye,r);return!g&&m||O(e)}function L(e,t,n){var r,i,o,a,s,d,l,u,p,c,f,g,v,h,m,w,x,_,b,y,k,C,T,j,A,R,V,E,M,N,S,F=0,P=ue.useViews||t.useViews||t.tags||t.templates||t.helpers||t.converters,I="",U={},J=e.length;for(""+t===t?(_=n?'data-link="'+t.replace(ke," ").slice(1,-1)+'"':t,t=0):(_=t.tmplName||"unnamed",t.allowCode&&(U.allowCode=!0),t.debug&&(U.debug=!0),f=t.bnds,x=t.tmpls),r=0;r":a+o):(k&&(b=$(C,U),b.tmplName=_+"/"+o,b.useViews=b.useViews||P,L(k,b),P=b.useViews,x.push(b)),A||(y=o,P=P||o&&(!se[o]||!se[o].flow),j=I,I=""),T=e[r+1],T=T&&"else"===T[0]),M=E?";\ntry{\nret+=":"\n+",h="",m="",R&&(g||N||a&&a!==Pe||S)){if(V=new Function("data,view,j,u","// "+_+" "+ ++F+" "+o+"\nreturn {"+s+"};"),V._er=E,V._tag=o,V._bd=!!g,V._lr=S,n)return V;q(V,g),w='c("'+a+'",view,',c=!0,h=w+F+",",m=")"}if(I+=R?(n?(E?"try{\n":"")+"return ":M)+(c?(c=void 0,P=p=!0,w+(V?(f[F-1]=V,F):"{"+s+"}")+")"):">"===o?(l=!0,"h("+v[0]+")"):(u=!0,"((v="+v[0]+")!=null?v:"+(n?"null)":'"")'))):(d=!0,"\n{view:view,tmpl:"+(k?x.length:"0")+","+s+"},"),y&&!T){if(I="["+I.slice(0,-1)+"]",w='t("'+y+'",view,this,',n||g){if(I=new Function("data,view,j,u"," // "+_+" "+F+" "+y+"\nreturn "+I+";"),I._er=E,I._tag=y,g&&q(f[F-1]=I,g),I._lr=S,n)return I;h=w+F+",undefined,",m=")"}I=j+M+w+(I.deps&&F||I)+")",g=0,y=0}E&&!T&&(P=!0,I+=";\n}catch(e){ret"+(n?"urn ":"+=")+h+"j._err(e,view,"+E+")"+m+";}"+(n?"":"ret=ret"))}I="// "+_+"\nvar v"+(d?",t=j._tag":"")+(p?",c=j._cnvt":"")+(l?",h=j._html":"")+(n?";\n":',ret=""\n')+(U.debug?"debugger;":"")+I+(n?"\n":";\nreturn ret;");try{I=new Function("data,view,j,u",I)}catch(B){O("Compiled template code:\n\n"+I+'\n: "'+(B.message||B)+'"')}return t&&(t.fn=I,t.useViews=!!P),I}function Q(e,t){return e&&e!==t?t?l(l({},t),e):e:t&&l({},t)}function H(e){return Fe[e]||(Fe[e]="&#"+e.charCodeAt(0)+";")}function D(e){var t,n,r=[];if(typeof e===Ie)for(t in e)n=e[t],t!==te&&e.hasOwnProperty(t)&&!ne(n)&&r.push({key:t,prop:n});return r}function Z(e,n,r){var i=this.jquery&&(this[0]||I("Unknown template")),o=i.getAttribute(Oe);return S.call(o&&t.data(i)[Ue]||ie(i),e,n,r)}function z(e){return void 0!=e?$e.test(e)&&(""+e).replace(Ne,H)||e:""}var G=t===!1;t=t&&t.fn?t:e.jQuery;var W,X,Y,ee,te,ne,re,ie,oe,ae,se,de,le,ue,pe,ce,fe,ge,ve,he,me,we,xe="v0.9.90",_e="_ocp",be=/^(!*?)(?:null|true|false|\d[\d.]*|([\w$]+|\.|~([\w$]+)|#(view|([\w$]+))?)([\w$.^]*?)(?:[.[^]([\w$]+)\]?)?)$/g,ye=/(\()(?=\s*\()|(?:([([])\s*)?(?:(\^?)(!*?[#~]?[\w$.^]+)?\s*((\+\+|--)|\+|-|&&|\|\||===|!==|==|!=|<=|>=|[<>%*:?\/]|(=))\s*|(!*?[#~]?[\w$.^]+)([([])?)|(,\s*)|(\(?)\\?(?:(')|("))|(?:\s*(([)\]])(?=\s*[.^]|\s*$|[^([])|[)\]])([([]?))|(\s+)/g,ke=/[ \t]*(\r\n|\n|\r)/g,Ce=/\\(['"])/g,Te=/['"\\]/g,je=/(?:\x08|^)(onerror:)?(?:(~?)(([\w$_\.]+):)?([^\x08]+))\x08(,)?([^\x08]+)/gi,Ae=/^if\s/,Re=/<(\w+)[>\s]/,Ve=/[\x00`><"'&=]/g,$e=/[\x00`><\"'&=]/,Ee=/^on[A-Z]|^convert(Back)?$/,Me=/^\#\d+_`[\s\S]*\/\d+_`$/,Ne=Ve,Se=0,Fe={"&":"&","<":"<",">":">","\0":"�","'":"'",'"':""","`":"`","=":"="},Pe="html",Ie="object",Oe="data-jsv-tmpl",Ue="jsvTmpl",qe="For #index in nested block use #getIndex().",Je={},Ke=e.jsrender,Be=Ke&&t&&!t.render,Le={template:{compile:j},tag:{compile:C},viewModel:{compile:V},helper:{},converter:{}};if(ee={jsviews:xe,sub:{View:y,Err:d,tmplFn:U,parse:B,extend:l,extendCtx:Q,syntaxErr:O,onStore:{template:function(e,t){null===t?delete Je[e]:Je[e]=t}},addSetting:M,settings:{allowCode:!1},advSet:a,_ths:i,_gm:r,_tg:function(){},_cnvt:h,_tag:b,_er:I,_err:P,_cp:o,_sq:function(e){return"constructor"===e&&O(""),e}},settings:{delimiters:u,advanced:function(e){return e?(l(ue,e),de.advSet(),pe):ue}},map:N},(d.prototype=new Error).constructor=d,c.depends=function(){return[this.get("item"),"index"]},f.depends="index",y.prototype={get:p,getIndex:f,getRsc:_,getTmpl:v,ctxPrm:g,_is:"view"},de=ee.sub,pe=ee.settings,!(Ke||t&&t.render)){for(W in Le)E(W,Le[W]);oe=ee.converters,ae=ee.helpers,se=ee.tags,de._tg.prototype={baseApply:T,cvtArgs:m,bndArgs:x,ctxPrm:g},Y=de.topView=new y,t?(t.fn.render=Z,te=t.expando,t.observable&&(l(de,t.views.sub),ee.map=t.views.map)):(t={},G&&(e.jsrender=t),t.renderFile=t.__express=t.compile=function(){throw"Node.js: use npm jsrender, or jsrender-node.js"},t.isFunction=function(e){return"function"==typeof e},t.isArray=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},de._jq=function(e){e!==t&&(l(e,t),t=e,t.fn.render=Z,delete t.jsrender,te=t.expando)},t.jsrender=xe),le=de.settings,le.allowCode=!1,ne=t.isFunction,t.render=Je,t.views=ee,t.templates=ie=ee.templates;for(me in le)M(me);(pe.debugMode=function(e){return void 0===e?le.debugMode:(le.debugMode=e,le.onError=e+""===e?new Function("","return '"+e+"';"):ne(e)?e:void 0,pe)})(!1),ue=le.advanced={useViews:!1,_jsv:!1},se({"if":{render:function(e){var t=this,n=t.tagCtx,r=t.rendering.done||!e&&(arguments.length||!n.index)?"":(t.rendering.done=!0,void(t.selected=n.index));return r},contentCtx:!0,flow:!0},"for":{render:function(e){var t,n=!arguments.length,r=this,i=r.tagCtx,o="",a=0;return r.rendering.done||(t=n?i.view.data:e,void 0!==t&&(o+=i.render(t,n),a+=re(t)?t.length:1),(r.rendering.done=a)&&(r.selected=i.index)),o},flow:!0},props:{baseTag:"for",dataMap:N(D),flow:!0},include:{flow:!0},"*":{render:o,flow:!0},":*":{render:o,flow:!0},dbg:ae.dbg=oe.dbg=s}),oe({html:z,attr:z,url:function(e){return void 0!=e?encodeURI(""+e):null===e?e:""}})}return le=de.settings,re=(t||Ke).isArray,pe.delimiters("{{","}}","^"),Be&&Ke.views.sub._jq(t),t||Ke},window); +//# sourceMappingURL=jsrender.min.js.map diff --git a/theme/apps/gdcmvs/lib/js/jsrender.min.js.map b/theme/apps/gdcmvs/lib/js/jsrender.min.js.map new file mode 100644 index 000000000..e857189bc --- /dev/null +++ b/theme/apps/gdcmvs/lib/js/jsrender.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["jsrender.js"],"names":["factory","global","$","jQuery","exports","module","fn","define","amd","getDerivedMethod","baseMethod","method","ret","tag","this","prevBase","base","apply","arguments","getMethod","$isFunction","_d","noop","tagHandlersFromProps","tagCtx","prop","props","rHasHandlers","test","fix","constructor","prototype","retVal","val","dbgBreak","console","log","e","baseApply","JsViewsError","message","name","link","$extend","target","source","$viewsDelimiters","openChars","closeChars","$isArray","$views","$subSettings","delimiters","linkChar","charAt","delimOpenChar0","delimOpenChar1","delimCloseChar0","delimCloseChar1","rTag","$sub","RegExp","rTmpl","$viewsSettings","getView","inner","type","undefined","views","i","l","found","view","root","_","useKey","get","length","parent","getNestedIndex","index","getIndex","contextParameter","key","value","isContextCb","wrapped","deps","res","obsCtxPrm","storeView","isUpdate","isRenderCall","store","ctx","$helpers","it","linked","_cxp","scope","isTop","_ocps","_crcp","_ucp","_ceo","_ocp","unshift","cvtArgs","tagElse","ind","data","_vw","getTemplate","tmpl","getRsc","$templates","convertVal","converter","onError","argsLen","bindTo","boundTag","bnds","linkCtx","_lr","args","_bd","_tg","bnd","unlinked","inline","tagName","convert","flow","extendCtx","_er","onRender","convertArgs","bound","boundArgs","tagCtxs","error","slice","argOrProp","context","convertBoundArgs","getResource","resourceType","itemName","renderTag","parentView","makeArray","linkedElement","bindToLength","topView","tagDef","template","tags","attr","parentTag","m","itemRet","tagCtxCtx","ctxPrm","content","callInit","mapDef","thisMap","tagDataMap","contentCtx","parentTmpl","_is","lateRender","params","tmpls","render","renderContent","getTmpl","_ctr","init","dataMap","arrVws","dataBoundOnly","map","parents","parentTags","rendering","argDefault","isNaN","parseInt","noVws","HTML","linkedCtxParam","_cp","src","unmap","tgt","rWrappedInViewMarker","links","renderWithViews","$converters","html","View","contentTmpl","parentView_","self_","self","isArray","id","viewId","scp","indexStr","push","splice","compileChildResources","storeName","storeNames","resources","jsvStores","compileTag","Tag","baseTag","compiledDef","depends","$tags","_parentTmpl","compileTmpl","options","lookupTemplate","currentName","nodeType","elem","document","getElementById","innerHTML","getAttribute","tmplAttr","jsvTmpl","tmplName","setAttribute","compiledTmpl","tmplOrMarkup","_html","markup","tmplObject","tmplFn","replace","rEscapeQuotes","getDefaultVal","defaultVal","call","unmapArray","modelArr","arr","compileViewModel","GetNew","vm","iterate","action","getterType","ob","j","g","getters","getter","viewModels","JSON","parse","merge","viewModel","$expando","getterNames","mod","assigned","newModArr","k","model","$observable","refresh","concat","extend","proto","body","observable","privField","setProperty","set","Function","htmlTag","wrapMap","$subSettingsAdvanced","_wm","rFirstElem","exec","toLowerCase","div","trim","registerStore","storeSettings","theStore","item","compile","thisStore","onStore","OBJECT","getTgt","addSetting","st","Map","baseMap","noIteration","isTopRenderCall","prevData","prevIndex","result","useViews","setItemVar","newCtx","itemVar","newView","childView","itemResult","swapContent","outerOnRender","_wrp","syntaxError","helpers","contentView","onRenderError","fallback","Err","isLinkExpr","convertBack","hasElse","pushprecedingContent","shift","loc","substr","rNewLine","blockTagCheck","block","parseTag","all","bind","colon","codeTag","slash","bind2","closeBlock","late","pathBindings","ctxProps","paramsArgs","paramsProps","paramsCtxProps","useTrigger","allowCode","rUnescapeQuotes","rTestElseIf","current","substring","stack","pop","parseParams","rBuildHash","onerror","isCtx","keyToken","keyValue","arg","param","hasHandlers","newNode","parsedParam","bindings","astTop","buildCode","setPaths","pathsArr","paths","hasOwnProperty","skp","paramStructure","parts","parseTokens","lftPrn0","lftPrn","path","operator","err","eq","path2","prn","comma","lftPrn2","apos","quot","rtPrn","rtPrnDot","prn2","space","full","parsePath","allPath","not","object","helper","viewProperty","pathTokens","leafToken","subPath","binds","named","bindto","_jsvto","bndCtx","bd","theOb","_cpfn","sb","pathStart","parenDepth","expr","exprFn","newOb","rtSq","aposed","quoted","boundName","bndStack","prm","tmplLinks","indexOf","paramIndex","split","join","rPath","fnCall","0","rParams","ast","node","hasTag","hasEncoder","getsVal","hasCnvt","useCnvt","tmplBindings","boundOnErrStart","boundOnErrEnd","tagRender","nestedTmpls","nestedTmpl","tagAndElses","nextIsElse","oldCode","isElse","isGetVal","tagCtxFn","tagStart","trigger","tmplBindingKey","templates","converters","code","tmplOptions","debug","debugMode","_tag","parentContext","getCharEntity","ch","charEntities","charCodeAt","getTargetProps","$fnRender","tmplElem","jquery","htmlEncode","text","rIsHtml","rHtmlEncode","setGlobals","jsvStoreName","setting","versionNumber","rAttrEncode","&","<",">","\u0000","'","\"","`","=","$render","jsr","jsrender","jsrToJq","jsviews","sub","syntaxErr","settings","advSet","_ths","_gm","_cnvt","_err","_sq","token","advanced","Error","bndArgs","expando","renderFile","__express","isFunction","Array","obj","_jq","jq","_jsv","if","done","selected","for","finalElse","include","*",":*","dbg","url","encodeURI","window"],"mappings":";;CAaC,SAASA,EAASC,GAElB,GAAIC,GAAID,EAAOE,MAEQ,iBAAZC,SACVC,OAAOD,QAAUF,EACdF,EAAQC,EAAQC,GAChB,SAASA,GACV,GAAIA,IAAMA,EAAEI,GACX,KAAM,wBAEP,OAAON,GAAQC,EAAQC,IAEG,kBAAXK,SAAyBA,OAAOC,IACjDD,OAAO,WACN,MAAOP,GAAQC,KAGhBD,EAAQC,GAAQ,IAKlB,SAASA,EAAQC,GACjB,YA8HA,SAASO,GAAiBC,EAAYC,GACrC,MAAO,YACN,GAAIC,GACHC,EAAMC,KACNC,EAAWF,EAAIG,IAKhB,OAHAH,GAAIG,KAAON,EACXE,EAAMD,EAAOM,MAAMJ,EAAKK,WACxBL,EAAIG,KAAOD,EACJH,GAIT,QAASO,GAAUT,EAAYC,GAc9B,MAXIS,IAAYT,KACfA,EAASF,EACNC,EAEEA,EAAWW,GACVX,EACAD,EAAiBa,EAAMZ,GAHxBY,EAIHX,GAEFA,EAAOU,GAAK,GAENV,EAGR,QAASY,GAAqBV,EAAKW,GAClC,GAAIC,GACHC,EAAQF,EAAOE,KAChB,KAAKD,IAAQC,IACRC,GAAaC,KAAKH,IAAWZ,EAAIY,IAASZ,EAAIY,GAAMI,MACvDhB,EAAIY,GAAiB,YAATA,EAAqBN,EAAUN,EAAIiB,YAAYC,UAAUN,GAAOC,EAAMD,IAASC,EAAMD,IAOpG,QAASO,GAAOC,GACf,MAAOA,GAGR,QAASX,KACR,MAAO,GAGR,QAASY,GAASD,GAEjB,IAEC,KADAE,SAAQC,IAAI,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,OACnBvb,EAAQ0b,EAAYtf,EAAOgD,KAAKsC,KAAO7E,EACzBkC,SAAViB,IACHsO,GAAUlS,EAAOuJ,OAAO3F,EAAO0b,GAC/BH,GAAQ1d,GAASmC,GAASA,EAAMP,OAAS,IAEtCiI,EAAKpB,UAAUiV,KAAOA,KACzB7T,EAAK8T,SAAWpf,EAAOwD,QAIlB0O,GAERrL,MAAM,GAEP3G,OACCmM,QAAS,MACTzC,QAASA,EAAQsS,GACjBrV,MAAM,GAEP0Y,SACC1Y,MAAM,GAEP2Y,KAECjW,OAAQ/I,EACRqG,MAAM,GAEP4Y,MAEClW,OAAQ/I,EACRqG,MAAM,GAEP6Y,IAAKnb,GAASmb,IAAM1U,GAAY0U,IAAMhf,IAGvCsK,IACCC,KAAMqR,EACNhU,KAAMgU,EACNqD,IAAK,SAASpD,GAEb,MAAe5Z,SAAR4Z,EAAoBqD,UAAU,GAAKrD,GAAiB,OAATA,EAAgBA,EAAO,MAa5E,MARA5a,IAAeS,GAAK0b,SACpBrc,IAAY/C,GAAG8e,IAAKjS,QACpBhJ,GAAeX,WAAW,KAAM,KAAM,KAGlC8b,IACHF,GAAI5a,MAAMgb,IAAImB,IAAIrgB,GAEZA,GAAK8e,IACTqC","file":"jsrender.min.js","sourcesContent":["/*! JsRender v0.9.90 (Beta): http://jsviews.com/#jsrender */\n/*! **VERSION FOR WEB** (For NODE.JS see http://jsviews.com/download/jsrender-node.js) */\n/*\n * Best-of-breed templating in browser or on Node.js.\n * Does not require jQuery, or HTML DOM\n * Integrates with JsViews (http://jsviews.com/#jsviews)\n *\n * Copyright 2017, Boris Moore\n * Released under the MIT License.\n */\n\n//jshint -W018, -W041, -W120\n\n(function(factory, global) {\n\t// global var is the this object, which is window when running in the usual browser environment\n\tvar $ = global.jQuery;\n\n\tif (typeof exports === \"object\") { // CommonJS e.g. Browserify\n\t\tmodule.exports = $\n\t\t\t? factory(global, $)\n\t\t\t: function($) { // If no global jQuery, take optional jQuery passed as parameter: require('jsrender')(jQuery)\n\t\t\t\tif ($ && !$.fn) {\n\t\t\t\t\tthrow \"Provide jQuery or null\";\n\t\t\t\t}\n\t\t\t\treturn factory(global, $);\n\t\t\t};\n\t} else if (typeof define === \"function\" && define.amd) { // AMD script loader, e.g. RequireJS\n\t\tdefine(function() {\n\t\t\treturn factory(global);\n\t\t});\n\t} else { // Browser using plain {% endif %} + {% if current_page.title == config.extra.gdcmvs_viewer_page_id %} + + + + + + {% endif %}