1 |
- function objectIsEmpty(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(function(e){Drupal.behaviors.init_theme={};Drupal.behaviors.init_theme.attach=function(t){e("#messages-and-help > div.messages:not(.processed)").addClass("processed").each(function(){if(e("a",this).size()||e(this).is(".error")||e(this).is(".warning")||e(this).text().length>100){e(this).prepend("<span class='close'>X</span>");e("span.close",this).click(function(){e(this).parent().slideUp("fast")})}else e(this).animate({opacity:1},5e3,"linear",function(){e(this).slideUp("fast")})});!e("body").is(".front")&&!e("body").is(".node-type-performance")&&e("#main").jScrollPane({autoReinitialise:!0,hijackInternalLinks:!0});e("#block-menu-block-2 ul.menu").listnav({cookieName:"test",attribute:"nom"})};Drupal.behaviors.init_timeline={};Drupal.behaviors.init_timeline.attach=function(t){function Dt(t,n){var t=t||e("body"),n=n||!1;e.paScPlayer.stopAll();var r=e('a[rel="soundcloud"]',t);if(r.size()){r.parents(".field-item").find("span.ext").remove();r.paScPlayer({autoplay:n})}}e.paScPlayer.defaults.onDomReady=null;e.paScPlayer.defaults.loadArtworks=0;if(e("html").is(".oldie"))e("html").addClass("classic-nav");else if(e("body").is(".front")||e("body").is(".node-type-performance")){var n=e('<div class="modal">').appendTo(e('<div id="intro-wrapper"><div class="bg"></div></div>').appendTo("body")).verticalcenter(),r,i,s,o,u,a={},f=[],l=[],c,h=["dot","titles","thumbnails","images"],p,d={},v=[],m={},g={},y=[],b,w="",E={intro:"layout-intro",timeline:"layout-timeline",perfnode:"layout-perfnode"},S,x=!1,T,N,C,k,L,A=Drupal.settings.basePath+Drupal.settings.pathPrefix,O=Drupal.settings.perfarttimeline.strings;function M(){if(Mt("advanced-nav")!="yes"&&Mt("classic-nav")!="yes"){e.getJSON(A+"perfart/ajax/home",function(t){console.log("data",t);n.prepend(t.front).verticalcenter();e(".nodetitle",n).hide()});var t=e('<div class="btns">').appendTo(n);t.append(e("<span>"+O.advanced_nav+"</span>").bind("click",function(e){Ot("advanced-nav","yes");t.hide();D()}));t.append(e("<span>"+O.classical_nav+"</span>").bind("click",function(e){Ot("classic-nav","yes");_()}))}else Mt("advanced-nav")=="yes"?D():_()}function _(){B();e("html").addClass("classic-nav")}function D(){r=e('<div id="timeline-loader">').appendTo(n).append("<div>"+O.loading_timeline+"</div>").append(e('<div class="progress">'));i=e('<div id="perfnode"><div class="loader"/><div class="close"/><div class="node-container"><div class="scroller"/></div></div>').appendTo("#center");s=e('<div id="filters">').appendTo("#center");o=e("<div>").attr("id","timeline").appendTo("#center").append('<h3 class="title">Chronologie</h3>');u=e("<div>").attr("id","timeline-container").appendTo("#timeline");N=e('<div class="next-perf">').appendTo(i);C=e('<div class="prev-perf">').appendTo(i);L=e('<div class="timeline-modal">').appendTo("body");e("body").addClass("view-mode-"+h[0]);c=new links.Timeline(document.getElementById("timeline-container"));var t={width:"100%",height:u.height()+"px",style:"dot",editable:!1,axisOnTop:!0,min:new Date("1950"),max:new Date("2020"),start:new Date("1950"),end:new Date("2020"),showCurrentTime:!1,animate:!0,animateZoom:!0,intervalMin:31536e6,showNavigation:!0,eventMargin:0,eventMarginAxis:4,mousewheel:"move",dblclick:"zoom",language:Drupal.settings.perfarttimeline.language};c.draw([],t);N.bind("click",Tt);C.bind("click",Tt);e(".close",i).bind("click",function(e){z()});e(".node-container",i).height(i.height());kt("intro");q();I();k=new Date;P()}function P(t){t=t||0;var n=A+"perfart/ajax/dates/"+t,i;t==0&&e(".progress",r).width("5%");e.getJSON(n,function(n){var s,o,u;e(".progress",r).width((t+1)*(100/Drupal.settings.perfart.effectuations_pages)+"%");for(ind in n){if(n[ind].start===undefined)continue;s=n[ind];s.start=new Date(s.start.year,s.start.month,s.start.day);typeof s.end!="undefined"&&(s.end=new Date(s.end.year,s.end.month,s.end.day));for(filterstitle in s.filters){if(d[filterstitle]===undefined){d[filterstitle]=[];v[filterstitle]=""}for(tid in s.filters[filterstitle]){m[tid]===undefined&&(m[tid]=filterstitle);s.tids===undefined&&(s.tids=[]);s.tids.push(tid);i=new RegExp("tid"+tid+";");if(v[filterstitle].search(i)!=-1)continue;v[filterstitle]+="tid"+tid+";";s.filters[filterstitle][tid].visible=!0;d[filterstitle].push(s.filters[filterstitle][tid])}}for(var c=0;c<s.tids.length;c++){g[s.tids[c]]===undefined&&(g[s.tids[c]]=[]);for(var h=0;h<s.tids.length;h++)s.tids[h]!=s.tids[c]&&array_indexOf(g[s.tids[c]],s.tids[h])===-1&&g[s.tids[c]].push(s.tids[h])}a[s.nid]=s;f.push(s);l.push(s.nid)}if(t+1==Drupal.settings.perfart.effectuations_pages){e(".progress",r).width("100%").addClass("complete");H()}else P(t+1)}).error(function(n,i,s){console.log("error "+i);console.log("incoming Text ",n);console.log("ERROR on loading dates page "+t);e(".progress",r).width((t+1)*(100/Drupal.settings.perfart.effectuations_pages)+"%");if(t+1==Drupal.settings.perfart.effectuations_pages){e(".progress",r).width("100%").addClass("complete");H()}else P(t+1)})}function H(){U();e("body").is(".front")?j():e("body").is(".node-type-performance")&&F();setTimeout(B,400)}function B(){n.css({"margin-top":"-"+(n.height()+100)+"px"}).siblings().hide();setTimeout(function(){n.parent().hide()},900)}function j(){var e=new Date,t=Mt("timelinelaunched")=="ok"?5e3:1e4,n=t-(e.getTime()-k.getTime());n<0?z():setTimeout(function(){Ot("timelinelaunched","ok",1);z()},n)}function F(){var t=e("body").attr("class"),n=t.match(/page-node-([0-9]+)/),r=n[1],i=f[array_indexOf(l,r)];vt(a[r].ajax_link)}function I(){e(window).bind("keydown",function(e){switch(e.keyCode){case 39:Nt();break;case 37:Ct();break;case 38:if(x)break;case 40:z()}})}function q(){var t=History.getState();e(window).bind("statechange",function(){R(History.getState())})}function R(e){if(objectIsEmpty(e.data)){kt("timeline");x=!1;mt()}else if(x!=e.data.json.nid){mt(a[e.data.json.nid].node_translation);lt();kt("perfnode");gt(e.data.json)}}function U(){et();W();Y();e("body").addClass("timeline");e("h3.title",o).bind("click",function(e){z()});ct()}function z(){kt("timeline");mt("");History.pushState({},O.site_name,A)}function W(){e("div.date",u).bind("click",X).bind("mouseenter",V).bind("mouseleave",K)}function X(t){t.preventDefault();vt(e(this).attr("href"));return!1}function V(t){var n=e(t.currentTarget);L.stop(!0,!0).css({top:t.clientY-L.height()-5,left:t.clientX+5});var r=!0;if(e("body").is(".view-mode-dot"))L.html(n.find(".text-content").html());else if(typeof a[n.attr("nid")].thumb!="undefined")L.html(a[n.attr("nid")].thumb);else{L.html("");r=!1}if(r){n.bind("mousemove",J);L.fadeIn()}}function J(e){L.css({top:e.clientY-L.height()-5,left:e.clientX+5})}function K(t){e(t.currentRarget).unbind("mousemove",J);L.stop(!0,!0).fadeOut()}function Q(){if(c.visibleItemsChanged){c.visibleItems.length<4?p=3:c.visibleItems.length<=10?p=2:c.visibleItems.length<=120?p=1:p=0;for(var t=0,n=h.length;t<n;t++)t==p?e("body").addClass("view-mode-"+h[t]):e("body").removeClass("view-mode-"+h[t]);c.itemsSizeChanged=!0}}links.events.addListener(c,"on-before-stack-events",Q);function G(){var e,t,n,r;f=[];l=[];for(nid in a){e=a[nid];r=!0;if(y.length)for(var i=y.length-1;i>=0;i--)if(array_indexOf(e.tids,y[i])==-1){r=!1;break}if(r){f.push(e);l.push(nid)}}Y()}function Y(){kt("timeline");c.draw(f);c.setVisibleChartRangeAuto();W()}function Z(e){var t=array_indexOf(l,e),n=f[t];c.setSelection([{row:t}]);c.setVisibleChartRange(n.start,n.start)}function et(){var t=0;for(title in d){var n=e('<input class="search" type="text" value="'+O.search+'" key="'+title+'">'),r=e('<div class="filter">').addClass(title).addClass("filter-"+t).appendTo(s).append('<div class="list"><ul></ul></div>').append('<h3 class="title">'+Drupal.settings.perfart.strings[title]+"</h3>").append(n).wrapInner('<div class="filters-selection">').append('<div class="filters-selected">'),i=e(".list ul",r);title=="peoples"?d[title].sort(tt):d[title].sort(nt);for(filter in d[title])typeof d[title][filter]["tid"]!="undefined"&&i.append(e('<li class="'+d[title][filter].tid+'"></li>').append('<span class="'+d[title][filter].tid+'">'+d[title][filter].name+"</span>"));n.bind("focus",rt).bind("keydown",it).bind("valuechanged",st);e("li",i).bind("click",ot);t++}e(".list","#filters").jScrollPane({autoReinitialise:!0})}function tt(e,t){if(typeof e=="object"){var n=e.nom?e.nom:e.name,r=t.nom?t.nom:t.name;n=n.toLowerCase().latinise();r=r.toLowerCase().latinise();if(n<r)return-1;if(n>r)return 1}return 0}function nt(e,t){if(typeof e=="object"){var n=e.name.toLowerCase().latinise(),r=t.name.toLowerCase().latinise();if(n<r)return-1;if(n>r)return 1}return 0}function rt(t){var n=e(this);n.attr("value")==O.search&&e(this).attr("value","")}function it(t){var n=e(this);setTimeout(function(){n.trigger("valuechanged")},1)}function st(t){console.log("filterFiltersList",t);var n=e(this),r=n.val(),i=d[n.attr("key")],s=n.siblings(".list"),o,u;clearTimeout(b);if(r!="")b=setTimeout(function(){console.log("value = "+r);o=new RegExp(r,"i");for(key in i){u=i[key];if(u.name.search(o)==-1){if(u.visible){u.visible=!1;e("li."+u.tid,s).height(0)}}else if(!u.visible){u.visible=!0;e("li."+u.tid,s).height("auto")}}},500);else for(key in i){u=i[key];u.visible=!0;e("li."+u.tid,s).height("auto")}}function ot(t){var n=e(this);if(!n.is(".selected")){var r=e("span",n).clone(),i=r.attr("class");n.addClass("selected").parents(".filter").find(".filters-selected").append(r);r.bind("click",ut);var s=jQuery.Event("click");s.dontfilterdate=!0;e(".close-search","#search-block-form").trigger(s);y.push(i);at();G();ft()}}function ut(t){if(!e("body").is(".layout-timeline"))return;console.log("onClickRemoveFilter",t);var n=e(this),r=n.attr("class"),i=t.dontfilterdate||!1;n.parents(".filter").find(".filters-selection").find("li."+r).removeClass("selected");n.remove();setTimeout(function(){array_remove(y,r);at();ft();i||G()},5)}function at(){var t,n;e(".filter .filters-selection li:not(.selected)").each(function(){t=!0;n=e(this).attr("class");if(y.length)for(var r=y.length-1;r>=0;r--)if(array_indexOf(g[y[r]],n)==-1){t=!1;break}t?e(this).height("auto"):e(this).height(0)})}function ft(){var t=0;e(".filters-selected","#filters").each(function(n,r){t=e(r).height()>t?e(r).height():t});s.css({marginBottom:t+5+"px"})}function lt(t){var n=jQuery.Event("click");n.dontfilterdate=!0;console.log("resetFilters : click",n);e("#filters .filters-selected span").trigger(n)}function ct(){e("#search-block-form").bind("submit",function(t){var n=e(this);setTimeout(function(){var e=n.find('input[name*="search_block_form"]').val();ht(e,n)},10);return!1})}function ht(t,n){if(t!==undefined&&t!==""&&t.length>=2){t=t.replace("/"," ");n.addClass("loading");e.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+"perfart/search_api/",{typed:t},function(e){n.removeClass("loading");console.log("json",e);pt(e)})}}function pt(t){console.log("searchFiltreTimeline | json",t);var n;f=[];l=[];for(var n in t.results)if(typeof a[n]!="undefined"){f.push(a[n]);l.push(n)}lt(!1);Y();e(".container-inline .close-search","#search-block-form").size()||e(".container-inline","#search-block-form").append(e('<span class="close-search">').bind("click",dt))}function dt(t){console.log("resetSearch");e(t.currentTarget).remove();var n=t.dontfilterdate||!1;e("#search-block-form").find('input[name*="search_block_form"]').val("");if(n)return;f=[];l=[];for(nid in a){f.push(a[nid]);l.push(nid)}Y()}function vt(t){i.addClass("loading").children(".node");e(".node-container .node",i).hide();St();kt("perfnode");t=t.replace(/^\//,"");t=A+t;e.getJSON(t,function(e){gt(e);History.pushState({json:e,ajaxpath:t},a[e.nid].perf_title+" | "+O.site_name,A+a[e.nid].node_link);mt(a[e.nid].node_translation)})}function mt(t){mt.homeTranslationLink||(mt.homeTranslationLink=e(".language-switcher-locale-url li:not(.active) a").attr("href"));var n=t?Drupal.settings.basePath+t:mt.homeTranslationLink;e(".language-switcher-locale-url li:not(.active) a").attr("href",n)}function gt(t){Z(t.nid);var n=e(".node-container",i);i.removeClass("loading");n.find(".scroller").html(t.node_view).children(".node").children().addClass("grid-block");yt(e(".scroller>.node",n));e(".node .node-title",n).after(e(".node figure.grid_large",n));e(".node .field-type-textauthor",n).children(".field-item").jScrollPane();Dt(n);n.bind("grid_ready",Et);S=new Lt(n,{cell_w:50,cell_h:50,padding:{t:0,r:0,b:0,l:0},gouttiere:5,grille:!1,decalage:!1,latitude:0,augmentable:!0});wt(n);xt(t.nid);x=t.nid}function yt(e){array_randomize(e.children("figure")).each(function(e){bt(this,!0,e)});array_randomize(e.children().find("figure")).each(function(e){bt(this)})}function bt(t,n,r){var i=n||!1,s,o;e("img:not([path])",t).each(function(){e(this).attr("path",e(this).attr("src"))});e("img",t).attr("src","");i?r==0?s="grid_large":r<5?s="grid_medium":s="grid_small":s="grid_medium";o=e("img."+s,t);o.attr("src",o.attr("path"));e(t).css({width:o.attr("width"),height:o.attr("height")}).addClass(s);e("img:not(.blank,."+s+")",t).remove()}function wt(t){e("figure",t).bind("contextmenu",function(e){alert("Cette image est soumise au droit d'auteur.");return!1}).addClass("protected")}function Et(t){e(".node-container",i).find(".scroller").height(t.grid.maxheight);if(!T){var n=e(".node-container",i).jScrollPane({verticalGutter:5,autoReinitialise:!0});T=n.data("jsp")}}function St(){C.attr("url","");N.attr("url","")}function xt(e){var t=array_indexOf(l,e);typeof l[t-1]!="undefined"?C.attr("url",a[l[t-1]].ajax_link).show():C.hide();typeof l[t+1]!="undefined"?N.attr("url",a[l[t+1]].ajax_link).show():N.hide()}function Tt(t){var n=e(this).attr("url");n!=""&&vt(n)}function Nt(){if(x){var e=array_indexOf(l,x);vt(a[l[e+1]].ajax_link)}}function Ct(){if(x){var e=array_indexOf(l,x);vt(a[l[e-1]].ajax_link)}}function kt(t){for(key in E)e("body").removeClass(E[key]);e("body").addClass(E[t])}function Lt(t,n){function d(){f++;if(f==l){var e=jQuery.Event("grid_ready");e.grid=u;i.trigger(e)}}function v(t){var n=e(t),r=0,i=0,o=[];r=Math.ceil(n.width()/(u.settings.cell_w+u.settings.gouttiere)),i=Math.ceil(n.height()/(u.settings.cell_h+u.settings.gouttiere));o=y(r,i);if(o.length>0){var a=Math.floor((o.length-1)*.5+(-2+Math.random()*4));a=a>o.length-1?o.length-1:a<0?0:a;var f=o[a],l=f.getPos().l+i,c=f.getPos().c+r;for(var h=f.getPos().l;h<l;h++)for(var p=f.getPos().c;p<c;p++){var g=s[h][p];g.setFull()}var b=f.getPos().l*(u.settings.cell_h+u.settings.gouttiere),w=f.getPos().c*(u.settings.cell_w+u.settings.gouttiere),E=u.settings.latitude;b=u.settings.decalage?b+Math.round(Math.random()*E-E/2):b;w=u.settings.decalage?w+Math.round(Math.random()*E-E/2):w;n.css({top:b+u.settings.padding.t,left:w+u.settings.padding.l});u.maxheight=Math.max(b+u.settings.padding.t+n.height(),u.maxheight);u.maxwidth=Math.max(w+u.settings.padding.l+n.width(),u.maxwidth);d()}else if(!u.settings.augmentable){n.css({border:"2px solid red",opacity:.2}).remove();d()}else{m();v(t)}}function m(){var e=u.settings.lines;u.settings.lines++;s[e]=new Array;for(var t=0;t<u.settings.columns;t++)s[e][t]=new b(u,t,e);g()}function g(){for(var e=u.settings.lines-1;e>=0;e--)for(var t=u.settings.columns-1;t>=0;t--)s[e][t].refresh()}function y(e,t){var n=new Array;for(var r=0;r<u.settings.lines;r++)for(var i=0;i<u.settings.columns;i++){var o=s[r][i];if(o.isFree()&&o.getAround().right+1>=e&&o.getAround().bottom+1>=t){var a=!0;for(var f=1;f<e;f++){var l=s[r][i+f];if(l.getAround().bottom+1<t){a=!1;break}}a&&n.push(o)}}return n}function b(t,n,r){function p(){d();v()}function d(){if(o>0){var e=s[u][o-1];e.setFreeCellsRight(f+1)}}function v(){if(u>0){var e=s[u-1][o];e.setFreeCellsBottom(l+1)}}var i=t,o=n,u=r,a=!0,f=i.settings.columns-1-n,l=i.settings.lines-1-r;if(i.settings.grille){var c="<table>";c+="<tr><td> </td><td> </td><td> </td></tr>";c+='<tr><td> </td><td> </td><td class="fr">'+f+"</td></tr>";c+='<tr><td> </td><td class="fb">'+l+"</td><td> </td></tr>";c+="</table>";i.fiche.find(".grille").append('<div class="cell-'+r+"-"+n+'">'+c+"<div>");var h=e(".cell-"+r+"-"+n,i.fiche.find(".grille"));h.css({position:"absolute",top:u*(i.settings.cell_h+i.settings.gouttiere)+i.settings.padding.t,left:o*(i.settings.cell_w+i.settings.gouttiere)+i.settings.padding.l,width:i.settings.cell_w,height:i.settings.cell_h,backgroundColor:"#00FF00",opacity:.6}).find("table").css({width:"100%",height:"100%"}).find("td").css({width:"30%"})}this.isFree=function(){return a};this.getPos=function(){return{c:o,l:u}};this.getAround=function(){return{right:f,bottom:l}};this.setFull=function(){a=!1;l=-1;f=-1;if(i.settings.grille){h.css({backgroundColor:"#0000FF"});e(".fb",h).html(l);e(".fr",h).html(f)}p()};this.setFreeCellsRight=function(t){if(a){f=t;i.settings.grille&&e(".fr",h).html(f);d()}};this.setFreeCellsBottom=function(t){if(a){l=t;i.settings.grille&&e(".fb",h).html(l);v()}};this.refresh=function(){a&&v()};if(typeof b.initialized=="undefined"){b.prototype.infos=function(){};b.initialized=!0}}var r={padding:{t:20,r:25,b:20,l:25},gouttiere:20,cell_w:155,cell_h:50,lines:0,columns:0,grille:!1,decalage:!1,latitude:50,augmentable:!1},i=t,s=new Array,o=new Array,u=this,a=0,f=0,l=0,c;this.fiche=i;this.settings=e.extend({},r,n);this.settings.lines=Math.floor((t.height()-this.settings.padding.t-this.settings.padding.b)/(this.settings.cell_h+this.settings.gouttiere));this.settings.columns=Math.floor((t.width()- -this.settings.padding.r-this.settings.padding.l)/(this.settings.cell_w+this.settings.gouttiere));this.maxheight=this.maxwidth=0;if(this.settings.grille){i.append('<div class="grille"><div>');e(".grille",i).css({width:"100%",height:"100%",position:"relative"})}for(var h=0;h<this.settings.lines;h++){s[h]=new Array;for(var p=0;p<this.settings.columns;p++)s[h][p]=new b(this,p,h)}l=e(".grid-block",i).length;this.settings.grille?c=setInterval(function(){if(a<l){v(e(".grid-block",i).eq(a));a++}else clearInterval(c)},1e3):e(".grid-block",i).each(function(){v(this)});this.clear=function(){e(".grille",i).fadeOut(200,function(){e(this).remove()})}}function At(e,t){onresize=function(){clearTimeout(t);t=setTimeout(e,100)};return e}At(function(){typeof c!="undefined"&&c.redraw()});function Ot(e,t,n){if(n){var r=new Date;r.setTime(r.getTime()+n*24*60*60*1e3);var i="; expires="+r.toGMTString()}else var i="";document.cookie=e+"="+t+i+"; path=/"}function Mt(e){var t=e+"=",n=document.cookie.split(";");for(var r=0;r<n.length;r++){var i=n[r];while(i.charAt(0)==" ")i=i.substring(1,i.length);if(i.indexOf(t)==0)return i.substring(t.length,i.length)}return null}function _t(e){Ot(e,"",-1)}M()}Dt()};e.fn.verticalcenter=function(){return this.each(function(t){e(this).css({"margin-top":(e(this).parent().height()-e(this).height())/2})})};e.fn.innerheight=function(){var t=0;this.chlidren().each(function(n){t=t+e(this).height()+parseInt(e(this).css("margin-top"))+parseInt(e(this).css("margin-bottom"))+parseInt(e(this).css("padding-top"))+parseInt(e(this).css("padding-bottom"))});return t}})(jQuery);array_remove=function(e){var t,n=arguments,r=n.length,i;while(r&&e.length){t=n[--r];while((i=e.indexOf(t))!=-1)e.splice(i,1)}return e};array_indexOf=function(e,t,n){n=n||0;var r=e.length;while(n<r){if(e[n]===t)return n;++n}return-1};array_randomize=function(e){for(var t,n,r=e.length;r;t=parseInt(Math.random()*r),n=e[--r],e[r]=e[t],e[t]=n);return e};var Latinise={};Latinise.latin_map={"Á":"A","Ă":"A","Ắ":"A","Ặ":"A","Ằ":"A","Ẳ":"A","Ẵ":"A","Ǎ":"A","Â":"A","Ấ":"A","Ậ":"A","Ầ":"A","Ẩ":"A","Ẫ":"A","Ä":"A","Ǟ":"A","Ȧ":"A","Ǡ":"A","Ạ":"A","Ȁ":"A","À":"A","Ả":"A","Ȃ":"A","Ā":"A","Ą":"A","Å":"A","Ǻ":"A","Ḁ":"A","Ⱥ":"A","Ã":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ḃ":"B","Ḅ":"B","Ɓ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ć":"C","Č":"C","Ç":"C","Ḉ":"C","Ĉ":"C","Ċ":"C","Ƈ":"C","Ȼ":"C","Ď":"D","Ḑ":"D","Ḓ":"D","Ḋ":"D","Ḍ":"D","Ɗ":"D","Ḏ":"D","Dz":"D","Dž":"D","Đ":"D","Ƌ":"D","DZ":"DZ","DŽ":"DZ","É":"E","Ĕ":"E","Ě":"E","Ȩ":"E","Ḝ":"E","Ê":"E","Ế":"E","Ệ":"E","Ề":"E","Ể":"E","Ễ":"E","Ḙ":"E","Ë":"E","Ė":"E","Ẹ":"E","Ȅ":"E","È":"E","Ẻ":"E","Ȇ":"E","Ē":"E","Ḗ":"E","Ḕ":"E","Ę":"E","Ɇ":"E","Ẽ":"E","Ḛ":"E","Ꝫ":"ET","Ḟ":"F","Ƒ":"F","Ǵ":"G","Ğ":"G","Ǧ":"G","Ģ":"G","Ĝ":"G","Ġ":"G","Ɠ":"G","Ḡ":"G","Ǥ":"G","Ḫ":"H","Ȟ":"H","Ḩ":"H","Ĥ":"H","Ⱨ":"H","Ḧ":"H","Ḣ":"H","Ḥ":"H","Ħ":"H","Í":"I","Ĭ":"I","Ǐ":"I","Î":"I","Ï":"I","Ḯ":"I","İ":"I","Ị":"I","Ȉ":"I","Ì":"I","Ỉ":"I","Ȋ":"I","Ī":"I","Į":"I","Ɨ":"I","Ĩ":"I","Ḭ":"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS","Ĵ":"J","Ɉ":"J","Ḱ":"K","Ǩ":"K","Ķ":"K","Ⱪ":"K","Ꝃ":"K","Ḳ":"K","Ƙ":"K","Ḵ":"K","Ꝁ":"K","Ꝅ":"K","Ĺ":"L","Ƚ":"L","Ľ":"L","Ļ":"L","Ḽ":"L","Ḷ":"L","Ḹ":"L","Ⱡ":"L","Ꝉ":"L","Ḻ":"L","Ŀ":"L","Ɫ":"L","Lj":"L","Ł":"L","LJ":"LJ","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ń":"N","Ň":"N","Ņ":"N","Ṋ":"N","Ṅ":"N","Ṇ":"N","Ǹ":"N","Ɲ":"N","Ṉ":"N","Ƞ":"N","Nj":"N","Ñ":"N","NJ":"NJ","Ó":"O","Ŏ":"O","Ǒ":"O","Ô":"O","Ố":"O","Ộ":"O","Ồ":"O","Ổ":"O","Ỗ":"O","Ö":"O","Ȫ":"O","Ȯ":"O","Ȱ":"O","Ọ":"O","Ő":"O","Ȍ":"O","Ò":"O","Ỏ":"O","Ơ":"O","Ớ":"O","Ợ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ȏ":"O","Ꝋ":"O","Ꝍ":"O","Ō":"O","Ṓ":"O","Ṑ":"O","Ɵ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Õ":"O","Ṍ":"O","Ṏ":"O","Ȭ":"O","Ƣ":"OI","Ꝏ":"OO","Ɛ":"E","Ɔ":"O","Ȣ":"OU","Ṕ":"P","Ṗ":"P","Ꝓ":"P","Ƥ":"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q","Ŕ":"R","Ř":"R","Ŗ":"R","Ṙ":"R","Ṛ":"R","Ṝ":"R","Ȑ":"R","Ȓ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C","Ǝ":"E","Ś":"S","Ṥ":"S","Š":"S","Ṧ":"S","Ş":"S","Ŝ":"S","Ș":"S","Ṡ":"S","Ṣ":"S","Ṩ":"S","Ť":"T","Ţ":"T","Ṱ":"T","Ț":"T","Ⱦ":"T","Ṫ":"T","Ṭ":"T","Ƭ":"T","Ṯ":"T","Ʈ":"T","Ŧ":"T","Ɐ":"A","Ꞁ":"L","Ɯ":"M","Ʌ":"V","Ꜩ":"TZ","Ú":"U","Ŭ":"U","Ǔ":"U","Û":"U","Ṷ":"U","Ü":"U","Ǘ":"U","Ǚ":"U","Ǜ":"U","Ǖ":"U","Ṳ":"U","Ụ":"U","Ű":"U","Ȕ":"U","Ù":"U","Ủ":"U","Ư":"U","Ứ":"U","Ự":"U","Ừ":"U","Ử":"U","Ữ":"U","Ȗ":"U","Ū":"U","Ṻ":"U","Ų":"U","Ů":"U","Ũ":"U","Ṹ":"U","Ṵ":"U","Ꝟ":"V","Ṿ":"V","Ʋ":"V","Ṽ":"V","Ꝡ":"VY","Ẃ":"W","Ŵ":"W","Ẅ":"W","Ẇ":"W","Ẉ":"W","Ẁ":"W","Ⱳ":"W","Ẍ":"X","Ẋ":"X","Ý":"Y","Ŷ":"Y","Ÿ":"Y","Ẏ":"Y","Ỵ":"Y","Ỳ":"Y","Ƴ":"Y","Ỷ":"Y","Ỿ":"Y","Ȳ":"Y","Ɏ":"Y","Ỹ":"Y","Ź":"Z","Ž":"Z","Ẑ":"Z","Ⱬ":"Z","Ż":"Z","Ẓ":"Z","Ȥ":"Z","Ẕ":"Z","Ƶ":"Z","IJ":"IJ","Œ":"OE","ᴀ":"A","ᴁ":"AE","ʙ":"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F","ɢ":"G","ʛ":"G","ʜ":"H","ɪ":"I","ʁ":"R","ᴊ":"J","ᴋ":"K","ʟ":"L","ᴌ":"L","ᴍ":"M","ɴ":"N","ᴏ":"O","ɶ":"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P","ʀ":"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W","ʏ":"Y","ᴢ":"Z","á":"a","ă":"a","ắ":"a","ặ":"a","ằ":"a","ẳ":"a","ẵ":"a","ǎ":"a","â":"a","ấ":"a","ậ":"a","ầ":"a","ẩ":"a","ẫ":"a","ä":"a","ǟ":"a","ȧ":"a","ǡ":"a","ạ":"a","ȁ":"a","à":"a","ả":"a","ȃ":"a","ā":"a","ą":"a","ᶏ":"a","ẚ":"a","å":"a","ǻ":"a","ḁ":"a","ⱥ":"a","ã":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ḃ":"b","ḅ":"b","ɓ":"b","ḇ":"b","ᵬ":"b","ᶀ":"b","ƀ":"b","ƃ":"b","ɵ":"o","ć":"c","č":"c","ç":"c","ḉ":"c","ĉ":"c","ɕ":"c","ċ":"c","ƈ":"c","ȼ":"c","ď":"d","ḑ":"d","ḓ":"d","ȡ":"d","ḋ":"d","ḍ":"d","ɗ":"d","ᶑ":"d","ḏ":"d","ᵭ":"d","ᶁ":"d","đ":"d","ɖ":"d","ƌ":"d","ı":"i","ȷ":"j","ɟ":"j","ʄ":"j","dz":"dz","dž":"dz","é":"e","ĕ":"e","ě":"e","ȩ":"e","ḝ":"e","ê":"e","ế":"e","ệ":"e","ề":"e","ể":"e","ễ":"e","ḙ":"e","ë":"e","ė":"e","ẹ":"e","ȅ":"e","è":"e","ẻ":"e","ȇ":"e","ē":"e","ḗ":"e","ḕ":"e","ⱸ":"e","ę":"e","ᶒ":"e","ɇ":"e","ẽ":"e","ḛ":"e","ꝫ":"et","ḟ":"f","ƒ":"f","ᵮ":"f","ᶂ":"f","ǵ":"g","ğ":"g","ǧ":"g","ģ":"g","ĝ":"g","ġ":"g","ɠ":"g","ḡ":"g","ᶃ":"g","ǥ":"g","ḫ":"h","ȟ":"h","ḩ":"h","ĥ":"h","ⱨ":"h","ḧ":"h","ḣ":"h","ḥ":"h","ɦ":"h","ẖ":"h","ħ":"h","ƕ":"hv","í":"i","ĭ":"i","ǐ":"i","î":"i","ï":"i","ḯ":"i","ị":"i","ȉ":"i","ì":"i","ỉ":"i","ȋ":"i","ī":"i","į":"i","ᶖ":"i","ɨ":"i","ĩ":"i","ḭ":"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is","ǰ":"j","ĵ":"j","ʝ":"j","ɉ":"j","ḱ":"k","ǩ":"k","ķ":"k","ⱪ":"k","ꝃ":"k","ḳ":"k","ƙ":"k","ḵ":"k","ᶄ":"k","ꝁ":"k","ꝅ":"k","ĺ":"l","ƚ":"l","ɬ":"l","ľ":"l","ļ":"l","ḽ":"l","ȴ":"l","ḷ":"l","ḹ":"l","ⱡ":"l","ꝉ":"l","ḻ":"l","ŀ":"l","ɫ":"l","ᶅ":"l","ɭ":"l","ł":"l","lj":"lj","ſ":"s","ẜ":"s","ẛ":"s","ẝ":"s","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ᵯ":"m","ᶆ":"m","ń":"n","ň":"n","ņ":"n","ṋ":"n","ȵ":"n","ṅ":"n","ṇ":"n","ǹ":"n","ɲ":"n","ṉ":"n","ƞ":"n","ᵰ":"n","ᶇ":"n","ɳ":"n","ñ":"n","nj":"nj","ó":"o","ŏ":"o","ǒ":"o","ô":"o","ố":"o","ộ":"o","ồ":"o","ổ":"o","ỗ":"o","ö":"o","ȫ":"o","ȯ":"o","ȱ":"o","ọ":"o","ő":"o","ȍ":"o","ò":"o","ỏ":"o","ơ":"o","ớ":"o","ợ":"o","ờ":"o","ở":"o","ỡ":"o","ȏ":"o","ꝋ":"o","ꝍ":"o","ⱺ":"o","ō":"o","ṓ":"o","ṑ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","õ":"o","ṍ":"o","ṏ":"o","ȭ":"o","ƣ":"oi","ꝏ":"oo","ɛ":"e","ᶓ":"e","ɔ":"o","ᶗ":"o","ȣ":"ou","ṕ":"p","ṗ":"p","ꝓ":"p","ƥ":"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q","ʠ":"q","ɋ":"q","ꝗ":"q","ŕ":"r","ř":"r","ŗ":"r","ṙ":"r","ṛ":"r","ṝ":"r","ȑ":"r","ɾ":"r","ᵳ":"r","ȓ":"r","ṟ":"r","ɼ":"r","ᵲ":"r","ᶉ":"r","ɍ":"r","ɽ":"r","ↄ":"c","ꜿ":"c","ɘ":"e","ɿ":"r","ś":"s","ṥ":"s","š":"s","ṧ":"s","ş":"s","ŝ":"s","ș":"s","ṡ":"s","ṣ":"s","ṩ":"s","ʂ":"s","ᵴ":"s","ᶊ":"s","ȿ":"s","ɡ":"g","ᴑ":"o","ᴓ":"o","ᴝ":"u","ť":"t","ţ":"t","ṱ":"t","ț":"t","ȶ":"t","ẗ":"t","ⱦ":"t","ṫ":"t","ṭ":"t","ƭ":"t","ṯ":"t","ᵵ":"t","ƫ":"t","ʈ":"t","ŧ":"t","ᵺ":"th","ɐ":"a","ᴂ":"ae","ǝ":"e","ᵷ":"g","ɥ":"h","ʮ":"h","ʯ":"h","ᴉ":"i","ʞ":"k","ꞁ":"l","ɯ":"m","ɰ":"m","ᴔ":"oe","ɹ":"r","ɻ":"r","ɺ":"r","ⱹ":"r","ʇ":"t","ʌ":"v","ʍ":"w","ʎ":"y","ꜩ":"tz","ú":"u","ŭ":"u","ǔ":"u","û":"u","ṷ":"u","ü":"u","ǘ":"u","ǚ":"u","ǜ":"u","ǖ":"u","ṳ":"u","ụ":"u","ű":"u","ȕ":"u","ù":"u","ủ":"u","ư":"u","ứ":"u","ự":"u","ừ":"u","ử":"u","ữ":"u","ȗ":"u","ū":"u","ṻ":"u","ų":"u","ᶙ":"u","ů":"u","ũ":"u","ṹ":"u","ṵ":"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v","ṿ":"v","ʋ":"v","ᶌ":"v","ⱱ":"v","ṽ":"v","ꝡ":"vy","ẃ":"w","ŵ":"w","ẅ":"w","ẇ":"w","ẉ":"w","ẁ":"w","ⱳ":"w","ẘ":"w","ẍ":"x","ẋ":"x","ᶍ":"x","ý":"y","ŷ":"y","ÿ":"y","ẏ":"y","ỵ":"y","ỳ":"y","ƴ":"y","ỷ":"y","ỿ":"y","ȳ":"y","ẙ":"y","ɏ":"y","ỹ":"y","ź":"z","ž":"z","ẑ":"z","ʑ":"z","ⱬ":"z","ż":"z","ẓ":"z","ȥ":"z","ẕ":"z","ᵶ":"z","ᶎ":"z","ʐ":"z","ƶ":"z","ɀ":"z","ff":"ff","ffi":"ffi","ffl":"ffl","fi":"fi","fl":"fl","ij":"ij","œ":"oe","st":"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x"};String.prototype.latinise=function(){return this.replace(/[^A-Za-z0-9\[\] ]/g,function(e){return Latinise.latin_map[e]||e})};String.prototype.latinize=String.prototype.latinise;String.prototype.isLatin=function(){return this==this.latinise()};
|