!function(s){"use strict";function t(){this._config={host:"https://rbgr.signite.jp",base:"/rbgr/v1",debug:0}}t.prototype={config:function(t){this._config=s.extend(this._config,t)},_callApi:function(t,n){var i={url:"",type:"GET",dataType:"json",cache:!1,error:function(t,n,i){s.rbgrApi._config.debug&&(console.debug("===== api degug ====="),console.debug(t),console.debug("===== api degug ====="))}},e=s.extend(i,n);return e.url=this._config.host+this._config.base+t,s.ajax(e)},shopList:function(t,n){var i={type:"POST",data:t};return this._callApi("/maps",s.extend(i,n))},shopGet:function(t,n){return this._callApi("/shops/view/"+t,s.extend({type:"GET"},n))},stationList:function(t,n){var i={type:"GET",data:t};return this._callApi("/maps/stations",s.extend(i,n))},vacancyList:function(t,n){var i={type:"GET",data:t};return this._callApi("/maps/vacancies",s.extend(i,n))}},s.rbgrApi=s.rbgrApi||new t}(jQuery,window);