|
|
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";var e=e.fn.dataTable,d=["آ","ا","ب","پ","ت","ث","ج","چ","ح","خ","د","ذ","ر","ز","ژ","س","ش","ص","ط","ظ","ع","غ","ف","ق","ک","گ","ل","م","ن","و","ه","ی","ي"];return e.ext.order["pstring-pre"]=function(e,t){var n=e.toLowerCase();n=n.trim();for(var r,o="",u=0;u<n.length;u++)o+="00"+(r=(r=(r=d.indexOf(n.charAt(u)))<0?n.charCodeAt(u):r)<10?"0"+r:r);return"a"+o},e}); |